First Commit for home assistant config directory
This commit is contained in:
13
sensors.yaml
Normal file
13
sensors.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
#### Scala-Taverna motion custom Sensor
|
||||
- platform: template
|
||||
sensors:
|
||||
scala_taverna_motion:
|
||||
friendly_name: Scala Taverna Motion Sensor
|
||||
value_template: >-
|
||||
{% if states('binary_sensor.presenza_bassa_scala_taverna_occupancy') == 'on' or states('binary_sensor.presenza_alta_scala_taverna_occupancy') == 'on' %}
|
||||
on
|
||||
{% else %}
|
||||
off
|
||||
{% endif %}
|
||||
icon_template: mdi:motion-sensor
|
||||
Reference in New Issue
Block a user