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

[FR]: take MQTT 'optimistic' mode into account #150

Open
svanderh opened this issue Aug 17, 2023 · 0 comments
Open

[FR]: take MQTT 'optimistic' mode into account #150

svanderh opened this issue Aug 17, 2023 · 0 comments

Comments

@svanderh
Copy link

Is your feature request related to a problem? Please describe.

if a switch (MQTT) is defined in the configuration with the optimistic flag true, then it will assume the state after the switch. This is usefull if the state is not updated (mqtt return message) immediately. (explained in https://www.home-assistant.io/integrations/switch.mqtt/)
this works with a normal button definistion, but not in the Paper button row

Describe the solution you'd like

1: Take the optimistic flag into account

Describe alternatives you've considered

2: i have looked after another option (eg change the state for 'x' seconds to the assumed state for x seconds, because the final state will be confirmed in a few seconds

Additional context

No response

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

1 participant