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 configurable transition for HK cmd and resolve issues with help blocks. #54

Merged
merged 2 commits into from
Nov 27, 2021

Conversation

Shaquu
Copy link
Contributor

@Shaquu Shaquu commented Nov 26, 2021

Two things I did in this PR.

First was allowing user to set (change) transition value being sent to z2m for homekit commands.
Previously it was hardcoded transition: 0 which in my case was causing a lot of issues on z2m side (No converter available for 'transition' (0) zigbee2mqtt)
Not it is allowed to just remove default 0 (zero) and leave it blank which will prevent transition from being added.

Second, I have noticed that in some combinations of UI steps, help blocks were disappearing.
Now I am ensuring hide() is not called again when command and commandType are not changed (jQuery change event can be called for the same value which was mess).

@andreypopov andreypopov merged commit 5d8a162 into andreypopov:master Nov 27, 2021
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.

None yet

2 participants