FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Time module unavailable for waterleak sensor · Issue #1613 · python-kasa/python-kasa · GitHub

Repository navigation

Time module unavailable for waterleak sensor #1613

Closed

Description

First reported in home-assistant/core#145769, it looks like that the time module is not initialized and/or added correctly to the modules even when the logs suggest so:

DEBUG:kasa.device:Initializing 192.168.xx.xx of type <class 'kasa.smart.smartchilddevice.SmartChildDevice'>
DEBUG:kasa.smart.smartdevice:Device 192.168.xx.xx, found required battery_detect, adding BatterySensor to modules.
DEBUG:kasa.smart.smartdevice:Device 192.168.xx.xx, found required cloud_connect, adding Cloud to modules.
DEBUG:kasa.smart.smartdevice:Device 192.168.xx.xx, found required device, adding DeviceModule to modules.
DEBUG:kasa.smart.smartdevice:Device 192.168.xx.xx, found required firmware, adding Firmware to modules.
DEBUG:kasa.smart.smartdevice:Device 192.168.xx.xx, found required time, adding Time to modules.
DEBUG:kasa.smart.smartdevice:Device 192.168.xx.xx, found required trigger_log, adding TriggerLogs to modules.
DEBUG:kasa.smart.smartdevice:Device 192.168.xx.xx, found required sensor_alarm, adding WaterleakSensor to modules.
DEBUG:kasa.smart.smartdevice:Created child device <DeviceType.Sensor Wasserleck-Sensor (None) of <DeviceType.Hub at 192.168.xx.xx - Smart Hub (H100)>> for 192.168.xx.xx
(Pdb) self._device
<DeviceType.Sensor Wasserleck-Sensor (T300) of <DeviceType.Hub at 192.168.xx.xx - Smart Hub (H100)>>

(Pdb) self._device.modules
OrderedDict({'BatterySensor': <Module BatterySensor (battery_detect) for 192.168.xx.xx>, 'Cloud': <Module Cloud (cloud_connect) for 192.168.xx.xx>, 'DeviceModule': <Module DeviceModule (device) for 192.168.xx.xx>, 'Firmware': <Module Firmware (firmware) for 192.168.xx.xx>, 'TriggerLogs': <Module TriggerLogs (trigger_log) for 192.168.xx.xx>, 'WaterleakSensor': <Module WaterleakSensor (sensor_alarm) for 192.168.xx.xx>})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL