1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use PLATFORM_SCHEMA_BASE as base schema for additional components. (#20578)

* Disable extra=vol.ALLOW_EXTRA for additional platforms.

* Remove PLATFORM_SCHEMA_2

* Add entity_namespace to base platform schema
This commit is contained in:
emontnemery
2019-02-05 06:52:19 +01:00
committed by Paulus Schoutsen
parent 154b401d0a
commit b1faad0a50
32 changed files with 75 additions and 81 deletions

View File

@@ -99,7 +99,6 @@ class TestRestBinarySensorSetup(unittest.TestCase):
'method': 'GET',
'value_template': '{{ value_json.key }}',
'name': 'foo',
'unit_of_measurement': 'MB',
'verify_ssl': 'true',
'authentication': 'basic',
'username': 'my username',
@@ -122,7 +121,6 @@ class TestRestBinarySensorSetup(unittest.TestCase):
'value_template': '{{ value_json.key }}',
'payload': '{ "device": "toaster"}',
'name': 'foo',
'unit_of_measurement': 'MB',
'verify_ssl': 'true',
'authentication': 'basic',
'username': 'my username',