Created
April 8, 2021 13:40
-
-
Save bessarabov/5446be3650fd910b11e6f6d039e786e3 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
default_config: | |
input_number: | |
n1: | |
min: 0 | |
max: 100 | |
step: 1 | |
input_boolean: | |
b1: | |
sensor: | |
- platform: template | |
sensors: | |
my_template: | |
value_template: "{{ states('input_number.n1') }}" | |
template: | |
- trigger: | |
- platform: state | |
entity_id: input_boolean.b1 | |
sensor: | |
- name: my_trigger_template | |
state: "{{ states('input_number.n1') }}" |
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
title: Home | |
views: | |
- path: default_view | |
title: Home | |
cards: | |
- type: entities | |
entities: | |
- entity: input_number.n1 | |
- entity: input_boolean.b1 | |
- entity: sensor.my_template | |
- entity: sensor.my_trigger_template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment