1
0

Remove tasmota blind cover

This commit is contained in:
pgrondek 2021-05-18 19:00:01 +02:00
parent c93d4cacfa
commit a6a5848d05

View File

@ -527,29 +527,3 @@ input_number:
max: 3
step: 1
icon: "mdi:weather-windy"
cover:
- platform: template
covers:
bedroom_blind:
device_class: blind
friendly_name: "Bedroom Blind"
value_template: "{{ state_attr('light.zemismart_blind', 'brightness') > 10 }}"
open_cover:
service: light.turn_on
target:
entity_id: light.zemismart_blind
data:
brightness: 255
close_cover:
service: light.turn_on
target:
entity_id: light.zemismart_blind
data:
brightness: 1
icon_template: >
{%- if state_attr('light.zemismart_blind', 'brightness') > 10 -%}
mdi:window-shutter-open
{% else %}
mdi:window-shutter
{% endif %}