Home Assistant release with the issue: 0.87.0
Last working Home Assistant release (if known): N/A
Operating environment (Hass.io/Docker/Windows/etc.): Hassio
Component/platform: https://www.home-assistant.io/components/smartthings/
Description of problem: I set up the SmartThings Integration and it pulled in my lights and switches, but not several Samsung SmartThings buttons I have in the house.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Additional information:
Home Assistant does not have a 'button' entity so you won't see anything in the UI. when a button is actuated in SmartThings, an event will be raised on the bus so you can subscribe to changes/trigger notifications, etc... See the documentation for details and using events to trigger automations.
Thanks for clearing that up! I figured there was probably something simple I was missing.
Sorry to be a pain but I'm having a hard time following documentation and trying to get this to work. Is there any more material available? Basically, I'd like to use my Phillip Hue remotes and Xiaomi buttons in Node Red flows.
@christianzappa If you don't already know what types of events your buttons generate, I'd recommend the following:
smartthings.button for the event to subscribe to, then click Start Listening.valuethat generates in the event listening display for each one. Click Stop Listening when you've finished gathering the data you need.smartthings.button event, with the device_id of your button and the valuethat corresponds with the particular action you took.Thanks @apop880, making it work nicely with my Xiaomi Switch thanks to your steps.
Though no luck with my Philips Hue Dimmer as it only reports as being pushed but no what button was pushed. @andrewsayre Would you like me to raise a new issue for that?
@christianzappa it鈥檚 a known limitation of the SmartThings API. It does not include the data bucket in the event payload. I have opened an issue with ST and will add you to the list of affected users.
any updates from ST on this bug? it's a pity not being able to use remotes with multiple buttons. thanks
Most helpful comment
@christianzappa it鈥檚 a known limitation of the SmartThings API. It does not include the data bucket in the event payload. I have opened an issue with ST and will add you to the list of affected users.