MindrustUK / Heatmiser-for-home-assistant

Heatmiser Neo-Hub / Neostat support for home-assistant.io
87 stars 33 forks source link

Fix for timer hold service targeting all switch entities on device #190

Closed ocrease closed 1 month ago

ocrease commented 1 month ago

The original implementation of the timer_hold_on service would update all switches on the device (eg it would also turn on Standby). I have added a custom entity feature and applied it to the relevant switch so now only that switch is targeted when using the service on the device.

Note that other switches still appear on the entity dropdown when setting up the service call in the UI, but you get a warning afterwards saying its not supported:

image

image

MindrustUK commented 1 month ago

Looks good. Merging.