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: Nested logical conditions | |
| sequence: | |
| - choose: | |
| - alias: This works | |
| conditions: | |
| - condition: not | |
| conditions: | |
| - condition: template | |
| value_template: false | |
| sequence: |
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: Calendar Events to Shopping List items | |
| sequence: | |
| - service: calendar.get_events | |
| data: | |
| duration: | |
| hours: 24 | |
| minutes: 0 | |
| seconds: 0 | |
| target: | |
| entity_id: calendar.home_assistant_events |
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: Calendar to ToDo | |
| sequence: | |
| - service: calendar.get_events | |
| metadata: {} | |
| data: | |
| start_date_time: "{{ today_at() + timedelta(days=1) }}" | |
| duration: | |
| hours: 36 | |
| target: | |
| entity_id: calendar.trash_night |
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: Google Calendar Notification Relay | |
| description: "" | |
| trigger: | |
| - platform: state | |
| entity_id: | |
| - sensor.b130dl_last_notification | |
| condition: | |
| - condition: state | |
| entity_id: sensor.b130dl_last_notification | |
| attribute: package |
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: zTest Context Templates | |
| description: "" | |
| trigger: | |
| - platform: state | |
| entity_id: | |
| - switch.kitchen_lightswitch | |
| to: "on" | |
| variables: | |
| id: "{{trigger.to_state.context.id}}" | |
| parent: "{{ trigger.to_state.context.parent_id }}" |
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
| #----------------------- PRE-REQUISITES ------------------------- | |
| # You will need to install the following custom cards to use the include card configuration: | |
| # - Text-input-row Card (https://github.com/gadgetchnnel/lovelace-text-input-row) | |
| # - Custom Button Card (https://github.com/custom-cards/button-card) | |
| # - Custom Stack-In-Card (https://github.com/custom-cards/stack-in-card) | |
| # | |
| # You will need to create the following helpers: | |
| # - input_datetime.scheduled_action | |
| # - input_text.scheduled_action_message | |
| # |
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: Notify recently added todo | |
| description: "" | |
| trigger: | |
| - platform: state | |
| entity_id: | |
| - todo.chores | |
| condition: | |
| - condition: template | |
| value_template: "{{ trigger.to_state.state|int > trigger.from_state.state|int }}" | |
| action: |
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
| template: | |
| - sensor: | |
| - name: Cat Schedule | |
| state: '{{ now() }}' | |
| attributes: | |
| cat_sched: | | |
| {{ { "07:00": 3, | |
| "11:00": 1, | |
| "15:00": 2, | |
| "21:00": 2, |