Fixes
Root cause
The Voluptuous service schema in __init__.py still had default=True for disable_automations. When the card sent an empty payload {}, the HA backend schema validation filled in True before the handler ran — undoing the earlier fix.
Changes
- Service schema default:
disable_automationschanged fromTrue→False(the proper fix) - Config flow toggles: Visual on/off switches in Settings → Gatekeeper HA → Options:
Disable automations when guest mode activates(default OFF)Disable scripts when guest mode activates(default ON)Disable scenes when guest mode activates(default ON)Apply safe states in guest mode(default ON)
- Internal defaults:
guest_mode.pymethod defaults changed to match service defaults - Blueprint:
disable_automationsis now a configurable blueprint input (defaultstruefor lock-code users) - Translations: Added for the new config field
Upgrade path
- Update via HACS (or copy
custom_components/gatekeepermanually) - Restart Home Assistant
- Browse to Settings → Gatekeeper HA → Options to configure your defaults
- Clear browser cache to pick up the new card JS