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

Fix MQTT discovery for buttons (now binary sensors with separate MQTT topics) #209

Merged
merged 7 commits into from
Sep 14, 2022

Conversation

pplucky
Copy link
Contributor

@pplucky pplucky commented Sep 11, 2022

Fix MQTT discovery for buttons and change entity names for buttons, from Button0/1/2 to Left/Middle/Right Button.

Fixes #199.

Also changed the MQTT Discovery button entities from sensors to binary_sensors (with icon). This is a breaking change that causes the old non-working sensors to be kept and new working binary sensors to also appear. Removing the PixelIt device from MQTT Discovery integration should do the trick, as it will appear again automatically with only thee correct sensors..

Also allowed all button actions to co-exist (using different MQTT topic for each button).

@pplucky pplucky changed the title Fix MQTT discovery for buttons Fix MQTT discovery for buttons (now binary sensors with separate MQTT topics) Sep 12, 2022
@o0shojo0o o0shojo0o merged commit 517c296 into pixelit-project:main Sep 14, 2022
@o0shojo0o
Copy link
Member

forgotten, thank you for your support at this point!

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.

MQTT Buttons state not updated - Home Assistant
2 participants