mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Move overlapping pylint rules to ruff, disable mypy overlap (#94359)
This commit is contained in:
@ -2416,9 +2416,7 @@ async def test_discovery_ignores_extra_keys(
|
||||
"""Test discovery ignores extra keys that are not blocked."""
|
||||
await mqtt_mock_entry()
|
||||
# inserted `platform` key should be ignored
|
||||
data = (
|
||||
'{ "name": "Beer",' ' "platform": "mqtt",' ' "command_topic": "test_topic"}'
|
||||
)
|
||||
data = '{ "name": "Beer", "platform": "mqtt", "command_topic": "test_topic"}'
|
||||
async_fire_mqtt_message(hass, "homeassistant/light/bla/config", data)
|
||||
await hass.async_block_till_done()
|
||||
state = hass.states.get("light.beer")
|
||||
|
Reference in New Issue
Block a user