Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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') }}"
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