Strange…
I have a very similar setup and one difference I see is that you don’t have a stop_cover
action. I don’t know if that is causing an issue.
I use Apple’s HomeKit and I can say that it works there so it could be a Google Home issue. Unfortunately, I don’t know much about that. Is it possible to delete and recreate the device (or let it rediscover it) on the Google side?
My config, just for comparison:
- platform: template
covers:
main_gate:
friendly_name: "Main Gate"
device_class: gate
open_cover:
service: switch.turn_on
data:
entity_id: switch.gate_remote
close_cover:
service: switch.turn_on
data:
entity_id: switch.gate_remote
stop_cover:
service: switch.turn_on
data:
entity_id: switch.gate_remote
value_template: "{{ is_state('binary_sensor.gate_status', 'on') }}"
icon_template: >-
{% if is_state('binary_sensor.gate_status', 'on') %}
mdi:gate-open
{% else %}
mdi:gate
{% endif %}
- platform: template
covers:
lhs_garage_door:
friendly_name: "LHS Garage Door"
device_class: garage
open_cover:
service: switch.turn_on
data:
entity_id: switch.lhs_garage_door_remote
close_cover:
service: switch.turn_on
data:
entity_id: switch.lhs_garage_door_remote
stop_cover:
service: switch.turn_on
data:
entity_id: switch.lhs_garage_door_remote
value_template: "{{ is_state('binary_sensor.lhs_garage_door_status', 'on') }}"
icon_template: >-
{% if is_state('binary_sensor.lhs_garage_door_status', 'on') %}
mdi:garage-open
{% else %}
mdi:garage
{% endif %}