How can I make it so my Google Home understands my “shelly switch” is actually a Garage door. So its not something I can “turn on, turn off” but instead “open and close”?
I’ve tried using a cover entity for that, but then google home just makes it look like a “unknown script” entitty.
I think you need to read up on device classes. I recently had a front gate (cover) that didn’t quite work as expected but after setting the device class properly the issue was resolved.
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?
Certain devices are considered secure, including anything in the lock domain, alarm_control_panel domain and covers with device types door, garage or gate.
By default these cannot be opened by Google Assistant unless a secure_devices_pin is set up. To allow opening, set the secure_devices_pin to something and you will be prompted to speak the pin when opening the device. Closing or locking these devices does not require a pin.
Unfortunately, I don’t use Google Home so I don’t know what that linking entails.
That’s fine. Still thankful for the help.
I’m spitballing here but let me try…
That applies to devices that need the pin to unlock, which is not the case here. I can open and close the gate just fine.
Only issue is that google isn’t fully aware its a gate/door, so it keeps answering that is “running the garage door” as if its running a script to close it. Which is really just me being nitpick, but e.g. it prevents Google Home from showing the status of the gate.