Home
This commit is contained in:
@@ -16,7 +16,7 @@ script: !include scripts.yaml
|
|||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
mqtt: !include mqtt.yaml
|
mqtt: !include mqtt.yaml
|
||||||
climate: !include climate.yaml
|
climate: !include climate.yaml
|
||||||
switch: !include switches.yaml
|
#switch: !include switches.yaml
|
||||||
#template: !include template.yaml
|
#template: !include template.yaml
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
- platform: template
|
#- platform: template
|
||||||
switches:
|
# switches:
|
||||||
garage:
|
# gas_kocheg_kran:
|
||||||
value_template: "{{ is_state('cover.garage_door', 'on') }}"
|
# value_template: "{{ is_state_attr('switch.gas_kocheg_kran', 'on') }}"
|
||||||
turn_on:
|
# turn_on:
|
||||||
service: cover.open_cover
|
# service: switch.turn_on
|
||||||
data:
|
# data:
|
||||||
entity_id: cover.garage_door
|
# entity_id: switch.gas_kocheg_kran
|
||||||
turn_off:
|
# turn_off:
|
||||||
service: cover.close_cover
|
# service: switch.turn_off
|
||||||
data:
|
# data:
|
||||||
entity_id: cover.garage_door
|
# entity_id: switch.gas_kocheg_kran
|
||||||
icon_template: >-
|
# icon_template: >-
|
||||||
{% if is_state('cover.garage_door', 'open') %}
|
# {% if is_state('switch.kontroller_kocheg_a8_open_gas','on') %}
|
||||||
mdi:garage-open
|
# mdi:mdi:fire
|
||||||
{% else %}
|
# {% else %}
|
||||||
mdi:garage
|
# mdi:mdi:fire-circle
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
Reference in New Issue
Block a user