I am sorry, but I need to revive this topic as I cannot control the workaround using alexa voice.
My garage door is working fine:
- platform: cover_rf_time_based
devices:
cover_garagentor:
name: Garagentor
# unique_id: cover_garagentor does not work
travelling_time_up: 16
travelling_time_down: 30
close_script_entity_id: input_boolean.garagentor_toggle_helper # switch.garagentor_schalter
stop_script_entity_id: input_boolean.garagentor_toggle_helper # switch.garagentor_schalter
open_script_entity_id: input_boolean.garagentor_toggle_helper # switch.garagentor_schalter
send_stop_at_ends: False #optional
always_confident: False #optional
device_class: garage #optional
This cover is exposed to Alexa.
The input_boolean.garagentor_toggle_helper
triggeres a temporary z-wave switch to activate the garage door motor.
When I am not at home, I prevent the input_boolean.garagentor_toggle_helper
to switch the z-wave switch (Alexa command does not work anymore).
I tried the same with the lock of the garden shed:
- platform: template
covers:
gartenhausschlos:
# device_class: garage
unique_id: gartenhaus_schlos
friendly_name: Gartenhaus (Schloss Cover)
value_template: "{{ is_state('lock.gartenhaus_schlos', 'unlocked') }}"
open_cover:
service: input_boolean.turn_off
target:
entity_id: input_boolean.gartenhaus_toggle_helper
close_cover:
service: input_boolean.turn_on
target:
entity_id: input_boolean.gartenhaus_toggle_helper
This cover is also exposed to Alexa and the input_boolean.gartenhaus_toggle_helper
triggers the lock, when I am at home.
The state sync and triggering manually from the UI works well. and is reflected in Alexa.
I cannot use Alexa voice commands to open/close the “cover”.
Neither as device_class: door
nor as device_class: garage
When using door
the Alexa App looks like this and I can switch open & close with the round button (geschlossen = closed) perfectly - only the voice command does not translate somehome.
When using device_class: garage
Alexa always closed the cover (locks the door) even if I say “Alexa, Gartenhaus open”.
The strange thing is, that the cover for the garage triggers the switch perfectly and that this looks the very same in the Alexa App.
Does someone have a clue why?
Thanks in advance.