mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
#20043: Remove superfluous dict in WEBHOOK_SCHEMA validation
This commit is contained in:
@@ -44,7 +44,6 @@ def _validate_test_mode(obj: Dict) -> Dict:
|
||||
|
||||
|
||||
WEBHOOK_SCHEMA = vol.All(
|
||||
dict,
|
||||
vol.Schema({
|
||||
vol.Required(ATTR_LATITUDE): cv.latitude,
|
||||
vol.Required(ATTR_LONGITUDE): cv.longitude,
|
||||
|
Reference in New Issue
Block a user