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

Hubitat scene appears as On/Off toggle instead of push button #302

Closed
kerrylarson opened this issue Dec 1, 2024 · 3 comments
Closed

Hubitat scene appears as On/Off toggle instead of push button #302

kerrylarson opened this issue Dec 1, 2024 · 3 comments

Comments

@kerrylarson
Copy link

I would like to use a Button on a dashboard to activate a scene on Hubitat. In my example, the scene or activator 'device' is coming from Hubitat's Maker API to HASS' Hubitat Integration as an On/Off toggle switch. So once it's ON, I can't turn it ON again without turning it OFF. I'd like it to be a 'button' where the scene is activated each time the button is pressed. In Hubitat, the 'device' has On and Off options, but also a 'Push" option, but that doesn't seem to get transferred over to HASS.

What am I misunderstanding? How do I use a dashboard button to activate a Hubitat scene? Thanks.

Core 2024.11.3
Supervisor 2024.11.4
Hubitat integration 0.9.38

@jason0x43
Copy link
Owner

The button on the scene is an event emitter, and so it doesn't get a stateful entity. You can use the push button as a device trigger in an automation.

Screenshot 2024-12-01 at 17 37 25

@jason0x43
Copy link
Owner

I'm closing this, but re-open it if that doesn't work for some reason.

@kerrylarson
Copy link
Author

I think I'm clueless. I used a button card on a dashboard as such:
image
When I click on the Device Info then Automations, I see:
image
However, when I press the dashboard button,
image
I just get an info box that pops up:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants