Allow legacy nest integration with no configuration.yaml (#74222)
This commit is contained in:
parent
48c5aab5ee
commit
0cf922cc4e
3 changed files with 16 additions and 3 deletions
|
@ -4,7 +4,7 @@ from unittest.mock import MagicMock, PropertyMock, patch
|
|||
|
||||
import pytest
|
||||
|
||||
from .common import TEST_CONFIG_LEGACY
|
||||
from .common import TEST_CONFIG_ENTRY_LEGACY, TEST_CONFIG_LEGACY
|
||||
|
||||
DOMAIN = "nest"
|
||||
|
||||
|
@ -33,6 +33,9 @@ def make_thermostat():
|
|||
return device
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"nest_test_config", [TEST_CONFIG_LEGACY, TEST_CONFIG_ENTRY_LEGACY]
|
||||
)
|
||||
async def test_thermostat(hass, setup_base_platform):
|
||||
"""Test simple initialization for thermostat entities."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue