Created
March 31, 2023 19:31
-
-
Save denix0/e95e5f203ffb61df74af538dcf4cd353 to your computer and use it in GitHub Desktop.
This file contains 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: Xfinity Sets House Mode | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- sensor.xfinity_status | |
to: home | |
id: home | |
- platform: state | |
entity_id: | |
- sensor.xfinity_status | |
to: away | |
id: away | |
- platform: state | |
entity_id: | |
- sensor.xfinity_status | |
to: night | |
id: night | |
condition: [] | |
action: | |
- choose: | |
- conditions: | |
- condition: trigger | |
id: home | |
sequence: | |
- service: input_select.select_option | |
data: | |
option: Home | |
target: | |
entity_id: input_select.house_mode | |
- conditions: | |
- condition: trigger | |
id: away | |
sequence: | |
- service: input_select.select_option | |
data: | |
option: Away | |
target: | |
entity_id: input_select.house_mode | |
- conditions: | |
- condition: trigger | |
id: night | |
sequence: | |
- service: input_select.select_option | |
data: | |
option: Night | |
target: | |
entity_id: input_select.house_mode | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment