#20043: Remove superfluous dict in WEBHOOK_SCHEMA validation

pull/20043/head
Rohan Kapoor 2019-01-15 22:26:42 -08:00
parent 452d7cfd61
commit 1e784b4d7a
1 changed files with 0 additions and 1 deletions

View File

@ -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,