From 2ed679510df5fdfef85814cb2f77366996018317 Mon Sep 17 00:00:00 2001 From: "David F. Mulcahey" Date: Thu, 4 Apr 2024 20:16:04 -0400 Subject: [PATCH] default on network to true when devices are created (#38) --- zha/zigbee/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zha/zigbee/device.py b/zha/zigbee/device.py index 74751fe..fd08084 100644 --- a/zha/zigbee/device.py +++ b/zha/zigbee/device.py @@ -242,7 +242,7 @@ def __init__( and time.time() - self.last_seen < self.consider_unavailable_time ) self._checkins_missed_count: int = 0 - self._on_network: bool = False + self._on_network: bool = True self._platform_entities: dict[str, PlatformEntity] = {} self.semaphore: asyncio.Semaphore = asyncio.Semaphore(3)