mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 00:27:19 +00:00
Fix service helper tests
This commit is contained in:
parent
7bac640267
commit
554c6e0cca
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user