mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Fix service helper tests
This commit is contained in:
@@ -125,6 +125,7 @@ def floor_area_mock(hass: HomeAssistant) -> None:
|
||||
picture=None,
|
||||
temperature_entity_id=None,
|
||||
humidity_entity_id=None,
|
||||
motion_entity_id=None,
|
||||
)
|
||||
area_in_floor_a = ar.AreaEntry(
|
||||
id="area-a",
|
||||
@@ -135,6 +136,7 @@ def floor_area_mock(hass: HomeAssistant) -> None:
|
||||
picture=None,
|
||||
temperature_entity_id=None,
|
||||
humidity_entity_id=None,
|
||||
motion_entity_id=None,
|
||||
)
|
||||
mock_area_registry(
|
||||
hass,
|
||||
@@ -291,6 +293,7 @@ def label_mock(hass: HomeAssistant) -> None:
|
||||
picture=None,
|
||||
temperature_entity_id=None,
|
||||
humidity_entity_id=None,
|
||||
motion_entity_id=None,
|
||||
)
|
||||
area_without_labels = ar.AreaEntry(
|
||||
id="area-no-labels",
|
||||
@@ -302,6 +305,7 @@ def label_mock(hass: HomeAssistant) -> None:
|
||||
picture=None,
|
||||
temperature_entity_id=None,
|
||||
humidity_entity_id=None,
|
||||
motion_entity_id=None,
|
||||
)
|
||||
mock_area_registry(
|
||||
hass,
|
||||
|
Reference in New Issue
Block a user