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

Support on_command_type from MQTT Lights #46

Open
AdamN1 opened this issue May 7, 2021 · 1 comment
Open

Support on_command_type from MQTT Lights #46

AdamN1 opened this issue May 7, 2021 · 1 comment

Comments

@AdamN1
Copy link

AdamN1 commented May 7, 2021

Add support for brightness change without payload 'on' command. We can support this by userconfig variable from the config.yaml so anyone can choose what prefer.

on_command_type description
Defines when on the payload_on is sent. Using last (the default) will send any style (brightness, color, etc) topics first and then a payload_on to the command_topic. Using first will send the payload_on and then any style topics. Using brightness will only send brightness commands instead of the payload_on to turn the light on.

from: https://www.home-assistant.io/integrations/light.mqtt/#on_command_type

@dgomes
Copy link
Owner

dgomes commented Apr 24, 2022

how does this affect a dali2mqtt ?

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

2 participants