Building on the answer from my last question, I’m now trying to make a cover from scripts the same way. However, for some reason I can only close the blind, the open option does not work. Manually changing the state of the input_boolean does not seem to trigger the cover to show that it is open or closed either.
Can anyone see what I’m doing wrong? Here is what I’m working with:
input_boolean:
exterior_bedroom_blind:
name: exterior_bedroom_blind
initial: on
script:
exterior_bedroom_blind_open:
sequence:
- service: input_boolean.turn_on
data:
entity_id: input_boolean.exterior_bedroom_blind
- service: scene.turn_on
data:
entity_id: scene.exterior_bedroom_blind_open
exterior_bedroom_blind_close:
sequence:
- service: input_boolean.turn_off
data:
entity_id: input_boolean.exterior_bedroom_blind
- service: scene.turn_on
data:
entity_id: scene.exterior_bedroom_blind_close
cover:
- platform: template
covers:
exterior_bedroom_blind:
unique_id: exterior_bedroom_blind_cover
device_class: blind
friendly_name: "Exterior Bedroom Blind"
position_template: "{{ states('input_boolean.exterior_bedroom_blind') }}"
open_cover:
service: script.exterior_bedroom_blind_open
close_cover:
service: script.exterior_bedroom_blind_close