Unable to unlock device with Google Assistant

Dear all,

tonight the sdcard in my raspberry died, so I had to restore a backup of January and update a lot of things.
Until yesterday, my local Home Assistant was linked with google Assistant and I was able to control a subset of my devices:

project_id: myid
api_key: mykey
expose_by_default: false
allow_unlock: true
entity_config:
light.lampadina_cucina:
expose: true
room: Cucina
light.lampadina_patio:
expose: true
room: Giardino
lock.cancello_garage:
expose: true
room: Garage
name: Cancello
switch.enable_usb:
expose: true
room: Cucina
name: Dafang
script.illumina_uscita:
expose: true
room: Giardino

As you can see, I already set the “allow_unlock” key to true, to let me set lock.cancello_garage open.
It used to work.

Today, after the big upgrade, I was unable to connect to my Google Assistant and I had to unlink and relink my account.

Now everything is back to normal except that… I can’t open my lock anymore!
When I say “Ok google, apri il cancello del garage” (Italian for “open the device lock.cancello_garage”), i get a strange response:

“to do that, you need a security code, which has not been saved in the app on your device”
(translated from italian).

I already spent a lot of time googling for this but I can’t find any help… can you please help me?
Thanks!

Please see the messages in the banner about how to format your post.

I think you need to set secure_devices_pin.