mirror of
https://github.com/home-assistant/core.git
synced 2025-10-25 19:49:37 +00:00
Disable extra=vol.ALLOW_EXTRA for MQTT platforms. (#20562)
This commit is contained in:
committed by
Paulus Schoutsen
parent
48f0e8311b
commit
89fc3b2a1b
@@ -392,7 +392,7 @@ async def test_discovery_removal_switch(hass, mqtt_mock, caplog):
|
||||
|
||||
data = (
|
||||
'{ "name": "Beer",'
|
||||
' "status_topic": "test_topic",'
|
||||
' "state_topic": "test_topic",'
|
||||
' "command_topic": "test_topic" }'
|
||||
)
|
||||
|
||||
@@ -421,12 +421,12 @@ async def test_discovery_update_switch(hass, mqtt_mock, caplog):
|
||||
|
||||
data1 = (
|
||||
'{ "name": "Beer",'
|
||||
' "status_topic": "test_topic",'
|
||||
' "state_topic": "test_topic",'
|
||||
' "command_topic": "test_topic" }'
|
||||
)
|
||||
data2 = (
|
||||
'{ "name": "Milk",'
|
||||
' "status_topic": "test_topic",'
|
||||
' "state_topic": "test_topic",'
|
||||
' "command_topic": "test_topic" }'
|
||||
)
|
||||
|
||||
@@ -460,7 +460,7 @@ async def test_discovery_broken(hass, mqtt_mock, caplog):
|
||||
)
|
||||
data2 = (
|
||||
'{ "name": "Milk",'
|
||||
' "status_topic": "test_topic",'
|
||||
' "state_topic": "test_topic",'
|
||||
' "command_topic": "test_topic" }'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user