Hi there,
fairly new to HA and trying to get my head around integrating it with google for voice commands.
I’ve created a switch within my config yaml which seems to be working fine and looks like this:
switch:
- platform: template
switches:
automation_set_bedroom:
friendly_name: Google switch integration
unique_id: "978074154"
turn_on:
service: automation.trigger
entity_id: automation.bedroom_on
turn_off:
service: automation.trigger
entity_id: automation.bedroom_off_2
This runs as expected when I use the switch in google home. I also run the same automation when I use a zigbee switch. Both work fine independently of each other - the problem is when I start the automation with google voie - it toggles the switch and it says ‘on’ within google home. Now if I press the off button on my zigbee switch the automation get toggled - but it doesn’t reflect on the google home switch. It still shows as ‘on’.
Any ideas how I can sort this?