-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][homeassistant][zigbee2mqtt] State missing in homeassistant #16633
Comments
This is working as expected. In openHAB, dimmer channels are a subtype of switches. So you can send ON/OFF to them, and get their current state as OnOffType directly from the dimmer's state. If you happen to have a color bulb, it goes one step further - a Color item is a subtype of a Dimmer, so that's the only channel exposed (if the bulb doesn't support CCT). And you can send a PercentType to set brightness only without changing color, an OnOffType to turn it on/off without touching brightness, or an HSBType to fully set the color and brightness (and turn it on). |
Thanks, I started a topic in forum as it seems it's a "user problem" :-) |
I think there is a bug.... moving the slider does nothing |
I posted more data in the forum post. Is it enough? Do you need anything else to investigate the problem? |
I've got the tab open with your forum post, so I won't forget it. I'll let you know when I get to it if I need more info. |
I have found that openhab sends |
I'm on openHAB 4.3.0-SNAPSHOT, and creating a thing with your configuration, then linking a Switch item to the brightness channel, and sending ON to that item, I see the following message in MQTT: |
I created a docker with debian 4.3.0-SNAPSHOT; added mqtt, json transformation and jinja transformation.
created a dimmer item but when setting it logs show:
I don't know how to send "ON" to a dimmer; and adding a switch item to dimmer channel didn't work, changing items at openhab did nothing: |
Can you send me the last message in MQTT at |
I have a ikea light configured with zigbee2mqtt (https://www.zigbee2mqtt.io/devices/ICPSHC24-30EU-IL-1.html#ikea-icpshc24-30eu-il-1)
I checked mqtt and homeassistant reports only brightness, while exposes reporots also state.
exposes:
So discovering it don't show a "state" channel and I cannot switch it on:
Expected Behavior
A
state
channel should be discovered to allow switching on the light.Current Behavior
Only brightness can be changed, but light is always off.
Possible Solution
I don't know if it is a zigbee2mqtt bug which should publish
state
someway, or addon should create it.The text was updated successfully, but these errors were encountered: