javicalle

Results 408 comments of javicalle

Not happy with another `ts0601_whatever.py` file, but not sure if there is a better fit. Keep as is for now. The `TuyaIlluminanceMeasurement` must be moved to a generic class. I...

We need that you enable the debug logs and attach the relevant info: * https://www.home-assistant.io/integrations/zha/#debug-logging It is also necesary that you can correlate button events with your logs. According to...

Please, put all the events log between ` ``` ` marks to make it readable. What are all these events? Except an on/off event I just see dimming events to...

The format marks are these ` ``` ` not these ` ''' `. Your device seems to be the `0xb6c7` but there are no logs related to that device. They...

The quirk looks good to me but for some reason is not loading. I would check the usual suspects: * local quirk: * https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274 * delete the local cache, any...

Any other logs from your device (`[0x256A:1:0xef00]`)? These logs are reports from the 'on/off' command `command_id=272` It's supposed to be there other reports from other command_id with the measurement values.

Another test that you can try is the `EnchantedDevice`. You have to modify the quirk as: 1. add the new class ```python .../... from zhaquirks.tuya.mcu import EnchantedDevice ``` add to...

Few comments from a first quick review: I don't usually give importance to `FOREIGN KEY constraint failed` errors. I think that are related with the register update (that already have...

Values from diferents commands: | command_id | Data type | value | | ------------- | ------------- | ------------- | | 513 | value | 18 | | 272 | boolean...

I have just realized that this part is not needed (already defined in `TuyaSwitc` class): ```python def __init__(self, *args, **kwargs): """Init device.""" self.switch_bus = Bus() super().__init__(*args, **kwargs) ``` Also replace...