-
Hi, Maybe someone has an example of working switch with state in configuration.yaml? I want to pass a switch to Google Assistant, but can't figure out how to define a working switch. For Lovelace I do have a button working. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
If you really want to give Google control over your car's lock, see https://www.home-assistant.io/integrations/switch.template/ |
Beta Was this translation helpful? Give feedback.
-
Hi @zzarne ! I have exposed the domain "lock.xxxx" to Google and renamed the entity in the Google Home app to "bilen" (the car). I use Nabucasa. So I can say in Swedish "Hey Google, lås upp bilen" (unlock the car). Google will ask for the security pin code (the SPIN) and the car gets unlocked. Can you please elaborate some more what a switch would do and possibly why to replace the "lock" it with a "switch" ? |
Beta Was this translation helpful? Give feedback.
-
Finally found an example and did few configurations. Sharing - maybe will be useful for someone. Welcome lights are not triggered with remote unlock method.
|
Beta Was this translation helpful? Give feedback.
If you really want to give Google control over your car's lock, see https://www.home-assistant.io/integrations/switch.template/