Recently Ajax’s Online has sent me over a Smart Blind motor for me to review, I have always been fascinated with smart blinds but never took the plunge since now. I’m adding this device to my smart home to lower the blinds and sunset and raise them at sunrise, to ensure you have a good level of security and save money with natural light.
The video below will show you how you can get this working:
Now here you can copy and paste the code.
Replace cover.blind with the entity ID from the Tuya integration.
# Blinds
cover:
inspiration_room_blind:
device_class: blind
friendly_name: "Inspiration Room Blind"
open_cover:
- condition: state
entity_id: cover.blind
state: "closing"
- service: cover.open_cover
target:
entity_id: cover.blind
close_cover:
- condition: state
entity_id: cover.blind
state: "opening"
- service: cover.close_cover
target:
entity_id: cover.blind
stop_cover:
- service: cover.stop_cover
target:
entity_id: cover.blind
icon_template: >-
{% if is_state('cover.blind','opening') %}
mdi:blinds-open
{% else %}
mdi:blinds
{% endif %}