jbergler / hass-ttlock

Home Assistant integration for TTLock locks
53 stars 11 forks source link

Configure Passage Mode service fails #115

Closed msimonelli1975 closed 1 month ago

msimonelli1975 commented 1 month ago

Describe the bug

When executing the ttlock.configure_passage_mode service, passage mode does not get configured and an error is generated in the logs stating: Error: extra keys not allowed @ data['device_id']

To Reproduce

Create and run an automation that runs ttlock.configure_passage_mode and check logs

Diagnostic info

Executed: May 22, 2024 at 8:50:58 AM Error: extra keys not allowed @ data['device_id'] Result: params: domain: ttlock service: configure_passage_mode service_data: enabled: true auto_unlock: false all_day: false start_time: '00:00:00' end_time: '00:00:00' days:

Please download the diagnostic info for tttlock from within Home Assistant and attach it to this ticket. There are instructions on how to do this here

config_entry-ttlock-d0a2f96f7b4c84ca78f404c18684de58.json

msimonelli1975 commented 1 month ago

Disregard. I removed the lock from the automation as a device and re-added the entity and that seems to have fixed the issue.