forked from home-assistant/core
Fix service helper tests
This commit is contained in:
@@ -125,6 +125,7 @@ def floor_area_mock(hass: HomeAssistant) -> None:
|
|||||||
picture=None,
|
picture=None,
|
||||||
temperature_entity_id=None,
|
temperature_entity_id=None,
|
||||||
humidity_entity_id=None,
|
humidity_entity_id=None,
|
||||||
|
motion_entity_id=None,
|
||||||
)
|
)
|
||||||
area_in_floor_a = ar.AreaEntry(
|
area_in_floor_a = ar.AreaEntry(
|
||||||
id="area-a",
|
id="area-a",
|
||||||
@@ -135,6 +136,7 @@ def floor_area_mock(hass: HomeAssistant) -> None:
|
|||||||
picture=None,
|
picture=None,
|
||||||
temperature_entity_id=None,
|
temperature_entity_id=None,
|
||||||
humidity_entity_id=None,
|
humidity_entity_id=None,
|
||||||
|
motion_entity_id=None,
|
||||||
)
|
)
|
||||||
mock_area_registry(
|
mock_area_registry(
|
||||||
hass,
|
hass,
|
||||||
@@ -291,6 +293,7 @@ def label_mock(hass: HomeAssistant) -> None:
|
|||||||
picture=None,
|
picture=None,
|
||||||
temperature_entity_id=None,
|
temperature_entity_id=None,
|
||||||
humidity_entity_id=None,
|
humidity_entity_id=None,
|
||||||
|
motion_entity_id=None,
|
||||||
)
|
)
|
||||||
area_without_labels = ar.AreaEntry(
|
area_without_labels = ar.AreaEntry(
|
||||||
id="area-no-labels",
|
id="area-no-labels",
|
||||||
@@ -302,6 +305,7 @@ def label_mock(hass: HomeAssistant) -> None:
|
|||||||
picture=None,
|
picture=None,
|
||||||
temperature_entity_id=None,
|
temperature_entity_id=None,
|
||||||
humidity_entity_id=None,
|
humidity_entity_id=None,
|
||||||
|
motion_entity_id=None,
|
||||||
)
|
)
|
||||||
mock_area_registry(
|
mock_area_registry(
|
||||||
hass,
|
hass,
|
||||||
|
Reference in New Issue
Block a user