Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

ocrease
Copy link
Collaborator

@ocrease ocrease commented Oct 22, 2024

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
Copy link
Owner

Looks good. Merging.

@MindrustUK MindrustUK merged commit 33ea8c4 into MindrustUK:Version_1.5 Oct 23, 2024
@ocrease ocrease deleted the TimerHold-182-v2 branch October 23, 2024 18:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants