mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Simplify MQTT test for setup manual mqtt item from yaml (#72916)
simplify test setup manual mqtt item from yaml
This commit is contained in:
@@ -1790,13 +1790,7 @@ async def help_test_reloadable_late(hass, caplog, tmp_path, domain, config):
|
||||
assert hass.states.get(f"{domain}.test_new_3")
|
||||
|
||||
|
||||
async def help_test_setup_manual_entity_from_yaml(
|
||||
hass,
|
||||
caplog,
|
||||
tmp_path,
|
||||
platform,
|
||||
config,
|
||||
):
|
||||
async def help_test_setup_manual_entity_from_yaml(hass, platform, config):
|
||||
"""Help to test setup from yaml through configuration entry."""
|
||||
config_structure = {mqtt.DOMAIN: {platform: config}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user