mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix allow extra in locative webhook schema validation (#20657)
* Allow extra in locative webhook schema validation (fixes #20566) * Remove extra attribute
This commit is contained in:
parent
9e7d7354ed
commit
3e2dae62c0
@ -48,8 +48,8 @@ WEBHOOK_SCHEMA = vol.All(
|
||||
vol.Required(ATTR_LONGITUDE): cv.longitude,
|
||||
vol.Required(ATTR_DEVICE_ID): cv.string,
|
||||
vol.Required(ATTR_TRIGGER): cv.string,
|
||||
vol.Optional(ATTR_ID): vol.All(cv.string, _id)
|
||||
}),
|
||||
vol.Optional(ATTR_ID): vol.All(cv.string, _id),
|
||||
}, extra=vol.ALLOW_EXTRA),
|
||||
_validate_test_mode
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user