javicalle
javicalle
Here you have a proposed quirk for this device: ts0202.py ```python """Tuya PIR motion sensor.""" from zigpy.profiles import zha from zigpy.quirks import CustomDevice import zigpy.types as t from zigpy.zcl.clusters.general import...
Just to be sure, do properties work in Z2M? I just verified that Z2M has a peculiarity when sending the commands `sendWhen: 'active'` almost certainly because it is a battery-powered...
Well, no more ideas from my side 🤷🏻♂️ Maybe the device is using a specific command or is using another DP, but without a sniff of the device's messaging it's...
Enable the debug logs and attach the logs from your device. Once enabled, remove and put batteries, this way device will report its configuration and maybe we can see any...
> okay as I am quiet new to this all, how do I enable debug logs ? https://www.home-assistant.io/integrations/zha#debug-logging
And here comes the new `TS0001` flavor... Can you try with that quirk? ```python class Switch_1G_Metering(EnchantedDevice, CustomDevice): """Tuya 1 gang switch module with power metering.""" signature = { MODEL: "TS0001",...
Just create a quirk file with your device signature, and in the replacement part just put the same and replace the `BasicCluster` with the `BasicClusterDecoupled` class. You can take the...
Can you share the device's signature for both devices? Please, be sure to format the code putting it inside the ``` marks.
For future references, these are the relevant lines: * https://github.com/Koenkk/zigbee-herdsman-converters/blob/96563772e92eb459bf52c10e241c3a725968bcab/converters/toZigbee.js#L5924-L5934
But... according to Z2M, your device also have some kind of scheduler: * https://github.com/Koenkk/zigbee-herdsman-converters/blob/96563772e92eb459bf52c10e241c3a725968bcab/devices/saswell.js#L34-L40 and: ```python toZigbee: [tz.saswell_thermostat_current_heating_setpoint, ... , tz.tuya_thermostat_weekly_schedule], ```