mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Don't discover entities or initialize cluster channels for the coordinator in ZHA (#72442)
don't discover coord entities or init channels
This commit is contained in:
parent
0c2f22d478
commit
7aca007a9a
@ -277,6 +277,7 @@ class ChannelPool:
|
||||
pool = cls(channels, ep_id)
|
||||
pool.add_all_channels()
|
||||
pool.add_client_channels()
|
||||
if not channels.zha_device.is_coordinator:
|
||||
zha_disc.PROBE.discover_entities(pool)
|
||||
return pool
|
||||
|
||||
|
@ -273,7 +273,7 @@ class ZHADevice(LogMixin):
|
||||
@property
|
||||
def skip_configuration(self) -> bool:
|
||||
"""Return true if the device should not issue configuration related commands."""
|
||||
return self._zigpy_device.skip_configuration
|
||||
return self._zigpy_device.skip_configuration or self.is_coordinator
|
||||
|
||||
@property
|
||||
def gateway(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user