stjohnjohnson / smartthings-mqtt-bridge

Bridge between SmartThings and MQTT
https://hub.docker.com/r/stjohnjohnson/smartthings-mqtt-bridge/
MIT License
363 stars 241 forks source link

Added Switch on/off for Level Capability #170

Closed JZ-SmartThings closed 5 years ago

JZ-SmartThings commented 5 years ago

Using Home Assistant and sending just the level integer is not enough to turn on my bulbs with level capability. Had to add the switch attribute as well to be sent/received via MQTT. Thanks so much for this amazing tool @stjohnjohnson!!!

stjohnjohnson commented 5 years ago

Hey @JZ-SmartThings. Normally you would just assign the same device in both levels and switches. You shouldn't have to modify this code to get it to work.

JZ-SmartThings commented 5 years ago

Wow, if I only thought outside the box like that :) feel free to disregard the PR... thanks again for sharing your awesome work and making ST way better. We all truly appreciate it!