Created
July 5, 2023 21:41
-
-
Save SnoFox/67c3880f65a32e5858ebc527b66ab7e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Inhibit auto-updates | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- media_player.shield | |
- media_player.shield_cast | |
to: playing | |
id: inhibit | |
- platform: state | |
entity_id: | |
- person.josh | |
to: not_home | |
id: inhibit | |
- platform: state | |
entity_id: | |
- person.josh | |
to: home | |
- platform: state | |
entity_id: | |
- media_player.shield | |
- media_player.shield_cast | |
to: "off" | |
condition: [] | |
action: | |
- if: | |
- condition: trigger | |
id: inhibit | |
then: | |
- service: input_boolean.turn_on | |
data: {} | |
target: | |
entity_id: input_boolean.update_inhibitor | |
else: | |
- service: input_boolean.turn_off | |
data: {} | |
target: | |
entity_id: input_boolean.update_inhibitor | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment