Witam!
Mam problem z otwarciem bramy za pomocą Google Assistant-a, chodzi o to że do otwarcia wymagany jest pin zgodnie z tym co tu jest napisane
SECURE DEVICES
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.
For the Alarm Control Panel if a code is set it must be the same as the secure_devices_pin. If code_arm_required is set to false the system will arm without prompting for the pin.
tylko jak powinno wyglądać wstawianie tego secure_devices_pin ?
bo ja próbuję zrobić to tak:
google_assistant:
secure_devices_pin: 1234
project_id: hassio-34121
api_key: AIzaSyASwP1RgrXQq-tqWvpxNUCk93a8D87WJdY
service_account: !include hassio-341215-a6e969d4aa7c.json
exposed_domains:
- script
- sensor
- switch
- scene
- climate
- light
- group
- cover
to po sprawdzeniu konfiguracji pliku wywala: Konfiguracja nieprawidłowa
Invalid config for [google_assistant]: expected str for dictionary value @ data[‘google_assistant’][‘secure_devices_pin’]. Got 1234. (See /config/configuration.yaml, line 9).
Edit.
sory że sam sobie odpowiadam
udało się to ogarnąć
tak to powinno wyglądać może komuś się przyda
secure_devices_pin: "1234"
ja wcześniej wpisywałem pin bez " " i dlatego waliło błąd