Skip to content

Commit

Permalink
Fix missing cipher set in discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
cmroche committed Jul 13, 2024
1 parent 2434100 commit 37eac74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions greeclimate/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from asyncio.events import AbstractEventLoop
from ipaddress import IPv4Address

from greeclimate.cipher import CipherV1
from greeclimate.device import DeviceInfo
from greeclimate.network import BroadcastListenerProtocol, IPAddr
from greeclimate.taskable import Taskable
Expand Down Expand Up @@ -45,6 +46,7 @@ def __init__(
"""
BroadcastListenerProtocol.__init__(self, timeout)
Taskable.__init__(self, loop)
self.device_cipher = CipherV1()
self._allow_loopback: bool = allow_loopback
self._device_infos: list[DeviceInfo] = []
self._listeners: list[Listener] = []
Expand Down

0 comments on commit 37eac74

Please # to comment.