Skip to content

Update aqara.py - #206

Merged
xaviml merged 1 commit into
xaviml:devfrom
htvekov:patch-2
Dec 22, 2020
Merged

Update aqara.py#206
xaviml merged 1 commit into
xaviml:devfrom
htvekov:patch-2

Conversation

@htvekov

@htvekov htvekov commented Dec 22, 2020

Copy link
Copy Markdown
Contributor

Change from 'click' to 'action' payload keys.

Change from 'click' to 'action' payload key.
@xaviml

xaviml commented Dec 22, 2020

Copy link
Copy Markdown
Owner

Thank you for the update @htvekov. Just for curiosity, the click payload key still exists, right? The only thing is that is deprecated and it will one day be removed, correct?

@xaviml
xaviml merged commit 9ea8f8f into xaviml:dev Dec 22, 2020
@htvekov

htvekov commented Dec 22, 2020

Copy link
Copy Markdown
Contributor Author

Correct, Xavi.

Click payloads are not deprecated yet, but better move them now before they're deprecated, right ?
Do you want a 'standard' text about which action payload key to use (z2m) and the advise to add legacy: false for all 'old' click devices to keep zigbee chatter to a minimum ?

@xaviml

xaviml commented Jan 10, 2021

Copy link
Copy Markdown
Owner

Hi @htvekov,

Sorry, I just saw this now that I am working on the release notes. It is fine, no need to advise on that, I already placed something related to it in the FAQ. I am guessing this legacy: false will become by default in future Zigbee2MQTT releases, so it is okay.

Cheers,
Xavi M.

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

Successfully merging this pull request may close these issues.

2 participants