On/Off doesn't work for Dimmer in Google Home

(kamilosxd678) #1

Hi,

I have configured OpenHAB to work with Google Cloud, and it works mostly OK, but I cannot turn off my LEDs.

I have configured Dimmer channel with Lighting tag, and setting brightness to a certain level works perfectly, but when I turn it on or off - nothing happens.

I have additional Color and Switch in my LED item - can I somehow bind them together to have all the functions (On/Off, Set light to X percent, Set color to Y) working for this light?

Thanks
~ Kamilos

0 Likes

(Stuart Hanlon) #2

I have a couple of Dimmer items tagged that work with ON / OFF & %

However, my dimmers do only have the tag Lighting

0 Likes

(kamilosxd678) #4

Thanks a lot!!! Your reply has helped me find out that Google Cloud integration is sending OnOffType objects to Dimmer which I didn’t handle in binding. I have added that and now it works like a charm!

1 Like

(Stuart Hanlon) #5

Congratulations :slight_smile:

I’m very happy for you.

0 Likes