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
blueprint: | |
name: Testing Trigger-based Template Blueprint | |
domain: template | |
input: | |
input_var_1: | |
input_var_2: | |
variables: | |
var_1: !input input_var_1 | |
var_2: !input input_var_2 | |
trigger: |
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
blueprint: | |
name: Increase or Decrease Target Temperature (Relative) | |
description: Increase or decrease the temperature a given number of degrees relative to the current setting | |
domain: script | |
input: | |
climate_ent: | |
selector: | |
entity: | |
filter: | |
domain: climate |
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
{% set y_day_azi = { | |
1: | |
{"north": none, | |
"east": none, | |
"south": [126,207], | |
"west": [202,232]}, | |
13: | |
{"north": none, | |
"east": none, | |
"south": [123,207], |
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: Office Wall Switch | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- switch.office_wall_switch_1 | |
- light.office_ceiling_light | |
- switch.office_wall_switch_2 | |
- climate.office_ac | |
- switch.office_wall_switch_3 |
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
template: | |
- trigger: | |
- platform: state | |
not_to: | |
- unknown | |
- unavailable | |
entity_id: sensor.temp | |
- platform: template | |
value_template: "{{ now().weekday() == 0 }}" | |
action: |
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
template: | |
- trigger: | |
- platform: state | |
entity_id: input_boolean.test_bool_1 | |
to: "on" | |
- platform: event | |
event_type: custom_reset_times_opened | |
- platform: event | |
event_type: event_template_reloaded | |
sensor: |
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: Repeat for Each date create Cal event | |
description: "" | |
fields: | |
summary: | |
required: true | |
name: Event Summary | |
description: The title/summary for the calendar events | |
selector: | |
text: | |
work_date_1: |
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
script: | |
color_loop_light: | |
alias: Color loop light | |
description: "" | |
fields: | |
colors: | |
name: Colors | |
description: A list of color names to set the lights to or loop through | |
required: true | |
sequence: |
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
# This was just a weird idea to randomize a list of values. | |
# Maybe it could be used for chores or activity planning? | |
alias: Random Option to calendar | |
sequence: | |
- variables: | |
option: |- | |
{% set options = state_attr('input_select.colors_warm', 'options')%} | |
{% set ns = namespace(x = options) %} | |
{% for i in range(ns.x|length- 1, 0, -1) %} |
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: Nested logical conditions | |
sequence: | |
- choose: | |
- alias: This works | |
conditions: | |
- condition: not | |
conditions: | |
- condition: template | |
value_template: false | |
sequence: |
NewerOlder