Cambios en modo puertas

This commit is contained in:
dfcarvajal
2020-12-27 17:18:43 +01:00
parent f4ad89860e
commit 962dd8198b
5 changed files with 28 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
binary_sensor:
- platform: template
sensors:
puerta_bano_general:
friendly_name: "Puerta Bano General"
entity_id:
- binary_sensor.puerta_bano_general_primario
- binary_sensor.puerta_bano_general_secundario
- binary_sensor.puerta_bano_general_zigbee
value_template: >-
{{ is_state('binary_sensor.puerta_bano_general_primario','on') or is_state('binary_sensor.puerta_bano_general_secundario','on')or is_state('binary_sensor.puerta_bano_general_zigbee','on') }}
device_class: door