Skip to content

Commit

Permalink
default on network to true when devices are created (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulcahey committed Apr 5, 2024
1 parent c27a3c3 commit 2ed6795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zha/zigbee/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2ed6795

Please sign in to comment.