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
| type: vertical-stack | |
| cards: | |
| - type: custom:mushroom-title-card | |
| title: '' | |
| subtitle: | | |
| Chores & Tasks | |
| - type: custom:auto-entities | |
| card: | |
| type: entities | |
| title: Chores |
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
| {%- set target = ['media_player.amanda_s_bedroom_dot','media_player.basement_dot', | |
| 'media_player.amanda_s_living_room_dot']%} | |
| ====================================== | |
| {% set ns = namespace( x = {}) %} | |
| {%- for t in expand(target) %} | |
| {%- set ns.x = dict(ns.x, **{t.entity_id: t.name}) %} | |
| {%- endfor %} | |
| {{ ns.x }} |
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: | |
| - trigger: | |
| - platform: calendar | |
| event: start | |
| entity_id: calendar.a | |
| - platform: calendar | |
| event: start | |
| entity_id: calendar.b | |
| - platform: calendar | |
| event: end |
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
| # Script | |
| alias: Calendar 1-Day Agenda to Event | |
| sequence: | |
| - service: calendar.list_events | |
| data: | |
| duration: | |
| hours: 24 | |
| minutes: 0 | |
| seconds: 0 | |
| target: |
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: Pre-Alexa alarm trigger template | |
| description: "" | |
| trigger: | |
| - platform: template | |
| value_template: >- | |
| {% set alarm_time = states('sensor.amanda_s_living_room_dot_next_alarm') | | |
| as_datetime %} | |
| {% if alarm_time != None %} |
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 increasing trigger value | |
| description: "" | |
| trigger: | |
| - platform: state | |
| entity_id: | |
| - input_number.ztest_1 | |
| for: | |
| milliseconds: 500 | |
| condition: | |
| - condition: template |
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
| {%- macro _int_parser(text) -%} | |
| {%- set num_names = { | |
| 'zero': 0, 'one': 1, 'two': 2, 'three': 3, | |
| 'four': 4, 'five': 5, 'six': 6, 'seven': 7, | |
| 'eight': 8, 'nine': 9, 'ten': 10, 'eleven': 11, | |
| 'twelve': 12, 'thirteen': 13, 'fourteen': 14, 'fifteen': 15, | |
| 'sixteen': 16, 'seventeen': 17, 'eighteen': 18, 'nineteen': 19, | |
| 'twenty': 20, 'thirty': 30, 'forty': 40, 'fifty': 50, | |
| 'sixty': 60, 'seventy': 70, 'eighty': 80, 'ninety': 90} -%} | |
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
| # Option 1: | |
| template: | |
| - trigger: | |
| - platform: state | |
| entity_id: sensor.temp | |
| not_to: | |
| - unavailable | |
| - unknown | |
| - platform: time | |
| at: "00:00:00" |
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: HVAC - Circulation Fan - Set Times | |
| sequence: | |
| - service: input_datetime.set_datetime | |
| data: | |
| datetime: "{{ now() + timedelta(minutes=10) }}" | |
| target: | |
| entity_id: input_datetime.hvac_circ_fan_next_off | |
| - service: input_datetime.set_datetime | |
| data: |
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 Numeric State Mod trigger | |
| description: "" | |
| trigger: | |
| - platform: numeric_state | |
| entity_id: input_number.ztest_number | |
| below: 1 | |
| value_template: "{{ state.state|int % 10 }}" | |
| for: "00:00:05" | |
| condition: null | |
| action: |