Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "power_outage_memory" for Aqara QBCZ11LM #3907

Closed
denisov-vlad opened this issue Jul 14, 2020 · 3 comments
Closed

Add "power_outage_memory" for Aqara QBCZ11LM #3907

denisov-vlad opened this issue Jul 14, 2020 · 3 comments

Comments

@denisov-vlad
Copy link

Bug Report

What happened

QBCZ11LM doesn't have power outage memory option but ZNCZ02LM has. It's possible to remember power state in MiHome.

What did you expect to happen

Add option to set power_outage_memory for this device.

How to reproduce it (minimal and precise)

Debug Info

Zigbee2mqtt version: 1.14.1
Adapter hardware: Conbee 2
Adapter firmware version:

@Koenkk
Copy link
Owner

Koenkk commented Jul 14, 2020

With a bit of luck the required command is identical, try adding tz.ZNCZ02LM_power_outage_memory to https://github.com/Koenkk/zigbee-herdsman-converters/blob/c5f407faa8e3ba736b93101155c6b686bb1479a2/devices.js#L862 and see if it works. See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to modify devices.js

@denisov-vlad
Copy link
Author

It works! Thanks!

@aladin2000
Copy link

Hi
Is there a way to test if such a fix

toZigbee: [tz.on_off, tz.ZNCZ04LM_power_outage_memory],

Could it work for other devices like Bulb from Lidl ?

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants