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

MQTT light brightness doesn't change state when necessary #1494

Closed
tedstriker opened this issue Mar 6, 2016 · 3 comments
Closed

MQTT light brightness doesn't change state when necessary #1494

tedstriker opened this issue Mar 6, 2016 · 3 comments
Labels

Comments

@tedstriker
Copy link
Contributor

Home Assistant release (hass --version):
0.14.2

Python release (python3 --version):
3.4.2

Component/platform:
MQTT light

Description of problem:
when a brightness level is received at brightness_state_topic it's not recognized properly.
Only if it's on already, changes in brightness are updated.
Turning it off by brightness = 0 is not possible as well.

Expected:
I'd expect the light to change it's state from OFF to ON if a brightness > 0 is set.
Also I'd expect it to toggle from ON to OFF if the brightness level has been set to 0.
None of these transitions work.

@fabaff fabaff changed the title Bug: MQTT light brightness doesn't change state when necessary MQTT light brightness doesn't change state when necessary Mar 9, 2016
@fabaff fabaff added the bug label Mar 9, 2016
@thefrenchmatt
Copy link

I have a similar issue with input_slider which hass seems not to be parsing as an integer, despite trying to set it with default and int() filters. I will first search if my issue has been posted...

@Spartan-II-117
Copy link
Contributor

Do #1495 & #1864 solved this issue?

@dale3h
Copy link
Member

dale3h commented Mar 14, 2017

Closing this as it appears to be fixed by #1495 (see comments on the PR page).

@dale3h dale3h closed this as completed Mar 14, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Jul 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants
@fabaff @thefrenchmatt @tedstriker @dale3h @Spartan-II-117 and others