Allow legacy nest integration with no configuration.yaml (#74222)

This commit is contained in:
Allen Porter 2022-06-29 23:54:51 -07:00 committed by GitHub
parent 48c5aab5ee
commit 0cf922cc4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 3 deletions

View file

@ -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."""