cmroche / OctoPrint-HomeAssistant

Home Assistant plugin for OctoPrint, enabling MQTT discovery of you device and sensors
110 stars 18 forks source link

Use new button entities #87

Closed 1RandomDev closed 2 years ago

1RandomDev commented 2 years ago

Instead of switches for shutdown, reboot, start, stop, etc. the new button entities could now be used.

cmroche commented 2 years ago

Thanks for the suggestion, it makes a lot of sense with the new feature being available and I’ll look into this soon.

tankdeer commented 2 years ago

To add to this. I noticed recently that a number of the switches changed to the weird stateless lightning bolts in Home Assistant (Cancel is one). I suspect it's because the state topic & command topic are the same on those. Changing those a button would alleviate that issue as well