diff --git a/homeassistant/const.py b/homeassistant/const.py index c9f95589968..6c613ddafec 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -455,6 +455,26 @@ ATTR_TEMPERATURE: Final = "temperature" ATTR_PERSONS: Final = "persons" +class EntityCapabilityAttribute(StrEnum): + """Capability attributes shared by all entities.""" + + GROUP_ENTITIES = "group_entities" + + +class EntityStateAttribute(StrEnum): + """State attributes shared by all entities.""" + + ASSUMED_STATE = "assumed_state" + ATTRIBUTION = "attribution" + DEVICE_CLASS = "device_class" + ENTITY_PICTURE = "entity_picture" + FRIENDLY_NAME = "friendly_name" + ICON = "icon" + RESTORED = "restored" + SUPPORTED_FEATURES = "supported_features" + UNIT_OF_MEASUREMENT = "unit_of_measurement" + + # #### UNITS OF MEASUREMENT #### # Apparent power units class UnitOfApparentPower(StrEnum): diff --git a/homeassistant/helpers/entity.py b/homeassistant/helpers/entity.py index 9595f958930..36d41094ee2 100644 --- a/homeassistant/helpers/entity.py +++ b/homeassistant/helpers/entity.py @@ -30,21 +30,14 @@ from propcache.api import cached_property import voluptuous as vol from homeassistant.const import ( - ATTR_ASSUMED_STATE, - ATTR_ATTRIBUTION, - ATTR_DEVICE_CLASS, - ATTR_ENTITY_PICTURE, - ATTR_FRIENDLY_NAME, - ATTR_GROUP_ENTITIES, - ATTR_ICON, - ATTR_SUPPORTED_FEATURES, - ATTR_UNIT_OF_MEASUREMENT, DEVICE_DEFAULT_NAME, STATE_OFF, STATE_ON, STATE_UNAVAILABLE, STATE_UNKNOWN, + EntityCapabilityAttribute, EntityCategory, + EntityStateAttribute, ) from homeassistant.core import ( CALLBACK_TYPE, @@ -167,7 +160,7 @@ def get_device_class(hass: HomeAssistant, entity_id: str) -> str | None: First try the statemachine, then entity registry. """ if state := hass.states.get(entity_id): - return state.attributes.get(ATTR_DEVICE_CLASS) + return state.attributes.get(EntityStateAttribute.DEVICE_CLASS) entity_registry = er.async_get(hass) if not (entry := entity_registry.async_get(entity_id)): @@ -192,7 +185,7 @@ def get_supported_features(hass: HomeAssistant, entity_id: str) -> int: First try the statemachine, then entity registry. """ if state := hass.states.get(entity_id): - return state.attributes.get(ATTR_SUPPORTED_FEATURES, 0) # type: ignore[no-any-return] + return state.attributes.get(EntityStateAttribute.SUPPORTED_FEATURES, 0) # type: ignore[no-any-return] entity_registry = er.async_get(hass) if not (entry := entity_registry.async_get(entity_id)): @@ -207,7 +200,7 @@ def get_unit_of_measurement(hass: HomeAssistant, entity_id: str) -> str | None: First try the statemachine, then entity registry. """ if state := hass.states.get(entity_id): - return state.attributes.get(ATTR_UNIT_OF_MEASUREMENT) + return state.attributes.get(EntityStateAttribute.UNIT_OF_MEASUREMENT) entity_registry = er.async_get(hass) if not (entry := entity_registry.async_get(entity_id)): @@ -1116,7 +1109,9 @@ class Entity( capability_attr = self.capability_attributes if self.__group is not None: capability_attr = capability_attr.copy() if capability_attr else {} - capability_attr[ATTR_GROUP_ENTITIES] = self.__group.member_entity_ids.copy() + capability_attr[EntityCapabilityAttribute.GROUP_ENTITIES] = ( + self.__group.member_entity_ids.copy() + ) attr = capability_attr.copy() if capability_attr else {} @@ -1129,25 +1124,25 @@ class Entity( attr |= extra_state_attributes if (unit_of_measurement := self.unit_of_measurement) is not None: - attr[ATTR_UNIT_OF_MEASUREMENT] = unit_of_measurement + attr[EntityStateAttribute.UNIT_OF_MEASUREMENT] = unit_of_measurement if assumed_state := self.assumed_state: - attr[ATTR_ASSUMED_STATE] = assumed_state + attr[EntityStateAttribute.ASSUMED_STATE] = assumed_state if (attribution := self.attribution) is not None: - attr[ATTR_ATTRIBUTION] = attribution + attr[EntityStateAttribute.ATTRIBUTION] = attribution original_device_class = self.device_class if ( device_class := (entry and entry.device_class) or original_device_class ) is not None: - attr[ATTR_DEVICE_CLASS] = str(device_class) + attr[EntityStateAttribute.DEVICE_CLASS] = str(device_class) if (entity_picture := self.entity_picture) is not None: - attr[ATTR_ENTITY_PICTURE] = entity_picture + attr[EntityStateAttribute.ENTITY_PICTURE] = entity_picture if (icon := (entry and entry.icon) or self.icon) is not None: - attr[ATTR_ICON] = icon + attr[EntityStateAttribute.ICON] = icon original_name = self.name if original_name is UNDEFINED: @@ -1169,10 +1164,10 @@ class Entity( self._cached_friendly_name = (original_name, name) if name: - attr[ATTR_FRIENDLY_NAME] = name + attr[EntityStateAttribute.FRIENDLY_NAME] = name if (supported_features := self.supported_features) is not None: - attr[ATTR_SUPPORTED_FEATURES] = supported_features + attr[EntityStateAttribute.SUPPORTED_FEATURES] = supported_features return ( state, diff --git a/homeassistant/helpers/entity_registry.py b/homeassistant/helpers/entity_registry.py index e0c6d0ddd41..3683385f7b0 100644 --- a/homeassistant/helpers/entity_registry.py +++ b/homeassistant/helpers/entity_registry.py @@ -20,18 +20,13 @@ import attr import voluptuous as vol from homeassistant.const import ( - ATTR_DEVICE_CLASS, - ATTR_FRIENDLY_NAME, - ATTR_ICON, - ATTR_RESTORED, - ATTR_SUPPORTED_FEATURES, - ATTR_UNIT_OF_MEASUREMENT, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, MAX_LENGTH_STATE_DOMAIN, MAX_LENGTH_STATE_ENTITY_ID, STATE_UNAVAILABLE, EntityCategory, + EntityStateAttribute, Platform, ) from homeassistant.core import ( @@ -429,28 +424,28 @@ class RegistryEntry: @callback def write_unavailable_state(self, hass: HomeAssistant) -> None: """Write the unavailable state to the state machine.""" - attrs: dict[str, Any] = {ATTR_RESTORED: True} + attrs: dict[str, Any] = {EntityStateAttribute.RESTORED: True} if self.capabilities is not None: attrs.update(self.capabilities) device_class = self.device_class or self.original_device_class if device_class is not None: - attrs[ATTR_DEVICE_CLASS] = device_class + attrs[EntityStateAttribute.DEVICE_CLASS] = device_class icon = self.icon or self.original_icon if icon is not None: - attrs[ATTR_ICON] = icon + attrs[EntityStateAttribute.ICON] = icon name = async_get_full_entity_name(hass, self) if name: - attrs[ATTR_FRIENDLY_NAME] = name + attrs[EntityStateAttribute.FRIENDLY_NAME] = name if self.supported_features is not None: - attrs[ATTR_SUPPORTED_FEATURES] = self.supported_features + attrs[EntityStateAttribute.SUPPORTED_FEATURES] = self.supported_features if self.unit_of_measurement is not None: - attrs[ATTR_UNIT_OF_MEASUREMENT] = self.unit_of_measurement + attrs[EntityStateAttribute.UNIT_OF_MEASUREMENT] = self.unit_of_measurement hass.states.async_set(self.entity_id, STATE_UNAVAILABLE, attrs) @@ -2455,7 +2450,9 @@ def _async_setup_entity_restore(hass: HomeAssistant, registry: EntityRegistry) - if event.data["action"] == "update": old_entity_id = event.data["old_entity_id"] old_state = hass.states.get(old_entity_id) - if old_state is None or not old_state.attributes.get(ATTR_RESTORED): + if old_state is None or not old_state.attributes.get( + EntityStateAttribute.RESTORED + ): return hass.states.async_remove(old_entity_id, context=event.context) if entry := registry.async_get(event.data["entity_id"]): @@ -2464,7 +2461,7 @@ def _async_setup_entity_restore(hass: HomeAssistant, registry: EntityRegistry) - state = hass.states.get(event.data["entity_id"]) - if state is None or not state.attributes.get(ATTR_RESTORED): + if state is None or not state.attributes.get(EntityStateAttribute.RESTORED): return hass.states.async_remove(event.data["entity_id"], context=event.context) diff --git a/tests/components/acaia/snapshots/test_binary_sensor.ambr b/tests/components/acaia/snapshots/test_binary_sensor.ambr index 450211b5498..ec900433eca 100644 --- a/tests/components/acaia/snapshots/test_binary_sensor.ambr +++ b/tests/components/acaia/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.kitchen_lunar_ddeeff_timer_running-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'LUNAR-DDEEFF Timer running', + : 'running', + : 'LUNAR-DDEEFF Timer running', }), 'context': , 'entity_id': 'binary_sensor.kitchen_lunar_ddeeff_timer_running', diff --git a/tests/components/acaia/snapshots/test_button.ambr b/tests/components/acaia/snapshots/test_button.ambr index bd0246beab4..5c07e170b42 100644 --- a/tests/components/acaia/snapshots/test_button.ambr +++ b/tests/components/acaia/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button.kitchen_lunar_ddeeff_reset_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LUNAR-DDEEFF Reset timer', + : 'LUNAR-DDEEFF Reset timer', }), 'context': , 'entity_id': 'button.kitchen_lunar_ddeeff_reset_timer', @@ -89,7 +89,7 @@ # name: test_buttons[button.kitchen_lunar_ddeeff_start_stop_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LUNAR-DDEEFF Start/stop timer', + : 'LUNAR-DDEEFF Start/stop timer', }), 'context': , 'entity_id': 'button.kitchen_lunar_ddeeff_start_stop_timer', @@ -139,7 +139,7 @@ # name: test_buttons[button.kitchen_lunar_ddeeff_tare-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LUNAR-DDEEFF Tare', + : 'LUNAR-DDEEFF Tare', }), 'context': , 'entity_id': 'button.kitchen_lunar_ddeeff_tare', diff --git a/tests/components/acaia/snapshots/test_sensor.ambr b/tests/components/acaia/snapshots/test_sensor.ambr index d2f74d8084d..55534fc801e 100644 --- a/tests/components/acaia/snapshots/test_sensor.ambr +++ b/tests/components/acaia/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.kitchen_lunar_ddeeff_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'LUNAR-DDEEFF Battery', + : 'battery', + : 'LUNAR-DDEEFF Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kitchen_lunar_ddeeff_battery', @@ -99,10 +99,10 @@ # name: test_sensors[sensor.kitchen_lunar_ddeeff_volume_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'LUNAR-DDEEFF Volume flow rate', + : 'volume_flow_rate', + : 'LUNAR-DDEEFF Volume flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_lunar_ddeeff_volume_flow_rate', @@ -157,10 +157,10 @@ # name: test_sensors[sensor.kitchen_lunar_ddeeff_weight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'LUNAR-DDEEFF Weight', + : 'weight', + : 'LUNAR-DDEEFF Weight', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_lunar_ddeeff_weight', diff --git a/tests/components/accuweather/snapshots/test_sensor.ambr b/tests/components/accuweather/snapshots/test_sensor.ambr index 6c3573e4c05..ef0d3c85441 100644 --- a/tests/components/accuweather/snapshots/test_sensor.ambr +++ b/tests/components/accuweather/snapshots/test_sensor.ambr @@ -47,9 +47,9 @@ # name: test_sensor[sensor.home_air_quality_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'enum', - 'friendly_name': 'Home Air quality day 0', + : 'Data provided by AccuWeather', + : 'enum', + : 'Home Air quality day 0', : list([ 'good', 'moderate', @@ -114,9 +114,9 @@ # name: test_sensor[sensor.home_air_quality_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'enum', - 'friendly_name': 'Home Air quality day 1', + : 'Data provided by AccuWeather', + : 'enum', + : 'Home Air quality day 1', : list([ 'good', 'moderate', @@ -181,9 +181,9 @@ # name: test_sensor[sensor.home_air_quality_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'enum', - 'friendly_name': 'Home Air quality day 2', + : 'Data provided by AccuWeather', + : 'enum', + : 'Home Air quality day 2', : list([ 'good', 'moderate', @@ -248,9 +248,9 @@ # name: test_sensor[sensor.home_air_quality_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'enum', - 'friendly_name': 'Home Air quality day 3', + : 'Data provided by AccuWeather', + : 'enum', + : 'Home Air quality day 3', : list([ 'good', 'moderate', @@ -315,9 +315,9 @@ # name: test_sensor[sensor.home_air_quality_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'enum', - 'friendly_name': 'Home Air quality day 4', + : 'Data provided by AccuWeather', + : 'enum', + : 'Home Air quality day 4', : list([ 'good', 'moderate', @@ -379,11 +379,11 @@ # name: test_sensor[sensor.home_apparent_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home Apparent temperature', + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home Apparent temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_apparent_temperature', @@ -438,11 +438,11 @@ # name: test_sensor[sensor.home_cloud_ceiling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'distance', - 'friendly_name': 'Home Cloud ceiling', + : 'Data provided by AccuWeather', + : 'distance', + : 'Home Cloud ceiling', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_cloud_ceiling', @@ -494,10 +494,10 @@ # name: test_sensor[sensor.home_cloud_cover-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover', + : 'Data provided by AccuWeather', + : 'Home Cloud cover', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover', @@ -547,9 +547,9 @@ # name: test_sensor[sensor.home_cloud_cover_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover day 0', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover day 0', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_day_0', @@ -599,9 +599,9 @@ # name: test_sensor[sensor.home_cloud_cover_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover day 1', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover day 1', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_day_1', @@ -651,9 +651,9 @@ # name: test_sensor[sensor.home_cloud_cover_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover day 2', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover day 2', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_day_2', @@ -703,9 +703,9 @@ # name: test_sensor[sensor.home_cloud_cover_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover day 3', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover day 3', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_day_3', @@ -755,9 +755,9 @@ # name: test_sensor[sensor.home_cloud_cover_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover day 4', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover day 4', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_day_4', @@ -807,9 +807,9 @@ # name: test_sensor[sensor.home_cloud_cover_night_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover night 0', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover night 0', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_night_0', @@ -859,9 +859,9 @@ # name: test_sensor[sensor.home_cloud_cover_night_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover night 1', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover night 1', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_night_1', @@ -911,9 +911,9 @@ # name: test_sensor[sensor.home_cloud_cover_night_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover night 2', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover night 2', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_night_2', @@ -963,9 +963,9 @@ # name: test_sensor[sensor.home_cloud_cover_night_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover night 3', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover night 3', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_night_3', @@ -1015,9 +1015,9 @@ # name: test_sensor[sensor.home_cloud_cover_night_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Cloud cover night 4', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Cloud cover night 4', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_cover_night_4', @@ -1067,8 +1067,8 @@ # name: test_sensor[sensor.home_condition_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition day 0', + : 'Data provided by AccuWeather', + : 'Home Condition day 0', }), 'context': , 'entity_id': 'sensor.home_condition_day_0', @@ -1118,8 +1118,8 @@ # name: test_sensor[sensor.home_condition_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition day 1', + : 'Data provided by AccuWeather', + : 'Home Condition day 1', }), 'context': , 'entity_id': 'sensor.home_condition_day_1', @@ -1169,8 +1169,8 @@ # name: test_sensor[sensor.home_condition_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition day 2', + : 'Data provided by AccuWeather', + : 'Home Condition day 2', }), 'context': , 'entity_id': 'sensor.home_condition_day_2', @@ -1220,8 +1220,8 @@ # name: test_sensor[sensor.home_condition_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition day 3', + : 'Data provided by AccuWeather', + : 'Home Condition day 3', }), 'context': , 'entity_id': 'sensor.home_condition_day_3', @@ -1271,8 +1271,8 @@ # name: test_sensor[sensor.home_condition_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition day 4', + : 'Data provided by AccuWeather', + : 'Home Condition day 4', }), 'context': , 'entity_id': 'sensor.home_condition_day_4', @@ -1322,8 +1322,8 @@ # name: test_sensor[sensor.home_condition_night_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition night 0', + : 'Data provided by AccuWeather', + : 'Home Condition night 0', }), 'context': , 'entity_id': 'sensor.home_condition_night_0', @@ -1373,8 +1373,8 @@ # name: test_sensor[sensor.home_condition_night_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition night 1', + : 'Data provided by AccuWeather', + : 'Home Condition night 1', }), 'context': , 'entity_id': 'sensor.home_condition_night_1', @@ -1424,8 +1424,8 @@ # name: test_sensor[sensor.home_condition_night_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition night 2', + : 'Data provided by AccuWeather', + : 'Home Condition night 2', }), 'context': , 'entity_id': 'sensor.home_condition_night_2', @@ -1475,8 +1475,8 @@ # name: test_sensor[sensor.home_condition_night_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition night 3', + : 'Data provided by AccuWeather', + : 'Home Condition night 3', }), 'context': , 'entity_id': 'sensor.home_condition_night_3', @@ -1526,8 +1526,8 @@ # name: test_sensor[sensor.home_condition_night_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Condition night 4', + : 'Data provided by AccuWeather', + : 'Home Condition night 4', }), 'context': , 'entity_id': 'sensor.home_condition_night_4', @@ -1582,11 +1582,11 @@ # name: test_sensor[sensor.home_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home Dew point', + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_dew_point', @@ -1636,10 +1636,10 @@ # name: test_sensor[sensor.home_grass_pollen_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Grass pollen day 0', + : 'Data provided by AccuWeather', + : 'Home Grass pollen day 0', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_grass_pollen_day_0', @@ -1689,10 +1689,10 @@ # name: test_sensor[sensor.home_grass_pollen_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Grass pollen day 1', + : 'Data provided by AccuWeather', + : 'Home Grass pollen day 1', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_grass_pollen_day_1', @@ -1742,10 +1742,10 @@ # name: test_sensor[sensor.home_grass_pollen_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Grass pollen day 2', + : 'Data provided by AccuWeather', + : 'Home Grass pollen day 2', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_grass_pollen_day_2', @@ -1795,10 +1795,10 @@ # name: test_sensor[sensor.home_grass_pollen_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Grass pollen day 3', + : 'Data provided by AccuWeather', + : 'Home Grass pollen day 3', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_grass_pollen_day_3', @@ -1848,10 +1848,10 @@ # name: test_sensor[sensor.home_grass_pollen_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Grass pollen day 4', + : 'Data provided by AccuWeather', + : 'Home Grass pollen day 4', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_grass_pollen_day_4', @@ -1901,9 +1901,9 @@ # name: test_sensor[sensor.home_hours_of_sun_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Hours of sun day 0', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'Home Hours of sun day 0', + : , }), 'context': , 'entity_id': 'sensor.home_hours_of_sun_day_0', @@ -1953,9 +1953,9 @@ # name: test_sensor[sensor.home_hours_of_sun_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Hours of sun day 1', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'Home Hours of sun day 1', + : , }), 'context': , 'entity_id': 'sensor.home_hours_of_sun_day_1', @@ -2005,9 +2005,9 @@ # name: test_sensor[sensor.home_hours_of_sun_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Hours of sun day 2', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'Home Hours of sun day 2', + : , }), 'context': , 'entity_id': 'sensor.home_hours_of_sun_day_2', @@ -2057,9 +2057,9 @@ # name: test_sensor[sensor.home_hours_of_sun_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Hours of sun day 3', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'Home Hours of sun day 3', + : , }), 'context': , 'entity_id': 'sensor.home_hours_of_sun_day_3', @@ -2109,9 +2109,9 @@ # name: test_sensor[sensor.home_hours_of_sun_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Hours of sun day 4', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'Home Hours of sun day 4', + : , }), 'context': , 'entity_id': 'sensor.home_hours_of_sun_day_4', @@ -2163,11 +2163,11 @@ # name: test_sensor[sensor.home_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'humidity', - 'friendly_name': 'Home Humidity', + : 'Data provided by AccuWeather', + : 'humidity', + : 'Home Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_humidity', @@ -2217,10 +2217,10 @@ # name: test_sensor[sensor.home_mold_pollen_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Mold pollen day 0', + : 'Data provided by AccuWeather', + : 'Home Mold pollen day 0', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_mold_pollen_day_0', @@ -2270,10 +2270,10 @@ # name: test_sensor[sensor.home_mold_pollen_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Mold pollen day 1', + : 'Data provided by AccuWeather', + : 'Home Mold pollen day 1', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_mold_pollen_day_1', @@ -2323,10 +2323,10 @@ # name: test_sensor[sensor.home_mold_pollen_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Mold pollen day 2', + : 'Data provided by AccuWeather', + : 'Home Mold pollen day 2', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_mold_pollen_day_2', @@ -2376,10 +2376,10 @@ # name: test_sensor[sensor.home_mold_pollen_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Mold pollen day 3', + : 'Data provided by AccuWeather', + : 'Home Mold pollen day 3', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_mold_pollen_day_3', @@ -2429,10 +2429,10 @@ # name: test_sensor[sensor.home_mold_pollen_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Mold pollen day 4', + : 'Data provided by AccuWeather', + : 'Home Mold pollen day 4', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_mold_pollen_day_4', @@ -2487,12 +2487,12 @@ # name: test_sensor[sensor.home_precipitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'Home Precipitation', + : 'Data provided by AccuWeather', + : 'precipitation_intensity', + : 'Home Precipitation', : , 'type': None, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_precipitation', @@ -2547,11 +2547,11 @@ # name: test_sensor[sensor.home_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'pressure', - 'friendly_name': 'Home Pressure', + : 'Data provided by AccuWeather', + : 'pressure', + : 'Home Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_pressure', @@ -2607,9 +2607,9 @@ # name: test_sensor[sensor.home_pressure_tendency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'enum', - 'friendly_name': 'Home Pressure tendency', + : 'Data provided by AccuWeather', + : 'enum', + : 'Home Pressure tendency', : list([ 'falling', 'rising', @@ -2664,10 +2664,10 @@ # name: test_sensor[sensor.home_ragweed_pollen_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Ragweed pollen day 0', + : 'Data provided by AccuWeather', + : 'Home Ragweed pollen day 0', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_ragweed_pollen_day_0', @@ -2717,10 +2717,10 @@ # name: test_sensor[sensor.home_ragweed_pollen_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Ragweed pollen day 1', + : 'Data provided by AccuWeather', + : 'Home Ragweed pollen day 1', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_ragweed_pollen_day_1', @@ -2770,10 +2770,10 @@ # name: test_sensor[sensor.home_ragweed_pollen_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Ragweed pollen day 2', + : 'Data provided by AccuWeather', + : 'Home Ragweed pollen day 2', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_ragweed_pollen_day_2', @@ -2823,10 +2823,10 @@ # name: test_sensor[sensor.home_ragweed_pollen_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Ragweed pollen day 3', + : 'Data provided by AccuWeather', + : 'Home Ragweed pollen day 3', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_ragweed_pollen_day_3', @@ -2876,10 +2876,10 @@ # name: test_sensor[sensor.home_ragweed_pollen_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Ragweed pollen day 4', + : 'Data provided by AccuWeather', + : 'Home Ragweed pollen day 4', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_ragweed_pollen_day_4', @@ -2934,11 +2934,11 @@ # name: test_sensor[sensor.home_realfeel_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature', + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature', @@ -2991,10 +2991,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_max_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature max day 0', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature max day 0', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_max_day_0', @@ -3047,10 +3047,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_max_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature max day 1', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature max day 1', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_max_day_1', @@ -3103,10 +3103,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_max_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature max day 2', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature max day 2', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_max_day_2', @@ -3159,10 +3159,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_max_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature max day 3', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature max day 3', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_max_day_3', @@ -3215,10 +3215,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_max_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature max day 4', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature max day 4', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_max_day_4', @@ -3271,10 +3271,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_min_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature min day 0', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature min day 0', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_min_day_0', @@ -3327,10 +3327,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_min_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature min day 1', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature min day 1', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_min_day_1', @@ -3383,10 +3383,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_min_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature min day 2', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature min day 2', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_min_day_2', @@ -3439,10 +3439,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_min_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature min day 3', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature min day 3', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_min_day_3', @@ -3495,10 +3495,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_min_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature min day 4', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature min day 4', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_min_day_4', @@ -3553,11 +3553,11 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade', + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade', @@ -3610,10 +3610,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_max_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade max day 0', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade max day 0', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_max_day_0', @@ -3666,10 +3666,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_max_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade max day 1', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade max day 1', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_max_day_1', @@ -3722,10 +3722,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_max_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade max day 2', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade max day 2', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_max_day_2', @@ -3778,10 +3778,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_max_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade max day 3', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade max day 3', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_max_day_3', @@ -3834,10 +3834,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_max_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade max day 4', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade max day 4', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_max_day_4', @@ -3890,10 +3890,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_min_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade min day 0', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade min day 0', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_min_day_0', @@ -3946,10 +3946,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_min_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade min day 1', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade min day 1', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_min_day_1', @@ -4002,10 +4002,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_min_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade min day 2', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade min day 2', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_min_day_2', @@ -4058,10 +4058,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_min_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade min day 3', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade min day 3', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_min_day_3', @@ -4114,10 +4114,10 @@ # name: test_sensor[sensor.home_realfeel_temperature_shade_min_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home RealFeel temperature shade min day 4', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home RealFeel temperature shade min day 4', + : , }), 'context': , 'entity_id': 'sensor.home_realfeel_temperature_shade_min_day_4', @@ -4170,10 +4170,10 @@ # name: test_sensor[sensor.home_solar_irradiance_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance day 0', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance day 0', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_day_0', @@ -4226,10 +4226,10 @@ # name: test_sensor[sensor.home_solar_irradiance_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance day 1', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance day 1', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_day_1', @@ -4282,10 +4282,10 @@ # name: test_sensor[sensor.home_solar_irradiance_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance day 2', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance day 2', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_day_2', @@ -4338,10 +4338,10 @@ # name: test_sensor[sensor.home_solar_irradiance_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance day 3', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance day 3', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_day_3', @@ -4394,10 +4394,10 @@ # name: test_sensor[sensor.home_solar_irradiance_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance day 4', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance day 4', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_day_4', @@ -4450,10 +4450,10 @@ # name: test_sensor[sensor.home_solar_irradiance_night_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance night 0', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance night 0', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_night_0', @@ -4506,10 +4506,10 @@ # name: test_sensor[sensor.home_solar_irradiance_night_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance night 1', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance night 1', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_night_1', @@ -4562,10 +4562,10 @@ # name: test_sensor[sensor.home_solar_irradiance_night_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance night 2', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance night 2', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_night_2', @@ -4618,10 +4618,10 @@ # name: test_sensor[sensor.home_solar_irradiance_night_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance night 3', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance night 3', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_night_3', @@ -4674,10 +4674,10 @@ # name: test_sensor[sensor.home_solar_irradiance_night_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'irradiance', - 'friendly_name': 'Home Solar irradiance night 4', - 'unit_of_measurement': , + : 'Data provided by AccuWeather', + : 'irradiance', + : 'Home Solar irradiance night 4', + : , }), 'context': , 'entity_id': 'sensor.home_solar_irradiance_night_4', @@ -4732,11 +4732,11 @@ # name: test_sensor[sensor.home_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home Temperature', + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_temperature', @@ -4786,9 +4786,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability day 0', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability day 0', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_day_0', @@ -4838,9 +4838,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability day 1', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability day 1', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_day_1', @@ -4890,9 +4890,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability day 2', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability day 2', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_day_2', @@ -4942,9 +4942,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability day 3', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability day 3', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_day_3', @@ -4994,9 +4994,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability day 4', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability day 4', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_day_4', @@ -5046,9 +5046,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_night_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability night 0', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability night 0', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_night_0', @@ -5098,9 +5098,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_night_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability night 1', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability night 1', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_night_1', @@ -5150,9 +5150,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_night_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability night 2', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability night 2', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_night_2', @@ -5202,9 +5202,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_night_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability night 3', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability night 3', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_night_3', @@ -5254,9 +5254,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability_night_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Thunderstorm probability night 4', - 'unit_of_measurement': '%', + : 'Data provided by AccuWeather', + : 'Home Thunderstorm probability night 4', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability_night_4', @@ -5306,10 +5306,10 @@ # name: test_sensor[sensor.home_tree_pollen_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Tree pollen day 0', + : 'Data provided by AccuWeather', + : 'Home Tree pollen day 0', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_tree_pollen_day_0', @@ -5359,10 +5359,10 @@ # name: test_sensor[sensor.home_tree_pollen_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Tree pollen day 1', + : 'Data provided by AccuWeather', + : 'Home Tree pollen day 1', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_tree_pollen_day_1', @@ -5412,10 +5412,10 @@ # name: test_sensor[sensor.home_tree_pollen_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Tree pollen day 2', + : 'Data provided by AccuWeather', + : 'Home Tree pollen day 2', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_tree_pollen_day_2', @@ -5465,10 +5465,10 @@ # name: test_sensor[sensor.home_tree_pollen_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Tree pollen day 3', + : 'Data provided by AccuWeather', + : 'Home Tree pollen day 3', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_tree_pollen_day_3', @@ -5518,10 +5518,10 @@ # name: test_sensor[sensor.home_tree_pollen_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home Tree pollen day 4', + : 'Data provided by AccuWeather', + : 'Home Tree pollen day 4', 'level': 'low', - 'unit_of_measurement': 'p/m³', + : 'p/m³', }), 'context': , 'entity_id': 'sensor.home_tree_pollen_day_4', @@ -5573,11 +5573,11 @@ # name: test_sensor[sensor.home_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home UV index', + : 'Data provided by AccuWeather', + : 'Home UV index', 'level': 'High', : , - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.home_uv_index', @@ -5627,10 +5627,10 @@ # name: test_sensor[sensor.home_uv_index_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home UV index day 0', + : 'Data provided by AccuWeather', + : 'Home UV index day 0', 'level': 'moderate', - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.home_uv_index_day_0', @@ -5680,10 +5680,10 @@ # name: test_sensor[sensor.home_uv_index_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home UV index day 1', + : 'Data provided by AccuWeather', + : 'Home UV index day 1', 'level': 'high', - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.home_uv_index_day_1', @@ -5733,10 +5733,10 @@ # name: test_sensor[sensor.home_uv_index_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home UV index day 2', + : 'Data provided by AccuWeather', + : 'Home UV index day 2', 'level': 'high', - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.home_uv_index_day_2', @@ -5786,10 +5786,10 @@ # name: test_sensor[sensor.home_uv_index_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home UV index day 3', + : 'Data provided by AccuWeather', + : 'Home UV index day 3', 'level': 'high', - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.home_uv_index_day_3', @@ -5839,10 +5839,10 @@ # name: test_sensor[sensor.home_uv_index_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'friendly_name': 'Home UV index day 4', + : 'Data provided by AccuWeather', + : 'Home UV index day 4', 'level': 'high', - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.home_uv_index_day_4', @@ -5897,11 +5897,11 @@ # name: test_sensor[sensor.home_wet_bulb_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home Wet bulb temperature', + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home Wet bulb temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_wet_bulb_temperature', @@ -5956,11 +5956,11 @@ # name: test_sensor[sensor.home_wind_chill_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'temperature', - 'friendly_name': 'Home Wind chill temperature', + : 'Data provided by AccuWeather', + : 'temperature', + : 'Home Wind chill temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_wind_chill_temperature', @@ -6015,11 +6015,11 @@ # name: test_sensor[sensor.home_wind_gust_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', - 'friendly_name': 'Home Wind gust speed', + : 'Data provided by AccuWeather', + : 'wind_speed', + : 'Home Wind gust speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed', @@ -6072,11 +6072,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'S', - 'friendly_name': 'Home Wind gust speed day 0', - 'unit_of_measurement': , + : 'Home Wind gust speed day 0', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_day_0', @@ -6129,11 +6129,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'NW', - 'friendly_name': 'Home Wind gust speed day 1', - 'unit_of_measurement': , + : 'Home Wind gust speed day 1', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_day_1', @@ -6186,11 +6186,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'SSW', - 'friendly_name': 'Home Wind gust speed day 2', - 'unit_of_measurement': , + : 'Home Wind gust speed day 2', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_day_2', @@ -6243,11 +6243,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind gust speed day 3', - 'unit_of_measurement': , + : 'Home Wind gust speed day 3', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_day_3', @@ -6300,11 +6300,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind gust speed day 4', - 'unit_of_measurement': , + : 'Home Wind gust speed day 4', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_day_4', @@ -6357,11 +6357,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_night_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'WSW', - 'friendly_name': 'Home Wind gust speed night 0', - 'unit_of_measurement': , + : 'Home Wind gust speed night 0', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_night_0', @@ -6414,11 +6414,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_night_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'S', - 'friendly_name': 'Home Wind gust speed night 1', - 'unit_of_measurement': , + : 'Home Wind gust speed night 1', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_night_1', @@ -6471,11 +6471,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_night_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind gust speed night 2', - 'unit_of_measurement': , + : 'Home Wind gust speed night 2', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_night_2', @@ -6528,11 +6528,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_night_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind gust speed night 3', - 'unit_of_measurement': , + : 'Home Wind gust speed night 3', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_night_3', @@ -6585,11 +6585,11 @@ # name: test_sensor[sensor.home_wind_gust_speed_night_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind gust speed night 4', - 'unit_of_measurement': , + : 'Home Wind gust speed night 4', + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed_night_4', @@ -6644,11 +6644,11 @@ # name: test_sensor[sensor.home_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', - 'friendly_name': 'Home Wind speed', + : 'Data provided by AccuWeather', + : 'wind_speed', + : 'Home Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed', @@ -6701,11 +6701,11 @@ # name: test_sensor[sensor.home_wind_speed_day_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'SSE', - 'friendly_name': 'Home Wind speed day 0', - 'unit_of_measurement': , + : 'Home Wind speed day 0', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_day_0', @@ -6758,11 +6758,11 @@ # name: test_sensor[sensor.home_wind_speed_day_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'WNW', - 'friendly_name': 'Home Wind speed day 1', - 'unit_of_measurement': , + : 'Home Wind speed day 1', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_day_1', @@ -6815,11 +6815,11 @@ # name: test_sensor[sensor.home_wind_speed_day_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'SSW', - 'friendly_name': 'Home Wind speed day 2', - 'unit_of_measurement': , + : 'Home Wind speed day 2', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_day_2', @@ -6872,11 +6872,11 @@ # name: test_sensor[sensor.home_wind_speed_day_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'WNW', - 'friendly_name': 'Home Wind speed day 3', - 'unit_of_measurement': , + : 'Home Wind speed day 3', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_day_3', @@ -6929,11 +6929,11 @@ # name: test_sensor[sensor.home_wind_speed_day_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind speed day 4', - 'unit_of_measurement': , + : 'Home Wind speed day 4', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_day_4', @@ -6986,11 +6986,11 @@ # name: test_sensor[sensor.home_wind_speed_night_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'WNW', - 'friendly_name': 'Home Wind speed night 0', - 'unit_of_measurement': , + : 'Home Wind speed night 0', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_night_0', @@ -7043,11 +7043,11 @@ # name: test_sensor[sensor.home_wind_speed_night_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'SSE', - 'friendly_name': 'Home Wind speed night 1', - 'unit_of_measurement': , + : 'Home Wind speed night 1', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_night_1', @@ -7100,11 +7100,11 @@ # name: test_sensor[sensor.home_wind_speed_night_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind speed night 2', - 'unit_of_measurement': , + : 'Home Wind speed night 2', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_night_2', @@ -7157,11 +7157,11 @@ # name: test_sensor[sensor.home_wind_speed_night_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind speed night 3', - 'unit_of_measurement': , + : 'Home Wind speed night 3', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_night_3', @@ -7214,11 +7214,11 @@ # name: test_sensor[sensor.home_wind_speed_night_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by AccuWeather', - 'device_class': 'wind_speed', + : 'Data provided by AccuWeather', + : 'wind_speed', 'direction': 'W', - 'friendly_name': 'Home Wind speed night 4', - 'unit_of_measurement': , + : 'Home Wind speed night 4', + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed_night_4', diff --git a/tests/components/accuweather/snapshots/test_weather.ambr b/tests/components/accuweather/snapshots/test_weather.ambr index 4fc7a7d7740..67477998d48 100644 --- a/tests/components/accuweather/snapshots/test_weather.ambr +++ b/tests/components/accuweather/snapshots/test_weather.ambr @@ -457,15 +457,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.8, - 'attribution': 'Data provided by AccuWeather', + : 'Data provided by AccuWeather', : 10, : 16.2, - 'friendly_name': 'Home', + : 'Home', : 67, : , : 1012.0, : , - 'supported_features': , + : , : 22.6, : , : 6, diff --git a/tests/components/actron_air/snapshots/test_climate.ambr b/tests/components/actron_air/snapshots/test_climate.ambr index 9bd6f3e5ef5..d69c1f21a99 100644 --- a/tests/components/actron_air/snapshots/test_climate.ambr +++ b/tests/components/actron_air/snapshots/test_climate.ambr @@ -51,7 +51,7 @@ 'attributes': ReadOnlyDict({ : 50.0, : 22.0, - 'friendly_name': 'Living Room', + : 'Living Room', : list([ , , @@ -61,7 +61,7 @@ ]), : 30, : 16, - 'supported_features': , + : , : 24.0, }), 'context': , @@ -137,7 +137,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Test System', + : 'Test System', : list([ , , @@ -147,7 +147,7 @@ ]), : 30.0, : 16.0, - 'supported_features': , + : , : 24.0, }), 'context': , diff --git a/tests/components/actron_air/snapshots/test_switch.ambr b/tests/components/actron_air/snapshots/test_switch.ambr index 3623bdc1410..920afe98f4f 100644 --- a/tests/components/actron_air/snapshots/test_switch.ambr +++ b/tests/components/actron_air/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.test_system_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test System Away mode', + : 'Test System Away mode', }), 'context': , 'entity_id': 'switch.test_system_away_mode', @@ -89,7 +89,7 @@ # name: test_switch_entities[switch.test_system_continuous_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test System Continuous fan', + : 'Test System Continuous fan', }), 'context': , 'entity_id': 'switch.test_system_continuous_fan', @@ -139,7 +139,7 @@ # name: test_switch_entities[switch.test_system_quiet_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test System Quiet mode', + : 'Test System Quiet mode', }), 'context': , 'entity_id': 'switch.test_system_quiet_mode', @@ -189,7 +189,7 @@ # name: test_switch_entities[switch.test_system_turbo_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test System Turbo mode', + : 'Test System Turbo mode', }), 'context': , 'entity_id': 'switch.test_system_turbo_mode', diff --git a/tests/components/adax/snapshots/test_sensor.ambr b/tests/components/adax/snapshots/test_sensor.ambr index b389b5f8634..f35ffaf97de 100644 --- a/tests/components/adax/snapshots/test_sensor.ambr +++ b/tests/components/adax/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_fallback_to_get_rooms[sensor.room_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Room 1 Energy', + : 'energy', + : 'Room 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_1_energy', @@ -105,10 +105,10 @@ # name: test_fallback_to_get_rooms[sensor.room_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Room 1 Temperature', + : 'temperature', + : 'Room 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_1_temperature', @@ -166,10 +166,10 @@ # name: test_multiple_devices_create_individual_sensors[sensor.room_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Room 1 Energy', + : 'energy', + : 'Room 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_1_energy', @@ -224,10 +224,10 @@ # name: test_multiple_devices_create_individual_sensors[sensor.room_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Room 1 Temperature', + : 'temperature', + : 'Room 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_1_temperature', @@ -285,10 +285,10 @@ # name: test_multiple_devices_create_individual_sensors[sensor.room_2_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Room 2 Energy', + : 'energy', + : 'Room 2 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_2_energy', @@ -343,10 +343,10 @@ # name: test_multiple_devices_create_individual_sensors[sensor.room_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Room 2 Temperature', + : 'temperature', + : 'Room 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_2_temperature', @@ -404,10 +404,10 @@ # name: test_sensor_cloud[sensor.room_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Room 1 Energy', + : 'energy', + : 'Room 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_1_energy', @@ -462,10 +462,10 @@ # name: test_sensor_cloud[sensor.room_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Room 1 Temperature', + : 'temperature', + : 'Room 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_1_temperature', diff --git a/tests/components/adguard/snapshots/test_sensor.ambr b/tests/components/adguard/snapshots/test_sensor.ambr index 8e67344cd91..c6b22e464d4 100644 --- a/tests/components/adguard/snapshots/test_sensor.ambr +++ b/tests/components/adguard/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[sensor.adguard_home_average_processing_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Average processing speed', - 'unit_of_measurement': , + : 'AdGuard Home Average processing speed', + : , }), 'context': , 'entity_id': 'sensor.adguard_home_average_processing_speed', @@ -90,8 +90,8 @@ # name: test_sensors[sensor.adguard_home_dns_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home DNS queries', - 'unit_of_measurement': 'queries', + : 'AdGuard Home DNS queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.adguard_home_dns_queries', @@ -141,8 +141,8 @@ # name: test_sensors[sensor.adguard_home_dns_queries_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home DNS queries blocked', - 'unit_of_measurement': 'queries', + : 'AdGuard Home DNS queries blocked', + : 'queries', }), 'context': , 'entity_id': 'sensor.adguard_home_dns_queries_blocked', @@ -192,8 +192,8 @@ # name: test_sensors[sensor.adguard_home_dns_queries_blocked_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home DNS queries blocked ratio', - 'unit_of_measurement': '%', + : 'AdGuard Home DNS queries blocked ratio', + : '%', }), 'context': , 'entity_id': 'sensor.adguard_home_dns_queries_blocked_ratio', @@ -243,8 +243,8 @@ # name: test_sensors[sensor.adguard_home_parental_control_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Parental control blocked', - 'unit_of_measurement': 'requests', + : 'AdGuard Home Parental control blocked', + : 'requests', }), 'context': , 'entity_id': 'sensor.adguard_home_parental_control_blocked', @@ -294,8 +294,8 @@ # name: test_sensors[sensor.adguard_home_rules_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Rules count', - 'unit_of_measurement': 'rules', + : 'AdGuard Home Rules count', + : 'rules', }), 'context': , 'entity_id': 'sensor.adguard_home_rules_count', @@ -345,8 +345,8 @@ # name: test_sensors[sensor.adguard_home_safe_browsing_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Safe browsing blocked', - 'unit_of_measurement': 'requests', + : 'AdGuard Home Safe browsing blocked', + : 'requests', }), 'context': , 'entity_id': 'sensor.adguard_home_safe_browsing_blocked', @@ -396,8 +396,8 @@ # name: test_sensors[sensor.adguard_home_safe_searches_enforced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Safe searches enforced', - 'unit_of_measurement': 'requests', + : 'AdGuard Home Safe searches enforced', + : 'requests', }), 'context': , 'entity_id': 'sensor.adguard_home_safe_searches_enforced', diff --git a/tests/components/adguard/snapshots/test_switch.ambr b/tests/components/adguard/snapshots/test_switch.ambr index 63d540f26bf..632b9033d55 100644 --- a/tests/components/adguard/snapshots/test_switch.ambr +++ b/tests/components/adguard/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch[switch.adguard_home_filtering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Filtering', + : 'AdGuard Home Filtering', }), 'context': , 'entity_id': 'switch.adguard_home_filtering', @@ -89,7 +89,7 @@ # name: test_switch[switch.adguard_home_parental_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Parental control', + : 'AdGuard Home Parental control', }), 'context': , 'entity_id': 'switch.adguard_home_parental_control', @@ -139,7 +139,7 @@ # name: test_switch[switch.adguard_home_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Protection', + : 'AdGuard Home Protection', }), 'context': , 'entity_id': 'switch.adguard_home_protection', @@ -189,7 +189,7 @@ # name: test_switch[switch.adguard_home_query_log-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Query log', + : 'AdGuard Home Query log', }), 'context': , 'entity_id': 'switch.adguard_home_query_log', @@ -239,7 +239,7 @@ # name: test_switch[switch.adguard_home_safe_browsing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Safe browsing', + : 'AdGuard Home Safe browsing', }), 'context': , 'entity_id': 'switch.adguard_home_safe_browsing', @@ -289,7 +289,7 @@ # name: test_switch[switch.adguard_home_safe_search-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AdGuard Home Safe search', + : 'AdGuard Home Safe search', }), 'context': , 'entity_id': 'switch.adguard_home_safe_search', diff --git a/tests/components/adguard/snapshots/test_update.ambr b/tests/components/adguard/snapshots/test_update.ambr index de3cb117cc4..938521bcd3d 100644 --- a/tests/components/adguard/snapshots/test_update.ambr +++ b/tests/components/adguard/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/adguard/icon.png', - 'friendly_name': 'AdGuard Home', + : '/api/brands/integration/adguard/icon.png', + : 'AdGuard Home', : False, : 'v0.107.50', : 'v0.107.59', : 'AdGuard Home v0.107.59 is now available!', : 'https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.59', : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/advantage_air/snapshots/test_climate.ambr b/tests/components/advantage_air/snapshots/test_climate.ambr index 2f2eeb73e85..2afa1dfe9cd 100644 --- a/tests/components/advantage_air/snapshots/test_climate.ambr +++ b/tests/components/advantage_air/snapshots/test_climate.ambr @@ -29,7 +29,7 @@ 'high', 'auto', ]), - 'friendly_name': 'myauto', + : 'myauto', : , : list([ , @@ -47,7 +47,7 @@ 'MyTemp', 'MyAuto', ]), - 'supported_features': , + : , : 24, : 20, : 1, diff --git a/tests/components/advantage_air/snapshots/test_switch.ambr b/tests/components/advantage_air/snapshots/test_switch.ambr index cc050bb6a4d..7192d900460 100644 --- a/tests/components/advantage_air/snapshots/test_switch.ambr +++ b/tests/components/advantage_air/snapshots/test_switch.ambr @@ -20,9 +20,9 @@ # name: test_cover_async_setup_entry[switch.myzone_myfan] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'myzone MyFan', - 'icon': 'mdi:fan-auto', + : 'switch', + : 'myzone MyFan', + : 'mdi:fan-auto', }), 'context': , 'entity_id': 'switch.myzone_myfan', diff --git a/tests/components/aidot/snapshots/test_light.ambr b/tests/components/aidot/snapshots/test_light.ambr index 53dd8ac75d2..53d117eb40b 100644 --- a/tests/components/aidot/snapshots/test_light.ambr +++ b/tests/components/aidot/snapshots/test_light.ambr @@ -49,7 +49,7 @@ : 255, : , : None, - 'friendly_name': 'Test Light', + : 'Test Light', : tuple( 0.0, 0.0, @@ -71,7 +71,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.323, 0.329, diff --git a/tests/components/airgradient/snapshots/test_button.ambr b/tests/components/airgradient/snapshots/test_button.ambr index a950896aad8..a8b815fd434 100644 --- a/tests/components/airgradient/snapshots/test_button.ambr +++ b/tests/components/airgradient/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[indoor][button.airgradient_calibrate_co2_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Calibrate CO2 sensor', + : 'Airgradient Calibrate CO2 sensor', }), 'context': , 'entity_id': 'button.airgradient_calibrate_co2_sensor', @@ -89,7 +89,7 @@ # name: test_all_entities[indoor][button.airgradient_test_led_bar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Test LED bar', + : 'Airgradient Test LED bar', }), 'context': , 'entity_id': 'button.airgradient_test_led_bar', @@ -139,7 +139,7 @@ # name: test_all_entities[outdoor][button.airgradient_calibrate_co2_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Calibrate CO2 sensor', + : 'Airgradient Calibrate CO2 sensor', }), 'context': , 'entity_id': 'button.airgradient_calibrate_co2_sensor', diff --git a/tests/components/airgradient/snapshots/test_number.ambr b/tests/components/airgradient/snapshots/test_number.ambr index 2d36712016e..b8c17d7d3f8 100644 --- a/tests/components/airgradient/snapshots/test_number.ambr +++ b/tests/components/airgradient/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_all_entities[number.airgradient_display_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Display brightness', + : 'Airgradient Display brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.airgradient_display_brightness', @@ -104,12 +104,12 @@ # name: test_all_entities[number.airgradient_led_bar_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient LED bar brightness', + : 'Airgradient LED bar brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.airgradient_led_bar_brightness', diff --git a/tests/components/airgradient/snapshots/test_select.ambr b/tests/components/airgradient/snapshots/test_select.ambr index 56f164add86..767e9f6e45f 100644 --- a/tests/components/airgradient/snapshots/test_select.ambr +++ b/tests/components/airgradient/snapshots/test_select.ambr @@ -48,7 +48,7 @@ # name: test_all_entities[indoor][select.airgradient_co2_automatic_baseline_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient CO2 automatic baseline duration', + : 'Airgradient CO2 automatic baseline duration', : list([ '1', '8', @@ -111,7 +111,7 @@ # name: test_all_entities[indoor][select.airgradient_configuration_source-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Configuration source', + : 'Airgradient Configuration source', : list([ 'cloud', 'local', @@ -170,7 +170,7 @@ # name: test_all_entities[indoor][select.airgradient_display_pm_standard-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Display PM standard', + : 'Airgradient Display PM standard', : list([ 'ugm3', 'us_aqi', @@ -229,7 +229,7 @@ # name: test_all_entities[indoor][select.airgradient_display_temperature_unit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Display temperature unit', + : 'Airgradient Display temperature unit', : list([ 'c', 'f', @@ -289,7 +289,7 @@ # name: test_all_entities[indoor][select.airgradient_led_bar_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient LED bar mode', + : 'Airgradient LED bar mode', : list([ 'off', 'co2', @@ -352,7 +352,7 @@ # name: test_all_entities[indoor][select.airgradient_nox_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient NOx index learning offset', + : 'Airgradient NOx index learning offset', : list([ '12', '60', @@ -417,7 +417,7 @@ # name: test_all_entities[indoor][select.airgradient_voc_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient VOC index learning offset', + : 'Airgradient VOC index learning offset', : list([ '12', '60', @@ -483,7 +483,7 @@ # name: test_all_entities[outdoor][select.airgradient_co2_automatic_baseline_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient CO2 automatic baseline duration', + : 'Airgradient CO2 automatic baseline duration', : list([ '1', '8', @@ -546,7 +546,7 @@ # name: test_all_entities[outdoor][select.airgradient_configuration_source-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Configuration source', + : 'Airgradient Configuration source', : list([ 'cloud', 'local', @@ -608,7 +608,7 @@ # name: test_all_entities[outdoor][select.airgradient_nox_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient NOx index learning offset', + : 'Airgradient NOx index learning offset', : list([ '12', '60', @@ -673,7 +673,7 @@ # name: test_all_entities[outdoor][select.airgradient_voc_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient VOC index learning offset', + : 'Airgradient VOC index learning offset', : list([ '12', '60', diff --git a/tests/components/airgradient/snapshots/test_sensor.ambr b/tests/components/airgradient/snapshots/test_sensor.ambr index 2811495551c..29ce64fa5d5 100644 --- a/tests/components/airgradient/snapshots/test_sensor.ambr +++ b/tests/components/airgradient/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[indoor][sensor.airgradient_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Airgradient Carbon dioxide', + : 'carbon_dioxide', + : 'Airgradient Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.airgradient_carbon_dioxide', @@ -97,9 +97,9 @@ # name: test_all_entities[indoor][sensor.airgradient_carbon_dioxide_automatic_baseline_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Airgradient Carbon dioxide automatic baseline calibration', - 'unit_of_measurement': , + : 'duration', + : 'Airgradient Carbon dioxide automatic baseline calibration', + : , }), 'context': , 'entity_id': 'sensor.airgradient_carbon_dioxide_automatic_baseline_calibration', @@ -149,8 +149,8 @@ # name: test_all_entities[indoor][sensor.airgradient_display_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Display brightness', - 'unit_of_measurement': '%', + : 'Airgradient Display brightness', + : '%', }), 'context': , 'entity_id': 'sensor.airgradient_display_brightness', @@ -205,8 +205,8 @@ # name: test_all_entities[indoor][sensor.airgradient_display_pm_standard-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Airgradient Display PM standard', + : 'enum', + : 'Airgradient Display PM standard', : list([ 'ugm3', 'us_aqi', @@ -265,8 +265,8 @@ # name: test_all_entities[indoor][sensor.airgradient_display_temperature_unit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Airgradient Display temperature unit', + : 'enum', + : 'Airgradient Display temperature unit', : list([ 'c', 'f', @@ -322,10 +322,10 @@ # name: test_all_entities[indoor][sensor.airgradient_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Airgradient Humidity', + : 'humidity', + : 'Airgradient Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.airgradient_humidity', @@ -375,8 +375,8 @@ # name: test_all_entities[indoor][sensor.airgradient_led_bar_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient LED bar brightness', - 'unit_of_measurement': '%', + : 'Airgradient LED bar brightness', + : '%', }), 'context': , 'entity_id': 'sensor.airgradient_led_bar_brightness', @@ -432,8 +432,8 @@ # name: test_all_entities[indoor][sensor.airgradient_led_bar_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Airgradient LED bar mode', + : 'enum', + : 'Airgradient LED bar mode', : list([ 'off', 'co2', @@ -490,7 +490,7 @@ # name: test_all_entities[indoor][sensor.airgradient_nox_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient NOx index', + : 'Airgradient NOx index', : , }), 'context': , @@ -544,9 +544,9 @@ # name: test_all_entities[indoor][sensor.airgradient_nox_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Airgradient NOx index learning offset', - 'unit_of_measurement': , + : 'duration', + : 'Airgradient NOx index learning offset', + : , }), 'context': , 'entity_id': 'sensor.airgradient_nox_index_learning_offset', @@ -598,9 +598,9 @@ # name: test_all_entities[indoor][sensor.airgradient_pm0_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient PM0.3', + : 'Airgradient PM0.3', : , - 'unit_of_measurement': 'particles/dL', + : 'particles/dL', }), 'context': , 'entity_id': 'sensor.airgradient_pm0_3', @@ -652,10 +652,10 @@ # name: test_all_entities[indoor][sensor.airgradient_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Airgradient PM1', + : 'pm1', + : 'Airgradient PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airgradient_pm1', @@ -707,10 +707,10 @@ # name: test_all_entities[indoor][sensor.airgradient_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Airgradient PM10', + : 'pm10', + : 'Airgradient PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airgradient_pm10', @@ -762,10 +762,10 @@ # name: test_all_entities[indoor][sensor.airgradient_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Airgradient PM2.5', + : 'pm25', + : 'Airgradient PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airgradient_pm2_5', @@ -817,9 +817,9 @@ # name: test_all_entities[indoor][sensor.airgradient_raw_nox-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Raw NOx', + : 'Airgradient Raw NOx', : , - 'unit_of_measurement': 'ticks', + : 'ticks', }), 'context': , 'entity_id': 'sensor.airgradient_raw_nox', @@ -871,10 +871,10 @@ # name: test_all_entities[indoor][sensor.airgradient_raw_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Airgradient Raw PM2.5', + : 'pm25', + : 'Airgradient Raw PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airgradient_raw_pm2_5', @@ -926,9 +926,9 @@ # name: test_all_entities[indoor][sensor.airgradient_raw_voc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Raw VOC', + : 'Airgradient Raw VOC', : , - 'unit_of_measurement': 'ticks', + : 'ticks', }), 'context': , 'entity_id': 'sensor.airgradient_raw_voc', @@ -980,10 +980,10 @@ # name: test_all_entities[indoor][sensor.airgradient_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Airgradient Signal strength', + : 'signal_strength', + : 'Airgradient Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.airgradient_signal_strength', @@ -1038,10 +1038,10 @@ # name: test_all_entities[indoor][sensor.airgradient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Airgradient Temperature', + : 'temperature', + : 'Airgradient Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airgradient_temperature', @@ -1093,7 +1093,7 @@ # name: test_all_entities[indoor][sensor.airgradient_voc_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient VOC index', + : 'Airgradient VOC index', : , }), 'context': , @@ -1147,9 +1147,9 @@ # name: test_all_entities[indoor][sensor.airgradient_voc_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Airgradient VOC index learning offset', - 'unit_of_measurement': , + : 'duration', + : 'Airgradient VOC index learning offset', + : , }), 'context': , 'entity_id': 'sensor.airgradient_voc_index_learning_offset', @@ -1202,9 +1202,9 @@ # name: test_all_entities[outdoor][sensor.airgradient_carbon_dioxide_automatic_baseline_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Airgradient Carbon dioxide automatic baseline calibration', - 'unit_of_measurement': , + : 'duration', + : 'Airgradient Carbon dioxide automatic baseline calibration', + : , }), 'context': , 'entity_id': 'sensor.airgradient_carbon_dioxide_automatic_baseline_calibration', @@ -1256,7 +1256,7 @@ # name: test_all_entities[outdoor][sensor.airgradient_nox_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient NOx index', + : 'Airgradient NOx index', : , }), 'context': , @@ -1310,9 +1310,9 @@ # name: test_all_entities[outdoor][sensor.airgradient_nox_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Airgradient NOx index learning offset', - 'unit_of_measurement': , + : 'duration', + : 'Airgradient NOx index learning offset', + : , }), 'context': , 'entity_id': 'sensor.airgradient_nox_index_learning_offset', @@ -1364,9 +1364,9 @@ # name: test_all_entities[outdoor][sensor.airgradient_raw_nox-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Raw NOx', + : 'Airgradient Raw NOx', : , - 'unit_of_measurement': 'ticks', + : 'ticks', }), 'context': , 'entity_id': 'sensor.airgradient_raw_nox', @@ -1418,9 +1418,9 @@ # name: test_all_entities[outdoor][sensor.airgradient_raw_voc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Raw VOC', + : 'Airgradient Raw VOC', : , - 'unit_of_measurement': 'ticks', + : 'ticks', }), 'context': , 'entity_id': 'sensor.airgradient_raw_voc', @@ -1472,10 +1472,10 @@ # name: test_all_entities[outdoor][sensor.airgradient_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Airgradient Signal strength', + : 'signal_strength', + : 'Airgradient Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.airgradient_signal_strength', @@ -1527,7 +1527,7 @@ # name: test_all_entities[outdoor][sensor.airgradient_voc_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient VOC index', + : 'Airgradient VOC index', : , }), 'context': , @@ -1581,9 +1581,9 @@ # name: test_all_entities[outdoor][sensor.airgradient_voc_index_learning_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Airgradient VOC index learning offset', - 'unit_of_measurement': , + : 'duration', + : 'Airgradient VOC index learning offset', + : , }), 'context': , 'entity_id': 'sensor.airgradient_voc_index_learning_offset', diff --git a/tests/components/airgradient/snapshots/test_switch.ambr b/tests/components/airgradient/snapshots/test_switch.ambr index 5212df461c8..f216e8d6446 100644 --- a/tests/components/airgradient/snapshots/test_switch.ambr +++ b/tests/components/airgradient/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.airgradient_post_data_to_airgradient-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Airgradient Post data to Airgradient', + : 'Airgradient Post data to Airgradient', }), 'context': , 'entity_id': 'switch.airgradient_post_data_to_airgradient', diff --git a/tests/components/airgradient/snapshots/test_update.ambr b/tests/components/airgradient/snapshots/test_update.ambr index d4d4ba1ef29..64ffdfe1bf1 100644 --- a/tests/components/airgradient/snapshots/test_update.ambr +++ b/tests/components/airgradient/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/airgradient/icon.png', - 'friendly_name': 'Airgradient Firmware', + : '/api/brands/integration/airgradient/icon.png', + : 'Airgradient Firmware', : False, : '3.1.1', : '3.1.4', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/airly/snapshots/test_sensor.ambr b/tests/components/airly/snapshots/test_sensor.ambr index 3f14c66f8f5..1d6a22e3b44 100644 --- a/tests/components/airly/snapshots/test_sensor.ambr +++ b/tests/components/airly/snapshots/test_sensor.ambr @@ -44,13 +44,13 @@ # name: test_sensor[sensor.home_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Home Carbon monoxide', + : 'Data provided by Airly', + : 'carbon_monoxide', + : 'Home Carbon monoxide', 'limit': 4000, 'percent': 4, : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_carbon_monoxide', @@ -104,11 +104,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'advice': 'Catch your breath!', - 'attribution': 'Data provided by Airly', + : 'Data provided by Airly', 'description': 'Great air here today!', - 'friendly_name': 'Home Common air quality index', + : 'Home Common air quality index', 'level': 'very low', - 'unit_of_measurement': 'CAQI', + : 'CAQI', }), 'context': , 'entity_id': 'sensor.home_common_air_quality_index', @@ -163,11 +163,11 @@ # name: test_sensor[sensor.home_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'humidity', - 'friendly_name': 'Home Humidity', + : 'Data provided by Airly', + : 'humidity', + : 'Home Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_humidity', @@ -222,13 +222,13 @@ # name: test_sensor[sensor.home_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'nitrogen_dioxide', - 'friendly_name': 'Home Nitrogen dioxide', + : 'Data provided by Airly', + : 'nitrogen_dioxide', + : 'Home Nitrogen dioxide', 'limit': 25, 'percent': 64, : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_nitrogen_dioxide', @@ -283,13 +283,13 @@ # name: test_sensor[sensor.home_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'ozone', - 'friendly_name': 'Home Ozone', + : 'Data provided by Airly', + : 'ozone', + : 'Home Ozone', 'limit': 100, 'percent': 42, : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_ozone', @@ -344,11 +344,11 @@ # name: test_sensor[sensor.home_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'pm1', - 'friendly_name': 'Home PM1', + : 'Data provided by Airly', + : 'pm1', + : 'Home PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm1', @@ -403,13 +403,13 @@ # name: test_sensor[sensor.home_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'pm10', - 'friendly_name': 'Home PM10', + : 'Data provided by Airly', + : 'pm10', + : 'Home PM10', 'limit': 45, 'percent': 14, : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm10', @@ -464,13 +464,13 @@ # name: test_sensor[sensor.home_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'pm25', - 'friendly_name': 'Home PM2.5', + : 'Data provided by Airly', + : 'pm25', + : 'Home PM2.5', 'limit': 15, 'percent': 29, : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm2_5', @@ -525,11 +525,11 @@ # name: test_sensor[sensor.home_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'pressure', - 'friendly_name': 'Home Pressure', + : 'Data provided by Airly', + : 'pressure', + : 'Home Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_pressure', @@ -584,13 +584,13 @@ # name: test_sensor[sensor.home_sulphur_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'sulphur_dioxide', - 'friendly_name': 'Home Sulphur dioxide', + : 'Data provided by Airly', + : 'sulphur_dioxide', + : 'Home Sulphur dioxide', 'limit': 40, 'percent': 35, : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_sulphur_dioxide', @@ -645,11 +645,11 @@ # name: test_sensor[sensor.home_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Airly', - 'device_class': 'temperature', - 'friendly_name': 'Home Temperature', + : 'Data provided by Airly', + : 'temperature', + : 'Home Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_temperature', diff --git a/tests/components/airobot/snapshots/test_button.ambr b/tests/components/airobot/snapshots/test_button.ambr index 1c0a07af771..cbdf4e69a3a 100644 --- a/tests/components/airobot/snapshots/test_button.ambr +++ b/tests/components/airobot/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button.test_thermostat_recalibrate_co2_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Thermostat Recalibrate CO2 sensor', + : 'Test Thermostat Recalibrate CO2 sensor', }), 'context': , 'entity_id': 'button.test_thermostat_recalibrate_co2_sensor', @@ -89,8 +89,8 @@ # name: test_buttons[button.test_thermostat_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test Thermostat Restart', + : 'restart', + : 'Test Thermostat Restart', }), 'context': , 'entity_id': 'button.test_thermostat_restart', diff --git a/tests/components/airobot/snapshots/test_climate.ambr b/tests/components/airobot/snapshots/test_climate.ambr index 02ae936e92f..76678d90f95 100644 --- a/tests/components/airobot/snapshots/test_climate.ambr +++ b/tests/components/airobot/snapshots/test_climate.ambr @@ -52,7 +52,7 @@ 'attributes': ReadOnlyDict({ : 45.0, : 22.0, - 'friendly_name': 'Test Thermostat', + : 'Test Thermostat', : , : list([ , @@ -65,7 +65,7 @@ 'away', 'boost', ]), - 'supported_features': , + : , : 22.0, }), 'context': , diff --git a/tests/components/airobot/snapshots/test_number.ambr b/tests/components/airobot/snapshots/test_number.ambr index 0545a482d21..d112c8e411b 100644 --- a/tests/components/airobot/snapshots/test_number.ambr +++ b/tests/components/airobot/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number_entities[number.test_thermostat_hysteresis_band-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Thermostat Hysteresis band', + : 'temperature', + : 'Test Thermostat Hysteresis band', : 0.5, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_thermostat_hysteresis_band', diff --git a/tests/components/airobot/snapshots/test_sensor.ambr b/tests/components/airobot/snapshots/test_sensor.ambr index de814f4c4ea..fdc13f48055 100644 --- a/tests/components/airobot/snapshots/test_sensor.ambr +++ b/tests/components/airobot/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.test_thermostat_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Thermostat Air temperature', + : 'temperature', + : 'Test Thermostat Air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_thermostat_air_temperature', @@ -97,8 +97,8 @@ # name: test_sensors[sensor.test_thermostat_device_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Thermostat Device uptime', + : 'timestamp', + : 'Test Thermostat Device uptime', }), 'context': , 'entity_id': 'sensor.test_thermostat_device_uptime', @@ -150,7 +150,7 @@ # name: test_sensors[sensor.test_thermostat_error_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Thermostat Error count', + : 'Test Thermostat Error count', : , }), 'context': , @@ -209,10 +209,10 @@ # name: test_sensors[sensor.test_thermostat_heating_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Thermostat Heating uptime', + : 'duration', + : 'Test Thermostat Heating uptime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_thermostat_heating_uptime', @@ -264,10 +264,10 @@ # name: test_sensors[sensor.test_thermostat_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test Thermostat Humidity', + : 'humidity', + : 'Test Thermostat Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_thermostat_humidity', diff --git a/tests/components/airobot/snapshots/test_switch.ambr b/tests/components/airobot/snapshots/test_switch.ambr index 85b77c2960d..12476f8b8ba 100644 --- a/tests/components/airobot/snapshots/test_switch.ambr +++ b/tests/components/airobot/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.test_thermostat_actuator_exercise_disabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Thermostat Actuator exercise disabled', + : 'Test Thermostat Actuator exercise disabled', }), 'context': , 'entity_id': 'switch.test_thermostat_actuator_exercise_disabled', @@ -89,7 +89,7 @@ # name: test_switches[switch.test_thermostat_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Thermostat Child lock', + : 'Test Thermostat Child lock', }), 'context': , 'entity_id': 'switch.test_thermostat_child_lock', diff --git a/tests/components/airos/snapshots/test_binary_sensor.ambr b/tests/components/airos/snapshots/test_binary_sensor.ambr index ad8479f9528..297db30a6f2 100644 --- a/tests/components/airos/snapshots/test_binary_sensor.ambr +++ b/tests/components/airos/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[airos_NanoStation_M5_sta_v6.3.16.json][binary_sensor.nanostation_m5_dhcp_client-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'NanoStation M5 DHCP client', + : 'running', + : 'NanoStation M5 DHCP client', }), 'context': , 'entity_id': 'binary_sensor.nanostation_m5_dhcp_client', @@ -90,8 +90,8 @@ # name: test_all_entities[airos_NanoStation_M5_sta_v6.3.16.json][binary_sensor.nanostation_m5_dhcp_server-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'NanoStation M5 DHCP server', + : 'running', + : 'NanoStation M5 DHCP server', }), 'context': , 'entity_id': 'binary_sensor.nanostation_m5_dhcp_server', @@ -141,8 +141,8 @@ # name: test_all_entities[airos_NanoStation_M5_sta_v6.3.16.json][binary_sensor.nanostation_m5_pppoe_link-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'NanoStation M5 PPPoE link', + : 'connectivity', + : 'NanoStation M5 PPPoE link', }), 'context': , 'entity_id': 'binary_sensor.nanostation_m5_pppoe_link', @@ -192,8 +192,8 @@ # name: test_all_entities[airos_NanoStation_loco_M5_v6.3.16_XM_sta.json][binary_sensor.nanostation_loco_m5_client_dhcp_client-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'NanoStation loco M5 Client DHCP client', + : 'running', + : 'NanoStation loco M5 Client DHCP client', }), 'context': , 'entity_id': 'binary_sensor.nanostation_loco_m5_client_dhcp_client', @@ -243,8 +243,8 @@ # name: test_all_entities[airos_NanoStation_loco_M5_v6.3.16_XM_sta.json][binary_sensor.nanostation_loco_m5_client_dhcp_server-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'NanoStation loco M5 Client DHCP server', + : 'running', + : 'NanoStation loco M5 Client DHCP server', }), 'context': , 'entity_id': 'binary_sensor.nanostation_loco_m5_client_dhcp_server', @@ -294,8 +294,8 @@ # name: test_all_entities[airos_NanoStation_loco_M5_v6.3.16_XM_sta.json][binary_sensor.nanostation_loco_m5_client_pppoe_link-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'NanoStation loco M5 Client PPPoE link', + : 'connectivity', + : 'NanoStation loco M5 Client PPPoE link', }), 'context': , 'entity_id': 'binary_sensor.nanostation_loco_m5_client_pppoe_link', @@ -345,8 +345,8 @@ # name: test_all_entities[airos_liteapgps_ap_ptmp_40mhz.json][binary_sensor.house_bridge_dhcp_client-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'House-Bridge DHCP client', + : 'running', + : 'House-Bridge DHCP client', }), 'context': , 'entity_id': 'binary_sensor.house_bridge_dhcp_client', @@ -396,8 +396,8 @@ # name: test_all_entities[airos_liteapgps_ap_ptmp_40mhz.json][binary_sensor.house_bridge_dhcp_server-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'House-Bridge DHCP server', + : 'running', + : 'House-Bridge DHCP server', }), 'context': , 'entity_id': 'binary_sensor.house_bridge_dhcp_server', @@ -447,8 +447,8 @@ # name: test_all_entities[airos_liteapgps_ap_ptmp_40mhz.json][binary_sensor.house_bridge_dhcpv6_server-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'House-Bridge DHCPv6 server', + : 'running', + : 'House-Bridge DHCPv6 server', }), 'context': , 'entity_id': 'binary_sensor.house_bridge_dhcpv6_server', @@ -498,7 +498,7 @@ # name: test_all_entities[airos_liteapgps_ap_ptmp_40mhz.json][binary_sensor.house_bridge_port_forwarding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'House-Bridge Port forwarding', + : 'House-Bridge Port forwarding', }), 'context': , 'entity_id': 'binary_sensor.house_bridge_port_forwarding', @@ -548,8 +548,8 @@ # name: test_all_entities[airos_liteapgps_ap_ptmp_40mhz.json][binary_sensor.house_bridge_pppoe_link-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'House-Bridge PPPoE link', + : 'connectivity', + : 'House-Bridge PPPoE link', }), 'context': , 'entity_id': 'binary_sensor.house_bridge_pppoe_link', @@ -599,8 +599,8 @@ # name: test_all_entities[airos_loco5ac_ap-ptp.json][binary_sensor.nanostation_5ac_ap_name_dhcp_client-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'NanoStation 5AC ap name DHCP client', + : 'running', + : 'NanoStation 5AC ap name DHCP client', }), 'context': , 'entity_id': 'binary_sensor.nanostation_5ac_ap_name_dhcp_client', @@ -650,8 +650,8 @@ # name: test_all_entities[airos_loco5ac_ap-ptp.json][binary_sensor.nanostation_5ac_ap_name_dhcp_server-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'NanoStation 5AC ap name DHCP server', + : 'running', + : 'NanoStation 5AC ap name DHCP server', }), 'context': , 'entity_id': 'binary_sensor.nanostation_5ac_ap_name_dhcp_server', @@ -701,8 +701,8 @@ # name: test_all_entities[airos_loco5ac_ap-ptp.json][binary_sensor.nanostation_5ac_ap_name_dhcpv6_server-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'NanoStation 5AC ap name DHCPv6 server', + : 'running', + : 'NanoStation 5AC ap name DHCPv6 server', }), 'context': , 'entity_id': 'binary_sensor.nanostation_5ac_ap_name_dhcpv6_server', @@ -752,7 +752,7 @@ # name: test_all_entities[airos_loco5ac_ap-ptp.json][binary_sensor.nanostation_5ac_ap_name_port_forwarding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NanoStation 5AC ap name Port forwarding', + : 'NanoStation 5AC ap name Port forwarding', }), 'context': , 'entity_id': 'binary_sensor.nanostation_5ac_ap_name_port_forwarding', @@ -802,8 +802,8 @@ # name: test_all_entities[airos_loco5ac_ap-ptp.json][binary_sensor.nanostation_5ac_ap_name_pppoe_link-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'NanoStation 5AC ap name PPPoE link', + : 'connectivity', + : 'NanoStation 5AC ap name PPPoE link', }), 'context': , 'entity_id': 'binary_sensor.nanostation_5ac_ap_name_pppoe_link', diff --git a/tests/components/airos/snapshots/test_sensor.ambr b/tests/components/airos/snapshots/test_sensor.ambr index 031fc3d0928..1e8e64dc105 100644 --- a/tests/components/airos/snapshots/test_sensor.ambr +++ b/tests/components/airos/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_antenna_gain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'NanoStation 5AC ap name Antenna gain', + : 'signal_strength', + : 'NanoStation 5AC ap name Antenna gain', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_antenna_gain', @@ -99,9 +99,9 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_cpu_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NanoStation 5AC ap name CPU load', + : 'NanoStation 5AC ap name CPU load', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_cpu_load', @@ -159,10 +159,10 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_download_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'NanoStation 5AC ap name Download capacity', + : 'data_rate', + : 'NanoStation 5AC ap name Download capacity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_download_capacity', @@ -217,8 +217,8 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_network_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NanoStation 5AC ap name Network role', + : 'enum', + : 'NanoStation 5AC ap name Network role', : list([ 'bridge', 'router', @@ -280,10 +280,10 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_throughput_receive_actual-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'NanoStation 5AC ap name Throughput receive (actual)', + : 'data_rate', + : 'NanoStation 5AC ap name Throughput receive (actual)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_throughput_receive_actual', @@ -341,10 +341,10 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_throughput_transmit_actual-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'NanoStation 5AC ap name Throughput transmit (actual)', + : 'data_rate', + : 'NanoStation 5AC ap name Throughput transmit (actual)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_throughput_transmit_actual', @@ -402,10 +402,10 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_upload_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'NanoStation 5AC ap name Upload capacity', + : 'data_rate', + : 'NanoStation 5AC ap name Upload capacity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_upload_capacity', @@ -461,9 +461,9 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'NanoStation 5AC ap name Uptime', - 'unit_of_measurement': , + : 'duration', + : 'NanoStation 5AC ap name Uptime', + : , }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_uptime', @@ -519,9 +519,9 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_wireless_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'NanoStation 5AC ap name Wireless distance', - 'unit_of_measurement': , + : 'distance', + : 'NanoStation 5AC ap name Wireless distance', + : , }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_wireless_distance', @@ -576,10 +576,10 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_wireless_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'NanoStation 5AC ap name Wireless frequency', + : 'frequency', + : 'NanoStation 5AC ap name Wireless frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_wireless_frequency', @@ -634,8 +634,8 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_wireless_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NanoStation 5AC ap name Wireless mode', + : 'enum', + : 'NanoStation 5AC ap name Wireless mode', : list([ 'point_to_point', 'point_to_multipoint', @@ -694,8 +694,8 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_wireless_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NanoStation 5AC ap name Wireless role', + : 'enum', + : 'NanoStation 5AC ap name Wireless role', : list([ 'station', 'access_point', @@ -749,7 +749,7 @@ # name: test_all_entities[sensor.nanostation_5ac_ap_name_wireless_ssid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NanoStation 5AC ap name Wireless SSID', + : 'NanoStation 5AC ap name Wireless SSID', }), 'context': , 'entity_id': 'sensor.nanostation_5ac_ap_name_wireless_ssid', diff --git a/tests/components/airpatrol/snapshots/test_climate.ambr b/tests/components/airpatrol/snapshots/test_climate.ambr index d3b4f2baa9a..3a96f6e6a62 100644 --- a/tests/components/airpatrol/snapshots/test_climate.ambr +++ b/tests/components/airpatrol/snapshots/test_climate.ambr @@ -61,7 +61,7 @@ 'high', 'auto', ]), - 'friendly_name': 'living room', + : 'living room', : list([ , , @@ -69,7 +69,7 @@ ]), : 30.0, : 16.0, - 'supported_features': , + : , : list([ 'on', 'off', @@ -148,7 +148,7 @@ 'high', 'auto', ]), - 'friendly_name': 'living room', + : 'living room', : list([ , , @@ -156,7 +156,7 @@ ]), : 30.0, : 16.0, - 'supported_features': , + : , : 'off', : list([ 'on', diff --git a/tests/components/airpatrol/snapshots/test_sensor.ambr b/tests/components/airpatrol/snapshots/test_sensor.ambr index 69057f94f6f..9eea8c6fc87 100644 --- a/tests/components/airpatrol/snapshots/test_sensor.ambr +++ b/tests/components/airpatrol/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_with_climate_data[sensor.living_room_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'living room Humidity', + : 'humidity', + : 'living room Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_humidity', @@ -99,10 +99,10 @@ # name: test_sensor_with_climate_data[sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'living room Temperature', + : 'temperature', + : 'living room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', diff --git a/tests/components/airthings/snapshots/test_sensor.ambr b/tests/components/airthings/snapshots/test_sensor.ambr index 844f1f1306d..c832c28a442 100644 --- a/tests/components/airthings/snapshots/test_sensor.ambr +++ b/tests/components/airthings/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Living Room Atmospheric pressure', + : 'atmospheric_pressure', + : 'Living Room Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_atmospheric_pressure', @@ -105,10 +105,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Living Room Battery', + : 'battery', + : 'Living Room Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_battery', @@ -163,10 +163,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Living Room Carbon dioxide', + : 'carbon_dioxide', + : 'Living Room Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.living_room_carbon_dioxide', @@ -221,10 +221,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Living Room Humidity', + : 'humidity', + : 'Living Room Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_humidity', @@ -279,10 +279,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Living Room PM1', + : 'pm1', + : 'Living Room PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.living_room_pm1', @@ -337,10 +337,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Living Room PM2.5', + : 'pm25', + : 'Living Room PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.living_room_pm2_5', @@ -395,9 +395,9 @@ # name: test_all_device_types[view_plus][sensor.living_room_radon-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Radon', + : 'Living Room Radon', : , - 'unit_of_measurement': 'Bq/m³', + : 'Bq/m³', }), 'context': , 'entity_id': 'sensor.living_room_radon', @@ -452,10 +452,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living Room Temperature', + : 'temperature', + : 'Living Room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', @@ -510,10 +510,10 @@ # name: test_all_device_types[view_plus][sensor.living_room_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Living Room Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Living Room Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.living_room_volatile_organic_compounds_parts', @@ -571,10 +571,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Bedroom Atmospheric pressure', + : 'atmospheric_pressure', + : 'Bedroom Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bedroom_atmospheric_pressure', @@ -629,10 +629,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bedroom Battery', + : 'battery', + : 'Bedroom Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bedroom_battery', @@ -687,10 +687,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Bedroom Carbon dioxide', + : 'carbon_dioxide', + : 'Bedroom Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.bedroom_carbon_dioxide', @@ -745,10 +745,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Bedroom Humidity', + : 'humidity', + : 'Bedroom Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bedroom_humidity', @@ -803,10 +803,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Bedroom Illuminance', + : 'illuminance', + : 'Bedroom Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.bedroom_illuminance', @@ -861,10 +861,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_sound_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'sound_pressure', - 'friendly_name': 'Bedroom Sound pressure', + : 'sound_pressure', + : 'Bedroom Sound pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bedroom_sound_pressure', @@ -919,10 +919,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Bedroom Temperature', + : 'temperature', + : 'Bedroom Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bedroom_temperature', @@ -977,10 +977,10 @@ # name: test_all_device_types[wave_enhance][sensor.bedroom_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Bedroom Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Bedroom Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.bedroom_volatile_organic_compounds_parts', @@ -1038,10 +1038,10 @@ # name: test_all_device_types[wave_plus][sensor.office_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Office Atmospheric pressure', + : 'atmospheric_pressure', + : 'Office Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.office_atmospheric_pressure', @@ -1096,10 +1096,10 @@ # name: test_all_device_types[wave_plus][sensor.office_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Office Battery', + : 'battery', + : 'Office Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.office_battery', @@ -1154,10 +1154,10 @@ # name: test_all_device_types[wave_plus][sensor.office_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Office Carbon dioxide', + : 'carbon_dioxide', + : 'Office Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.office_carbon_dioxide', @@ -1212,10 +1212,10 @@ # name: test_all_device_types[wave_plus][sensor.office_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Office Humidity', + : 'humidity', + : 'Office Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.office_humidity', @@ -1270,9 +1270,9 @@ # name: test_all_device_types[wave_plus][sensor.office_radon-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Radon', + : 'Office Radon', : , - 'unit_of_measurement': 'Bq/m³', + : 'Bq/m³', }), 'context': , 'entity_id': 'sensor.office_radon', @@ -1327,10 +1327,10 @@ # name: test_all_device_types[wave_plus][sensor.office_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Office Temperature', + : 'temperature', + : 'Office Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.office_temperature', @@ -1385,10 +1385,10 @@ # name: test_all_device_types[wave_plus][sensor.office_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Office Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Office Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.office_volatile_organic_compounds_parts', diff --git a/tests/components/airtouch5/snapshots/test_cover.ambr b/tests/components/airtouch5/snapshots/test_cover.ambr index d7f4d252165..34f8c383fbd 100644 --- a/tests/components/airtouch5/snapshots/test_cover.ambr +++ b/tests/components/airtouch5/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 90, - 'device_class': 'damper', - 'friendly_name': 'Zone 1 Damper', + : 'damper', + : 'Zone 1 Damper', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.zone_1_damper', @@ -94,10 +94,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'damper', - 'friendly_name': 'Zone 2 Damper', + : 'damper', + : 'Zone 2 Damper', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.zone_2_damper', diff --git a/tests/components/airzone/snapshots/test_sensor.ambr b/tests/components/airzone/snapshots/test_sensor.ambr index 8c6c5716313..388a1c279d8 100644 --- a/tests/components/airzone/snapshots/test_sensor.ambr +++ b/tests/components/airzone/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_airzone_create_sensors[sensor.airzone_2_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Airzone 2:1 Humidity', + : 'humidity', + : 'Airzone 2:1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.airzone_2_1_humidity', @@ -99,10 +99,10 @@ # name: test_airzone_create_sensors[sensor.airzone_2_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Airzone 2:1 Temperature', + : 'temperature', + : 'Airzone 2:1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airzone_2_1_temperature', @@ -157,10 +157,10 @@ # name: test_airzone_create_sensors[sensor.airzone_dhw_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Airzone DHW Temperature', + : 'temperature', + : 'Airzone DHW Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airzone_dhw_temperature', @@ -212,10 +212,10 @@ # name: test_airzone_create_sensors[sensor.airzone_webserver_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Airzone WebServer RSSI', + : 'signal_strength', + : 'Airzone WebServer RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.airzone_webserver_rssi', @@ -270,10 +270,10 @@ # name: test_airzone_create_sensors[sensor.aux_heat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Aux Heat Temperature', + : 'temperature', + : 'Aux Heat Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aux_heat_temperature', @@ -325,10 +325,10 @@ # name: test_airzone_create_sensors[sensor.despacho_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Despacho Battery', + : 'battery', + : 'Despacho Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.despacho_battery', @@ -380,10 +380,10 @@ # name: test_airzone_create_sensors[sensor.despacho_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Despacho Humidity', + : 'humidity', + : 'Despacho Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.despacho_humidity', @@ -435,9 +435,9 @@ # name: test_airzone_create_sensors[sensor.despacho_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Despacho Signal strength', + : 'Despacho Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.despacho_signal_strength', @@ -492,10 +492,10 @@ # name: test_airzone_create_sensors[sensor.despacho_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Despacho Temperature', + : 'temperature', + : 'Despacho Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.despacho_temperature', @@ -550,10 +550,10 @@ # name: test_airzone_create_sensors[sensor.dkn_plus_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'DKN Plus Temperature', + : 'temperature', + : 'DKN Plus Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dkn_plus_temperature', @@ -605,10 +605,10 @@ # name: test_airzone_create_sensors[sensor.dorm_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Dorm #1 Battery', + : 'battery', + : 'Dorm #1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_1_battery', @@ -660,10 +660,10 @@ # name: test_airzone_create_sensors[sensor.dorm_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Dorm #1 Humidity', + : 'humidity', + : 'Dorm #1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_1_humidity', @@ -715,9 +715,9 @@ # name: test_airzone_create_sensors[sensor.dorm_1_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dorm #1 Signal strength', + : 'Dorm #1 Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_1_signal_strength', @@ -772,10 +772,10 @@ # name: test_airzone_create_sensors[sensor.dorm_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dorm #1 Temperature', + : 'temperature', + : 'Dorm #1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dorm_1_temperature', @@ -827,10 +827,10 @@ # name: test_airzone_create_sensors[sensor.dorm_2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Dorm #2 Battery', + : 'battery', + : 'Dorm #2 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_2_battery', @@ -882,10 +882,10 @@ # name: test_airzone_create_sensors[sensor.dorm_2_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Dorm #2 Humidity', + : 'humidity', + : 'Dorm #2 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_2_humidity', @@ -937,9 +937,9 @@ # name: test_airzone_create_sensors[sensor.dorm_2_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dorm #2 Signal strength', + : 'Dorm #2 Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_2_signal_strength', @@ -994,10 +994,10 @@ # name: test_airzone_create_sensors[sensor.dorm_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dorm #2 Temperature', + : 'temperature', + : 'Dorm #2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dorm_2_temperature', @@ -1049,10 +1049,10 @@ # name: test_airzone_create_sensors[sensor.dorm_ppal_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Dorm Ppal Battery', + : 'battery', + : 'Dorm Ppal Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_ppal_battery', @@ -1104,10 +1104,10 @@ # name: test_airzone_create_sensors[sensor.dorm_ppal_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Dorm Ppal Humidity', + : 'humidity', + : 'Dorm Ppal Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_ppal_humidity', @@ -1159,9 +1159,9 @@ # name: test_airzone_create_sensors[sensor.dorm_ppal_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dorm Ppal Signal strength', + : 'Dorm Ppal Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dorm_ppal_signal_strength', @@ -1216,10 +1216,10 @@ # name: test_airzone_create_sensors[sensor.dorm_ppal_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dorm Ppal Temperature', + : 'temperature', + : 'Dorm Ppal Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dorm_ppal_temperature', @@ -1271,10 +1271,10 @@ # name: test_airzone_create_sensors[sensor.salon_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Salon Humidity', + : 'humidity', + : 'Salon Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.salon_humidity', @@ -1329,10 +1329,10 @@ # name: test_airzone_create_sensors[sensor.salon_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Salon Temperature', + : 'temperature', + : 'Salon Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.salon_temperature', diff --git a/tests/components/aladdin_connect/snapshots/test_cover.ambr b/tests/components/aladdin_connect/snapshots/test_cover.ambr index 1745521dd95..e2a6271c530 100644 --- a/tests/components/aladdin_connect/snapshots/test_cover.ambr +++ b/tests/components/aladdin_connect/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_cover_entities[cover.test_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Test Door', + : 'garage', + : 'Test Door', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_door', diff --git a/tests/components/aladdin_connect/snapshots/test_sensor.ambr b/tests/components/aladdin_connect/snapshots/test_sensor.ambr index 42c1f4a1856..942cc8f1338 100644 --- a/tests/components/aladdin_connect/snapshots/test_sensor.ambr +++ b/tests/components/aladdin_connect/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_entities[sensor.test_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Door Battery', + : 'battery', + : 'Test Door Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_door_battery', diff --git a/tests/components/alexa_devices/snapshots/test_binary_sensor.ambr b/tests/components/alexa_devices/snapshots/test_binary_sensor.ambr index 70342e2b3d4..3b523ea1413 100644 --- a/tests/components/alexa_devices/snapshots/test_binary_sensor.ambr +++ b/tests/components/alexa_devices/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.echo_test_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Echo Test Connectivity', + : 'connectivity', + : 'Echo Test Connectivity', }), 'context': , 'entity_id': 'binary_sensor.echo_test_connectivity', diff --git a/tests/components/alexa_devices/snapshots/test_button.ambr b/tests/components/alexa_devices/snapshots/test_button.ambr index ce237adb111..b2dbec7a96f 100644 --- a/tests/components/alexa_devices/snapshots/test_button.ambr +++ b/tests/components/alexa_devices/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.fake_email_gmail_com_test_routine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_email@gmail.com Test Routine', + : 'fake_email@gmail.com Test Routine', }), 'context': , 'entity_id': 'button.fake_email_gmail_com_test_routine', diff --git a/tests/components/alexa_devices/snapshots/test_event.ambr b/tests/components/alexa_devices/snapshots/test_event.ambr index 1dab93b2314..03ef3950377 100644 --- a/tests/components/alexa_devices/snapshots/test_event.ambr +++ b/tests/components/alexa_devices/snapshots/test_event.ambr @@ -47,7 +47,7 @@ : list([ 'triggered', ]), - 'friendly_name': 'Echo Test Voice event', + : 'Echo Test Voice event', }), 'context': , 'entity_id': 'event.echo_test_voice_event', @@ -63,7 +63,7 @@ : list([ 'triggered', ]), - 'friendly_name': 'Echo Test Voice event', + : 'Echo Test Voice event', 'intent': 'PlayMusicIntent', 'voice_command': 'Play some music', 'voice_reply': 'Echo Test', diff --git a/tests/components/alexa_devices/snapshots/test_media_player.ambr b/tests/components/alexa_devices/snapshots/test_media_player.ambr index 8e0d66c675f..7a1baa23be7 100644 --- a/tests/components/alexa_devices/snapshots/test_media_player.ambr +++ b/tests/components/alexa_devices/snapshots/test_media_player.ambr @@ -40,9 +40,9 @@ # name: test_all_entities[media_player.echo_test-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Echo Test', - 'supported_features': , + : 'speaker', + : 'Echo Test', + : , }), 'context': , 'entity_id': 'media_player.echo_test', diff --git a/tests/components/alexa_devices/snapshots/test_notify.ambr b/tests/components/alexa_devices/snapshots/test_notify.ambr index 2bd2aeec67f..f9ecef0895b 100644 --- a/tests/components/alexa_devices/snapshots/test_notify.ambr +++ b/tests/components/alexa_devices/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[notify.echo_test_announce-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Echo Test Announce', - 'supported_features': , + : 'Echo Test Announce', + : , }), 'context': , 'entity_id': 'notify.echo_test_announce', @@ -90,8 +90,8 @@ # name: test_all_entities[notify.echo_test_speak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Echo Test Speak', - 'supported_features': , + : 'Echo Test Speak', + : , }), 'context': , 'entity_id': 'notify.echo_test_speak', diff --git a/tests/components/alexa_devices/snapshots/test_select.ambr b/tests/components/alexa_devices/snapshots/test_select.ambr index e95b16f712a..872316174f0 100644 --- a/tests/components/alexa_devices/snapshots/test_select.ambr +++ b/tests/components/alexa_devices/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_all_entities[select.echo_test_drop_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Echo Test Drop In', + : 'Echo Test Drop In', : list([ 'all', 'home', diff --git a/tests/components/alexa_devices/snapshots/test_sensor.ambr b/tests/components/alexa_devices/snapshots/test_sensor.ambr index b06bf05490e..8dc5c2c2eb3 100644 --- a/tests/components/alexa_devices/snapshots/test_sensor.ambr +++ b/tests/components/alexa_devices/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[sensor.echo_test_next_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Echo Test Next alarm', + : 'timestamp', + : 'Echo Test Next alarm', }), 'context': , 'entity_id': 'sensor.echo_test_next_alarm', @@ -90,8 +90,8 @@ # name: test_all_entities[sensor.echo_test_next_reminder-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Echo Test Next reminder', + : 'timestamp', + : 'Echo Test Next reminder', }), 'context': , 'entity_id': 'sensor.echo_test_next_reminder', @@ -141,8 +141,8 @@ # name: test_all_entities[sensor.echo_test_next_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Echo Test Next timer', + : 'timestamp', + : 'Echo Test Next timer', }), 'context': , 'entity_id': 'sensor.echo_test_next_timer', @@ -197,10 +197,10 @@ # name: test_all_entities[sensor.echo_test_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Echo Test Temperature', + : 'temperature', + : 'Echo Test Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.echo_test_temperature', diff --git a/tests/components/alexa_devices/snapshots/test_switch.ambr b/tests/components/alexa_devices/snapshots/test_switch.ambr index 3071952a153..a618d675719 100644 --- a/tests/components/alexa_devices/snapshots/test_switch.ambr +++ b/tests/components/alexa_devices/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.echo_test_announcements-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Echo Test Announcements', + : 'Echo Test Announcements', }), 'context': , 'entity_id': 'switch.echo_test_announcements', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.echo_test_communications-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Echo Test Communications', + : 'Echo Test Communications', }), 'context': , 'entity_id': 'switch.echo_test_communications', @@ -139,7 +139,7 @@ # name: test_all_entities[switch.echo_test_do_not_disturb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Echo Test Do not disturb', + : 'Echo Test Do not disturb', }), 'context': , 'entity_id': 'switch.echo_test_do_not_disturb', diff --git a/tests/components/alexa_devices/snapshots/test_todo.ambr b/tests/components/alexa_devices/snapshots/test_todo.ambr index ae849cc2194..20c33242765 100644 --- a/tests/components/alexa_devices/snapshots/test_todo.ambr +++ b/tests/components/alexa_devices/snapshots/test_todo.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[todo.fake_email_gmail_com_concerts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_email@gmail.com Concerts', - 'supported_features': , + : 'fake_email@gmail.com Concerts', + : , }), 'context': , 'entity_id': 'todo.fake_email_gmail_com_concerts', @@ -90,8 +90,8 @@ # name: test_all_entities[todo.fake_email_gmail_com_shopping_list-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_email@gmail.com Shopping list', - 'supported_features': , + : 'fake_email@gmail.com Shopping list', + : , }), 'context': , 'entity_id': 'todo.fake_email_gmail_com_shopping_list', @@ -141,8 +141,8 @@ # name: test_all_entities[todo.fake_email_gmail_com_to_do_list-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_email@gmail.com To-do list', - 'supported_features': , + : 'fake_email@gmail.com To-do list', + : , }), 'context': , 'entity_id': 'todo.fake_email_gmail_com_to_do_list', diff --git a/tests/components/altruist/snapshots/test_sensor.ambr b/tests/components/altruist/snapshots/test_sensor.ambr index 493133885b1..37c185087ab 100644 --- a/tests/components/altruist/snapshots/test_sensor.ambr +++ b/tests/components/altruist/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.5366960e8b18_average_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'sound_pressure', - 'friendly_name': '5366960e8b18 Average noise', + : 'sound_pressure', + : '5366960e8b18 Average noise', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.5366960e8b18_average_noise', @@ -102,10 +102,10 @@ # name: test_all_entities[sensor.5366960e8b18_bme280_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': '5366960e8b18 BME280 humidity', + : 'humidity', + : '5366960e8b18 BME280 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.5366960e8b18_bme280_humidity', @@ -163,10 +163,10 @@ # name: test_all_entities[sensor.5366960e8b18_bme280_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': '5366960e8b18 BME280 pressure', + : 'pressure', + : '5366960e8b18 BME280 pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.5366960e8b18_bme280_pressure', @@ -221,10 +221,10 @@ # name: test_all_entities[sensor.5366960e8b18_bme280_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '5366960e8b18 BME280 temperature', + : 'temperature', + : '5366960e8b18 BME280 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.5366960e8b18_bme280_temperature', @@ -279,10 +279,10 @@ # name: test_all_entities[sensor.5366960e8b18_maximum_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'sound_pressure', - 'friendly_name': '5366960e8b18 Maximum noise', + : 'sound_pressure', + : '5366960e8b18 Maximum noise', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.5366960e8b18_maximum_noise', @@ -337,10 +337,10 @@ # name: test_all_entities[sensor.5366960e8b18_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': '5366960e8b18 PM10', + : 'pm10', + : '5366960e8b18 PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.5366960e8b18_pm10', @@ -395,10 +395,10 @@ # name: test_all_entities[sensor.5366960e8b18_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': '5366960e8b18 PM2.5', + : 'pm25', + : '5366960e8b18 PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.5366960e8b18_pm2_5', @@ -453,9 +453,9 @@ # name: test_all_entities[sensor.5366960e8b18_radiation_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '5366960e8b18 Radiation level', + : '5366960e8b18 Radiation level', : , - 'unit_of_measurement': 'μR/h', + : 'μR/h', }), 'context': , 'entity_id': 'sensor.5366960e8b18_radiation_level', @@ -510,10 +510,10 @@ # name: test_all_entities[sensor.5366960e8b18_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': '5366960e8b18 Signal strength', + : 'signal_strength', + : '5366960e8b18 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.5366960e8b18_signal_strength', diff --git a/tests/components/ambient_network/snapshots/test_sensor.ambr b/tests/components/ambient_network/snapshots/test_sensor.ambr index dca5bff8b51..136fdc71288 100644 --- a/tests/components/ambient_network/snapshots/test_sensor.ambr +++ b/tests/components/ambient_network/snapshots/test_sensor.ambr @@ -47,12 +47,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_absolute_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'pressure', - 'friendly_name': 'Station A Absolute pressure', + : 'Data provided by ambientnetwork.net', + : 'pressure', + : 'Station A Absolute pressure', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_absolute_pressure', @@ -110,12 +110,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_daily_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station A Daily rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station A Daily rain', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_daily_rain', @@ -170,12 +170,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station A Dew point', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station A Dew point', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_dew_point', @@ -230,12 +230,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_feels_like-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station A Feels like', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station A Feels like', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_feels_like', @@ -293,12 +293,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_hourly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'Station A Hourly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation_intensity', + : 'Station A Hourly rain', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_hourly_rain', @@ -353,12 +353,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'humidity', - 'friendly_name': 'Station A Humidity', + : 'Data provided by ambientnetwork.net', + : 'humidity', + : 'Station A Humidity', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.station_a_humidity', @@ -413,12 +413,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_irradiance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'irradiance', - 'friendly_name': 'Station A Irradiance', + : 'Data provided by ambientnetwork.net', + : 'irradiance', + : 'Station A Irradiance', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_irradiance', @@ -468,9 +468,9 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_last_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'timestamp', - 'friendly_name': 'Station A Last rain', + : 'Data provided by ambientnetwork.net', + : 'timestamp', + : 'Station A Last rain', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), }), 'context': , @@ -529,12 +529,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_max_daily_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station A Max daily gust', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station A Max daily gust', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_max_daily_gust', @@ -592,12 +592,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_monthly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station A Monthly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station A Monthly rain', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_monthly_rain', @@ -655,12 +655,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_relative_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'pressure', - 'friendly_name': 'Station A Relative pressure', + : 'Data provided by ambientnetwork.net', + : 'pressure', + : 'Station A Relative pressure', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_relative_pressure', @@ -715,12 +715,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station A Temperature', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station A Temperature', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_temperature', @@ -775,11 +775,11 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'friendly_name': 'Station A UV index', + : 'Data provided by ambientnetwork.net', + : 'Station A UV index', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': 'index', + : 'index', }), 'context': , 'entity_id': 'sensor.station_a_uv_index', @@ -837,12 +837,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_weekly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station A Weekly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station A Weekly rain', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_weekly_rain', @@ -897,12 +897,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_direction', - 'friendly_name': 'Station A Wind direction', + : 'Data provided by ambientnetwork.net', + : 'wind_direction', + : 'Station A Wind direction', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.station_a_wind_direction', @@ -960,12 +960,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_wind_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station A Wind gust', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station A Wind gust', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_wind_gust', @@ -1023,12 +1023,12 @@ # name: test_sensors[AA:AA:AA:AA:AA:AA][sensor.station_a_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station A Wind speed', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station A Wind speed', 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_a_wind_speed', @@ -1086,12 +1086,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_absolute_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'pressure', - 'friendly_name': 'Station C Absolute pressure', + : 'Data provided by ambientnetwork.net', + : 'pressure', + : 'Station C Absolute pressure', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_absolute_pressure', @@ -1149,12 +1149,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_daily_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station C Daily rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station C Daily rain', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_daily_rain', @@ -1209,12 +1209,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station C Dew point', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station C Dew point', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_dew_point', @@ -1269,12 +1269,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_feels_like-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station C Feels like', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station C Feels like', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_feels_like', @@ -1332,12 +1332,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_hourly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'Station C Hourly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation_intensity', + : 'Station C Hourly rain', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_hourly_rain', @@ -1392,12 +1392,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'humidity', - 'friendly_name': 'Station C Humidity', + : 'Data provided by ambientnetwork.net', + : 'humidity', + : 'Station C Humidity', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.station_c_humidity', @@ -1452,12 +1452,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_irradiance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'irradiance', - 'friendly_name': 'Station C Irradiance', + : 'Data provided by ambientnetwork.net', + : 'irradiance', + : 'Station C Irradiance', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_irradiance', @@ -1507,9 +1507,9 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_last_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'timestamp', - 'friendly_name': 'Station C Last rain', + : 'Data provided by ambientnetwork.net', + : 'timestamp', + : 'Station C Last rain', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), }), 'context': , @@ -1568,12 +1568,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_max_daily_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station C Max daily gust', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station C Max daily gust', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_max_daily_gust', @@ -1631,12 +1631,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_monthly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station C Monthly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station C Monthly rain', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_monthly_rain', @@ -1694,12 +1694,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_relative_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'pressure', - 'friendly_name': 'Station C Relative pressure', + : 'Data provided by ambientnetwork.net', + : 'pressure', + : 'Station C Relative pressure', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_relative_pressure', @@ -1754,12 +1754,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station C Temperature', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station C Temperature', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_temperature', @@ -1814,11 +1814,11 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'friendly_name': 'Station C UV index', + : 'Data provided by ambientnetwork.net', + : 'Station C UV index', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': 'index', + : 'index', }), 'context': , 'entity_id': 'sensor.station_c_uv_index', @@ -1876,12 +1876,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_weekly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station C Weekly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station C Weekly rain', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_weekly_rain', @@ -1936,12 +1936,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_direction', - 'friendly_name': 'Station C Wind direction', + : 'Data provided by ambientnetwork.net', + : 'wind_direction', + : 'Station C Wind direction', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.station_c_wind_direction', @@ -1999,12 +1999,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_wind_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station C Wind gust', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station C Wind gust', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_wind_gust', @@ -2062,12 +2062,12 @@ # name: test_sensors[CC:CC:CC:CC:CC:CC][sensor.station_c_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station C Wind speed', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station C Wind speed', 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_c_wind_speed', @@ -2125,11 +2125,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_absolute_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'pressure', - 'friendly_name': 'Station D Absolute pressure', + : 'Data provided by ambientnetwork.net', + : 'pressure', + : 'Station D Absolute pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_absolute_pressure', @@ -2187,11 +2187,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_daily_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station D Daily rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station D Daily rain', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_daily_rain', @@ -2246,11 +2246,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station D Dew point', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station D Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_dew_point', @@ -2305,11 +2305,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_feels_like-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station D Feels like', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station D Feels like', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_feels_like', @@ -2367,11 +2367,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_hourly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'Station D Hourly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation_intensity', + : 'Station D Hourly rain', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_hourly_rain', @@ -2426,11 +2426,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'humidity', - 'friendly_name': 'Station D Humidity', + : 'Data provided by ambientnetwork.net', + : 'humidity', + : 'Station D Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.station_d_humidity', @@ -2485,11 +2485,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_irradiance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'irradiance', - 'friendly_name': 'Station D Irradiance', + : 'Data provided by ambientnetwork.net', + : 'irradiance', + : 'Station D Irradiance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_irradiance', @@ -2547,11 +2547,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_max_daily_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station D Max daily gust', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station D Max daily gust', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_max_daily_gust', @@ -2609,11 +2609,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_monthly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station D Monthly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station D Monthly rain', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_monthly_rain', @@ -2671,11 +2671,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_relative_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'pressure', - 'friendly_name': 'Station D Relative pressure', + : 'Data provided by ambientnetwork.net', + : 'pressure', + : 'Station D Relative pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_relative_pressure', @@ -2730,11 +2730,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'temperature', - 'friendly_name': 'Station D Temperature', + : 'Data provided by ambientnetwork.net', + : 'temperature', + : 'Station D Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_temperature', @@ -2789,10 +2789,10 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'friendly_name': 'Station D UV index', + : 'Data provided by ambientnetwork.net', + : 'Station D UV index', : , - 'unit_of_measurement': 'index', + : 'index', }), 'context': , 'entity_id': 'sensor.station_d_uv_index', @@ -2850,11 +2850,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_weekly_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'precipitation', - 'friendly_name': 'Station D Weekly rain', + : 'Data provided by ambientnetwork.net', + : 'precipitation', + : 'Station D Weekly rain', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_weekly_rain', @@ -2909,11 +2909,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_direction', - 'friendly_name': 'Station D Wind direction', + : 'Data provided by ambientnetwork.net', + : 'wind_direction', + : 'Station D Wind direction', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.station_d_wind_direction', @@ -2971,11 +2971,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_wind_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station D Wind gust', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station D Wind gust', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_wind_gust', @@ -3033,11 +3033,11 @@ # name: test_sensors[DD:DD:DD:DD:DD:DD][sensor.station_d_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by ambientnetwork.net', - 'device_class': 'wind_speed', - 'friendly_name': 'Station D Wind speed', + : 'Data provided by ambientnetwork.net', + : 'wind_speed', + : 'Station D Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.station_d_wind_speed', diff --git a/tests/components/analytics_insights/snapshots/test_sensor.ambr b/tests/components/analytics_insights/snapshots/test_sensor.ambr index 37a6eb07ada..3bfca13272a 100644 --- a/tests/components/analytics_insights/snapshots/test_sensor.ambr +++ b/tests/components/analytics_insights/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_all_entities[sensor.homeassistant_analytics_core_samba-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeassistant Analytics core_samba', + : 'Homeassistant Analytics core_samba', : , - 'unit_of_measurement': 'active installations', + : 'active installations', }), 'context': , 'entity_id': 'sensor.homeassistant_analytics_core_samba', @@ -95,9 +95,9 @@ # name: test_all_entities[sensor.homeassistant_analytics_hacs_custom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeassistant Analytics hacs (custom)', + : 'Homeassistant Analytics hacs (custom)', : , - 'unit_of_measurement': 'active installations', + : 'active installations', }), 'context': , 'entity_id': 'sensor.homeassistant_analytics_hacs_custom', @@ -149,9 +149,9 @@ # name: test_all_entities[sensor.homeassistant_analytics_myq-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeassistant Analytics myq', + : 'Homeassistant Analytics myq', : , - 'unit_of_measurement': 'active installations', + : 'active installations', }), 'context': , 'entity_id': 'sensor.homeassistant_analytics_myq', @@ -203,9 +203,9 @@ # name: test_all_entities[sensor.homeassistant_analytics_spotify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeassistant Analytics spotify', + : 'Homeassistant Analytics spotify', : , - 'unit_of_measurement': 'active installations', + : 'active installations', }), 'context': , 'entity_id': 'sensor.homeassistant_analytics_spotify', @@ -257,9 +257,9 @@ # name: test_all_entities[sensor.homeassistant_analytics_total_active_installations-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeassistant Analytics Total active installations', + : 'Homeassistant Analytics Total active installations', : , - 'unit_of_measurement': 'active installations', + : 'active installations', }), 'context': , 'entity_id': 'sensor.homeassistant_analytics_total_active_installations', @@ -311,9 +311,9 @@ # name: test_all_entities[sensor.homeassistant_analytics_total_reported_integrations-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeassistant Analytics Total reported integrations', + : 'Homeassistant Analytics Total reported integrations', : , - 'unit_of_measurement': 'active installations', + : 'active installations', }), 'context': , 'entity_id': 'sensor.homeassistant_analytics_total_reported_integrations', @@ -365,9 +365,9 @@ # name: test_all_entities[sensor.homeassistant_analytics_youtube-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeassistant Analytics YouTube', + : 'Homeassistant Analytics YouTube', : , - 'unit_of_measurement': 'active installations', + : 'active installations', }), 'context': , 'entity_id': 'sensor.homeassistant_analytics_youtube', diff --git a/tests/components/anglian_water/snapshots/test_sensor.ambr b/tests/components/anglian_water/snapshots/test_sensor.ambr index 4321cc69b64..a275dc5eae0 100644 --- a/tests/components/anglian_water/snapshots/test_sensor.ambr +++ b/tests/components/anglian_water/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensor[sensor.testsn_last_meter_reading_processed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'TESTSN Last meter reading processed', + : 'timestamp', + : 'TESTSN Last meter reading processed', }), 'context': , 'entity_id': 'sensor.testsn_last_meter_reading_processed', @@ -95,10 +95,10 @@ # name: test_sensor[sensor.testsn_latest_reading-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'TESTSN Latest reading', + : 'water', + : 'TESTSN Latest reading', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.testsn_latest_reading', @@ -148,9 +148,9 @@ # name: test_sensor[sensor.testsn_yesterday_s_sewerage_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': "TESTSN Yesterday's sewerage cost", - 'unit_of_measurement': 'GBP', + : 'monetary', + : "TESTSN Yesterday's sewerage cost", + : 'GBP', }), 'context': , 'entity_id': 'sensor.testsn_yesterday_s_sewerage_cost', @@ -205,10 +205,10 @@ # name: test_sensor[sensor.testsn_yesterday_s_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': "TESTSN Yesterday's usage", + : 'water', + : "TESTSN Yesterday's usage", : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.testsn_yesterday_s_usage', @@ -258,9 +258,9 @@ # name: test_sensor[sensor.testsn_yesterday_s_water_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': "TESTSN Yesterday's water cost", - 'unit_of_measurement': 'GBP', + : 'monetary', + : "TESTSN Yesterday's water cost", + : 'GBP', }), 'context': , 'entity_id': 'sensor.testsn_yesterday_s_water_cost', diff --git a/tests/components/aosmith/snapshots/test_select.ambr b/tests/components/aosmith/snapshots/test_select.ambr index 128bde84a3d..cdecdd93569 100644 --- a/tests/components/aosmith/snapshots/test_select.ambr +++ b/tests/components/aosmith/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_state[True][select.basement_my_water_heater_hot_water_plus_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My water heater Hot Water+ level', + : 'My water heater Hot Water+ level', : list([ 'off', 'level1', diff --git a/tests/components/aosmith/snapshots/test_sensor.ambr b/tests/components/aosmith/snapshots/test_sensor.ambr index e15452ae0dc..a6a8618077e 100644 --- a/tests/components/aosmith/snapshots/test_sensor.ambr +++ b/tests/components/aosmith/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_state[sensor.basement_my_water_heater_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'My water heater Energy usage', + : 'energy', + : 'My water heater Energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.basement_my_water_heater_energy_usage', @@ -97,8 +97,8 @@ # name: test_state[sensor.basement_my_water_heater_hot_water_availability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My water heater Hot water availability', - 'unit_of_measurement': '%', + : 'My water heater Hot water availability', + : '%', }), 'context': , 'entity_id': 'sensor.basement_my_water_heater_hot_water_availability', diff --git a/tests/components/aosmith/snapshots/test_water_heater.ambr b/tests/components/aosmith/snapshots/test_water_heater.ambr index 0a1595e6da2..b09281eba84 100644 --- a/tests/components/aosmith/snapshots/test_water_heater.ambr +++ b/tests/components/aosmith/snapshots/test_water_heater.ambr @@ -44,10 +44,10 @@ 'attributes': ReadOnlyDict({ : 'off', : None, - 'friendly_name': 'My water heater', + : 'My water heater', : 130, : 95, - 'supported_features': , + : , : None, : None, : 130, @@ -110,7 +110,7 @@ 'attributes': ReadOnlyDict({ : 'off', : None, - 'friendly_name': 'My water heater', + : 'My water heater', : 130, : 95, : list([ @@ -119,7 +119,7 @@ 'heat_pump', ]), : 'heat_pump', - 'supported_features': , + : , : None, : None, : 130, diff --git a/tests/components/apcupsd/snapshots/test_binary_sensor.ambr b/tests/components/apcupsd/snapshots/test_binary_sensor.ambr index b87bb7170ba..f5f4543d4fd 100644 --- a/tests/components/apcupsd/snapshots/test_binary_sensor.ambr +++ b/tests/components/apcupsd/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor[binary_sensor.myups_online_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Online status', + : 'MyUPS Online status', }), 'context': , 'entity_id': 'binary_sensor.myups_online_status', diff --git a/tests/components/apcupsd/snapshots/test_sensor.ambr b/tests/components/apcupsd/snapshots/test_sensor.ambr index 055d76e6a7a..7459bebd178 100644 --- a/tests/components/apcupsd/snapshots/test_sensor.ambr +++ b/tests/components/apcupsd/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensor[sensor.myups_alarm_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Alarm delay', - 'unit_of_measurement': , + : 'MyUPS Alarm delay', + : , }), 'context': , 'entity_id': 'sensor.myups_alarm_delay', @@ -92,10 +92,10 @@ # name: test_sensor[sensor.myups_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'MyUPS Battery', + : 'battery', + : 'MyUPS Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.myups_battery', @@ -148,9 +148,9 @@ # name: test_sensor[sensor.myups_battery_nominal_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MyUPS Battery nominal voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MyUPS Battery nominal voltage', + : , }), 'context': , 'entity_id': 'sensor.myups_battery_nominal_voltage', @@ -200,7 +200,7 @@ # name: test_sensor[sensor.myups_battery_replaced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Battery replaced', + : 'MyUPS Battery replaced', }), 'context': , 'entity_id': 'sensor.myups_battery_replaced', @@ -250,8 +250,8 @@ # name: test_sensor[sensor.myups_battery_shutdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Battery shutdown', - 'unit_of_measurement': '%', + : 'MyUPS Battery shutdown', + : '%', }), 'context': , 'entity_id': 'sensor.myups_battery_shutdown', @@ -301,8 +301,8 @@ # name: test_sensor[sensor.myups_battery_timeout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Battery timeout', - 'unit_of_measurement': , + : 'MyUPS Battery timeout', + : , }), 'context': , 'entity_id': 'sensor.myups_battery_timeout', @@ -357,10 +357,10 @@ # name: test_sensor[sensor.myups_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MyUPS Battery voltage', + : 'voltage', + : 'MyUPS Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myups_battery_voltage', @@ -410,7 +410,7 @@ # name: test_sensor[sensor.myups_cable_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Cable type', + : 'MyUPS Cable type', }), 'context': , 'entity_id': 'sensor.myups_cable_type', @@ -460,7 +460,7 @@ # name: test_sensor[sensor.myups_driver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Driver', + : 'MyUPS Driver', }), 'context': , 'entity_id': 'sensor.myups_driver', @@ -515,10 +515,10 @@ # name: test_sensor[sensor.myups_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MyUPS Input voltage', + : 'voltage', + : 'MyUPS Input voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myups_input_voltage', @@ -573,10 +573,10 @@ # name: test_sensor[sensor.myups_internal_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'MyUPS Internal temperature', + : 'temperature', + : 'MyUPS Internal temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myups_internal_temperature', @@ -626,8 +626,8 @@ # name: test_sensor[sensor.myups_last_self_test-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'MyUPS Last self-test', + : 'timestamp', + : 'MyUPS Last self-test', }), 'context': , 'entity_id': 'sensor.myups_last_self_test', @@ -677,7 +677,7 @@ # name: test_sensor[sensor.myups_last_transfer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Last transfer', + : 'MyUPS Last transfer', }), 'context': , 'entity_id': 'sensor.myups_last_transfer', @@ -729,9 +729,9 @@ # name: test_sensor[sensor.myups_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Load', + : 'MyUPS Load', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.myups_load', @@ -781,8 +781,8 @@ # name: test_sensor[sensor.myups_master_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'MyUPS Master update', + : 'timestamp', + : 'MyUPS Master update', }), 'context': , 'entity_id': 'sensor.myups_master_update', @@ -832,7 +832,7 @@ # name: test_sensor[sensor.myups_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Mode', + : 'MyUPS Mode', }), 'context': , 'entity_id': 'sensor.myups_mode', @@ -885,9 +885,9 @@ # name: test_sensor[sensor.myups_nominal_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'MyUPS Nominal apparent power', - 'unit_of_measurement': , + : 'apparent_power', + : 'MyUPS Nominal apparent power', + : , }), 'context': , 'entity_id': 'sensor.myups_nominal_apparent_power', @@ -940,9 +940,9 @@ # name: test_sensor[sensor.myups_nominal_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MyUPS Nominal input voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MyUPS Nominal input voltage', + : , }), 'context': , 'entity_id': 'sensor.myups_nominal_input_voltage', @@ -995,9 +995,9 @@ # name: test_sensor[sensor.myups_nominal_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MyUPS Nominal output power', - 'unit_of_measurement': , + : 'power', + : 'MyUPS Nominal output power', + : , }), 'context': , 'entity_id': 'sensor.myups_nominal_output_power', @@ -1052,10 +1052,10 @@ # name: test_sensor[sensor.myups_output_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'MyUPS Output current', + : 'current', + : 'MyUPS Output current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myups_output_current', @@ -1105,8 +1105,8 @@ # name: test_sensor[sensor.myups_self_test_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Self-test interval', - 'unit_of_measurement': , + : 'MyUPS Self-test interval', + : , }), 'context': , 'entity_id': 'sensor.myups_self_test_interval', @@ -1156,7 +1156,7 @@ # name: test_sensor[sensor.myups_self_test_result-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Self-test result', + : 'MyUPS Self-test result', }), 'context': , 'entity_id': 'sensor.myups_self_test_result', @@ -1206,7 +1206,7 @@ # name: test_sensor[sensor.myups_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Sensitivity', + : 'MyUPS Sensitivity', }), 'context': , 'entity_id': 'sensor.myups_sensitivity', @@ -1256,8 +1256,8 @@ # name: test_sensor[sensor.myups_shutdown_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Shutdown time', - 'unit_of_measurement': , + : 'MyUPS Shutdown time', + : , }), 'context': , 'entity_id': 'sensor.myups_shutdown_time', @@ -1307,8 +1307,8 @@ # name: test_sensor[sensor.myups_startup_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'MyUPS Startup time', + : 'timestamp', + : 'MyUPS Startup time', }), 'context': , 'entity_id': 'sensor.myups_startup_time', @@ -1358,7 +1358,7 @@ # name: test_sensor[sensor.myups_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Status', + : 'MyUPS Status', }), 'context': , 'entity_id': 'sensor.myups_status', @@ -1408,7 +1408,7 @@ # name: test_sensor[sensor.myups_status_flag-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Status flag', + : 'MyUPS Status flag', }), 'context': , 'entity_id': 'sensor.myups_status_flag', @@ -1463,10 +1463,10 @@ # name: test_sensor[sensor.myups_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'MyUPS Time left', + : 'duration', + : 'MyUPS Time left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myups_time_left', @@ -1521,10 +1521,10 @@ # name: test_sensor[sensor.myups_time_on_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'MyUPS Time on battery', + : 'duration', + : 'MyUPS Time on battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myups_time_on_battery', @@ -1579,10 +1579,10 @@ # name: test_sensor[sensor.myups_total_time_on_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'MyUPS Total time on battery', + : 'duration', + : 'MyUPS Total time on battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myups_total_time_on_battery', @@ -1634,7 +1634,7 @@ # name: test_sensor[sensor.myups_transfer_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MyUPS Transfer count', + : 'MyUPS Transfer count', : , }), 'context': , @@ -1685,8 +1685,8 @@ # name: test_sensor[sensor.myups_transfer_from_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'MyUPS Transfer from battery', + : 'timestamp', + : 'MyUPS Transfer from battery', }), 'context': , 'entity_id': 'sensor.myups_transfer_from_battery', @@ -1739,9 +1739,9 @@ # name: test_sensor[sensor.myups_transfer_high-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MyUPS Transfer high', - 'unit_of_measurement': , + : 'voltage', + : 'MyUPS Transfer high', + : , }), 'context': , 'entity_id': 'sensor.myups_transfer_high', @@ -1794,9 +1794,9 @@ # name: test_sensor[sensor.myups_transfer_low-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MyUPS Transfer low', - 'unit_of_measurement': , + : 'voltage', + : 'MyUPS Transfer low', + : , }), 'context': , 'entity_id': 'sensor.myups_transfer_low', @@ -1846,8 +1846,8 @@ # name: test_sensor[sensor.myups_transfer_to_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'MyUPS Transfer to battery', + : 'timestamp', + : 'MyUPS Transfer to battery', }), 'context': , 'entity_id': 'sensor.myups_transfer_to_battery', diff --git a/tests/components/apsystems/snapshots/test_binary_sensor.ambr b/tests/components/apsystems/snapshots/test_binary_sensor.ambr index 1435e91efe1..aa478ce5632 100644 --- a/tests/components/apsystems/snapshots/test_binary_sensor.ambr +++ b/tests/components/apsystems/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.mock_title_dc_1_short_circuit_error_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title DC 1 short circuit error status', + : 'problem', + : 'Mock Title DC 1 short circuit error status', }), 'context': , 'entity_id': 'binary_sensor.mock_title_dc_1_short_circuit_error_status', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.mock_title_dc_2_short_circuit_error_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title DC 2 short circuit error status', + : 'problem', + : 'Mock Title DC 2 short circuit error status', }), 'context': , 'entity_id': 'binary_sensor.mock_title_dc_2_short_circuit_error_status', @@ -141,8 +141,8 @@ # name: test_all_entities[binary_sensor.mock_title_off_grid_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title Off-grid status', + : 'problem', + : 'Mock Title Off-grid status', }), 'context': , 'entity_id': 'binary_sensor.mock_title_off_grid_status', @@ -192,8 +192,8 @@ # name: test_all_entities[binary_sensor.mock_title_output_fault_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title Output fault status', + : 'problem', + : 'Mock Title Output fault status', }), 'context': , 'entity_id': 'binary_sensor.mock_title_output_fault_status', diff --git a/tests/components/apsystems/snapshots/test_number.ambr b/tests/components/apsystems/snapshots/test_number.ambr index d02ad923c2e..b8989f24c8b 100644 --- a/tests/components/apsystems/snapshots/test_number.ambr +++ b/tests/components/apsystems/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_all_entities[number.mock_title_max_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Mock Title Max output', + : 'power', + : 'Mock Title Max output', : 1000, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_max_output', diff --git a/tests/components/apsystems/snapshots/test_sensor.ambr b/tests/components/apsystems/snapshots/test_sensor.ambr index f2920cdbbf6..292691648e5 100644 --- a/tests/components/apsystems/snapshots/test_sensor.ambr +++ b/tests/components/apsystems/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.mock_title_lifetime_production_of_p1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Mock Title Lifetime production of P1', + : 'energy', + : 'Mock Title Lifetime production of P1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_lifetime_production_of_p1', @@ -102,10 +102,10 @@ # name: test_all_entities[sensor.mock_title_lifetime_production_of_p2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Mock Title Lifetime production of P2', + : 'energy', + : 'Mock Title Lifetime production of P2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_lifetime_production_of_p2', @@ -160,10 +160,10 @@ # name: test_all_entities[sensor.mock_title_power_of_p1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Mock Title Power of P1', + : 'power', + : 'Mock Title Power of P1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_power_of_p1', @@ -218,10 +218,10 @@ # name: test_all_entities[sensor.mock_title_power_of_p2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Mock Title Power of P2', + : 'power', + : 'Mock Title Power of P2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_power_of_p2', @@ -276,10 +276,10 @@ # name: test_all_entities[sensor.mock_title_production_of_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Mock Title Production of today', + : 'energy', + : 'Mock Title Production of today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_production_of_today', @@ -334,10 +334,10 @@ # name: test_all_entities[sensor.mock_title_production_of_today_from_p1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Mock Title Production of today from P1', + : 'energy', + : 'Mock Title Production of today from P1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_production_of_today_from_p1', @@ -392,10 +392,10 @@ # name: test_all_entities[sensor.mock_title_production_of_today_from_p2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Mock Title Production of today from P2', + : 'energy', + : 'Mock Title Production of today from P2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_production_of_today_from_p2', @@ -450,10 +450,10 @@ # name: test_all_entities[sensor.mock_title_total_lifetime_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Mock Title Total lifetime production', + : 'energy', + : 'Mock Title Total lifetime production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_total_lifetime_production', @@ -508,10 +508,10 @@ # name: test_all_entities[sensor.mock_title_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Mock Title Total power', + : 'power', + : 'Mock Title Total power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_total_power', diff --git a/tests/components/apsystems/snapshots/test_switch.ambr b/tests/components/apsystems/snapshots/test_switch.ambr index baca78889cd..7a5f84eecde 100644 --- a/tests/components/apsystems/snapshots/test_switch.ambr +++ b/tests/components/apsystems/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[switch.mock_title_inverter_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Title Inverter status', + : 'switch', + : 'Mock Title Inverter status', }), 'context': , 'entity_id': 'switch.mock_title_inverter_status', diff --git a/tests/components/aquacell/snapshots/test_sensor.ambr b/tests/components/aquacell/snapshots/test_sensor.ambr index ab691d860fa..d4405d28c55 100644 --- a/tests/components/aquacell/snapshots/test_sensor.ambr +++ b/tests/components/aquacell/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_sensors[sensor.aquacell_name_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'AquaCell name Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'AquaCell name Battery', + : '%', }), 'context': , 'entity_id': 'sensor.aquacell_name_battery', @@ -91,8 +91,8 @@ # name: test_sensors[sensor.aquacell_name_last_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'AquaCell name Last update', + : 'timestamp', + : 'AquaCell name Last update', }), 'context': , 'entity_id': 'sensor.aquacell_name_last_update', @@ -144,9 +144,9 @@ # name: test_sensors[sensor.aquacell_name_salt_left_side_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaCell name Salt left side percentage', + : 'AquaCell name Salt left side percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aquacell_name_salt_left_side_percentage', @@ -199,9 +199,9 @@ # name: test_sensors[sensor.aquacell_name_salt_left_side_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'AquaCell name Salt left side time remaining', - 'unit_of_measurement': , + : 'duration', + : 'AquaCell name Salt left side time remaining', + : , }), 'context': , 'entity_id': 'sensor.aquacell_name_salt_left_side_time_remaining', @@ -253,9 +253,9 @@ # name: test_sensors[sensor.aquacell_name_salt_right_side_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaCell name Salt right side percentage', + : 'AquaCell name Salt right side percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aquacell_name_salt_right_side_percentage', @@ -308,9 +308,9 @@ # name: test_sensors[sensor.aquacell_name_salt_right_side_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'AquaCell name Salt right side time remaining', - 'unit_of_measurement': , + : 'duration', + : 'AquaCell name Salt right side time remaining', + : , }), 'context': , 'entity_id': 'sensor.aquacell_name_salt_right_side_time_remaining', @@ -366,8 +366,8 @@ # name: test_sensors[sensor.aquacell_name_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'AquaCell name Wi-Fi strength', + : 'enum', + : 'AquaCell name Wi-Fi strength', : list([ 'high', 'medium', diff --git a/tests/components/aqualogic/snapshots/test_sensor.ambr b/tests/components/aqualogic/snapshots/test_sensor.ambr index b3b8ca5ec72..5a6cd33ccdc 100644 --- a/tests/components/aqualogic/snapshots/test_sensor.ambr +++ b/tests/components/aqualogic/snapshots/test_sensor.ambr @@ -3,9 +3,9 @@ dict({ 'sensor.aqualogic_air_temperature': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'AquaLogic Air Temperature', - 'unit_of_measurement': , + : 'temperature', + : 'AquaLogic Air Temperature', + : , }), 'context': , 'entity_id': 'sensor.aqualogic_air_temperature', @@ -16,9 +16,9 @@ }), 'sensor.aqualogic_pool_chlorinator': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Pool Chlorinator', - 'icon': 'mdi:gauge', - 'unit_of_measurement': '%', + : 'AquaLogic Pool Chlorinator', + : 'mdi:gauge', + : '%', }), 'context': , 'entity_id': 'sensor.aqualogic_pool_chlorinator', @@ -29,10 +29,10 @@ }), 'sensor.aqualogic_pool_temperature': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'AquaLogic Pool Temperature', - 'icon': 'mdi:oil-temperature', - 'unit_of_measurement': , + : 'temperature', + : 'AquaLogic Pool Temperature', + : 'mdi:oil-temperature', + : , }), 'context': , 'entity_id': 'sensor.aqualogic_pool_temperature', @@ -43,9 +43,9 @@ }), 'sensor.aqualogic_pump_power': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'AquaLogic Pump Power', - 'unit_of_measurement': , + : 'power', + : 'AquaLogic Pump Power', + : , }), 'context': , 'entity_id': 'sensor.aqualogic_pump_power', @@ -56,9 +56,9 @@ }), 'sensor.aqualogic_pump_speed': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Pump Speed', - 'icon': 'mdi:speedometer', - 'unit_of_measurement': '%', + : 'AquaLogic Pump Speed', + : 'mdi:speedometer', + : '%', }), 'context': , 'entity_id': 'sensor.aqualogic_pump_speed', @@ -69,9 +69,9 @@ }), 'sensor.aqualogic_salt_level': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Salt Level', - 'icon': 'mdi:gauge', - 'unit_of_measurement': 'g/L', + : 'AquaLogic Salt Level', + : 'mdi:gauge', + : 'g/L', }), 'context': , 'entity_id': 'sensor.aqualogic_salt_level', @@ -82,9 +82,9 @@ }), 'sensor.aqualogic_spa_chlorinator': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Spa Chlorinator', - 'icon': 'mdi:gauge', - 'unit_of_measurement': '%', + : 'AquaLogic Spa Chlorinator', + : 'mdi:gauge', + : '%', }), 'context': , 'entity_id': 'sensor.aqualogic_spa_chlorinator', @@ -95,10 +95,10 @@ }), 'sensor.aqualogic_spa_temperature': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'AquaLogic Spa Temperature', - 'icon': 'mdi:oil-temperature', - 'unit_of_measurement': , + : 'temperature', + : 'AquaLogic Spa Temperature', + : 'mdi:oil-temperature', + : , }), 'context': , 'entity_id': 'sensor.aqualogic_spa_temperature', @@ -109,8 +109,8 @@ }), 'sensor.aqualogic_status': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Status', - 'icon': 'mdi:alert', + : 'AquaLogic Status', + : 'mdi:alert', }), 'context': , 'entity_id': 'sensor.aqualogic_status', diff --git a/tests/components/aqualogic/snapshots/test_switch.ambr b/tests/components/aqualogic/snapshots/test_switch.ambr index fb6c9433c37..3b6fd6a3749 100644 --- a/tests/components/aqualogic/snapshots/test_switch.ambr +++ b/tests/components/aqualogic/snapshots/test_switch.ambr @@ -3,7 +3,7 @@ dict({ 'switch.aqualogic_aux_1': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Aux 1', + : 'AquaLogic Aux 1', }), 'context': , 'entity_id': 'switch.aqualogic_aux_1', @@ -14,7 +14,7 @@ }), 'switch.aqualogic_aux_2': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Aux 2', + : 'AquaLogic Aux 2', }), 'context': , 'entity_id': 'switch.aqualogic_aux_2', @@ -25,7 +25,7 @@ }), 'switch.aqualogic_aux_3': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Aux 3', + : 'AquaLogic Aux 3', }), 'context': , 'entity_id': 'switch.aqualogic_aux_3', @@ -36,7 +36,7 @@ }), 'switch.aqualogic_aux_4': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Aux 4', + : 'AquaLogic Aux 4', }), 'context': , 'entity_id': 'switch.aqualogic_aux_4', @@ -47,7 +47,7 @@ }), 'switch.aqualogic_aux_5': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Aux 5', + : 'AquaLogic Aux 5', }), 'context': , 'entity_id': 'switch.aqualogic_aux_5', @@ -58,7 +58,7 @@ }), 'switch.aqualogic_aux_6': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Aux 6', + : 'AquaLogic Aux 6', }), 'context': , 'entity_id': 'switch.aqualogic_aux_6', @@ -69,7 +69,7 @@ }), 'switch.aqualogic_aux_7': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Aux 7', + : 'AquaLogic Aux 7', }), 'context': , 'entity_id': 'switch.aqualogic_aux_7', @@ -80,7 +80,7 @@ }), 'switch.aqualogic_filter': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Filter', + : 'AquaLogic Filter', }), 'context': , 'entity_id': 'switch.aqualogic_filter', @@ -91,7 +91,7 @@ }), 'switch.aqualogic_filter_low_speed': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Filter Low Speed', + : 'AquaLogic Filter Low Speed', }), 'context': , 'entity_id': 'switch.aqualogic_filter_low_speed', @@ -102,7 +102,7 @@ }), 'switch.aqualogic_lights': StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AquaLogic Lights', + : 'AquaLogic Lights', }), 'context': , 'entity_id': 'switch.aqualogic_lights', diff --git a/tests/components/aqvify/snapshots/test_sensor.ambr b/tests/components/aqvify/snapshots/test_sensor.ambr index b137241b100..1cfcd35a705 100644 --- a/tests/components/aqvify/snapshots/test_sensor.ambr +++ b/tests/components/aqvify/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_snapshot[sensor.device_1_available_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Device 1 Available volume', + : 'volume_storage', + : 'Device 1 Available volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_available_volume', @@ -102,10 +102,10 @@ # name: test_sensor_snapshot[sensor.device_1_ground_water_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Device 1 Ground water level', + : 'distance', + : 'Device 1 Ground water level', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_ground_water_level', @@ -160,10 +160,10 @@ # name: test_sensor_snapshot[sensor.device_1_inflow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Device 1 Inflow', + : 'volume_flow_rate', + : 'Device 1 Inflow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_inflow', @@ -218,10 +218,10 @@ # name: test_sensor_snapshot[sensor.device_1_level_from_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Device 1 Level from sensor', + : 'distance', + : 'Device 1 Level from sensor', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_level_from_sensor', @@ -276,10 +276,10 @@ # name: test_sensor_snapshot[sensor.device_1_level_from_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Device 1 Level from top', + : 'distance', + : 'Device 1 Level from top', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_level_from_top', @@ -334,10 +334,10 @@ # name: test_sensor_snapshot[sensor.device_1_outflow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Device 1 Outflow', + : 'water', + : 'Device 1 Outflow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_outflow', @@ -392,10 +392,10 @@ # name: test_sensor_snapshot[sensor.device_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device 1 Temperature', + : 'temperature', + : 'Device 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_temperature', @@ -450,10 +450,10 @@ # name: test_sensor_snapshot[sensor.device_2_available_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Device 2 Available volume', + : 'volume_storage', + : 'Device 2 Available volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_2_available_volume', @@ -508,10 +508,10 @@ # name: test_sensor_snapshot[sensor.device_2_ground_water_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Device 2 Ground water level', + : 'distance', + : 'Device 2 Ground water level', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_2_ground_water_level', @@ -566,10 +566,10 @@ # name: test_sensor_snapshot[sensor.device_2_inflow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Device 2 Inflow', + : 'volume_flow_rate', + : 'Device 2 Inflow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_2_inflow', @@ -624,10 +624,10 @@ # name: test_sensor_snapshot[sensor.device_2_level_from_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Device 2 Level from sensor', + : 'distance', + : 'Device 2 Level from sensor', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_2_level_from_sensor', @@ -682,10 +682,10 @@ # name: test_sensor_snapshot[sensor.device_2_level_from_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Device 2 Level from top', + : 'distance', + : 'Device 2 Level from top', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_2_level_from_top', @@ -740,10 +740,10 @@ # name: test_sensor_snapshot[sensor.device_2_outflow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Device 2 Outflow', + : 'water', + : 'Device 2 Outflow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_2_outflow', @@ -798,10 +798,10 @@ # name: test_sensor_snapshot[sensor.device_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device 2 Temperature', + : 'temperature', + : 'Device 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_2_temperature', diff --git a/tests/components/arcam_fmj/snapshots/test_binary_sensor.ambr b/tests/components/arcam_fmj/snapshots/test_binary_sensor.ambr index a1ccc51fe89..96949c63a30 100644 --- a/tests/components/arcam_fmj/snapshots/test_binary_sensor.ambr +++ b/tests/components/arcam_fmj/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_setup[binary_sensor.arcam_fmj_127_0_0_1_incoming_video_interlaced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming video interlaced', + : 'Arcam FMJ (127.0.0.1) Incoming video interlaced', }), 'context': , 'entity_id': 'binary_sensor.arcam_fmj_127_0_0_1_incoming_video_interlaced', @@ -89,7 +89,7 @@ # name: test_setup[binary_sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_interlaced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video interlaced', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video interlaced', }), 'context': , 'entity_id': 'binary_sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_interlaced', diff --git a/tests/components/arcam_fmj/snapshots/test_media_player.ambr b/tests/components/arcam_fmj/snapshots/test_media_player.ambr index 2fce9182c5e..3a1ae4fb0fa 100644 --- a/tests/components/arcam_fmj/snapshots/test_media_player.ambr +++ b/tests/components/arcam_fmj/snapshots/test_media_player.ambr @@ -40,8 +40,8 @@ # name: test_setup[media_player.arcam_fmj_127_0_0_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1)', - 'supported_features': , + : 'Arcam FMJ (127.0.0.1)', + : , : 0.0, }), 'context': , @@ -93,8 +93,8 @@ # name: test_setup[media_player.arcam_fmj_127_0_0_1_zone_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2', - 'supported_features': , + : 'Arcam FMJ (127.0.0.1) Zone 2', + : , : 0.0, }), 'context': , diff --git a/tests/components/arcam_fmj/snapshots/test_sensor.ambr b/tests/components/arcam_fmj/snapshots/test_sensor.ambr index e2743f3ae72..d7928a5e33a 100644 --- a/tests/components/arcam_fmj/snapshots/test_sensor.ambr +++ b/tests/components/arcam_fmj/snapshots/test_sensor.ambr @@ -85,8 +85,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_audio_configuration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming audio configuration', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Incoming audio configuration', : list([ 'dual_mono', 'mono', @@ -208,8 +208,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_audio_format-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming audio format', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Incoming audio format', : list([ 'pcm', 'analogue_direct', @@ -290,10 +290,10 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_audio_sample_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming audio sample rate', + : 'frequency', + : 'Arcam FMJ (127.0.0.1) Incoming audio sample rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_incoming_audio_sample_rate', @@ -349,8 +349,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_video_aspect_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming video aspect ratio', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Incoming video aspect ratio', : list([ 'undefined', 'aspect_4_3', @@ -413,8 +413,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_video_colorspace-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming video colorspace', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Incoming video colorspace', : list([ 'normal', 'hdr10', @@ -476,9 +476,9 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_video_horizontal_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming video horizontal resolution', + : 'Arcam FMJ (127.0.0.1) Incoming video horizontal resolution', : , - 'unit_of_measurement': 'px', + : 'px', }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_incoming_video_horizontal_resolution', @@ -533,10 +533,10 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_video_refresh_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming video refresh rate', + : 'frequency', + : 'Arcam FMJ (127.0.0.1) Incoming video refresh rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_incoming_video_refresh_rate', @@ -591,9 +591,9 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_incoming_video_vertical_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1) Incoming video vertical resolution', + : 'Arcam FMJ (127.0.0.1) Incoming video vertical resolution', : , - 'unit_of_measurement': 'px', + : 'px', }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_incoming_video_vertical_resolution', @@ -689,8 +689,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_audio_configuration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming audio configuration', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming audio configuration', : list([ 'dual_mono', 'mono', @@ -812,8 +812,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_audio_format-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming audio format', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming audio format', : list([ 'pcm', 'analogue_direct', @@ -894,10 +894,10 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_audio_sample_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming audio sample rate', + : 'frequency', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming audio sample rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_zone_2_incoming_audio_sample_rate', @@ -953,8 +953,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_aspect_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video aspect ratio', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video aspect ratio', : list([ 'undefined', 'aspect_4_3', @@ -1017,8 +1017,8 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_colorspace-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video colorspace', + : 'enum', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video colorspace', : list([ 'normal', 'hdr10', @@ -1080,9 +1080,9 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_horizontal_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video horizontal resolution', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video horizontal resolution', : , - 'unit_of_measurement': 'px', + : 'px', }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_horizontal_resolution', @@ -1137,10 +1137,10 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_refresh_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video refresh rate', + : 'frequency', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video refresh rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_refresh_rate', @@ -1195,9 +1195,9 @@ # name: test_setup[sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_vertical_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video vertical resolution', + : 'Arcam FMJ (127.0.0.1) Zone 2 Incoming video vertical resolution', : , - 'unit_of_measurement': 'px', + : 'px', }), 'context': , 'entity_id': 'sensor.arcam_fmj_127_0_0_1_zone_2_incoming_video_vertical_resolution', diff --git a/tests/components/arve/snapshots/test_sensor.ambr b/tests/components/arve/snapshots/test_sensor.ambr index 4af26fffa4d..3de8e8434c7 100644 --- a/tests/components/arve/snapshots/test_sensor.ambr +++ b/tests/components/arve/snapshots/test_sensor.ambr @@ -278,8 +278,8 @@ # name: test_sensors[test_sensor_air_quality_index] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'aqi', - 'friendly_name': 'Test Sensor Air quality index', + : 'aqi', + : 'Test Sensor Air quality index', : , }), 'context': , @@ -293,10 +293,10 @@ # name: test_sensors[test_sensor_carbon_dioxide] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Test Sensor Carbon dioxide', + : 'carbon_dioxide', + : 'Test Sensor Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.test_sensor_carbon_dioxide', @@ -309,10 +309,10 @@ # name: test_sensors[test_sensor_humidity] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test Sensor Humidity', + : 'humidity', + : 'Test Sensor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_sensor_humidity', @@ -325,10 +325,10 @@ # name: test_sensors[test_sensor_pm10] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Test Sensor PM10', + : 'pm10', + : 'Test Sensor PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_sensor_pm10', @@ -341,10 +341,10 @@ # name: test_sensors[test_sensor_pm2_5] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Test Sensor PM2.5', + : 'pm25', + : 'Test Sensor PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_sensor_pm2_5', @@ -357,10 +357,10 @@ # name: test_sensors[test_sensor_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Sensor Temperature', + : 'temperature', + : 'Test Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_temperature', @@ -373,7 +373,7 @@ # name: test_sensors[test_sensor_total_volatile_organic_compounds] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Sensor Total volatile organic compounds', + : 'Test Sensor Total volatile organic compounds', : , }), 'context': , diff --git a/tests/components/autarco/snapshots/test_sensor.ambr b/tests/components/autarco/snapshots/test_sensor.ambr index 6556e552f40..4bd0c20a77a 100644 --- a/tests/components/autarco/snapshots/test_sensor.ambr +++ b/tests/components/autarco/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_sensors[sensor.battery_charged_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery Charged month', + : 'energy', + : 'Battery Charged month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_charged_month', @@ -102,10 +102,10 @@ # name: test_all_sensors[sensor.battery_charged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery Charged today', + : 'energy', + : 'Battery Charged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_charged_today', @@ -160,10 +160,10 @@ # name: test_all_sensors[sensor.battery_charged_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery Charged total', + : 'energy', + : 'Battery Charged total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_charged_total', @@ -218,10 +218,10 @@ # name: test_all_sensors[sensor.battery_discharged_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery Discharged month', + : 'energy', + : 'Battery Discharged month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_discharged_month', @@ -276,10 +276,10 @@ # name: test_all_sensors[sensor.battery_discharged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery Discharged today', + : 'energy', + : 'Battery Discharged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_discharged_today', @@ -334,10 +334,10 @@ # name: test_all_sensors[sensor.battery_discharged_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery Discharged total', + : 'energy', + : 'Battery Discharged total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_discharged_total', @@ -392,10 +392,10 @@ # name: test_all_sensors[sensor.battery_flow_now-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Battery Flow now', + : 'power', + : 'Battery Flow now', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_flow_now', @@ -447,10 +447,10 @@ # name: test_all_sensors[sensor.battery_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Battery State of charge', + : 'battery', + : 'Battery State of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.battery_state_of_charge', @@ -505,10 +505,10 @@ # name: test_all_sensors[sensor.inverter_test_serial_1_energy_ac_output_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter test-serial-1 Energy AC output total', + : 'energy', + : 'Inverter test-serial-1 Energy AC output total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_test_serial_1_energy_ac_output_total', @@ -563,10 +563,10 @@ # name: test_all_sensors[sensor.inverter_test_serial_1_power_ac_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter test-serial-1 Power AC output', + : 'power', + : 'Inverter test-serial-1 Power AC output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_test_serial_1_power_ac_output', @@ -621,10 +621,10 @@ # name: test_all_sensors[sensor.inverter_test_serial_2_energy_ac_output_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter test-serial-2 Energy AC output total', + : 'energy', + : 'Inverter test-serial-2 Energy AC output total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_test_serial_2_energy_ac_output_total', @@ -679,10 +679,10 @@ # name: test_all_sensors[sensor.inverter_test_serial_2_power_ac_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter test-serial-2 Power AC output', + : 'power', + : 'Inverter test-serial-2 Power AC output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_test_serial_2_power_ac_output', @@ -737,10 +737,10 @@ # name: test_all_sensors[sensor.solar_energy_production_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Solar Energy production month', + : 'energy', + : 'Solar Energy production month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_energy_production_month', @@ -795,10 +795,10 @@ # name: test_all_sensors[sensor.solar_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Solar Energy production today', + : 'energy', + : 'Solar Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_energy_production_today', @@ -853,10 +853,10 @@ # name: test_all_sensors[sensor.solar_energy_production_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Solar Energy production total', + : 'energy', + : 'Solar Energy production total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_energy_production_total', @@ -911,10 +911,10 @@ # name: test_all_sensors[sensor.solar_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Solar Power production', + : 'power', + : 'Solar Power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_power_production', diff --git a/tests/components/autoskope/snapshots/test_device_tracker.ambr b/tests/components/autoskope/snapshots/test_device_tracker.ambr index c11450a16a1..8b66511a8d4 100644 --- a/tests/components/autoskope/snapshots/test_device_tracker.ambr +++ b/tests/components/autoskope/snapshots/test_device_tracker.ambr @@ -41,9 +41,9 @@ # name: test_all_entities[device_tracker.test_vehicle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Vehicle', + : 'Test Vehicle', : 6.0, - 'icon': 'mdi:car', + : 'mdi:car', : list([ ]), : 50.1109221, diff --git a/tests/components/awair/snapshots/test_sensor.ambr b/tests/components/awair/snapshots/test_sensor.ambr index 515add6eaf6..95f0e16bc27 100644 --- a/tests/components/awair/snapshots/test_sensor.ambr +++ b/tests/components/awair/snapshots/test_sensor.ambr @@ -41,12 +41,12 @@ # name: test_awair_gen1_sensors[sensor.living_room_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Living Room Carbon dioxide', + : 'carbon_dioxide', + : 'Living Room Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.living_room_carbon_dioxide', @@ -98,12 +98,12 @@ # name: test_awair_gen1_sensors[sensor.living_room_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'humidity', - 'friendly_name': 'Living Room Humidity', + : 'humidity', + : 'Living Room Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_humidity', @@ -155,12 +155,12 @@ # name: test_awair_gen1_sensors[sensor.living_room_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 1.0, - 'device_class': 'pm10', - 'friendly_name': 'Living Room PM10', + : 'pm10', + : 'Living Room PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.living_room_pm10', @@ -212,12 +212,12 @@ # name: test_awair_gen1_sensors[sensor.living_room_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 1.0, - 'device_class': 'pm25', - 'friendly_name': 'Living Room PM2.5', + : 'pm25', + : 'Living Room PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.living_room_pm2_5', @@ -269,10 +269,10 @@ # name: test_awair_gen1_sensors[sensor.living_room_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'friendly_name': 'Living Room Score', + : 'Awair air quality sensor', + : 'Living Room Score', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_score', @@ -327,12 +327,12 @@ # name: test_awair_gen1_sensors[sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 1.0, - 'device_class': 'temperature', - 'friendly_name': 'Living Room Temperature', + : 'temperature', + : 'Living Room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', @@ -384,12 +384,12 @@ # name: test_awair_gen1_sensors[sensor.living_room_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 1.0, - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Living Room Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Living Room Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.living_room_volatile_organic_compounds_parts', @@ -441,12 +441,12 @@ # name: test_awair_gen2_sensors[sensor.living_room_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Living Room Carbon dioxide', + : 'carbon_dioxide', + : 'Living Room Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.living_room_carbon_dioxide', @@ -498,12 +498,12 @@ # name: test_awair_gen2_sensors[sensor.living_room_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 1.0, - 'device_class': 'humidity', - 'friendly_name': 'Living Room Humidity', + : 'humidity', + : 'Living Room Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_humidity', @@ -555,12 +555,12 @@ # name: test_awair_gen2_sensors[sensor.living_room_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'pm25', - 'friendly_name': 'Living Room PM2.5', + : 'pm25', + : 'Living Room PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.living_room_pm2_5', @@ -612,10 +612,10 @@ # name: test_awair_gen2_sensors[sensor.living_room_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'friendly_name': 'Living Room Score', + : 'Awair air quality sensor', + : 'Living Room Score', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_score', @@ -670,12 +670,12 @@ # name: test_awair_gen2_sensors[sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'temperature', - 'friendly_name': 'Living Room Temperature', + : 'temperature', + : 'Living Room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', @@ -727,12 +727,12 @@ # name: test_awair_gen2_sensors[sensor.living_room_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Living Room Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Living Room Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.living_room_volatile_organic_compounds_parts', @@ -784,12 +784,12 @@ # name: test_awair_glow_sensors[sensor.living_room_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Living Room Carbon dioxide', + : 'carbon_dioxide', + : 'Living Room Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.living_room_carbon_dioxide', @@ -841,12 +841,12 @@ # name: test_awair_glow_sensors[sensor.living_room_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'humidity', - 'friendly_name': 'Living Room Humidity', + : 'humidity', + : 'Living Room Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_humidity', @@ -898,10 +898,10 @@ # name: test_awair_glow_sensors[sensor.living_room_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'friendly_name': 'Living Room Score', + : 'Awair air quality sensor', + : 'Living Room Score', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_score', @@ -956,12 +956,12 @@ # name: test_awair_glow_sensors[sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 1.0, - 'device_class': 'temperature', - 'friendly_name': 'Living Room Temperature', + : 'temperature', + : 'Living Room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', @@ -1013,12 +1013,12 @@ # name: test_awair_glow_sensors[sensor.living_room_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Living Room Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Living Room Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.living_room_volatile_organic_compounds_parts', @@ -1070,12 +1070,12 @@ # name: test_awair_mint_sensors[sensor.living_room_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'humidity', - 'friendly_name': 'Living Room Humidity', + : 'humidity', + : 'Living Room Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_humidity', @@ -1127,11 +1127,11 @@ # name: test_awair_mint_sensors[sensor.living_room_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'illuminance', - 'friendly_name': 'Living Room Illuminance', + : 'Awair air quality sensor', + : 'illuminance', + : 'Living Room Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.living_room_illuminance', @@ -1183,12 +1183,12 @@ # name: test_awair_mint_sensors[sensor.living_room_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'pm25', - 'friendly_name': 'Living Room PM2.5', + : 'pm25', + : 'Living Room PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.living_room_pm2_5', @@ -1240,10 +1240,10 @@ # name: test_awair_mint_sensors[sensor.living_room_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'friendly_name': 'Living Room Score', + : 'Awair air quality sensor', + : 'Living Room Score', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_score', @@ -1298,12 +1298,12 @@ # name: test_awair_mint_sensors[sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'temperature', - 'friendly_name': 'Living Room Temperature', + : 'temperature', + : 'Living Room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', @@ -1355,12 +1355,12 @@ # name: test_awair_mint_sensors[sensor.living_room_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Living Room Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Living Room Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.living_room_volatile_organic_compounds_parts', @@ -1412,12 +1412,12 @@ # name: test_awair_omni_sensors[sensor.living_room_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Living Room Carbon dioxide', + : 'carbon_dioxide', + : 'Living Room Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.living_room_carbon_dioxide', @@ -1469,12 +1469,12 @@ # name: test_awair_omni_sensors[sensor.living_room_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'humidity', - 'friendly_name': 'Living Room Humidity', + : 'humidity', + : 'Living Room Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_humidity', @@ -1526,11 +1526,11 @@ # name: test_awair_omni_sensors[sensor.living_room_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'illuminance', - 'friendly_name': 'Living Room Illuminance', + : 'Awair air quality sensor', + : 'illuminance', + : 'Living Room Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.living_room_illuminance', @@ -1582,12 +1582,12 @@ # name: test_awair_omni_sensors[sensor.living_room_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'pm25', - 'friendly_name': 'Living Room PM2.5', + : 'pm25', + : 'Living Room PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.living_room_pm2_5', @@ -1639,10 +1639,10 @@ # name: test_awair_omni_sensors[sensor.living_room_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'friendly_name': 'Living Room Score', + : 'Awair air quality sensor', + : 'Living Room Score', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_score', @@ -1694,11 +1694,11 @@ # name: test_awair_omni_sensors[sensor.living_room_sound_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'sound_pressure', - 'friendly_name': 'Living Room Sound level', + : 'Awair air quality sensor', + : 'sound_pressure', + : 'Living Room Sound level', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_sound_level', @@ -1753,12 +1753,12 @@ # name: test_awair_omni_sensors[sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'temperature', - 'friendly_name': 'Living Room Temperature', + : 'temperature', + : 'Living Room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', @@ -1810,12 +1810,12 @@ # name: test_awair_omni_sensors[sensor.living_room_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', + : 'Awair air quality sensor', 'awair_index': 0.0, - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Living Room Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Living Room Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.living_room_volatile_organic_compounds_parts', @@ -1870,11 +1870,11 @@ # name: test_local_awair_sensors[sensor.mock_title_absolute_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'absolute_humidity', - 'friendly_name': 'Mock Title Absolute humidity', + : 'Awair air quality sensor', + : 'absolute_humidity', + : 'Mock Title Absolute humidity', : , - 'unit_of_measurement': 'g/m³', + : 'g/m³', }), 'context': , 'entity_id': 'sensor.mock_title_absolute_humidity', @@ -1926,11 +1926,11 @@ # name: test_local_awair_sensors[sensor.mock_title_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Mock Title Carbon dioxide', + : 'Awair air quality sensor', + : 'carbon_dioxide', + : 'Mock Title Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.mock_title_carbon_dioxide', @@ -1985,11 +1985,11 @@ # name: test_local_awair_sensors[sensor.mock_title_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Dew point', + : 'Awair air quality sensor', + : 'temperature', + : 'Mock Title Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_dew_point', @@ -2041,11 +2041,11 @@ # name: test_local_awair_sensors[sensor.mock_title_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'humidity', - 'friendly_name': 'Mock Title Humidity', + : 'Awair air quality sensor', + : 'humidity', + : 'Mock Title Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_humidity', @@ -2097,11 +2097,11 @@ # name: test_local_awair_sensors[sensor.mock_title_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'pm25', - 'friendly_name': 'Mock Title PM2.5', + : 'Awair air quality sensor', + : 'pm25', + : 'Mock Title PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.mock_title_pm2_5', @@ -2153,10 +2153,10 @@ # name: test_local_awair_sensors[sensor.mock_title_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'friendly_name': 'Mock Title Score', + : 'Awair air quality sensor', + : 'Mock Title Score', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_score', @@ -2211,11 +2211,11 @@ # name: test_local_awair_sensors[sensor.mock_title_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Temperature', + : 'Awair air quality sensor', + : 'temperature', + : 'Mock Title Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_temperature', @@ -2267,11 +2267,11 @@ # name: test_local_awair_sensors[sensor.mock_title_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Awair air quality sensor', - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Mock Title Volatile organic compounds parts', + : 'Awair air quality sensor', + : 'volatile_organic_compounds_parts', + : 'Mock Title Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.mock_title_volatile_organic_compounds_parts', diff --git a/tests/components/aws_s3/snapshots/test_sensor.ambr b/tests/components/aws_s3/snapshots/test_sensor.ambr index 762b22f1843..ed0d8379e98 100644 --- a/tests/components/aws_s3/snapshots/test_sensor.ambr +++ b/tests/components/aws_s3/snapshots/test_sensor.ambr @@ -76,9 +76,9 @@ # name: test_sensor[sensor.bucket_test_total_size_of_backups-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Bucket test Total size of backups', - 'unit_of_measurement': , + : 'data_size', + : 'Bucket test Total size of backups', + : , }), 'context': , 'entity_id': 'sensor.bucket_test_total_size_of_backups', diff --git a/tests/components/axis/snapshots/test_binary_sensor.ambr b/tests/components/axis/snapshots/test_binary_sensor.ambr index e5952d8edb1..8c21cdd605c 100644 --- a/tests/components/axis/snapshots/test_binary_sensor.ambr +++ b/tests/components/axis/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[event0][binary_sensor.home_daynight_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'light', - 'friendly_name': 'home DayNight 1', + : 'light', + : 'home DayNight 1', }), 'context': , 'entity_id': 'binary_sensor.home_daynight_1', @@ -90,8 +90,8 @@ # name: test_binary_sensors[event10][binary_sensor.home_object_analytics_device1scenario8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home Object Analytics Device1Scenario8', + : 'motion', + : 'home Object Analytics Device1Scenario8', }), 'context': , 'entity_id': 'binary_sensor.home_object_analytics_device1scenario8', @@ -141,8 +141,8 @@ # name: test_binary_sensors[event1][binary_sensor.home_sound_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'sound', - 'friendly_name': 'home Sound 1', + : 'sound', + : 'home Sound 1', }), 'context': , 'entity_id': 'binary_sensor.home_sound_1', @@ -192,8 +192,8 @@ # name: test_binary_sensors[event2][binary_sensor.home_pir_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'home PIR sensor', + : 'connectivity', + : 'home PIR sensor', }), 'context': , 'entity_id': 'binary_sensor.home_pir_sensor', @@ -243,8 +243,8 @@ # name: test_binary_sensors[event3][binary_sensor.home_pir_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home PIR 0', + : 'motion', + : 'home PIR 0', }), 'context': , 'entity_id': 'binary_sensor.home_pir_0', @@ -294,8 +294,8 @@ # name: test_binary_sensors[event4][binary_sensor.home_fence_guard_profile_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home Fence Guard Profile 1', + : 'motion', + : 'home Fence Guard Profile 1', }), 'context': , 'entity_id': 'binary_sensor.home_fence_guard_profile_1', @@ -345,8 +345,8 @@ # name: test_binary_sensors[event5][binary_sensor.home_motion_guard_profile_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home Motion Guard Profile 1', + : 'motion', + : 'home Motion Guard Profile 1', }), 'context': , 'entity_id': 'binary_sensor.home_motion_guard_profile_1', @@ -396,8 +396,8 @@ # name: test_binary_sensors[event6][binary_sensor.home_loitering_guard_profile_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home Loitering Guard Profile 1', + : 'motion', + : 'home Loitering Guard Profile 1', }), 'context': , 'entity_id': 'binary_sensor.home_loitering_guard_profile_1', @@ -447,8 +447,8 @@ # name: test_binary_sensors[event7][binary_sensor.home_vmd4_profile_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home VMD4 Profile 1', + : 'motion', + : 'home VMD4 Profile 1', }), 'context': , 'entity_id': 'binary_sensor.home_vmd4_profile_1', @@ -498,8 +498,8 @@ # name: test_binary_sensors[event8][binary_sensor.home_object_analytics_scenario_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home Object Analytics Scenario 1', + : 'motion', + : 'home Object Analytics Scenario 1', }), 'context': , 'entity_id': 'binary_sensor.home_object_analytics_scenario_1', @@ -549,8 +549,8 @@ # name: test_binary_sensors[event9][binary_sensor.home_vmd4_camera1profile9-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'home VMD4 Camera1Profile9', + : 'motion', + : 'home VMD4 Camera1Profile9', }), 'context': , 'entity_id': 'binary_sensor.home_vmd4_camera1profile9', diff --git a/tests/components/axis/snapshots/test_camera.ambr b/tests/components/axis/snapshots/test_camera.ambr index df4917eff90..6c632f3e3b7 100644 --- a/tests/components/axis/snapshots/test_camera.ambr +++ b/tests/components/axis/snapshots/test_camera.ambr @@ -40,9 +40,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/camera_proxy/camera.home?token=1', - 'friendly_name': 'home', - 'supported_features': , + : '/api/camera_proxy/camera.home?token=1', + : 'home', + : , }), 'context': , 'entity_id': 'camera.home', @@ -93,9 +93,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/camera_proxy/camera.home?token=1', - 'friendly_name': 'home', - 'supported_features': , + : '/api/camera_proxy/camera.home?token=1', + : 'home', + : , }), 'context': , 'entity_id': 'camera.home', diff --git a/tests/components/axis/snapshots/test_light.ambr b/tests/components/axis/snapshots/test_light.ambr index a5ecaa24664..f1851335b9b 100644 --- a/tests/components/axis/snapshots/test_light.ambr +++ b/tests/components/axis/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : 170, : , - 'friendly_name': 'home IR Light 0', + : 'home IR Light 0', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.home_ir_light_0', diff --git a/tests/components/axis/snapshots/test_switch.ambr b/tests/components/axis/snapshots/test_switch.ambr index 0506fbb698a..41b8acca2c7 100644 --- a/tests/components/axis/snapshots/test_switch.ambr +++ b/tests/components/axis/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switches_with_port_cgi[root.IOPort.I0.Configurable=yes\nroot.IOPort.I0.Direction=output\nroot.IOPort.I0.Output.Name=Doorbell\nroot.IOPort.I0.Output.Active=closed\nroot.IOPort.I1.Configurable=yes\nroot.IOPort.I1.Direction=output\nroot.IOPort.I1.Output.Name=\nroot.IOPort.I1.Output.Active=open\n][switch.home_doorbell-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'home Doorbell', + : 'outlet', + : 'home Doorbell', }), 'context': , 'entity_id': 'switch.home_doorbell', @@ -90,8 +90,8 @@ # name: test_switches_with_port_cgi[root.IOPort.I0.Configurable=yes\nroot.IOPort.I0.Direction=output\nroot.IOPort.I0.Output.Name=Doorbell\nroot.IOPort.I0.Output.Active=closed\nroot.IOPort.I1.Configurable=yes\nroot.IOPort.I1.Direction=output\nroot.IOPort.I1.Output.Name=\nroot.IOPort.I1.Output.Active=open\n][switch.home_relay_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'home Relay 1', + : 'outlet', + : 'home Relay 1', }), 'context': , 'entity_id': 'switch.home_relay_1', @@ -141,8 +141,8 @@ # name: test_switches_with_port_management[port_management_payload0-api_discovery_items0][switch.home_doorbell-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'home Doorbell', + : 'outlet', + : 'home Doorbell', }), 'context': , 'entity_id': 'switch.home_doorbell', @@ -192,8 +192,8 @@ # name: test_switches_with_port_management[port_management_payload0-api_discovery_items0][switch.home_relay_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'home Relay 1', + : 'outlet', + : 'home Relay 1', }), 'context': , 'entity_id': 'switch.home_relay_1', diff --git a/tests/components/azure_devops/snapshots/test_sensor.ambr b/tests/components/azure_devops/snapshots/test_sensor.ambr index 50e231f0a5e..2dfb061193a 100644 --- a/tests/components/azure_devops/snapshots/test_sensor.ambr +++ b/tests/components/azure_devops/snapshots/test_sensor.ambr @@ -42,7 +42,7 @@ 'definition_id': 9876, 'definition_name': 'CI', 'finish_time': '2021-01-01T00:00:00Z', - 'friendly_name': 'testproject CI latest build', + : 'testproject CI latest build', 'id': 5678, 'queue_time': '2021-01-01T00:00:00Z', 'reason': 'manual', @@ -101,8 +101,8 @@ # name: test_sensors[sensor.testproject_ci_latest_build_finish_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'testproject CI latest build finish time', + : 'timestamp', + : 'testproject CI latest build finish time', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_finish_time', @@ -152,7 +152,7 @@ # name: test_sensors[sensor.testproject_ci_latest_build_id-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build ID', + : 'testproject CI latest build ID', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_id', @@ -202,8 +202,8 @@ # name: test_sensors[sensor.testproject_ci_latest_build_queue_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'testproject CI latest build queue time', + : 'timestamp', + : 'testproject CI latest build queue time', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_queue_time', @@ -253,7 +253,7 @@ # name: test_sensors[sensor.testproject_ci_latest_build_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build reason', + : 'testproject CI latest build reason', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_reason', @@ -303,7 +303,7 @@ # name: test_sensors[sensor.testproject_ci_latest_build_result-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build result', + : 'testproject CI latest build result', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_result', @@ -353,7 +353,7 @@ # name: test_sensors[sensor.testproject_ci_latest_build_source_branch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build source branch', + : 'testproject CI latest build source branch', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_source_branch', @@ -403,7 +403,7 @@ # name: test_sensors[sensor.testproject_ci_latest_build_source_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build source version', + : 'testproject CI latest build source version', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_source_version', @@ -453,8 +453,8 @@ # name: test_sensors[sensor.testproject_ci_latest_build_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'testproject CI latest build start time', + : 'timestamp', + : 'testproject CI latest build start time', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_start_time', @@ -504,7 +504,7 @@ # name: test_sensors[sensor.testproject_ci_latest_build_url-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build URL', + : 'testproject CI latest build URL', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_url', @@ -520,7 +520,7 @@ 'definition_id': 9876, 'definition_name': 'CI', 'finish_time': None, - 'friendly_name': 'testproject CI latest build', + : 'testproject CI latest build', 'id': 6789, 'queue_time': None, 'reason': None, @@ -542,8 +542,8 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_finish_time-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'testproject CI latest build finish time', + : 'timestamp', + : 'testproject CI latest build finish time', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_finish_time', @@ -556,7 +556,7 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_id-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build ID', + : 'testproject CI latest build ID', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_id', @@ -569,8 +569,8 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_queue_time-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'testproject CI latest build queue time', + : 'timestamp', + : 'testproject CI latest build queue time', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_queue_time', @@ -583,7 +583,7 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_reason-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build reason', + : 'testproject CI latest build reason', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_reason', @@ -596,7 +596,7 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_result-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build result', + : 'testproject CI latest build result', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_result', @@ -609,7 +609,7 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_source_branch-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build source branch', + : 'testproject CI latest build source branch', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_source_branch', @@ -622,7 +622,7 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_source_version-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build source version', + : 'testproject CI latest build source version', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_source_version', @@ -635,8 +635,8 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_start_time-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'testproject CI latest build start time', + : 'timestamp', + : 'testproject CI latest build start time', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_start_time', @@ -649,7 +649,7 @@ # name: test_sensors_missing_data[sensor.testproject_ci_latest_build_url-state-missing-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testproject CI latest build URL', + : 'testproject CI latest build URL', }), 'context': , 'entity_id': 'sensor.testproject_ci_latest_build_url', diff --git a/tests/components/backup/snapshots/test_event.ambr b/tests/components/backup/snapshots/test_event.ambr index 4e4aeee668d..5df9aad633a 100644 --- a/tests/components/backup/snapshots/test_event.ambr +++ b/tests/components/backup/snapshots/test_event.ambr @@ -51,7 +51,7 @@ 'failed', 'in_progress', ]), - 'friendly_name': 'Backup Automatic backup', + : 'Backup Automatic backup', }), 'context': , 'entity_id': 'event.backup_automatic_backup', diff --git a/tests/components/backup/snapshots/test_sensors.ambr b/tests/components/backup/snapshots/test_sensors.ambr index 3aa230dd19d..46652860a41 100644 --- a/tests/components/backup/snapshots/test_sensors.ambr +++ b/tests/components/backup/snapshots/test_sensors.ambr @@ -47,8 +47,8 @@ # name: test_sensors[sensor.backup_backup_manager_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Backup Backup Manager state', + : 'enum', + : 'Backup Backup Manager state', : list([ 'idle', 'create_backup', @@ -105,8 +105,8 @@ # name: test_sensors[sensor.backup_last_attempted_automatic_backup-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Backup Last attempted automatic backup', + : 'timestamp', + : 'Backup Last attempted automatic backup', }), 'context': , 'entity_id': 'sensor.backup_last_attempted_automatic_backup', @@ -156,8 +156,8 @@ # name: test_sensors[sensor.backup_last_successful_automatic_backup-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Backup Last successful automatic backup', + : 'timestamp', + : 'Backup Last successful automatic backup', }), 'context': , 'entity_id': 'sensor.backup_last_successful_automatic_backup', @@ -207,8 +207,8 @@ # name: test_sensors[sensor.backup_next_scheduled_automatic_backup-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Backup Next scheduled automatic backup', + : 'timestamp', + : 'Backup Next scheduled automatic backup', }), 'context': , 'entity_id': 'sensor.backup_next_scheduled_automatic_backup', diff --git a/tests/components/balboa/snapshots/test_binary_sensor.ambr b/tests/components/balboa/snapshots/test_binary_sensor.ambr index e6c504f1a2a..227e21c3946 100644 --- a/tests/components/balboa/snapshots/test_binary_sensor.ambr +++ b/tests/components/balboa/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.fakespa_circulation_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'FakeSpa Circulation pump', + : 'running', + : 'FakeSpa Circulation pump', }), 'context': , 'entity_id': 'binary_sensor.fakespa_circulation_pump', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.fakespa_filter_cycle_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'FakeSpa Filter cycle 1', + : 'running', + : 'FakeSpa Filter cycle 1', }), 'context': , 'entity_id': 'binary_sensor.fakespa_filter_cycle_1', @@ -141,8 +141,8 @@ # name: test_binary_sensors[binary_sensor.fakespa_filter_cycle_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'FakeSpa Filter cycle 2', + : 'running', + : 'FakeSpa Filter cycle 2', }), 'context': , 'entity_id': 'binary_sensor.fakespa_filter_cycle_2', diff --git a/tests/components/balboa/snapshots/test_climate.ambr b/tests/components/balboa/snapshots/test_climate.ambr index 55fe90e947f..190f9cba13d 100644 --- a/tests/components/balboa/snapshots/test_climate.ambr +++ b/tests/components/balboa/snapshots/test_climate.ambr @@ -51,7 +51,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 10.0, - 'friendly_name': 'FakeSpa', + : 'FakeSpa', : , : list([ , @@ -64,7 +64,7 @@ 'ready', 'rest', ]), - 'supported_features': , + : , : 40.0, }), 'context': , diff --git a/tests/components/balboa/snapshots/test_event.ambr b/tests/components/balboa/snapshots/test_event.ambr index 80db530ad3b..bbf7107da3d 100644 --- a/tests/components/balboa/snapshots/test_event.ambr +++ b/tests/components/balboa/snapshots/test_event.ambr @@ -81,7 +81,7 @@ 'standby_mode', 'water_too_hot', ]), - 'friendly_name': 'FakeSpa Fault', + : 'FakeSpa Fault', }), 'context': , 'entity_id': 'event.fakespa_fault', diff --git a/tests/components/balboa/snapshots/test_fan.ambr b/tests/components/balboa/snapshots/test_fan.ambr index 018bcf54305..84e0522730a 100644 --- a/tests/components/balboa/snapshots/test_fan.ambr +++ b/tests/components/balboa/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_fan[fan.fakespa_pump_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FakeSpa Pump 1', + : 'FakeSpa Pump 1', : 0, : 50.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.fakespa_pump_1', diff --git a/tests/components/balboa/snapshots/test_light.ambr b/tests/components/balboa/snapshots/test_light.ambr index 0f4d646cd03..bd74da48907 100644 --- a/tests/components/balboa/snapshots/test_light.ambr +++ b/tests/components/balboa/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'FakeSpa Light', + : 'FakeSpa Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.fakespa_light', diff --git a/tests/components/balboa/snapshots/test_select.ambr b/tests/components/balboa/snapshots/test_select.ambr index 9e23955cd3d..79fa24ab3ce 100644 --- a/tests/components/balboa/snapshots/test_select.ambr +++ b/tests/components/balboa/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_selects[select.fakespa_temperature_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FakeSpa Temperature range', + : 'FakeSpa Temperature range', : list([ 'low', 'high', diff --git a/tests/components/balboa/snapshots/test_switch.ambr b/tests/components/balboa/snapshots/test_switch.ambr index c57136faeb8..4851de6227c 100644 --- a/tests/components/balboa/snapshots/test_switch.ambr +++ b/tests/components/balboa/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.fakespa_filter_cycle_2_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FakeSpa Filter cycle 2 enabled', + : 'FakeSpa Filter cycle 2 enabled', }), 'context': , 'entity_id': 'switch.fakespa_filter_cycle_2_enabled', diff --git a/tests/components/balboa/snapshots/test_time.ambr b/tests/components/balboa/snapshots/test_time.ambr index 8f6a73463ff..1dbacd771fd 100644 --- a/tests/components/balboa/snapshots/test_time.ambr +++ b/tests/components/balboa/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_times[time.fakespa_filter_cycle_1_end-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FakeSpa Filter cycle 1 end', + : 'FakeSpa Filter cycle 1 end', }), 'context': , 'entity_id': 'time.fakespa_filter_cycle_1_end', @@ -89,7 +89,7 @@ # name: test_times[time.fakespa_filter_cycle_1_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FakeSpa Filter cycle 1 start', + : 'FakeSpa Filter cycle 1 start', }), 'context': , 'entity_id': 'time.fakespa_filter_cycle_1_start', @@ -139,7 +139,7 @@ # name: test_times[time.fakespa_filter_cycle_2_end-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FakeSpa Filter cycle 2 end', + : 'FakeSpa Filter cycle 2 end', }), 'context': , 'entity_id': 'time.fakespa_filter_cycle_2_end', @@ -189,7 +189,7 @@ # name: test_times[time.fakespa_filter_cycle_2_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FakeSpa Filter cycle 2 start', + : 'FakeSpa Filter cycle 2 start', }), 'context': , 'entity_id': 'time.fakespa_filter_cycle_2_start', diff --git a/tests/components/bang_olufsen/snapshots/test_media_player.ambr b/tests/components/bang_olufsen/snapshots/test_media_player.ambr index 0ab4da22cb5..f918edcfcca 100644 --- a/tests/components/bang_olufsen/snapshots/test_media_player.ambr +++ b/tests/components/bang_olufsen/snapshots/test_media_player.ambr @@ -15,9 +15,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -37,7 +37,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -63,9 +63,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -86,7 +86,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -112,9 +112,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -135,7 +135,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -161,9 +161,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -184,7 +184,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -210,9 +210,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -233,7 +233,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -259,9 +259,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -281,7 +281,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -307,9 +307,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -329,7 +329,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -355,9 +355,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -377,7 +377,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -403,9 +403,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -425,7 +425,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -451,9 +451,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -473,7 +473,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -499,9 +499,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -521,7 +521,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -547,9 +547,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -569,7 +569,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -595,9 +595,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -618,7 +618,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -644,9 +644,9 @@ 'Living room Balance': '1111.1111111.22222222@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.laundry_room_core', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -666,7 +666,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , : 0.0, }), 'context': , @@ -693,9 +693,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -716,7 +716,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -742,9 +742,9 @@ 'Living room Balance': '1111.1111111.22222222@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.laundry_room_core', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -764,7 +764,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , : 0.0, }), 'context': , @@ -791,9 +791,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -815,7 +815,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -841,9 +841,9 @@ 'Living room Balance': '1111.1111111.22222222@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.laundry_room_core', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -863,7 +863,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , : 0.0, }), 'context': , @@ -890,9 +890,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -913,7 +913,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -939,9 +939,9 @@ 'Living room Balance': '1111.1111111.22222222@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.laundry_room_core', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -961,7 +961,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , : 0.0, }), 'context': , @@ -988,9 +988,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.living_room_balance', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -1010,7 +1010,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -1035,9 +1035,9 @@ 'Living room Balance': '1111.1111111.11111111@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.laundry_room_core', 'media_player.living_room_balance', @@ -1056,7 +1056,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.living_room_balance', @@ -1082,9 +1082,9 @@ 'Living room Balance': '1111.1111111.22222222@products.bang-olufsen.com', }), }), - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Living room Balance', + : 'Living room Balance', : list([ 'media_player.laundry_room_core', 'listener_not_in_hass-1111.1111111.33333333@products.bang-olufsen.com', @@ -1104,7 +1104,7 @@ 'Line-In', 'HDMI A', ]), - 'supported_features': , + : , : 0.0, }), 'context': , diff --git a/tests/components/blue_current/snapshots/test_button.ambr b/tests/components/blue_current/snapshots/test_button.ambr index f1553993424..78079eb211a 100644 --- a/tests/components/blue_current/snapshots/test_button.ambr +++ b/tests/components/blue_current/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_buttons_created[button.101_reboot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': '101 Reboot', + : 'restart', + : '101 Reboot', }), 'context': , 'entity_id': 'button.101_reboot', @@ -90,8 +90,8 @@ # name: test_buttons_created[button.101_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': '101 Reset', + : 'restart', + : '101 Reset', }), 'context': , 'entity_id': 'button.101_reset', @@ -141,7 +141,7 @@ # name: test_buttons_created[button.101_stop_charge_session-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '101 Stop charge session', + : '101 Stop charge session', }), 'context': , 'entity_id': 'button.101_stop_charge_session', diff --git a/tests/components/bluemaestro/snapshots/test_sensor.ambr b/tests/components/bluemaestro/snapshots/test_sensor.ambr index 1980f898d78..7c2ca84ecf1 100644 --- a/tests/components/bluemaestro/snapshots/test_sensor.ambr +++ b/tests/components/bluemaestro/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.tempo_disc_thd_eeff_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Tempo Disc THD EEFF Battery', + : 'battery', + : 'Tempo Disc THD EEFF Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.tempo_disc_thd_eeff_battery', @@ -99,10 +99,10 @@ # name: test_sensors[sensor.tempo_disc_thd_eeff_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tempo Disc THD EEFF Dew point', + : 'temperature', + : 'Tempo Disc THD EEFF Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tempo_disc_thd_eeff_dew_point', @@ -154,10 +154,10 @@ # name: test_sensors[sensor.tempo_disc_thd_eeff_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Tempo Disc THD EEFF Humidity', + : 'humidity', + : 'Tempo Disc THD EEFF Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.tempo_disc_thd_eeff_humidity', @@ -209,10 +209,10 @@ # name: test_sensors[sensor.tempo_disc_thd_eeff_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Tempo Disc THD EEFF Signal strength', + : 'signal_strength', + : 'Tempo Disc THD EEFF Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.tempo_disc_thd_eeff_signal_strength', @@ -267,10 +267,10 @@ # name: test_sensors[sensor.tempo_disc_thd_eeff_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tempo Disc THD EEFF Temperature', + : 'temperature', + : 'Tempo Disc THD EEFF Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tempo_disc_thd_eeff_temperature', diff --git a/tests/components/bluesound/snapshots/test_media_player.ambr b/tests/components/bluesound/snapshots/test_media_player.ambr index d30a970a0a9..a997b4c036a 100644 --- a/tests/components/bluesound/snapshots/test_media_player.ambr +++ b/tests/components/bluesound/snapshots/test_media_player.ambr @@ -2,7 +2,7 @@ # name: test_attributes_set StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'player-name1111', + : 'player-name1111', : None, : False, 'master': False, @@ -20,7 +20,7 @@ 'input3', '4', ]), - 'supported_features': , + : , : 0.1, }), 'context': , diff --git a/tests/components/bosch_alarm/snapshots/test_alarm_control_panel.ambr b/tests/components/bosch_alarm/snapshots/test_alarm_control_panel.ambr index ea9938d95ea..47809295cad 100644 --- a/tests/components/bosch_alarm/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/bosch_alarm/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : None, : False, : None, - 'friendly_name': 'Area1', - 'supported_features': , + : 'Area1', + : , }), 'context': , 'entity_id': 'alarm_control_panel.area1', @@ -96,8 +96,8 @@ : None, : False, : None, - 'friendly_name': 'Area1', - 'supported_features': , + : 'Area1', + : , }), 'context': , 'entity_id': 'alarm_control_panel.area1', @@ -150,8 +150,8 @@ : None, : False, : None, - 'friendly_name': 'Area1', - 'supported_features': , + : 'Area1', + : , }), 'context': , 'entity_id': 'alarm_control_panel.area1', diff --git a/tests/components/bosch_alarm/snapshots/test_binary_sensor.ambr b/tests/components/bosch_alarm/snapshots/test_binary_sensor.ambr index a4011dbdb42..84b4fd9cb5f 100644 --- a/tests/components/bosch_alarm/snapshots/test_binary_sensor.ambr +++ b/tests/components/bosch_alarm/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.area1_area_ready_to_arm_away-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Area ready to arm away', + : 'Area1 Area ready to arm away', }), 'context': , 'entity_id': 'binary_sensor.area1_area_ready_to_arm_away', @@ -89,7 +89,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.area1_area_ready_to_arm_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Area ready to arm home', + : 'Area1 Area ready to arm home', }), 'context': , 'entity_id': 'binary_sensor.area1_area_ready_to_arm_home', @@ -139,7 +139,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bedroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom', + : 'Bedroom', }), 'context': , 'entity_id': 'binary_sensor.bedroom', @@ -189,8 +189,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_ac_failure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 AC failure', + : 'problem', + : 'Bosch AMAX 3000 AC failure', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_ac_failure', @@ -240,8 +240,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bosch AMAX 3000 Battery', + : 'battery', + : 'Bosch AMAX 3000 Battery', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_battery', @@ -291,8 +291,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_battery_missing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 Battery missing', + : 'problem', + : 'Bosch AMAX 3000 Battery missing', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_battery_missing', @@ -342,8 +342,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_crc_failure_in_panel_configuration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 CRC failure in panel configuration', + : 'problem', + : 'Bosch AMAX 3000 CRC failure in panel configuration', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_crc_failure_in_panel_configuration', @@ -393,7 +393,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_failure_to_call_rps_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bosch AMAX 3000 Failure to call RPS since last RPS connection', + : 'Bosch AMAX 3000 Failure to call RPS since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_failure_to_call_rps_since_last_rps_connection', @@ -443,8 +443,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_log_overflow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 Log overflow', + : 'problem', + : 'Bosch AMAX 3000 Log overflow', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_log_overflow', @@ -494,8 +494,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_log_threshold_reached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 Log threshold reached', + : 'problem', + : 'Bosch AMAX 3000 Log threshold reached', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_log_threshold_reached', @@ -545,8 +545,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_phone_line_failure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Bosch AMAX 3000 Phone line failure', + : 'connectivity', + : 'Bosch AMAX 3000 Phone line failure', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_phone_line_failure', @@ -596,8 +596,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_point_bus_failure_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 Point bus failure since last RPS connection', + : 'problem', + : 'Bosch AMAX 3000 Point bus failure since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_point_bus_failure_since_last_rps_connection', @@ -647,8 +647,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 Problem', + : 'problem', + : 'Bosch AMAX 3000 Problem', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_problem', @@ -698,8 +698,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_sdi_failure_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 SDI failure since last RPS connection', + : 'problem', + : 'Bosch AMAX 3000 SDI failure since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_sdi_failure_since_last_rps_connection', @@ -749,8 +749,8 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.bosch_amax_3000_user_code_tamper_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch AMAX 3000 User code tamper since last RPS connection', + : 'problem', + : 'Bosch AMAX 3000 User code tamper since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_amax_3000_user_code_tamper_since_last_rps_connection', @@ -800,7 +800,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.co_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CO Detector', + : 'CO Detector', }), 'context': , 'entity_id': 'binary_sensor.co_detector', @@ -850,7 +850,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Door', + : 'Door', }), 'context': , 'entity_id': 'binary_sensor.door', @@ -900,7 +900,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.glassbreak_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Glassbreak Sensor', + : 'Glassbreak Sensor', }), 'context': , 'entity_id': 'binary_sensor.glassbreak_sensor', @@ -950,7 +950,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.motion_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Motion Detector', + : 'Motion Detector', }), 'context': , 'entity_id': 'binary_sensor.motion_detector', @@ -1000,7 +1000,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.smoke_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke Detector', + : 'Smoke Detector', }), 'context': , 'entity_id': 'binary_sensor.smoke_detector', @@ -1050,7 +1050,7 @@ # name: test_binary_sensor[amax_3000-None][binary_sensor.window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Window', + : 'Window', }), 'context': , 'entity_id': 'binary_sensor.window', @@ -1100,7 +1100,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.area1_area_ready_to_arm_away-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Area ready to arm away', + : 'Area1 Area ready to arm away', }), 'context': , 'entity_id': 'binary_sensor.area1_area_ready_to_arm_away', @@ -1150,7 +1150,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.area1_area_ready_to_arm_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Area ready to arm home', + : 'Area1 Area ready to arm home', }), 'context': , 'entity_id': 'binary_sensor.area1_area_ready_to_arm_home', @@ -1200,7 +1200,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bedroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom', + : 'Bedroom', }), 'context': , 'entity_id': 'binary_sensor.bedroom', @@ -1250,8 +1250,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_ac_failure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) AC failure', + : 'problem', + : 'Bosch B5512 (US1B) AC failure', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_ac_failure', @@ -1301,8 +1301,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bosch B5512 (US1B) Battery', + : 'battery', + : 'Bosch B5512 (US1B) Battery', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_battery', @@ -1352,8 +1352,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_battery_missing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) Battery missing', + : 'problem', + : 'Bosch B5512 (US1B) Battery missing', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_battery_missing', @@ -1403,8 +1403,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_crc_failure_in_panel_configuration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) CRC failure in panel configuration', + : 'problem', + : 'Bosch B5512 (US1B) CRC failure in panel configuration', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_crc_failure_in_panel_configuration', @@ -1454,7 +1454,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_failure_to_call_rps_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bosch B5512 (US1B) Failure to call RPS since last RPS connection', + : 'Bosch B5512 (US1B) Failure to call RPS since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_failure_to_call_rps_since_last_rps_connection', @@ -1504,8 +1504,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_log_overflow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) Log overflow', + : 'problem', + : 'Bosch B5512 (US1B) Log overflow', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_log_overflow', @@ -1555,8 +1555,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_log_threshold_reached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) Log threshold reached', + : 'problem', + : 'Bosch B5512 (US1B) Log threshold reached', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_log_threshold_reached', @@ -1606,8 +1606,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_phone_line_failure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Bosch B5512 (US1B) Phone line failure', + : 'connectivity', + : 'Bosch B5512 (US1B) Phone line failure', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_phone_line_failure', @@ -1657,8 +1657,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_point_bus_failure_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) Point bus failure since last RPS connection', + : 'problem', + : 'Bosch B5512 (US1B) Point bus failure since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_point_bus_failure_since_last_rps_connection', @@ -1708,8 +1708,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) Problem', + : 'problem', + : 'Bosch B5512 (US1B) Problem', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_problem', @@ -1759,8 +1759,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_sdi_failure_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) SDI failure since last RPS connection', + : 'problem', + : 'Bosch B5512 (US1B) SDI failure since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_sdi_failure_since_last_rps_connection', @@ -1810,8 +1810,8 @@ # name: test_binary_sensor[b5512-None][binary_sensor.bosch_b5512_us1b_user_code_tamper_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch B5512 (US1B) User code tamper since last RPS connection', + : 'problem', + : 'Bosch B5512 (US1B) User code tamper since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_b5512_us1b_user_code_tamper_since_last_rps_connection', @@ -1861,7 +1861,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.co_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CO Detector', + : 'CO Detector', }), 'context': , 'entity_id': 'binary_sensor.co_detector', @@ -1911,7 +1911,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Door', + : 'Door', }), 'context': , 'entity_id': 'binary_sensor.door', @@ -1961,7 +1961,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.glassbreak_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Glassbreak Sensor', + : 'Glassbreak Sensor', }), 'context': , 'entity_id': 'binary_sensor.glassbreak_sensor', @@ -2011,7 +2011,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.motion_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Motion Detector', + : 'Motion Detector', }), 'context': , 'entity_id': 'binary_sensor.motion_detector', @@ -2061,7 +2061,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.smoke_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke Detector', + : 'Smoke Detector', }), 'context': , 'entity_id': 'binary_sensor.smoke_detector', @@ -2111,7 +2111,7 @@ # name: test_binary_sensor[b5512-None][binary_sensor.window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Window', + : 'Window', }), 'context': , 'entity_id': 'binary_sensor.window', @@ -2161,7 +2161,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.area1_area_ready_to_arm_away-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Area ready to arm away', + : 'Area1 Area ready to arm away', }), 'context': , 'entity_id': 'binary_sensor.area1_area_ready_to_arm_away', @@ -2211,7 +2211,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.area1_area_ready_to_arm_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Area ready to arm home', + : 'Area1 Area ready to arm home', }), 'context': , 'entity_id': 'binary_sensor.area1_area_ready_to_arm_home', @@ -2261,7 +2261,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bedroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom', + : 'Bedroom', }), 'context': , 'entity_id': 'binary_sensor.bedroom', @@ -2311,8 +2311,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_ac_failure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 AC failure', + : 'problem', + : 'Bosch Solution 3000 AC failure', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_ac_failure', @@ -2362,8 +2362,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bosch Solution 3000 Battery', + : 'battery', + : 'Bosch Solution 3000 Battery', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_battery', @@ -2413,8 +2413,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_battery_missing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 Battery missing', + : 'problem', + : 'Bosch Solution 3000 Battery missing', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_battery_missing', @@ -2464,8 +2464,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_crc_failure_in_panel_configuration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 CRC failure in panel configuration', + : 'problem', + : 'Bosch Solution 3000 CRC failure in panel configuration', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_crc_failure_in_panel_configuration', @@ -2515,7 +2515,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_failure_to_call_rps_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bosch Solution 3000 Failure to call RPS since last RPS connection', + : 'Bosch Solution 3000 Failure to call RPS since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_failure_to_call_rps_since_last_rps_connection', @@ -2565,8 +2565,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_log_overflow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 Log overflow', + : 'problem', + : 'Bosch Solution 3000 Log overflow', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_log_overflow', @@ -2616,8 +2616,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_log_threshold_reached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 Log threshold reached', + : 'problem', + : 'Bosch Solution 3000 Log threshold reached', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_log_threshold_reached', @@ -2667,8 +2667,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_phone_line_failure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Bosch Solution 3000 Phone line failure', + : 'connectivity', + : 'Bosch Solution 3000 Phone line failure', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_phone_line_failure', @@ -2718,8 +2718,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_point_bus_failure_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 Point bus failure since last RPS connection', + : 'problem', + : 'Bosch Solution 3000 Point bus failure since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_point_bus_failure_since_last_rps_connection', @@ -2769,8 +2769,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 Problem', + : 'problem', + : 'Bosch Solution 3000 Problem', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_problem', @@ -2820,8 +2820,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_sdi_failure_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 SDI failure since last RPS connection', + : 'problem', + : 'Bosch Solution 3000 SDI failure since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_sdi_failure_since_last_rps_connection', @@ -2871,8 +2871,8 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.bosch_solution_3000_user_code_tamper_since_last_rps_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bosch Solution 3000 User code tamper since last RPS connection', + : 'problem', + : 'Bosch Solution 3000 User code tamper since last RPS connection', }), 'context': , 'entity_id': 'binary_sensor.bosch_solution_3000_user_code_tamper_since_last_rps_connection', @@ -2922,7 +2922,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.co_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CO Detector', + : 'CO Detector', }), 'context': , 'entity_id': 'binary_sensor.co_detector', @@ -2972,7 +2972,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Door', + : 'Door', }), 'context': , 'entity_id': 'binary_sensor.door', @@ -3022,7 +3022,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.glassbreak_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Glassbreak Sensor', + : 'Glassbreak Sensor', }), 'context': , 'entity_id': 'binary_sensor.glassbreak_sensor', @@ -3072,7 +3072,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.motion_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Motion Detector', + : 'Motion Detector', }), 'context': , 'entity_id': 'binary_sensor.motion_detector', @@ -3122,7 +3122,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.smoke_detector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke Detector', + : 'Smoke Detector', }), 'context': , 'entity_id': 'binary_sensor.smoke_detector', @@ -3172,7 +3172,7 @@ # name: test_binary_sensor[solution_3000-None][binary_sensor.window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Window', + : 'Window', }), 'context': , 'entity_id': 'binary_sensor.window', diff --git a/tests/components/bosch_alarm/snapshots/test_sensor.ambr b/tests/components/bosch_alarm/snapshots/test_sensor.ambr index 7a673538cf8..69eb631c481 100644 --- a/tests/components/bosch_alarm/snapshots/test_sensor.ambr +++ b/tests/components/bosch_alarm/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensor[amax_3000-None][sensor.area1_burglary_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Burglary alarm issues', + : 'Area1 Burglary alarm issues', }), 'context': , 'entity_id': 'sensor.area1_burglary_alarm_issues', @@ -89,8 +89,8 @@ # name: test_sensor[amax_3000-None][sensor.area1_faulting_points-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Faulting points', - 'unit_of_measurement': 'points', + : 'Area1 Faulting points', + : 'points', }), 'context': , 'entity_id': 'sensor.area1_faulting_points', @@ -140,7 +140,7 @@ # name: test_sensor[amax_3000-None][sensor.area1_fire_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Fire alarm issues', + : 'Area1 Fire alarm issues', }), 'context': , 'entity_id': 'sensor.area1_fire_alarm_issues', @@ -190,7 +190,7 @@ # name: test_sensor[amax_3000-None][sensor.area1_gas_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Gas alarm issues', + : 'Area1 Gas alarm issues', }), 'context': , 'entity_id': 'sensor.area1_gas_alarm_issues', @@ -240,7 +240,7 @@ # name: test_sensor[b5512-None][sensor.area1_burglary_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Burglary alarm issues', + : 'Area1 Burglary alarm issues', }), 'context': , 'entity_id': 'sensor.area1_burglary_alarm_issues', @@ -290,8 +290,8 @@ # name: test_sensor[b5512-None][sensor.area1_faulting_points-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Faulting points', - 'unit_of_measurement': 'points', + : 'Area1 Faulting points', + : 'points', }), 'context': , 'entity_id': 'sensor.area1_faulting_points', @@ -341,7 +341,7 @@ # name: test_sensor[b5512-None][sensor.area1_fire_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Fire alarm issues', + : 'Area1 Fire alarm issues', }), 'context': , 'entity_id': 'sensor.area1_fire_alarm_issues', @@ -391,7 +391,7 @@ # name: test_sensor[b5512-None][sensor.area1_gas_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Gas alarm issues', + : 'Area1 Gas alarm issues', }), 'context': , 'entity_id': 'sensor.area1_gas_alarm_issues', @@ -441,7 +441,7 @@ # name: test_sensor[solution_3000-None][sensor.area1_burglary_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Burglary alarm issues', + : 'Area1 Burglary alarm issues', }), 'context': , 'entity_id': 'sensor.area1_burglary_alarm_issues', @@ -491,8 +491,8 @@ # name: test_sensor[solution_3000-None][sensor.area1_faulting_points-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Faulting points', - 'unit_of_measurement': 'points', + : 'Area1 Faulting points', + : 'points', }), 'context': , 'entity_id': 'sensor.area1_faulting_points', @@ -542,7 +542,7 @@ # name: test_sensor[solution_3000-None][sensor.area1_fire_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Fire alarm issues', + : 'Area1 Fire alarm issues', }), 'context': , 'entity_id': 'sensor.area1_fire_alarm_issues', @@ -592,7 +592,7 @@ # name: test_sensor[solution_3000-None][sensor.area1_gas_alarm_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Area1 Gas alarm issues', + : 'Area1 Gas alarm issues', }), 'context': , 'entity_id': 'sensor.area1_gas_alarm_issues', diff --git a/tests/components/bosch_alarm/snapshots/test_switch.ambr b/tests/components/bosch_alarm/snapshots/test_switch.ambr index 3f83fecd140..cde5c89dfda 100644 --- a/tests/components/bosch_alarm/snapshots/test_switch.ambr +++ b/tests/components/bosch_alarm/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch[amax_3000-None][switch.main_door_locked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Locked', + : 'Main Door Locked', }), 'context': , 'entity_id': 'switch.main_door_locked', @@ -89,7 +89,7 @@ # name: test_switch[amax_3000-None][switch.main_door_momentarily_unlocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Momentarily unlocked', + : 'Main Door Momentarily unlocked', }), 'context': , 'entity_id': 'switch.main_door_momentarily_unlocked', @@ -139,7 +139,7 @@ # name: test_switch[amax_3000-None][switch.main_door_secured-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Secured', + : 'Main Door Secured', }), 'context': , 'entity_id': 'switch.main_door_secured', @@ -189,7 +189,7 @@ # name: test_switch[amax_3000-None][switch.output_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Output A', + : 'Output A', }), 'context': , 'entity_id': 'switch.output_a', @@ -239,7 +239,7 @@ # name: test_switch[b5512-None][switch.main_door_locked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Locked', + : 'Main Door Locked', }), 'context': , 'entity_id': 'switch.main_door_locked', @@ -289,7 +289,7 @@ # name: test_switch[b5512-None][switch.main_door_momentarily_unlocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Momentarily unlocked', + : 'Main Door Momentarily unlocked', }), 'context': , 'entity_id': 'switch.main_door_momentarily_unlocked', @@ -339,7 +339,7 @@ # name: test_switch[b5512-None][switch.main_door_secured-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Secured', + : 'Main Door Secured', }), 'context': , 'entity_id': 'switch.main_door_secured', @@ -389,7 +389,7 @@ # name: test_switch[b5512-None][switch.output_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Output A', + : 'Output A', }), 'context': , 'entity_id': 'switch.output_a', @@ -439,7 +439,7 @@ # name: test_switch[solution_3000-None][switch.main_door_locked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Locked', + : 'Main Door Locked', }), 'context': , 'entity_id': 'switch.main_door_locked', @@ -489,7 +489,7 @@ # name: test_switch[solution_3000-None][switch.main_door_momentarily_unlocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Momentarily unlocked', + : 'Main Door Momentarily unlocked', }), 'context': , 'entity_id': 'switch.main_door_momentarily_unlocked', @@ -539,7 +539,7 @@ # name: test_switch[solution_3000-None][switch.main_door_secured-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Door Secured', + : 'Main Door Secured', }), 'context': , 'entity_id': 'switch.main_door_secured', @@ -589,7 +589,7 @@ # name: test_switch[solution_3000-None][switch.output_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Output A', + : 'Output A', }), 'context': , 'entity_id': 'switch.output_a', diff --git a/tests/components/bring/snapshots/test_event.ambr b/tests/components/bring/snapshots/test_event.ambr index 150428f4d67..17a3e3b8516 100644 --- a/tests/components/bring/snapshots/test_event.ambr +++ b/tests/components/bring/snapshots/test_event.ambr @@ -45,14 +45,14 @@ # name: test_setup[event.baumarkt_activities-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://api.getbring.com/rest/v2/bringusers/profilepictures/9a21fdfc-63a4-441a-afc1-ef3030605a9d', + : 'https://api.getbring.com/rest/v2/bringusers/profilepictures/9a21fdfc-63a4-441a-afc1-ef3030605a9d', : 'list_items_changed', : list([ 'list_items_changed', 'list_items_added', 'list_items_removed', ]), - 'friendly_name': 'Baumarkt Activities', + : 'Baumarkt Activities', 'items': list([ ]), 'last_activity_by': 'Bring', @@ -132,14 +132,14 @@ # name: test_setup[event.einkauf_activities-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://api.getbring.com/rest/v2/bringusers/profilepictures/9a21fdfc-63a4-441a-afc1-ef3030605a9d', + : 'https://api.getbring.com/rest/v2/bringusers/profilepictures/9a21fdfc-63a4-441a-afc1-ef3030605a9d', : 'list_items_changed', : list([ 'list_items_changed', 'list_items_added', 'list_items_removed', ]), - 'friendly_name': 'Einkauf Activities', + : 'Einkauf Activities', 'items': list([ ]), 'last_activity_by': 'Bring', diff --git a/tests/components/bring/snapshots/test_sensor.ambr b/tests/components/bring/snapshots/test_sensor.ambr index 070a95e2107..6481fc90f9e 100644 --- a/tests/components/bring/snapshots/test_sensor.ambr +++ b/tests/components/bring/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup[sensor.baumarkt_discount_only-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Baumarkt Discount only', - 'unit_of_measurement': 'items', + : 'Baumarkt Discount only', + : 'items', }), 'context': , 'entity_id': 'sensor.baumarkt_discount_only', @@ -96,8 +96,8 @@ # name: test_setup[sensor.baumarkt_list_access-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Baumarkt List access', + : 'enum', + : 'Baumarkt List access', : list([ 'registered', 'shared', @@ -152,8 +152,8 @@ # name: test_setup[sensor.baumarkt_on_occasion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Baumarkt On occasion', - 'unit_of_measurement': 'items', + : 'Baumarkt On occasion', + : 'items', }), 'context': , 'entity_id': 'sensor.baumarkt_on_occasion', @@ -226,8 +226,8 @@ # name: test_setup[sensor.baumarkt_region_language-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Baumarkt Region & language', + : 'enum', + : 'Baumarkt Region & language', : list([ 'de-at', 'de-ch', @@ -299,8 +299,8 @@ # name: test_setup[sensor.baumarkt_urgent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Baumarkt Urgent', - 'unit_of_measurement': 'items', + : 'Baumarkt Urgent', + : 'items', }), 'context': , 'entity_id': 'sensor.baumarkt_urgent', @@ -350,8 +350,8 @@ # name: test_setup[sensor.einkauf_discount_only-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Einkauf Discount only', - 'unit_of_measurement': 'items', + : 'Einkauf Discount only', + : 'items', }), 'context': , 'entity_id': 'sensor.einkauf_discount_only', @@ -407,8 +407,8 @@ # name: test_setup[sensor.einkauf_list_access-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Einkauf List access', + : 'enum', + : 'Einkauf List access', : list([ 'registered', 'shared', @@ -463,8 +463,8 @@ # name: test_setup[sensor.einkauf_on_occasion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Einkauf On occasion', - 'unit_of_measurement': 'items', + : 'Einkauf On occasion', + : 'items', }), 'context': , 'entity_id': 'sensor.einkauf_on_occasion', @@ -537,8 +537,8 @@ # name: test_setup[sensor.einkauf_region_language-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Einkauf Region & language', + : 'enum', + : 'Einkauf Region & language', : list([ 'de-at', 'de-ch', @@ -610,8 +610,8 @@ # name: test_setup[sensor.einkauf_urgent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Einkauf Urgent', - 'unit_of_measurement': 'items', + : 'Einkauf Urgent', + : 'items', }), 'context': , 'entity_id': 'sensor.einkauf_urgent', diff --git a/tests/components/bring/snapshots/test_todo.ambr b/tests/components/bring/snapshots/test_todo.ambr index 2db0c7f9be2..6c078ae8eeb 100644 --- a/tests/components/bring/snapshots/test_todo.ambr +++ b/tests/components/bring/snapshots/test_todo.ambr @@ -39,8 +39,8 @@ # name: test_todo[todo.baumarkt-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Baumarkt', - 'supported_features': , + : 'Baumarkt', + : , }), 'context': , 'entity_id': 'todo.baumarkt', @@ -90,8 +90,8 @@ # name: test_todo[todo.einkauf-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Einkauf', - 'supported_features': , + : 'Einkauf', + : , }), 'context': , 'entity_id': 'todo.einkauf', diff --git a/tests/components/brother/snapshots/test_sensor.ambr b/tests/components/brother/snapshots/test_sensor.ambr index 6b5edb0881c..5d703ca7524 100644 --- a/tests/components/brother/snapshots/test_sensor.ambr +++ b/tests/components/brother/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensors[sensor.hl_l2340dw_b_w_pages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW B/W pages', + : 'HL-L2340DW B/W pages', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_b_w_pages', @@ -95,9 +95,9 @@ # name: test_sensors[sensor.hl_l2340dw_belt_unit_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Belt unit remaining lifetime', + : 'HL-L2340DW Belt unit remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_belt_unit_remaining_lifetime', @@ -149,9 +149,9 @@ # name: test_sensors[sensor.hl_l2340dw_black_drum_page_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Black drum page counter', + : 'HL-L2340DW Black drum page counter', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_black_drum_page_counter', @@ -203,9 +203,9 @@ # name: test_sensors[sensor.hl_l2340dw_black_drum_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Black drum remaining lifetime', + : 'HL-L2340DW Black drum remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_black_drum_remaining_lifetime', @@ -257,9 +257,9 @@ # name: test_sensors[sensor.hl_l2340dw_black_drum_remaining_pages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Black drum remaining pages', + : 'HL-L2340DW Black drum remaining pages', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_black_drum_remaining_pages', @@ -311,9 +311,9 @@ # name: test_sensors[sensor.hl_l2340dw_black_toner_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Black toner remaining', + : 'HL-L2340DW Black toner remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_black_toner_remaining', @@ -365,9 +365,9 @@ # name: test_sensors[sensor.hl_l2340dw_color_pages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Color pages', + : 'HL-L2340DW Color pages', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_color_pages', @@ -419,9 +419,9 @@ # name: test_sensors[sensor.hl_l2340dw_cyan_drum_page_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Cyan drum page counter', + : 'HL-L2340DW Cyan drum page counter', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_cyan_drum_page_counter', @@ -473,9 +473,9 @@ # name: test_sensors[sensor.hl_l2340dw_cyan_drum_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Cyan drum remaining lifetime', + : 'HL-L2340DW Cyan drum remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_cyan_drum_remaining_lifetime', @@ -527,9 +527,9 @@ # name: test_sensors[sensor.hl_l2340dw_cyan_drum_remaining_pages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Cyan drum remaining pages', + : 'HL-L2340DW Cyan drum remaining pages', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_cyan_drum_remaining_pages', @@ -581,9 +581,9 @@ # name: test_sensors[sensor.hl_l2340dw_cyan_toner_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Cyan toner remaining', + : 'HL-L2340DW Cyan toner remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_cyan_toner_remaining', @@ -635,9 +635,9 @@ # name: test_sensors[sensor.hl_l2340dw_drum_page_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Drum page counter', + : 'HL-L2340DW Drum page counter', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_drum_page_counter', @@ -689,9 +689,9 @@ # name: test_sensors[sensor.hl_l2340dw_drum_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Drum remaining lifetime', + : 'HL-L2340DW Drum remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_drum_remaining_lifetime', @@ -743,9 +743,9 @@ # name: test_sensors[sensor.hl_l2340dw_drum_remaining_pages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Drum remaining pages', + : 'HL-L2340DW Drum remaining pages', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_drum_remaining_pages', @@ -797,9 +797,9 @@ # name: test_sensors[sensor.hl_l2340dw_duplex_unit_page_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Duplex unit page counter', + : 'HL-L2340DW Duplex unit page counter', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_duplex_unit_page_counter', @@ -851,9 +851,9 @@ # name: test_sensors[sensor.hl_l2340dw_fuser_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Fuser remaining lifetime', + : 'HL-L2340DW Fuser remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_fuser_remaining_lifetime', @@ -905,9 +905,9 @@ # name: test_sensors[sensor.hl_l2340dw_magenta_drum_page_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Magenta drum page counter', + : 'HL-L2340DW Magenta drum page counter', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_magenta_drum_page_counter', @@ -959,9 +959,9 @@ # name: test_sensors[sensor.hl_l2340dw_magenta_drum_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Magenta drum remaining lifetime', + : 'HL-L2340DW Magenta drum remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_magenta_drum_remaining_lifetime', @@ -1013,9 +1013,9 @@ # name: test_sensors[sensor.hl_l2340dw_magenta_drum_remaining_pages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Magenta drum remaining pages', + : 'HL-L2340DW Magenta drum remaining pages', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_magenta_drum_remaining_pages', @@ -1067,9 +1067,9 @@ # name: test_sensors[sensor.hl_l2340dw_magenta_toner_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Magenta toner remaining', + : 'HL-L2340DW Magenta toner remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_magenta_toner_remaining', @@ -1121,9 +1121,9 @@ # name: test_sensors[sensor.hl_l2340dw_page_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Page counter', + : 'HL-L2340DW Page counter', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_page_counter', @@ -1175,9 +1175,9 @@ # name: test_sensors[sensor.hl_l2340dw_pf_kit_1_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW PF Kit 1 remaining lifetime', + : 'HL-L2340DW PF Kit 1 remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_pf_kit_1_remaining_lifetime', @@ -1227,7 +1227,7 @@ # name: test_sensors[sensor.hl_l2340dw_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Status', + : 'HL-L2340DW Status', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_status', @@ -1277,8 +1277,8 @@ # name: test_sensors[sensor.hl_l2340dw_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'HL-L2340DW Uptime', + : 'uptime', + : 'HL-L2340DW Uptime', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_uptime', @@ -1330,9 +1330,9 @@ # name: test_sensors[sensor.hl_l2340dw_yellow_drum_page_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Yellow drum page counter', + : 'HL-L2340DW Yellow drum page counter', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_yellow_drum_page_counter', @@ -1384,9 +1384,9 @@ # name: test_sensors[sensor.hl_l2340dw_yellow_drum_remaining_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Yellow drum remaining lifetime', + : 'HL-L2340DW Yellow drum remaining lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_yellow_drum_remaining_lifetime', @@ -1438,9 +1438,9 @@ # name: test_sensors[sensor.hl_l2340dw_yellow_drum_remaining_pages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Yellow drum remaining pages', + : 'HL-L2340DW Yellow drum remaining pages', : , - 'unit_of_measurement': 'pages', + : 'pages', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_yellow_drum_remaining_pages', @@ -1492,9 +1492,9 @@ # name: test_sensors[sensor.hl_l2340dw_yellow_toner_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL-L2340DW Yellow toner remaining', + : 'HL-L2340DW Yellow toner remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hl_l2340dw_yellow_toner_remaining', diff --git a/tests/components/bryant_evolution/snapshots/test_climate.ambr b/tests/components/bryant_evolution/snapshots/test_climate.ambr index fe460796155..4dfb0672fd1 100644 --- a/tests/components/bryant_evolution/snapshots/test_climate.ambr +++ b/tests/components/bryant_evolution/snapshots/test_climate.ambr @@ -62,7 +62,7 @@ 'med', 'high', ]), - 'friendly_name': 'System 1 Zone 1', + : 'System 1 Zone 1', : , : list([ , @@ -72,7 +72,7 @@ ]), : 95, : 45, - 'supported_features': , + : , : None, : None, : 72, diff --git a/tests/components/bsblan/snapshots/test_button.ambr b/tests/components/bsblan/snapshots/test_button.ambr index 60ca6b36726..b9198579a4f 100644 --- a/tests/components/bsblan/snapshots/test_button.ambr +++ b/tests/components/bsblan/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_entity_properties[button.bsb_lan_sync_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BSB-LAN Sync time', + : 'BSB-LAN Sync time', }), 'context': , 'entity_id': 'button.bsb_lan_sync_time', diff --git a/tests/components/bsblan/snapshots/test_climate.ambr b/tests/components/bsblan/snapshots/test_climate.ambr index f11195f8a78..c0b8fdb046e 100644 --- a/tests/components/bsblan/snapshots/test_climate.ambr +++ b/tests/components/bsblan/snapshots/test_climate.ambr @@ -52,7 +52,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.6, - 'friendly_name': 'Heating circuit 1', + : 'Heating circuit 1', : , : list([ , @@ -66,7 +66,7 @@ 'eco', 'none', ]), - 'supported_features': , + : , : 18.5, }), 'context': , @@ -130,7 +130,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.6, - 'friendly_name': 'Heating circuit 1', + : 'Heating circuit 1', : , : list([ , @@ -144,7 +144,7 @@ 'eco', 'none', ]), - 'supported_features': , + : , : 18.5, }), 'context': , diff --git a/tests/components/bsblan/snapshots/test_sensor.ambr b/tests/components/bsblan/snapshots/test_sensor.ambr index 9874cc32a6f..1bb402ee0f1 100644 --- a/tests/components/bsblan/snapshots/test_sensor.ambr +++ b/tests/components/bsblan/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_entity_properties[sensor.bsb_lan_current_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BSB-LAN Current temperature', + : 'temperature', + : 'BSB-LAN Current temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bsb_lan_current_temperature', @@ -102,10 +102,10 @@ # name: test_sensor_entity_properties[sensor.bsb_lan_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BSB-LAN Outside temperature', + : 'temperature', + : 'BSB-LAN Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bsb_lan_outside_temperature', @@ -160,10 +160,10 @@ # name: test_sensor_entity_properties[sensor.bsb_lan_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BSB-LAN Total energy', + : 'energy', + : 'BSB-LAN Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bsb_lan_total_energy', diff --git a/tests/components/bsblan/snapshots/test_water_heater.ambr b/tests/components/bsblan/snapshots/test_water_heater.ambr index b2447d4f2fe..2f7e25b1490 100644 --- a/tests/components/bsblan/snapshots/test_water_heater.ambr +++ b/tests/components/bsblan/snapshots/test_water_heater.ambr @@ -48,7 +48,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 48.5, - 'friendly_name': 'Water heater', + : 'Water heater', : 65.0, : 35.0, : list([ @@ -57,7 +57,7 @@ 'eco', ]), : 'performance', - 'supported_features': , + : , : None, : None, : 50.0, diff --git a/tests/components/cambridge_audio/snapshots/test_number.ambr b/tests/components/cambridge_audio/snapshots/test_number.ambr index 0f9ae2095d1..7636d1a751b 100644 --- a/tests/components/cambridge_audio/snapshots/test_number.ambr +++ b/tests/components/cambridge_audio/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_all_entities[number.cambridge_audio_cxnv2_room_correction_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Room correction intensity', + : 'Cambridge Audio CXNv2 Room correction intensity', : 15, : -15, : , @@ -103,12 +103,12 @@ # name: test_all_entities[number.cambridge_audio_cxnv2_volume_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Volume limit', + : 'Cambridge Audio CXNv2 Volume limit', : 100, : 1, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.cambridge_audio_cxnv2_volume_limit', diff --git a/tests/components/cambridge_audio/snapshots/test_select.ambr b/tests/components/cambridge_audio/snapshots/test_select.ambr index 32447a72d97..c56a28da1dc 100644 --- a/tests/components/cambridge_audio/snapshots/test_select.ambr +++ b/tests/components/cambridge_audio/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_all_entities[select.cambridge_audio_cxnv2_audio_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Audio output', + : 'Cambridge Audio CXNv2 Audio output', : list([ 'Speaker A', 'Speaker B', @@ -106,7 +106,7 @@ # name: test_all_entities[select.cambridge_audio_cxnv2_control_bus_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Control Bus mode', + : 'Cambridge Audio CXNv2 Control Bus mode', : list([ 'amplifier', 'receiver', @@ -167,7 +167,7 @@ # name: test_all_entities[select.cambridge_audio_cxnv2_display_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Display brightness', + : 'Cambridge Audio CXNv2 Display brightness', : list([ 'bright', 'dim', diff --git a/tests/components/cambridge_audio/snapshots/test_switch.ambr b/tests/components/cambridge_audio/snapshots/test_switch.ambr index 0629e2693fa..e6429d0ac23 100644 --- a/tests/components/cambridge_audio/snapshots/test_switch.ambr +++ b/tests/components/cambridge_audio/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.cambridge_audio_cxnv2_early_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Early update', + : 'Cambridge Audio CXNv2 Early update', }), 'context': , 'entity_id': 'switch.cambridge_audio_cxnv2_early_update', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.cambridge_audio_cxnv2_equalizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Equalizer', + : 'Cambridge Audio CXNv2 Equalizer', }), 'context': , 'entity_id': 'switch.cambridge_audio_cxnv2_equalizer', @@ -139,7 +139,7 @@ # name: test_all_entities[switch.cambridge_audio_cxnv2_pre_amp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Pre-Amp', + : 'Cambridge Audio CXNv2 Pre-Amp', }), 'context': , 'entity_id': 'switch.cambridge_audio_cxnv2_pre_amp', @@ -189,7 +189,7 @@ # name: test_all_entities[switch.cambridge_audio_cxnv2_room_correction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cambridge Audio CXNv2 Room correction', + : 'Cambridge Audio CXNv2 Room correction', }), 'context': , 'entity_id': 'switch.cambridge_audio_cxnv2_room_correction', diff --git a/tests/components/casper_glow/snapshots/test_binary_sensor.ambr b/tests/components/casper_glow/snapshots/test_binary_sensor.ambr index 705d8efd676..e5a245a0609 100644 --- a/tests/components/casper_glow/snapshots/test_binary_sensor.ambr +++ b/tests/components/casper_glow/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entities[binary_sensor.jar_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Jar Charging', + : 'battery_charging', + : 'Jar Charging', }), 'context': , 'entity_id': 'binary_sensor.jar_charging', @@ -90,7 +90,7 @@ # name: test_entities[binary_sensor.jar_dimming_paused-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Jar Dimming paused', + : 'Jar Dimming paused', }), 'context': , 'entity_id': 'binary_sensor.jar_dimming_paused', diff --git a/tests/components/casper_glow/snapshots/test_button.ambr b/tests/components/casper_glow/snapshots/test_button.ambr index 2ed565370bb..491dd7f9816 100644 --- a/tests/components/casper_glow/snapshots/test_button.ambr +++ b/tests/components/casper_glow/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.jar_pause_dimming-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Jar Pause dimming', + : 'Jar Pause dimming', }), 'context': , 'entity_id': 'button.jar_pause_dimming', @@ -89,7 +89,7 @@ # name: test_entities[button.jar_resume_dimming-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Jar Resume dimming', + : 'Jar Resume dimming', }), 'context': , 'entity_id': 'button.jar_resume_dimming', diff --git a/tests/components/casper_glow/snapshots/test_light.ambr b/tests/components/casper_glow/snapshots/test_light.ambr index 99d30ae6dd8..2fa12178904 100644 --- a/tests/components/casper_glow/snapshots/test_light.ambr +++ b/tests/components/casper_glow/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Jar', + : 'Jar', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.jar', diff --git a/tests/components/casper_glow/snapshots/test_select.ambr b/tests/components/casper_glow/snapshots/test_select.ambr index bf4329933ca..01d1fd699c3 100644 --- a/tests/components/casper_glow/snapshots/test_select.ambr +++ b/tests/components/casper_glow/snapshots/test_select.ambr @@ -47,7 +47,7 @@ # name: test_entities[select.jar_dimming_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Jar Dimming time', + : 'Jar Dimming time', : list([ '15', '30', @@ -55,7 +55,7 @@ '60', '90', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.jar_dimming_time', diff --git a/tests/components/casper_glow/snapshots/test_sensor.ambr b/tests/components/casper_glow/snapshots/test_sensor.ambr index 541c086a017..b71d3496ca8 100644 --- a/tests/components/casper_glow/snapshots/test_sensor.ambr +++ b/tests/components/casper_glow/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_entities[sensor.jar_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Jar Battery', + : 'battery', + : 'Jar Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.jar_battery', @@ -94,8 +94,8 @@ # name: test_entities[sensor.jar_dimming_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Jar Dimming end time', + : 'timestamp', + : 'Jar Dimming end time', }), 'context': , 'entity_id': 'sensor.jar_dimming_end_time', diff --git a/tests/components/ccm15/snapshots/test_climate.ambr b/tests/components/ccm15/snapshots/test_climate.ambr index 04ecea0f30f..5f50ebbb071 100644 --- a/tests/components/ccm15/snapshots/test_climate.ambr +++ b/tests/components/ccm15/snapshots/test_climate.ambr @@ -129,7 +129,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Midea 0', + : 'Midea 0', : list([ , , @@ -140,7 +140,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 'off', : list([ 'off', @@ -169,7 +169,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Midea 1', + : 'Midea 1', : list([ , , @@ -180,7 +180,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 'off', : list([ 'off', @@ -324,7 +324,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Midea 0', + : 'Midea 0', : list([ , , @@ -335,7 +335,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : list([ 'off', 'on', @@ -359,7 +359,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Midea 1', + : 'Midea 1', : list([ , , @@ -370,7 +370,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : list([ 'off', 'on', diff --git a/tests/components/centriconnect/snapshots/test_sensor.ambr b/tests/components/centriconnect/snapshots/test_sensor.ambr index 2161165344e..0a40359790d 100644 --- a/tests/components/centriconnect/snapshots/test_sensor.ambr +++ b/tests/components/centriconnect/snapshots/test_sensor.ambr @@ -45,8 +45,8 @@ # name: test_all_entities[sensor.my_tank_alert_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'My Tank Alert status', + : 'enum', + : 'My Tank Alert status', : list([ 'no_alert', 'low_level', @@ -106,10 +106,10 @@ # name: test_all_entities[sensor.my_tank_altitude-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'My Tank Altitude', + : 'distance', + : 'My Tank Altitude', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_tank_altitude', @@ -161,10 +161,10 @@ # name: test_all_entities[sensor.my_tank_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'My Tank Battery', + : 'battery', + : 'My Tank Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_tank_battery', @@ -219,10 +219,10 @@ # name: test_all_entities[sensor.my_tank_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'My Tank Battery voltage', + : 'voltage', + : 'My Tank Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_tank_battery_voltage', @@ -277,10 +277,10 @@ # name: test_all_entities[sensor.my_tank_device_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'My Tank Device temperature', + : 'temperature', + : 'My Tank Device temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_tank_device_temperature', @@ -335,9 +335,9 @@ # name: test_all_entities[sensor.my_tank_lte_signal_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Tank LTE signal level', + : 'My Tank LTE signal level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_tank_lte_signal_level', @@ -389,10 +389,10 @@ # name: test_all_entities[sensor.my_tank_lte_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'My Tank LTE signal strength', + : 'signal_strength', + : 'My Tank LTE signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.my_tank_lte_signal_strength', @@ -447,9 +447,9 @@ # name: test_all_entities[sensor.my_tank_solar_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Tank Solar level', + : 'My Tank Solar level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_tank_solar_level', @@ -504,10 +504,10 @@ # name: test_all_entities[sensor.my_tank_solar_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'My Tank Solar voltage', + : 'voltage', + : 'My Tank Solar voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_tank_solar_voltage', @@ -559,9 +559,9 @@ # name: test_all_entities[sensor.my_tank_tank_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Tank Tank level', + : 'My Tank Tank level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_tank_tank_level', @@ -619,10 +619,10 @@ # name: test_all_entities[sensor.my_tank_tank_remaining_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'My Tank Tank remaining volume', + : 'volume_storage', + : 'My Tank Tank remaining volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_tank_tank_remaining_volume', @@ -680,10 +680,10 @@ # name: test_all_entities[sensor.my_tank_tank_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'My Tank Tank size', + : 'volume_storage', + : 'My Tank Tank size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_tank_tank_size', diff --git a/tests/components/chacon_dio/snapshots/test_cover.ambr b/tests/components/chacon_dio/snapshots/test_cover.ambr index 2c1401894ea..1d5e3732036 100644 --- a/tests/components/chacon_dio/snapshots/test_cover.ambr +++ b/tests/components/chacon_dio/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 75, - 'device_class': 'shutter', - 'friendly_name': 'Shutter mock 1', + : 'shutter', + : 'Shutter mock 1', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.shutter_mock_1', diff --git a/tests/components/chacon_dio/snapshots/test_switch.ambr b/tests/components/chacon_dio/snapshots/test_switch.ambr index b026c430372..db1c75dd47a 100644 --- a/tests/components/chacon_dio/snapshots/test_switch.ambr +++ b/tests/components/chacon_dio/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_entities[switch.switch_mock_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Switch mock 1', + : 'switch', + : 'Switch mock 1', }), 'context': , 'entity_id': 'switch.switch_mock_1', diff --git a/tests/components/chef_iq/snapshots/test_sensor.ambr b/tests/components/chef_iq/snapshots/test_sensor.ambr index 61eeae51353..ba05c076297 100644 --- a/tests/components/chef_iq/snapshots/test_sensor.ambr +++ b/tests/components/chef_iq/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.cq60_079a_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CQ60 079A Ambient temperature', + : 'temperature', + : 'CQ60 079A Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cq60_079a_ambient_temperature', @@ -99,10 +99,10 @@ # name: test_sensors[sensor.cq60_079a_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CQ60 079A Battery', + : 'battery', + : 'CQ60 079A Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cq60_079a_battery', @@ -157,10 +157,10 @@ # name: test_sensors[sensor.cq60_079a_food_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CQ60 079A Food temperature', + : 'temperature', + : 'CQ60 079A Food temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cq60_079a_food_temperature', @@ -215,10 +215,10 @@ # name: test_sensors[sensor.cq60_079a_probe_tip_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CQ60 079A Probe tip 1 temperature', + : 'temperature', + : 'CQ60 079A Probe tip 1 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cq60_079a_probe_tip_1_temperature', @@ -273,10 +273,10 @@ # name: test_sensors[sensor.cq60_079a_probe_tip_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CQ60 079A Probe tip 2 temperature', + : 'temperature', + : 'CQ60 079A Probe tip 2 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cq60_079a_probe_tip_2_temperature', @@ -331,10 +331,10 @@ # name: test_sensors[sensor.cq60_079a_probe_tip_3_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CQ60 079A Probe tip 3 temperature', + : 'temperature', + : 'CQ60 079A Probe tip 3 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cq60_079a_probe_tip_3_temperature', @@ -389,10 +389,10 @@ # name: test_sensors[sensor.cq60_079a_probe_tip_4_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CQ60 079A Probe tip 4 temperature', + : 'temperature', + : 'CQ60 079A Probe tip 4 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cq60_079a_probe_tip_4_temperature', @@ -444,10 +444,10 @@ # name: test_sensors[sensor.cq60_079a_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'CQ60 079A Signal strength', + : 'signal_strength', + : 'CQ60 079A Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.cq60_079a_signal_strength', @@ -502,10 +502,10 @@ # name: test_sensors[sensor.cq60_079a_soc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CQ60 079A SoC temperature', + : 'temperature', + : 'CQ60 079A SoC temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cq60_079a_soc_temperature', diff --git a/tests/components/chess_com/snapshots/test_sensor.ambr b/tests/components/chess_com/snapshots/test_sensor.ambr index 72c583ed405..45026e81e99 100644 --- a/tests/components/chess_com/snapshots/test_sensor.ambr +++ b/tests/components/chess_com/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_all_entities[sensor.joost_blitz_chess_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Blitz chess rating', + : 'Joost Blitz chess rating', : , }), 'context': , @@ -94,7 +94,7 @@ # name: test_all_entities[sensor.joost_bullet_chess_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Bullet chess rating', + : 'Joost Bullet chess rating', : , }), 'context': , @@ -147,7 +147,7 @@ # name: test_all_entities[sensor.joost_daily_chess960_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Daily Chess960 rating', + : 'Joost Daily Chess960 rating', : , }), 'context': , @@ -200,7 +200,7 @@ # name: test_all_entities[sensor.joost_daily_chess_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Daily chess rating', + : 'Joost Daily chess rating', : , }), 'context': , @@ -253,9 +253,9 @@ # name: test_all_entities[sensor.joost_followers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Followers', + : 'Joost Followers', : , - 'unit_of_measurement': 'followers', + : 'followers', }), 'context': , 'entity_id': 'sensor.joost_followers', @@ -307,7 +307,7 @@ # name: test_all_entities[sensor.joost_rapid_chess_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Rapid chess rating', + : 'Joost Rapid chess rating', : , }), 'context': , @@ -360,9 +360,9 @@ # name: test_all_entities[sensor.joost_total_blitz_chess_games_drawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total blitz chess games drawn', + : 'Joost Total blitz chess games drawn', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_blitz_chess_games_drawn', @@ -414,9 +414,9 @@ # name: test_all_entities[sensor.joost_total_blitz_chess_games_lost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total blitz chess games lost', + : 'Joost Total blitz chess games lost', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_blitz_chess_games_lost', @@ -468,9 +468,9 @@ # name: test_all_entities[sensor.joost_total_blitz_chess_games_won-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total blitz chess games won', + : 'Joost Total blitz chess games won', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_blitz_chess_games_won', @@ -522,9 +522,9 @@ # name: test_all_entities[sensor.joost_total_bullet_chess_games_drawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total bullet chess games drawn', + : 'Joost Total bullet chess games drawn', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_bullet_chess_games_drawn', @@ -576,9 +576,9 @@ # name: test_all_entities[sensor.joost_total_bullet_chess_games_lost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total bullet chess games lost', + : 'Joost Total bullet chess games lost', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_bullet_chess_games_lost', @@ -630,9 +630,9 @@ # name: test_all_entities[sensor.joost_total_bullet_chess_games_won-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total bullet chess games won', + : 'Joost Total bullet chess games won', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_bullet_chess_games_won', @@ -684,9 +684,9 @@ # name: test_all_entities[sensor.joost_total_daily_chess960_games_drawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total daily Chess960 games drawn', + : 'Joost Total daily Chess960 games drawn', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_daily_chess960_games_drawn', @@ -738,9 +738,9 @@ # name: test_all_entities[sensor.joost_total_daily_chess960_games_lost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total daily Chess960 games lost', + : 'Joost Total daily Chess960 games lost', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_daily_chess960_games_lost', @@ -792,9 +792,9 @@ # name: test_all_entities[sensor.joost_total_daily_chess960_games_won-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total daily Chess960 games won', + : 'Joost Total daily Chess960 games won', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_daily_chess960_games_won', @@ -846,9 +846,9 @@ # name: test_all_entities[sensor.joost_total_daily_chess_games_drawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total daily chess games drawn', + : 'Joost Total daily chess games drawn', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_daily_chess_games_drawn', @@ -900,9 +900,9 @@ # name: test_all_entities[sensor.joost_total_daily_chess_games_lost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total daily chess games lost', + : 'Joost Total daily chess games lost', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_daily_chess_games_lost', @@ -954,9 +954,9 @@ # name: test_all_entities[sensor.joost_total_daily_chess_games_won-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total daily chess games won', + : 'Joost Total daily chess games won', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_daily_chess_games_won', @@ -1008,9 +1008,9 @@ # name: test_all_entities[sensor.joost_total_rapid_chess_games_drawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total rapid chess games drawn', + : 'Joost Total rapid chess games drawn', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_rapid_chess_games_drawn', @@ -1062,9 +1062,9 @@ # name: test_all_entities[sensor.joost_total_rapid_chess_games_lost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total rapid chess games lost', + : 'Joost Total rapid chess games lost', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_rapid_chess_games_lost', @@ -1116,9 +1116,9 @@ # name: test_all_entities[sensor.joost_total_rapid_chess_games_won-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Joost Total rapid chess games won', + : 'Joost Total rapid chess games won', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.joost_total_rapid_chess_games_won', diff --git a/tests/components/citybikes/snapshots/test_sensor.ambr b/tests/components/citybikes/snapshots/test_sensor.ambr index 0d2c973ee6a..3da6b71e0b8 100644 --- a/tests/components/citybikes/snapshots/test_sensor.ambr +++ b/tests/components/citybikes/snapshots/test_sensor.ambr @@ -2,16 +2,16 @@ # name: test_sensor_state[with_ebikes] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Information provided by the CityBikes Project (https://citybik.es/#about)', + : 'Information provided by the CityBikes Project (https://citybik.es/#about)', 'empty_slots': 8, 'free_ebikes': 2, - 'friendly_name': 'Station 1', - 'icon': 'mdi:bike', + : 'Station 1', + : 'mdi:bike', 'latitude': 40.0, 'longitude': -73.0, 'timestamp': '2026-03-22T00:00:00Z', 'uid': 'uid-1', - 'unit_of_measurement': 'bikes', + : 'bikes', }), 'context': , 'entity_id': 'sensor.mock_network_station_1', @@ -24,16 +24,16 @@ # name: test_sensor_state[without_ebikes] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Information provided by the CityBikes Project (https://citybik.es/#about)', + : 'Information provided by the CityBikes Project (https://citybik.es/#about)', 'empty_slots': 8, 'free_ebikes': None, - 'friendly_name': 'Station 1', - 'icon': 'mdi:bike', + : 'Station 1', + : 'mdi:bike', 'latitude': 40.0, 'longitude': -73.0, 'timestamp': '2026-03-22T00:00:00Z', 'uid': 'uid-1', - 'unit_of_measurement': 'bikes', + : 'bikes', }), 'context': , 'entity_id': 'sensor.mock_network_station_1', diff --git a/tests/components/co2signal/snapshots/test_sensor.ambr b/tests/components/co2signal/snapshots/test_sensor.ambr index 9f388c8e630..4b3ccbbf1f8 100644 --- a/tests/components/co2signal/snapshots/test_sensor.ambr +++ b/tests/components/co2signal/snapshots/test_sensor.ambr @@ -41,11 +41,11 @@ # name: test_sensor[sensor.electricity_maps_co2_intensity].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Electricity Maps', + : 'Data provided by Electricity Maps', 'country_code': 'FR', - 'friendly_name': 'Electricity Maps CO2 intensity', + : 'Electricity Maps CO2 intensity', : , - 'unit_of_measurement': 'gCO2eq/kWh', + : 'gCO2eq/kWh', }), 'context': , 'entity_id': 'sensor.electricity_maps_co2_intensity', @@ -97,11 +97,11 @@ # name: test_sensor[sensor.electricity_maps_grid_fossil_fuel_percentage].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Electricity Maps', + : 'Data provided by Electricity Maps', 'country_code': 'FR', - 'friendly_name': 'Electricity Maps Grid fossil fuel percentage', + : 'Electricity Maps Grid fossil fuel percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.electricity_maps_grid_fossil_fuel_percentage', diff --git a/tests/components/comelit/snapshots/test_climate.ambr b/tests/components/comelit/snapshots/test_climate.ambr index 0192e893ef8..521fd57c1d4 100644 --- a/tests/components/comelit/snapshots/test_climate.ambr +++ b/tests/components/comelit/snapshots/test_climate.ambr @@ -53,7 +53,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.1, - 'friendly_name': 'Climate0', + : 'Climate0', : , : list([ , @@ -67,7 +67,7 @@ 'automatic', 'manual', ]), - 'supported_features': , + : , : 0.1, : 5.0, }), diff --git a/tests/components/comelit/snapshots/test_cover.ambr b/tests/components/comelit/snapshots/test_cover.ambr index ea65b2eac2a..a7043ed5849 100644 --- a/tests/components/comelit/snapshots/test_cover.ambr +++ b/tests/components/comelit/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_all_entities[cover.cover0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'shutter', - 'friendly_name': 'Cover0', + : 'shutter', + : 'Cover0', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.cover0', diff --git a/tests/components/comelit/snapshots/test_humidifier.ambr b/tests/components/comelit/snapshots/test_humidifier.ambr index 44985de5a63..b02007ab573 100644 --- a/tests/components/comelit/snapshots/test_humidifier.ambr +++ b/tests/components/comelit/snapshots/test_humidifier.ambr @@ -52,13 +52,13 @@ 'auto', ]), : 65.0, - 'device_class': 'dehumidifier', - 'friendly_name': 'Climate0 Dehumidifier', + : 'dehumidifier', + : 'Climate0 Dehumidifier', : 50.0, : 90, : 10, : 'normal', - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.climate0_dehumidifier', @@ -121,13 +121,13 @@ 'auto', ]), : 65.0, - 'device_class': 'humidifier', - 'friendly_name': 'Climate0 Humidifier', + : 'humidifier', + : 'Climate0 Humidifier', : 50.0, : 90, : 10, : 'normal', - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.climate0_humidifier', diff --git a/tests/components/comelit/snapshots/test_light.ambr b/tests/components/comelit/snapshots/test_light.ambr index 5d03309cc60..bd85d6159f6 100644 --- a/tests/components/comelit/snapshots/test_light.ambr +++ b/tests/components/comelit/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Light0', + : 'Light0', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.light0', diff --git a/tests/components/comelit/snapshots/test_sensor.ambr b/tests/components/comelit/snapshots/test_sensor.ambr index fe6b53dd7ee..f1435a0e43c 100644 --- a/tests/components/comelit/snapshots/test_sensor.ambr +++ b/tests/components/comelit/snapshots/test_sensor.ambr @@ -53,8 +53,8 @@ # name: test_all_entities[sensor.zone0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Zone0', + : 'enum', + : 'Zone0', : list([ 'alarm', 'armed', diff --git a/tests/components/comelit/snapshots/test_switch.ambr b/tests/components/comelit/snapshots/test_switch.ambr index ead401e6b8e..f3f138685a6 100644 --- a/tests/components/comelit/snapshots/test_switch.ambr +++ b/tests/components/comelit/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[switch.switch0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Switch0', + : 'outlet', + : 'Switch0', }), 'context': , 'entity_id': 'switch.switch0', diff --git a/tests/components/compit/snapshots/test_binary_sensor.ambr b/tests/components/compit/snapshots/test_binary_sensor.ambr index ed9d7c6ac8c..26d626485ac 100644 --- a/tests/components/compit/snapshots/test_binary_sensor.ambr +++ b/tests/components/compit/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_entities_snapshot[binary_sensor.nano_color_2_airing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Nano Color 2 Airing', + : 'window', + : 'Nano Color 2 Airing', }), 'context': , 'entity_id': 'binary_sensor.nano_color_2_airing', @@ -90,8 +90,8 @@ # name: test_binary_sensor_entities_snapshot[binary_sensor.nano_color_2_co2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Nano Color 2 CO2 level', + : 'problem', + : 'Nano Color 2 CO2 level', }), 'context': , 'entity_id': 'binary_sensor.nano_color_2_co2_level', diff --git a/tests/components/compit/snapshots/test_climate.ambr b/tests/components/compit/snapshots/test_climate.ambr index 9b2637068e9..0feb2b76354 100644 --- a/tests/components/compit/snapshots/test_climate.ambr +++ b/tests/components/compit/snapshots/test_climate.ambr @@ -69,7 +69,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Nano Color 2', + : 'Nano Color 2', : list([ , , @@ -84,7 +84,7 @@ 'none', 'away', ]), - 'supported_features': , + : , : 22.0, }), 'context': , @@ -147,7 +147,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'R 900', + : 'R 900', : list([ , , @@ -159,7 +159,7 @@ 'home', 'away', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.r_900', diff --git a/tests/components/compit/snapshots/test_fan.ambr b/tests/components/compit/snapshots/test_fan.ambr index 0dcc0cb731d..2d92547aa0e 100644 --- a/tests/components/compit/snapshots/test_fan.ambr +++ b/tests/components/compit/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_fan_entities_snapshot[fan.nano_color_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nano Color 2', + : 'Nano Color 2', : 60, : 20.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.nano_color_2', diff --git a/tests/components/compit/snapshots/test_number.ambr b/tests/components/compit/snapshots/test_number.ambr index 714fda9610f..12a0323f598 100644 --- a/tests/components/compit/snapshots/test_number.ambr +++ b/tests/components/compit/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number_entities_snapshot[number.nano_color_2_target_comfort_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nano Color 2 Target comfort temperature', + : 'temperature', + : 'Nano Color 2 Target comfort temperature', : 40, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.nano_color_2_target_comfort_temperature', @@ -105,13 +105,13 @@ # name: test_number_entities_snapshot[number.nano_color_2_target_eco_cooling_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nano Color 2 Target eco cooling temperature', + : 'temperature', + : 'Nano Color 2 Target eco cooling temperature', : 40, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.nano_color_2_target_eco_cooling_temperature', @@ -166,13 +166,13 @@ # name: test_number_entities_snapshot[number.nano_color_2_target_eco_winter_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nano Color 2 Target eco winter temperature', + : 'temperature', + : 'Nano Color 2 Target eco winter temperature', : 40, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.nano_color_2_target_eco_winter_temperature', @@ -227,13 +227,13 @@ # name: test_number_entities_snapshot[number.nano_color_2_target_out_of_home_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nano Color 2 Target out of home temperature', + : 'temperature', + : 'Nano Color 2 Target out of home temperature', : 40, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.nano_color_2_target_out_of_home_temperature', diff --git a/tests/components/compit/snapshots/test_select.ambr b/tests/components/compit/snapshots/test_select.ambr index 12b6bff053a..c198e59d144 100644 --- a/tests/components/compit/snapshots/test_select.ambr +++ b/tests/components/compit/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select_entities_snapshot[select.nano_color_2_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nano Color 2 Bypass', + : 'Nano Color 2 Bypass', : list([ 'off', 'auto', @@ -105,7 +105,7 @@ # name: test_select_entities_snapshot[select.nano_color_2_language-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nano Color 2 Language', + : 'Nano Color 2 Language', : list([ 'polish', 'english', @@ -165,7 +165,7 @@ # name: test_select_entities_snapshot[select.r_900_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'R 900 Operating mode', + : 'R 900 Operating mode', : list([ 'disabled', 'eco', diff --git a/tests/components/compit/snapshots/test_sensor.ambr b/tests/components/compit/snapshots/test_sensor.ambr index 66d2d96d334..5e1b7e34c5b 100644 --- a/tests/components/compit/snapshots/test_sensor.ambr +++ b/tests/components/compit/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_entities_snapshot[sensor.nano_color_2_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nano Color 2 Outdoor temperature', + : 'temperature', + : 'Nano Color 2 Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nano_color_2_outdoor_temperature', @@ -107,8 +107,8 @@ # name: test_sensor_entities_snapshot[sensor.nano_color_2_ventilation_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Nano Color 2 Ventilation alarm', + : 'enum', + : 'Nano Color 2 Ventilation alarm', : list([ 'no_alarm', 'damaged_supply_sensor', @@ -167,7 +167,7 @@ # name: test_sensor_entities_snapshot[sensor.nano_color_2_ventilation_gear-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nano Color 2 Ventilation gear', + : 'Nano Color 2 Ventilation gear', }), 'context': , 'entity_id': 'sensor.nano_color_2_ventilation_gear', @@ -222,10 +222,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_actual_buffer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Actual buffer temperature', + : 'temperature', + : 'R 900 Actual buffer temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_actual_buffer_temperature', @@ -280,10 +280,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_actual_dhw_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Actual DHW temperature', + : 'temperature', + : 'R 900 Actual DHW temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_actual_dhw_temperature', @@ -338,10 +338,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_actual_heating_circuit_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Actual heating circuit 1 temperature', + : 'temperature', + : 'R 900 Actual heating circuit 1 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_actual_heating_circuit_1_temperature', @@ -396,10 +396,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_actual_heating_circuit_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Actual heating circuit 2 temperature', + : 'temperature', + : 'R 900 Actual heating circuit 2 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_actual_heating_circuit_2_temperature', @@ -454,10 +454,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_actual_heating_circuit_3_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Actual heating circuit 3 temperature', + : 'temperature', + : 'R 900 Actual heating circuit 3 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_actual_heating_circuit_3_temperature', @@ -512,10 +512,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_actual_heating_circuit_4_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Actual heating circuit 4 temperature', + : 'temperature', + : 'R 900 Actual heating circuit 4 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_actual_heating_circuit_4_temperature', @@ -570,10 +570,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_actual_upper_source_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Actual upper source temperature', + : 'temperature', + : 'R 900 Actual upper source temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_actual_upper_source_temperature', @@ -628,10 +628,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_calculated_buffer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Calculated buffer temperature', + : 'temperature', + : 'R 900 Calculated buffer temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_calculated_buffer_temperature', @@ -686,10 +686,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_calculated_dhw_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Calculated DHW temperature', + : 'temperature', + : 'R 900 Calculated DHW temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_calculated_dhw_temperature', @@ -744,10 +744,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_calculated_upper_source_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Calculated upper source temperature', + : 'temperature', + : 'R 900 Calculated upper source temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_calculated_upper_source_temperature', @@ -802,10 +802,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_heating_circuit_1_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Heating circuit 1 target temperature', + : 'temperature', + : 'R 900 Heating circuit 1 target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_heating_circuit_1_target_temperature', @@ -860,10 +860,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_heating_circuit_2_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Heating circuit 2 target temperature', + : 'temperature', + : 'R 900 Heating circuit 2 target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_heating_circuit_2_target_temperature', @@ -918,10 +918,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_heating_circuit_3_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Heating circuit 3 target temperature', + : 'temperature', + : 'R 900 Heating circuit 3 target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_heating_circuit_3_target_temperature', @@ -976,10 +976,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_heating_circuit_4_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Heating circuit 4 target temperature', + : 'temperature', + : 'R 900 Heating circuit 4 target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_heating_circuit_4_target_temperature', @@ -1034,10 +1034,10 @@ # name: test_sensor_entities_snapshot[sensor.r_900_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'R 900 Outdoor temperature', + : 'temperature', + : 'R 900 Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.r_900_outdoor_temperature', diff --git a/tests/components/compit/snapshots/test_switch.ambr b/tests/components/compit/snapshots/test_switch.ambr index ed58fd25e77..483f5bcbc4a 100644 --- a/tests/components/compit/snapshots/test_switch.ambr +++ b/tests/components/compit/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities_snapshot[switch.r_900_force_domestic_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'R 900 Force domestic hot water', + : 'R 900 Force domestic hot water', }), 'context': , 'entity_id': 'switch.r_900_force_domestic_hot_water', diff --git a/tests/components/compit/snapshots/test_water_heater.ambr b/tests/components/compit/snapshots/test_water_heater.ambr index 5e88524e1e2..0aa2155f19d 100644 --- a/tests/components/compit/snapshots/test_water_heater.ambr +++ b/tests/components/compit/snapshots/test_water_heater.ambr @@ -49,7 +49,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50.0, - 'friendly_name': 'R 900', + : 'R 900', : 70.0, : 0.0, : list([ @@ -58,7 +58,7 @@ 'eco', ]), : 'performance', - 'supported_features': , + : , : None, : None, : 1, diff --git a/tests/components/control4/snapshots/test_climate.ambr b/tests/components/control4/snapshots/test_climate.ambr index 243bb3cd48f..d654c018183 100644 --- a/tests/components/control4/snapshots/test_climate.ambr +++ b/tests/components/control4/snapshots/test_climate.ambr @@ -61,7 +61,7 @@ 'on', 'circulate', ]), - 'friendly_name': 'Test Controller Residential Thermostat V2', + : 'Test Controller Residential Thermostat V2', : , : list([ , @@ -71,7 +71,7 @@ ]), : 95, : 45, - 'supported_features': , + : , : None, : None, : 68, diff --git a/tests/components/control4/snapshots/test_cover.ambr b/tests/components/control4/snapshots/test_cover.ambr index a4fb027bfc6..4183ffd045c 100644 --- a/tests/components/control4/snapshots/test_cover.ambr +++ b/tests/components/control4/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50, - 'device_class': 'shade', - 'friendly_name': 'Test Controller Living Room Shade', + : 'shade', + : 'Test Controller Living Room Shade', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_controller_living_room_shade', diff --git a/tests/components/control4/snapshots/test_media_player.ambr b/tests/components/control4/snapshots/test_media_player.ambr index 2db6b8ba337..cf5ab5d9e64 100644 --- a/tests/components/control4/snapshots/test_media_player.ambr +++ b/tests/components/control4/snapshots/test_media_player.ambr @@ -43,13 +43,13 @@ # name: test_media_player_with_and_without_sources[media_player.living_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tv', - 'friendly_name': 'Living Room', + : 'tv', + : 'Living Room', : False, : list([ 'TV', ]), - 'supported_features': , + : , : 0.5, }), 'context': , diff --git a/tests/components/cookidoo/snapshots/test_button.ambr b/tests/components/cookidoo/snapshots/test_button.ambr index 0fdf407205b..ba95a843814 100644 --- a/tests/components/cookidoo/snapshots/test_button.ambr +++ b/tests/components/cookidoo/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.cookidoo_clear_shopping_list_and_additional_purchases-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cookidoo Clear shopping list and additional purchases', + : 'Cookidoo Clear shopping list and additional purchases', }), 'context': , 'entity_id': 'button.cookidoo_clear_shopping_list_and_additional_purchases', diff --git a/tests/components/cookidoo/snapshots/test_calendar.ambr b/tests/components/cookidoo/snapshots/test_calendar.ambr index c5683d48e66..54784819345 100644 --- a/tests/components/cookidoo/snapshots/test_calendar.ambr +++ b/tests/components/cookidoo/snapshots/test_calendar.ambr @@ -39,7 +39,7 @@ # name: test_calendar[calendar.cookidoo_meal_plan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cookidoo Meal plan', + : 'Cookidoo Meal plan', }), 'context': , 'entity_id': 'calendar.cookidoo_meal_plan', diff --git a/tests/components/cookidoo/snapshots/test_sensor.ambr b/tests/components/cookidoo/snapshots/test_sensor.ambr index 943d2054596..dc322a14567 100644 --- a/tests/components/cookidoo/snapshots/test_sensor.ambr +++ b/tests/components/cookidoo/snapshots/test_sensor.ambr @@ -45,8 +45,8 @@ # name: test_setup[sensor.cookidoo_subscription-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Cookidoo Subscription', + : 'enum', + : 'Cookidoo Subscription', : list([ 'free', 'trial', @@ -101,8 +101,8 @@ # name: test_setup[sensor.cookidoo_subscription_expiration_date-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Cookidoo Subscription expiration date', + : 'timestamp', + : 'Cookidoo Subscription expiration date', }), 'context': , 'entity_id': 'sensor.cookidoo_subscription_expiration_date', diff --git a/tests/components/cookidoo/snapshots/test_todo.ambr b/tests/components/cookidoo/snapshots/test_todo.ambr index 034f1c2963f..a92f2c130a6 100644 --- a/tests/components/cookidoo/snapshots/test_todo.ambr +++ b/tests/components/cookidoo/snapshots/test_todo.ambr @@ -39,8 +39,8 @@ # name: test_todo[todo.cookidoo_additional_purchases-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cookidoo Additional purchases', - 'supported_features': , + : 'Cookidoo Additional purchases', + : , }), 'context': , 'entity_id': 'todo.cookidoo_additional_purchases', @@ -90,8 +90,8 @@ # name: test_todo[todo.cookidoo_shopping_list-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cookidoo Shopping list', - 'supported_features': , + : 'Cookidoo Shopping list', + : , }), 'context': , 'entity_id': 'todo.cookidoo_shopping_list', diff --git a/tests/components/cync/snapshots/test_light.ambr b/tests/components/cync/snapshots/test_light.ambr index 1bce8f2a9e1..43229ed5c67 100644 --- a/tests/components/cync/snapshots/test_light.ambr +++ b/tests/components/cync/snapshots/test_light.ambr @@ -49,7 +49,7 @@ : 205, : , : 2999, - 'friendly_name': 'Bedroom Lamp', + : 'Bedroom Lamp', : tuple( 27.827, 56.922, @@ -65,7 +65,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.496, 0.383, @@ -129,7 +129,7 @@ : None, : None, : None, - 'friendly_name': 'Lamp Bulb 1', + : 'Lamp Bulb 1', : None, : 7000, : 2000, @@ -138,7 +138,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -196,14 +196,14 @@ # name: test_entities[light.office_lamp_bulb_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lamp Bulb 2', + : 'Lamp Bulb 2', : 7000, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.office_lamp_bulb_2', diff --git a/tests/components/data_grand_lyon/snapshots/test_binary_sensor.ambr b/tests/components/data_grand_lyon/snapshots/test_binary_sensor.ambr index 11e21080552..f3c6270f540 100644 --- a/tests/components/data_grand_lyon/snapshots/test_binary_sensor.ambr +++ b/tests/components/data_grand_lyon/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_velov_binary_sensor_snapshot[binary_sensor.velo_v_1001_station_open-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Station open", + : "Vélo'v 1001 Station open", }), 'context': , 'entity_id': 'binary_sensor.velo_v_1001_station_open', diff --git a/tests/components/data_grand_lyon/snapshots/test_sensor.ambr b/tests/components/data_grand_lyon/snapshots/test_sensor.ambr index 9e67323a8d0..4820fb4e75d 100644 --- a/tests/components/data_grand_lyon/snapshots/test_sensor.ambr +++ b/tests/components/data_grand_lyon/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'C3 - Stop 100 Next departure 1', + : 'timestamp', + : 'C3 - Stop 100 Next departure 1', }), 'context': , 'entity_id': 'sensor.c3_stop_100_next_departure_1', @@ -90,7 +90,7 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_1_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C3 - Stop 100 Next departure 1 direction', + : 'C3 - Stop 100 Next departure 1 direction', }), 'context': , 'entity_id': 'sensor.c3_stop_100_next_departure_1_direction', @@ -145,8 +145,8 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_1_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'C3 - Stop 100 Next departure 1 type', + : 'enum', + : 'C3 - Stop 100 Next departure 1 type', : list([ 'theoretical', 'estimated', @@ -200,8 +200,8 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'C3 - Stop 100 Next departure 2', + : 'timestamp', + : 'C3 - Stop 100 Next departure 2', }), 'context': , 'entity_id': 'sensor.c3_stop_100_next_departure_2', @@ -251,7 +251,7 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_2_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C3 - Stop 100 Next departure 2 direction', + : 'C3 - Stop 100 Next departure 2 direction', }), 'context': , 'entity_id': 'sensor.c3_stop_100_next_departure_2_direction', @@ -306,8 +306,8 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_2_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'C3 - Stop 100 Next departure 2 type', + : 'enum', + : 'C3 - Stop 100 Next departure 2 type', : list([ 'theoretical', 'estimated', @@ -361,8 +361,8 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'C3 - Stop 100 Next departure 3', + : 'timestamp', + : 'C3 - Stop 100 Next departure 3', }), 'context': , 'entity_id': 'sensor.c3_stop_100_next_departure_3', @@ -412,7 +412,7 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_3_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C3 - Stop 100 Next departure 3 direction', + : 'C3 - Stop 100 Next departure 3 direction', }), 'context': , 'entity_id': 'sensor.c3_stop_100_next_departure_3_direction', @@ -467,8 +467,8 @@ # name: test_all_entities[sensor.c3_stop_100_next_departure_3_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'C3 - Stop 100 Next departure 3 type', + : 'enum', + : 'C3 - Stop 100 Next departure 3 type', : list([ 'theoretical', 'estimated', @@ -522,8 +522,8 @@ # name: test_velov_all_entities[sensor.velo_v_1001_available_bikes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Available bikes", - 'unit_of_measurement': 'bikes', + : "Vélo'v 1001 Available bikes", + : 'bikes', }), 'context': , 'entity_id': 'sensor.velo_v_1001_available_bikes', @@ -573,8 +573,8 @@ # name: test_velov_all_entities[sensor.velo_v_1001_available_electrical_bikes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Available electrical bikes", - 'unit_of_measurement': 'bikes', + : "Vélo'v 1001 Available electrical bikes", + : 'bikes', }), 'context': , 'entity_id': 'sensor.velo_v_1001_available_electrical_bikes', @@ -624,8 +624,8 @@ # name: test_velov_all_entities[sensor.velo_v_1001_available_mechanical_bikes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Available mechanical bikes", - 'unit_of_measurement': 'bikes', + : "Vélo'v 1001 Available mechanical bikes", + : 'bikes', }), 'context': , 'entity_id': 'sensor.velo_v_1001_available_mechanical_bikes', @@ -675,8 +675,8 @@ # name: test_velov_all_entities[sensor.velo_v_1001_available_stands-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Available stands", - 'unit_of_measurement': 'stands', + : "Vélo'v 1001 Available stands", + : 'stands', }), 'context': , 'entity_id': 'sensor.velo_v_1001_available_stands', @@ -726,8 +726,8 @@ # name: test_velov_all_entities[sensor.velo_v_1001_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Capacity", - 'unit_of_measurement': 'stands', + : "Vélo'v 1001 Capacity", + : 'stands', }), 'context': , 'entity_id': 'sensor.velo_v_1001_capacity', @@ -777,8 +777,8 @@ # name: test_velov_all_entities[sensor.velo_v_1001_electrical_internal_battery_bikes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Electrical internal battery bikes", - 'unit_of_measurement': 'bikes', + : "Vélo'v 1001 Electrical internal battery bikes", + : 'bikes', }), 'context': , 'entity_id': 'sensor.velo_v_1001_electrical_internal_battery_bikes', @@ -828,8 +828,8 @@ # name: test_velov_all_entities[sensor.velo_v_1001_electrical_removable_battery_bikes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Vélo'v 1001 Electrical removable battery bikes", - 'unit_of_measurement': 'bikes', + : "Vélo'v 1001 Electrical removable battery bikes", + : 'bikes', }), 'context': , 'entity_id': 'sensor.velo_v_1001_electrical_removable_battery_bikes', diff --git a/tests/components/deako/snapshots/test_light.ambr b/tests/components/deako/snapshots/test_light.ambr index d8380cb8192..906c40bb6a6 100644 --- a/tests/components/deako/snapshots/test_light.ambr +++ b/tests/components/deako/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : 127, : , - 'friendly_name': 'kitchen', + : 'kitchen', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.kitchen', @@ -104,11 +104,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'kitchen', + : 'kitchen', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.kitchen', @@ -164,11 +164,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'some device', + : 'some device', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.some_device', diff --git a/tests/components/deconz/snapshots/test_alarm_control_panel.ambr b/tests/components/deconz/snapshots/test_alarm_control_panel.ambr index 96e440178fe..a9f08f953f7 100644 --- a/tests/components/deconz/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/deconz/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : None, : True, : , - 'friendly_name': 'Keypad', - 'supported_features': , + : 'Keypad', + : , }), 'context': , 'entity_id': 'alarm_control_panel.keypad', diff --git a/tests/components/deconz/snapshots/test_binary_sensor.ambr b/tests/components/deconz/snapshots/test_binary_sensor.ambr index 2f555eb1b48..994f5eecbe2 100644 --- a/tests/components/deconz/snapshots/test_binary_sensor.ambr +++ b/tests/components/deconz/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[sensor_payload0-expected0-config_entry_options0][binary_sensor.alarm_10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Alarm 10', + : 'safety', + : 'Alarm 10', 'on': True, 'temperature': 26.0, }), @@ -92,8 +92,8 @@ # name: test_binary_sensors[sensor_payload1-expected1-config_entry_options0][binary_sensor.cave_co-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Cave CO', + : 'carbon_monoxide', + : 'Cave CO', 'on': True, }), 'context': , @@ -144,8 +144,8 @@ # name: test_binary_sensors[sensor_payload1-expected1-config_entry_options0][binary_sensor.cave_co_low_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Cave CO Low Battery', + : 'battery', + : 'Cave CO Low Battery', }), 'context': , 'entity_id': 'binary_sensor.cave_co_low_battery', @@ -195,8 +195,8 @@ # name: test_binary_sensors[sensor_payload1-expected1-config_entry_options0][binary_sensor.cave_co_tampered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Cave CO Tampered', + : 'tamper', + : 'Cave CO Tampered', }), 'context': , 'entity_id': 'binary_sensor.cave_co_tampered', @@ -247,8 +247,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'dark': False, - 'device_class': 'motion', - 'friendly_name': 'Presence sensor', + : 'motion', + : 'Presence sensor', 'on': True, 'temperature': 0.1, }), @@ -300,8 +300,8 @@ # name: test_binary_sensors[sensor_payload10-expected10-config_entry_options0][binary_sensor.presence_sensor_low_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Presence sensor Low Battery', + : 'battery', + : 'Presence sensor Low Battery', }), 'context': , 'entity_id': 'binary_sensor.presence_sensor_low_battery', @@ -351,8 +351,8 @@ # name: test_binary_sensors[sensor_payload10-expected10-config_entry_options0][binary_sensor.presence_sensor_tampered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Presence sensor Tampered', + : 'tamper', + : 'Presence sensor Tampered', }), 'context': , 'entity_id': 'binary_sensor.presence_sensor_tampered', @@ -402,8 +402,8 @@ # name: test_binary_sensors[sensor_payload2-expected2-config_entry_options0][binary_sensor.sensor_kitchen_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'sensor_kitchen_smoke', + : 'smoke', + : 'sensor_kitchen_smoke', 'on': True, }), 'context': , @@ -454,8 +454,8 @@ # name: test_binary_sensors[sensor_payload2-expected2-config_entry_options0][binary_sensor.sensor_kitchen_smoke_test_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'sensor_kitchen_smoke Test Mode', + : 'smoke', + : 'sensor_kitchen_smoke Test Mode', }), 'context': , 'entity_id': 'binary_sensor.sensor_kitchen_smoke_test_mode', @@ -505,8 +505,8 @@ # name: test_binary_sensors[sensor_payload3-expected3-config_entry_options0][binary_sensor.sensor_kitchen_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'sensor_kitchen_smoke', + : 'smoke', + : 'sensor_kitchen_smoke', 'on': True, }), 'context': , @@ -557,8 +557,8 @@ # name: test_binary_sensors[sensor_payload3-expected3-config_entry_options0][binary_sensor.sensor_kitchen_smoke_test_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'sensor_kitchen_smoke Test Mode', + : 'smoke', + : 'sensor_kitchen_smoke Test Mode', }), 'context': , 'entity_id': 'binary_sensor.sensor_kitchen_smoke_test_mode', @@ -608,7 +608,7 @@ # name: test_binary_sensors[sensor_payload4-expected4-config_entry_options0][binary_sensor.kitchen_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Switch', + : 'Kitchen Switch', 'on': True, }), 'context': , @@ -659,8 +659,8 @@ # name: test_binary_sensors[sensor_payload5-expected5-config_entry_options0][binary_sensor.back_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Back Door', + : 'opening', + : 'Back Door', 'on': True, 'temperature': 33.0, }), @@ -713,8 +713,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'dark': False, - 'device_class': 'motion', - 'friendly_name': 'Motion sensor 4', + : 'motion', + : 'Motion sensor 4', 'on': True, }), 'context': , @@ -765,8 +765,8 @@ # name: test_binary_sensors[sensor_payload7-expected7-config_entry_options0][binary_sensor.water2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'water2', + : 'moisture', + : 'water2', 'on': True, 'temperature': 25.0, }), @@ -818,8 +818,8 @@ # name: test_binary_sensors[sensor_payload7-expected7-config_entry_options0][binary_sensor.water2_low_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'water2 Low Battery', + : 'battery', + : 'water2 Low Battery', }), 'context': , 'entity_id': 'binary_sensor.water2_low_battery', @@ -869,8 +869,8 @@ # name: test_binary_sensors[sensor_payload7-expected7-config_entry_options0][binary_sensor.water2_tampered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'water2 Tampered', + : 'tamper', + : 'water2 Tampered', }), 'context': , 'entity_id': 'binary_sensor.water2_tampered', @@ -920,8 +920,8 @@ # name: test_binary_sensors[sensor_payload8-expected8-config_entry_options0][binary_sensor.vibration_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'vibration', - 'friendly_name': 'Vibration 1', + : 'vibration', + : 'Vibration 1', 'on': True, 'orientation': list([ 10, @@ -981,8 +981,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'dark': False, - 'device_class': 'motion', - 'friendly_name': 'Presence sensor', + : 'motion', + : 'Presence sensor', 'on': True, 'temperature': 0.1, }), @@ -1034,8 +1034,8 @@ # name: test_binary_sensors[sensor_payload9-expected9-config_entry_options0][binary_sensor.presence_sensor_low_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Presence sensor Low Battery', + : 'battery', + : 'Presence sensor Low Battery', }), 'context': , 'entity_id': 'binary_sensor.presence_sensor_low_battery', @@ -1085,8 +1085,8 @@ # name: test_binary_sensors[sensor_payload9-expected9-config_entry_options0][binary_sensor.presence_sensor_tampered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Presence sensor Tampered', + : 'tamper', + : 'Presence sensor Tampered', }), 'context': , 'entity_id': 'binary_sensor.presence_sensor_tampered', diff --git a/tests/components/deconz/snapshots/test_button.ambr b/tests/components/deconz/snapshots/test_button.ambr index 551fb197d3f..17e7ecdb10b 100644 --- a/tests/components/deconz/snapshots/test_button.ambr +++ b/tests/components/deconz/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_button[deconz_payload0-expected0][button.light_group_scene_store_current_scene-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light group Scene Store Current Scene', - 'icon': 'mdi:inbox-arrow-down', + : 'Light group Scene Store Current Scene', + : 'mdi:inbox-arrow-down', }), 'context': , 'entity_id': 'button.light_group_scene_store_current_scene', @@ -90,8 +90,8 @@ # name: test_button[deconz_payload1-expected1][button.aqara_fp1_reset_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Aqara FP1 Reset Presence', + : 'restart', + : 'Aqara FP1 Reset Presence', }), 'context': , 'entity_id': 'button.aqara_fp1_reset_presence', diff --git a/tests/components/deconz/snapshots/test_climate.ambr b/tests/components/deconz/snapshots/test_climate.ambr index a994cc052f9..3146aac31fe 100644 --- a/tests/components/deconz/snapshots/test_climate.ambr +++ b/tests/components/deconz/snapshots/test_climate.ambr @@ -68,7 +68,7 @@ 'on', 'off', ]), - 'friendly_name': 'Zen-01', + : 'Zen-01', : , : list([ , @@ -79,7 +79,7 @@ : 35, : 7, 'offset': 0, - 'supported_features': , + : , : 22.2, }), 'context': , @@ -159,7 +159,7 @@ 'on', 'off', ]), - 'friendly_name': 'Zen-01', + : 'Zen-01', : , : list([ , @@ -170,7 +170,7 @@ : 35, : 7, 'offset': 0, - 'supported_features': , + : , : 22.2, }), 'context': , @@ -259,7 +259,7 @@ 'on', 'off', ]), - 'friendly_name': 'Zen-01', + : 'Zen-01', : , : list([ , @@ -280,7 +280,7 @@ 'holiday', 'manual', ]), - 'supported_features': , + : , : 22.2, }), 'context': , @@ -340,7 +340,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.6, - 'friendly_name': 'Thermostat', + : 'Thermostat', : , : list([ , @@ -350,7 +350,7 @@ : 35, : 7, 'offset': 10, - 'supported_features': , + : , : 22.0, 'valve': 30, }), @@ -410,7 +410,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.6, - 'friendly_name': 'CLIP thermostat', + : 'CLIP thermostat', : , : list([ , @@ -418,7 +418,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : None, 'valve': 30, }), @@ -479,7 +479,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.6, - 'friendly_name': 'Thermostat', + : 'Thermostat', : , : list([ , @@ -489,7 +489,7 @@ : 35, : 7, 'offset': 10, - 'supported_features': , + : , : 22.0, 'valve': 30, }), @@ -549,7 +549,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'thermostat', + : 'thermostat', : , : list([ , @@ -559,7 +559,7 @@ : 35, : 7, 'offset': 0, - 'supported_features': , + : , : 21.0, 'valve': 24, }), diff --git a/tests/components/deconz/snapshots/test_cover.ambr b/tests/components/deconz/snapshots/test_cover.ambr index b8d3ba08dfc..fc24d663aa3 100644 --- a/tests/components/deconz/snapshots/test_cover.ambr +++ b/tests/components/deconz/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shade', - 'friendly_name': 'Window covering device', + : 'shade', + : 'Window covering device', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.window_covering_device', @@ -95,10 +95,10 @@ 'attributes': ReadOnlyDict({ : 5, : 97, - 'device_class': 'damper', - 'friendly_name': 'Vent', + : 'damper', + : 'Vent', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.vent', @@ -150,10 +150,10 @@ 'attributes': ReadOnlyDict({ : 100, : 100, - 'device_class': 'shade', - 'friendly_name': 'Covering device', + : 'shade', + : 'Covering device', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.covering_device', diff --git a/tests/components/deconz/snapshots/test_fan.ambr b/tests/components/deconz/snapshots/test_fan.ambr index 4063f454993..68961d72f53 100644 --- a/tests/components/deconz/snapshots/test_fan.ambr +++ b/tests/components/deconz/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_fans[light_payload0][fan.ceiling_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ceiling fan', + : 'Ceiling fan', : 100, : 1.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.ceiling_fan', diff --git a/tests/components/deconz/snapshots/test_light.ambr b/tests/components/deconz/snapshots/test_light.ambr index e997eaf5440..579cbfb1f02 100644 --- a/tests/components/deconz/snapshots/test_light.ambr +++ b/tests/components/deconz/snapshots/test_light.ambr @@ -45,12 +45,12 @@ 'attributes': ReadOnlyDict({ : 255, : , - 'friendly_name': 'Dimmable light', + : 'Dimmable light', 'is_deconz_group': False, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmable_light', @@ -118,7 +118,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'Group', + : 'Group', : tuple( 15.981, 100.0, @@ -135,7 +135,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.673, 0.322, @@ -202,7 +202,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'RGB light', + : 'RGB light', : tuple( 52.0, 100.0, @@ -216,7 +216,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.5, 0.5, @@ -279,7 +279,7 @@ : None, : , : 400, - 'friendly_name': 'Tunable white light', + : 'Tunable white light', : tuple( 15.981, 100.0, @@ -295,7 +295,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.673, 0.322, @@ -355,12 +355,12 @@ 'attributes': ReadOnlyDict({ : 255, : , - 'friendly_name': 'Dimmable light', + : 'Dimmable light', 'is_deconz_group': False, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmable_light', @@ -428,7 +428,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'Group', + : 'Group', : tuple( 15.981, 100.0, @@ -445,7 +445,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.673, 0.322, @@ -512,7 +512,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'RGB light', + : 'RGB light', : tuple( 52.0, 100.0, @@ -526,7 +526,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.5, 0.5, @@ -589,7 +589,7 @@ : None, : , : 400, - 'friendly_name': 'Tunable white light', + : 'Tunable white light', : tuple( 15.981, 100.0, @@ -605,7 +605,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.673, 0.322, @@ -665,12 +665,12 @@ 'attributes': ReadOnlyDict({ : 255, : , - 'friendly_name': 'Dimmable light', + : 'Dimmable light', 'is_deconz_group': False, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmable_light', @@ -738,7 +738,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'Group', + : 'Group', : tuple( 52.0, 100.0, @@ -755,7 +755,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.5, 0.5, @@ -822,7 +822,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'RGB light', + : 'RGB light', : tuple( 52.0, 100.0, @@ -836,7 +836,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.5, 0.5, @@ -899,7 +899,7 @@ : None, : , : 400, - 'friendly_name': 'Tunable white light', + : 'Tunable white light', : tuple( 15.981, 100.0, @@ -915,7 +915,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.673, 0.322, @@ -987,7 +987,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'Hue Go', + : 'Hue Go', : tuple( 28.47, 66.821, @@ -1005,7 +1005,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.529, 0.387, @@ -1077,7 +1077,7 @@ : list([ 'colorloop', ]), - 'friendly_name': 'Hue Ensis', + : 'Hue Ensis', : tuple( 29.691, 38.039, @@ -1095,7 +1095,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.427, 0.373, @@ -1192,7 +1192,7 @@ 'vintage', 'waves', ]), - 'friendly_name': 'LIDL xmas light', + : 'LIDL xmas light', : tuple( 294.938, 55.294, @@ -1206,7 +1206,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.357, 0.189, @@ -1269,7 +1269,7 @@ : 254, : , : 2525, - 'friendly_name': 'Hue White Ambiance', + : 'Hue White Ambiance', : tuple( 28.809, 71.624, @@ -1285,7 +1285,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.544, 0.389, @@ -1345,12 +1345,12 @@ 'attributes': ReadOnlyDict({ : 254, : , - 'friendly_name': 'Hue Filament', + : 'Hue Filament', 'is_deconz_group': False, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.hue_filament', @@ -1405,12 +1405,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Simple Light', + : 'Simple Light', 'is_deconz_group': False, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.simple_light', @@ -1488,7 +1488,7 @@ , , ]), - 'friendly_name': 'Gradient light', + : 'Gradient light', : tuple( 98.095, 74.118, @@ -1506,7 +1506,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.2727, 0.6226, diff --git a/tests/components/deconz/snapshots/test_number.ambr b/tests/components/deconz/snapshots/test_number.ambr index 62613be9342..afec15bd99d 100644 --- a/tests/components/deconz/snapshots/test_number.ambr +++ b/tests/components/deconz/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_number_entities[sensor_payload0-expected0][number.presence_sensor_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence sensor Delay', + : 'Presence sensor Delay', : 65535, : 0, : , @@ -103,7 +103,7 @@ # name: test_number_entities[sensor_payload1-expected1][number.presence_sensor_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence sensor Duration', + : 'Presence sensor Duration', : 65535, : 0, : , diff --git a/tests/components/deconz/snapshots/test_scene.ambr b/tests/components/deconz/snapshots/test_scene.ambr index c10ba7df294..ee78676e6d2 100644 --- a/tests/components/deconz/snapshots/test_scene.ambr +++ b/tests/components/deconz/snapshots/test_scene.ambr @@ -39,7 +39,7 @@ # name: test_scenes[group_payload0-expected0][scene.light_group_scene-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light group Scene', + : 'Light group Scene', }), 'context': , 'entity_id': 'scene.light_group_scene', diff --git a/tests/components/deconz/snapshots/test_select.ambr b/tests/components/deconz/snapshots/test_select.ambr index 67e652ea557..03032b84bbd 100644 --- a/tests/components/deconz/snapshots/test_select.ambr +++ b/tests/components/deconz/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_select[sensor_payload0-expected0][select.aqara_fp1_device_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Device Mode', + : 'Aqara FP1 Device Mode', : list([ 'leftright', 'undirected', @@ -104,7 +104,7 @@ # name: test_select[sensor_payload0-expected0][select.aqara_fp1_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Sensitivity', + : 'Aqara FP1 Sensitivity', : list([ 'High', 'Medium', @@ -165,7 +165,7 @@ # name: test_select[sensor_payload0-expected0][select.aqara_fp1_trigger_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Trigger Distance', + : 'Aqara FP1 Trigger Distance', : list([ 'far', 'medium', @@ -225,7 +225,7 @@ # name: test_select[sensor_payload1-expected1][select.aqara_fp1_device_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Device Mode', + : 'Aqara FP1 Device Mode', : list([ 'leftright', 'undirected', @@ -285,7 +285,7 @@ # name: test_select[sensor_payload1-expected1][select.aqara_fp1_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Sensitivity', + : 'Aqara FP1 Sensitivity', : list([ 'High', 'Medium', @@ -346,7 +346,7 @@ # name: test_select[sensor_payload1-expected1][select.aqara_fp1_trigger_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Trigger Distance', + : 'Aqara FP1 Trigger Distance', : list([ 'far', 'medium', @@ -406,7 +406,7 @@ # name: test_select[sensor_payload2-expected2][select.aqara_fp1_device_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Device Mode', + : 'Aqara FP1 Device Mode', : list([ 'leftright', 'undirected', @@ -466,7 +466,7 @@ # name: test_select[sensor_payload2-expected2][select.aqara_fp1_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Sensitivity', + : 'Aqara FP1 Sensitivity', : list([ 'High', 'Medium', @@ -527,7 +527,7 @@ # name: test_select[sensor_payload2-expected2][select.aqara_fp1_trigger_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara FP1 Trigger Distance', + : 'Aqara FP1 Trigger Distance', : list([ 'far', 'medium', @@ -592,7 +592,7 @@ # name: test_select[sensor_payload3-expected3][select.ikea_starkvind_fan_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'IKEA Starkvind Fan Mode', + : 'IKEA Starkvind Fan Mode', : list([ 'off', 'auto', diff --git a/tests/components/deconz/snapshots/test_sensor.ambr b/tests/components/deconz/snapshots/test_sensor.ambr index 5ded5cfa259..c440d9cfb6f 100644 --- a/tests/components/deconz/snapshots/test_sensor.ambr +++ b/tests/components/deconz/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_allow_clip_sensors[config_entry_options0-sensor_payload0][sensor.clip_flur-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CLIP Flur', + : 'CLIP Flur', 'on': True, }), 'context': , @@ -92,10 +92,10 @@ # name: test_allow_clip_sensors[config_entry_options0-sensor_payload0][sensor.clip_light_level_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'CLIP light level sensor', + : 'illuminance', + : 'CLIP light level sensor', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.clip_light_level_sensor', @@ -148,12 +148,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'dark': False, - 'device_class': 'illuminance', - 'friendly_name': 'Light level sensor', + : 'illuminance', + : 'Light level sensor', 'on': True, : , 'temperature': 0.1, - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.light_level_sensor', @@ -208,10 +208,10 @@ # name: test_allow_clip_sensors[config_entry_options0-sensor_payload0][sensor.light_level_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Light level sensor Temperature', + : 'temperature', + : 'Light level sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.light_level_sensor_temperature', @@ -261,7 +261,7 @@ # name: test_sensors[config_entry_options0-sensor_payload0-expected0][sensor.bosch_air_quality_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BOSCH Air quality sensor', + : 'BOSCH Air quality sensor', }), 'context': , 'entity_id': 'sensor.bosch_air_quality_sensor', @@ -313,9 +313,9 @@ # name: test_sensors[config_entry_options0-sensor_payload0-expected0][sensor.bosch_air_quality_sensor_ppb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BOSCH Air quality sensor PPB', + : 'BOSCH Air quality sensor PPB', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.bosch_air_quality_sensor_ppb', @@ -365,7 +365,7 @@ # name: test_sensors[config_entry_options0-sensor_payload1-expected1][sensor.bosch_air_quality_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BOSCH Air quality sensor', + : 'BOSCH Air quality sensor', }), 'context': , 'entity_id': 'sensor.bosch_air_quality_sensor', @@ -417,9 +417,9 @@ # name: test_sensors[config_entry_options0-sensor_payload1-expected1][sensor.bosch_air_quality_sensor_ppb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BOSCH Air quality sensor PPB', + : 'BOSCH Air quality sensor PPB', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.bosch_air_quality_sensor_ppb', @@ -469,7 +469,7 @@ # name: test_sensors[config_entry_options0-sensor_payload10-expected10][sensor.fsm_state_motion_stair-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FSM_STATE Motion stair', + : 'FSM_STATE Motion stair', 'on': True, }), 'context': , @@ -525,11 +525,11 @@ # name: test_sensors[config_entry_options0-sensor_payload11-expected11][sensor.mi_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Mi temperature 1', + : 'humidity', + : 'Mi temperature 1', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mi_temperature_1', @@ -581,11 +581,11 @@ # name: test_sensors[config_entry_options0-sensor_payload11-expected11][sensor.mi_temperature_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mi temperature 1 Battery', + : 'battery', + : 'Mi temperature 1 Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mi_temperature_1_battery', @@ -640,10 +640,10 @@ # name: test_sensors[config_entry_options0-sensor_payload12-expected12][sensor.soil_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Soil Sensor', + : 'moisture', + : 'Soil Sensor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.soil_sensor', @@ -695,11 +695,11 @@ # name: test_sensors[config_entry_options0-sensor_payload12-expected12][sensor.soil_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Soil Sensor Battery', + : 'battery', + : 'Soil Sensor Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.soil_sensor_battery', @@ -753,11 +753,11 @@ 'attributes': ReadOnlyDict({ 'dark': True, 'daylight': False, - 'device_class': 'illuminance', - 'friendly_name': 'Motion sensor 4', + : 'illuminance', + : 'Motion sensor 4', 'on': True, : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.motion_sensor_4', @@ -811,11 +811,11 @@ 'attributes': ReadOnlyDict({ 'dark': True, 'daylight': False, - 'device_class': 'battery', - 'friendly_name': 'Motion sensor 4 Battery', + : 'battery', + : 'Motion sensor 4 Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.motion_sensor_4_battery', @@ -867,10 +867,10 @@ # name: test_sensors[config_entry_options0-sensor_payload14-expected14][sensor.starkvind_airpurifier_pm25-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'STARKVIND AirPurifier PM25', + : 'pm25', + : 'STARKVIND AirPurifier PM25', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.starkvind_airpurifier_pm25', @@ -926,11 +926,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'current': 34, - 'device_class': 'power', - 'friendly_name': 'Power 16', + : 'power', + : 'Power 16', 'on': True, : , - 'unit_of_measurement': , + : , 'voltage': 231, }), 'context': , @@ -986,11 +986,11 @@ # name: test_sensors[config_entry_options0-sensor_payload16-expected16][sensor.mi_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Mi temperature 1', + : 'pressure', + : 'Mi temperature 1', 'on': True, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mi_temperature_1', @@ -1042,11 +1042,11 @@ # name: test_sensors[config_entry_options0-sensor_payload16-expected16][sensor.mi_temperature_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mi temperature 1 Battery', + : 'battery', + : 'Mi temperature 1 Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mi_temperature_1_battery', @@ -1101,11 +1101,11 @@ # name: test_sensors[config_entry_options0-sensor_payload17-expected17][sensor.mi_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mi temperature 1', + : 'temperature', + : 'Mi temperature 1', 'on': True, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mi_temperature_1', @@ -1157,11 +1157,11 @@ # name: test_sensors[config_entry_options0-sensor_payload17-expected17][sensor.mi_temperature_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mi temperature 1 Battery', + : 'battery', + : 'Mi temperature 1 Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mi_temperature_1_battery', @@ -1211,8 +1211,8 @@ # name: test_sensors[config_entry_options0-sensor_payload18-expected18][sensor.etrv_sejour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'eTRV Séjour', + : 'timestamp', + : 'eTRV Séjour', }), 'context': , 'entity_id': 'sensor.etrv_sejour', @@ -1264,11 +1264,11 @@ # name: test_sensors[config_entry_options0-sensor_payload18-expected18][sensor.etrv_sejour_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'eTRV Séjour Battery', + : 'battery', + : 'eTRV Séjour Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.etrv_sejour_battery', @@ -1320,12 +1320,12 @@ # name: test_sensors[config_entry_options0-sensor_payload19-expected19][sensor.alarm_10_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Alarm 10 Battery', + : 'battery', + : 'Alarm 10 Battery', 'on': True, : , 'temperature': 26.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.alarm_10_battery', @@ -1380,10 +1380,10 @@ # name: test_sensors[config_entry_options0-sensor_payload19-expected19][sensor.alarm_10_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Alarm 10 Temperature', + : 'temperature', + : 'Alarm 10 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.alarm_10_temperature', @@ -1435,10 +1435,10 @@ # name: test_sensors[config_entry_options0-sensor_payload2-expected2][sensor.airquality_1_ch2o-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds', - 'friendly_name': 'AirQuality 1 CH2O', + : 'volatile_organic_compounds', + : 'AirQuality 1 CH2O', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airquality_1_ch2o', @@ -1490,10 +1490,10 @@ # name: test_sensors[config_entry_options0-sensor_payload2-expected2][sensor.airquality_1_co2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'AirQuality 1 CO2', + : 'carbon_dioxide', + : 'AirQuality 1 CO2', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.airquality_1_co2', @@ -1545,10 +1545,10 @@ # name: test_sensors[config_entry_options0-sensor_payload2-expected2][sensor.airquality_1_pm25-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'AirQuality 1 PM25', + : 'pm25', + : 'AirQuality 1 PM25', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airquality_1_pm25', @@ -1600,9 +1600,9 @@ # name: test_sensors[config_entry_options0-sensor_payload2-expected2][sensor.airquality_1_ppb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirQuality 1 PPB', + : 'AirQuality 1 PPB', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.airquality_1_ppb', @@ -1654,12 +1654,12 @@ # name: test_sensors[config_entry_options0-sensor_payload20-expected20][sensor.dimmer_switch_3_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', + : 'battery', 'event_id': 'dimmer_switch_3', - 'friendly_name': 'Dimmer switch 3 Battery', + : 'Dimmer switch 3 Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dimmer_switch_3_battery', @@ -1715,9 +1715,9 @@ # name: test_sensors[config_entry_options0-sensor_payload21-expected21][sensor.ikea_starkvind_filter_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'IKEA Starkvind Filter time', - 'unit_of_measurement': , + : 'duration', + : 'IKEA Starkvind Filter time', + : , }), 'context': , 'entity_id': 'sensor.ikea_starkvind_filter_time', @@ -1769,10 +1769,10 @@ # name: test_sensors[config_entry_options0-sensor_payload3-expected3][sensor.airquality_1_ch2o-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds', - 'friendly_name': 'AirQuality 1 CH2O', + : 'volatile_organic_compounds', + : 'AirQuality 1 CH2O', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airquality_1_ch2o', @@ -1824,10 +1824,10 @@ # name: test_sensors[config_entry_options0-sensor_payload3-expected3][sensor.airquality_1_co2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'AirQuality 1 CO2', + : 'carbon_dioxide', + : 'AirQuality 1 CO2', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.airquality_1_co2', @@ -1879,10 +1879,10 @@ # name: test_sensors[config_entry_options0-sensor_payload3-expected3][sensor.airquality_1_pm25-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'AirQuality 1 PM25', + : 'pm25', + : 'AirQuality 1 PM25', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airquality_1_pm25', @@ -1934,9 +1934,9 @@ # name: test_sensors[config_entry_options0-sensor_payload3-expected3][sensor.airquality_1_ppb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirQuality 1 PPB', + : 'AirQuality 1 PPB', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.airquality_1_ppb', @@ -1988,10 +1988,10 @@ # name: test_sensors[config_entry_options0-sensor_payload4-expected4][sensor.airquality_1_ch2o-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds', - 'friendly_name': 'AirQuality 1 CH2O', + : 'volatile_organic_compounds', + : 'AirQuality 1 CH2O', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airquality_1_ch2o', @@ -2043,10 +2043,10 @@ # name: test_sensors[config_entry_options0-sensor_payload4-expected4][sensor.airquality_1_co2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'AirQuality 1 CO2', + : 'carbon_dioxide', + : 'AirQuality 1 CO2', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.airquality_1_co2', @@ -2098,10 +2098,10 @@ # name: test_sensors[config_entry_options0-sensor_payload4-expected4][sensor.airquality_1_pm25-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'AirQuality 1 PM25', + : 'pm25', + : 'AirQuality 1 PM25', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.airquality_1_pm25', @@ -2153,9 +2153,9 @@ # name: test_sensors[config_entry_options0-sensor_payload4-expected4][sensor.airquality_1_ppb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirQuality 1 PPB', + : 'AirQuality 1 PPB', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.airquality_1_ppb', @@ -2207,11 +2207,11 @@ # name: test_sensors[config_entry_options0-sensor_payload5-expected5][sensor.fyrtur_block_out_roller_blind_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'FYRTUR block-out roller blind Battery', + : 'battery', + : 'FYRTUR block-out roller blind Battery', 'on': True, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fyrtur_block_out_roller_blind_battery', @@ -2263,10 +2263,10 @@ # name: test_sensors[config_entry_options0-sensor_payload6-expected6][sensor.carbondioxide_35-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'CarbonDioxide 35', + : 'carbon_dioxide', + : 'CarbonDioxide 35', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.carbondioxide_35', @@ -2321,12 +2321,12 @@ # name: test_sensors[config_entry_options0-sensor_payload7-expected7][sensor.consumption_15-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Consumption 15', + : 'energy', + : 'Consumption 15', 'on': True, 'power': 123, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.consumption_15', @@ -2377,8 +2377,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'daylight': True, - 'friendly_name': 'Daylight', - 'icon': 'mdi:white-balance-sunny', + : 'Daylight', + : 'mdi:white-balance-sunny', 'on': True, }), 'context': , @@ -2431,10 +2431,10 @@ # name: test_sensors[config_entry_options0-sensor_payload9-expected9][sensor.formaldehyde_34-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds', - 'friendly_name': 'Formaldehyde 34', + : 'volatile_organic_compounds', + : 'Formaldehyde 34', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.formaldehyde_34', diff --git a/tests/components/denon_rs232/snapshots/test_media_player.ambr b/tests/components/denon_rs232/snapshots/test_media_player.ambr index e89b6523051..1fbb93c99cf 100644 --- a/tests/components/denon_rs232/snapshots/test_media_player.ambr +++ b/tests/components/denon_rs232/snapshots/test_media_player.ambr @@ -53,8 +53,8 @@ # name: test_entities_created[media_player.avr_3805-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'friendly_name': 'AVR-3805', + : 'receiver', + : 'AVR-3805', : False, : 'cd', : list([ @@ -70,7 +70,7 @@ 'vcr_2', 'vdp', ]), - 'supported_features': , + : , : 0.5555555555555556, }), 'context': , @@ -135,8 +135,8 @@ # name: test_entities_created[media_player.avr_3805_zone_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'friendly_name': 'AVR-3805 Zone 2', + : 'receiver', + : 'AVR-3805 Zone 2', : 'tuner', : list([ 'cd', @@ -151,7 +151,7 @@ 'vcr_2', 'vdp', ]), - 'supported_features': , + : , : 0.6666666666666666, }), 'context': , @@ -216,8 +216,8 @@ # name: test_entities_created[media_player.avr_3805_zone_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'friendly_name': 'AVR-3805 Zone 3', + : 'receiver', + : 'AVR-3805 Zone 3', : list([ 'cd', 'cdr_tape1', @@ -231,7 +231,7 @@ 'vcr_2', 'vdp', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.avr_3805_zone_3', diff --git a/tests/components/devolo_home_control/snapshots/test_binary_sensor.ambr b/tests/components/devolo_home_control/snapshots/test_binary_sensor.ambr index e8e48ee5ecb..0c7fc576d33 100644 --- a/tests/components/devolo_home_control/snapshots/test_binary_sensor.ambr +++ b/tests/components/devolo_home_control/snapshots/test_binary_sensor.ambr @@ -2,8 +2,8 @@ # name: test_binary_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Door', + : 'door', + : 'Test Door', }), 'context': , 'entity_id': 'binary_sensor.test_test_door', @@ -53,8 +53,8 @@ # name: test_binary_sensor.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Test Overload', + : 'safety', + : 'Test Overload', }), 'context': , 'entity_id': 'binary_sensor.test_test_overload', @@ -104,7 +104,7 @@ # name: test_remote_control StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button 1', + : 'Test Button 1', }), 'context': , 'entity_id': 'binary_sensor.test_test_button_1', diff --git a/tests/components/devolo_home_control/snapshots/test_climate.ambr b/tests/components/devolo_home_control/snapshots/test_climate.ambr index d45552fb63f..c5a10c45483 100644 --- a/tests/components/devolo_home_control/snapshots/test_climate.ambr +++ b/tests/components/devolo_home_control/snapshots/test_climate.ambr @@ -3,13 +3,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20, - 'friendly_name': 'Test', + : 'Test', : list([ , ]), : 24, : 4, - 'supported_features': , + : , : 0.5, : 20, }), diff --git a/tests/components/devolo_home_control/snapshots/test_cover.ambr b/tests/components/devolo_home_control/snapshots/test_cover.ambr index f552a60c60e..1db1051fbf6 100644 --- a/tests/components/devolo_home_control/snapshots/test_cover.ambr +++ b/tests/components/devolo_home_control/snapshots/test_cover.ambr @@ -3,10 +3,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20, - 'device_class': 'blind', - 'friendly_name': 'Test', + : 'blind', + : 'Test', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_test', diff --git a/tests/components/devolo_home_control/snapshots/test_light.ambr b/tests/components/devolo_home_control/snapshots/test_light.ambr index 0cc99d5103a..443c2fe3362 100644 --- a/tests/components/devolo_home_control/snapshots/test_light.ambr +++ b/tests/components/devolo_home_control/snapshots/test_light.ambr @@ -4,11 +4,11 @@ 'attributes': ReadOnlyDict({ : 51, : , - 'friendly_name': 'Test', + : 'Test', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_test', @@ -64,11 +64,11 @@ 'attributes': ReadOnlyDict({ : 51, : , - 'friendly_name': 'Test', + : 'Test', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_test', diff --git a/tests/components/devolo_home_control/snapshots/test_sensor.ambr b/tests/components/devolo_home_control/snapshots/test_sensor.ambr index 81e3400fd04..8a8298233b0 100644 --- a/tests/components/devolo_home_control/snapshots/test_sensor.ambr +++ b/tests/components/devolo_home_control/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_battery_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Battery', + : 'battery', + : 'Test Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_test_battery', @@ -57,9 +57,9 @@ # name: test_brightness_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Brightness', + : 'Test Brightness', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_test_brightness', @@ -111,10 +111,10 @@ # name: test_consumption_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Power', + : 'power', + : 'Test Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.test_test_power', @@ -169,10 +169,10 @@ # name: test_consumption_sensor.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Energy', + : 'energy', + : 'Test Energy', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.test_test_energy', @@ -227,10 +227,10 @@ # name: test_temperature_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Temperature', + : 'temperature', + : 'Test Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_test_temperature', diff --git a/tests/components/devolo_home_control/snapshots/test_siren.ambr b/tests/components/devolo_home_control/snapshots/test_siren.ambr index 8f2852d9be5..7e0b78bb688 100644 --- a/tests/components/devolo_home_control/snapshots/test_siren.ambr +++ b/tests/components/devolo_home_control/snapshots/test_siren.ambr @@ -5,8 +5,8 @@ : list([ 0, ]), - 'friendly_name': 'Test', - 'supported_features': , + : 'Test', + : , }), 'context': , 'entity_id': 'siren.test_test', @@ -63,8 +63,8 @@ : list([ 0, ]), - 'friendly_name': 'Test', - 'supported_features': , + : 'Test', + : , }), 'context': , 'entity_id': 'siren.test_test', @@ -121,8 +121,8 @@ : list([ 0, ]), - 'friendly_name': 'Test', - 'supported_features': , + : 'Test', + : , }), 'context': , 'entity_id': 'siren.test_test', diff --git a/tests/components/devolo_home_control/snapshots/test_switch.ambr b/tests/components/devolo_home_control/snapshots/test_switch.ambr index c806e9385cb..f5b33bbc5e7 100644 --- a/tests/components/devolo_home_control/snapshots/test_switch.ambr +++ b/tests/components/devolo_home_control/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_switch StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test', + : 'Test', }), 'context': , 'entity_id': 'switch.test_test', diff --git a/tests/components/devolo_home_network/snapshots/test_binary_sensor.ambr b/tests/components/devolo_home_network/snapshots/test_binary_sensor.ambr index 871942d085a..6e6ba8c4ed7 100644 --- a/tests/components/devolo_home_network/snapshots/test_binary_sensor.ambr +++ b/tests/components/devolo_home_network/snapshots/test_binary_sensor.ambr @@ -2,8 +2,8 @@ # name: test_update_attached_to_router StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'Mock Title Connected to router', + : 'plug', + : 'Mock Title Connected to router', }), 'context': , 'entity_id': 'binary_sensor.mock_title_connected_to_router', diff --git a/tests/components/devolo_home_network/snapshots/test_button.ambr b/tests/components/devolo_home_network/snapshots/test_button.ambr index a5e482da19c..cc62d81d3da 100644 --- a/tests/components/devolo_home_network/snapshots/test_button.ambr +++ b/tests/components/devolo_home_network/snapshots/test_button.ambr @@ -2,8 +2,8 @@ # name: test_button[identify_device_with_a_blinking_led-plcnet-async_identify_device_start] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Title Identify device with a blinking LED', + : 'identify', + : 'Mock Title Identify device with a blinking LED', }), 'context': , 'entity_id': 'button.mock_title_identify_device_with_a_blinking_led', @@ -53,8 +53,8 @@ # name: test_button[restart_device-device-async_restart] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Mock Title Restart device', + : 'restart', + : 'Mock Title Restart device', }), 'context': , 'entity_id': 'button.mock_title_restart_device', @@ -104,7 +104,7 @@ # name: test_button[start_plc_pairing-plcnet-async_pair_device] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Start PLC pairing', + : 'Mock Title Start PLC pairing', }), 'context': , 'entity_id': 'button.mock_title_start_plc_pairing', @@ -154,7 +154,7 @@ # name: test_button[start_wps-device-async_start_wps] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Start WPS', + : 'Mock Title Start WPS', }), 'context': , 'entity_id': 'button.mock_title_start_wps', diff --git a/tests/components/devolo_home_network/snapshots/test_device_tracker.ambr b/tests/components/devolo_home_network/snapshots/test_device_tracker.ambr index 89c6ab94a03..afb7a074417 100644 --- a/tests/components/devolo_home_network/snapshots/test_device_tracker.ambr +++ b/tests/components/devolo_home_network/snapshots/test_device_tracker.ambr @@ -3,7 +3,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'band': '5 GHz', - 'friendly_name': '00:00:5E:00:53:01', + : '00:00:5E:00:53:01', : list([ 'zone.home', ]), diff --git a/tests/components/devolo_home_network/snapshots/test_sensor.ambr b/tests/components/devolo_home_network/snapshots/test_sensor.ambr index b808b3d44a8..1a0d97cf7bf 100644 --- a/tests/components/devolo_home_network/snapshots/test_sensor.ambr +++ b/tests/components/devolo_home_network/snapshots/test_sensor.ambr @@ -2,7 +2,7 @@ # name: test_sensor[connected_plc_devices-async_get_network_overview-interval2-1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Connected PLC devices', + : 'Mock Title Connected PLC devices', }), 'context': , 'entity_id': 'sensor.mock_title_connected_plc_devices', @@ -52,7 +52,7 @@ # name: test_sensor[connected_wi_fi_clients-async_get_wifi_connected_station-interval0-1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Connected Wi-Fi clients', + : 'Mock Title Connected Wi-Fi clients', : , }), 'context': , @@ -105,7 +105,7 @@ # name: test_sensor[neighboring_wi_fi_networks-async_get_wifi_neighbor_access_points-interval1-1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Neighboring Wi-Fi networks', + : 'Mock Title Neighboring Wi-Fi networks', }), 'context': , 'entity_id': 'sensor.mock_title_neighboring_wi_fi_networks', @@ -155,8 +155,8 @@ # name: test_sensor[uptime-async_uptime-interval3-2023-01-13T11:58:20+00:00] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Uptime', + : 'uptime', + : 'Mock Title Uptime', }), 'context': , 'entity_id': 'sensor.mock_title_uptime', @@ -206,9 +206,9 @@ # name: test_update_plc_phyrates StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title PLC downlink PHY rate (test2)', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title PLC downlink PHY rate (test2)', + : , }), 'context': , 'entity_id': 'sensor.mock_title_plc_downlink_phy_rate_test2', @@ -261,9 +261,9 @@ # name: test_update_plc_phyrates.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title PLC downlink PHY rate (test2)', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title PLC downlink PHY rate (test2)', + : , }), 'context': , 'entity_id': 'sensor.mock_title_plc_downlink_phy_rate_test2', diff --git a/tests/components/devolo_home_network/snapshots/test_switch.ambr b/tests/components/devolo_home_network/snapshots/test_switch.ambr index 98999a216fd..b160f87b0eb 100644 --- a/tests/components/devolo_home_network/snapshots/test_switch.ambr +++ b/tests/components/devolo_home_network/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_update_enable_guest_wifi StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Enable guest Wi-Fi', + : 'Mock Title Enable guest Wi-Fi', }), 'context': , 'entity_id': 'switch.mock_title_enable_guest_wi_fi', @@ -52,7 +52,7 @@ # name: test_update_enable_leds StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Enable LEDs', + : 'Mock Title Enable LEDs', }), 'context': , 'entity_id': 'switch.mock_title_enable_leds', diff --git a/tests/components/devolo_home_network/snapshots/test_update.ambr b/tests/components/devolo_home_network/snapshots/test_update.ambr index 4c8c03596ef..96b9d71c08d 100644 --- a/tests/components/devolo_home_network/snapshots/test_update.ambr +++ b/tests/components/devolo_home_network/snapshots/test_update.ambr @@ -3,17 +3,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/devolo_home_network/icon.png', - 'friendly_name': 'Mock Title Firmware', + : '/api/brands/integration/devolo_home_network/icon.png', + : 'Mock Title Firmware', : False, : '5.6.1', : '5.6.2', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/discovergy/snapshots/test_sensor.ambr b/tests/components/discovergy/snapshots/test_sensor.ambr index 88b051aa471..c48e48a90ed 100644 --- a/tests/components/discovergy/snapshots/test_sensor.ambr +++ b/tests/components/discovergy/snapshots/test_sensor.ambr @@ -84,10 +84,10 @@ # name: test_sensor[electricity total consumption].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Electricity Teststraße 1 Total consumption', + : 'energy', + : 'Electricity Teststraße 1 Total consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.electricity_teststrasse_1_total_consumption', @@ -142,10 +142,10 @@ # name: test_sensor[electricity total power].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Electricity Teststraße 1 Total power', + : 'power', + : 'Electricity Teststraße 1 Total power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.electricity_teststrasse_1_total_power', @@ -240,10 +240,10 @@ # name: test_sensor[gas total consumption].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas Teststraße 1 Total gas consumption', + : 'gas', + : 'Gas Teststraße 1 Total gas consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_teststrasse_1_total_gas_consumption', diff --git a/tests/components/drop_connect/snapshots/test_binary_sensor.ambr b/tests/components/drop_connect/snapshots/test_binary_sensor.ambr index 17ae197f4cf..6c15a96dc73 100644 --- a/tests/components/drop_connect/snapshots/test_binary_sensor.ambr +++ b/tests/components/drop_connect/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[alert][binary_sensor.alert_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Alert Power', + : 'power', + : 'Alert Power', }), 'context': , 'entity_id': 'binary_sensor.alert_power', @@ -90,8 +90,8 @@ # name: test_sensors[alert][binary_sensor.alert_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Alert Sensor', + : 'problem', + : 'Alert Sensor', }), 'context': , 'entity_id': 'binary_sensor.alert_sensor', @@ -141,8 +141,8 @@ # name: test_sensors[hub][binary_sensor.hub_drop_1_c0ffee_leak_detected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Hub DROP-1_C0FFEE Leak detected', + : 'moisture', + : 'Hub DROP-1_C0FFEE Leak detected', }), 'context': , 'entity_id': 'binary_sensor.hub_drop_1_c0ffee_leak_detected', @@ -192,7 +192,7 @@ # name: test_sensors[hub][binary_sensor.hub_drop_1_c0ffee_notification_unread-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hub DROP-1_C0FFEE Notification unread', + : 'Hub DROP-1_C0FFEE Notification unread', }), 'context': , 'entity_id': 'binary_sensor.hub_drop_1_c0ffee_notification_unread', @@ -242,8 +242,8 @@ # name: test_sensors[leak][binary_sensor.leak_detector_leak_detected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Leak Detector Leak detected', + : 'moisture', + : 'Leak Detector Leak detected', }), 'context': , 'entity_id': 'binary_sensor.leak_detector_leak_detected', @@ -293,8 +293,8 @@ # name: test_sensors[protection_valve][binary_sensor.protection_valve_leak_detected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Protection Valve Leak detected', + : 'moisture', + : 'Protection Valve Leak detected', }), 'context': , 'entity_id': 'binary_sensor.protection_valve_leak_detected', @@ -344,8 +344,8 @@ # name: test_sensors[pump_controller][binary_sensor.pump_controller_leak_detected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Pump Controller Leak detected', + : 'moisture', + : 'Pump Controller Leak detected', }), 'context': , 'entity_id': 'binary_sensor.pump_controller_leak_detected', @@ -395,7 +395,7 @@ # name: test_sensors[pump_controller][binary_sensor.pump_controller_pump_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pump Controller Pump status', + : 'Pump Controller Pump status', }), 'context': , 'entity_id': 'binary_sensor.pump_controller_pump_status', @@ -445,8 +445,8 @@ # name: test_sensors[ro_filter][binary_sensor.ro_filter_leak_detected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'RO Filter Leak detected', + : 'moisture', + : 'RO Filter Leak detected', }), 'context': , 'entity_id': 'binary_sensor.ro_filter_leak_detected', @@ -496,7 +496,7 @@ # name: test_sensors[softener][binary_sensor.softener_reserve_capacity_in_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Softener Reserve capacity in use', + : 'Softener Reserve capacity in use', }), 'context': , 'entity_id': 'binary_sensor.softener_reserve_capacity_in_use', diff --git a/tests/components/drop_connect/snapshots/test_sensor.ambr b/tests/components/drop_connect/snapshots/test_sensor.ambr index 785c22e8f55..7f4a5de8509 100644 --- a/tests/components/drop_connect/snapshots/test_sensor.ambr +++ b/tests/components/drop_connect/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_sensors[alert][sensor.alert_battery-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Alert Battery', + : 'battery', + : 'Alert Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.alert_battery', @@ -18,10 +18,10 @@ # name: test_sensors[alert][sensor.alert_battery-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Alert Battery', + : 'battery', + : 'Alert Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.alert_battery', @@ -34,10 +34,10 @@ # name: test_sensors[alert][sensor.alert_temperature-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Alert Temperature', + : 'temperature', + : 'Alert Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.alert_temperature', @@ -50,10 +50,10 @@ # name: test_sensors[alert][sensor.alert_temperature-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Alert Temperature', + : 'temperature', + : 'Alert Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.alert_temperature', @@ -66,10 +66,10 @@ # name: test_sensors[filter][sensor.filter_battery-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Filter Battery', + : 'battery', + : 'Filter Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.filter_battery', @@ -82,10 +82,10 @@ # name: test_sensors[filter][sensor.filter_battery-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Filter Battery', + : 'battery', + : 'Filter Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.filter_battery', @@ -98,10 +98,10 @@ # name: test_sensors[filter][sensor.filter_current_water_pressure-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Filter Current water pressure', + : 'pressure', + : 'Filter Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.filter_current_water_pressure', @@ -114,10 +114,10 @@ # name: test_sensors[filter][sensor.filter_current_water_pressure-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Filter Current water pressure', + : 'pressure', + : 'Filter Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.filter_current_water_pressure', @@ -130,10 +130,10 @@ # name: test_sensors[filter][sensor.filter_water_flow_rate-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Filter Water flow rate', + : 'volume_flow_rate', + : 'Filter Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.filter_water_flow_rate', @@ -146,10 +146,10 @@ # name: test_sensors[filter][sensor.filter_water_flow_rate-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Filter Water flow rate', + : 'volume_flow_rate', + : 'Filter Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.filter_water_flow_rate', @@ -162,10 +162,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_average_daily_water_usage-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Hub DROP-1_C0FFEE Average daily water usage', + : 'water', + : 'Hub DROP-1_C0FFEE Average daily water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_average_daily_water_usage', @@ -178,10 +178,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_average_daily_water_usage-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Hub DROP-1_C0FFEE Average daily water usage', + : 'water', + : 'Hub DROP-1_C0FFEE Average daily water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_average_daily_water_usage', @@ -194,10 +194,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_battery-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Hub DROP-1_C0FFEE Battery', + : 'battery', + : 'Hub DROP-1_C0FFEE Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_battery', @@ -210,10 +210,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_battery-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Hub DROP-1_C0FFEE Battery', + : 'battery', + : 'Hub DROP-1_C0FFEE Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_battery', @@ -226,10 +226,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_current_water_pressure-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Hub DROP-1_C0FFEE Current water pressure', + : 'pressure', + : 'Hub DROP-1_C0FFEE Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_current_water_pressure', @@ -242,10 +242,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_current_water_pressure-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Hub DROP-1_C0FFEE Current water pressure', + : 'pressure', + : 'Hub DROP-1_C0FFEE Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_current_water_pressure', @@ -258,10 +258,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_high_water_pressure_today-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Hub DROP-1_C0FFEE High water pressure today', + : 'pressure', + : 'Hub DROP-1_C0FFEE High water pressure today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_high_water_pressure_today', @@ -274,10 +274,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_high_water_pressure_today-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Hub DROP-1_C0FFEE High water pressure today', + : 'pressure', + : 'Hub DROP-1_C0FFEE High water pressure today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_high_water_pressure_today', @@ -290,10 +290,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_low_water_pressure_today-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Hub DROP-1_C0FFEE Low water pressure today', + : 'pressure', + : 'Hub DROP-1_C0FFEE Low water pressure today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_low_water_pressure_today', @@ -306,10 +306,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_low_water_pressure_today-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Hub DROP-1_C0FFEE Low water pressure today', + : 'pressure', + : 'Hub DROP-1_C0FFEE Low water pressure today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_low_water_pressure_today', @@ -322,10 +322,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_peak_water_flow_rate_today-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Hub DROP-1_C0FFEE Peak water flow rate today', + : 'volume_flow_rate', + : 'Hub DROP-1_C0FFEE Peak water flow rate today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_peak_water_flow_rate_today', @@ -338,10 +338,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_peak_water_flow_rate_today-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Hub DROP-1_C0FFEE Peak water flow rate today', + : 'volume_flow_rate', + : 'Hub DROP-1_C0FFEE Peak water flow rate today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_peak_water_flow_rate_today', @@ -354,10 +354,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_total_water_used_today-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Hub DROP-1_C0FFEE Total water used today', + : 'water', + : 'Hub DROP-1_C0FFEE Total water used today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_total_water_used_today', @@ -370,10 +370,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_total_water_used_today-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Hub DROP-1_C0FFEE Total water used today', + : 'water', + : 'Hub DROP-1_C0FFEE Total water used today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_total_water_used_today', @@ -386,10 +386,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_water_flow_rate-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Hub DROP-1_C0FFEE Water flow rate', + : 'volume_flow_rate', + : 'Hub DROP-1_C0FFEE Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_water_flow_rate', @@ -402,10 +402,10 @@ # name: test_sensors[hub][sensor.hub_drop_1_c0ffee_water_flow_rate-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Hub DROP-1_C0FFEE Water flow rate', + : 'volume_flow_rate', + : 'Hub DROP-1_C0FFEE Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hub_drop_1_c0ffee_water_flow_rate', @@ -418,10 +418,10 @@ # name: test_sensors[leak][sensor.leak_detector_battery-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Leak Detector Battery', + : 'battery', + : 'Leak Detector Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.leak_detector_battery', @@ -434,10 +434,10 @@ # name: test_sensors[leak][sensor.leak_detector_battery-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Leak Detector Battery', + : 'battery', + : 'Leak Detector Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.leak_detector_battery', @@ -450,10 +450,10 @@ # name: test_sensors[leak][sensor.leak_detector_temperature-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Leak Detector Temperature', + : 'temperature', + : 'Leak Detector Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.leak_detector_temperature', @@ -466,10 +466,10 @@ # name: test_sensors[leak][sensor.leak_detector_temperature-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Leak Detector Temperature', + : 'temperature', + : 'Leak Detector Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.leak_detector_temperature', @@ -482,10 +482,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_battery-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Protection Valve Battery', + : 'battery', + : 'Protection Valve Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.protection_valve_battery', @@ -498,10 +498,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_battery-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Protection Valve Battery', + : 'battery', + : 'Protection Valve Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.protection_valve_battery', @@ -514,10 +514,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_current_water_pressure-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Protection Valve Current water pressure', + : 'pressure', + : 'Protection Valve Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.protection_valve_current_water_pressure', @@ -530,10 +530,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_current_water_pressure-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Protection Valve Current water pressure', + : 'pressure', + : 'Protection Valve Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.protection_valve_current_water_pressure', @@ -546,10 +546,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_temperature-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Protection Valve Temperature', + : 'temperature', + : 'Protection Valve Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.protection_valve_temperature', @@ -562,10 +562,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_temperature-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Protection Valve Temperature', + : 'temperature', + : 'Protection Valve Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.protection_valve_temperature', @@ -578,10 +578,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_water_flow_rate-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Protection Valve Water flow rate', + : 'volume_flow_rate', + : 'Protection Valve Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.protection_valve_water_flow_rate', @@ -594,10 +594,10 @@ # name: test_sensors[protection_valve][sensor.protection_valve_water_flow_rate-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Protection Valve Water flow rate', + : 'volume_flow_rate', + : 'Protection Valve Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.protection_valve_water_flow_rate', @@ -610,10 +610,10 @@ # name: test_sensors[pump_controller][sensor.pump_controller_current_water_pressure-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Pump Controller Current water pressure', + : 'pressure', + : 'Pump Controller Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pump_controller_current_water_pressure', @@ -626,10 +626,10 @@ # name: test_sensors[pump_controller][sensor.pump_controller_current_water_pressure-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Pump Controller Current water pressure', + : 'pressure', + : 'Pump Controller Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pump_controller_current_water_pressure', @@ -642,10 +642,10 @@ # name: test_sensors[pump_controller][sensor.pump_controller_temperature-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pump Controller Temperature', + : 'temperature', + : 'Pump Controller Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pump_controller_temperature', @@ -658,10 +658,10 @@ # name: test_sensors[pump_controller][sensor.pump_controller_temperature-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pump Controller Temperature', + : 'temperature', + : 'Pump Controller Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pump_controller_temperature', @@ -674,10 +674,10 @@ # name: test_sensors[pump_controller][sensor.pump_controller_water_flow_rate-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Pump Controller Water flow rate', + : 'volume_flow_rate', + : 'Pump Controller Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pump_controller_water_flow_rate', @@ -690,10 +690,10 @@ # name: test_sensors[pump_controller][sensor.pump_controller_water_flow_rate-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Pump Controller Water flow rate', + : 'volume_flow_rate', + : 'Pump Controller Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pump_controller_water_flow_rate', @@ -706,9 +706,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_cartridge_1_life_remaining-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Cartridge 1 life remaining', + : 'RO Filter Cartridge 1 life remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ro_filter_cartridge_1_life_remaining', @@ -721,9 +721,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_cartridge_1_life_remaining-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Cartridge 1 life remaining', + : 'RO Filter Cartridge 1 life remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ro_filter_cartridge_1_life_remaining', @@ -736,9 +736,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_cartridge_2_life_remaining-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Cartridge 2 life remaining', + : 'RO Filter Cartridge 2 life remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ro_filter_cartridge_2_life_remaining', @@ -751,9 +751,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_cartridge_2_life_remaining-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Cartridge 2 life remaining', + : 'RO Filter Cartridge 2 life remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ro_filter_cartridge_2_life_remaining', @@ -766,9 +766,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_cartridge_3_life_remaining-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Cartridge 3 life remaining', + : 'RO Filter Cartridge 3 life remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ro_filter_cartridge_3_life_remaining', @@ -781,9 +781,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_cartridge_3_life_remaining-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Cartridge 3 life remaining', + : 'RO Filter Cartridge 3 life remaining', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ro_filter_cartridge_3_life_remaining', @@ -796,9 +796,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_inlet_tds-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Inlet TDS', + : 'RO Filter Inlet TDS', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.ro_filter_inlet_tds', @@ -811,9 +811,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_inlet_tds-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Inlet TDS', + : 'RO Filter Inlet TDS', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.ro_filter_inlet_tds', @@ -826,9 +826,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_outlet_tds-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Outlet TDS', + : 'RO Filter Outlet TDS', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.ro_filter_outlet_tds', @@ -841,9 +841,9 @@ # name: test_sensors[ro_filter][sensor.ro_filter_outlet_tds-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RO Filter Outlet TDS', + : 'RO Filter Outlet TDS', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.ro_filter_outlet_tds', @@ -856,10 +856,10 @@ # name: test_sensors[softener][sensor.softener_battery-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Softener Battery', + : 'battery', + : 'Softener Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.softener_battery', @@ -872,10 +872,10 @@ # name: test_sensors[softener][sensor.softener_battery-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Softener Battery', + : 'battery', + : 'Softener Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.softener_battery', @@ -888,10 +888,10 @@ # name: test_sensors[softener][sensor.softener_capacity_remaining-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Softener Capacity remaining', + : 'water', + : 'Softener Capacity remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.softener_capacity_remaining', @@ -904,10 +904,10 @@ # name: test_sensors[softener][sensor.softener_capacity_remaining-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Softener Capacity remaining', + : 'water', + : 'Softener Capacity remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.softener_capacity_remaining', @@ -920,10 +920,10 @@ # name: test_sensors[softener][sensor.softener_current_water_pressure-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Softener Current water pressure', + : 'pressure', + : 'Softener Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.softener_current_water_pressure', @@ -936,10 +936,10 @@ # name: test_sensors[softener][sensor.softener_current_water_pressure-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Softener Current water pressure', + : 'pressure', + : 'Softener Current water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.softener_current_water_pressure', @@ -952,10 +952,10 @@ # name: test_sensors[softener][sensor.softener_water_flow_rate-data] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Softener Water flow rate', + : 'volume_flow_rate', + : 'Softener Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.softener_water_flow_rate', @@ -968,10 +968,10 @@ # name: test_sensors[softener][sensor.softener_water_flow_rate-reset] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Softener Water flow rate', + : 'volume_flow_rate', + : 'Softener Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.softener_water_flow_rate', diff --git a/tests/components/droplet/snapshots/test_binary_sensor.ambr b/tests/components/droplet/snapshots/test_binary_sensor.ambr index de34a91ebe9..299839c0a11 100644 --- a/tests/components/droplet/snapshots/test_binary_sensor.ambr +++ b/tests/components/droplet/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.mock_title_high_flow_alert-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title High flow alert', + : 'problem', + : 'Mock Title High flow alert', }), 'context': , 'entity_id': 'binary_sensor.mock_title_high_flow_alert', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.mock_title_unusual_flow_alert-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title Unusual flow alert', + : 'problem', + : 'Mock Title Unusual flow alert', }), 'context': , 'entity_id': 'binary_sensor.mock_title_unusual_flow_alert', diff --git a/tests/components/droplet/snapshots/test_sensor.ambr b/tests/components/droplet/snapshots/test_sensor.ambr index 68e06bca47e..b985b72da92 100644 --- a/tests/components/droplet/snapshots/test_sensor.ambr +++ b/tests/components/droplet/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_sensors[sensor.mock_title_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Mock Title Flow rate', + : 'volume_flow_rate', + : 'Mock Title Flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_flow_rate', @@ -106,8 +106,8 @@ # name: test_sensors[sensor.mock_title_server_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Server status', + : 'enum', + : 'Mock Title Server status', : list([ 'connected', 'connecting', @@ -168,8 +168,8 @@ # name: test_sensors[sensor.mock_title_signal_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Signal quality', + : 'enum', + : 'Mock Title Signal quality', : list([ 'no_signal', 'weak_signal', @@ -232,11 +232,11 @@ # name: test_sensors[sensor.mock_title_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Mock Title Water', + : 'water', + : 'Mock Title Water', : '2020-01-01T00:00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_water', diff --git a/tests/components/duco/snapshots/test_fan.ambr b/tests/components/duco/snapshots/test_fan.ambr index 36abdc46ab8..5b741796214 100644 --- a/tests/components/duco/snapshots/test_fan.ambr +++ b/tests/components/duco/snapshots/test_fan.ambr @@ -43,14 +43,14 @@ # name: test_fan_entity_state[fan.living-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living', + : 'Living', : None, : 33.333333333333336, : 'auto', : list([ 'auto', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.living', diff --git a/tests/components/duco/snapshots/test_sensor.ambr b/tests/components/duco/snapshots/test_sensor.ambr index 22acc8ee4e4..7156649014b 100644 --- a/tests/components/duco/snapshots/test_sensor.ambr +++ b/tests/components/duco/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_entities_state[sensor.bathroom_rh_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Bathroom RH Humidity', + : 'humidity', + : 'Bathroom RH Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bathroom_rh_humidity', @@ -96,9 +96,9 @@ # name: test_sensor_entities_state[sensor.bathroom_rh_humidity_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bathroom RH Humidity air quality index', + : 'Bathroom RH Humidity air quality index', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bathroom_rh_humidity_air_quality_index', @@ -150,10 +150,10 @@ # name: test_sensor_entities_state[sensor.bedroom_valve_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Bedroom valve Humidity', + : 'humidity', + : 'Bedroom valve Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bedroom_valve_humidity', @@ -205,9 +205,9 @@ # name: test_sensor_entities_state[sensor.bedroom_valve_humidity_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom valve Humidity air quality index', + : 'Bedroom valve Humidity air quality index', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bedroom_valve_humidity_air_quality_index', @@ -259,10 +259,10 @@ # name: test_sensor_entities_state[sensor.hall_valve_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Hall valve Carbon dioxide', + : 'carbon_dioxide', + : 'Hall valve Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.hall_valve_carbon_dioxide', @@ -314,9 +314,9 @@ # name: test_sensor_entities_state[sensor.hall_valve_co2_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hall valve CO2 air quality index', + : 'Hall valve CO2 air quality index', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hall_valve_co2_air_quality_index', @@ -368,10 +368,10 @@ # name: test_sensor_entities_state[sensor.kitchen_rh_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Kitchen RH Humidity', + : 'humidity', + : 'Kitchen RH Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kitchen_rh_humidity', @@ -423,9 +423,9 @@ # name: test_sensor_entities_state[sensor.kitchen_rh_humidity_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen RH Humidity air quality index', + : 'Kitchen RH Humidity air quality index', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kitchen_rh_humidity_air_quality_index', @@ -478,9 +478,9 @@ # name: test_sensor_entities_state[sensor.living_filter_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Living Filter remaining', - 'unit_of_measurement': , + : 'duration', + : 'Living Filter remaining', + : , }), 'context': , 'entity_id': 'sensor.living_filter_remaining', @@ -532,10 +532,10 @@ # name: test_sensor_entities_state[sensor.living_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Signal strength', + : 'signal_strength', + : 'Living Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.living_signal_strength', @@ -585,8 +585,8 @@ # name: test_sensor_entities_state[sensor.living_state_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Living State end time', + : 'timestamp', + : 'Living State end time', }), 'context': , 'entity_id': 'sensor.living_state_end_time', @@ -641,9 +641,9 @@ # name: test_sensor_entities_state[sensor.living_target_flow_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Target flow level', + : 'Living Target flow level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_target_flow_level', @@ -714,8 +714,8 @@ # name: test_sensor_entities_state[sensor.living_ventilation_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Ventilation state', + : 'enum', + : 'Living Ventilation state', : list([ 'auto', 'aut1', @@ -787,10 +787,10 @@ # name: test_sensor_entities_state[sensor.office_co2_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Office CO2 Carbon dioxide', + : 'carbon_dioxide', + : 'Office CO2 Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.office_co2_carbon_dioxide', @@ -842,9 +842,9 @@ # name: test_sensor_entities_state[sensor.office_co2_co2_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office CO2 CO2 air quality index', + : 'Office CO2 CO2 air quality index', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.office_co2_co2_air_quality_index', @@ -896,10 +896,10 @@ # name: test_sensor_entities_state[sensor.study_valve_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Study valve Carbon dioxide', + : 'carbon_dioxide', + : 'Study valve Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.study_valve_carbon_dioxide', @@ -951,9 +951,9 @@ # name: test_sensor_entities_state[sensor.study_valve_co2_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study valve CO2 air quality index', + : 'Study valve CO2 air quality index', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.study_valve_co2_air_quality_index', @@ -1005,10 +1005,10 @@ # name: test_sensor_entities_state[sensor.study_valve_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Study valve Humidity', + : 'humidity', + : 'Study valve Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.study_valve_humidity', @@ -1060,9 +1060,9 @@ # name: test_sensor_entities_state[sensor.study_valve_humidity_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study valve Humidity air quality index', + : 'Study valve Humidity air quality index', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.study_valve_humidity_air_quality_index', diff --git a/tests/components/earn_e_p1/snapshots/test_sensor.ambr b/tests/components/earn_e_p1/snapshots/test_sensor.ambr index 95f7ddb7f78..b4a881a79c3 100644 --- a/tests/components/earn_e_p1/snapshots/test_sensor.ambr +++ b/tests/components/earn_e_p1/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'EARN-E P1 Meter Current L1', + : 'current', + : 'EARN-E P1 Meter Current L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_current_l1', @@ -102,10 +102,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_energy_exported_tariff_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'EARN-E P1 Meter Energy exported tariff 1', + : 'energy', + : 'EARN-E P1 Meter Energy exported tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_energy_exported_tariff_1', @@ -160,10 +160,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_energy_exported_tariff_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'EARN-E P1 Meter Energy exported tariff 2', + : 'energy', + : 'EARN-E P1 Meter Energy exported tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_energy_exported_tariff_2', @@ -218,10 +218,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_energy_imported_tariff_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'EARN-E P1 Meter Energy imported tariff 1', + : 'energy', + : 'EARN-E P1 Meter Energy imported tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_energy_imported_tariff_1', @@ -276,10 +276,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_energy_imported_tariff_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'EARN-E P1 Meter Energy imported tariff 2', + : 'energy', + : 'EARN-E P1 Meter Energy imported tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_energy_imported_tariff_2', @@ -334,10 +334,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_gas_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'EARN-E P1 Meter Gas consumed', + : 'gas', + : 'EARN-E P1 Meter Gas consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_gas_consumed', @@ -392,10 +392,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_power_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EARN-E P1 Meter Power exported', + : 'power', + : 'EARN-E P1 Meter Power exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_power_exported', @@ -450,10 +450,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_power_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EARN-E P1 Meter Power imported', + : 'power', + : 'EARN-E P1 Meter Power imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_power_imported', @@ -508,10 +508,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_voltage_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'EARN-E P1 Meter Voltage L1', + : 'voltage', + : 'EARN-E P1 Meter Voltage L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_voltage_l1', @@ -563,10 +563,10 @@ # name: test_sensor_platform[sensor.earn_e_p1_meter_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'EARN-E P1 Meter Wi-Fi RSSI', + : 'signal_strength', + : 'EARN-E P1 Meter Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.earn_e_p1_meter_wi_fi_rssi', diff --git a/tests/components/ecobee/snapshots/test_number.ambr b/tests/components/ecobee/snapshots/test_number.ambr index f4055e07ef6..809b8c4c5bb 100644 --- a/tests/components/ecobee/snapshots/test_number.ambr +++ b/tests/components/ecobee/snapshots/test_number.ambr @@ -44,14 +44,14 @@ # name: test_all_entities[number.ecobee2_compressor_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'ecobee2 Compressor minimum temperature', - 'icon': 'mdi:thermometer-off', + : 'temperature', + : 'ecobee2 Compressor minimum temperature', + : 'mdi:thermometer-off', : 19.0, : -32.0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ecobee2_compressor_minimum_temperature', @@ -106,12 +106,12 @@ # name: test_all_entities[number.ecobee2_fan_minimum_on_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ecobee2 Fan minimum on time', + : 'ecobee2 Fan minimum on time', : 60, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ecobee2_fan_minimum_on_time', @@ -166,12 +166,12 @@ # name: test_all_entities[number.ecobee_fan_minimum_on_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ecobee Fan minimum on time', + : 'ecobee Fan minimum on time', : 60, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ecobee_fan_minimum_on_time', @@ -226,12 +226,12 @@ # name: test_all_entities[number.ecobee_ventilator_minimum_time_away-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ecobee Ventilator minimum time away', + : 'ecobee Ventilator minimum time away', : 60, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ecobee_ventilator_minimum_time_away', @@ -286,12 +286,12 @@ # name: test_all_entities[number.ecobee_ventilator_minimum_time_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ecobee Ventilator minimum time home', + : 'ecobee Ventilator minimum time home', : 60, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ecobee_ventilator_minimum_time_home', @@ -346,12 +346,12 @@ # name: test_all_entities[number.unknownecobeename_fan_minimum_on_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'unknownEcobeeName Fan minimum on time', + : 'unknownEcobeeName Fan minimum on time', : 60, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.unknownecobeename_fan_minimum_on_time', diff --git a/tests/components/ecovacs/snapshots/test_binary_sensor.ambr b/tests/components/ecovacs/snapshots/test_binary_sensor.ambr index 43a4f28e748..4011a54c9ed 100644 --- a/tests/components/ecovacs/snapshots/test_binary_sensor.ambr +++ b/tests/components/ecovacs/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_mop_attached[binary_sensor.ozmo_950_mop_attached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Mop attached', + : 'Ozmo 950 Mop attached', }), 'context': , 'entity_id': 'binary_sensor.ozmo_950_mop_attached', diff --git a/tests/components/ecovacs/snapshots/test_button.ambr b/tests/components/ecovacs/snapshots/test_button.ambr index 56c35fdf0b0..0242d12b696 100644 --- a/tests/components/ecovacs/snapshots/test_button.ambr +++ b/tests/components/ecovacs/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[5xu9h3][button.goat_g1_reset_blade_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Reset blade lifespan', + : 'Goat G1 Reset blade lifespan', }), 'context': , 'entity_id': 'button.goat_g1_reset_blade_lifespan', @@ -89,7 +89,7 @@ # name: test_buttons[5xu9h3][button.goat_g1_reset_lens_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Reset lens brush lifespan', + : 'Goat G1 Reset lens brush lifespan', }), 'context': , 'entity_id': 'button.goat_g1_reset_lens_brush_lifespan', @@ -139,7 +139,7 @@ # name: test_buttons[qhe2o2][button.dusty_empty_dustbin:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Empty dustbin', + : 'Dusty Empty dustbin', }), 'context': , 'entity_id': 'button.dusty_empty_dustbin', @@ -189,7 +189,7 @@ # name: test_buttons[qhe2o2][button.dusty_relocate:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Relocate', + : 'Dusty Relocate', }), 'context': , 'entity_id': 'button.dusty_relocate', @@ -239,7 +239,7 @@ # name: test_buttons[qhe2o2][button.dusty_reset_filter_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Reset filter lifespan', + : 'Dusty Reset filter lifespan', }), 'context': , 'entity_id': 'button.dusty_reset_filter_lifespan', @@ -289,7 +289,7 @@ # name: test_buttons[qhe2o2][button.dusty_reset_main_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Reset main brush lifespan', + : 'Dusty Reset main brush lifespan', }), 'context': , 'entity_id': 'button.dusty_reset_main_brush_lifespan', @@ -339,7 +339,7 @@ # name: test_buttons[qhe2o2][button.dusty_reset_round_mop_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Reset round mop lifespan', + : 'Dusty Reset round mop lifespan', }), 'context': , 'entity_id': 'button.dusty_reset_round_mop_lifespan', @@ -389,7 +389,7 @@ # name: test_buttons[qhe2o2][button.dusty_reset_side_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Reset side brush lifespan', + : 'Dusty Reset side brush lifespan', }), 'context': , 'entity_id': 'button.dusty_reset_side_brush_lifespan', @@ -439,7 +439,7 @@ # name: test_buttons[qhe2o2][button.dusty_reset_unit_care_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Reset unit care lifespan', + : 'Dusty Reset unit care lifespan', }), 'context': , 'entity_id': 'button.dusty_reset_unit_care_lifespan', @@ -489,7 +489,7 @@ # name: test_buttons[yna5x1][button.ozmo_950_relocate:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Relocate', + : 'Ozmo 950 Relocate', }), 'context': , 'entity_id': 'button.ozmo_950_relocate', @@ -539,7 +539,7 @@ # name: test_buttons[yna5x1][button.ozmo_950_reset_filter_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Reset filter lifespan', + : 'Ozmo 950 Reset filter lifespan', }), 'context': , 'entity_id': 'button.ozmo_950_reset_filter_lifespan', @@ -589,7 +589,7 @@ # name: test_buttons[yna5x1][button.ozmo_950_reset_main_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Reset main brush lifespan', + : 'Ozmo 950 Reset main brush lifespan', }), 'context': , 'entity_id': 'button.ozmo_950_reset_main_brush_lifespan', @@ -639,7 +639,7 @@ # name: test_buttons[yna5x1][button.ozmo_950_reset_side_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Reset side brush lifespan', + : 'Ozmo 950 Reset side brush lifespan', }), 'context': , 'entity_id': 'button.ozmo_950_reset_side_brush_lifespan', diff --git a/tests/components/ecovacs/snapshots/test_event.ambr b/tests/components/ecovacs/snapshots/test_event.ambr index 9453b6ad6f1..b7c8bb9765b 100644 --- a/tests/components/ecovacs/snapshots/test_event.ambr +++ b/tests/components/ecovacs/snapshots/test_event.ambr @@ -51,7 +51,7 @@ 'finished_with_warnings', 'manually_stopped', ]), - 'friendly_name': 'Ozmo 950 Last job', + : 'Ozmo 950 Last job', }), 'context': , 'entity_id': 'event.ozmo_950_last_job', diff --git a/tests/components/ecovacs/snapshots/test_number.ambr b/tests/components/ecovacs/snapshots/test_number.ambr index bffac7b46f7..48afb3901e9 100644 --- a/tests/components/ecovacs/snapshots/test_number.ambr +++ b/tests/components/ecovacs/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_entities[5xu9h3][number.goat_g1_cut_direction:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Cut direction', + : 'Goat G1 Cut direction', : 180, : 0, : , : 1.0, - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'number.goat_g1_cut_direction', @@ -104,7 +104,7 @@ # name: test_number_entities[5xu9h3][number.goat_g1_volume:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Volume', + : 'Goat G1 Volume', : 11, : 0, : , @@ -163,7 +163,7 @@ # name: test_number_entities[n0vyif][number.x8_pro_omni_clean_count:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'X8 PRO OMNI Clean count', + : 'X8 PRO OMNI Clean count', : 4, : 1, : , @@ -222,7 +222,7 @@ # name: test_number_entities[n0vyif][number.x8_pro_omni_volume:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'X8 PRO OMNI Volume', + : 'X8 PRO OMNI Volume', : 11, : 0, : , @@ -281,7 +281,7 @@ # name: test_number_entities[n0vyif][number.x8_pro_omni_water_flow_level:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'X8 PRO OMNI Water flow level', + : 'X8 PRO OMNI Water flow level', : 50, : 0, : , @@ -340,7 +340,7 @@ # name: test_number_entities[yna5x1][number.ozmo_950_volume:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Volume', + : 'Ozmo 950 Volume', : 11, : 0, : , diff --git a/tests/components/ecovacs/snapshots/test_select.ambr b/tests/components/ecovacs/snapshots/test_select.ambr index f24406ec309..0c66914b663 100644 --- a/tests/components/ecovacs/snapshots/test_select.ambr +++ b/tests/components/ecovacs/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_selects[n0vyif-entity_ids2][select.x8_pro_omni_active_map:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'X8 PRO OMNI Active map', + : 'X8 PRO OMNI Active map', : list([ 'Map 2', '1', @@ -103,7 +103,7 @@ # name: test_selects[n0vyif-entity_ids2][select.x8_pro_omni_auto_empty_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'X8 PRO OMNI Auto-empty frequency', + : 'X8 PRO OMNI Auto-empty frequency', : list([ 'auto', 'smart', @@ -164,7 +164,7 @@ # name: test_selects[n0vyif-entity_ids2][select.x8_pro_omni_work_mode:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'X8 PRO OMNI Work mode', + : 'X8 PRO OMNI Work mode', : list([ 'mop', 'mop_after_vacuum', @@ -225,7 +225,7 @@ # name: test_selects[qhe2o2-entity_ids1][select.dusty_active_map:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Active map', + : 'Dusty Active map', : list([ 'Map 2', '1', @@ -284,7 +284,7 @@ # name: test_selects[qhe2o2-entity_ids1][select.dusty_auto_empty_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Auto-empty frequency', + : 'Dusty Auto-empty frequency', : list([ 'auto', 'smart', @@ -344,7 +344,7 @@ # name: test_selects[qhe2o2-entity_ids1][select.dusty_water_flow_level:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Water flow level', + : 'Dusty Water flow level', : list([ 'low', 'medium', @@ -404,7 +404,7 @@ # name: test_selects[yna5x1-entity_ids0][select.ozmo_950_active_map:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Active map', + : 'Ozmo 950 Active map', : list([ 'Map 2', '1', @@ -465,7 +465,7 @@ # name: test_selects[yna5x1-entity_ids0][select.ozmo_950_water_flow_level:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Water flow level', + : 'Ozmo 950 Water flow level', : list([ 'low', 'medium', diff --git a/tests/components/ecovacs/snapshots/test_sensor.ambr b/tests/components/ecovacs/snapshots/test_sensor.ambr index b843948da2d..f260fec4f34 100644 --- a/tests/components/ecovacs/snapshots/test_sensor.ambr +++ b/tests/components/ecovacs/snapshots/test_sensor.ambr @@ -39,10 +39,10 @@ # name: test_legacy_sensors[123][sensor.e1234567890000000003_battery:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'E1234567890000000003 Battery', - 'icon': 'mdi:battery-unknown', - 'unit_of_measurement': '%', + : 'battery', + : 'E1234567890000000003 Battery', + : 'mdi:battery-unknown', + : '%', }), 'context': , 'entity_id': 'sensor.e1234567890000000003_battery', @@ -92,8 +92,8 @@ # name: test_legacy_sensors[123][sensor.e1234567890000000003_filter_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'E1234567890000000003 Filter lifespan', - 'unit_of_measurement': '%', + : 'E1234567890000000003 Filter lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.e1234567890000000003_filter_lifespan', @@ -143,8 +143,8 @@ # name: test_legacy_sensors[123][sensor.e1234567890000000003_main_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'E1234567890000000003 Main brush lifespan', - 'unit_of_measurement': '%', + : 'E1234567890000000003 Main brush lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.e1234567890000000003_main_brush_lifespan', @@ -194,8 +194,8 @@ # name: test_legacy_sensors[123][sensor.e1234567890000000003_side_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'E1234567890000000003 Side brush lifespan', - 'unit_of_measurement': '%', + : 'E1234567890000000003 Side brush lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.e1234567890000000003_side_brush_lifespan', @@ -259,9 +259,9 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_area_cleaned:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'area', - 'friendly_name': 'Goat G1 Area cleaned', - 'unit_of_measurement': , + : 'area', + : 'Goat G1 Area cleaned', + : , }), 'context': , 'entity_id': 'sensor.goat_g1_area_cleaned', @@ -311,9 +311,9 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_battery:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Goat G1 Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Goat G1 Battery', + : '%', }), 'context': , 'entity_id': 'sensor.goat_g1_battery', @@ -363,8 +363,8 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_blade_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Blade lifespan', - 'unit_of_measurement': '%', + : 'Goat G1 Blade lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.goat_g1_blade_lifespan', @@ -420,9 +420,9 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_cleaning_duration:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Goat G1 Cleaning duration', - 'unit_of_measurement': , + : 'duration', + : 'Goat G1 Cleaning duration', + : , }), 'context': , 'entity_id': 'sensor.goat_g1_cleaning_duration', @@ -473,7 +473,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'description': 'NoError: Robot is operational', - 'friendly_name': 'Goat G1 Error', + : 'Goat G1 Error', }), 'context': , 'entity_id': 'sensor.goat_g1_error', @@ -523,7 +523,7 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_ip_address:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 IP address', + : 'Goat G1 IP address', }), 'context': , 'entity_id': 'sensor.goat_g1_ip_address', @@ -573,8 +573,8 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_lens_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Lens brush lifespan', - 'unit_of_measurement': '%', + : 'Goat G1 Lens brush lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.goat_g1_lens_brush_lifespan', @@ -629,10 +629,10 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_total_area_cleaned:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'area', - 'friendly_name': 'Goat G1 Total area cleaned', + : 'area', + : 'Goat G1 Total area cleaned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.goat_g1_total_area_cleaned', @@ -690,10 +690,10 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_total_cleaning_duration:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Goat G1 Total cleaning duration', + : 'duration', + : 'Goat G1 Total cleaning duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.goat_g1_total_cleaning_duration', @@ -745,7 +745,7 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_total_cleanings:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Total cleanings', + : 'Goat G1 Total cleanings', : , }), 'context': , @@ -796,7 +796,7 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_wi_fi_rssi:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Wi-Fi RSSI', + : 'Goat G1 Wi-Fi RSSI', }), 'context': , 'entity_id': 'sensor.goat_g1_wi_fi_rssi', @@ -846,7 +846,7 @@ # name: test_sensors[5xu9h3][sensor.goat_g1_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Wi-Fi SSID', + : 'Goat G1 Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.goat_g1_wi_fi_ssid', @@ -902,9 +902,9 @@ # name: test_sensors[qhe2o2][sensor.dusty_area_cleaned:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'area', - 'friendly_name': 'Dusty Area cleaned', - 'unit_of_measurement': , + : 'area', + : 'Dusty Area cleaned', + : , }), 'context': , 'entity_id': 'sensor.dusty_area_cleaned', @@ -954,9 +954,9 @@ # name: test_sensors[qhe2o2][sensor.dusty_battery:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Dusty Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Dusty Battery', + : '%', }), 'context': , 'entity_id': 'sensor.dusty_battery', @@ -1012,9 +1012,9 @@ # name: test_sensors[qhe2o2][sensor.dusty_cleaning_duration:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Dusty Cleaning duration', - 'unit_of_measurement': , + : 'duration', + : 'Dusty Cleaning duration', + : , }), 'context': , 'entity_id': 'sensor.dusty_cleaning_duration', @@ -1065,7 +1065,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'description': 'NoError: Robot is operational', - 'friendly_name': 'Dusty Error', + : 'Dusty Error', }), 'context': , 'entity_id': 'sensor.dusty_error', @@ -1115,8 +1115,8 @@ # name: test_sensors[qhe2o2][sensor.dusty_filter_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Filter lifespan', - 'unit_of_measurement': '%', + : 'Dusty Filter lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.dusty_filter_lifespan', @@ -1166,7 +1166,7 @@ # name: test_sensors[qhe2o2][sensor.dusty_ip_address:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty IP address', + : 'Dusty IP address', }), 'context': , 'entity_id': 'sensor.dusty_ip_address', @@ -1216,8 +1216,8 @@ # name: test_sensors[qhe2o2][sensor.dusty_main_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Main brush lifespan', - 'unit_of_measurement': '%', + : 'Dusty Main brush lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.dusty_main_brush_lifespan', @@ -1267,8 +1267,8 @@ # name: test_sensors[qhe2o2][sensor.dusty_round_mop_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Round mop lifespan', - 'unit_of_measurement': '%', + : 'Dusty Round mop lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.dusty_round_mop_lifespan', @@ -1318,8 +1318,8 @@ # name: test_sensors[qhe2o2][sensor.dusty_side_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Side brush lifespan', - 'unit_of_measurement': '%', + : 'Dusty Side brush lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.dusty_side_brush_lifespan', @@ -1376,8 +1376,8 @@ # name: test_sensors[qhe2o2][sensor.dusty_station_state:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dusty Station state', + : 'enum', + : 'Dusty Station state', : list([ 'idle', 'emptying_dustbin', @@ -1438,10 +1438,10 @@ # name: test_sensors[qhe2o2][sensor.dusty_total_area_cleaned:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'area', - 'friendly_name': 'Dusty Total area cleaned', + : 'area', + : 'Dusty Total area cleaned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dusty_total_area_cleaned', @@ -1499,10 +1499,10 @@ # name: test_sensors[qhe2o2][sensor.dusty_total_cleaning_duration:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Dusty Total cleaning duration', + : 'duration', + : 'Dusty Total cleaning duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dusty_total_cleaning_duration', @@ -1554,7 +1554,7 @@ # name: test_sensors[qhe2o2][sensor.dusty_total_cleanings:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Total cleanings', + : 'Dusty Total cleanings', : , }), 'context': , @@ -1605,8 +1605,8 @@ # name: test_sensors[qhe2o2][sensor.dusty_unit_care_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Unit care lifespan', - 'unit_of_measurement': '%', + : 'Dusty Unit care lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.dusty_unit_care_lifespan', @@ -1656,7 +1656,7 @@ # name: test_sensors[qhe2o2][sensor.dusty_wi_fi_rssi:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Wi-Fi RSSI', + : 'Dusty Wi-Fi RSSI', }), 'context': , 'entity_id': 'sensor.dusty_wi_fi_rssi', @@ -1706,7 +1706,7 @@ # name: test_sensors[qhe2o2][sensor.dusty_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dusty Wi-Fi SSID', + : 'Dusty Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.dusty_wi_fi_ssid', @@ -1762,9 +1762,9 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_area_cleaned:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'area', - 'friendly_name': 'Ozmo 950 Area cleaned', - 'unit_of_measurement': , + : 'area', + : 'Ozmo 950 Area cleaned', + : , }), 'context': , 'entity_id': 'sensor.ozmo_950_area_cleaned', @@ -1814,9 +1814,9 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_battery:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Ozmo 950 Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Ozmo 950 Battery', + : '%', }), 'context': , 'entity_id': 'sensor.ozmo_950_battery', @@ -1872,9 +1872,9 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_cleaning_duration:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Ozmo 950 Cleaning duration', - 'unit_of_measurement': , + : 'duration', + : 'Ozmo 950 Cleaning duration', + : , }), 'context': , 'entity_id': 'sensor.ozmo_950_cleaning_duration', @@ -1925,7 +1925,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'description': 'NoError: Robot is operational', - 'friendly_name': 'Ozmo 950 Error', + : 'Ozmo 950 Error', }), 'context': , 'entity_id': 'sensor.ozmo_950_error', @@ -1975,8 +1975,8 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_filter_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Filter lifespan', - 'unit_of_measurement': '%', + : 'Ozmo 950 Filter lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.ozmo_950_filter_lifespan', @@ -2026,7 +2026,7 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_ip_address:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 IP address', + : 'Ozmo 950 IP address', }), 'context': , 'entity_id': 'sensor.ozmo_950_ip_address', @@ -2076,8 +2076,8 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_main_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Main brush lifespan', - 'unit_of_measurement': '%', + : 'Ozmo 950 Main brush lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.ozmo_950_main_brush_lifespan', @@ -2127,8 +2127,8 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_side_brush_lifespan:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Side brush lifespan', - 'unit_of_measurement': '%', + : 'Ozmo 950 Side brush lifespan', + : '%', }), 'context': , 'entity_id': 'sensor.ozmo_950_side_brush_lifespan', @@ -2183,10 +2183,10 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_total_area_cleaned:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'area', - 'friendly_name': 'Ozmo 950 Total area cleaned', + : 'area', + : 'Ozmo 950 Total area cleaned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ozmo_950_total_area_cleaned', @@ -2244,10 +2244,10 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_total_cleaning_duration:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Ozmo 950 Total cleaning duration', + : 'duration', + : 'Ozmo 950 Total cleaning duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ozmo_950_total_cleaning_duration', @@ -2299,7 +2299,7 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_total_cleanings:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Total cleanings', + : 'Ozmo 950 Total cleanings', : , }), 'context': , @@ -2350,7 +2350,7 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_wi_fi_rssi:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Wi-Fi RSSI', + : 'Ozmo 950 Wi-Fi RSSI', }), 'context': , 'entity_id': 'sensor.ozmo_950_wi_fi_rssi', @@ -2400,7 +2400,7 @@ # name: test_sensors[yna5x1][sensor.ozmo_950_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Wi-Fi SSID', + : 'Ozmo 950 Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.ozmo_950_wi_fi_ssid', diff --git a/tests/components/ecovacs/snapshots/test_switch.ambr b/tests/components/ecovacs/snapshots/test_switch.ambr index 86d14ba9c23..7b4f3f98029 100644 --- a/tests/components/ecovacs/snapshots/test_switch.ambr +++ b/tests/components/ecovacs/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[55uoqe][switch.dbmini_border_spin:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DBMini Border spin', + : 'DBMini Border spin', }), 'context': , 'entity_id': 'switch.dbmini_border_spin', @@ -89,7 +89,7 @@ # name: test_switch_entities[55uoqe][switch.dbmini_carpet_auto_boost_suction:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DBMini Carpet auto-boost suction', + : 'DBMini Carpet auto-boost suction', }), 'context': , 'entity_id': 'switch.dbmini_carpet_auto_boost_suction', @@ -139,7 +139,7 @@ # name: test_switch_entities[55uoqe][switch.dbmini_child_lock:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DBMini Child lock', + : 'DBMini Child lock', }), 'context': , 'entity_id': 'switch.dbmini_child_lock', @@ -189,7 +189,7 @@ # name: test_switch_entities[55uoqe][switch.dbmini_continuous_cleaning:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DBMini Continuous cleaning', + : 'DBMini Continuous cleaning', }), 'context': , 'entity_id': 'switch.dbmini_continuous_cleaning', @@ -239,7 +239,7 @@ # name: test_switch_entities[55uoqe][switch.dbmini_true_detect:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DBMini True detect', + : 'DBMini True detect', }), 'context': , 'entity_id': 'switch.dbmini_true_detect', @@ -289,7 +289,7 @@ # name: test_switch_entities[5xu9h3][switch.goat_g1_advanced_mode:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Advanced mode', + : 'Goat G1 Advanced mode', }), 'context': , 'entity_id': 'switch.goat_g1_advanced_mode', @@ -339,7 +339,7 @@ # name: test_switch_entities[5xu9h3][switch.goat_g1_border_switch:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Border switch', + : 'Goat G1 Border switch', }), 'context': , 'entity_id': 'switch.goat_g1_border_switch', @@ -389,7 +389,7 @@ # name: test_switch_entities[5xu9h3][switch.goat_g1_child_lock:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Child lock', + : 'Goat G1 Child lock', }), 'context': , 'entity_id': 'switch.goat_g1_child_lock', @@ -439,7 +439,7 @@ # name: test_switch_entities[5xu9h3][switch.goat_g1_cross_map_border_warning:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Cross map border warning', + : 'Goat G1 Cross map border warning', }), 'context': , 'entity_id': 'switch.goat_g1_cross_map_border_warning', @@ -489,7 +489,7 @@ # name: test_switch_entities[5xu9h3][switch.goat_g1_move_up_warning:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Move up warning', + : 'Goat G1 Move up warning', }), 'context': , 'entity_id': 'switch.goat_g1_move_up_warning', @@ -539,7 +539,7 @@ # name: test_switch_entities[5xu9h3][switch.goat_g1_safe_protect:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 Safe protect', + : 'Goat G1 Safe protect', }), 'context': , 'entity_id': 'switch.goat_g1_safe_protect', @@ -589,7 +589,7 @@ # name: test_switch_entities[5xu9h3][switch.goat_g1_true_detect:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Goat G1 True detect', + : 'Goat G1 True detect', }), 'context': , 'entity_id': 'switch.goat_g1_true_detect', @@ -639,7 +639,7 @@ # name: test_switch_entities[yna5x1][switch.ozmo_950_advanced_mode:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Advanced mode', + : 'Ozmo 950 Advanced mode', }), 'context': , 'entity_id': 'switch.ozmo_950_advanced_mode', @@ -689,7 +689,7 @@ # name: test_switch_entities[yna5x1][switch.ozmo_950_carpet_auto_boost_suction:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Carpet auto-boost suction', + : 'Ozmo 950 Carpet auto-boost suction', }), 'context': , 'entity_id': 'switch.ozmo_950_carpet_auto_boost_suction', @@ -739,7 +739,7 @@ # name: test_switch_entities[yna5x1][switch.ozmo_950_continuous_cleaning:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ozmo 950 Continuous cleaning', + : 'Ozmo 950 Continuous cleaning', }), 'context': , 'entity_id': 'switch.ozmo_950_continuous_cleaning', diff --git a/tests/components/edifier_infrared/snapshots/test_button.ambr b/tests/components/edifier_infrared/snapshots/test_button.ambr index d35cb2227fc..06ff22cd26a 100644 --- a/tests/components/edifier_infrared/snapshots/test_button.ambr +++ b/tests/components/edifier_infrared/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.edifier_r1700bt_bluetooth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Edifier R1700BT Bluetooth', + : 'Edifier R1700BT Bluetooth', }), 'context': , 'entity_id': 'button.edifier_r1700bt_bluetooth', @@ -89,7 +89,7 @@ # name: test_entities[button.edifier_r1700bt_fx_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Edifier R1700BT FX off', + : 'Edifier R1700BT FX off', }), 'context': , 'entity_id': 'button.edifier_r1700bt_fx_off', @@ -139,7 +139,7 @@ # name: test_entities[button.edifier_r1700bt_fx_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Edifier R1700BT FX on', + : 'Edifier R1700BT FX on', }), 'context': , 'entity_id': 'button.edifier_r1700bt_fx_on', @@ -189,7 +189,7 @@ # name: test_entities[button.edifier_r1700bt_line_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Edifier R1700BT Line 1', + : 'Edifier R1700BT Line 1', }), 'context': , 'entity_id': 'button.edifier_r1700bt_line_1', @@ -239,7 +239,7 @@ # name: test_entities[button.edifier_r1700bt_line_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Edifier R1700BT Line 2', + : 'Edifier R1700BT Line 2', }), 'context': , 'entity_id': 'button.edifier_r1700bt_line_2', diff --git a/tests/components/edifier_infrared/snapshots/test_media_player.ambr b/tests/components/edifier_infrared/snapshots/test_media_player.ambr index 40fc761338a..e7c299a6a67 100644 --- a/tests/components/edifier_infrared/snapshots/test_media_player.ambr +++ b/tests/components/edifier_infrared/snapshots/test_media_player.ambr @@ -40,10 +40,10 @@ # name: test_entities[media_player.edifier_r1700bt-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'speaker', - 'friendly_name': 'Edifier R1700BT', - 'supported_features': , + : True, + : 'speaker', + : 'Edifier R1700BT', + : , }), 'context': , 'entity_id': 'media_player.edifier_r1700bt', diff --git a/tests/components/egauge/snapshots/test_sensor.ambr b/tests/components/egauge/snapshots/test_sensor.ambr index 063779f663f..d9753970cd9 100644 --- a/tests/components/egauge/snapshots/test_sensor.ambr +++ b/tests/components/egauge/snapshots/test_sensor.ambr @@ -78,10 +78,10 @@ # name: test_sensors[sensor.egauge_home_grid_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'egauge-home Grid Energy', + : 'energy', + : 'egauge-home Grid Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.egauge_home_grid_energy', @@ -136,10 +136,10 @@ # name: test_sensors[sensor.egauge_home_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'egauge-home Grid Power', + : 'power', + : 'egauge-home Grid Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.egauge_home_grid_power', @@ -194,10 +194,10 @@ # name: test_sensors[sensor.egauge_home_l1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'egauge-home L1 Voltage', + : 'voltage', + : 'egauge-home L1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.egauge_home_l1_voltage', @@ -252,10 +252,10 @@ # name: test_sensors[sensor.egauge_home_s1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'egauge-home S1 Current', + : 'current', + : 'egauge-home S1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.egauge_home_s1_current', @@ -313,10 +313,10 @@ # name: test_sensors[sensor.egauge_home_solar_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'egauge-home Solar Energy', + : 'energy', + : 'egauge-home Solar Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.egauge_home_solar_energy', @@ -371,10 +371,10 @@ # name: test_sensors[sensor.egauge_home_solar_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'egauge-home Solar Power', + : 'power', + : 'egauge-home Solar Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.egauge_home_solar_power', diff --git a/tests/components/eheimdigital/snapshots/test_binary_sensor.ambr b/tests/components/eheimdigital/snapshots/test_binary_sensor.ambr index a4d6d5c0e61..f906ff9f189 100644 --- a/tests/components/eheimdigital/snapshots/test_binary_sensor.ambr +++ b/tests/components/eheimdigital/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup[binary_sensor.mock_aquarium_mock_reeflex_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'light', - 'friendly_name': 'Mock reeflex Light', + : 'light', + : 'Mock reeflex Light', }), 'context': , 'entity_id': 'binary_sensor.mock_aquarium_mock_reeflex_light', @@ -90,8 +90,8 @@ # name: test_setup[binary_sensor.mock_aquarium_mock_reeflex_uvc_lamp_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock reeflex UVC lamp connected', + : 'connectivity', + : 'Mock reeflex UVC lamp connected', }), 'context': , 'entity_id': 'binary_sensor.mock_aquarium_mock_reeflex_uvc_lamp_connected', diff --git a/tests/components/eheimdigital/snapshots/test_climate.ambr b/tests/components/eheimdigital/snapshots/test_climate.ambr index c8c6dd95bc9..cec48e51ce0 100644 --- a/tests/components/eheimdigital/snapshots/test_climate.ambr +++ b/tests/components/eheimdigital/snapshots/test_climate.ambr @@ -53,7 +53,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 24.2, - 'friendly_name': 'Mock Heater', + : 'Mock Heater', : , : list([ , @@ -67,7 +67,7 @@ 'bio_mode', 'smart_mode', ]), - 'supported_features': , + : , : 0.5, : 25.5, }), @@ -133,7 +133,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 24.2, - 'friendly_name': 'Mock Heater', + : 'Mock Heater', : , : list([ , @@ -147,7 +147,7 @@ 'bio_mode', 'smart_mode', ]), - 'supported_features': , + : , : 0.5, : 25.5, }), diff --git a/tests/components/eheimdigital/snapshots/test_light.ambr b/tests/components/eheimdigital/snapshots/test_light.ambr index a4e7f2f5e76..e26d7966ac9 100644 --- a/tests/components/eheimdigital/snapshots/test_light.ambr +++ b/tests/components/eheimdigital/snapshots/test_light.ambr @@ -52,11 +52,11 @@ : list([ 'daycl_mode', ]), - 'friendly_name': 'Mock classicLEDcontrol+e Channel 1', + : 'Mock classicLEDcontrol+e Channel 1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_aquarium_mock_classicledcontrol_e_channel_1', @@ -119,11 +119,11 @@ : list([ 'daycl_mode', ]), - 'friendly_name': 'Mock classicLEDcontrol+e Channel 0', + : 'Mock classicLEDcontrol+e Channel 0', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_aquarium_mock_classicledcontrol_e_channel_0', @@ -186,11 +186,11 @@ : list([ 'daycl_mode', ]), - 'friendly_name': 'Mock classicLEDcontrol+e Channel 1', + : 'Mock classicLEDcontrol+e Channel 1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_aquarium_mock_classicledcontrol_e_channel_1', @@ -253,11 +253,11 @@ : list([ 'daycl_mode', ]), - 'friendly_name': 'Mock classicLEDcontrol+e Channel 0', + : 'Mock classicLEDcontrol+e Channel 0', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_aquarium_mock_classicledcontrol_e_channel_0', @@ -320,11 +320,11 @@ : list([ 'daycl_mode', ]), - 'friendly_name': 'Mock classicLEDcontrol+e Channel 1', + : 'Mock classicLEDcontrol+e Channel 1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_aquarium_mock_classicledcontrol_e_channel_1', diff --git a/tests/components/eheimdigital/snapshots/test_number.ambr b/tests/components/eheimdigital/snapshots/test_number.ambr index 9107486f3d1..649b307592a 100644 --- a/tests/components/eheimdigital/snapshots/test_number.ambr +++ b/tests/components/eheimdigital/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_setup[number.mock_aquarium_mock_classicledcontrol_e_system_led_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicLEDcontrol+e System LED brightness', + : 'Mock classicLEDcontrol+e System LED brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_classicledcontrol_e_system_led_brightness', @@ -104,12 +104,12 @@ # name: test_setup[number.mock_aquarium_mock_classicvario_day_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO Day speed', + : 'Mock classicVARIO Day speed', : 100.0, : 0.0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_classicvario_day_speed', @@ -164,12 +164,12 @@ # name: test_setup[number.mock_aquarium_mock_classicvario_manual_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO Manual speed', + : 'Mock classicVARIO Manual speed', : 100.0, : 0.0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_classicvario_manual_speed', @@ -224,12 +224,12 @@ # name: test_setup[number.mock_aquarium_mock_classicvario_night_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO Night speed', + : 'Mock classicVARIO Night speed', : 100.0, : 0.0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_classicvario_night_speed', @@ -284,12 +284,12 @@ # name: test_setup[number.mock_aquarium_mock_classicvario_system_led_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO System LED brightness', + : 'Mock classicVARIO System LED brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_classicvario_system_led_brightness', @@ -344,13 +344,13 @@ # name: test_setup[number.mock_aquarium_mock_filter_high_pulse_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock filter High pulse duration', + : 'duration', + : 'Mock filter High pulse duration', : 200000, : 5, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_aquarium_mock_filter_high_pulse_duration', @@ -405,13 +405,13 @@ # name: test_setup[number.mock_aquarium_mock_filter_low_pulse_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock filter Low pulse duration', + : 'duration', + : 'Mock filter Low pulse duration', : 200000, : 5, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_aquarium_mock_filter_low_pulse_duration', @@ -466,12 +466,12 @@ # name: test_setup[number.mock_aquarium_mock_filter_system_led_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter System LED brightness', + : 'Mock filter System LED brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_filter_system_led_brightness', @@ -526,8 +526,8 @@ # name: test_setup[number.mock_aquarium_mock_heater_night_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Heater Night temperature offset', + : 'temperature', + : 'Mock Heater Night temperature offset', : 5, : -5, : , @@ -586,12 +586,12 @@ # name: test_setup[number.mock_aquarium_mock_heater_system_led_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Heater System LED brightness', + : 'Mock Heater System LED brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_heater_system_led_brightness', @@ -646,8 +646,8 @@ # name: test_setup[number.mock_aquarium_mock_heater_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Heater Temperature offset', + : 'temperature', + : 'Mock Heater Temperature offset', : 3, : -3, : , @@ -706,13 +706,13 @@ # name: test_setup[number.mock_aquarium_mock_reeflex_booster_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock reeflex Booster duration', + : 'duration', + : 'Mock reeflex Booster duration', : 20160, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_aquarium_mock_reeflex_booster_duration', @@ -767,13 +767,13 @@ # name: test_setup[number.mock_aquarium_mock_reeflex_daily_burn_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock reeflex Daily burn duration', + : 'duration', + : 'Mock reeflex Daily burn duration', : 1440, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_aquarium_mock_reeflex_daily_burn_duration', @@ -828,13 +828,13 @@ # name: test_setup[number.mock_aquarium_mock_reeflex_pause_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock reeflex Pause duration', + : 'duration', + : 'Mock reeflex Pause duration', : 20160, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_aquarium_mock_reeflex_pause_duration', @@ -889,12 +889,12 @@ # name: test_setup[number.mock_aquarium_mock_reeflex_system_led_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock reeflex System LED brightness', + : 'Mock reeflex System LED brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_aquarium_mock_reeflex_system_led_brightness', diff --git a/tests/components/eheimdigital/snapshots/test_select.ambr b/tests/components/eheimdigital/snapshots/test_select.ambr index 488dd72d97a..ea50eeeba3b 100644 --- a/tests/components/eheimdigital/snapshots/test_select.ambr +++ b/tests/components/eheimdigital/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_setup[select.mock_aquarium_mock_classicvario_filter_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO Filter mode', + : 'Mock classicVARIO Filter mode', : list([ 'manual', 'pulse', @@ -118,7 +118,7 @@ # name: test_setup[select.mock_aquarium_mock_filter_constant_flow_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Constant flow speed', + : 'Mock filter Constant flow speed', : list([ '400', '440', @@ -136,7 +136,7 @@ '830', '860', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.mock_aquarium_mock_filter_constant_flow_speed', @@ -204,7 +204,7 @@ # name: test_setup[select.mock_aquarium_mock_filter_day_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Day speed', + : 'Mock filter Day speed', : list([ '400', '440', @@ -222,7 +222,7 @@ '830', '860', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.mock_aquarium_mock_filter_day_speed', @@ -279,7 +279,7 @@ # name: test_setup[select.mock_aquarium_mock_filter_filter_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Filter mode', + : 'Mock filter Filter mode', : list([ 'manual', 'constant_flow', @@ -353,7 +353,7 @@ # name: test_setup[select.mock_aquarium_mock_filter_high_pulse_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter High pulse speed', + : 'Mock filter High pulse speed', : list([ '400', '440', @@ -371,7 +371,7 @@ '830', '860', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.mock_aquarium_mock_filter_high_pulse_speed', @@ -439,7 +439,7 @@ # name: test_setup[select.mock_aquarium_mock_filter_low_pulse_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Low pulse speed', + : 'Mock filter Low pulse speed', : list([ '400', '440', @@ -457,7 +457,7 @@ '830', '860', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.mock_aquarium_mock_filter_low_pulse_speed', @@ -525,7 +525,7 @@ # name: test_setup[select.mock_aquarium_mock_filter_manual_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Manual speed', + : 'Mock filter Manual speed', : list([ '35', '37.5', @@ -543,7 +543,7 @@ '69.5', '72', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.mock_aquarium_mock_filter_manual_speed', @@ -611,7 +611,7 @@ # name: test_setup[select.mock_aquarium_mock_filter_night_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Night speed', + : 'Mock filter Night speed', : list([ '400', '440', @@ -629,7 +629,7 @@ '830', '860', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.mock_aquarium_mock_filter_night_speed', @@ -684,7 +684,7 @@ # name: test_setup[select.mock_aquarium_mock_reeflex_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock reeflex Operation mode', + : 'Mock reeflex Operation mode', : list([ 'constant', 'daycycle', diff --git a/tests/components/eheimdigital/snapshots/test_sensor.ambr b/tests/components/eheimdigital/snapshots/test_sensor.ambr index 61c6325a0f0..0ca9550d1f1 100644 --- a/tests/components/eheimdigital/snapshots/test_sensor.ambr +++ b/tests/components/eheimdigital/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup[sensor.mock_aquarium_mock_classicvario_current_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO Current speed', - 'unit_of_measurement': '%', + : 'Mock classicVARIO Current speed', + : '%', }), 'context': , 'entity_id': 'sensor.mock_aquarium_mock_classicvario_current_speed', @@ -96,8 +96,8 @@ # name: test_setup[sensor.mock_aquarium_mock_classicvario_error_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock classicVARIO Error code', + : 'enum', + : 'Mock classicVARIO Error code', : list([ 'no_error', 'rotor_stuck', @@ -158,9 +158,9 @@ # name: test_setup[sensor.mock_aquarium_mock_classicvario_remaining_hours_until_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock classicVARIO Remaining hours until service', - 'unit_of_measurement': , + : 'duration', + : 'Mock classicVARIO Remaining hours until service', + : , }), 'context': , 'entity_id': 'sensor.mock_aquarium_mock_classicvario_remaining_hours_until_service', @@ -213,9 +213,9 @@ # name: test_setup[sensor.mock_aquarium_mock_filter_current_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Mock filter Current speed', - 'unit_of_measurement': , + : 'frequency', + : 'Mock filter Current speed', + : , }), 'context': , 'entity_id': 'sensor.mock_aquarium_mock_filter_current_speed', @@ -271,9 +271,9 @@ # name: test_setup[sensor.mock_aquarium_mock_filter_remaining_hours_until_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock filter Remaining hours until service', - 'unit_of_measurement': , + : 'duration', + : 'Mock filter Remaining hours until service', + : , }), 'context': , 'entity_id': 'sensor.mock_aquarium_mock_filter_remaining_hours_until_service', diff --git a/tests/components/eheimdigital/snapshots/test_switch.ambr b/tests/components/eheimdigital/snapshots/test_switch.ambr index 2930071185f..4760438210e 100644 --- a/tests/components/eheimdigital/snapshots/test_switch.ambr +++ b/tests/components/eheimdigital/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_setup[switch.mock_aquarium_mock_classicvario-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO', + : 'Mock classicVARIO', }), 'context': , 'entity_id': 'switch.mock_aquarium_mock_classicvario', @@ -89,7 +89,7 @@ # name: test_setup[switch.mock_aquarium_mock_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter', + : 'Mock filter', }), 'context': , 'entity_id': 'switch.mock_aquarium_mock_filter', @@ -139,7 +139,7 @@ # name: test_setup[switch.mock_aquarium_mock_reeflex-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock reeflex', + : 'Mock reeflex', }), 'context': , 'entity_id': 'switch.mock_aquarium_mock_reeflex', @@ -189,7 +189,7 @@ # name: test_setup[switch.mock_aquarium_mock_reeflex_booster-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock reeflex Booster', + : 'Mock reeflex Booster', }), 'context': , 'entity_id': 'switch.mock_aquarium_mock_reeflex_booster', @@ -239,7 +239,7 @@ # name: test_setup[switch.mock_aquarium_mock_reeflex_expert_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock reeflex Expert mode', + : 'Mock reeflex Expert mode', }), 'context': , 'entity_id': 'switch.mock_aquarium_mock_reeflex_expert_mode', @@ -289,7 +289,7 @@ # name: test_setup[switch.mock_aquarium_mock_reeflex_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock reeflex Pause', + : 'Mock reeflex Pause', }), 'context': , 'entity_id': 'switch.mock_aquarium_mock_reeflex_pause', diff --git a/tests/components/eheimdigital/snapshots/test_time.ambr b/tests/components/eheimdigital/snapshots/test_time.ambr index 553887aa6fc..7f9989aebcd 100644 --- a/tests/components/eheimdigital/snapshots/test_time.ambr +++ b/tests/components/eheimdigital/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_setup[time.mock_aquarium_mock_classicvario_day_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO Day start time', + : 'Mock classicVARIO Day start time', }), 'context': , 'entity_id': 'time.mock_aquarium_mock_classicvario_day_start_time', @@ -89,7 +89,7 @@ # name: test_setup[time.mock_aquarium_mock_classicvario_night_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock classicVARIO Night start time', + : 'Mock classicVARIO Night start time', }), 'context': , 'entity_id': 'time.mock_aquarium_mock_classicvario_night_start_time', @@ -139,7 +139,7 @@ # name: test_setup[time.mock_aquarium_mock_filter_day_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Day start time', + : 'Mock filter Day start time', }), 'context': , 'entity_id': 'time.mock_aquarium_mock_filter_day_start_time', @@ -189,7 +189,7 @@ # name: test_setup[time.mock_aquarium_mock_filter_night_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock filter Night start time', + : 'Mock filter Night start time', }), 'context': , 'entity_id': 'time.mock_aquarium_mock_filter_night_start_time', @@ -239,7 +239,7 @@ # name: test_setup[time.mock_aquarium_mock_heater_day_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Heater Day start time', + : 'Mock Heater Day start time', }), 'context': , 'entity_id': 'time.mock_aquarium_mock_heater_day_start_time', @@ -289,7 +289,7 @@ # name: test_setup[time.mock_aquarium_mock_heater_night_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Heater Night start time', + : 'Mock Heater Night start time', }), 'context': , 'entity_id': 'time.mock_aquarium_mock_heater_night_start_time', @@ -339,7 +339,7 @@ # name: test_setup[time.mock_aquarium_mock_reeflex_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock reeflex Start time', + : 'Mock reeflex Start time', }), 'context': , 'entity_id': 'time.mock_aquarium_mock_reeflex_start_time', diff --git a/tests/components/elgato/snapshots/test_button.ambr b/tests/components/elgato/snapshots/test_button.ambr index 2e6d9c6b223..a7e18e93b64 100644 --- a/tests/components/elgato/snapshots/test_button.ambr +++ b/tests/components/elgato/snapshots/test_button.ambr @@ -2,8 +2,8 @@ # name: test_buttons[button.frenck_identify-identify-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Frenck Identify', + : 'identify', + : 'Frenck Identify', }), 'context': , 'entity_id': 'button.frenck_identify', @@ -88,8 +88,8 @@ # name: test_buttons[button.frenck_restart-restart-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Frenck Restart', + : 'restart', + : 'Frenck Restart', }), 'context': , 'entity_id': 'button.frenck_restart', diff --git a/tests/components/elgato/snapshots/test_light.ambr b/tests/components/elgato/snapshots/test_light.ambr index 341db77adf4..fdc397c8436 100644 --- a/tests/components/elgato/snapshots/test_light.ambr +++ b/tests/components/elgato/snapshots/test_light.ambr @@ -5,7 +5,7 @@ : 54, : , : 3367, - 'friendly_name': 'Frenck', + : 'Frenck', : tuple( 27.316, 47.743, @@ -20,7 +20,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.464, 0.377, @@ -118,7 +118,7 @@ : 54, : , : 3367, - 'friendly_name': 'Frenck', + : 'Frenck', : tuple( 27.316, 47.743, @@ -134,7 +134,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.464, 0.377, @@ -233,7 +233,7 @@ : 128, : , : None, - 'friendly_name': 'Frenck', + : 'Frenck', : tuple( 358.0, 6.0, @@ -249,7 +249,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.339, 0.328, diff --git a/tests/components/elgato/snapshots/test_sensor.ambr b/tests/components/elgato/snapshots/test_sensor.ambr index d3bb718bf38..cd079124f2a 100644 --- a/tests/components/elgato/snapshots/test_sensor.ambr +++ b/tests/components/elgato/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_sensors[sensor.frenck_battery-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Frenck Battery', + : 'battery', + : 'Frenck Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.frenck_battery', @@ -95,10 +95,10 @@ # name: test_sensors[sensor.frenck_battery_voltage-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Frenck Battery voltage', + : 'voltage', + : 'Frenck Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frenck_battery_voltage', @@ -191,10 +191,10 @@ # name: test_sensors[sensor.frenck_charging_current-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Frenck Charging current', + : 'current', + : 'Frenck Charging current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frenck_charging_current', @@ -287,10 +287,10 @@ # name: test_sensors[sensor.frenck_charging_power-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Frenck Charging power', + : 'power', + : 'Frenck Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frenck_charging_power', @@ -380,10 +380,10 @@ # name: test_sensors[sensor.frenck_charging_voltage-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Frenck Charging voltage', + : 'voltage', + : 'Frenck Charging voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frenck_charging_voltage', diff --git a/tests/components/elgato/snapshots/test_switch.ambr b/tests/components/elgato/snapshots/test_switch.ambr index 5ea6b2ba16c..71b5c3dc3d4 100644 --- a/tests/components/elgato/snapshots/test_switch.ambr +++ b/tests/components/elgato/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_switches[switch.frenck_energy_saving-energy_saving-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frenck Energy saving', + : 'Frenck Energy saving', }), 'context': , 'entity_id': 'switch.frenck_energy_saving', @@ -87,7 +87,7 @@ # name: test_switches[switch.frenck_studio_mode-battery_bypass-key-light-mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frenck Studio mode', + : 'Frenck Studio mode', }), 'context': , 'entity_id': 'switch.frenck_studio_mode', diff --git a/tests/components/elmax/snapshots/test_alarm_control_panel.ambr b/tests/components/elmax/snapshots/test_alarm_control_panel.ambr index a61f3454603..16106cd4355 100644 --- a/tests/components/elmax/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/elmax/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : None, : False, : , - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 AREA 1', - 'supported_features': , + : 'Direct Panel https://1.1.1.1:443/api/v2 AREA 1', + : , }), 'context': , 'entity_id': 'alarm_control_panel.direct_panel_https_1_1_1_1_443_api_v2_area_1', @@ -96,8 +96,8 @@ : None, : False, : , - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 AREA 2', - 'supported_features': , + : 'Direct Panel https://1.1.1.1:443/api/v2 AREA 2', + : , }), 'context': , 'entity_id': 'alarm_control_panel.direct_panel_https_1_1_1_1_443_api_v2_area_2', @@ -150,8 +150,8 @@ : None, : False, : , - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 AREA 3', - 'supported_features': , + : 'Direct Panel https://1.1.1.1:443/api/v2 AREA 3', + : , }), 'context': , 'entity_id': 'alarm_control_panel.direct_panel_https_1_1_1_1_443_api_v2_area_3', diff --git a/tests/components/elmax/snapshots/test_binary_sensor.ambr b/tests/components/elmax/snapshots/test_binary_sensor.ambr index 1795ac95724..4bbf824b2f8 100644 --- a/tests/components/elmax/snapshots/test_binary_sensor.ambr +++ b/tests/components/elmax/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_01-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 01', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 01', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_01', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_02e-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 02e', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 02e', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_02e', @@ -141,8 +141,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_03a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 03a', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 03a', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_03a', @@ -192,8 +192,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_04-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 04', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 04', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_04', @@ -243,8 +243,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_05-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 05', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 05', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_05', @@ -294,8 +294,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_06-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 06', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 06', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_06', @@ -345,8 +345,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_07-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 07', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 07', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_07', @@ -396,8 +396,8 @@ # name: test_binary_sensors[binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_08-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 08', + : 'door', + : 'Direct Panel https://1.1.1.1:443/api/v2 ZONA 08', }), 'context': , 'entity_id': 'binary_sensor.direct_panel_https_1_1_1_1_443_api_v2_zona_08', diff --git a/tests/components/elmax/snapshots/test_cover.ambr b/tests/components/elmax/snapshots/test_cover.ambr index 732d2ef566f..8b86b66f765 100644 --- a/tests/components/elmax/snapshots/test_cover.ambr +++ b/tests/components/elmax/snapshots/test_cover.ambr @@ -40,9 +40,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 ESPAN.DOM.01', + : 'Direct Panel https://1.1.1.1:443/api/v2 ESPAN.DOM.01', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.direct_panel_https_1_1_1_1_443_api_v2_espan_dom_01', diff --git a/tests/components/elmax/snapshots/test_switch.ambr b/tests/components/elmax/snapshots/test_switch.ambr index 227d341a7e6..30d5e1f47dd 100644 --- a/tests/components/elmax/snapshots/test_switch.ambr +++ b/tests/components/elmax/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.direct_panel_https_1_1_1_1_443_api_v2_uscita_02-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Direct Panel https://1.1.1.1:443/api/v2 USCITA 02', + : 'Direct Panel https://1.1.1.1:443/api/v2 USCITA 02', }), 'context': , 'entity_id': 'switch.direct_panel_https_1_1_1_1_443_api_v2_uscita_02', diff --git a/tests/components/emoncms/snapshots/test_sensor.ambr b/tests/components/emoncms/snapshots/test_sensor.ambr index ccafd2eedb9..05cb2b41be5 100644 --- a/tests/components/emoncms/snapshots/test_sensor.ambr +++ b/tests/components/emoncms/snapshots/test_sensor.ambr @@ -51,10 +51,10 @@ 'Size': '35809224', 'Tag': 'tag', 'UserId': '1', - 'device_class': 'temperature', - 'friendly_name': 'Temperature tag parameter 1', + : 'temperature', + : 'Temperature tag parameter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.temperature_tag_parameter_1', diff --git a/tests/components/energenie_power_sockets/snapshots/test_switch.ambr b/tests/components/energenie_power_sockets/snapshots/test_switch.ambr index 7f38bf6dc76..8e6ca737c1e 100644 --- a/tests/components/energenie_power_sockets/snapshots/test_switch.ambr +++ b/tests/components/energenie_power_sockets/snapshots/test_switch.ambr @@ -2,8 +2,8 @@ # name: test_switch_setup[mockedusbdevice_socket_0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'MockedUSBDevice Socket 0', + : 'outlet', + : 'MockedUSBDevice Socket 0', }), 'context': , 'entity_id': 'switch.mockedusbdevice_socket_0', @@ -53,8 +53,8 @@ # name: test_switch_setup[mockedusbdevice_socket_1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'MockedUSBDevice Socket 1', + : 'outlet', + : 'MockedUSBDevice Socket 1', }), 'context': , 'entity_id': 'switch.mockedusbdevice_socket_1', @@ -104,8 +104,8 @@ # name: test_switch_setup[mockedusbdevice_socket_2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'MockedUSBDevice Socket 2', + : 'outlet', + : 'MockedUSBDevice Socket 2', }), 'context': , 'entity_id': 'switch.mockedusbdevice_socket_2', @@ -155,8 +155,8 @@ # name: test_switch_setup[mockedusbdevice_socket_3] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'MockedUSBDevice Socket 3', + : 'outlet', + : 'MockedUSBDevice Socket 3', }), 'context': , 'entity_id': 'switch.mockedusbdevice_socket_3', diff --git a/tests/components/energieleser/snapshots/test_sensor.ambr b/tests/components/energieleser/snapshots/test_sensor.ambr index 7f961ddbc7c..e86bb160da7 100644 --- a/tests/components/energieleser/snapshots/test_sensor.ambr +++ b/tests/components/energieleser/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_gasleser_sensors[sensor.gas_8530321017_gas_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'GAS_8530321017 Gas flow rate', + : 'volume_flow_rate', + : 'GAS_8530321017 Gas flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_8530321017_gas_flow_rate', @@ -99,7 +99,7 @@ # name: test_gasleser_sensors[sensor.gas_8530321017_pulse_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GAS_8530321017 Pulse count', + : 'GAS_8530321017 Pulse count', : , }), 'context': , @@ -152,10 +152,10 @@ # name: test_gasleser_sensors[sensor.gas_8530321017_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'GAS_8530321017 Signal strength', + : 'signal_strength', + : 'GAS_8530321017 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.gas_8530321017_signal_strength', @@ -210,10 +210,10 @@ # name: test_gasleser_sensors[sensor.gas_8530321017_total_gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'GAS_8530321017 Total gas', + : 'gas', + : 'GAS_8530321017 Total gas', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_8530321017_total_gas', @@ -268,10 +268,10 @@ # name: test_stromleser_sensors[sensor.strom_one_8529546829_active_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STROM_ONE_8529546829 Active power', + : 'power', + : 'STROM_ONE_8529546829 Active power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.strom_one_8529546829_active_power', @@ -326,10 +326,10 @@ # name: test_stromleser_sensors[sensor.strom_one_8529546829_exported_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STROM_ONE_8529546829 Exported energy', + : 'energy', + : 'STROM_ONE_8529546829 Exported energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.strom_one_8529546829_exported_energy', @@ -384,10 +384,10 @@ # name: test_stromleser_sensors[sensor.strom_one_8529546829_imported_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STROM_ONE_8529546829 Imported energy', + : 'energy', + : 'STROM_ONE_8529546829 Imported energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.strom_one_8529546829_imported_energy', @@ -442,10 +442,10 @@ # name: test_stromleser_sensors[sensor.strom_one_8529546829_phase_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STROM_ONE_8529546829 Phase 1 power', + : 'power', + : 'STROM_ONE_8529546829 Phase 1 power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.strom_one_8529546829_phase_1_power', @@ -500,10 +500,10 @@ # name: test_stromleser_sensors[sensor.strom_one_8529546829_phase_2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STROM_ONE_8529546829 Phase 2 power', + : 'power', + : 'STROM_ONE_8529546829 Phase 2 power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.strom_one_8529546829_phase_2_power', @@ -558,10 +558,10 @@ # name: test_stromleser_sensors[sensor.strom_one_8529546829_phase_3_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STROM_ONE_8529546829 Phase 3 power', + : 'power', + : 'STROM_ONE_8529546829 Phase 3 power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.strom_one_8529546829_phase_3_power', @@ -613,10 +613,10 @@ # name: test_stromleser_sensors[sensor.strom_one_8529546829_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'STROM_ONE_8529546829 Signal strength', + : 'signal_strength', + : 'STROM_ONE_8529546829 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.strom_one_8529546829_signal_strength', @@ -671,10 +671,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_energy_tariff_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'HEAT_0000000001 Energy tariff 1', + : 'energy', + : 'HEAT_0000000001 Energy tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_energy_tariff_1', @@ -729,10 +729,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_energy_tariff_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'HEAT_0000000001 Energy tariff 2', + : 'energy', + : 'HEAT_0000000001 Energy tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_energy_tariff_2', @@ -787,10 +787,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_energy_tariff_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'HEAT_0000000001 Energy tariff 3', + : 'energy', + : 'HEAT_0000000001 Energy tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_energy_tariff_3', @@ -845,10 +845,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_flow_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'HEAT_0000000001 Flow temperature', + : 'temperature', + : 'HEAT_0000000001 Flow temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_flow_temperature', @@ -903,10 +903,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'HEAT_0000000001 Power', + : 'power', + : 'HEAT_0000000001 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_power', @@ -961,10 +961,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'HEAT_0000000001 Return temperature', + : 'temperature', + : 'HEAT_0000000001 Return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_return_temperature', @@ -1016,10 +1016,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'HEAT_0000000001 Signal strength', + : 'signal_strength', + : 'HEAT_0000000001 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.heat_0000000001_signal_strength', @@ -1074,10 +1074,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_temperature_delta-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'HEAT_0000000001 Temperature delta', + : 'temperature_delta', + : 'HEAT_0000000001 Temperature delta', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_temperature_delta', @@ -1132,10 +1132,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_total_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'HEAT_0000000001 Total volume', + : 'volume', + : 'HEAT_0000000001 Total volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_total_volume', @@ -1190,10 +1190,10 @@ # name: test_waermeleser_sensors[sensor.heat_0000000001_volume_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'HEAT_0000000001 Volume flow', + : 'volume_flow_rate', + : 'HEAT_0000000001 Volume flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_0000000001_volume_flow', @@ -1245,10 +1245,10 @@ # name: test_wasserleser_sensors[sensor.wasser_0499632826_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'WASSER_0499632826 Signal strength', + : 'signal_strength', + : 'WASSER_0499632826 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.wasser_0499632826_signal_strength', @@ -1303,10 +1303,10 @@ # name: test_wasserleser_sensors[sensor.wasser_0499632826_total_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'WASSER_0499632826 Total water', + : 'water', + : 'WASSER_0499632826 Total water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wasser_0499632826_total_water', @@ -1361,10 +1361,10 @@ # name: test_wasserleser_sensors[sensor.wasser_0499632826_volume_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'WASSER_0499632826 Volume flow rate', + : 'volume_flow_rate', + : 'WASSER_0499632826 Volume flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wasser_0499632826_volume_flow_rate', @@ -1419,10 +1419,10 @@ # name: test_wasserleser_sensors[sensor.wasser_0499632826_water_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'WASSER_0499632826 Water flow rate', + : 'volume_flow_rate', + : 'WASSER_0499632826 Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wasser_0499632826_water_flow_rate', @@ -1477,10 +1477,10 @@ # name: test_wasserleser_sensors[sensor.wasser_0499632826_water_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'WASSER_0499632826 Water today', + : 'water', + : 'WASSER_0499632826 Water today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wasser_0499632826_water_today', diff --git a/tests/components/energyzero/snapshots/test_sensor.ambr b/tests/components/energyzero/snapshots/test_sensor.ambr index 59a4f90d48b..70ed897759d 100644 --- a/tests/components/energyzero/snapshots/test_sensor.ambr +++ b/tests/components/energyzero/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_sensor[sensor.energyzero_today_energy_average_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Energy market price Average - today', - 'unit_of_measurement': '€/kWh', + : 'Data provided by EnergyZero', + : 'Energy market price Average - today', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_average_price', @@ -93,10 +93,10 @@ # name: test_sensor[sensor.energyzero_today_energy_current_hour_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Energy market price Current hour', + : 'Data provided by EnergyZero', + : 'Energy market price Current hour', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_current_hour_price', @@ -146,9 +146,9 @@ # name: test_sensor[sensor.energyzero_today_energy_highest_price_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'device_class': 'timestamp', - 'friendly_name': 'Energy market price Time of highest price - today', + : 'Data provided by EnergyZero', + : 'timestamp', + : 'Energy market price Time of highest price - today', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_highest_price_time', @@ -198,9 +198,9 @@ # name: test_sensor[sensor.energyzero_today_energy_hours_priced_equal_or_lower-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Energy market price Hours priced equal or lower than current - today', - 'unit_of_measurement': , + : 'Data provided by EnergyZero', + : 'Energy market price Hours priced equal or lower than current - today', + : , }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_hours_priced_equal_or_lower', @@ -250,9 +250,9 @@ # name: test_sensor[sensor.energyzero_today_energy_lowest_price_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'device_class': 'timestamp', - 'friendly_name': 'Energy market price Time of lowest price - today', + : 'Data provided by EnergyZero', + : 'timestamp', + : 'Energy market price Time of lowest price - today', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_lowest_price_time', @@ -302,9 +302,9 @@ # name: test_sensor[sensor.energyzero_today_energy_max_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Energy market price Highest price - today', - 'unit_of_measurement': '€/kWh', + : 'Data provided by EnergyZero', + : 'Energy market price Highest price - today', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_max_price', @@ -354,9 +354,9 @@ # name: test_sensor[sensor.energyzero_today_energy_min_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Energy market price Lowest price - today', - 'unit_of_measurement': '€/kWh', + : 'Data provided by EnergyZero', + : 'Energy market price Lowest price - today', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_min_price', @@ -406,9 +406,9 @@ # name: test_sensor[sensor.energyzero_today_energy_next_hour_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Energy market price Next hour', - 'unit_of_measurement': '€/kWh', + : 'Data provided by EnergyZero', + : 'Energy market price Next hour', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_next_hour_price', @@ -458,9 +458,9 @@ # name: test_sensor[sensor.energyzero_today_energy_percentage_of_max-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Energy market price Current percentage of highest price - today', - 'unit_of_measurement': '%', + : 'Data provided by EnergyZero', + : 'Energy market price Current percentage of highest price - today', + : '%', }), 'context': , 'entity_id': 'sensor.energyzero_today_energy_percentage_of_max', @@ -512,10 +512,10 @@ # name: test_sensor[sensor.energyzero_today_gas_current_hour_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Gas market price Current hour', + : 'Data provided by EnergyZero', + : 'Gas market price Current hour', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.energyzero_today_gas_current_hour_price', @@ -565,9 +565,9 @@ # name: test_sensor[sensor.energyzero_today_gas_next_hour_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by EnergyZero', - 'friendly_name': 'Gas market price Next hour', - 'unit_of_measurement': '€/m³', + : 'Data provided by EnergyZero', + : 'Gas market price Next hour', + : '€/m³', }), 'context': , 'entity_id': 'sensor.energyzero_today_gas_next_hour_price', diff --git a/tests/components/enphase_envoy/snapshots/test_binary_sensor.ambr b/tests/components/enphase_envoy/snapshots/test_binary_sensor.ambr index e295a3cf2fd..cf603628b76 100644 --- a/tests/components/enphase_envoy/snapshots/test_binary_sensor.ambr +++ b/tests/components/enphase_envoy/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[envoy_eu_batt][binary_sensor.encharge_123456_communicating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Encharge 123456 Communicating', + : 'connectivity', + : 'Encharge 123456 Communicating', }), 'context': , 'entity_id': 'binary_sensor.encharge_123456_communicating', @@ -90,7 +90,7 @@ # name: test_binary_sensor[envoy_eu_batt][binary_sensor.encharge_123456_dc_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Encharge 123456 DC switch', + : 'Encharge 123456 DC switch', }), 'context': , 'entity_id': 'binary_sensor.encharge_123456_dc_switch', @@ -140,8 +140,8 @@ # name: test_binary_sensor[envoy_metered_batt_relay][binary_sensor.c6_combiner_482523040549_communicating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'C6 Combiner 482523040549 Communicating', + : 'connectivity', + : 'C6 Combiner 482523040549 Communicating', }), 'context': , 'entity_id': 'binary_sensor.c6_combiner_482523040549_communicating', @@ -191,8 +191,8 @@ # name: test_binary_sensor[envoy_metered_batt_relay][binary_sensor.collar_482520020939_communicating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Collar 482520020939 Communicating', + : 'connectivity', + : 'Collar 482520020939 Communicating', }), 'context': , 'entity_id': 'binary_sensor.collar_482520020939_communicating', @@ -242,8 +242,8 @@ # name: test_binary_sensor[envoy_metered_batt_relay][binary_sensor.encharge_123456_communicating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Encharge 123456 Communicating', + : 'connectivity', + : 'Encharge 123456 Communicating', }), 'context': , 'entity_id': 'binary_sensor.encharge_123456_communicating', @@ -293,7 +293,7 @@ # name: test_binary_sensor[envoy_metered_batt_relay][binary_sensor.encharge_123456_dc_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Encharge 123456 DC switch', + : 'Encharge 123456 DC switch', }), 'context': , 'entity_id': 'binary_sensor.encharge_123456_dc_switch', @@ -343,8 +343,8 @@ # name: test_binary_sensor[envoy_metered_batt_relay][binary_sensor.enpower_654321_communicating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Enpower 654321 Communicating', + : 'connectivity', + : 'Enpower 654321 Communicating', }), 'context': , 'entity_id': 'binary_sensor.enpower_654321_communicating', @@ -394,7 +394,7 @@ # name: test_binary_sensor[envoy_metered_batt_relay][binary_sensor.enpower_654321_grid_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Enpower 654321 Grid status', + : 'Enpower 654321 Grid status', }), 'context': , 'entity_id': 'binary_sensor.enpower_654321_grid_status', diff --git a/tests/components/enphase_envoy/snapshots/test_number.ambr b/tests/components/enphase_envoy/snapshots/test_number.ambr index 475dedf6c6c..6265c12d719 100644 --- a/tests/components/enphase_envoy/snapshots/test_number.ambr +++ b/tests/components/enphase_envoy/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number[envoy_eu_batt][number.envoy_1234_reserve_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Reserve battery level', + : 'battery', + : 'Envoy 1234 Reserve battery level', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.envoy_1234_reserve_battery_level', @@ -105,13 +105,13 @@ # name: test_number[envoy_metered_batt_relay][number.enpower_654321_reserve_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Enpower 654321 Reserve battery level', + : 'battery', + : 'Enpower 654321 Reserve battery level', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.enpower_654321_reserve_battery_level', @@ -166,8 +166,8 @@ # name: test_number[envoy_metered_batt_relay][number.nc1_fixture_cutoff_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'NC1 Fixture Cutoff battery level', + : 'battery', + : 'NC1 Fixture Cutoff battery level', : 100.0, : 0.0, : , @@ -226,8 +226,8 @@ # name: test_number[envoy_metered_batt_relay][number.nc1_fixture_restore_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'NC1 Fixture Restore battery level', + : 'battery', + : 'NC1 Fixture Restore battery level', : 100.0, : 0.0, : , @@ -286,8 +286,8 @@ # name: test_number[envoy_metered_batt_relay][number.nc2_fixture_cutoff_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'NC2 Fixture Cutoff battery level', + : 'battery', + : 'NC2 Fixture Cutoff battery level', : 100.0, : 0.0, : , @@ -346,8 +346,8 @@ # name: test_number[envoy_metered_batt_relay][number.nc2_fixture_restore_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'NC2 Fixture Restore battery level', + : 'battery', + : 'NC2 Fixture Restore battery level', : 100.0, : 0.0, : , @@ -406,8 +406,8 @@ # name: test_number[envoy_metered_batt_relay][number.nc3_fixture_cutoff_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'NC3 Fixture Cutoff battery level', + : 'battery', + : 'NC3 Fixture Cutoff battery level', : 100.0, : 0.0, : , @@ -466,8 +466,8 @@ # name: test_number[envoy_metered_batt_relay][number.nc3_fixture_restore_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'NC3 Fixture Restore battery level', + : 'battery', + : 'NC3 Fixture Restore battery level', : 100.0, : 0.0, : , diff --git a/tests/components/enphase_envoy/snapshots/test_select.ambr b/tests/components/enphase_envoy/snapshots/test_select.ambr index af259c56f7f..16b30e2eba1 100644 --- a/tests/components/enphase_envoy/snapshots/test_select.ambr +++ b/tests/components/enphase_envoy/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select[envoy_eu_batt][select.envoy_1234_storage_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Storage mode', + : 'Envoy 1234 Storage mode', : list([ 'backup', 'self_consumption', @@ -106,7 +106,7 @@ # name: test_select[envoy_metered_batt_relay][select.enpower_654321_storage_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Enpower 654321 Storage mode', + : 'Enpower 654321 Storage mode', : list([ 'backup', 'self_consumption', @@ -168,7 +168,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc1_fixture_generator_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC1 Fixture Generator action', + : 'NC1 Fixture Generator action', : list([ 'powered', 'not_powered', @@ -231,7 +231,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc1_fixture_grid_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC1 Fixture Grid action', + : 'NC1 Fixture Grid action', : list([ 'powered', 'not_powered', @@ -294,7 +294,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc1_fixture_microgrid_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC1 Fixture Microgrid action', + : 'NC1 Fixture Microgrid action', : list([ 'powered', 'not_powered', @@ -355,7 +355,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc1_fixture_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC1 Fixture Mode', + : 'NC1 Fixture Mode', : list([ 'standard', 'battery', @@ -416,7 +416,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc2_fixture_generator_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC2 Fixture Generator action', + : 'NC2 Fixture Generator action', : list([ 'powered', 'not_powered', @@ -479,7 +479,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc2_fixture_grid_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC2 Fixture Grid action', + : 'NC2 Fixture Grid action', : list([ 'powered', 'not_powered', @@ -542,7 +542,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc2_fixture_microgrid_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC2 Fixture Microgrid action', + : 'NC2 Fixture Microgrid action', : list([ 'powered', 'not_powered', @@ -603,7 +603,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc2_fixture_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC2 Fixture Mode', + : 'NC2 Fixture Mode', : list([ 'standard', 'battery', @@ -664,7 +664,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc3_fixture_generator_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC3 Fixture Generator action', + : 'NC3 Fixture Generator action', : list([ 'powered', 'not_powered', @@ -727,7 +727,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc3_fixture_grid_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC3 Fixture Grid action', + : 'NC3 Fixture Grid action', : list([ 'powered', 'not_powered', @@ -790,7 +790,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc3_fixture_microgrid_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC3 Fixture Microgrid action', + : 'NC3 Fixture Microgrid action', : list([ 'powered', 'not_powered', @@ -851,7 +851,7 @@ # name: test_select[envoy_metered_batt_relay][select.nc3_fixture_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC3 Fixture Mode', + : 'NC3 Fixture Mode', : list([ 'standard', 'battery', diff --git a/tests/components/enphase_envoy/snapshots/test_sensor.ambr b/tests/components/enphase_envoy/snapshots/test_sensor.ambr index 8febaf3e5cf..2f6f80653fd 100644 --- a/tests/components/enphase_envoy/snapshots/test_sensor.ambr +++ b/tests/components/enphase_envoy/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_sensor[envoy][sensor.envoy_1234_current_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production', + : 'power', + : 'Envoy 1234 Current power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production', @@ -106,9 +106,9 @@ # name: test_sensor[envoy][sensor.envoy_1234_energy_production_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days', @@ -166,10 +166,10 @@ # name: test_sensor[envoy][sensor.envoy_1234_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today', + : 'energy', + : 'Envoy 1234 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today', @@ -227,10 +227,10 @@ # name: test_sensor[envoy][sensor.envoy_1234_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production', + : 'energy', + : 'Envoy 1234 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production', @@ -285,10 +285,10 @@ # name: test_sensor[envoy][sensor.inverter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1', + : 'power', + : 'Inverter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1', @@ -343,10 +343,10 @@ # name: test_sensor[envoy][sensor.inverter_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 AC current', + : 'current', + : 'Inverter 1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_current', @@ -401,10 +401,10 @@ # name: test_sensor[envoy][sensor.inverter_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 AC voltage', + : 'voltage', + : 'Inverter 1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_voltage', @@ -459,10 +459,10 @@ # name: test_sensor[envoy][sensor.inverter_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 DC current', + : 'current', + : 'Inverter 1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_current', @@ -517,10 +517,10 @@ # name: test_sensor[envoy][sensor.inverter_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 DC voltage', + : 'voltage', + : 'Inverter 1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_voltage', @@ -575,10 +575,10 @@ # name: test_sensor[envoy][sensor.inverter_1_energy_production_since_previous_report-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production since previous report', + : 'energy', + : 'Inverter 1 Energy production since previous report', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_since_previous_report', @@ -633,10 +633,10 @@ # name: test_sensor[envoy][sensor.inverter_1_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production today', + : 'energy', + : 'Inverter 1 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_today', @@ -691,10 +691,10 @@ # name: test_sensor[envoy][sensor.inverter_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter 1 Frequency', + : 'frequency', + : 'Inverter 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_frequency', @@ -749,10 +749,10 @@ # name: test_sensor[envoy][sensor.inverter_1_last_report_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Inverter 1 Last report duration', + : 'duration', + : 'Inverter 1 Last report duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_last_report_duration', @@ -802,8 +802,8 @@ # name: test_sensor[envoy][sensor.inverter_1_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Inverter 1 Last reported', + : 'timestamp', + : 'Inverter 1 Last reported', }), 'context': , 'entity_id': 'sensor.inverter_1_last_reported', @@ -861,10 +861,10 @@ # name: test_sensor[envoy][sensor.inverter_1_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Lifetime energy production', + : 'energy', + : 'Inverter 1 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_energy_production', @@ -919,10 +919,10 @@ # name: test_sensor[envoy][sensor.inverter_1_lifetime_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Lifetime maximum power', + : 'power', + : 'Inverter 1 Lifetime maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_maximum_power', @@ -977,10 +977,10 @@ # name: test_sensor[envoy][sensor.inverter_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter 1 Temperature', + : 'temperature', + : 'Inverter 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_temperature', @@ -1038,10 +1038,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_balanced_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption', + : 'power', + : 'Envoy 1234 Balanced net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption', @@ -1099,10 +1099,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_current_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption', + : 'power', + : 'Envoy 1234 Current net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption', @@ -1160,10 +1160,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_current_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption', + : 'power', + : 'Envoy 1234 Current power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption', @@ -1221,10 +1221,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_current_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production', + : 'power', + : 'Envoy 1234 Current power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production', @@ -1280,9 +1280,9 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_energy_consumption_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days', @@ -1340,10 +1340,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_energy_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today', + : 'energy', + : 'Envoy 1234 Energy consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today', @@ -1399,9 +1399,9 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_energy_production_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days', @@ -1459,10 +1459,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today', + : 'energy', + : 'Envoy 1234 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today', @@ -1517,10 +1517,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_frequency_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct', @@ -1575,10 +1575,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_frequency_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT', + : 'frequency', + : 'Envoy 1234 Frequency production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct', @@ -1636,10 +1636,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_lifetime_balanced_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption', @@ -1697,10 +1697,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_lifetime_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption', @@ -1758,10 +1758,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production', + : 'energy', + : 'Envoy 1234 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production', @@ -1819,10 +1819,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_lifetime_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption', @@ -1880,10 +1880,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_lifetime_net_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production', + : 'energy', + : 'Envoy 1234 Lifetime net energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production', @@ -1933,7 +1933,7 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT', + : 'Envoy 1234 Meter status flags active net consumption CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct', @@ -1983,7 +1983,7 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_meter_status_flags_active_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT', + : 'Envoy 1234 Meter status flags active production CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct', @@ -2039,8 +2039,8 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_metering_status_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT', : list([ , , @@ -2101,8 +2101,8 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_metering_status_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT', + : 'enum', + : 'Envoy 1234 Metering status production CT', : list([ , , @@ -2165,10 +2165,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_net_consumption_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current', + : 'current', + : 'Envoy 1234 Net consumption CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current', @@ -2223,8 +2223,8 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_power_factor_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT', : , }), 'context': , @@ -2280,8 +2280,8 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_power_factor_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT', + : 'power_factor', + : 'Envoy 1234 Power factor production CT', : , }), 'context': , @@ -2340,10 +2340,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_production_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current', + : 'current', + : 'Envoy 1234 Production CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current', @@ -2401,10 +2401,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_production_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered', + : 'energy', + : 'Envoy 1234 Production CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered', @@ -2462,10 +2462,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_production_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received', + : 'energy', + : 'Envoy 1234 Production CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received', @@ -2523,10 +2523,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_production_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power', + : 'power', + : 'Envoy 1234 Production CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power', @@ -2584,10 +2584,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_voltage_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct', @@ -2645,10 +2645,10 @@ # name: test_sensor[envoy_1p_metered][sensor.envoy_1234_voltage_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT', + : 'voltage', + : 'Envoy 1234 Voltage production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct', @@ -2703,10 +2703,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1', + : 'power', + : 'Inverter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1', @@ -2761,10 +2761,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 AC current', + : 'current', + : 'Inverter 1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_current', @@ -2819,10 +2819,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 AC voltage', + : 'voltage', + : 'Inverter 1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_voltage', @@ -2877,10 +2877,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 DC current', + : 'current', + : 'Inverter 1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_current', @@ -2935,10 +2935,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 DC voltage', + : 'voltage', + : 'Inverter 1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_voltage', @@ -2993,10 +2993,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_energy_production_since_previous_report-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production since previous report', + : 'energy', + : 'Inverter 1 Energy production since previous report', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_since_previous_report', @@ -3051,10 +3051,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production today', + : 'energy', + : 'Inverter 1 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_today', @@ -3109,10 +3109,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter 1 Frequency', + : 'frequency', + : 'Inverter 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_frequency', @@ -3167,10 +3167,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_last_report_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Inverter 1 Last report duration', + : 'duration', + : 'Inverter 1 Last report duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_last_report_duration', @@ -3220,8 +3220,8 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Inverter 1 Last reported', + : 'timestamp', + : 'Inverter 1 Last reported', }), 'context': , 'entity_id': 'sensor.inverter_1_last_reported', @@ -3279,10 +3279,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Lifetime energy production', + : 'energy', + : 'Inverter 1 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_energy_production', @@ -3337,10 +3337,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_lifetime_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Lifetime maximum power', + : 'power', + : 'Inverter 1 Lifetime maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_maximum_power', @@ -3395,10 +3395,10 @@ # name: test_sensor[envoy_1p_metered][sensor.inverter_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter 1 Temperature', + : 'temperature', + : 'Inverter 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_temperature', @@ -3450,10 +3450,10 @@ # name: test_sensor[envoy_acb_batt][sensor.acb_1234_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'ACB 1234 Battery', + : 'battery', + : 'ACB 1234 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.acb_1234_battery', @@ -3510,8 +3510,8 @@ # name: test_sensor[envoy_acb_batt][sensor.acb_1234_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ACB 1234 Battery state', + : 'enum', + : 'ACB 1234 Battery state', : list([ 'discharging', 'idle', @@ -3572,10 +3572,10 @@ # name: test_sensor[envoy_acb_batt][sensor.acb_1234_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'ACB 1234 Power', + : 'power', + : 'ACB 1234 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.acb_1234_power', @@ -3630,10 +3630,10 @@ # name: test_sensor[envoy_acb_batt][sensor.encharge_123456_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Encharge 123456 Apparent power', + : 'apparent_power', + : 'Encharge 123456 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_apparent_power', @@ -3685,10 +3685,10 @@ # name: test_sensor[envoy_acb_batt][sensor.encharge_123456_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Encharge 123456 Battery', + : 'battery', + : 'Encharge 123456 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.encharge_123456_battery', @@ -3738,8 +3738,8 @@ # name: test_sensor[envoy_acb_batt][sensor.encharge_123456_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Encharge 123456 Last reported', + : 'timestamp', + : 'Encharge 123456 Last reported', }), 'context': , 'entity_id': 'sensor.encharge_123456_last_reported', @@ -3794,10 +3794,10 @@ # name: test_sensor[envoy_acb_batt][sensor.encharge_123456_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Encharge 123456 Power', + : 'power', + : 'Encharge 123456 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_power', @@ -3852,10 +3852,10 @@ # name: test_sensor[envoy_acb_batt][sensor.encharge_123456_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Encharge 123456 Temperature', + : 'temperature', + : 'Encharge 123456 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_temperature', @@ -3910,10 +3910,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_aggregated_available_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Aggregated available battery energy', + : 'energy_storage', + : 'Envoy 1234 Aggregated available battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_aggregated_available_battery_energy', @@ -3966,9 +3966,9 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_aggregated_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Aggregated Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Envoy 1234 Aggregated Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_aggregated_battery_capacity', @@ -4020,10 +4020,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_aggregated_battery_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Aggregated battery SOC', + : 'battery', + : 'Envoy 1234 Aggregated battery SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.envoy_1234_aggregated_battery_soc', @@ -4078,10 +4078,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_available_acb_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Available ACB battery energy', + : 'energy_storage', + : 'Envoy 1234 Available ACB battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_available_acb_battery_energy', @@ -4136,10 +4136,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_available_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Available battery energy', + : 'energy_storage', + : 'Envoy 1234 Available battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_available_battery_energy', @@ -4197,10 +4197,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_balanced_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption', + : 'power', + : 'Envoy 1234 Balanced net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption', @@ -4252,10 +4252,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Battery', + : 'battery', + : 'Envoy 1234 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.envoy_1234_battery', @@ -4308,9 +4308,9 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Envoy 1234 Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_battery_capacity', @@ -4368,10 +4368,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_current_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption', + : 'power', + : 'Envoy 1234 Current net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption', @@ -4429,10 +4429,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_current_net_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l1', + : 'power', + : 'Envoy 1234 Current net power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l1', @@ -4490,10 +4490,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_current_net_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l2', + : 'power', + : 'Envoy 1234 Current net power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l2', @@ -4551,10 +4551,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_current_net_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l3', + : 'power', + : 'Envoy 1234 Current net power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l3', @@ -4612,10 +4612,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_current_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption', + : 'power', + : 'Envoy 1234 Current power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption', @@ -4673,10 +4673,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_current_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production', + : 'power', + : 'Envoy 1234 Current power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production', @@ -4732,9 +4732,9 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_energy_consumption_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days', @@ -4792,10 +4792,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_energy_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today', + : 'energy', + : 'Envoy 1234 Energy consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today', @@ -4851,9 +4851,9 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_energy_production_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days', @@ -4911,10 +4911,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today', + : 'energy', + : 'Envoy 1234 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today', @@ -4969,10 +4969,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct', @@ -5027,10 +5027,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l1', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l1', @@ -5085,10 +5085,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l2', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l2', @@ -5143,10 +5143,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l3', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l3', @@ -5201,10 +5201,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT', + : 'frequency', + : 'Envoy 1234 Frequency production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct', @@ -5259,10 +5259,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l1', + : 'frequency', + : 'Envoy 1234 Frequency production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l1', @@ -5317,10 +5317,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l2', + : 'frequency', + : 'Envoy 1234 Frequency production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l2', @@ -5375,10 +5375,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_frequency_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l3', + : 'frequency', + : 'Envoy 1234 Frequency production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l3', @@ -5436,10 +5436,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_balanced_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption', @@ -5497,10 +5497,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption', @@ -5558,10 +5558,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production', + : 'energy', + : 'Envoy 1234 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production', @@ -5619,10 +5619,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption', @@ -5680,10 +5680,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l1', @@ -5741,10 +5741,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l2', @@ -5802,10 +5802,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l3', @@ -5863,10 +5863,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production', + : 'energy', + : 'Envoy 1234 Lifetime net energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production', @@ -5924,10 +5924,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l1', @@ -5985,10 +5985,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l2', @@ -6046,10 +6046,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_lifetime_net_energy_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l3', @@ -6099,7 +6099,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT', + : 'Envoy 1234 Meter status flags active net consumption CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct', @@ -6149,7 +6149,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l1', + : 'Envoy 1234 Meter status flags active net consumption CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1', @@ -6199,7 +6199,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l2', + : 'Envoy 1234 Meter status flags active net consumption CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2', @@ -6249,7 +6249,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l3', + : 'Envoy 1234 Meter status flags active net consumption CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3', @@ -6299,7 +6299,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT', + : 'Envoy 1234 Meter status flags active production CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct', @@ -6349,7 +6349,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l1', + : 'Envoy 1234 Meter status flags active production CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l1', @@ -6399,7 +6399,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l2', + : 'Envoy 1234 Meter status flags active production CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l2', @@ -6449,7 +6449,7 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_meter_status_flags_active_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l3', + : 'Envoy 1234 Meter status flags active production CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l3', @@ -6505,8 +6505,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT', : list([ , , @@ -6567,8 +6567,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l1', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l1', : list([ , , @@ -6629,8 +6629,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l2', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l2', : list([ , , @@ -6691,8 +6691,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l3', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l3', : list([ , , @@ -6753,8 +6753,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT', + : 'enum', + : 'Envoy 1234 Metering status production CT', : list([ , , @@ -6815,8 +6815,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l1', + : 'enum', + : 'Envoy 1234 Metering status production CT l1', : list([ , , @@ -6877,8 +6877,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l2', + : 'enum', + : 'Envoy 1234 Metering status production CT l2', : list([ , , @@ -6939,8 +6939,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_metering_status_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l3', + : 'enum', + : 'Envoy 1234 Metering status production CT l3', : list([ , , @@ -7003,10 +7003,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_net_consumption_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current', + : 'current', + : 'Envoy 1234 Net consumption CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current', @@ -7064,10 +7064,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_net_consumption_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l1', + : 'current', + : 'Envoy 1234 Net consumption CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l1', @@ -7125,10 +7125,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_net_consumption_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l2', + : 'current', + : 'Envoy 1234 Net consumption CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l2', @@ -7186,10 +7186,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_net_consumption_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l3', + : 'current', + : 'Envoy 1234 Net consumption CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l3', @@ -7244,8 +7244,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT', : , }), 'context': , @@ -7301,8 +7301,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l1', : , }), 'context': , @@ -7358,8 +7358,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l2', : , }), 'context': , @@ -7415,8 +7415,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l3', : , }), 'context': , @@ -7472,8 +7472,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT', + : 'power_factor', + : 'Envoy 1234 Power factor production CT', : , }), 'context': , @@ -7529,8 +7529,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l1', : , }), 'context': , @@ -7586,8 +7586,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l2', : , }), 'context': , @@ -7643,8 +7643,8 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_power_factor_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l3', : , }), 'context': , @@ -7703,10 +7703,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current', + : 'current', + : 'Envoy 1234 Production CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current', @@ -7764,10 +7764,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l1', + : 'current', + : 'Envoy 1234 Production CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l1', @@ -7825,10 +7825,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l2', + : 'current', + : 'Envoy 1234 Production CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l2', @@ -7886,10 +7886,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l3', + : 'current', + : 'Envoy 1234 Production CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l3', @@ -7947,10 +7947,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered', + : 'energy', + : 'Envoy 1234 Production CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered', @@ -8008,10 +8008,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l1', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l1', @@ -8069,10 +8069,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l2', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l2', @@ -8130,10 +8130,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l3', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l3', @@ -8191,10 +8191,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received', + : 'energy', + : 'Envoy 1234 Production CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received', @@ -8252,10 +8252,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l1', + : 'energy', + : 'Envoy 1234 Production CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l1', @@ -8313,10 +8313,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l2', + : 'energy', + : 'Envoy 1234 Production CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l2', @@ -8374,10 +8374,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l3', + : 'energy', + : 'Envoy 1234 Production CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l3', @@ -8435,10 +8435,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power', + : 'power', + : 'Envoy 1234 Production CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power', @@ -8496,10 +8496,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l1', + : 'power', + : 'Envoy 1234 Production CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l1', @@ -8557,10 +8557,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l2', + : 'power', + : 'Envoy 1234 Production CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l2', @@ -8618,10 +8618,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_production_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l3', + : 'power', + : 'Envoy 1234 Production CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l3', @@ -8676,10 +8676,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_reserve_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Reserve battery energy', + : 'energy_storage', + : 'Envoy 1234 Reserve battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_reserve_battery_energy', @@ -8731,10 +8731,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_reserve_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Reserve battery level', + : 'battery', + : 'Envoy 1234 Reserve battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.envoy_1234_reserve_battery_level', @@ -8792,10 +8792,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct', @@ -8853,10 +8853,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l1', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l1', @@ -8914,10 +8914,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l2', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l2', @@ -8975,10 +8975,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l3', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l3', @@ -9036,10 +9036,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT', + : 'voltage', + : 'Envoy 1234 Voltage production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct', @@ -9097,10 +9097,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l1', + : 'voltage', + : 'Envoy 1234 Voltage production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l1', @@ -9158,10 +9158,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l2', + : 'voltage', + : 'Envoy 1234 Voltage production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l2', @@ -9219,10 +9219,10 @@ # name: test_sensor[envoy_acb_batt][sensor.envoy_1234_voltage_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l3', + : 'voltage', + : 'Envoy 1234 Voltage production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l3', @@ -9277,10 +9277,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1', + : 'power', + : 'Inverter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1', @@ -9335,10 +9335,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 AC current', + : 'current', + : 'Inverter 1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_current', @@ -9393,10 +9393,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 AC voltage', + : 'voltage', + : 'Inverter 1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_voltage', @@ -9451,10 +9451,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 DC current', + : 'current', + : 'Inverter 1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_current', @@ -9509,10 +9509,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 DC voltage', + : 'voltage', + : 'Inverter 1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_voltage', @@ -9567,10 +9567,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_energy_production_since_previous_report-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production since previous report', + : 'energy', + : 'Inverter 1 Energy production since previous report', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_since_previous_report', @@ -9625,10 +9625,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production today', + : 'energy', + : 'Inverter 1 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_today', @@ -9683,10 +9683,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter 1 Frequency', + : 'frequency', + : 'Inverter 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_frequency', @@ -9741,10 +9741,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_last_report_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Inverter 1 Last report duration', + : 'duration', + : 'Inverter 1 Last report duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_last_report_duration', @@ -9794,8 +9794,8 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Inverter 1 Last reported', + : 'timestamp', + : 'Inverter 1 Last reported', }), 'context': , 'entity_id': 'sensor.inverter_1_last_reported', @@ -9853,10 +9853,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Lifetime energy production', + : 'energy', + : 'Inverter 1 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_energy_production', @@ -9911,10 +9911,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_lifetime_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Lifetime maximum power', + : 'power', + : 'Inverter 1 Lifetime maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_maximum_power', @@ -9969,10 +9969,10 @@ # name: test_sensor[envoy_acb_batt][sensor.inverter_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter 1 Temperature', + : 'temperature', + : 'Inverter 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_temperature', @@ -10027,10 +10027,10 @@ # name: test_sensor[envoy_eu_batt][sensor.encharge_123456_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Encharge 123456 Apparent power', + : 'apparent_power', + : 'Encharge 123456 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_apparent_power', @@ -10082,10 +10082,10 @@ # name: test_sensor[envoy_eu_batt][sensor.encharge_123456_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Encharge 123456 Battery', + : 'battery', + : 'Encharge 123456 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.encharge_123456_battery', @@ -10135,8 +10135,8 @@ # name: test_sensor[envoy_eu_batt][sensor.encharge_123456_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Encharge 123456 Last reported', + : 'timestamp', + : 'Encharge 123456 Last reported', }), 'context': , 'entity_id': 'sensor.encharge_123456_last_reported', @@ -10191,10 +10191,10 @@ # name: test_sensor[envoy_eu_batt][sensor.encharge_123456_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Encharge 123456 Power', + : 'power', + : 'Encharge 123456 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_power', @@ -10249,10 +10249,10 @@ # name: test_sensor[envoy_eu_batt][sensor.encharge_123456_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Encharge 123456 Temperature', + : 'temperature', + : 'Encharge 123456 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_temperature', @@ -10307,10 +10307,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_available_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Available battery energy', + : 'energy_storage', + : 'Envoy 1234 Available battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_available_battery_energy', @@ -10368,10 +10368,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_balanced_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption', + : 'power', + : 'Envoy 1234 Balanced net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption', @@ -10423,10 +10423,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Battery', + : 'battery', + : 'Envoy 1234 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.envoy_1234_battery', @@ -10479,9 +10479,9 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Envoy 1234 Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_battery_capacity', @@ -10539,10 +10539,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_current_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption', + : 'power', + : 'Envoy 1234 Current net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption', @@ -10600,10 +10600,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_current_net_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l1', + : 'power', + : 'Envoy 1234 Current net power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l1', @@ -10661,10 +10661,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_current_net_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l2', + : 'power', + : 'Envoy 1234 Current net power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l2', @@ -10722,10 +10722,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_current_net_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l3', + : 'power', + : 'Envoy 1234 Current net power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l3', @@ -10783,10 +10783,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_current_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption', + : 'power', + : 'Envoy 1234 Current power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption', @@ -10844,10 +10844,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_current_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production', + : 'power', + : 'Envoy 1234 Current power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production', @@ -10903,9 +10903,9 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_energy_consumption_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days', @@ -10963,10 +10963,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_energy_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today', + : 'energy', + : 'Envoy 1234 Energy consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today', @@ -11022,9 +11022,9 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_energy_production_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days', @@ -11082,10 +11082,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today', + : 'energy', + : 'Envoy 1234 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today', @@ -11140,10 +11140,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct', @@ -11198,10 +11198,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l1', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l1', @@ -11256,10 +11256,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l2', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l2', @@ -11314,10 +11314,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l3', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l3', @@ -11372,10 +11372,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT', + : 'frequency', + : 'Envoy 1234 Frequency production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct', @@ -11430,10 +11430,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l1', + : 'frequency', + : 'Envoy 1234 Frequency production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l1', @@ -11488,10 +11488,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l2', + : 'frequency', + : 'Envoy 1234 Frequency production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l2', @@ -11546,10 +11546,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_frequency_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l3', + : 'frequency', + : 'Envoy 1234 Frequency production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l3', @@ -11607,10 +11607,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_balanced_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption', @@ -11668,10 +11668,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption', @@ -11729,10 +11729,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production', + : 'energy', + : 'Envoy 1234 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production', @@ -11790,10 +11790,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption', @@ -11851,10 +11851,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l1', @@ -11912,10 +11912,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l2', @@ -11973,10 +11973,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l3', @@ -12034,10 +12034,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production', + : 'energy', + : 'Envoy 1234 Lifetime net energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production', @@ -12095,10 +12095,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l1', @@ -12156,10 +12156,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l2', @@ -12217,10 +12217,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_lifetime_net_energy_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l3', @@ -12270,7 +12270,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT', + : 'Envoy 1234 Meter status flags active net consumption CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct', @@ -12320,7 +12320,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l1', + : 'Envoy 1234 Meter status flags active net consumption CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1', @@ -12370,7 +12370,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l2', + : 'Envoy 1234 Meter status flags active net consumption CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2', @@ -12420,7 +12420,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l3', + : 'Envoy 1234 Meter status flags active net consumption CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3', @@ -12470,7 +12470,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT', + : 'Envoy 1234 Meter status flags active production CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct', @@ -12520,7 +12520,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l1', + : 'Envoy 1234 Meter status flags active production CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l1', @@ -12570,7 +12570,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l2', + : 'Envoy 1234 Meter status flags active production CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l2', @@ -12620,7 +12620,7 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_meter_status_flags_active_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l3', + : 'Envoy 1234 Meter status flags active production CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l3', @@ -12676,8 +12676,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT', : list([ , , @@ -12738,8 +12738,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l1', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l1', : list([ , , @@ -12800,8 +12800,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l2', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l2', : list([ , , @@ -12862,8 +12862,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l3', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l3', : list([ , , @@ -12924,8 +12924,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT', + : 'enum', + : 'Envoy 1234 Metering status production CT', : list([ , , @@ -12986,8 +12986,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l1', + : 'enum', + : 'Envoy 1234 Metering status production CT l1', : list([ , , @@ -13048,8 +13048,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l2', + : 'enum', + : 'Envoy 1234 Metering status production CT l2', : list([ , , @@ -13110,8 +13110,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_metering_status_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l3', + : 'enum', + : 'Envoy 1234 Metering status production CT l3', : list([ , , @@ -13174,10 +13174,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_net_consumption_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current', + : 'current', + : 'Envoy 1234 Net consumption CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current', @@ -13235,10 +13235,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_net_consumption_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l1', + : 'current', + : 'Envoy 1234 Net consumption CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l1', @@ -13296,10 +13296,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_net_consumption_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l2', + : 'current', + : 'Envoy 1234 Net consumption CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l2', @@ -13357,10 +13357,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_net_consumption_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l3', + : 'current', + : 'Envoy 1234 Net consumption CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l3', @@ -13415,8 +13415,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT', : , }), 'context': , @@ -13472,8 +13472,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l1', : , }), 'context': , @@ -13529,8 +13529,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l2', : , }), 'context': , @@ -13586,8 +13586,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l3', : , }), 'context': , @@ -13643,8 +13643,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT', + : 'power_factor', + : 'Envoy 1234 Power factor production CT', : , }), 'context': , @@ -13700,8 +13700,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l1', : , }), 'context': , @@ -13757,8 +13757,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l2', : , }), 'context': , @@ -13814,8 +13814,8 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_power_factor_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l3', : , }), 'context': , @@ -13874,10 +13874,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current', + : 'current', + : 'Envoy 1234 Production CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current', @@ -13935,10 +13935,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l1', + : 'current', + : 'Envoy 1234 Production CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l1', @@ -13996,10 +13996,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l2', + : 'current', + : 'Envoy 1234 Production CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l2', @@ -14057,10 +14057,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l3', + : 'current', + : 'Envoy 1234 Production CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l3', @@ -14118,10 +14118,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered', + : 'energy', + : 'Envoy 1234 Production CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered', @@ -14179,10 +14179,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l1', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l1', @@ -14240,10 +14240,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l2', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l2', @@ -14301,10 +14301,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l3', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l3', @@ -14362,10 +14362,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received', + : 'energy', + : 'Envoy 1234 Production CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received', @@ -14423,10 +14423,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l1', + : 'energy', + : 'Envoy 1234 Production CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l1', @@ -14484,10 +14484,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l2', + : 'energy', + : 'Envoy 1234 Production CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l2', @@ -14545,10 +14545,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l3', + : 'energy', + : 'Envoy 1234 Production CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l3', @@ -14606,10 +14606,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power', + : 'power', + : 'Envoy 1234 Production CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power', @@ -14667,10 +14667,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l1', + : 'power', + : 'Envoy 1234 Production CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l1', @@ -14728,10 +14728,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l2', + : 'power', + : 'Envoy 1234 Production CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l2', @@ -14789,10 +14789,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_production_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l3', + : 'power', + : 'Envoy 1234 Production CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l3', @@ -14847,10 +14847,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_reserve_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Reserve battery energy', + : 'energy_storage', + : 'Envoy 1234 Reserve battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_reserve_battery_energy', @@ -14902,10 +14902,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_reserve_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Reserve battery level', + : 'battery', + : 'Envoy 1234 Reserve battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.envoy_1234_reserve_battery_level', @@ -14963,10 +14963,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct', @@ -15024,10 +15024,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l1', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l1', @@ -15085,10 +15085,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l2', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l2', @@ -15146,10 +15146,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l3', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l3', @@ -15207,10 +15207,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT', + : 'voltage', + : 'Envoy 1234 Voltage production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct', @@ -15268,10 +15268,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l1', + : 'voltage', + : 'Envoy 1234 Voltage production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l1', @@ -15329,10 +15329,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l2', + : 'voltage', + : 'Envoy 1234 Voltage production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l2', @@ -15390,10 +15390,10 @@ # name: test_sensor[envoy_eu_batt][sensor.envoy_1234_voltage_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l3', + : 'voltage', + : 'Envoy 1234 Voltage production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l3', @@ -15448,10 +15448,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1', + : 'power', + : 'Inverter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1', @@ -15506,10 +15506,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 AC current', + : 'current', + : 'Inverter 1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_current', @@ -15564,10 +15564,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 AC voltage', + : 'voltage', + : 'Inverter 1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_voltage', @@ -15622,10 +15622,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 DC current', + : 'current', + : 'Inverter 1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_current', @@ -15680,10 +15680,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 DC voltage', + : 'voltage', + : 'Inverter 1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_voltage', @@ -15738,10 +15738,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_energy_production_since_previous_report-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production since previous report', + : 'energy', + : 'Inverter 1 Energy production since previous report', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_since_previous_report', @@ -15796,10 +15796,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production today', + : 'energy', + : 'Inverter 1 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_today', @@ -15854,10 +15854,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter 1 Frequency', + : 'frequency', + : 'Inverter 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_frequency', @@ -15912,10 +15912,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_last_report_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Inverter 1 Last report duration', + : 'duration', + : 'Inverter 1 Last report duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_last_report_duration', @@ -15965,8 +15965,8 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Inverter 1 Last reported', + : 'timestamp', + : 'Inverter 1 Last reported', }), 'context': , 'entity_id': 'sensor.inverter_1_last_reported', @@ -16024,10 +16024,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Lifetime energy production', + : 'energy', + : 'Inverter 1 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_energy_production', @@ -16082,10 +16082,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_lifetime_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Lifetime maximum power', + : 'power', + : 'Inverter 1 Lifetime maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_maximum_power', @@ -16140,10 +16140,10 @@ # name: test_sensor[envoy_eu_batt][sensor.inverter_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter 1 Temperature', + : 'temperature', + : 'Inverter 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_temperature', @@ -16193,8 +16193,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.c6_combiner_482523040549_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'C6 Combiner 482523040549 Last reported', + : 'timestamp', + : 'C6 Combiner 482523040549 Last reported', }), 'context': , 'entity_id': 'sensor.c6_combiner_482523040549_last_reported', @@ -16244,7 +16244,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.collar_482520020939_admin_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Collar 482520020939 Admin state', + : 'Collar 482520020939 Admin state', }), 'context': , 'entity_id': 'sensor.collar_482520020939_admin_state', @@ -16294,7 +16294,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.collar_482520020939_grid_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Collar 482520020939 Grid status', + : 'Collar 482520020939 Grid status', }), 'context': , 'entity_id': 'sensor.collar_482520020939_grid_status', @@ -16344,8 +16344,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.collar_482520020939_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Collar 482520020939 Last reported', + : 'timestamp', + : 'Collar 482520020939 Last reported', }), 'context': , 'entity_id': 'sensor.collar_482520020939_last_reported', @@ -16395,7 +16395,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.collar_482520020939_mid_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Collar 482520020939 MID state', + : 'Collar 482520020939 MID state', }), 'context': , 'entity_id': 'sensor.collar_482520020939_mid_state', @@ -16450,10 +16450,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.collar_482520020939_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Collar 482520020939 Temperature', + : 'temperature', + : 'Collar 482520020939 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.collar_482520020939_temperature', @@ -16508,10 +16508,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.encharge_123456_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Encharge 123456 Apparent power', + : 'apparent_power', + : 'Encharge 123456 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_apparent_power', @@ -16563,10 +16563,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.encharge_123456_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Encharge 123456 Battery', + : 'battery', + : 'Encharge 123456 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.encharge_123456_battery', @@ -16616,8 +16616,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.encharge_123456_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Encharge 123456 Last reported', + : 'timestamp', + : 'Encharge 123456 Last reported', }), 'context': , 'entity_id': 'sensor.encharge_123456_last_reported', @@ -16672,10 +16672,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.encharge_123456_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Encharge 123456 Power', + : 'power', + : 'Encharge 123456 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_power', @@ -16730,10 +16730,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.encharge_123456_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Encharge 123456 Temperature', + : 'temperature', + : 'Encharge 123456 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.encharge_123456_temperature', @@ -16783,8 +16783,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.enpower_654321_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Enpower 654321 Last reported', + : 'timestamp', + : 'Enpower 654321 Last reported', }), 'context': , 'entity_id': 'sensor.enpower_654321_last_reported', @@ -16839,10 +16839,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.enpower_654321_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Enpower 654321 Temperature', + : 'temperature', + : 'Enpower 654321 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.enpower_654321_temperature', @@ -16897,10 +16897,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_available_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Available battery energy', + : 'energy_storage', + : 'Envoy 1234 Available battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_available_battery_energy', @@ -16958,10 +16958,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Backfeed CT current', + : 'current', + : 'Envoy 1234 Backfeed CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_current', @@ -17019,10 +17019,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Backfeed CT current l1', + : 'current', + : 'Envoy 1234 Backfeed CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_current_l1', @@ -17080,10 +17080,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Backfeed CT current l2', + : 'current', + : 'Envoy 1234 Backfeed CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_current_l2', @@ -17141,10 +17141,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Backfeed CT current l3', + : 'current', + : 'Envoy 1234 Backfeed CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_current_l3', @@ -17202,10 +17202,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy delivered', + : 'energy', + : 'Envoy 1234 Backfeed CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_delivered', @@ -17263,10 +17263,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy delivered l1', + : 'energy', + : 'Envoy 1234 Backfeed CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_delivered_l1', @@ -17324,10 +17324,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy delivered l2', + : 'energy', + : 'Envoy 1234 Backfeed CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_delivered_l2', @@ -17385,10 +17385,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy delivered l3', + : 'energy', + : 'Envoy 1234 Backfeed CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_delivered_l3', @@ -17446,10 +17446,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy received', + : 'energy', + : 'Envoy 1234 Backfeed CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_received', @@ -17507,10 +17507,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy received l1', + : 'energy', + : 'Envoy 1234 Backfeed CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_received_l1', @@ -17568,10 +17568,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy received l2', + : 'energy', + : 'Envoy 1234 Backfeed CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_received_l2', @@ -17629,10 +17629,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Backfeed CT energy received l3', + : 'energy', + : 'Envoy 1234 Backfeed CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_energy_received_l3', @@ -17690,10 +17690,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Backfeed CT power', + : 'power', + : 'Envoy 1234 Backfeed CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_power', @@ -17751,10 +17751,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Backfeed CT power l1', + : 'power', + : 'Envoy 1234 Backfeed CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_power_l1', @@ -17812,10 +17812,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Backfeed CT power l2', + : 'power', + : 'Envoy 1234 Backfeed CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_power_l2', @@ -17873,10 +17873,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_backfeed_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Backfeed CT power l3', + : 'power', + : 'Envoy 1234 Backfeed CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_backfeed_ct_power_l3', @@ -17934,10 +17934,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_balanced_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption', + : 'power', + : 'Envoy 1234 Balanced net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption', @@ -17995,10 +17995,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_balanced_net_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption l1', + : 'power', + : 'Envoy 1234 Balanced net power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption_l1', @@ -18056,10 +18056,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_balanced_net_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption l2', + : 'power', + : 'Envoy 1234 Balanced net power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption_l2', @@ -18117,10 +18117,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_balanced_net_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption l3', + : 'power', + : 'Envoy 1234 Balanced net power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption_l3', @@ -18172,10 +18172,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Battery', + : 'battery', + : 'Envoy 1234 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.envoy_1234_battery', @@ -18228,9 +18228,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Envoy 1234 Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_battery_capacity', @@ -18288,10 +18288,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_battery_discharge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current battery discharge', + : 'power', + : 'Envoy 1234 Current battery discharge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_battery_discharge', @@ -18349,10 +18349,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_battery_discharge_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current battery discharge l1', + : 'power', + : 'Envoy 1234 Current battery discharge l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_battery_discharge_l1', @@ -18410,10 +18410,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_battery_discharge_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current battery discharge l2', + : 'power', + : 'Envoy 1234 Current battery discharge l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_battery_discharge_l2', @@ -18471,10 +18471,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_battery_discharge_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current battery discharge l3', + : 'power', + : 'Envoy 1234 Current battery discharge l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_battery_discharge_l3', @@ -18532,10 +18532,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption', + : 'power', + : 'Envoy 1234 Current net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption', @@ -18593,10 +18593,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_net_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l1', + : 'power', + : 'Envoy 1234 Current net power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l1', @@ -18654,10 +18654,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_net_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l2', + : 'power', + : 'Envoy 1234 Current net power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l2', @@ -18715,10 +18715,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_net_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l3', + : 'power', + : 'Envoy 1234 Current net power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l3', @@ -18776,10 +18776,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption', + : 'power', + : 'Envoy 1234 Current power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption', @@ -18837,10 +18837,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption l1', + : 'power', + : 'Envoy 1234 Current power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption_l1', @@ -18898,10 +18898,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption l2', + : 'power', + : 'Envoy 1234 Current power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption_l2', @@ -18959,10 +18959,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption l3', + : 'power', + : 'Envoy 1234 Current power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption_l3', @@ -19020,10 +19020,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production', + : 'power', + : 'Envoy 1234 Current power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production', @@ -19081,10 +19081,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production l1', + : 'power', + : 'Envoy 1234 Current power production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production_l1', @@ -19142,10 +19142,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production l2', + : 'power', + : 'Envoy 1234 Current power production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production_l2', @@ -19203,10 +19203,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_current_power_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production l3', + : 'power', + : 'Envoy 1234 Current power production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production_l3', @@ -19262,9 +19262,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days', @@ -19320,9 +19320,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_last_seven_days_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days l1', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days l1', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days_l1', @@ -19378,9 +19378,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_last_seven_days_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days l2', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days l2', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days_l2', @@ -19436,9 +19436,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_last_seven_days_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days l3', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days l3', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days_l3', @@ -19496,10 +19496,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today', + : 'energy', + : 'Envoy 1234 Energy consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today', @@ -19557,10 +19557,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_today_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today l1', + : 'energy', + : 'Envoy 1234 Energy consumption today l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today_l1', @@ -19618,10 +19618,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_today_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today l2', + : 'energy', + : 'Envoy 1234 Energy consumption today l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today_l2', @@ -19679,10 +19679,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_consumption_today_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today l3', + : 'energy', + : 'Envoy 1234 Energy consumption today l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today_l3', @@ -19738,9 +19738,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days', @@ -19796,9 +19796,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_last_seven_days_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days l1', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days l1', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days_l1', @@ -19854,9 +19854,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_last_seven_days_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days l2', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days l2', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days_l2', @@ -19912,9 +19912,9 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_last_seven_days_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days l3', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days l3', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days_l3', @@ -19972,10 +19972,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today', + : 'energy', + : 'Envoy 1234 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today', @@ -20033,10 +20033,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_today_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today l1', + : 'energy', + : 'Envoy 1234 Energy production today l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today_l1', @@ -20094,10 +20094,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_today_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today l2', + : 'energy', + : 'Envoy 1234 Energy production today l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today_l2', @@ -20155,10 +20155,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_energy_production_today_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today l3', + : 'energy', + : 'Envoy 1234 Energy production today l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today_l3', @@ -20216,10 +20216,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 EVSE CT current', + : 'current', + : 'Envoy 1234 EVSE CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_current', @@ -20277,10 +20277,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 EVSE CT current l1', + : 'current', + : 'Envoy 1234 EVSE CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_current_l1', @@ -20338,10 +20338,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 EVSE CT current l2', + : 'current', + : 'Envoy 1234 EVSE CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_current_l2', @@ -20399,10 +20399,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 EVSE CT current l3', + : 'current', + : 'Envoy 1234 EVSE CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_current_l3', @@ -20460,10 +20460,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy delivered', + : 'energy', + : 'Envoy 1234 EVSE CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_delivered', @@ -20521,10 +20521,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy delivered l1', + : 'energy', + : 'Envoy 1234 EVSE CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_delivered_l1', @@ -20582,10 +20582,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy delivered l2', + : 'energy', + : 'Envoy 1234 EVSE CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_delivered_l2', @@ -20643,10 +20643,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy delivered l3', + : 'energy', + : 'Envoy 1234 EVSE CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_delivered_l3', @@ -20704,10 +20704,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy received', + : 'energy', + : 'Envoy 1234 EVSE CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_received', @@ -20765,10 +20765,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy received l1', + : 'energy', + : 'Envoy 1234 EVSE CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_received_l1', @@ -20826,10 +20826,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy received l2', + : 'energy', + : 'Envoy 1234 EVSE CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_received_l2', @@ -20887,10 +20887,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 EVSE CT energy received l3', + : 'energy', + : 'Envoy 1234 EVSE CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_energy_received_l3', @@ -20948,10 +20948,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 EVSE CT power', + : 'power', + : 'Envoy 1234 EVSE CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_power', @@ -21009,10 +21009,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 EVSE CT power l1', + : 'power', + : 'Envoy 1234 EVSE CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_power_l1', @@ -21070,10 +21070,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 EVSE CT power l2', + : 'power', + : 'Envoy 1234 EVSE CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_power_l2', @@ -21131,10 +21131,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_evse_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 EVSE CT power l3', + : 'power', + : 'Envoy 1234 EVSE CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_evse_ct_power_l3', @@ -21189,10 +21189,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_backfeed_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency backfeed CT', + : 'frequency', + : 'Envoy 1234 Frequency backfeed CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_backfeed_ct', @@ -21247,10 +21247,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_backfeed_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency backfeed CT l1', + : 'frequency', + : 'Envoy 1234 Frequency backfeed CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_backfeed_ct_l1', @@ -21305,10 +21305,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_backfeed_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency backfeed CT l2', + : 'frequency', + : 'Envoy 1234 Frequency backfeed CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_backfeed_ct_l2', @@ -21363,10 +21363,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_backfeed_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency backfeed CT l3', + : 'frequency', + : 'Envoy 1234 Frequency backfeed CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_backfeed_ct_l3', @@ -21421,10 +21421,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_evse_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency EVSE CT', + : 'frequency', + : 'Envoy 1234 Frequency EVSE CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_evse_ct', @@ -21479,10 +21479,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_evse_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency EVSE CT l1', + : 'frequency', + : 'Envoy 1234 Frequency EVSE CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_evse_ct_l1', @@ -21537,10 +21537,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_evse_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency EVSE CT l2', + : 'frequency', + : 'Envoy 1234 Frequency EVSE CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_evse_ct_l2', @@ -21595,10 +21595,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_evse_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency EVSE CT l3', + : 'frequency', + : 'Envoy 1234 Frequency EVSE CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_evse_ct_l3', @@ -21653,10 +21653,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_load_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency load CT', + : 'frequency', + : 'Envoy 1234 Frequency load CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_load_ct', @@ -21711,10 +21711,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_load_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency load CT l1', + : 'frequency', + : 'Envoy 1234 Frequency load CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_load_ct_l1', @@ -21769,10 +21769,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_load_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency load CT l2', + : 'frequency', + : 'Envoy 1234 Frequency load CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_load_ct_l2', @@ -21827,10 +21827,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_load_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency load CT l3', + : 'frequency', + : 'Envoy 1234 Frequency load CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_load_ct_l3', @@ -21885,10 +21885,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct', @@ -21943,10 +21943,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l1', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l1', @@ -22001,10 +22001,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l2', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l2', @@ -22059,10 +22059,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l3', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l3', @@ -22117,10 +22117,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT', + : 'frequency', + : 'Envoy 1234 Frequency production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct', @@ -22175,10 +22175,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l1', + : 'frequency', + : 'Envoy 1234 Frequency production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l1', @@ -22233,10 +22233,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l2', + : 'frequency', + : 'Envoy 1234 Frequency production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l2', @@ -22291,10 +22291,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l3', + : 'frequency', + : 'Envoy 1234 Frequency production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l3', @@ -22349,10 +22349,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_pv3p_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency PV3P CT', + : 'frequency', + : 'Envoy 1234 Frequency PV3P CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_pv3p_ct', @@ -22407,10 +22407,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_pv3p_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency PV3P CT l1', + : 'frequency', + : 'Envoy 1234 Frequency PV3P CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_pv3p_ct_l1', @@ -22465,10 +22465,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_pv3p_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency PV3P CT l2', + : 'frequency', + : 'Envoy 1234 Frequency PV3P CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_pv3p_ct_l2', @@ -22523,10 +22523,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_pv3p_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency PV3P CT l3', + : 'frequency', + : 'Envoy 1234 Frequency PV3P CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_pv3p_ct_l3', @@ -22581,10 +22581,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_storage_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency storage CT', + : 'frequency', + : 'Envoy 1234 Frequency storage CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_storage_ct', @@ -22639,10 +22639,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_storage_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency storage CT l1', + : 'frequency', + : 'Envoy 1234 Frequency storage CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_storage_ct_l1', @@ -22697,10 +22697,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_storage_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency storage CT l2', + : 'frequency', + : 'Envoy 1234 Frequency storage CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_storage_ct_l2', @@ -22755,10 +22755,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_frequency_storage_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency storage CT l3', + : 'frequency', + : 'Envoy 1234 Frequency storage CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_storage_ct_l3', @@ -22816,10 +22816,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_balanced_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption', @@ -22877,10 +22877,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l1', @@ -22938,10 +22938,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l2', @@ -22999,10 +22999,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l3', @@ -23060,10 +23060,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy charged', + : 'energy', + : 'Envoy 1234 Lifetime battery energy charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_charged', @@ -23121,10 +23121,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_charged_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy charged l1', + : 'energy', + : 'Envoy 1234 Lifetime battery energy charged l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_charged_l1', @@ -23182,10 +23182,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_charged_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy charged l2', + : 'energy', + : 'Envoy 1234 Lifetime battery energy charged l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_charged_l2', @@ -23243,10 +23243,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_charged_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy charged l3', + : 'energy', + : 'Envoy 1234 Lifetime battery energy charged l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_charged_l3', @@ -23304,10 +23304,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy discharged', + : 'energy', + : 'Envoy 1234 Lifetime battery energy discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_discharged', @@ -23365,10 +23365,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_discharged_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy discharged l1', + : 'energy', + : 'Envoy 1234 Lifetime battery energy discharged l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_discharged_l1', @@ -23426,10 +23426,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_discharged_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy discharged l2', + : 'energy', + : 'Envoy 1234 Lifetime battery energy discharged l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_discharged_l2', @@ -23487,10 +23487,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_battery_energy_discharged_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime battery energy discharged l3', + : 'energy', + : 'Envoy 1234 Lifetime battery energy discharged l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_battery_energy_discharged_l3', @@ -23548,10 +23548,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption', @@ -23609,10 +23609,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption_l1', @@ -23670,10 +23670,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption_l2', @@ -23731,10 +23731,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption_l3', @@ -23792,10 +23792,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production', + : 'energy', + : 'Envoy 1234 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production', @@ -23853,10 +23853,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production l1', + : 'energy', + : 'Envoy 1234 Lifetime energy production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production_l1', @@ -23914,10 +23914,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production l2', + : 'energy', + : 'Envoy 1234 Lifetime energy production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production_l2', @@ -23975,10 +23975,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_energy_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production l3', + : 'energy', + : 'Envoy 1234 Lifetime energy production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production_l3', @@ -24036,10 +24036,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption', @@ -24097,10 +24097,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l1', @@ -24158,10 +24158,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l2', @@ -24219,10 +24219,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l3', @@ -24280,10 +24280,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production', + : 'energy', + : 'Envoy 1234 Lifetime net energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production', @@ -24341,10 +24341,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l1', @@ -24402,10 +24402,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l2', @@ -24463,10 +24463,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_lifetime_net_energy_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l3', @@ -24524,10 +24524,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Load CT current', + : 'current', + : 'Envoy 1234 Load CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_current', @@ -24585,10 +24585,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Load CT current l1', + : 'current', + : 'Envoy 1234 Load CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_current_l1', @@ -24646,10 +24646,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Load CT current l2', + : 'current', + : 'Envoy 1234 Load CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_current_l2', @@ -24707,10 +24707,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Load CT current l3', + : 'current', + : 'Envoy 1234 Load CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_current_l3', @@ -24768,10 +24768,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy delivered', + : 'energy', + : 'Envoy 1234 Load CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_delivered', @@ -24829,10 +24829,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy delivered l1', + : 'energy', + : 'Envoy 1234 Load CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_delivered_l1', @@ -24890,10 +24890,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy delivered l2', + : 'energy', + : 'Envoy 1234 Load CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_delivered_l2', @@ -24951,10 +24951,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy delivered l3', + : 'energy', + : 'Envoy 1234 Load CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_delivered_l3', @@ -25012,10 +25012,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy received', + : 'energy', + : 'Envoy 1234 Load CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_received', @@ -25073,10 +25073,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy received l1', + : 'energy', + : 'Envoy 1234 Load CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_received_l1', @@ -25134,10 +25134,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy received l2', + : 'energy', + : 'Envoy 1234 Load CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_received_l2', @@ -25195,10 +25195,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Load CT energy received l3', + : 'energy', + : 'Envoy 1234 Load CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_energy_received_l3', @@ -25256,10 +25256,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Load CT power', + : 'power', + : 'Envoy 1234 Load CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_power', @@ -25317,10 +25317,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Load CT power l1', + : 'power', + : 'Envoy 1234 Load CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_power_l1', @@ -25378,10 +25378,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Load CT power l2', + : 'power', + : 'Envoy 1234 Load CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_power_l2', @@ -25439,10 +25439,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_load_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Load CT power l3', + : 'power', + : 'Envoy 1234 Load CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_load_ct_power_l3', @@ -25492,7 +25492,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_backfeed_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active backfeed CT', + : 'Envoy 1234 Meter status flags active backfeed CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_backfeed_ct', @@ -25542,7 +25542,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_backfeed_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active backfeed CT l1', + : 'Envoy 1234 Meter status flags active backfeed CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_backfeed_ct_l1', @@ -25592,7 +25592,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_backfeed_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active backfeed CT l2', + : 'Envoy 1234 Meter status flags active backfeed CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_backfeed_ct_l2', @@ -25642,7 +25642,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_backfeed_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active backfeed CT l3', + : 'Envoy 1234 Meter status flags active backfeed CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_backfeed_ct_l3', @@ -25692,7 +25692,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_evse_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active EVSE CT', + : 'Envoy 1234 Meter status flags active EVSE CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_evse_ct', @@ -25742,7 +25742,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_evse_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active EVSE CT l1', + : 'Envoy 1234 Meter status flags active EVSE CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_evse_ct_l1', @@ -25792,7 +25792,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_evse_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active EVSE CT l2', + : 'Envoy 1234 Meter status flags active EVSE CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_evse_ct_l2', @@ -25842,7 +25842,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_evse_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active EVSE CT l3', + : 'Envoy 1234 Meter status flags active EVSE CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_evse_ct_l3', @@ -25892,7 +25892,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_load_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active load CT', + : 'Envoy 1234 Meter status flags active load CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_load_ct', @@ -25942,7 +25942,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_load_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active load CT l1', + : 'Envoy 1234 Meter status flags active load CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_load_ct_l1', @@ -25992,7 +25992,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_load_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active load CT l2', + : 'Envoy 1234 Meter status flags active load CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_load_ct_l2', @@ -26042,7 +26042,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_load_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active load CT l3', + : 'Envoy 1234 Meter status flags active load CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_load_ct_l3', @@ -26092,7 +26092,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT', + : 'Envoy 1234 Meter status flags active net consumption CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct', @@ -26142,7 +26142,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l1', + : 'Envoy 1234 Meter status flags active net consumption CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1', @@ -26192,7 +26192,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l2', + : 'Envoy 1234 Meter status flags active net consumption CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2', @@ -26242,7 +26242,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l3', + : 'Envoy 1234 Meter status flags active net consumption CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3', @@ -26292,7 +26292,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT', + : 'Envoy 1234 Meter status flags active production CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct', @@ -26342,7 +26342,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l1', + : 'Envoy 1234 Meter status flags active production CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l1', @@ -26392,7 +26392,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l2', + : 'Envoy 1234 Meter status flags active production CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l2', @@ -26442,7 +26442,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l3', + : 'Envoy 1234 Meter status flags active production CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l3', @@ -26492,7 +26492,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_pv3p_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active PV3P CT', + : 'Envoy 1234 Meter status flags active PV3P CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_pv3p_ct', @@ -26542,7 +26542,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_pv3p_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active PV3P CT l1', + : 'Envoy 1234 Meter status flags active PV3P CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_pv3p_ct_l1', @@ -26592,7 +26592,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_pv3p_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active PV3P CT l2', + : 'Envoy 1234 Meter status flags active PV3P CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_pv3p_ct_l2', @@ -26642,7 +26642,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_pv3p_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active PV3P CT l3', + : 'Envoy 1234 Meter status flags active PV3P CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_pv3p_ct_l3', @@ -26692,7 +26692,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_storage_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active storage CT', + : 'Envoy 1234 Meter status flags active storage CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_storage_ct', @@ -26742,7 +26742,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_storage_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active storage CT l1', + : 'Envoy 1234 Meter status flags active storage CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_storage_ct_l1', @@ -26792,7 +26792,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_storage_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active storage CT l2', + : 'Envoy 1234 Meter status flags active storage CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_storage_ct_l2', @@ -26842,7 +26842,7 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_meter_status_flags_active_storage_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active storage CT l3', + : 'Envoy 1234 Meter status flags active storage CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_storage_ct_l3', @@ -26898,8 +26898,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_backfeed_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status backfeed CT', + : 'enum', + : 'Envoy 1234 Metering status backfeed CT', : list([ , , @@ -26960,8 +26960,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_backfeed_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status backfeed CT l1', + : 'enum', + : 'Envoy 1234 Metering status backfeed CT l1', : list([ , , @@ -27022,8 +27022,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_backfeed_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status backfeed CT l2', + : 'enum', + : 'Envoy 1234 Metering status backfeed CT l2', : list([ , , @@ -27084,8 +27084,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_backfeed_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status backfeed CT l3', + : 'enum', + : 'Envoy 1234 Metering status backfeed CT l3', : list([ , , @@ -27146,8 +27146,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_evse_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status EVSE CT', + : 'enum', + : 'Envoy 1234 Metering status EVSE CT', : list([ , , @@ -27208,8 +27208,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_evse_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status EVSE CT l1', + : 'enum', + : 'Envoy 1234 Metering status EVSE CT l1', : list([ , , @@ -27270,8 +27270,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_evse_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status EVSE CT l2', + : 'enum', + : 'Envoy 1234 Metering status EVSE CT l2', : list([ , , @@ -27332,8 +27332,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_evse_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status EVSE CT l3', + : 'enum', + : 'Envoy 1234 Metering status EVSE CT l3', : list([ , , @@ -27394,8 +27394,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_load_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status load CT', + : 'enum', + : 'Envoy 1234 Metering status load CT', : list([ , , @@ -27456,8 +27456,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_load_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status load CT l1', + : 'enum', + : 'Envoy 1234 Metering status load CT l1', : list([ , , @@ -27518,8 +27518,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_load_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status load CT l2', + : 'enum', + : 'Envoy 1234 Metering status load CT l2', : list([ , , @@ -27580,8 +27580,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_load_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status load CT l3', + : 'enum', + : 'Envoy 1234 Metering status load CT l3', : list([ , , @@ -27642,8 +27642,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT', : list([ , , @@ -27704,8 +27704,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l1', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l1', : list([ , , @@ -27766,8 +27766,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l2', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l2', : list([ , , @@ -27828,8 +27828,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l3', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l3', : list([ , , @@ -27890,8 +27890,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT', + : 'enum', + : 'Envoy 1234 Metering status production CT', : list([ , , @@ -27952,8 +27952,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l1', + : 'enum', + : 'Envoy 1234 Metering status production CT l1', : list([ , , @@ -28014,8 +28014,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l2', + : 'enum', + : 'Envoy 1234 Metering status production CT l2', : list([ , , @@ -28076,8 +28076,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l3', + : 'enum', + : 'Envoy 1234 Metering status production CT l3', : list([ , , @@ -28138,8 +28138,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_pv3p_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status PV3P CT', + : 'enum', + : 'Envoy 1234 Metering status PV3P CT', : list([ , , @@ -28200,8 +28200,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_pv3p_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status PV3P CT l1', + : 'enum', + : 'Envoy 1234 Metering status PV3P CT l1', : list([ , , @@ -28262,8 +28262,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_pv3p_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status PV3P CT l2', + : 'enum', + : 'Envoy 1234 Metering status PV3P CT l2', : list([ , , @@ -28324,8 +28324,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_pv3p_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status PV3P CT l3', + : 'enum', + : 'Envoy 1234 Metering status PV3P CT l3', : list([ , , @@ -28386,8 +28386,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_storage_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status storage CT', + : 'enum', + : 'Envoy 1234 Metering status storage CT', : list([ , , @@ -28448,8 +28448,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_storage_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status storage CT l1', + : 'enum', + : 'Envoy 1234 Metering status storage CT l1', : list([ , , @@ -28510,8 +28510,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_storage_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status storage CT l2', + : 'enum', + : 'Envoy 1234 Metering status storage CT l2', : list([ , , @@ -28572,8 +28572,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_metering_status_storage_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status storage CT l3', + : 'enum', + : 'Envoy 1234 Metering status storage CT l3', : list([ , , @@ -28636,10 +28636,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_net_consumption_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current', + : 'current', + : 'Envoy 1234 Net consumption CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current', @@ -28697,10 +28697,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_net_consumption_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l1', + : 'current', + : 'Envoy 1234 Net consumption CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l1', @@ -28758,10 +28758,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_net_consumption_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l2', + : 'current', + : 'Envoy 1234 Net consumption CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l2', @@ -28819,10 +28819,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_net_consumption_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l3', + : 'current', + : 'Envoy 1234 Net consumption CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l3', @@ -28877,8 +28877,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_backfeed_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor backfeed CT', + : 'power_factor', + : 'Envoy 1234 Power factor backfeed CT', : , }), 'context': , @@ -28934,8 +28934,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_backfeed_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor backfeed CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor backfeed CT l1', : , }), 'context': , @@ -28991,8 +28991,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_backfeed_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor backfeed CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor backfeed CT l2', : , }), 'context': , @@ -29048,8 +29048,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_backfeed_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor backfeed CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor backfeed CT l3', : , }), 'context': , @@ -29105,8 +29105,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_evse_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor EVSE CT', + : 'power_factor', + : 'Envoy 1234 Power factor EVSE CT', : , }), 'context': , @@ -29162,8 +29162,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_evse_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor EVSE CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor EVSE CT l1', : , }), 'context': , @@ -29219,8 +29219,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_evse_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor EVSE CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor EVSE CT l2', : , }), 'context': , @@ -29276,8 +29276,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_evse_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor EVSE CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor EVSE CT l3', : , }), 'context': , @@ -29333,8 +29333,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_load_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor load CT', + : 'power_factor', + : 'Envoy 1234 Power factor load CT', : , }), 'context': , @@ -29390,8 +29390,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_load_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor load CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor load CT l1', : , }), 'context': , @@ -29447,8 +29447,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_load_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor load CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor load CT l2', : , }), 'context': , @@ -29504,8 +29504,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_load_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor load CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor load CT l3', : , }), 'context': , @@ -29561,8 +29561,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT', : , }), 'context': , @@ -29618,8 +29618,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l1', : , }), 'context': , @@ -29675,8 +29675,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l2', : , }), 'context': , @@ -29732,8 +29732,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l3', : , }), 'context': , @@ -29789,8 +29789,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT', + : 'power_factor', + : 'Envoy 1234 Power factor production CT', : , }), 'context': , @@ -29846,8 +29846,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l1', : , }), 'context': , @@ -29903,8 +29903,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l2', : , }), 'context': , @@ -29960,8 +29960,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l3', : , }), 'context': , @@ -30017,8 +30017,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_pv3p_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor PV3P CT', + : 'power_factor', + : 'Envoy 1234 Power factor PV3P CT', : , }), 'context': , @@ -30074,8 +30074,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_pv3p_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor PV3P CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor PV3P CT l1', : , }), 'context': , @@ -30131,8 +30131,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_pv3p_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor PV3P CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor PV3P CT l2', : , }), 'context': , @@ -30188,8 +30188,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_pv3p_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor PV3P CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor PV3P CT l3', : , }), 'context': , @@ -30245,8 +30245,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_storage_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor storage CT', + : 'power_factor', + : 'Envoy 1234 Power factor storage CT', : , }), 'context': , @@ -30302,8 +30302,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_storage_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor storage CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor storage CT l1', : , }), 'context': , @@ -30359,8 +30359,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_storage_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor storage CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor storage CT l2', : , }), 'context': , @@ -30416,8 +30416,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_power_factor_storage_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor storage CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor storage CT l3', : , }), 'context': , @@ -30476,10 +30476,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current', + : 'current', + : 'Envoy 1234 Production CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current', @@ -30537,10 +30537,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l1', + : 'current', + : 'Envoy 1234 Production CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l1', @@ -30598,10 +30598,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l2', + : 'current', + : 'Envoy 1234 Production CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l2', @@ -30659,10 +30659,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l3', + : 'current', + : 'Envoy 1234 Production CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l3', @@ -30720,10 +30720,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered', + : 'energy', + : 'Envoy 1234 Production CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered', @@ -30781,10 +30781,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l1', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l1', @@ -30842,10 +30842,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l2', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l2', @@ -30903,10 +30903,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l3', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l3', @@ -30964,10 +30964,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received', + : 'energy', + : 'Envoy 1234 Production CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received', @@ -31025,10 +31025,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l1', + : 'energy', + : 'Envoy 1234 Production CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l1', @@ -31086,10 +31086,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l2', + : 'energy', + : 'Envoy 1234 Production CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l2', @@ -31147,10 +31147,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l3', + : 'energy', + : 'Envoy 1234 Production CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l3', @@ -31208,10 +31208,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power', + : 'power', + : 'Envoy 1234 Production CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power', @@ -31269,10 +31269,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l1', + : 'power', + : 'Envoy 1234 Production CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l1', @@ -31330,10 +31330,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l2', + : 'power', + : 'Envoy 1234 Production CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l2', @@ -31391,10 +31391,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_production_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l3', + : 'power', + : 'Envoy 1234 Production CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l3', @@ -31452,10 +31452,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 PV3P CT current', + : 'current', + : 'Envoy 1234 PV3P CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_current', @@ -31513,10 +31513,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 PV3P CT current l1', + : 'current', + : 'Envoy 1234 PV3P CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_current_l1', @@ -31574,10 +31574,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 PV3P CT current l2', + : 'current', + : 'Envoy 1234 PV3P CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_current_l2', @@ -31635,10 +31635,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 PV3P CT current l3', + : 'current', + : 'Envoy 1234 PV3P CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_current_l3', @@ -31696,10 +31696,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy delivered', + : 'energy', + : 'Envoy 1234 PV3P CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_delivered', @@ -31757,10 +31757,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy delivered l1', + : 'energy', + : 'Envoy 1234 PV3P CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_delivered_l1', @@ -31818,10 +31818,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy delivered l2', + : 'energy', + : 'Envoy 1234 PV3P CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_delivered_l2', @@ -31879,10 +31879,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy delivered l3', + : 'energy', + : 'Envoy 1234 PV3P CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_delivered_l3', @@ -31940,10 +31940,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy received', + : 'energy', + : 'Envoy 1234 PV3P CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_received', @@ -32001,10 +32001,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy received l1', + : 'energy', + : 'Envoy 1234 PV3P CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_received_l1', @@ -32062,10 +32062,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy received l2', + : 'energy', + : 'Envoy 1234 PV3P CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_received_l2', @@ -32123,10 +32123,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 PV3P CT energy received l3', + : 'energy', + : 'Envoy 1234 PV3P CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_energy_received_l3', @@ -32184,10 +32184,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 PV3P CT power', + : 'power', + : 'Envoy 1234 PV3P CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_power', @@ -32245,10 +32245,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 PV3P CT power l1', + : 'power', + : 'Envoy 1234 PV3P CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_power_l1', @@ -32306,10 +32306,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 PV3P CT power l2', + : 'power', + : 'Envoy 1234 PV3P CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_power_l2', @@ -32367,10 +32367,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_pv3p_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 PV3P CT power l3', + : 'power', + : 'Envoy 1234 PV3P CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_pv3p_ct_power_l3', @@ -32425,10 +32425,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_reserve_battery_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Envoy 1234 Reserve battery energy', + : 'energy_storage', + : 'Envoy 1234 Reserve battery energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_reserve_battery_energy', @@ -32480,10 +32480,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_reserve_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Envoy 1234 Reserve battery level', + : 'battery', + : 'Envoy 1234 Reserve battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.envoy_1234_reserve_battery_level', @@ -32541,10 +32541,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_storage_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Storage CT current', + : 'current', + : 'Envoy 1234 Storage CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_storage_ct_current', @@ -32602,10 +32602,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_storage_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Storage CT current l1', + : 'current', + : 'Envoy 1234 Storage CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_storage_ct_current_l1', @@ -32663,10 +32663,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_storage_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Storage CT current l2', + : 'current', + : 'Envoy 1234 Storage CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_storage_ct_current_l2', @@ -32724,10 +32724,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_storage_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Storage CT current l3', + : 'current', + : 'Envoy 1234 Storage CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_storage_ct_current_l3', @@ -32785,10 +32785,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_backfeed_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage backfeed CT', + : 'voltage', + : 'Envoy 1234 Voltage backfeed CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_backfeed_ct', @@ -32846,10 +32846,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_backfeed_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage backfeed CT l1', + : 'voltage', + : 'Envoy 1234 Voltage backfeed CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_backfeed_ct_l1', @@ -32907,10 +32907,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_backfeed_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage backfeed CT l2', + : 'voltage', + : 'Envoy 1234 Voltage backfeed CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_backfeed_ct_l2', @@ -32968,10 +32968,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_backfeed_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage backfeed CT l3', + : 'voltage', + : 'Envoy 1234 Voltage backfeed CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_backfeed_ct_l3', @@ -33029,10 +33029,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_evse_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage EVSE CT', + : 'voltage', + : 'Envoy 1234 Voltage EVSE CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_evse_ct', @@ -33090,10 +33090,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_evse_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage EVSE CT l1', + : 'voltage', + : 'Envoy 1234 Voltage EVSE CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_evse_ct_l1', @@ -33151,10 +33151,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_evse_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage EVSE CT l2', + : 'voltage', + : 'Envoy 1234 Voltage EVSE CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_evse_ct_l2', @@ -33212,10 +33212,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_evse_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage EVSE CT l3', + : 'voltage', + : 'Envoy 1234 Voltage EVSE CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_evse_ct_l3', @@ -33273,10 +33273,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_load_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage load CT', + : 'voltage', + : 'Envoy 1234 Voltage load CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_load_ct', @@ -33334,10 +33334,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_load_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage load CT l1', + : 'voltage', + : 'Envoy 1234 Voltage load CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_load_ct_l1', @@ -33395,10 +33395,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_load_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage load CT l2', + : 'voltage', + : 'Envoy 1234 Voltage load CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_load_ct_l2', @@ -33456,10 +33456,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_load_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage load CT l3', + : 'voltage', + : 'Envoy 1234 Voltage load CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_load_ct_l3', @@ -33517,10 +33517,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct', @@ -33578,10 +33578,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l1', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l1', @@ -33639,10 +33639,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l2', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l2', @@ -33700,10 +33700,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l3', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l3', @@ -33761,10 +33761,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT', + : 'voltage', + : 'Envoy 1234 Voltage production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct', @@ -33822,10 +33822,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l1', + : 'voltage', + : 'Envoy 1234 Voltage production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l1', @@ -33883,10 +33883,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l2', + : 'voltage', + : 'Envoy 1234 Voltage production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l2', @@ -33944,10 +33944,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l3', + : 'voltage', + : 'Envoy 1234 Voltage production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l3', @@ -34005,10 +34005,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_pv3p_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage PV3P CT', + : 'voltage', + : 'Envoy 1234 Voltage PV3P CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_pv3p_ct', @@ -34066,10 +34066,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_pv3p_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage PV3P CT l1', + : 'voltage', + : 'Envoy 1234 Voltage PV3P CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_pv3p_ct_l1', @@ -34127,10 +34127,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_pv3p_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage PV3P CT l2', + : 'voltage', + : 'Envoy 1234 Voltage PV3P CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_pv3p_ct_l2', @@ -34188,10 +34188,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_pv3p_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage PV3P CT l3', + : 'voltage', + : 'Envoy 1234 Voltage PV3P CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_pv3p_ct_l3', @@ -34249,10 +34249,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_storage_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage storage CT', + : 'voltage', + : 'Envoy 1234 Voltage storage CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_storage_ct', @@ -34310,10 +34310,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_storage_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage storage CT l1', + : 'voltage', + : 'Envoy 1234 Voltage storage CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_storage_ct_l1', @@ -34371,10 +34371,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_storage_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage storage CT l2', + : 'voltage', + : 'Envoy 1234 Voltage storage CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_storage_ct_l2', @@ -34432,10 +34432,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.envoy_1234_voltage_storage_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage storage CT l3', + : 'voltage', + : 'Envoy 1234 Voltage storage CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_storage_ct_l3', @@ -34490,10 +34490,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1', + : 'power', + : 'Inverter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1', @@ -34548,10 +34548,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 AC current', + : 'current', + : 'Inverter 1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_current', @@ -34606,10 +34606,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 AC voltage', + : 'voltage', + : 'Inverter 1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_voltage', @@ -34664,10 +34664,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 DC current', + : 'current', + : 'Inverter 1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_current', @@ -34722,10 +34722,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 DC voltage', + : 'voltage', + : 'Inverter 1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_voltage', @@ -34780,10 +34780,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_energy_production_since_previous_report-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production since previous report', + : 'energy', + : 'Inverter 1 Energy production since previous report', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_since_previous_report', @@ -34838,10 +34838,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production today', + : 'energy', + : 'Inverter 1 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_today', @@ -34896,10 +34896,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter 1 Frequency', + : 'frequency', + : 'Inverter 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_frequency', @@ -34954,10 +34954,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_last_report_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Inverter 1 Last report duration', + : 'duration', + : 'Inverter 1 Last report duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_last_report_duration', @@ -35007,8 +35007,8 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Inverter 1 Last reported', + : 'timestamp', + : 'Inverter 1 Last reported', }), 'context': , 'entity_id': 'sensor.inverter_1_last_reported', @@ -35066,10 +35066,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Lifetime energy production', + : 'energy', + : 'Inverter 1 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_energy_production', @@ -35124,10 +35124,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_lifetime_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Lifetime maximum power', + : 'power', + : 'Inverter 1 Lifetime maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_maximum_power', @@ -35182,10 +35182,10 @@ # name: test_sensor[envoy_metered_batt_relay][sensor.inverter_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter 1 Temperature', + : 'temperature', + : 'Inverter 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_temperature', @@ -35243,10 +35243,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_balanced_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption', + : 'power', + : 'Envoy 1234 Balanced net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption', @@ -35304,10 +35304,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_balanced_net_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption l1', + : 'power', + : 'Envoy 1234 Balanced net power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption_l1', @@ -35365,10 +35365,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_balanced_net_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption l2', + : 'power', + : 'Envoy 1234 Balanced net power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption_l2', @@ -35426,10 +35426,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_balanced_net_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption l3', + : 'power', + : 'Envoy 1234 Balanced net power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption_l3', @@ -35487,10 +35487,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption', + : 'power', + : 'Envoy 1234 Current net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption', @@ -35548,10 +35548,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_net_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l1', + : 'power', + : 'Envoy 1234 Current net power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l1', @@ -35609,10 +35609,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_net_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l2', + : 'power', + : 'Envoy 1234 Current net power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l2', @@ -35670,10 +35670,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_net_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current net power consumption l3', + : 'power', + : 'Envoy 1234 Current net power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_net_power_consumption_l3', @@ -35731,10 +35731,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption', + : 'power', + : 'Envoy 1234 Current power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption', @@ -35792,10 +35792,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption l1', + : 'power', + : 'Envoy 1234 Current power consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption_l1', @@ -35853,10 +35853,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption l2', + : 'power', + : 'Envoy 1234 Current power consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption_l2', @@ -35914,10 +35914,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power consumption l3', + : 'power', + : 'Envoy 1234 Current power consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_consumption_l3', @@ -35975,10 +35975,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production', + : 'power', + : 'Envoy 1234 Current power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production', @@ -36036,10 +36036,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production l1', + : 'power', + : 'Envoy 1234 Current power production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production_l1', @@ -36097,10 +36097,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production l2', + : 'power', + : 'Envoy 1234 Current power production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production_l2', @@ -36158,10 +36158,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_current_power_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production l3', + : 'power', + : 'Envoy 1234 Current power production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production_l3', @@ -36217,9 +36217,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days', @@ -36275,9 +36275,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_last_seven_days_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days l1', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days l1', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days_l1', @@ -36333,9 +36333,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_last_seven_days_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days l2', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days l2', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days_l2', @@ -36391,9 +36391,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_last_seven_days_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption last seven days l3', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy consumption last seven days l3', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_last_seven_days_l3', @@ -36451,10 +36451,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today', + : 'energy', + : 'Envoy 1234 Energy consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today', @@ -36512,10 +36512,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_today_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today l1', + : 'energy', + : 'Envoy 1234 Energy consumption today l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today_l1', @@ -36573,10 +36573,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_today_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today l2', + : 'energy', + : 'Envoy 1234 Energy consumption today l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today_l2', @@ -36634,10 +36634,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_consumption_today_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy consumption today l3', + : 'energy', + : 'Envoy 1234 Energy consumption today l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_consumption_today_l3', @@ -36693,9 +36693,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days', @@ -36751,9 +36751,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_last_seven_days_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days l1', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days l1', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days_l1', @@ -36809,9 +36809,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_last_seven_days_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days l2', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days l2', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days_l2', @@ -36867,9 +36867,9 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_last_seven_days_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days l3', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days l3', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days_l3', @@ -36927,10 +36927,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today', + : 'energy', + : 'Envoy 1234 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today', @@ -36988,10 +36988,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_today_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today l1', + : 'energy', + : 'Envoy 1234 Energy production today l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today_l1', @@ -37049,10 +37049,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_today_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today l2', + : 'energy', + : 'Envoy 1234 Energy production today l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today_l2', @@ -37110,10 +37110,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_energy_production_today_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today l3', + : 'energy', + : 'Envoy 1234 Energy production today l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today_l3', @@ -37168,10 +37168,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct', @@ -37226,10 +37226,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l1', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l1', @@ -37284,10 +37284,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l2', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l2', @@ -37342,10 +37342,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency net consumption CT l3', + : 'frequency', + : 'Envoy 1234 Frequency net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_net_consumption_ct_l3', @@ -37400,10 +37400,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT', + : 'frequency', + : 'Envoy 1234 Frequency production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct', @@ -37458,10 +37458,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l1', + : 'frequency', + : 'Envoy 1234 Frequency production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l1', @@ -37516,10 +37516,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l2', + : 'frequency', + : 'Envoy 1234 Frequency production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l2', @@ -37574,10 +37574,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_frequency_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT l3', + : 'frequency', + : 'Envoy 1234 Frequency production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct_l3', @@ -37635,10 +37635,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_balanced_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption', @@ -37696,10 +37696,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l1', @@ -37757,10 +37757,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l2', @@ -37818,10 +37818,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption_l3', @@ -37879,10 +37879,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption', @@ -37940,10 +37940,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption_l1', @@ -38001,10 +38001,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption_l2', @@ -38062,10 +38062,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_consumption_l3', @@ -38123,10 +38123,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production', + : 'energy', + : 'Envoy 1234 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production', @@ -38184,10 +38184,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production l1', + : 'energy', + : 'Envoy 1234 Lifetime energy production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production_l1', @@ -38245,10 +38245,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production l2', + : 'energy', + : 'Envoy 1234 Lifetime energy production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production_l2', @@ -38306,10 +38306,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_energy_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production l3', + : 'energy', + : 'Envoy 1234 Lifetime energy production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production_l3', @@ -38367,10 +38367,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption', @@ -38428,10 +38428,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_consumption_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l1', @@ -38489,10 +38489,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_consumption_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l2', @@ -38550,10 +38550,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_consumption_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy consumption l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy consumption l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_consumption_l3', @@ -38611,10 +38611,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production', + : 'energy', + : 'Envoy 1234 Lifetime net energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production', @@ -38672,10 +38672,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_production_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l1', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l1', @@ -38733,10 +38733,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_production_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l2', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l2', @@ -38794,10 +38794,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_lifetime_net_energy_production_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime net energy production l3', + : 'energy', + : 'Envoy 1234 Lifetime net energy production l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_net_energy_production_l3', @@ -38847,7 +38847,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT', + : 'Envoy 1234 Meter status flags active net consumption CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct', @@ -38897,7 +38897,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l1', + : 'Envoy 1234 Meter status flags active net consumption CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l1', @@ -38947,7 +38947,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l2', + : 'Envoy 1234 Meter status flags active net consumption CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l2', @@ -38997,7 +38997,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active net consumption CT l3', + : 'Envoy 1234 Meter status flags active net consumption CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_net_consumption_ct_l3', @@ -39047,7 +39047,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT', + : 'Envoy 1234 Meter status flags active production CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct', @@ -39097,7 +39097,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l1', + : 'Envoy 1234 Meter status flags active production CT l1', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l1', @@ -39147,7 +39147,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l2', + : 'Envoy 1234 Meter status flags active production CT l2', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l2', @@ -39197,7 +39197,7 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_meter_status_flags_active_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT l3', + : 'Envoy 1234 Meter status flags active production CT l3', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct_l3', @@ -39253,8 +39253,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT', : list([ , , @@ -39315,8 +39315,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l1', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l1', : list([ , , @@ -39377,8 +39377,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l2', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l2', : list([ , , @@ -39439,8 +39439,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status net consumption CT l3', + : 'enum', + : 'Envoy 1234 Metering status net consumption CT l3', : list([ , , @@ -39501,8 +39501,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT', + : 'enum', + : 'Envoy 1234 Metering status production CT', : list([ , , @@ -39563,8 +39563,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l1', + : 'enum', + : 'Envoy 1234 Metering status production CT l1', : list([ , , @@ -39625,8 +39625,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l2', + : 'enum', + : 'Envoy 1234 Metering status production CT l2', : list([ , , @@ -39687,8 +39687,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_metering_status_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT l3', + : 'enum', + : 'Envoy 1234 Metering status production CT l3', : list([ , , @@ -39751,10 +39751,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_net_consumption_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current', + : 'current', + : 'Envoy 1234 Net consumption CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current', @@ -39812,10 +39812,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_net_consumption_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l1', + : 'current', + : 'Envoy 1234 Net consumption CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l1', @@ -39873,10 +39873,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_net_consumption_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l2', + : 'current', + : 'Envoy 1234 Net consumption CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l2', @@ -39934,10 +39934,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_net_consumption_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Net consumption CT current l3', + : 'current', + : 'Envoy 1234 Net consumption CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current_l3', @@ -39992,8 +39992,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT', : , }), 'context': , @@ -40049,8 +40049,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l1', : , }), 'context': , @@ -40106,8 +40106,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l2', : , }), 'context': , @@ -40163,8 +40163,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor net consumption CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor net consumption CT l3', : , }), 'context': , @@ -40220,8 +40220,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT', + : 'power_factor', + : 'Envoy 1234 Power factor production CT', : , }), 'context': , @@ -40277,8 +40277,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l1', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l1', : , }), 'context': , @@ -40334,8 +40334,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l2', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l2', : , }), 'context': , @@ -40391,8 +40391,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_power_factor_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT l3', + : 'power_factor', + : 'Envoy 1234 Power factor production CT l3', : , }), 'context': , @@ -40451,10 +40451,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current', + : 'current', + : 'Envoy 1234 Production CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current', @@ -40512,10 +40512,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l1', + : 'current', + : 'Envoy 1234 Production CT current l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l1', @@ -40573,10 +40573,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l2', + : 'current', + : 'Envoy 1234 Production CT current l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l2', @@ -40634,10 +40634,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current l3', + : 'current', + : 'Envoy 1234 Production CT current l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current_l3', @@ -40695,10 +40695,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered', + : 'energy', + : 'Envoy 1234 Production CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered', @@ -40756,10 +40756,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_delivered_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l1', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l1', @@ -40817,10 +40817,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_delivered_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l2', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l2', @@ -40878,10 +40878,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_delivered_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered l3', + : 'energy', + : 'Envoy 1234 Production CT energy delivered l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered_l3', @@ -40939,10 +40939,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received', + : 'energy', + : 'Envoy 1234 Production CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received', @@ -41000,10 +41000,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_received_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l1', + : 'energy', + : 'Envoy 1234 Production CT energy received l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l1', @@ -41061,10 +41061,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_received_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l2', + : 'energy', + : 'Envoy 1234 Production CT energy received l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l2', @@ -41122,10 +41122,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_energy_received_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received l3', + : 'energy', + : 'Envoy 1234 Production CT energy received l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received_l3', @@ -41183,10 +41183,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power', + : 'power', + : 'Envoy 1234 Production CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power', @@ -41244,10 +41244,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l1', + : 'power', + : 'Envoy 1234 Production CT power l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l1', @@ -41305,10 +41305,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l2', + : 'power', + : 'Envoy 1234 Production CT power l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l2', @@ -41366,10 +41366,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_production_ct_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power l3', + : 'power', + : 'Envoy 1234 Production CT power l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power_l3', @@ -41427,10 +41427,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_net_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct', @@ -41488,10 +41488,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_net_consumption_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l1', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l1', @@ -41549,10 +41549,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_net_consumption_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l2', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l2', @@ -41610,10 +41610,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_net_consumption_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage net consumption CT l3', + : 'voltage', + : 'Envoy 1234 Voltage net consumption CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_net_consumption_ct_l3', @@ -41671,10 +41671,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT', + : 'voltage', + : 'Envoy 1234 Voltage production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct', @@ -41732,10 +41732,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_production_ct_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l1', + : 'voltage', + : 'Envoy 1234 Voltage production CT l1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l1', @@ -41793,10 +41793,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_production_ct_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l2', + : 'voltage', + : 'Envoy 1234 Voltage production CT l2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l2', @@ -41854,10 +41854,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_voltage_production_ct_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT l3', + : 'voltage', + : 'Envoy 1234 Voltage production CT l3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct_l3', @@ -41912,10 +41912,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1', + : 'power', + : 'Inverter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1', @@ -41970,10 +41970,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 AC current', + : 'current', + : 'Inverter 1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_current', @@ -42028,10 +42028,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 AC voltage', + : 'voltage', + : 'Inverter 1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_voltage', @@ -42086,10 +42086,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 DC current', + : 'current', + : 'Inverter 1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_current', @@ -42144,10 +42144,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 DC voltage', + : 'voltage', + : 'Inverter 1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_voltage', @@ -42202,10 +42202,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_energy_production_since_previous_report-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production since previous report', + : 'energy', + : 'Inverter 1 Energy production since previous report', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_since_previous_report', @@ -42260,10 +42260,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production today', + : 'energy', + : 'Inverter 1 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_today', @@ -42318,10 +42318,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter 1 Frequency', + : 'frequency', + : 'Inverter 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_frequency', @@ -42376,10 +42376,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_last_report_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Inverter 1 Last report duration', + : 'duration', + : 'Inverter 1 Last report duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_last_report_duration', @@ -42429,8 +42429,8 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Inverter 1 Last reported', + : 'timestamp', + : 'Inverter 1 Last reported', }), 'context': , 'entity_id': 'sensor.inverter_1_last_reported', @@ -42488,10 +42488,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Lifetime energy production', + : 'energy', + : 'Inverter 1 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_energy_production', @@ -42546,10 +42546,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_lifetime_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Lifetime maximum power', + : 'power', + : 'Inverter 1 Lifetime maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_maximum_power', @@ -42604,10 +42604,10 @@ # name: test_sensor[envoy_nobatt_metered_3p][sensor.inverter_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter 1 Temperature', + : 'temperature', + : 'Inverter 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_temperature', @@ -42665,10 +42665,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_balanced_net_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Balanced net power consumption', + : 'power', + : 'Envoy 1234 Balanced net power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_balanced_net_power_consumption', @@ -42726,10 +42726,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_current_power_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Current power production', + : 'power', + : 'Envoy 1234 Current power production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_current_power_production', @@ -42785,9 +42785,9 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_energy_production_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production last seven days', - 'unit_of_measurement': , + : 'energy', + : 'Envoy 1234 Energy production last seven days', + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_last_seven_days', @@ -42845,10 +42845,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Energy production today', + : 'energy', + : 'Envoy 1234 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_energy_production_today', @@ -42903,10 +42903,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_frequency_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency production CT', + : 'frequency', + : 'Envoy 1234 Frequency production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_production_ct', @@ -42961,10 +42961,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_frequency_total_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Envoy 1234 Frequency total consumption CT', + : 'frequency', + : 'Envoy 1234 Frequency total consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_frequency_total_consumption_ct', @@ -43022,10 +43022,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_lifetime_balanced_net_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime balanced net energy consumption', + : 'energy', + : 'Envoy 1234 Lifetime balanced net energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_balanced_net_energy_consumption', @@ -43083,10 +43083,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Lifetime energy production', + : 'energy', + : 'Envoy 1234 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_lifetime_energy_production', @@ -43136,7 +43136,7 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_meter_status_flags_active_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active production CT', + : 'Envoy 1234 Meter status flags active production CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_production_ct', @@ -43186,7 +43186,7 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_meter_status_flags_active_total_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Meter status flags active total consumption CT', + : 'Envoy 1234 Meter status flags active total consumption CT', }), 'context': , 'entity_id': 'sensor.envoy_1234_meter_status_flags_active_total_consumption_ct', @@ -43242,8 +43242,8 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_metering_status_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status production CT', + : 'enum', + : 'Envoy 1234 Metering status production CT', : list([ , , @@ -43304,8 +43304,8 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_metering_status_total_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Envoy 1234 Metering status total consumption CT', + : 'enum', + : 'Envoy 1234 Metering status total consumption CT', : list([ , , @@ -43365,8 +43365,8 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_power_factor_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor production CT', + : 'power_factor', + : 'Envoy 1234 Power factor production CT', : , }), 'context': , @@ -43422,8 +43422,8 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_power_factor_total_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Envoy 1234 Power factor total consumption CT', + : 'power_factor', + : 'Envoy 1234 Power factor total consumption CT', : , }), 'context': , @@ -43482,10 +43482,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_production_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Production CT current', + : 'current', + : 'Envoy 1234 Production CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_current', @@ -43543,10 +43543,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_production_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy delivered', + : 'energy', + : 'Envoy 1234 Production CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_delivered', @@ -43604,10 +43604,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_production_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Production CT energy received', + : 'energy', + : 'Envoy 1234 Production CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_energy_received', @@ -43665,10 +43665,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_production_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Production CT power', + : 'power', + : 'Envoy 1234 Production CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_production_ct_power', @@ -43726,10 +43726,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_total_consumption_ct_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Envoy 1234 Total consumption CT current', + : 'current', + : 'Envoy 1234 Total consumption CT current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_total_consumption_ct_current', @@ -43787,10 +43787,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_total_consumption_ct_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Total consumption CT energy delivered', + : 'energy', + : 'Envoy 1234 Total consumption CT energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_total_consumption_ct_energy_delivered', @@ -43848,10 +43848,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_total_consumption_ct_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Envoy 1234 Total consumption CT energy received', + : 'energy', + : 'Envoy 1234 Total consumption CT energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_total_consumption_ct_energy_received', @@ -43909,10 +43909,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_total_consumption_ct_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Envoy 1234 Total consumption CT power', + : 'power', + : 'Envoy 1234 Total consumption CT power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_total_consumption_ct_power', @@ -43970,10 +43970,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_voltage_production_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage production CT', + : 'voltage', + : 'Envoy 1234 Voltage production CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_production_ct', @@ -44031,10 +44031,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_voltage_total_consumption_ct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Envoy 1234 Voltage total consumption CT', + : 'voltage', + : 'Envoy 1234 Voltage total consumption CT', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.envoy_1234_voltage_total_consumption_ct', @@ -44089,10 +44089,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1', + : 'power', + : 'Inverter 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1', @@ -44147,10 +44147,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 AC current', + : 'current', + : 'Inverter 1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_current', @@ -44205,10 +44205,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 AC voltage', + : 'voltage', + : 'Inverter 1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_ac_voltage', @@ -44263,10 +44263,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter 1 DC current', + : 'current', + : 'Inverter 1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_current', @@ -44321,10 +44321,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter 1 DC voltage', + : 'voltage', + : 'Inverter 1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_dc_voltage', @@ -44379,10 +44379,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_energy_production_since_previous_report-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production since previous report', + : 'energy', + : 'Inverter 1 Energy production since previous report', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_since_previous_report', @@ -44437,10 +44437,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Energy production today', + : 'energy', + : 'Inverter 1 Energy production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_energy_production_today', @@ -44495,10 +44495,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter 1 Frequency', + : 'frequency', + : 'Inverter 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_frequency', @@ -44553,10 +44553,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_last_report_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Inverter 1 Last report duration', + : 'duration', + : 'Inverter 1 Last report duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_last_report_duration', @@ -44606,8 +44606,8 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_last_reported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Inverter 1 Last reported', + : 'timestamp', + : 'Inverter 1 Last reported', }), 'context': , 'entity_id': 'sensor.inverter_1_last_reported', @@ -44665,10 +44665,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_lifetime_energy_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Lifetime energy production', + : 'energy', + : 'Inverter 1 Lifetime energy production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_energy_production', @@ -44723,10 +44723,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_lifetime_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Lifetime maximum power', + : 'power', + : 'Inverter 1 Lifetime maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_lifetime_maximum_power', @@ -44781,10 +44781,10 @@ # name: test_sensor[envoy_tot_cons_metered][sensor.inverter_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter 1 Temperature', + : 'temperature', + : 'Inverter 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_temperature', diff --git a/tests/components/enphase_envoy/snapshots/test_switch.ambr b/tests/components/enphase_envoy/snapshots/test_switch.ambr index 387f74271e5..6e053b60823 100644 --- a/tests/components/enphase_envoy/snapshots/test_switch.ambr +++ b/tests/components/enphase_envoy/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch[envoy_eu_batt][switch.envoy_1234_charge_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Envoy 1234 Charge from grid', + : 'Envoy 1234 Charge from grid', }), 'context': , 'entity_id': 'switch.envoy_1234_charge_from_grid', @@ -89,7 +89,7 @@ # name: test_switch[envoy_metered_batt_relay][switch.enpower_654321_charge_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Enpower 654321 Charge from grid', + : 'Enpower 654321 Charge from grid', }), 'context': , 'entity_id': 'switch.enpower_654321_charge_from_grid', @@ -139,7 +139,7 @@ # name: test_switch[envoy_metered_batt_relay][switch.enpower_654321_grid_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Enpower 654321 Grid enabled', + : 'Enpower 654321 Grid enabled', }), 'context': , 'entity_id': 'switch.enpower_654321_grid_enabled', @@ -189,7 +189,7 @@ # name: test_switch[envoy_metered_batt_relay][switch.nc1_fixture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC1 Fixture', + : 'NC1 Fixture', }), 'context': , 'entity_id': 'switch.nc1_fixture', @@ -239,7 +239,7 @@ # name: test_switch[envoy_metered_batt_relay][switch.nc2_fixture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC2 Fixture', + : 'NC2 Fixture', }), 'context': , 'entity_id': 'switch.nc2_fixture', @@ -289,7 +289,7 @@ # name: test_switch[envoy_metered_batt_relay][switch.nc3_fixture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NC3 Fixture', + : 'NC3 Fixture', }), 'context': , 'entity_id': 'switch.nc3_fixture', diff --git a/tests/components/envertech_evt800/snapshots/test_sensor.ambr b/tests/components/envertech_evt800/snapshots/test_sensor.ambr index d3df0816230..34a0e3fce67 100644 --- a/tests/components/envertech_evt800/snapshots/test_sensor.ambr +++ b/tests/components/envertech_evt800/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.evt800_ac_frequency_mppt_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'EVT800 AC Frequency MPPT 1', + : 'frequency', + : 'EVT800 AC Frequency MPPT 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_ac_frequency_mppt_1', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.evt800_ac_frequency_mppt_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'EVT800 AC Frequency MPPT 2', + : 'frequency', + : 'EVT800 AC Frequency MPPT 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_ac_frequency_mppt_2', @@ -160,10 +160,10 @@ # name: test_sensors[sensor.evt800_ac_voltage_mppt_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'EVT800 AC Voltage MPPT 1', + : 'voltage', + : 'EVT800 AC Voltage MPPT 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_ac_voltage_mppt_1', @@ -218,10 +218,10 @@ # name: test_sensors[sensor.evt800_ac_voltage_mppt_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'EVT800 AC Voltage MPPT 2', + : 'voltage', + : 'EVT800 AC Voltage MPPT 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_ac_voltage_mppt_2', @@ -276,10 +276,10 @@ # name: test_sensors[sensor.evt800_dc_current_mppt_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'EVT800 DC Current MPPT 1', + : 'current', + : 'EVT800 DC Current MPPT 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_dc_current_mppt_1', @@ -334,10 +334,10 @@ # name: test_sensors[sensor.evt800_dc_current_mppt_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'EVT800 DC Current MPPT 2', + : 'current', + : 'EVT800 DC Current MPPT 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_dc_current_mppt_2', @@ -392,10 +392,10 @@ # name: test_sensors[sensor.evt800_dc_power_mppt_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EVT800 DC Power MPPT 1', + : 'power', + : 'EVT800 DC Power MPPT 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_dc_power_mppt_1', @@ -450,10 +450,10 @@ # name: test_sensors[sensor.evt800_dc_power_mppt_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EVT800 DC Power MPPT 2', + : 'power', + : 'EVT800 DC Power MPPT 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_dc_power_mppt_2', @@ -508,10 +508,10 @@ # name: test_sensors[sensor.evt800_dc_voltage_mppt_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'EVT800 DC Voltage MPPT 1', + : 'voltage', + : 'EVT800 DC Voltage MPPT 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_dc_voltage_mppt_1', @@ -566,10 +566,10 @@ # name: test_sensors[sensor.evt800_dc_voltage_mppt_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'EVT800 DC Voltage MPPT 2', + : 'voltage', + : 'EVT800 DC Voltage MPPT 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_dc_voltage_mppt_2', @@ -619,7 +619,7 @@ # name: test_sensors[sensor.evt800_mppt_id_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'EVT800 MPPT ID 1', + : 'EVT800 MPPT ID 1', }), 'context': , 'entity_id': 'sensor.evt800_mppt_id_1', @@ -669,7 +669,7 @@ # name: test_sensors[sensor.evt800_mppt_id_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'EVT800 MPPT ID 2', + : 'EVT800 MPPT ID 2', }), 'context': , 'entity_id': 'sensor.evt800_mppt_id_2', @@ -724,10 +724,10 @@ # name: test_sensors[sensor.evt800_temperature_mppt_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'EVT800 Temperature MPPT 1', + : 'temperature', + : 'EVT800 Temperature MPPT 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_temperature_mppt_1', @@ -782,10 +782,10 @@ # name: test_sensors[sensor.evt800_temperature_mppt_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'EVT800 Temperature MPPT 2', + : 'temperature', + : 'EVT800 Temperature MPPT 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_temperature_mppt_2', @@ -840,10 +840,10 @@ # name: test_sensors[sensor.evt800_total_energy_mppt_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'EVT800 Total Energy MPPT 1', + : 'energy', + : 'EVT800 Total Energy MPPT 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_total_energy_mppt_1', @@ -898,10 +898,10 @@ # name: test_sensors[sensor.evt800_total_energy_mppt_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'EVT800 Total Energy MPPT 2', + : 'energy', + : 'EVT800 Total Energy MPPT 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evt800_total_energy_mppt_2', diff --git a/tests/components/esphome/snapshots/test_climate.ambr b/tests/components/esphome/snapshots/test_climate.ambr index 67a3291777a..f627950c860 100644 --- a/tests/components/esphome/snapshots/test_climate.ambr +++ b/tests/components/esphome/snapshots/test_climate.ambr @@ -9,7 +9,7 @@ 'fan1', 'fan2', ]), - 'friendly_name': 'Test my climate', + : 'Test my climate', : , : list([ , @@ -26,7 +26,7 @@ 'preset1', 'preset2', ]), - 'supported_features': , + : , : 'both', : list([ 'both', diff --git a/tests/components/essent/snapshots/test_sensor.ambr b/tests/components/essent/snapshots/test_sensor.ambr index 3ad4dd75fd6..33197f07dd7 100644 --- a/tests/components/essent/snapshots/test_sensor.ambr +++ b/tests/components/essent/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_entities[sensor.essent_average_electricity_price_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Average electricity price today', + : 'Data provided by Essent', + : 'Essent Average electricity price today', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_average_electricity_price_today', @@ -102,10 +102,10 @@ # name: test_entities[sensor.essent_current_electricity_market_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current electricity market price', + : 'Data provided by Essent', + : 'Essent Current electricity market price', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_current_electricity_market_price', @@ -160,10 +160,10 @@ # name: test_entities[sensor.essent_current_electricity_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current electricity price', + : 'Data provided by Essent', + : 'Essent Current electricity price', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_current_electricity_price', @@ -218,10 +218,10 @@ # name: test_entities[sensor.essent_current_electricity_price_excl_vat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current electricity price excl. VAT', + : 'Data provided by Essent', + : 'Essent Current electricity price excl. VAT', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_current_electricity_price_excl_vat', @@ -276,10 +276,10 @@ # name: test_entities[sensor.essent_current_electricity_purchasing_fee-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current electricity purchasing fee', + : 'Data provided by Essent', + : 'Essent Current electricity purchasing fee', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_current_electricity_purchasing_fee', @@ -334,10 +334,10 @@ # name: test_entities[sensor.essent_current_electricity_tax-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current electricity tax', + : 'Data provided by Essent', + : 'Essent Current electricity tax', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_current_electricity_tax', @@ -392,10 +392,10 @@ # name: test_entities[sensor.essent_current_electricity_vat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current electricity VAT', + : 'Data provided by Essent', + : 'Essent Current electricity VAT', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_current_electricity_vat', @@ -450,10 +450,10 @@ # name: test_entities[sensor.essent_current_gas_market_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current gas market price', + : 'Data provided by Essent', + : 'Essent Current gas market price', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.essent_current_gas_market_price', @@ -508,10 +508,10 @@ # name: test_entities[sensor.essent_current_gas_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current gas price', + : 'Data provided by Essent', + : 'Essent Current gas price', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.essent_current_gas_price', @@ -566,10 +566,10 @@ # name: test_entities[sensor.essent_current_gas_price_excl_vat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current gas price excl. VAT', + : 'Data provided by Essent', + : 'Essent Current gas price excl. VAT', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.essent_current_gas_price_excl_vat', @@ -624,10 +624,10 @@ # name: test_entities[sensor.essent_current_gas_purchasing_fee-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current gas purchasing fee', + : 'Data provided by Essent', + : 'Essent Current gas purchasing fee', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.essent_current_gas_purchasing_fee', @@ -682,10 +682,10 @@ # name: test_entities[sensor.essent_current_gas_tax-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current gas tax', + : 'Data provided by Essent', + : 'Essent Current gas tax', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.essent_current_gas_tax', @@ -740,10 +740,10 @@ # name: test_entities[sensor.essent_current_gas_vat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Current gas VAT', + : 'Data provided by Essent', + : 'Essent Current gas VAT', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.essent_current_gas_vat', @@ -798,10 +798,10 @@ # name: test_entities[sensor.essent_highest_electricity_price_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Highest electricity price today', + : 'Data provided by Essent', + : 'Essent Highest electricity price today', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_highest_electricity_price_today', @@ -856,10 +856,10 @@ # name: test_entities[sensor.essent_lowest_electricity_price_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Lowest electricity price today', + : 'Data provided by Essent', + : 'Essent Lowest electricity price today', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_lowest_electricity_price_today', @@ -914,10 +914,10 @@ # name: test_entities[sensor.essent_next_electricity_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Next electricity price', + : 'Data provided by Essent', + : 'Essent Next electricity price', : , - 'unit_of_measurement': '€/kWh', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.essent_next_electricity_price', @@ -972,10 +972,10 @@ # name: test_entities[sensor.essent_next_gas_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Essent', - 'friendly_name': 'Essent Next gas price', + : 'Data provided by Essent', + : 'Essent Next gas price', : , - 'unit_of_measurement': '€/m³', + : '€/m³', }), 'context': , 'entity_id': 'sensor.essent_next_gas_price', diff --git a/tests/components/eurotronic_cometblue/snapshots/test_climate.ambr b/tests/components/eurotronic_cometblue/snapshots/test_climate.ambr index f2c80223511..9a2349e9f0e 100644 --- a/tests/components/eurotronic_cometblue/snapshots/test_climate.ambr +++ b/tests/components/eurotronic_cometblue/snapshots/test_climate.ambr @@ -56,7 +56,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'Comet Blue aa:bb:cc:dd:ee:ff', + : 'Comet Blue aa:bb:cc:dd:ee:ff', : list([ , , @@ -72,7 +72,7 @@ 'away', 'none', ]), - 'supported_features': , + : , : 0.5, : 20.0, }), diff --git a/tests/components/eurotronic_cometblue/snapshots/test_number.ambr b/tests/components/eurotronic_cometblue/snapshots/test_number.ambr index 44e0d34d5ec..4839ec32f7a 100644 --- a/tests/components/eurotronic_cometblue/snapshots/test_number.ambr +++ b/tests/components/eurotronic_cometblue/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number_state[number.comet_blue_aa_bb_cc_dd_ee_ff_comfort_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Comet Blue aa:bb:cc:dd:ee:ff Comfort setpoint', + : 'temperature', + : 'Comet Blue aa:bb:cc:dd:ee:ff Comfort setpoint', : 28.5, : 7.5, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.comet_blue_aa_bb_cc_dd_ee_ff_comfort_setpoint', @@ -105,13 +105,13 @@ # name: test_number_state[number.comet_blue_aa_bb_cc_dd_ee_ff_eco_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Comet Blue aa:bb:cc:dd:ee:ff Eco setpoint', + : 'temperature', + : 'Comet Blue aa:bb:cc:dd:ee:ff Eco setpoint', : 28.5, : 7.5, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.comet_blue_aa_bb_cc_dd_ee_ff_eco_setpoint', @@ -166,13 +166,13 @@ # name: test_number_state[number.comet_blue_aa_bb_cc_dd_ee_ff_setpoint_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Comet Blue aa:bb:cc:dd:ee:ff Setpoint offset', + : 'temperature_delta', + : 'Comet Blue aa:bb:cc:dd:ee:ff Setpoint offset', : 5.0, : -5.0, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.comet_blue_aa_bb_cc_dd_ee_ff_setpoint_offset', diff --git a/tests/components/eurotronic_cometblue/snapshots/test_sensor.ambr b/tests/components/eurotronic_cometblue/snapshots/test_sensor.ambr index 5c6e4fafff6..9b43214f85f 100644 --- a/tests/components/eurotronic_cometblue/snapshots/test_sensor.ambr +++ b/tests/components/eurotronic_cometblue/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_sensor_state[sensor.comet_blue_aa_bb_cc_dd_ee_ff_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Comet Blue aa:bb:cc:dd:ee:ff Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Comet Blue aa:bb:cc:dd:ee:ff Battery', + : '%', }), 'context': , 'entity_id': 'sensor.comet_blue_aa_bb_cc_dd_ee_ff_battery', diff --git a/tests/components/evohome/snapshots/test_button.ambr b/tests/components/evohome/snapshots/test_button.ambr index aec3369b18e..82cf48fa241 100644 --- a/tests/components/evohome/snapshots/test_button.ambr +++ b/tests/components/evohome/snapshots/test_button.ambr @@ -2,7 +2,7 @@ # name: test_setup_platform[botched][button.reset_bathroom_dn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Bathroom Dn', + : 'Reset Bathroom Dn', }), 'context': , 'entity_id': 'button.reset_bathroom_dn', @@ -15,7 +15,7 @@ # name: test_setup_platform[botched][button.reset_dead_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Dead Zone', + : 'Reset Dead Zone', }), 'context': , 'entity_id': 'button.reset_dead_zone', @@ -28,7 +28,7 @@ # name: test_setup_platform[botched][button.reset_domestic_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Domestic Hot Water', + : 'Reset Domestic Hot Water', }), 'context': , 'entity_id': 'button.reset_domestic_hot_water', @@ -41,7 +41,7 @@ # name: test_setup_platform[botched][button.reset_front_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Front Room', + : 'Reset Front Room', }), 'context': , 'entity_id': 'button.reset_front_room', @@ -54,7 +54,7 @@ # name: test_setup_platform[botched][button.reset_kids_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Kids Room', + : 'Reset Kids Room', }), 'context': , 'entity_id': 'button.reset_kids_room', @@ -67,7 +67,7 @@ # name: test_setup_platform[botched][button.reset_kitchen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Kitchen', + : 'Reset Kitchen', }), 'context': , 'entity_id': 'button.reset_kitchen', @@ -80,7 +80,7 @@ # name: test_setup_platform[botched][button.reset_main_bedroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Main Bedroom', + : 'Reset Main Bedroom', }), 'context': , 'entity_id': 'button.reset_main_bedroom', @@ -93,7 +93,7 @@ # name: test_setup_platform[botched][button.reset_main_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Main Room', + : 'Reset Main Room', }), 'context': , 'entity_id': 'button.reset_main_room', @@ -106,7 +106,7 @@ # name: test_setup_platform[botched][button.reset_my_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset My Home', + : 'Reset My Home', }), 'context': , 'entity_id': 'button.reset_my_home', @@ -119,7 +119,7 @@ # name: test_setup_platform[default][button.reset_bathroom_dn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Bathroom Dn', + : 'Reset Bathroom Dn', }), 'context': , 'entity_id': 'button.reset_bathroom_dn', @@ -132,7 +132,7 @@ # name: test_setup_platform[default][button.reset_dead_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Dead Zone', + : 'Reset Dead Zone', }), 'context': , 'entity_id': 'button.reset_dead_zone', @@ -145,7 +145,7 @@ # name: test_setup_platform[default][button.reset_domestic_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Domestic Hot Water', + : 'Reset Domestic Hot Water', }), 'context': , 'entity_id': 'button.reset_domestic_hot_water', @@ -158,7 +158,7 @@ # name: test_setup_platform[default][button.reset_front_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Front Room', + : 'Reset Front Room', }), 'context': , 'entity_id': 'button.reset_front_room', @@ -171,7 +171,7 @@ # name: test_setup_platform[default][button.reset_kids_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Kids Room', + : 'Reset Kids Room', }), 'context': , 'entity_id': 'button.reset_kids_room', @@ -184,7 +184,7 @@ # name: test_setup_platform[default][button.reset_kitchen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Kitchen', + : 'Reset Kitchen', }), 'context': , 'entity_id': 'button.reset_kitchen', @@ -197,7 +197,7 @@ # name: test_setup_platform[default][button.reset_main_bedroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Main Bedroom', + : 'Reset Main Bedroom', }), 'context': , 'entity_id': 'button.reset_main_bedroom', @@ -210,7 +210,7 @@ # name: test_setup_platform[default][button.reset_main_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Main Room', + : 'Reset Main Room', }), 'context': , 'entity_id': 'button.reset_main_room', @@ -223,7 +223,7 @@ # name: test_setup_platform[default][button.reset_my_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset My Home', + : 'Reset My Home', }), 'context': , 'entity_id': 'button.reset_my_home', @@ -236,7 +236,7 @@ # name: test_setup_platform[default][button.reset_spare_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Spare Room', + : 'Reset Spare Room', }), 'context': , 'entity_id': 'button.reset_spare_room', @@ -249,7 +249,7 @@ # name: test_setup_platform[h032585][button.reset_my_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset My Home', + : 'Reset My Home', }), 'context': , 'entity_id': 'button.reset_my_home', @@ -262,7 +262,7 @@ # name: test_setup_platform[h032585][button.reset_thermostat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset THERMOSTAT', + : 'Reset THERMOSTAT', }), 'context': , 'entity_id': 'button.reset_thermostat', @@ -275,7 +275,7 @@ # name: test_setup_platform[h099625][button.reset_my_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset My Home', + : 'Reset My Home', }), 'context': , 'entity_id': 'button.reset_my_home', @@ -288,7 +288,7 @@ # name: test_setup_platform[h099625][button.reset_thermostat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset THERMOSTAT', + : 'Reset THERMOSTAT', }), 'context': , 'entity_id': 'button.reset_thermostat', @@ -301,7 +301,7 @@ # name: test_setup_platform[h099625][button.reset_thermostat_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset THERMOSTAT', + : 'Reset THERMOSTAT', }), 'context': , 'entity_id': 'button.reset_thermostat_2', @@ -314,7 +314,7 @@ # name: test_setup_platform[h139906][button.reset_thermostat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Thermostat', + : 'Reset Thermostat', }), 'context': , 'entity_id': 'button.reset_thermostat', @@ -327,7 +327,7 @@ # name: test_setup_platform[h139906][button.reset_thermostat_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Thermostat 2', + : 'Reset Thermostat 2', }), 'context': , 'entity_id': 'button.reset_thermostat_2', @@ -340,7 +340,7 @@ # name: test_setup_platform[h139906][button.reset_vr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Vr**********', + : 'Reset Vr**********', }), 'context': , 'entity_id': 'button.reset_vr', @@ -353,7 +353,7 @@ # name: test_setup_platform[h157546][button.reset_ba-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Ba******', + : 'Reset Ba******', }), 'context': , 'entity_id': 'button.reset_ba', @@ -366,7 +366,7 @@ # name: test_setup_platform[h157546][button.reset_ka-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Ka*********', + : 'Reset Ka*********', }), 'context': , 'entity_id': 'button.reset_ka', @@ -379,7 +379,7 @@ # name: test_setup_platform[h157546][button.reset_ka_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Ka*****', + : 'Reset Ka*****', }), 'context': , 'entity_id': 'button.reset_ka_2', @@ -392,7 +392,7 @@ # name: test_setup_platform[h157546][button.reset_kl-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Kl********', + : 'Reset Kl********', }), 'context': , 'entity_id': 'button.reset_kl', @@ -405,7 +405,7 @@ # name: test_setup_platform[h157546][button.reset_sl-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Sl********', + : 'Reset Sl********', }), 'context': , 'entity_id': 'button.reset_sl', @@ -418,7 +418,7 @@ # name: test_setup_platform[h157546][button.reset_wo-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Wo*******', + : 'Reset Wo*******', }), 'context': , 'entity_id': 'button.reset_wo', @@ -431,7 +431,7 @@ # name: test_setup_platform[minimal][button.reset_main_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Main Room', + : 'Reset Main Room', }), 'context': , 'entity_id': 'button.reset_main_room', @@ -444,7 +444,7 @@ # name: test_setup_platform[minimal][button.reset_my_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset My Home', + : 'Reset My Home', }), 'context': , 'entity_id': 'button.reset_my_home', @@ -457,7 +457,7 @@ # name: test_setup_platform[sys_004][button.reset_living_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Living room', + : 'Reset Living room', }), 'context': , 'entity_id': 'button.reset_living_room', @@ -470,7 +470,7 @@ # name: test_setup_platform[sys_004][button.reset_thermostat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Reset Thermostat', + : 'Reset Thermostat', }), 'context': , 'entity_id': 'button.reset_thermostat', diff --git a/tests/components/evohome/snapshots/test_climate.ambr b/tests/components/evohome/snapshots/test_climate.ambr index 728f8fadbaa..174f94ae51f 100644 --- a/tests/components/evohome/snapshots/test_climate.ambr +++ b/tests/components/evohome/snapshots/test_climate.ambr @@ -171,7 +171,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Bathroom Dn', + : 'Bathroom Dn', : list([ , , @@ -203,7 +203,7 @@ }), 'zone_id': '3432579', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -218,7 +218,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Bathroom Dn', + : 'Bathroom Dn', : list([ , , @@ -250,7 +250,7 @@ }), 'zone_id': '3432579', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -265,7 +265,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Dead Zone', + : 'Dead Zone', : list([ , , @@ -296,7 +296,7 @@ }), 'zone_id': '3432521', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -311,7 +311,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Dead Zone', + : 'Dead Zone', : list([ , , @@ -342,7 +342,7 @@ }), 'zone_id': '3432521', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -357,7 +357,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Front Room', + : 'Front Room', : list([ , , @@ -390,7 +390,7 @@ }), 'zone_id': '3432577', }), - 'supported_features': , + : , : 21.0, }), 'context': , @@ -405,7 +405,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Front Room', + : 'Front Room', : list([ , , @@ -438,7 +438,7 @@ }), 'zone_id': '3432577', }), - 'supported_features': , + : , : 21.0, }), 'context': , @@ -453,7 +453,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Kids Room', + : 'Kids Room', : list([ , , @@ -485,7 +485,7 @@ }), 'zone_id': '3449703', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -500,7 +500,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Kids Room', + : 'Kids Room', : list([ , , @@ -532,7 +532,7 @@ }), 'zone_id': '3449703', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -547,7 +547,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Kitchen', + : 'Kitchen', : list([ , , @@ -579,7 +579,7 @@ }), 'zone_id': '3432578', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -594,7 +594,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Kitchen', + : 'Kitchen', : list([ , , @@ -626,7 +626,7 @@ }), 'zone_id': '3432578', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -641,7 +641,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'Main Bedroom', + : 'Main Bedroom', : list([ , , @@ -673,7 +673,7 @@ }), 'zone_id': '3432580', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -688,7 +688,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'Main Bedroom', + : 'Main Bedroom', : list([ , , @@ -720,7 +720,7 @@ }), 'zone_id': '3432580', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -735,7 +735,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Main Room', + : 'Main Room', : list([ , , @@ -767,7 +767,7 @@ }), 'zone_id': '3432576', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -782,7 +782,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Main Room', + : 'Main Room', : list([ , , @@ -814,7 +814,7 @@ }), 'zone_id': '3432576', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -829,12 +829,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.7, - 'friendly_name': 'My Home', + : 'My Home', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : 'eco', @@ -854,7 +854,7 @@ 'mode': 'AutoWithEco', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.my_home', @@ -868,12 +868,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.7, - 'friendly_name': 'My Home', + : 'My Home', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : 'eco', @@ -893,7 +893,7 @@ 'mode': 'AutoWithEco', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.my_home', @@ -907,7 +907,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Spare Room', + : 'Spare Room', : list([ , , @@ -939,7 +939,7 @@ }), 'zone_id': '3450733', }), - 'supported_features': , + : , : 14.0, }), 'context': , @@ -954,7 +954,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Spare Room', + : 'Spare Room', : list([ , , @@ -986,7 +986,7 @@ }), 'zone_id': '3450733', }), - 'supported_features': , + : , : 14.0, }), 'context': , @@ -1001,7 +1001,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Bathroom Dn', + : 'Bathroom Dn', : list([ , , @@ -1033,7 +1033,7 @@ }), 'zone_id': '3432579', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -1048,7 +1048,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Dead Zone', + : 'Dead Zone', : list([ , , @@ -1079,7 +1079,7 @@ }), 'zone_id': '3432521', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1094,7 +1094,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Front Room', + : 'Front Room', : list([ , , @@ -1131,7 +1131,7 @@ }), 'zone_id': '3432577', }), - 'supported_features': , + : , : 21.0, }), 'context': , @@ -1146,7 +1146,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Kids Room', + : 'Kids Room', : list([ , , @@ -1178,7 +1178,7 @@ }), 'zone_id': '3449703', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1193,7 +1193,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Kitchen', + : 'Kitchen', : list([ , , @@ -1225,7 +1225,7 @@ }), 'zone_id': '3432578', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1240,7 +1240,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'Main Bedroom', + : 'Main Bedroom', : list([ , , @@ -1272,7 +1272,7 @@ }), 'zone_id': '3432580', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -1287,7 +1287,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Main Room', + : 'Main Room', : list([ , , @@ -1323,7 +1323,7 @@ }), 'zone_id': '3432576', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1338,12 +1338,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.7, - 'friendly_name': 'My Home', + : 'My Home', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : 'eco', @@ -1363,7 +1363,7 @@ 'mode': 'AutoWithEco', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.my_home', @@ -1377,7 +1377,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Bathroom Dn', + : 'Bathroom Dn', : list([ , , @@ -1409,7 +1409,7 @@ }), 'zone_id': '3432579', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -1424,7 +1424,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Dead Zone', + : 'Dead Zone', : list([ , , @@ -1455,7 +1455,7 @@ }), 'zone_id': '3432521', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1470,7 +1470,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Front Room', + : 'Front Room', : list([ , , @@ -1503,7 +1503,7 @@ }), 'zone_id': '3432577', }), - 'supported_features': , + : , : 21.0, }), 'context': , @@ -1518,7 +1518,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Kids Room', + : 'Kids Room', : list([ , , @@ -1550,7 +1550,7 @@ }), 'zone_id': '3449703', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1565,7 +1565,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Kitchen', + : 'Kitchen', : list([ , , @@ -1597,7 +1597,7 @@ }), 'zone_id': '3432578', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1612,7 +1612,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'Main Bedroom', + : 'Main Bedroom', : list([ , , @@ -1644,7 +1644,7 @@ }), 'zone_id': '3432580', }), - 'supported_features': , + : , : 16.0, }), 'context': , @@ -1659,7 +1659,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Main Room', + : 'Main Room', : list([ , , @@ -1691,7 +1691,7 @@ }), 'zone_id': '3432576', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -1706,12 +1706,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.7, - 'friendly_name': 'My Home', + : 'My Home', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : 'eco', @@ -1731,7 +1731,7 @@ 'mode': 'AutoWithEco', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.my_home', @@ -1745,7 +1745,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Spare Room', + : 'Spare Room', : list([ , , @@ -1777,7 +1777,7 @@ }), 'zone_id': '3450733', }), - 'supported_features': , + : , : 14.0, }), 'context': , @@ -1792,12 +1792,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'My Home', + : 'My Home', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, 'status': dict({ @@ -1809,7 +1809,7 @@ 'mode': 'Heat', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.my_home', @@ -1823,7 +1823,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'THERMOSTAT', + : 'THERMOSTAT', : list([ , , @@ -1855,7 +1855,7 @@ }), 'zone_id': '416856', }), - 'supported_features': , + : , : 21.5, }), 'context': , @@ -1870,12 +1870,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'My Home', + : 'My Home', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : None, @@ -1892,7 +1892,7 @@ 'mode': 'Auto', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.my_home', @@ -1906,7 +1906,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'THERMOSTAT', + : 'THERMOSTAT', : list([ , , @@ -1938,7 +1938,7 @@ }), 'zone_id': '8557539', }), - 'supported_features': , + : , : 21.5, }), 'context': , @@ -1953,7 +1953,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'THERMOSTAT', + : 'THERMOSTAT', : list([ , , @@ -1985,7 +1985,7 @@ }), 'zone_id': '8557541', }), - 'supported_features': , + : , : 21.5, }), 'context': , @@ -2000,7 +2000,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.0, - 'friendly_name': 'Thermostat', + : 'Thermostat', : list([ , , @@ -2032,7 +2032,7 @@ }), 'zone_id': '3454854', }), - 'supported_features': , + : , : 5.0, }), 'context': , @@ -2047,7 +2047,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.0, - 'friendly_name': 'Thermostat 2', + : 'Thermostat 2', : list([ , , @@ -2079,7 +2079,7 @@ }), 'zone_id': '3454855', }), - 'supported_features': , + : , : 20.0, }), 'context': , @@ -2094,12 +2094,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.0, - 'friendly_name': 'Vr**********', + : 'Vr**********', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : None, @@ -2116,7 +2116,7 @@ 'mode': 'Auto', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.vr', @@ -2130,7 +2130,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 15.5, - 'friendly_name': 'Ba******', + : 'Ba******', : list([ , , @@ -2162,7 +2162,7 @@ }), 'zone_id': '10090505', }), - 'supported_features': , + : , : 5.0, }), 'context': , @@ -2177,7 +2177,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 16.0, - 'friendly_name': 'Ka*********', + : 'Ka*********', : list([ , , @@ -2209,7 +2209,7 @@ }), 'zone_id': '10090507', }), - 'supported_features': , + : , : 15.0, }), 'context': , @@ -2224,7 +2224,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 17.0, - 'friendly_name': 'Ka*****', + : 'Ka*****', : list([ , , @@ -2256,7 +2256,7 @@ }), 'zone_id': '10090508', }), - 'supported_features': , + : , : 15.0, }), 'context': , @@ -2271,12 +2271,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 17.1, - 'friendly_name': 'Kl********', + : 'Kl********', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : None, @@ -2296,7 +2296,7 @@ 'mode': 'Auto', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.kl', @@ -2310,7 +2310,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.0, - 'friendly_name': 'Sl********', + : 'Sl********', : list([ , , @@ -2342,7 +2342,7 @@ }), 'zone_id': '10090506', }), - 'supported_features': , + : , : 18.0, }), 'context': , @@ -2357,7 +2357,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Wo*******', + : 'Wo*******', : list([ , , @@ -2389,7 +2389,7 @@ }), 'zone_id': '10090509', }), - 'supported_features': , + : , : 19.0, }), 'context': , @@ -2404,7 +2404,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Main Room', + : 'Main Room', : list([ , , @@ -2436,7 +2436,7 @@ }), 'zone_id': '3432576', }), - 'supported_features': , + : , : 17.0, }), 'context': , @@ -2451,12 +2451,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'My Home', + : 'My Home', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : 'eco', @@ -2476,7 +2476,7 @@ 'mode': 'AutoWithEco', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.my_home', @@ -2490,12 +2490,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Living room', + : 'Living room', : list([ , , ]), - 'icon': 'mdi:thermostat-box', + : 'mdi:thermostat-box', : 35, : 7, : None, @@ -2516,7 +2516,7 @@ 'mode': 'Auto', }), }), - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.living_room', @@ -2530,7 +2530,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Thermostat', + : 'Thermostat', : list([ , , @@ -2562,7 +2562,7 @@ }), 'zone_id': '4187768', }), - 'supported_features': , + : , : 15.0, }), 'context': , diff --git a/tests/components/evohome/snapshots/test_water_heater.ambr b/tests/components/evohome/snapshots/test_water_heater.ambr index 1630da953a2..3ef2448f5b8 100644 --- a/tests/components/evohome/snapshots/test_water_heater.ambr +++ b/tests/components/evohome/snapshots/test_water_heater.ambr @@ -24,7 +24,7 @@ 'attributes': ReadOnlyDict({ : 'on', : 23.0, - 'friendly_name': 'Domestic Hot Water', + : 'Domestic Hot Water', : 60.0, : 43.3, : list([ @@ -52,7 +52,7 @@ 'temperature': 23.0, }), }), - 'supported_features': , + : , : None, : None, : None, @@ -70,7 +70,7 @@ 'attributes': ReadOnlyDict({ : 'on', : 23.0, - 'friendly_name': 'Domestic Hot Water', + : 'Domestic Hot Water', : 60.0, : 43.3, : list([ @@ -98,7 +98,7 @@ 'temperature': 23.0, }), }), - 'supported_features': , + : , : None, : None, : None, diff --git a/tests/components/feedreader/snapshots/test_event.ambr b/tests/components/feedreader/snapshots/test_event.ambr index 18a372e8ac9..5ea2af720ec 100644 --- a/tests/components/feedreader/snapshots/test_event.ambr +++ b/tests/components/feedreader/snapshots/test_event.ambr @@ -7,7 +7,7 @@ : list([ 'feedreader', ]), - 'friendly_name': 'Mock Title', + : 'Mock Title', 'link': 'http://example.org/2003/12/13/atom03', 'title': 'Título', }) @@ -20,7 +20,7 @@ : list([ 'feedreader', ]), - 'friendly_name': 'Mock Title', + : 'Mock Title', 'link': 'http://www.example.com/link/1', 'title': 'Título 1', }) diff --git a/tests/components/filesize/snapshots/test_sensor.ambr b/tests/components/filesize/snapshots/test_sensor.ambr index 811770e6e1f..b76cb0f9dec 100644 --- a/tests/components/filesize/snapshots/test_sensor.ambr +++ b/tests/components/filesize/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[load_platforms0][sensor.mock_file_test_filesize_txt_created-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'mock_file_test_filesize.txt Created', + : 'timestamp', + : 'mock_file_test_filesize.txt Created', }), 'context': , 'entity_id': 'sensor.mock_file_test_filesize_txt_created', @@ -90,8 +90,8 @@ # name: test_sensors[load_platforms0][sensor.mock_file_test_filesize_txt_last_updated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'mock_file_test_filesize.txt Last updated', + : 'timestamp', + : 'mock_file_test_filesize.txt Last updated', }), 'context': , 'entity_id': 'sensor.mock_file_test_filesize_txt_last_updated', @@ -146,10 +146,10 @@ # name: test_sensors[load_platforms0][sensor.mock_file_test_filesize_txt_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'mock_file_test_filesize.txt Size', + : 'data_size', + : 'mock_file_test_filesize.txt Size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_file_test_filesize_txt_size', @@ -204,10 +204,10 @@ # name: test_sensors[load_platforms0][sensor.mock_file_test_filesize_txt_size_in_bytes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'mock_file_test_filesize.txt Size in bytes', + : 'data_size', + : 'mock_file_test_filesize.txt Size in bytes', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_file_test_filesize_txt_size_in_bytes', diff --git a/tests/components/fing/snapshots/test_device_tracker.ambr b/tests/components/fing/snapshots/test_device_tracker.ambr index 3d992422f4f..09af7577e32 100644 --- a/tests/components/fing/snapshots/test_device_tracker.ambr +++ b/tests/components/fing/snapshots/test_device_tracker.ambr @@ -41,8 +41,8 @@ # name: test_all_entities[device_tracker.freebsd_router-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'FreeBSD router', - 'icon': 'mdi:router-network', + : 'FreeBSD router', + : 'mdi:router-network', : list([ 'zone.home', ]), @@ -101,8 +101,8 @@ # name: test_all_entities[device_tracker.pc_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PC_HOME', - 'icon': 'mdi:desktop-tower', + : 'PC_HOME', + : 'mdi:desktop-tower', : list([ 'zone.home', ]), @@ -161,8 +161,8 @@ # name: test_all_entities[device_tracker.samsung_the_frame_55-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung The Frame 55', - 'icon': 'mdi:television', + : 'Samsung The Frame 55', + : 'mdi:television', : list([ 'zone.home', ]), diff --git a/tests/components/firefly_iii/snapshots/test_sensor.ambr b/tests/components/firefly_iii/snapshots/test_sensor.ambr index 4b9bbf42bdd..8c835151f9e 100644 --- a/tests/components/firefly_iii/snapshots/test_sensor.ambr +++ b/tests/components/firefly_iii/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.bills_budget-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Bills Budget', + : 'monetary', + : 'Bills Budget', : , - 'unit_of_measurement': 'AMS', + : 'AMS', }), 'context': , 'entity_id': 'sensor.bills_budget', @@ -96,10 +96,10 @@ # name: test_all_entities[sensor.credit_card_account_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Credit Card Account Balance', + : 'monetary', + : 'Credit Card Account Balance', : , - 'unit_of_measurement': 'AMS', + : 'AMS', }), 'context': , 'entity_id': 'sensor.credit_card_account_balance', @@ -149,7 +149,7 @@ # name: test_all_entities[sensor.credit_card_account_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Credit Card Account Role', + : 'Credit Card Account Role', }), 'context': , 'entity_id': 'sensor.credit_card_account_role', @@ -199,8 +199,8 @@ # name: test_all_entities[sensor.credit_card_account_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Credit Card Account Type', - 'icon': 'mdi:cash-plus', + : 'Credit Card Account Type', + : 'mdi:cash-plus', }), 'context': , 'entity_id': 'sensor.credit_card_account_type', @@ -252,10 +252,10 @@ # name: test_all_entities[sensor.lunch_earned_spent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Lunch Earned/Spent', + : 'monetary', + : 'Lunch Earned/Spent', : , - 'unit_of_measurement': 'AMS', + : 'AMS', }), 'context': , 'entity_id': 'sensor.lunch_earned_spent', @@ -307,10 +307,10 @@ # name: test_all_entities[sensor.my_checking_account_account_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'My checking account Account Balance', + : 'monetary', + : 'My checking account Account Balance', : , - 'unit_of_measurement': 'AMS', + : 'AMS', }), 'context': , 'entity_id': 'sensor.my_checking_account_account_balance', @@ -360,7 +360,7 @@ # name: test_all_entities[sensor.my_checking_account_account_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My checking account Account Role', + : 'My checking account Account Role', }), 'context': , 'entity_id': 'sensor.my_checking_account_account_role', @@ -410,8 +410,8 @@ # name: test_all_entities[sensor.my_checking_account_account_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My checking account Account Type', - 'icon': 'mdi:account-cash', + : 'My checking account Account Type', + : 'mdi:account-cash', }), 'context': , 'entity_id': 'sensor.my_checking_account_account_type', @@ -463,10 +463,10 @@ # name: test_all_entities[sensor.savings_account_account_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Savings Account Account Balance', + : 'monetary', + : 'Savings Account Account Balance', : , - 'unit_of_measurement': 'AMS', + : 'AMS', }), 'context': , 'entity_id': 'sensor.savings_account_account_balance', @@ -516,7 +516,7 @@ # name: test_all_entities[sensor.savings_account_account_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Savings Account Account Role', + : 'Savings Account Account Role', }), 'context': , 'entity_id': 'sensor.savings_account_account_role', @@ -566,8 +566,8 @@ # name: test_all_entities[sensor.savings_account_account_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Savings Account Account Type', - 'icon': 'mdi:cash-minus', + : 'Savings Account Account Type', + : 'mdi:cash-minus', }), 'context': , 'entity_id': 'sensor.savings_account_account_type', diff --git a/tests/components/fitbit/snapshots/test_sensor.ambr b/tests/components/fitbit/snapshots/test_sensor.ambr index 12f357578d4..882013dd093 100644 --- a/tests/components/fitbit/snapshots/test_sensor.ambr +++ b/tests/components/fitbit/snapshots/test_sensor.ambr @@ -3,11 +3,11 @@ tuple( '99', ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Water', - 'icon': 'mdi:cup-water', + : 'Data provided by Fitbit.com', + : 'First L. Water', + : 'mdi:cup-water', : , - 'unit_of_measurement': , + : , }), ) # --- @@ -15,11 +15,11 @@ tuple( '1600', ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Calories in', - 'icon': 'mdi:food-apple', + : 'Data provided by Fitbit.com', + : 'First L. Calories in', + : 'mdi:food-apple', : , - 'unit_of_measurement': 'cal', + : 'cal', }), ) # --- @@ -27,11 +27,11 @@ tuple( '99', ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Water', - 'icon': 'mdi:cup-water', + : 'Data provided by Fitbit.com', + : 'First L. Water', + : 'mdi:cup-water', : , - 'unit_of_measurement': , + : , }), ) # --- @@ -39,11 +39,11 @@ tuple( '1600', ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Calories in', - 'icon': 'mdi:food-apple', + : 'Data provided by Fitbit.com', + : 'First L. Calories in', + : 'mdi:food-apple', : , - 'unit_of_measurement': 'cal', + : 'cal', }), ) # --- @@ -89,11 +89,11 @@ # name: test_sensors[sensor.first_l_activity_calories-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Activity calories', - 'icon': 'mdi:fire', + : 'Data provided by Fitbit.com', + : 'First L. Activity calories', + : 'mdi:fire', : , - 'unit_of_measurement': 'cal', + : 'cal', }), 'context': , 'entity_id': 'sensor.first_l_activity_calories', @@ -145,11 +145,11 @@ # name: test_sensors[sensor.first_l_awakenings_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Awakenings count', - 'icon': 'mdi:sleep', + : 'Data provided by Fitbit.com', + : 'First L. Awakenings count', + : 'mdi:sleep', : , - 'unit_of_measurement': 'times awaken', + : 'times awaken', }), 'context': , 'entity_id': 'sensor.first_l_awakenings_count', @@ -201,11 +201,11 @@ # name: test_sensors[sensor.first_l_bmi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. BMI', - 'icon': 'mdi:human', + : 'Data provided by Fitbit.com', + : 'First L. BMI', + : 'mdi:human', : , - 'unit_of_measurement': 'BMI', + : 'BMI', }), 'context': , 'entity_id': 'sensor.first_l_bmi', @@ -257,11 +257,11 @@ # name: test_sensors[sensor.first_l_body_fat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Body fat', - 'icon': 'mdi:human', + : 'Data provided by Fitbit.com', + : 'First L. Body fat', + : 'mdi:human', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.first_l_body_fat', @@ -313,11 +313,11 @@ # name: test_sensors[sensor.first_l_calories-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Calories', - 'icon': 'mdi:fire', + : 'Data provided by Fitbit.com', + : 'First L. Calories', + : 'mdi:fire', : , - 'unit_of_measurement': 'cal', + : 'cal', }), 'context': , 'entity_id': 'sensor.first_l_calories', @@ -369,11 +369,11 @@ # name: test_sensors[sensor.first_l_calories_bmr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Calories BMR', - 'icon': 'mdi:fire', + : 'Data provided by Fitbit.com', + : 'First L. Calories BMR', + : 'mdi:fire', : , - 'unit_of_measurement': 'cal', + : 'cal', }), 'context': , 'entity_id': 'sensor.first_l_calories_bmr', @@ -425,11 +425,11 @@ # name: test_sensors[sensor.first_l_calories_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Calories in', - 'icon': 'mdi:food-apple', + : 'Data provided by Fitbit.com', + : 'First L. Calories in', + : 'mdi:food-apple', : , - 'unit_of_measurement': 'cal', + : 'cal', }), 'context': , 'entity_id': 'sensor.first_l_calories_in', @@ -484,12 +484,12 @@ # name: test_sensors[sensor.first_l_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'distance', - 'friendly_name': 'First L. Distance', - 'icon': 'mdi:map-marker', + : 'Data provided by Fitbit.com', + : 'distance', + : 'First L. Distance', + : 'mdi:map-marker', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_distance', @@ -544,12 +544,12 @@ # name: test_sensors[sensor.first_l_elevation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'distance', - 'friendly_name': 'First L. Elevation', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'distance', + : 'First L. Elevation', + : 'mdi:walk', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_elevation', @@ -601,11 +601,11 @@ # name: test_sensors[sensor.first_l_floors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Floors', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'First L. Floors', + : 'mdi:walk', : , - 'unit_of_measurement': 'floors', + : 'floors', }), 'context': , 'entity_id': 'sensor.first_l_floors', @@ -660,12 +660,12 @@ # name: test_sensors[sensor.first_l_minutes_after_wakeup-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Minutes after wakeup', - 'icon': 'mdi:sleep', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Minutes after wakeup', + : 'mdi:sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_minutes_after_wakeup', @@ -720,12 +720,12 @@ # name: test_sensors[sensor.first_l_minutes_fairly_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Minutes fairly active', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Minutes fairly active', + : 'mdi:walk', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_minutes_fairly_active', @@ -780,12 +780,12 @@ # name: test_sensors[sensor.first_l_minutes_lightly_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Minutes lightly active', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Minutes lightly active', + : 'mdi:walk', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_minutes_lightly_active', @@ -840,12 +840,12 @@ # name: test_sensors[sensor.first_l_minutes_sedentary-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Minutes sedentary', - 'icon': 'mdi:seat-recline-normal', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Minutes sedentary', + : 'mdi:seat-recline-normal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_minutes_sedentary', @@ -900,12 +900,12 @@ # name: test_sensors[sensor.first_l_minutes_very_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Minutes very active', - 'icon': 'mdi:run', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Minutes very active', + : 'mdi:run', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_minutes_very_active', @@ -957,11 +957,11 @@ # name: test_sensors[sensor.first_l_resting_heart_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Resting heart rate', - 'icon': 'mdi:heart-pulse', + : 'Data provided by Fitbit.com', + : 'First L. Resting heart rate', + : 'mdi:heart-pulse', : , - 'unit_of_measurement': 'bpm', + : 'bpm', }), 'context': , 'entity_id': 'sensor.first_l_resting_heart_rate', @@ -1013,11 +1013,11 @@ # name: test_sensors[sensor.first_l_sleep_efficiency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Sleep efficiency', - 'icon': 'mdi:sleep', + : 'Data provided by Fitbit.com', + : 'First L. Sleep efficiency', + : 'mdi:sleep', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.first_l_sleep_efficiency', @@ -1072,12 +1072,12 @@ # name: test_sensors[sensor.first_l_sleep_minutes_asleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Sleep minutes asleep', - 'icon': 'mdi:sleep', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Sleep minutes asleep', + : 'mdi:sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_sleep_minutes_asleep', @@ -1132,12 +1132,12 @@ # name: test_sensors[sensor.first_l_sleep_minutes_awake-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Sleep minutes awake', - 'icon': 'mdi:sleep', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Sleep minutes awake', + : 'mdi:sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_sleep_minutes_awake', @@ -1192,12 +1192,12 @@ # name: test_sensors[sensor.first_l_sleep_minutes_to_fall_asleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Sleep minutes to fall asleep', - 'icon': 'mdi:sleep', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Sleep minutes to fall asleep', + : 'mdi:sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_sleep_minutes_to_fall_asleep', @@ -1247,9 +1247,9 @@ # name: test_sensors[sensor.first_l_sleep_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Sleep start time', - 'icon': 'mdi:clock', + : 'Data provided by Fitbit.com', + : 'First L. Sleep start time', + : 'mdi:clock', }), 'context': , 'entity_id': 'sensor.first_l_sleep_start_time', @@ -1304,12 +1304,12 @@ # name: test_sensors[sensor.first_l_sleep_time_in_bed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. Sleep time in bed', - 'icon': 'mdi:bed', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. Sleep time in bed', + : 'mdi:bed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_sleep_time_in_bed', @@ -1361,11 +1361,11 @@ # name: test_sensors[sensor.first_l_steps-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Steps', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'First L. Steps', + : 'mdi:walk', : , - 'unit_of_measurement': 'steps', + : 'steps', }), 'context': , 'entity_id': 'sensor.first_l_steps', @@ -1417,11 +1417,11 @@ # name: test_sensors[sensor.first_l_tracker_activity_calories-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. tracker Activity calories', - 'icon': 'mdi:fire', + : 'Data provided by Fitbit.com', + : 'First L. tracker Activity calories', + : 'mdi:fire', : , - 'unit_of_measurement': 'cal', + : 'cal', }), 'context': , 'entity_id': 'sensor.first_l_tracker_activity_calories', @@ -1473,11 +1473,11 @@ # name: test_sensors[sensor.first_l_tracker_calories-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. tracker Calories', - 'icon': 'mdi:fire', + : 'Data provided by Fitbit.com', + : 'First L. tracker Calories', + : 'mdi:fire', : , - 'unit_of_measurement': 'cal', + : 'cal', }), 'context': , 'entity_id': 'sensor.first_l_tracker_calories', @@ -1532,12 +1532,12 @@ # name: test_sensors[sensor.first_l_tracker_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'distance', - 'friendly_name': 'First L. tracker Distance', - 'icon': 'mdi:map-marker', + : 'Data provided by Fitbit.com', + : 'distance', + : 'First L. tracker Distance', + : 'mdi:map-marker', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_tracker_distance', @@ -1592,12 +1592,12 @@ # name: test_sensors[sensor.first_l_tracker_elevation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'distance', - 'friendly_name': 'First L. tracker Elevation', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'distance', + : 'First L. tracker Elevation', + : 'mdi:walk', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_tracker_elevation', @@ -1649,11 +1649,11 @@ # name: test_sensors[sensor.first_l_tracker_floors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. tracker Floors', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'First L. tracker Floors', + : 'mdi:walk', : , - 'unit_of_measurement': 'floors', + : 'floors', }), 'context': , 'entity_id': 'sensor.first_l_tracker_floors', @@ -1708,12 +1708,12 @@ # name: test_sensors[sensor.first_l_tracker_minutes_fairly_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. tracker Minutes fairly active', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. tracker Minutes fairly active', + : 'mdi:walk', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_tracker_minutes_fairly_active', @@ -1768,12 +1768,12 @@ # name: test_sensors[sensor.first_l_tracker_minutes_lightly_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. tracker Minutes lightly active', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. tracker Minutes lightly active', + : 'mdi:walk', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_tracker_minutes_lightly_active', @@ -1828,12 +1828,12 @@ # name: test_sensors[sensor.first_l_tracker_minutes_sedentary-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. tracker Minutes sedentary', - 'icon': 'mdi:seat-recline-normal', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. tracker Minutes sedentary', + : 'mdi:seat-recline-normal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_tracker_minutes_sedentary', @@ -1888,12 +1888,12 @@ # name: test_sensors[sensor.first_l_tracker_minutes_very_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'duration', - 'friendly_name': 'First L. tracker Minutes very active', - 'icon': 'mdi:run', + : 'Data provided by Fitbit.com', + : 'duration', + : 'First L. tracker Minutes very active', + : 'mdi:run', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_tracker_minutes_very_active', @@ -1945,11 +1945,11 @@ # name: test_sensors[sensor.first_l_tracker_steps-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. tracker Steps', - 'icon': 'mdi:walk', + : 'Data provided by Fitbit.com', + : 'First L. tracker Steps', + : 'mdi:walk', : , - 'unit_of_measurement': 'steps', + : 'steps', }), 'context': , 'entity_id': 'sensor.first_l_tracker_steps', @@ -2001,11 +2001,11 @@ # name: test_sensors[sensor.first_l_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'friendly_name': 'First L. Water', - 'icon': 'mdi:cup-water', + : 'Data provided by Fitbit.com', + : 'First L. Water', + : 'mdi:cup-water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_water', @@ -2060,12 +2060,12 @@ # name: test_sensors[sensor.first_l_weight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Fitbit.com', - 'device_class': 'weight', - 'friendly_name': 'First L. Weight', - 'icon': 'mdi:human', + : 'Data provided by Fitbit.com', + : 'weight', + : 'First L. Weight', + : 'mdi:human', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.first_l_weight', diff --git a/tests/components/flexit_bacnet/snapshots/test_binary_sensor.ambr b/tests/components/flexit_bacnet/snapshots/test_binary_sensor.ambr index 798e8a2bc6e..42159b7358b 100644 --- a/tests/components/flexit_bacnet/snapshots/test_binary_sensor.ambr +++ b/tests/components/flexit_bacnet/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.device_name_air_filter_polluted-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Device Name Air filter polluted', + : 'problem', + : 'Device Name Air filter polluted', }), 'context': , 'entity_id': 'binary_sensor.device_name_air_filter_polluted', diff --git a/tests/components/flexit_bacnet/snapshots/test_climate.ambr b/tests/components/flexit_bacnet/snapshots/test_climate.ambr index c8d0ddd8c96..f9a09accc51 100644 --- a/tests/components/flexit_bacnet/snapshots/test_climate.ambr +++ b/tests/components/flexit_bacnet/snapshots/test_climate.ambr @@ -54,7 +54,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Device Name', + : 'Device Name', : , : list([ , @@ -69,7 +69,7 @@ 'high', 'fireplace', ]), - 'supported_features': , + : , : 0.5, : 22.0, }), diff --git a/tests/components/flexit_bacnet/snapshots/test_number.ambr b/tests/components/flexit_bacnet/snapshots/test_number.ambr index 6885ab58bd6..2534f682fd8 100644 --- a/tests/components/flexit_bacnet/snapshots/test_number.ambr +++ b/tests/components/flexit_bacnet/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_numbers[number.device_name_away_extract_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Away extract fan setpoint', + : 'power_factor', + : 'Device Name Away extract fan setpoint', : 70, : 30, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_away_extract_fan_setpoint', @@ -105,13 +105,13 @@ # name: test_numbers[number.device_name_away_supply_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Away supply fan setpoint', + : 'power_factor', + : 'Device Name Away supply fan setpoint', : 74, : 30, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_away_supply_fan_setpoint', @@ -166,13 +166,13 @@ # name: test_numbers[number.device_name_cooker_hood_extract_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Cooker hood extract fan setpoint', + : 'power_factor', + : 'Device Name Cooker hood extract fan setpoint', : 100, : 30, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_cooker_hood_extract_fan_setpoint', @@ -227,13 +227,13 @@ # name: test_numbers[number.device_name_cooker_hood_supply_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Cooker hood supply fan setpoint', + : 'power_factor', + : 'Device Name Cooker hood supply fan setpoint', : 100, : 30, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_cooker_hood_supply_fan_setpoint', @@ -288,13 +288,13 @@ # name: test_numbers[number.device_name_fireplace_extract_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Fireplace extract fan setpoint', + : 'power_factor', + : 'Device Name Fireplace extract fan setpoint', : 100, : 30, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_fireplace_extract_fan_setpoint', @@ -349,13 +349,13 @@ # name: test_numbers[number.device_name_fireplace_mode_runtime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Device Name Fireplace mode runtime', + : 'duration', + : 'Device Name Fireplace mode runtime', : 360, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.device_name_fireplace_mode_runtime', @@ -410,13 +410,13 @@ # name: test_numbers[number.device_name_fireplace_supply_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Fireplace supply fan setpoint', + : 'power_factor', + : 'Device Name Fireplace supply fan setpoint', : 100, : 30, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_fireplace_supply_fan_setpoint', @@ -471,13 +471,13 @@ # name: test_numbers[number.device_name_high_extract_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name High extract fan setpoint', + : 'power_factor', + : 'Device Name High extract fan setpoint', : 100, : 70, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_high_extract_fan_setpoint', @@ -532,13 +532,13 @@ # name: test_numbers[number.device_name_high_supply_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name High supply fan setpoint', + : 'power_factor', + : 'Device Name High supply fan setpoint', : 100, : 74, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_high_supply_fan_setpoint', @@ -593,13 +593,13 @@ # name: test_numbers[number.device_name_home_extract_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Home extract fan setpoint', + : 'power_factor', + : 'Device Name Home extract fan setpoint', : 100, : 40, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_home_extract_fan_setpoint', @@ -654,13 +654,13 @@ # name: test_numbers[number.device_name_home_supply_fan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Name Home supply fan setpoint', + : 'power_factor', + : 'Device Name Home supply fan setpoint', : 100, : 42, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_name_home_supply_fan_setpoint', diff --git a/tests/components/flexit_bacnet/snapshots/test_sensor.ambr b/tests/components/flexit_bacnet/snapshots/test_sensor.ambr index 3798c23987d..5e1fb88d2c3 100644 --- a/tests/components/flexit_bacnet/snapshots/test_sensor.ambr +++ b/tests/components/flexit_bacnet/snapshots/test_sensor.ambr @@ -44,9 +44,9 @@ # name: test_sensors[sensor.device_name_air_filter_operating_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Name Air filter operating time', + : 'Device Name Air filter operating time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_air_filter_operating_time', @@ -99,9 +99,9 @@ # name: test_sensors[sensor.device_name_electric_heater_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Name Electric heater power', - 'unit_of_measurement': , + : 'power', + : 'Device Name Electric heater power', + : , }), 'context': , 'entity_id': 'sensor.device_name_electric_heater_power', @@ -153,9 +153,9 @@ # name: test_sensors[sensor.device_name_exhaust_air_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Name Exhaust air fan', + : 'Device Name Exhaust air fan', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.device_name_exhaust_air_fan', @@ -207,9 +207,9 @@ # name: test_sensors[sensor.device_name_exhaust_air_fan_control_signal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Name Exhaust air fan control signal', + : 'Device Name Exhaust air fan control signal', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_name_exhaust_air_fan_control_signal', @@ -264,10 +264,10 @@ # name: test_sensors[sensor.device_name_exhaust_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device Name Exhaust air temperature', + : 'temperature', + : 'Device Name Exhaust air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_exhaust_air_temperature', @@ -322,10 +322,10 @@ # name: test_sensors[sensor.device_name_extract_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device Name Extract air temperature', + : 'temperature', + : 'Device Name Extract air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_extract_air_temperature', @@ -380,10 +380,10 @@ # name: test_sensors[sensor.device_name_fireplace_ventilation_remaining_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Device Name Fireplace ventilation remaining duration', + : 'duration', + : 'Device Name Fireplace ventilation remaining duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_fireplace_ventilation_remaining_duration', @@ -435,9 +435,9 @@ # name: test_sensors[sensor.device_name_heat_exchanger_efficiency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Name Heat exchanger efficiency', + : 'Device Name Heat exchanger efficiency', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_name_heat_exchanger_efficiency', @@ -489,9 +489,9 @@ # name: test_sensors[sensor.device_name_heat_exchanger_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Name Heat exchanger speed', + : 'Device Name Heat exchanger speed', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_name_heat_exchanger_speed', @@ -546,10 +546,10 @@ # name: test_sensors[sensor.device_name_outside_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device Name Outside air temperature', + : 'temperature', + : 'Device Name Outside air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_outside_air_temperature', @@ -604,10 +604,10 @@ # name: test_sensors[sensor.device_name_rapid_ventilation_remaining_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Device Name Rapid ventilation remaining duration', + : 'duration', + : 'Device Name Rapid ventilation remaining duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_rapid_ventilation_remaining_duration', @@ -662,10 +662,10 @@ # name: test_sensors[sensor.device_name_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device Name Room temperature', + : 'temperature', + : 'Device Name Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_room_temperature', @@ -717,9 +717,9 @@ # name: test_sensors[sensor.device_name_supply_air_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Name Supply air fan', + : 'Device Name Supply air fan', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.device_name_supply_air_fan', @@ -771,9 +771,9 @@ # name: test_sensors[sensor.device_name_supply_air_fan_control_signal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Name Supply air fan control signal', + : 'Device Name Supply air fan control signal', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_name_supply_air_fan_control_signal', @@ -828,10 +828,10 @@ # name: test_sensors[sensor.device_name_supply_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device Name Supply air temperature', + : 'temperature', + : 'Device Name Supply air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_supply_air_temperature', diff --git a/tests/components/flexit_bacnet/snapshots/test_switch.ambr b/tests/components/flexit_bacnet/snapshots/test_switch.ambr index 00339424267..8407062a719 100644 --- a/tests/components/flexit_bacnet/snapshots/test_switch.ambr +++ b/tests/components/flexit_bacnet/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switches[switch.device_name_cooker_hood_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Device Name Cooker hood mode', + : 'switch', + : 'Device Name Cooker hood mode', }), 'context': , 'entity_id': 'switch.device_name_cooker_hood_mode', @@ -90,8 +90,8 @@ # name: test_switches[switch.device_name_electric_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Device Name Electric heater', + : 'switch', + : 'Device Name Electric heater', }), 'context': , 'entity_id': 'switch.device_name_electric_heater', @@ -104,8 +104,8 @@ # name: test_switches_implementation[switch.device_name_electric_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Device Name Electric heater', + : 'switch', + : 'Device Name Electric heater', }), 'context': , 'entity_id': 'switch.device_name_electric_heater', diff --git a/tests/components/flume/snapshots/test_sensor.ambr b/tests/components/flume/snapshots/test_sensor.ambr index 7e485eb969f..ea210af0676 100644 --- a/tests/components/flume/snapshots/test_sensor.ambr +++ b/tests/components/flume/snapshots/test_sensor.ambr @@ -44,11 +44,11 @@ # name: test_sensors[sensor.flume_sensor_sensor_location_24_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Flume API', - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Flume Sensor Sensor Location 24 hours', + : 'Data provided by Flume API', + : 'volume_flow_rate', + : 'Flume Sensor Sensor Location 24 hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flume_sensor_sensor_location_24_hours', @@ -103,10 +103,10 @@ # name: test_sensors[sensor.flume_sensor_sensor_location_30_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Flume API', - 'friendly_name': 'Flume Sensor Sensor Location 30 days', + : 'Data provided by Flume API', + : 'Flume Sensor Sensor Location 30 days', : , - 'unit_of_measurement': 'gal/mo', + : 'gal/mo', }), 'context': , 'entity_id': 'sensor.flume_sensor_sensor_location_30_days', @@ -161,11 +161,11 @@ # name: test_sensors[sensor.flume_sensor_sensor_location_60_minutes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Flume API', - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Flume Sensor Sensor Location 60 minutes', + : 'Data provided by Flume API', + : 'volume_flow_rate', + : 'Flume Sensor Sensor Location 60 minutes', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flume_sensor_sensor_location_60_minutes', @@ -220,11 +220,11 @@ # name: test_sensors[sensor.flume_sensor_sensor_location_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Flume API', - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Flume Sensor Sensor Location Current', + : 'Data provided by Flume API', + : 'volume_flow_rate', + : 'Flume Sensor Sensor Location Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flume_sensor_sensor_location_current', @@ -279,11 +279,11 @@ # name: test_sensors[sensor.flume_sensor_sensor_location_current_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Flume API', - 'device_class': 'water', - 'friendly_name': 'Flume Sensor Sensor Location Current day', + : 'Data provided by Flume API', + : 'water', + : 'Flume Sensor Sensor Location Current day', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flume_sensor_sensor_location_current_day', @@ -338,11 +338,11 @@ # name: test_sensors[sensor.flume_sensor_sensor_location_current_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Flume API', - 'device_class': 'water', - 'friendly_name': 'Flume Sensor Sensor Location Current month', + : 'Data provided by Flume API', + : 'water', + : 'Flume Sensor Sensor Location Current month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flume_sensor_sensor_location_current_month', @@ -397,11 +397,11 @@ # name: test_sensors[sensor.flume_sensor_sensor_location_current_week-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Flume API', - 'device_class': 'water', - 'friendly_name': 'Flume Sensor Sensor Location Current week', + : 'Data provided by Flume API', + : 'water', + : 'Flume Sensor Sensor Location Current week', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flume_sensor_sensor_location_current_week', diff --git a/tests/components/fluss/snapshots/test_button.ambr b/tests/components/fluss/snapshots/test_button.ambr index 57ab8e5eaa3..cd6f9b56d29 100644 --- a/tests/components/fluss/snapshots/test_button.ambr +++ b/tests/components/fluss/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button.device_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 1', + : 'Device 1', }), 'context': , 'entity_id': 'button.device_1', @@ -89,7 +89,7 @@ # name: test_buttons[button.device_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 2', + : 'Device 2', }), 'context': , 'entity_id': 'button.device_2', diff --git a/tests/components/fluss/snapshots/test_cover.ambr b/tests/components/fluss/snapshots/test_cover.ambr index 4f362c17e05..d31052c2697 100644 --- a/tests/components/fluss/snapshots/test_cover.ambr +++ b/tests/components/fluss/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_covers[cover.device_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Device 1', + : 'garage', + : 'Device 1', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.device_1', @@ -92,10 +92,10 @@ # name: test_covers[cover.device_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Device 2', + : 'garage', + : 'Device 2', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.device_2', diff --git a/tests/components/foscam/snapshots/test_number.ambr b/tests/components/foscam/snapshots/test_number.ambr index 1fd101639fd..f5c07a76e63 100644 --- a/tests/components/foscam/snapshots/test_number.ambr +++ b/tests/components/foscam/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_number_entities[number.mock_title_device_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Device volume', + : 'Mock Title Device volume', : 100, : 0, : , @@ -103,7 +103,7 @@ # name: test_number_entities[number.mock_title_speak_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Speak volume', + : 'Mock Title Speak volume', : 100, : 0, : , diff --git a/tests/components/foscam/snapshots/test_switch.ambr b/tests/components/foscam/snapshots/test_switch.ambr index e095ee72dc6..5b438eaa9e2 100644 --- a/tests/components/foscam/snapshots/test_switch.ambr +++ b/tests/components/foscam/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.mock_title_car_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Car detection', + : 'Mock Title Car detection', }), 'context': , 'entity_id': 'switch.mock_title_car_detection', @@ -89,7 +89,7 @@ # name: test_entities[switch.mock_title_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Flip', + : 'Mock Title Flip', }), 'context': , 'entity_id': 'switch.mock_title_flip', @@ -139,7 +139,7 @@ # name: test_entities[switch.mock_title_human_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Human detection', + : 'Mock Title Human detection', }), 'context': , 'entity_id': 'switch.mock_title_human_detection', @@ -189,7 +189,7 @@ # name: test_entities[switch.mock_title_infrared_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Infrared mode', + : 'Mock Title Infrared mode', }), 'context': , 'entity_id': 'switch.mock_title_infrared_mode', @@ -239,7 +239,7 @@ # name: test_entities[switch.mock_title_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Light', + : 'Mock Title Light', }), 'context': , 'entity_id': 'switch.mock_title_light', @@ -289,7 +289,7 @@ # name: test_entities[switch.mock_title_mirror-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Mirror', + : 'Mock Title Mirror', }), 'context': , 'entity_id': 'switch.mock_title_mirror', @@ -339,7 +339,7 @@ # name: test_entities[switch.mock_title_pet_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Pet detection', + : 'Mock Title Pet detection', }), 'context': , 'entity_id': 'switch.mock_title_pet_detection', @@ -389,7 +389,7 @@ # name: test_entities[switch.mock_title_siren_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Siren alarm', + : 'Mock Title Siren alarm', }), 'context': , 'entity_id': 'switch.mock_title_siren_alarm', @@ -439,7 +439,7 @@ # name: test_entities[switch.mock_title_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Sleep mode', + : 'Mock Title Sleep mode', }), 'context': , 'entity_id': 'switch.mock_title_sleep_mode', @@ -489,7 +489,7 @@ # name: test_entities[switch.mock_title_volume_muted-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Volume muted', + : 'Mock Title Volume muted', }), 'context': , 'entity_id': 'switch.mock_title_volume_muted', @@ -539,7 +539,7 @@ # name: test_entities[switch.mock_title_white_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title White light', + : 'Mock Title White light', }), 'context': , 'entity_id': 'switch.mock_title_white_light', diff --git a/tests/components/freshr/snapshots/test_sensor.ambr b/tests/components/freshr/snapshots/test_sensor.ambr index 3d3fd7583c7..1a84460f295 100644 --- a/tests/components/freshr/snapshots/test_sensor.ambr +++ b/tests/components/freshr/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_entities[sensor.fresh_r_air_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Fresh-r Air flow rate', + : 'volume_flow_rate', + : 'Fresh-r Air flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fresh_r_air_flow_rate', @@ -99,10 +99,10 @@ # name: test_entities[sensor.fresh_r_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Fresh-r Carbon dioxide', + : 'carbon_dioxide', + : 'Fresh-r Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.fresh_r_carbon_dioxide', @@ -157,10 +157,10 @@ # name: test_entities[sensor.fresh_r_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Fresh-r Dew point', + : 'temperature', + : 'Fresh-r Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fresh_r_dew_point', @@ -212,10 +212,10 @@ # name: test_entities[sensor.fresh_r_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Fresh-r Humidity', + : 'humidity', + : 'Fresh-r Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fresh_r_humidity', @@ -270,10 +270,10 @@ # name: test_entities[sensor.fresh_r_inside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Fresh-r Inside temperature', + : 'temperature', + : 'Fresh-r Inside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fresh_r_inside_temperature', @@ -328,10 +328,10 @@ # name: test_entities[sensor.fresh_r_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Fresh-r Outside temperature', + : 'temperature', + : 'Fresh-r Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fresh_r_outside_temperature', diff --git a/tests/components/fressnapf_tracker/snapshots/test_binary_sensor.ambr b/tests/components/fressnapf_tracker/snapshots/test_binary_sensor.ambr index 5b2281daa71..5f121222384 100644 --- a/tests/components/fressnapf_tracker/snapshots/test_binary_sensor.ambr +++ b/tests/components/fressnapf_tracker/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_state_entity_device_snapshots[binary_sensor.fluffy_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Fluffy Charging', + : 'battery_charging', + : 'Fluffy Charging', }), 'context': , 'entity_id': 'binary_sensor.fluffy_charging', diff --git a/tests/components/fressnapf_tracker/snapshots/test_device_tracker.ambr b/tests/components/fressnapf_tracker/snapshots/test_device_tracker.ambr index 93e4e6b2ec9..fc5568f903d 100644 --- a/tests/components/fressnapf_tracker/snapshots/test_device_tracker.ambr +++ b/tests/components/fressnapf_tracker/snapshots/test_device_tracker.ambr @@ -41,8 +41,8 @@ # name: test_state_entity_device_snapshots[device_tracker.fluffy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'http://res.cloudinary.com/iot-venture/image/upload/v1717594357/kyaqq7nfitrdvaoakb8s.jpg', - 'friendly_name': 'Fluffy', + : 'http://res.cloudinary.com/iot-venture/image/upload/v1717594357/kyaqq7nfitrdvaoakb8s.jpg', + : 'Fluffy', : 10.0, : list([ ]), diff --git a/tests/components/fressnapf_tracker/snapshots/test_light.ambr b/tests/components/fressnapf_tracker/snapshots/test_light.ambr index bdd638a13a3..ebd6fe669dd 100644 --- a/tests/components/fressnapf_tracker/snapshots/test_light.ambr +++ b/tests/components/fressnapf_tracker/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : 128, : , - 'friendly_name': 'Fluffy Flashlight', + : 'Fluffy Flashlight', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.fluffy_flashlight', diff --git a/tests/components/fressnapf_tracker/snapshots/test_sensor.ambr b/tests/components/fressnapf_tracker/snapshots/test_sensor.ambr index 862a755e7be..f54993a3d2e 100644 --- a/tests/components/fressnapf_tracker/snapshots/test_sensor.ambr +++ b/tests/components/fressnapf_tracker/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_state_entity_device_snapshots[sensor.fluffy_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Fluffy Battery', + : 'battery', + : 'Fluffy Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fluffy_battery', diff --git a/tests/components/fressnapf_tracker/snapshots/test_switch.ambr b/tests/components/fressnapf_tracker/snapshots/test_switch.ambr index b2d9483320b..00bd87a976c 100644 --- a/tests/components/fressnapf_tracker/snapshots/test_switch.ambr +++ b/tests/components/fressnapf_tracker/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_state_entity_device_snapshots[switch.fluffy_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Fluffy Sleep mode', + : 'switch', + : 'Fluffy Sleep mode', }), 'context': , 'entity_id': 'switch.fluffy_sleep_mode', diff --git a/tests/components/fritz/snapshots/test_binary_sensor.ambr b/tests/components/fritz/snapshots/test_binary_sensor.ambr index a599380edb4..8fdabc003dd 100644 --- a/tests/components/fritz/snapshots/test_binary_sensor.ambr +++ b/tests/components/fritz/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_setup[binary_sensor.mock_title_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock Title Connection', + : 'connectivity', + : 'Mock Title Connection', }), 'context': , 'entity_id': 'binary_sensor.mock_title_connection', @@ -90,8 +90,8 @@ # name: test_binary_sensor_setup[binary_sensor.mock_title_link-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'Mock Title Link', + : 'plug', + : 'Mock Title Link', }), 'context': , 'entity_id': 'binary_sensor.mock_title_link', diff --git a/tests/components/fritz/snapshots/test_button.ambr b/tests/components/fritz/snapshots/test_button.ambr index 498f4b9d1bb..fdb313bae7f 100644 --- a/tests/components/fritz/snapshots/test_button.ambr +++ b/tests/components/fritz/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_setup[button.mock_title_cleanup-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Cleanup', + : 'Mock Title Cleanup', }), 'context': , 'entity_id': 'button.mock_title_cleanup', @@ -89,8 +89,8 @@ # name: test_button_setup[button.mock_title_firmware_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'update', - 'friendly_name': 'Mock Title Firmware update', + : 'update', + : 'Mock Title Firmware update', }), 'context': , 'entity_id': 'button.mock_title_firmware_update', @@ -140,8 +140,8 @@ # name: test_button_setup[button.mock_title_reconnect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Mock Title Reconnect', + : 'restart', + : 'Mock Title Reconnect', }), 'context': , 'entity_id': 'button.mock_title_reconnect', @@ -191,8 +191,8 @@ # name: test_button_setup[button.mock_title_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Mock Title Restart', + : 'restart', + : 'Mock Title Restart', }), 'context': , 'entity_id': 'button.mock_title_restart', @@ -242,7 +242,7 @@ # name: test_button_setup[button.printer_wake_on_lan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'printer Wake on LAN', + : 'printer Wake on LAN', }), 'context': , 'entity_id': 'button.printer_wake_on_lan', diff --git a/tests/components/fritz/snapshots/test_sensor.ambr b/tests/components/fritz/snapshots/test_sensor.ambr index d535b883aa0..4a99da84e75 100644 --- a/tests/components/fritz/snapshots/test_sensor.ambr +++ b/tests/components/fritz/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_connection_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Connection uptime', + : 'uptime', + : 'Mock Title Connection uptime', }), 'context': , 'entity_id': 'sensor.mock_title_connection_uptime', @@ -95,10 +95,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Download throughput', + : 'data_rate', + : 'Mock Title Download throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_download_throughput', @@ -148,7 +148,7 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_external_ip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IP', + : 'Mock Title External IP', }), 'context': , 'entity_id': 'sensor.mock_title_external_ip', @@ -198,7 +198,7 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_external_ipv6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IPv6', + : 'Mock Title External IPv6', }), 'context': , 'entity_id': 'sensor.mock_title_external_ipv6', @@ -253,10 +253,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_gb_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB received', + : 'data_size', + : 'Mock Title GB received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_received', @@ -311,10 +311,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_gb_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB sent', + : 'data_size', + : 'Mock Title GB sent', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_sent', @@ -364,8 +364,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_link_download_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_noise_margin', @@ -415,8 +415,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_link_download_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_power_attenuation', @@ -469,9 +469,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_link_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_download_throughput', @@ -521,8 +521,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_link_upload_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_noise_margin', @@ -572,8 +572,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_link_upload_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_power_attenuation', @@ -626,9 +626,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_link_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_throughput', @@ -681,9 +681,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_max_connection_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_download_throughput', @@ -736,9 +736,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_max_connection_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_upload_throughput', @@ -793,10 +793,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Upload throughput', + : 'data_rate', + : 'Mock Title Upload throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_upload_throughput', @@ -846,8 +846,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values1][sensor.mock_title_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Uptime', + : 'uptime', + : 'Mock Title Uptime', }), 'context': , 'entity_id': 'sensor.mock_title_uptime', @@ -897,8 +897,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_connection_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Connection uptime', + : 'uptime', + : 'Mock Title Connection uptime', }), 'context': , 'entity_id': 'sensor.mock_title_connection_uptime', @@ -953,10 +953,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Download throughput', + : 'data_rate', + : 'Mock Title Download throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_download_throughput', @@ -1006,7 +1006,7 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_external_ip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IP', + : 'Mock Title External IP', }), 'context': , 'entity_id': 'sensor.mock_title_external_ip', @@ -1056,7 +1056,7 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_external_ipv6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IPv6', + : 'Mock Title External IPv6', }), 'context': , 'entity_id': 'sensor.mock_title_external_ipv6', @@ -1111,10 +1111,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_gb_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB received', + : 'data_size', + : 'Mock Title GB received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_received', @@ -1169,10 +1169,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_gb_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB sent', + : 'data_size', + : 'Mock Title GB sent', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_sent', @@ -1222,8 +1222,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_link_download_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_noise_margin', @@ -1273,8 +1273,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_link_download_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_power_attenuation', @@ -1327,9 +1327,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_link_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_download_throughput', @@ -1379,8 +1379,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_link_upload_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_noise_margin', @@ -1430,8 +1430,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_link_upload_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_power_attenuation', @@ -1484,9 +1484,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_link_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_throughput', @@ -1539,9 +1539,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_max_connection_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_download_throughput', @@ -1594,9 +1594,9 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_max_connection_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_upload_throughput', @@ -1651,10 +1651,10 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Upload throughput', + : 'data_rate', + : 'Mock Title Upload throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_upload_throughput', @@ -1704,8 +1704,8 @@ # name: test_sensor_cpu_temp_not_supported[None-return_values2][sensor.mock_title_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Uptime', + : 'uptime', + : 'Mock Title Uptime', }), 'context': , 'entity_id': 'sensor.mock_title_uptime', @@ -1755,8 +1755,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_connection_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Connection uptime', + : 'uptime', + : 'Mock Title Connection uptime', }), 'context': , 'entity_id': 'sensor.mock_title_connection_uptime', @@ -1811,10 +1811,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Download throughput', + : 'data_rate', + : 'Mock Title Download throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_download_throughput', @@ -1864,7 +1864,7 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_external_ip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IP', + : 'Mock Title External IP', }), 'context': , 'entity_id': 'sensor.mock_title_external_ip', @@ -1914,7 +1914,7 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_external_ipv6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IPv6', + : 'Mock Title External IPv6', }), 'context': , 'entity_id': 'sensor.mock_title_external_ipv6', @@ -1969,10 +1969,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_gb_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB received', + : 'data_size', + : 'Mock Title GB received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_received', @@ -2027,10 +2027,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_gb_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB sent', + : 'data_size', + : 'Mock Title GB sent', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_sent', @@ -2080,8 +2080,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_link_download_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_noise_margin', @@ -2131,8 +2131,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_link_download_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_power_attenuation', @@ -2185,9 +2185,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_link_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_download_throughput', @@ -2237,8 +2237,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_link_upload_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_noise_margin', @@ -2288,8 +2288,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_link_upload_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_power_attenuation', @@ -2342,9 +2342,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_link_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_throughput', @@ -2397,9 +2397,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_max_connection_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_download_throughput', @@ -2452,9 +2452,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_max_connection_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_upload_throughput', @@ -2509,10 +2509,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Upload throughput', + : 'data_rate', + : 'Mock Title Upload throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_upload_throughput', @@ -2562,8 +2562,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect0-None][sensor.mock_title_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Uptime', + : 'uptime', + : 'Mock Title Uptime', }), 'context': , 'entity_id': 'sensor.mock_title_uptime', @@ -2613,8 +2613,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_connection_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Connection uptime', + : 'uptime', + : 'Mock Title Connection uptime', }), 'context': , 'entity_id': 'sensor.mock_title_connection_uptime', @@ -2669,10 +2669,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Download throughput', + : 'data_rate', + : 'Mock Title Download throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_download_throughput', @@ -2722,7 +2722,7 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_external_ip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IP', + : 'Mock Title External IP', }), 'context': , 'entity_id': 'sensor.mock_title_external_ip', @@ -2772,7 +2772,7 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_external_ipv6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IPv6', + : 'Mock Title External IPv6', }), 'context': , 'entity_id': 'sensor.mock_title_external_ipv6', @@ -2827,10 +2827,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_gb_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB received', + : 'data_size', + : 'Mock Title GB received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_received', @@ -2885,10 +2885,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_gb_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB sent', + : 'data_size', + : 'Mock Title GB sent', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_sent', @@ -2938,8 +2938,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_link_download_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_noise_margin', @@ -2989,8 +2989,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_link_download_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_power_attenuation', @@ -3043,9 +3043,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_link_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_download_throughput', @@ -3095,8 +3095,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_link_upload_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_noise_margin', @@ -3146,8 +3146,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_link_upload_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_power_attenuation', @@ -3200,9 +3200,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_link_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_throughput', @@ -3255,9 +3255,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_max_connection_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_download_throughput', @@ -3310,9 +3310,9 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_max_connection_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_upload_throughput', @@ -3367,10 +3367,10 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Upload throughput', + : 'data_rate', + : 'Mock Title Upload throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_upload_throughput', @@ -3420,8 +3420,8 @@ # name: test_sensor_cpu_temp_not_supported[side_effect3-None][sensor.mock_title_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Uptime', + : 'uptime', + : 'Mock Title Uptime', }), 'context': , 'entity_id': 'sensor.mock_title_uptime', @@ -3471,8 +3471,8 @@ # name: test_sensor_setup[sensor.mock_title_connection_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Connection uptime', + : 'uptime', + : 'Mock Title Connection uptime', }), 'context': , 'entity_id': 'sensor.mock_title_connection_uptime', @@ -3527,10 +3527,10 @@ # name: test_sensor_setup[sensor.mock_title_cpu_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title CPU temperature', + : 'temperature', + : 'Mock Title CPU temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_cpu_temperature', @@ -3585,10 +3585,10 @@ # name: test_sensor_setup[sensor.mock_title_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Download throughput', + : 'data_rate', + : 'Mock Title Download throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_download_throughput', @@ -3638,7 +3638,7 @@ # name: test_sensor_setup[sensor.mock_title_external_ip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IP', + : 'Mock Title External IP', }), 'context': , 'entity_id': 'sensor.mock_title_external_ip', @@ -3688,7 +3688,7 @@ # name: test_sensor_setup[sensor.mock_title_external_ipv6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title External IPv6', + : 'Mock Title External IPv6', }), 'context': , 'entity_id': 'sensor.mock_title_external_ipv6', @@ -3743,10 +3743,10 @@ # name: test_sensor_setup[sensor.mock_title_gb_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB received', + : 'data_size', + : 'Mock Title GB received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_received', @@ -3801,10 +3801,10 @@ # name: test_sensor_setup[sensor.mock_title_gb_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title GB sent', + : 'data_size', + : 'Mock Title GB sent', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_gb_sent', @@ -3854,8 +3854,8 @@ # name: test_sensor_setup[sensor.mock_title_link_download_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_noise_margin', @@ -3905,8 +3905,8 @@ # name: test_sensor_setup[sensor.mock_title_link_download_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link download power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link download power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_download_power_attenuation', @@ -3959,9 +3959,9 @@ # name: test_sensor_setup[sensor.mock_title_link_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_download_throughput', @@ -4011,8 +4011,8 @@ # name: test_sensor_setup[sensor.mock_title_link_upload_noise_margin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload noise margin', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload noise margin', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_noise_margin', @@ -4062,8 +4062,8 @@ # name: test_sensor_setup[sensor.mock_title_link_upload_power_attenuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Link upload power attenuation', - 'unit_of_measurement': 'dB', + : 'Mock Title Link upload power attenuation', + : 'dB', }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_power_attenuation', @@ -4116,9 +4116,9 @@ # name: test_sensor_setup[sensor.mock_title_link_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Link upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Link upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_link_upload_throughput', @@ -4171,9 +4171,9 @@ # name: test_sensor_setup[sensor.mock_title_max_connection_download_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection download throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection download throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_download_throughput', @@ -4226,9 +4226,9 @@ # name: test_sensor_setup[sensor.mock_title_max_connection_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Max connection upload throughput', - 'unit_of_measurement': , + : 'data_rate', + : 'Mock Title Max connection upload throughput', + : , }), 'context': , 'entity_id': 'sensor.mock_title_max_connection_upload_throughput', @@ -4283,10 +4283,10 @@ # name: test_sensor_setup[sensor.mock_title_upload_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Upload throughput', + : 'data_rate', + : 'Mock Title Upload throughput', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_upload_throughput', @@ -4336,8 +4336,8 @@ # name: test_sensor_setup[sensor.mock_title_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Title Uptime', + : 'uptime', + : 'Mock Title Uptime', }), 'context': , 'entity_id': 'sensor.mock_title_uptime', diff --git a/tests/components/fritz/snapshots/test_switch.ambr b/tests/components/fritz/snapshots/test_switch.ambr index c583bd6cdf3..d3987a52715 100644 --- a/tests/components/fritz/snapshots/test_switch.ambr +++ b/tests/components/fritz/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch_setup[fc_data0][switch.mock_title_port_forward_test_port_mapping-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping', @@ -90,8 +90,8 @@ # name: test_switch_setup[fc_data0][switch.mock_title_port_forward_test_port_mapping_81-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping 81', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping 81', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping_81', @@ -141,8 +141,8 @@ # name: test_switch_setup[fc_data0][switch.mock_title_wi_fi_guest-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Guest', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Guest', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_guest', @@ -192,8 +192,8 @@ # name: test_switch_setup[fc_data0][switch.mock_title_wi_fi_main_2_4ghz-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Main 2.4Ghz', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Main 2.4Ghz', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_main_2_4ghz', @@ -243,7 +243,7 @@ # name: test_switch_setup[fc_data0][switch.printer_internet_access-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'printer Internet access', + : 'printer Internet access', }), 'context': , 'entity_id': 'switch.printer_internet_access', @@ -293,8 +293,8 @@ # name: test_switch_setup[fc_data1][switch.mock_title_port_forward_test_port_mapping-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping', @@ -344,8 +344,8 @@ # name: test_switch_setup[fc_data1][switch.mock_title_port_forward_test_port_mapping_81-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping 81', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping 81', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping_81', @@ -395,8 +395,8 @@ # name: test_switch_setup[fc_data1][switch.mock_title_wi_fi_guest-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Guest', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Guest', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_guest', @@ -446,8 +446,8 @@ # name: test_switch_setup[fc_data1][switch.mock_title_wi_fi_main_2_4ghz-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Main 2.4Ghz', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Main 2.4Ghz', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_main_2_4ghz', @@ -497,7 +497,7 @@ # name: test_switch_setup[fc_data1][switch.printer_internet_access-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'printer Internet access', + : 'printer Internet access', }), 'context': , 'entity_id': 'switch.printer_internet_access', @@ -547,8 +547,8 @@ # name: test_switch_setup[fc_data2][switch.mock_title_port_forward_test_port_mapping-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping', @@ -598,8 +598,8 @@ # name: test_switch_setup[fc_data2][switch.mock_title_port_forward_test_port_mapping_81-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping 81', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping 81', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping_81', @@ -649,8 +649,8 @@ # name: test_switch_setup[fc_data2][switch.mock_title_wi_fi_guest-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Guest', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Guest', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_guest', @@ -700,8 +700,8 @@ # name: test_switch_setup[fc_data2][switch.mock_title_wi_fi_main_2_4ghz-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Main 2.4Ghz', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Main 2.4Ghz', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_main_2_4ghz', @@ -751,7 +751,7 @@ # name: test_switch_setup[fc_data2][switch.printer_internet_access-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'printer Internet access', + : 'printer Internet access', }), 'context': , 'entity_id': 'switch.printer_internet_access', @@ -802,8 +802,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'deflection_to_number': '+1234657890', - 'friendly_name': 'Mock Title Call deflection 0', - 'icon': 'mdi:phone-forward', + : 'Mock Title Call deflection 0', + : 'mdi:phone-forward', 'mode': 'Immediately', 'number': None, 'outgoing': None, @@ -858,8 +858,8 @@ # name: test_switch_setup[fc_data3][switch.mock_title_port_forward_test_port_mapping-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping', @@ -909,8 +909,8 @@ # name: test_switch_setup[fc_data3][switch.mock_title_port_forward_test_port_mapping_81-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Port forward Test Port Mapping 81', - 'icon': 'mdi:check-network', + : 'Mock Title Port forward Test Port Mapping 81', + : 'mdi:check-network', }), 'context': , 'entity_id': 'switch.mock_title_port_forward_test_port_mapping_81', @@ -960,8 +960,8 @@ # name: test_switch_setup[fc_data3][switch.mock_title_wi_fi_guest-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Guest', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Guest', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_guest', @@ -1011,8 +1011,8 @@ # name: test_switch_setup[fc_data3][switch.mock_title_wi_fi_main_2_4ghz-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Wi-Fi Main 2.4Ghz', - 'icon': 'mdi:wifi', + : 'Mock Title Wi-Fi Main 2.4Ghz', + : 'mdi:wifi', }), 'context': , 'entity_id': 'switch.mock_title_wi_fi_main_2_4ghz', @@ -1062,7 +1062,7 @@ # name: test_switch_setup[fc_data3][switch.printer_internet_access-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'printer Internet access', + : 'printer Internet access', }), 'context': , 'entity_id': 'switch.printer_internet_access', diff --git a/tests/components/fritz/snapshots/test_update.ambr b/tests/components/fritz/snapshots/test_update.ambr index 99a1a12196b..2f850ee635f 100644 --- a/tests/components/fritz/snapshots/test_update.ambr +++ b/tests/components/fritz/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/fritz/icon.png', - 'friendly_name': 'Mock Title FRITZ!OS', + : '/api/brands/integration/fritz/icon.png', + : 'Mock Title FRITZ!OS', : False, : '7.29', : '7.50', : None, : 'http://download.avm.de/fritzbox/fritzbox-7530-ax/deutschland/fritz.os/info_de.txt', : None, - 'supported_features': , + : , : 'FRITZ!OS', : None, }), @@ -103,15 +103,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/fritz/icon.png', - 'friendly_name': 'Mock Title FRITZ!OS', + : '/api/brands/integration/fritz/icon.png', + : 'Mock Title FRITZ!OS', : False, : '7.29', : '7.50', : None, : 'http://download.avm.de/fritzbox/fritzbox-7530-ax/deutschland/fritz.os/info_de.txt', : None, - 'supported_features': , + : , : 'FRITZ!OS', : None, }), @@ -165,15 +165,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/fritz/icon.png', - 'friendly_name': 'Mock Title FRITZ!OS', + : '/api/brands/integration/fritz/icon.png', + : 'Mock Title FRITZ!OS', : False, : '7.29', : '7.29', : None, : None, : None, - 'supported_features': , + : , : 'FRITZ!OS', : None, }), diff --git a/tests/components/fritzbox/snapshots/test_binary_sensor.ambr b/tests/components/fritzbox/snapshots/test_binary_sensor.ambr index d2fe31727a3..7f41a3bc264 100644 --- a/tests/components/fritzbox/snapshots/test_binary_sensor.ambr +++ b/tests/components/fritzbox/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup[binary_sensor.fake_name_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'fake_name Alarm', + : 'window', + : 'fake_name Alarm', }), 'context': , 'entity_id': 'binary_sensor.fake_name_alarm', @@ -90,8 +90,8 @@ # name: test_setup[binary_sensor.fake_name_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'fake_name Battery', + : 'battery', + : 'fake_name Battery', }), 'context': , 'entity_id': 'binary_sensor.fake_name_battery', @@ -141,8 +141,8 @@ # name: test_setup[binary_sensor.fake_name_button_lock_on_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'lock', - 'friendly_name': 'fake_name Button lock on device', + : 'lock', + : 'fake_name Button lock on device', }), 'context': , 'entity_id': 'binary_sensor.fake_name_button_lock_on_device', @@ -192,8 +192,8 @@ # name: test_setup[binary_sensor.fake_name_button_lock_via_ui-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'lock', - 'friendly_name': 'fake_name Button lock via UI', + : 'lock', + : 'fake_name Button lock via UI', }), 'context': , 'entity_id': 'binary_sensor.fake_name_button_lock_via_ui', @@ -243,7 +243,7 @@ # name: test_setup[binary_sensor.fake_name_holiday_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_name Holiday mode', + : 'fake_name Holiday mode', }), 'context': , 'entity_id': 'binary_sensor.fake_name_holiday_mode', @@ -293,7 +293,7 @@ # name: test_setup[binary_sensor.fake_name_open_window_detected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_name Open window detected', + : 'fake_name Open window detected', }), 'context': , 'entity_id': 'binary_sensor.fake_name_open_window_detected', @@ -343,7 +343,7 @@ # name: test_setup[binary_sensor.fake_name_summer_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_name Summer mode', + : 'fake_name Summer mode', }), 'context': , 'entity_id': 'binary_sensor.fake_name_summer_mode', diff --git a/tests/components/fritzbox/snapshots/test_button.ambr b/tests/components/fritzbox/snapshots/test_button.ambr index 977bcb2f12d..06b335fb0d5 100644 --- a/tests/components/fritzbox/snapshots/test_button.ambr +++ b/tests/components/fritzbox/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_setup[button.fake_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_name', + : 'fake_name', }), 'context': , 'entity_id': 'button.fake_name', diff --git a/tests/components/fritzbox/snapshots/test_climate.ambr b/tests/components/fritzbox/snapshots/test_climate.ambr index e611524c6b8..63aebf8ac8c 100644 --- a/tests/components/fritzbox/snapshots/test_climate.ambr +++ b/tests/components/fritzbox/snapshots/test_climate.ambr @@ -52,7 +52,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.0, - 'friendly_name': 'fake_name', + : 'fake_name', : list([ , , @@ -65,7 +65,7 @@ 'comfort', 'boost', ]), - 'supported_features': , + : , : 19.5, }), 'context': , diff --git a/tests/components/fritzbox/snapshots/test_cover.ambr b/tests/components/fritzbox/snapshots/test_cover.ambr index f1a4d089339..1e5ce2f9314 100644 --- a/tests/components/fritzbox/snapshots/test_cover.ambr +++ b/tests/components/fritzbox/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'fake_name', + : 'blind', + : 'fake_name', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.fake_name', diff --git a/tests/components/fritzbox/snapshots/test_light.ambr b/tests/components/fritzbox/snapshots/test_light.ambr index d8edbf7d638..803d964f42e 100644 --- a/tests/components/fritzbox/snapshots/test_light.ambr +++ b/tests/components/fritzbox/snapshots/test_light.ambr @@ -49,7 +49,7 @@ : 100, : , : 2700, - 'friendly_name': 'fake_name', + : 'fake_name', : tuple( 28.395, 65.723, @@ -65,7 +65,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.525, 0.388, @@ -129,7 +129,7 @@ : 100, : , : None, - 'friendly_name': 'fake_name', + : 'fake_name', : tuple( 100, 70.0, @@ -145,7 +145,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.271, 0.609, @@ -205,11 +205,11 @@ 'attributes': ReadOnlyDict({ : 100, : , - 'friendly_name': 'fake_name', + : 'fake_name', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.fake_name', @@ -264,11 +264,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'fake_name', + : 'fake_name', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.fake_name', diff --git a/tests/components/fritzbox/snapshots/test_sensor.ambr b/tests/components/fritzbox/snapshots/test_sensor.ambr index 99be5996790..fd0b21fd0e8 100644 --- a/tests/components/fritzbox/snapshots/test_sensor.ambr +++ b/tests/components/fritzbox/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_setup[FritzDeviceBinarySensorMock][sensor.fake_name_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'fake_name Battery', + : 'battery', + : 'fake_name Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_name_battery', @@ -96,10 +96,10 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'fake_name Battery', + : 'battery', + : 'fake_name Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_name_battery', @@ -152,9 +152,9 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_comfort_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'fake_name Comfort temperature', - 'unit_of_measurement': , + : 'temperature', + : 'fake_name Comfort temperature', + : , }), 'context': , 'entity_id': 'sensor.fake_name_comfort_temperature', @@ -204,7 +204,7 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_current_scheduled_preset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_name Current scheduled preset', + : 'fake_name Current scheduled preset', }), 'context': , 'entity_id': 'sensor.fake_name_current_scheduled_preset', @@ -257,9 +257,9 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_eco_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'fake_name Eco temperature', - 'unit_of_measurement': , + : 'temperature', + : 'fake_name Eco temperature', + : , }), 'context': , 'entity_id': 'sensor.fake_name_eco_temperature', @@ -309,8 +309,8 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_next_scheduled_change_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'fake_name Next scheduled change time', + : 'timestamp', + : 'fake_name Next scheduled change time', }), 'context': , 'entity_id': 'sensor.fake_name_next_scheduled_change_time', @@ -360,7 +360,7 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_next_scheduled_preset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_name Next scheduled preset', + : 'fake_name Next scheduled preset', }), 'context': , 'entity_id': 'sensor.fake_name_next_scheduled_preset', @@ -413,9 +413,9 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_next_scheduled_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'fake_name Next scheduled temperature', - 'unit_of_measurement': , + : 'temperature', + : 'fake_name Next scheduled temperature', + : , }), 'context': , 'entity_id': 'sensor.fake_name_next_scheduled_temperature', @@ -470,10 +470,10 @@ # name: test_setup[FritzDeviceClimateMock][sensor.fake_name_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'fake_name Temperature', + : 'temperature', + : 'fake_name Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fake_name_temperature', @@ -525,10 +525,10 @@ # name: test_setup[FritzDeviceSensorMock][sensor.fake_name_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'fake_name Battery', + : 'battery', + : 'fake_name Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_name_battery', @@ -580,10 +580,10 @@ # name: test_setup[FritzDeviceSensorMock][sensor.fake_name_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'fake_name Humidity', + : 'humidity', + : 'fake_name Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_name_humidity', @@ -638,10 +638,10 @@ # name: test_setup[FritzDeviceSensorMock][sensor.fake_name_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'fake_name Temperature', + : 'temperature', + : 'fake_name Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fake_name_temperature', @@ -696,10 +696,10 @@ # name: test_setup[FritzDeviceSwitchMock][sensor.fake_name_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'fake_name Current', + : 'current', + : 'fake_name Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fake_name_current', @@ -754,10 +754,10 @@ # name: test_setup[FritzDeviceSwitchMock][sensor.fake_name_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'fake_name Energy', + : 'energy', + : 'fake_name Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fake_name_energy', @@ -812,10 +812,10 @@ # name: test_setup[FritzDeviceSwitchMock][sensor.fake_name_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'fake_name Power', + : 'power', + : 'fake_name Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fake_name_power', @@ -870,10 +870,10 @@ # name: test_setup[FritzDeviceSwitchMock][sensor.fake_name_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'fake_name Temperature', + : 'temperature', + : 'fake_name Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fake_name_temperature', @@ -928,10 +928,10 @@ # name: test_setup[FritzDeviceSwitchMock][sensor.fake_name_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'fake_name Voltage', + : 'voltage', + : 'fake_name Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fake_name_voltage', diff --git a/tests/components/fritzbox/snapshots/test_switch.ambr b/tests/components/fritzbox/snapshots/test_switch.ambr index 914a210540a..fa8b02f89c8 100644 --- a/tests/components/fritzbox/snapshots/test_switch.ambr +++ b/tests/components/fritzbox/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_setup[switch.fake_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_name', + : 'fake_name', }), 'context': , 'entity_id': 'switch.fake_name', @@ -89,7 +89,7 @@ # name: test_setup[switch.fake_trigger-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'fake_trigger', + : 'fake_trigger', }), 'context': , 'entity_id': 'switch.fake_trigger', diff --git a/tests/components/fronius/snapshots/test_sensor.ambr b/tests/components/fronius/snapshots/test_sensor.ambr index 31aa892c3b1..4236f3f7bfc 100644 --- a/tests/components/fronius/snapshots/test_sensor.ambr +++ b/tests/components/fronius/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_gen24[sensor.inverter_name_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter name AC current', + : 'current', + : 'Inverter name AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_ac_current', @@ -102,10 +102,10 @@ # name: test_gen24[sensor.inverter_name_ac_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter name AC power', + : 'power', + : 'Inverter name AC power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_ac_power', @@ -160,10 +160,10 @@ # name: test_gen24[sensor.inverter_name_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter name AC voltage', + : 'voltage', + : 'Inverter name AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_ac_voltage', @@ -218,10 +218,10 @@ # name: test_gen24[sensor.inverter_name_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter name DC current', + : 'current', + : 'Inverter name DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_dc_current', @@ -276,10 +276,10 @@ # name: test_gen24[sensor.inverter_name_dc_current_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter name DC current 2', + : 'current', + : 'Inverter name DC current 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_dc_current_2', @@ -334,10 +334,10 @@ # name: test_gen24[sensor.inverter_name_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter name DC voltage', + : 'voltage', + : 'Inverter name DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_dc_voltage', @@ -392,10 +392,10 @@ # name: test_gen24[sensor.inverter_name_dc_voltage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter name DC voltage 2', + : 'voltage', + : 'Inverter name DC voltage 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_dc_voltage_2', @@ -445,7 +445,7 @@ # name: test_gen24[sensor.inverter_name_error_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inverter name Error code', + : 'Inverter name Error code', }), 'context': , 'entity_id': 'sensor.inverter_name_error_code', @@ -594,8 +594,8 @@ # name: test_gen24[sensor.inverter_name_error_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inverter name Error message', + : 'enum', + : 'Inverter name Error message', : list([ 'no_error', 'ac_voltage_too_high', @@ -748,10 +748,10 @@ # name: test_gen24[sensor.inverter_name_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Inverter name Frequency', + : 'frequency', + : 'Inverter name Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_frequency', @@ -801,7 +801,7 @@ # name: test_gen24[sensor.inverter_name_inverter_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inverter name Inverter state', + : 'Inverter name Inverter state', }), 'context': , 'entity_id': 'sensor.inverter_name_inverter_state', @@ -851,7 +851,7 @@ # name: test_gen24[sensor.inverter_name_status_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inverter name Status code', + : 'Inverter name Status code', }), 'context': , 'entity_id': 'sensor.inverter_name_status_code', @@ -912,8 +912,8 @@ # name: test_gen24[sensor.inverter_name_status_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inverter name Status message', + : 'enum', + : 'Inverter name Status message', : list([ 'startup', 'running', @@ -978,10 +978,10 @@ # name: test_gen24[sensor.inverter_name_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter name Total energy', + : 'energy', + : 'Inverter name Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_name_total_energy', @@ -1036,10 +1036,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power', @@ -1094,10 +1094,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_apparent_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power phase 1', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power_phase_1', @@ -1152,10 +1152,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_apparent_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power phase 2', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power_phase_2', @@ -1210,10 +1210,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_apparent_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power phase 3', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power_phase_3', @@ -1268,10 +1268,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_current_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Meter TS 65A-3 Current phase 1', + : 'current', + : 'Smart Meter TS 65A-3 Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_current_phase_1', @@ -1326,10 +1326,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_current_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Meter TS 65A-3 Current phase 2', + : 'current', + : 'Smart Meter TS 65A-3 Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_current_phase_2', @@ -1384,10 +1384,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_current_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Meter TS 65A-3 Current phase 3', + : 'current', + : 'Smart Meter TS 65A-3 Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_current_phase_3', @@ -1442,10 +1442,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_frequency_phase_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Smart Meter TS 65A-3 Frequency phase average', + : 'frequency', + : 'Smart Meter TS 65A-3 Frequency phase average', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_frequency_phase_average', @@ -1495,7 +1495,7 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_meter_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Meter TS 65A-3 Meter location', + : 'Smart Meter TS 65A-3 Meter location', }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_meter_location', @@ -1553,8 +1553,8 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_meter_location_description-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Meter TS 65A-3 Meter location description', + : 'enum', + : 'Smart Meter TS 65A-3 Meter location description', : list([ 'feed_in', 'consumption_path', @@ -1613,8 +1613,8 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor', : , }), 'context': , @@ -1667,8 +1667,8 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_power_factor_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor phase 1', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor phase 1', : , }), 'context': , @@ -1721,8 +1721,8 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_power_factor_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor phase 2', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor phase 2', : , }), 'context': , @@ -1775,8 +1775,8 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_power_factor_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor phase 3', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor phase 3', : , }), 'context': , @@ -1829,9 +1829,9 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_reactive_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Meter TS 65A-3 Reactive energy consumed', + : 'Smart Meter TS 65A-3 Reactive energy consumed', : , - 'unit_of_measurement': 'varh', + : 'varh', }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_energy_consumed', @@ -1883,9 +1883,9 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_reactive_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Meter TS 65A-3 Reactive energy produced', + : 'Smart Meter TS 65A-3 Reactive energy produced', : , - 'unit_of_measurement': 'varh', + : 'varh', }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_energy_produced', @@ -1940,10 +1940,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power', @@ -1998,10 +1998,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_reactive_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power phase 1', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power_phase_1', @@ -2056,10 +2056,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_reactive_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power phase 2', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power_phase_2', @@ -2114,10 +2114,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_reactive_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power phase 3', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power_phase_3', @@ -2172,10 +2172,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy consumed', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_consumed', @@ -2230,10 +2230,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_energy_minus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy minus', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy minus', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_minus', @@ -2288,10 +2288,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_energy_plus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy plus', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy plus', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_plus', @@ -2346,10 +2346,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy produced', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_produced', @@ -2404,10 +2404,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power', + : 'power', + : 'Smart Meter TS 65A-3 Real power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power', @@ -2462,10 +2462,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power phase 1', + : 'power', + : 'Smart Meter TS 65A-3 Real power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power_phase_1', @@ -2520,10 +2520,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power phase 2', + : 'power', + : 'Smart Meter TS 65A-3 Real power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power_phase_2', @@ -2578,10 +2578,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_real_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power phase 3', + : 'power', + : 'Smart Meter TS 65A-3 Real power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power_phase_3', @@ -2636,10 +2636,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_voltage_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 1', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_1', @@ -2694,10 +2694,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_voltage_phase_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 1-2', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 1-2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_1_2', @@ -2752,10 +2752,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_voltage_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 2', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_2', @@ -2810,10 +2810,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_voltage_phase_2_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 2-3', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 2-3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_2_3', @@ -2868,10 +2868,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_voltage_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 3', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_3', @@ -2926,10 +2926,10 @@ # name: test_gen24[sensor.smart_meter_ts_65a_3_voltage_phase_3_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 3-1', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 3-1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_3_1', @@ -2979,7 +2979,7 @@ # name: test_gen24[sensor.solarnet_meter_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Meter mode', + : 'SolarNet Meter mode', }), 'context': , 'entity_id': 'sensor.solarnet_meter_mode', @@ -3034,10 +3034,10 @@ # name: test_gen24[sensor.solarnet_power_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid', + : 'power', + : 'SolarNet Power grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid', @@ -3092,10 +3092,10 @@ # name: test_gen24[sensor.solarnet_power_grid_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid export', + : 'power', + : 'SolarNet Power grid export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid_export', @@ -3150,10 +3150,10 @@ # name: test_gen24[sensor.solarnet_power_grid_import-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid import', + : 'power', + : 'SolarNet Power grid import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid_import', @@ -3208,10 +3208,10 @@ # name: test_gen24[sensor.solarnet_power_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load', + : 'power', + : 'SolarNet Power load', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load', @@ -3266,10 +3266,10 @@ # name: test_gen24[sensor.solarnet_power_load_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load consumed', + : 'power', + : 'SolarNet Power load consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load_consumed', @@ -3324,10 +3324,10 @@ # name: test_gen24[sensor.solarnet_power_load_generated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load generated', + : 'power', + : 'SolarNet Power load generated', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load_generated', @@ -3382,10 +3382,10 @@ # name: test_gen24[sensor.solarnet_power_photovoltaics-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power photovoltaics', + : 'power', + : 'SolarNet Power photovoltaics', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_photovoltaics', @@ -3437,9 +3437,9 @@ # name: test_gen24[sensor.solarnet_relative_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Relative autonomy', + : 'SolarNet Relative autonomy', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarnet_relative_autonomy', @@ -3491,9 +3491,9 @@ # name: test_gen24[sensor.solarnet_relative_self_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Relative self-consumption', + : 'SolarNet Relative self-consumption', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarnet_relative_self_consumption', @@ -3548,10 +3548,10 @@ # name: test_gen24[sensor.solarnet_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarNet Total energy', + : 'energy', + : 'SolarNet Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_total_energy', @@ -3606,10 +3606,10 @@ # name: test_gen24_storage[sensor.byd_battery_box_premium_hv_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'BYD Battery-Box Premium HV DC current', + : 'current', + : 'BYD Battery-Box Premium HV DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.byd_battery_box_premium_hv_dc_current', @@ -3664,10 +3664,10 @@ # name: test_gen24_storage[sensor.byd_battery_box_premium_hv_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'BYD Battery-Box Premium HV DC voltage', + : 'voltage', + : 'BYD Battery-Box Premium HV DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.byd_battery_box_premium_hv_dc_voltage', @@ -3717,8 +3717,8 @@ # name: test_gen24_storage[sensor.byd_battery_box_premium_hv_designed_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BYD Battery-Box Premium HV Designed capacity', - 'unit_of_measurement': , + : 'BYD Battery-Box Premium HV Designed capacity', + : , }), 'context': , 'entity_id': 'sensor.byd_battery_box_premium_hv_designed_capacity', @@ -3768,8 +3768,8 @@ # name: test_gen24_storage[sensor.byd_battery_box_premium_hv_maximum_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BYD Battery-Box Premium HV Maximum capacity', - 'unit_of_measurement': , + : 'BYD Battery-Box Premium HV Maximum capacity', + : , }), 'context': , 'entity_id': 'sensor.byd_battery_box_premium_hv_maximum_capacity', @@ -3821,10 +3821,10 @@ # name: test_gen24_storage[sensor.byd_battery_box_premium_hv_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'BYD Battery-Box Premium HV State of charge', + : 'battery', + : 'BYD Battery-Box Premium HV State of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.byd_battery_box_premium_hv_state_of_charge', @@ -3879,10 +3879,10 @@ # name: test_gen24_storage[sensor.byd_battery_box_premium_hv_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BYD Battery-Box Premium HV Temperature', + : 'temperature', + : 'BYD Battery-Box Premium HV Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.byd_battery_box_premium_hv_temperature', @@ -3937,10 +3937,10 @@ # name: test_gen24_storage[sensor.gen24_storage_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gen24 Storage AC current', + : 'current', + : 'Gen24 Storage AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_ac_current', @@ -3995,10 +3995,10 @@ # name: test_gen24_storage[sensor.gen24_storage_ac_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Gen24 Storage AC power', + : 'power', + : 'Gen24 Storage AC power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_ac_power', @@ -4053,10 +4053,10 @@ # name: test_gen24_storage[sensor.gen24_storage_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Gen24 Storage AC voltage', + : 'voltage', + : 'Gen24 Storage AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_ac_voltage', @@ -4111,10 +4111,10 @@ # name: test_gen24_storage[sensor.gen24_storage_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gen24 Storage DC current', + : 'current', + : 'Gen24 Storage DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_dc_current', @@ -4169,10 +4169,10 @@ # name: test_gen24_storage[sensor.gen24_storage_dc_current_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gen24 Storage DC current 2', + : 'current', + : 'Gen24 Storage DC current 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_dc_current_2', @@ -4227,10 +4227,10 @@ # name: test_gen24_storage[sensor.gen24_storage_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Gen24 Storage DC voltage', + : 'voltage', + : 'Gen24 Storage DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_dc_voltage', @@ -4285,10 +4285,10 @@ # name: test_gen24_storage[sensor.gen24_storage_dc_voltage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Gen24 Storage DC voltage 2', + : 'voltage', + : 'Gen24 Storage DC voltage 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_dc_voltage_2', @@ -4338,7 +4338,7 @@ # name: test_gen24_storage[sensor.gen24_storage_error_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gen24 Storage Error code', + : 'Gen24 Storage Error code', }), 'context': , 'entity_id': 'sensor.gen24_storage_error_code', @@ -4487,8 +4487,8 @@ # name: test_gen24_storage[sensor.gen24_storage_error_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gen24 Storage Error message', + : 'enum', + : 'Gen24 Storage Error message', : list([ 'no_error', 'ac_voltage_too_high', @@ -4641,10 +4641,10 @@ # name: test_gen24_storage[sensor.gen24_storage_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Gen24 Storage Frequency', + : 'frequency', + : 'Gen24 Storage Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_frequency', @@ -4694,7 +4694,7 @@ # name: test_gen24_storage[sensor.gen24_storage_inverter_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gen24 Storage Inverter state', + : 'Gen24 Storage Inverter state', }), 'context': , 'entity_id': 'sensor.gen24_storage_inverter_state', @@ -4744,7 +4744,7 @@ # name: test_gen24_storage[sensor.gen24_storage_status_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gen24 Storage Status code', + : 'Gen24 Storage Status code', }), 'context': , 'entity_id': 'sensor.gen24_storage_status_code', @@ -4805,8 +4805,8 @@ # name: test_gen24_storage[sensor.gen24_storage_status_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gen24 Storage Status message', + : 'enum', + : 'Gen24 Storage Status message', : list([ 'startup', 'running', @@ -4871,10 +4871,10 @@ # name: test_gen24_storage[sensor.gen24_storage_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Gen24 Storage Total energy', + : 'energy', + : 'Gen24 Storage Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gen24_storage_total_energy', @@ -4929,10 +4929,10 @@ # name: test_gen24_storage[sensor.ohmpilot_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ohmpilot Energy consumed', + : 'energy', + : 'Ohmpilot Energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ohmpilot_energy_consumed', @@ -4987,10 +4987,10 @@ # name: test_gen24_storage[sensor.ohmpilot_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Ohmpilot Power', + : 'power', + : 'Ohmpilot Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ohmpilot_power', @@ -5040,7 +5040,7 @@ # name: test_gen24_storage[sensor.ohmpilot_state_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohmpilot State code', + : 'Ohmpilot State code', }), 'context': , 'entity_id': 'sensor.ohmpilot_state_code', @@ -5099,8 +5099,8 @@ # name: test_gen24_storage[sensor.ohmpilot_state_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Ohmpilot State message', + : 'enum', + : 'Ohmpilot State message', : list([ 'up_and_running', 'keep_minimum_temperature', @@ -5163,10 +5163,10 @@ # name: test_gen24_storage[sensor.ohmpilot_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ohmpilot Temperature', + : 'temperature', + : 'Ohmpilot Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ohmpilot_temperature', @@ -5221,10 +5221,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power', @@ -5279,10 +5279,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_apparent_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power phase 1', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power_phase_1', @@ -5337,10 +5337,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_apparent_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power phase 2', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power_phase_2', @@ -5395,10 +5395,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_apparent_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter TS 65A-3 Apparent power phase 3', + : 'apparent_power', + : 'Smart Meter TS 65A-3 Apparent power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_apparent_power_phase_3', @@ -5453,10 +5453,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_current_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Meter TS 65A-3 Current phase 1', + : 'current', + : 'Smart Meter TS 65A-3 Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_current_phase_1', @@ -5511,10 +5511,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_current_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Meter TS 65A-3 Current phase 2', + : 'current', + : 'Smart Meter TS 65A-3 Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_current_phase_2', @@ -5569,10 +5569,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_current_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Meter TS 65A-3 Current phase 3', + : 'current', + : 'Smart Meter TS 65A-3 Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_current_phase_3', @@ -5627,10 +5627,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_frequency_phase_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Smart Meter TS 65A-3 Frequency phase average', + : 'frequency', + : 'Smart Meter TS 65A-3 Frequency phase average', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_frequency_phase_average', @@ -5680,7 +5680,7 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_meter_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Meter TS 65A-3 Meter location', + : 'Smart Meter TS 65A-3 Meter location', }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_meter_location', @@ -5738,8 +5738,8 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_meter_location_description-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Meter TS 65A-3 Meter location description', + : 'enum', + : 'Smart Meter TS 65A-3 Meter location description', : list([ 'feed_in', 'consumption_path', @@ -5798,8 +5798,8 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor', : , }), 'context': , @@ -5852,8 +5852,8 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_power_factor_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor phase 1', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor phase 1', : , }), 'context': , @@ -5906,8 +5906,8 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_power_factor_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor phase 2', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor phase 2', : , }), 'context': , @@ -5960,8 +5960,8 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_power_factor_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter TS 65A-3 Power factor phase 3', + : 'power_factor', + : 'Smart Meter TS 65A-3 Power factor phase 3', : , }), 'context': , @@ -6014,9 +6014,9 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_reactive_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Meter TS 65A-3 Reactive energy consumed', + : 'Smart Meter TS 65A-3 Reactive energy consumed', : , - 'unit_of_measurement': 'varh', + : 'varh', }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_energy_consumed', @@ -6068,9 +6068,9 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_reactive_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Meter TS 65A-3 Reactive energy produced', + : 'Smart Meter TS 65A-3 Reactive energy produced', : , - 'unit_of_measurement': 'varh', + : 'varh', }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_energy_produced', @@ -6125,10 +6125,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power', @@ -6183,10 +6183,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_reactive_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power phase 1', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power_phase_1', @@ -6241,10 +6241,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_reactive_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power phase 2', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power_phase_2', @@ -6299,10 +6299,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_reactive_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter TS 65A-3 Reactive power phase 3', + : 'reactive_power', + : 'Smart Meter TS 65A-3 Reactive power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_reactive_power_phase_3', @@ -6357,10 +6357,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy consumed', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_consumed', @@ -6415,10 +6415,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_energy_minus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy minus', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy minus', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_minus', @@ -6473,10 +6473,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_energy_plus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy plus', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy plus', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_plus', @@ -6531,10 +6531,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter TS 65A-3 Real energy produced', + : 'energy', + : 'Smart Meter TS 65A-3 Real energy produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_energy_produced', @@ -6589,10 +6589,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power', + : 'power', + : 'Smart Meter TS 65A-3 Real power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power', @@ -6647,10 +6647,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power phase 1', + : 'power', + : 'Smart Meter TS 65A-3 Real power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power_phase_1', @@ -6705,10 +6705,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power phase 2', + : 'power', + : 'Smart Meter TS 65A-3 Real power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power_phase_2', @@ -6763,10 +6763,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_real_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter TS 65A-3 Real power phase 3', + : 'power', + : 'Smart Meter TS 65A-3 Real power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_real_power_phase_3', @@ -6821,10 +6821,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_voltage_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 1', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_1', @@ -6879,10 +6879,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_voltage_phase_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 1-2', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 1-2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_1_2', @@ -6937,10 +6937,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_voltage_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 2', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_2', @@ -6995,10 +6995,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_voltage_phase_2_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 2-3', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 2-3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_2_3', @@ -7053,10 +7053,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_voltage_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 3', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_3', @@ -7111,10 +7111,10 @@ # name: test_gen24_storage[sensor.smart_meter_ts_65a_3_voltage_phase_3_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter TS 65A-3 Voltage phase 3-1', + : 'voltage', + : 'Smart Meter TS 65A-3 Voltage phase 3-1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_ts_65a_3_voltage_phase_3_1', @@ -7164,7 +7164,7 @@ # name: test_gen24_storage[sensor.solarnet_meter_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Meter mode', + : 'SolarNet Meter mode', }), 'context': , 'entity_id': 'sensor.solarnet_meter_mode', @@ -7219,10 +7219,10 @@ # name: test_gen24_storage[sensor.solarnet_power_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power battery', + : 'power', + : 'SolarNet Power battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_battery', @@ -7277,10 +7277,10 @@ # name: test_gen24_storage[sensor.solarnet_power_battery_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power battery charge', + : 'power', + : 'SolarNet Power battery charge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_battery_charge', @@ -7335,10 +7335,10 @@ # name: test_gen24_storage[sensor.solarnet_power_battery_discharge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power battery discharge', + : 'power', + : 'SolarNet Power battery discharge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_battery_discharge', @@ -7393,10 +7393,10 @@ # name: test_gen24_storage[sensor.solarnet_power_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid', + : 'power', + : 'SolarNet Power grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid', @@ -7451,10 +7451,10 @@ # name: test_gen24_storage[sensor.solarnet_power_grid_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid export', + : 'power', + : 'SolarNet Power grid export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid_export', @@ -7509,10 +7509,10 @@ # name: test_gen24_storage[sensor.solarnet_power_grid_import-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid import', + : 'power', + : 'SolarNet Power grid import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid_import', @@ -7567,10 +7567,10 @@ # name: test_gen24_storage[sensor.solarnet_power_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load', + : 'power', + : 'SolarNet Power load', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load', @@ -7625,10 +7625,10 @@ # name: test_gen24_storage[sensor.solarnet_power_load_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load consumed', + : 'power', + : 'SolarNet Power load consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load_consumed', @@ -7683,10 +7683,10 @@ # name: test_gen24_storage[sensor.solarnet_power_load_generated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load generated', + : 'power', + : 'SolarNet Power load generated', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load_generated', @@ -7741,10 +7741,10 @@ # name: test_gen24_storage[sensor.solarnet_power_photovoltaics-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power photovoltaics', + : 'power', + : 'SolarNet Power photovoltaics', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_photovoltaics', @@ -7796,9 +7796,9 @@ # name: test_gen24_storage[sensor.solarnet_relative_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Relative autonomy', + : 'SolarNet Relative autonomy', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarnet_relative_autonomy', @@ -7850,9 +7850,9 @@ # name: test_gen24_storage[sensor.solarnet_relative_self_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Relative self-consumption', + : 'SolarNet Relative self-consumption', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarnet_relative_self_consumption', @@ -7907,10 +7907,10 @@ # name: test_gen24_storage[sensor.solarnet_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarNet Total energy', + : 'energy', + : 'SolarNet Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_total_energy', @@ -7965,10 +7965,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Primo 3.0-1 AC current', + : 'current', + : 'Primo 3.0-1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_ac_current', @@ -8023,10 +8023,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_ac_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Primo 3.0-1 AC power', + : 'power', + : 'Primo 3.0-1 AC power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_ac_power', @@ -8081,10 +8081,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Primo 3.0-1 AC voltage', + : 'voltage', + : 'Primo 3.0-1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_ac_voltage', @@ -8139,10 +8139,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Primo 3.0-1 DC current', + : 'current', + : 'Primo 3.0-1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_dc_current', @@ -8197,10 +8197,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Primo 3.0-1 DC voltage', + : 'voltage', + : 'Primo 3.0-1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_dc_voltage', @@ -8255,10 +8255,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_energy_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Primo 3.0-1 Energy day', + : 'energy', + : 'Primo 3.0-1 Energy day', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_energy_day', @@ -8313,10 +8313,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_energy_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Primo 3.0-1 Energy year', + : 'energy', + : 'Primo 3.0-1 Energy year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_energy_year', @@ -8366,7 +8366,7 @@ # name: test_primo_s0[sensor.primo_3_0_1_error_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 3.0-1 Error code', + : 'Primo 3.0-1 Error code', }), 'context': , 'entity_id': 'sensor.primo_3_0_1_error_code', @@ -8515,8 +8515,8 @@ # name: test_primo_s0[sensor.primo_3_0_1_error_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Primo 3.0-1 Error message', + : 'enum', + : 'Primo 3.0-1 Error message', : list([ 'no_error', 'ac_voltage_too_high', @@ -8669,10 +8669,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Primo 3.0-1 Frequency', + : 'frequency', + : 'Primo 3.0-1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_frequency', @@ -8722,7 +8722,7 @@ # name: test_primo_s0[sensor.primo_3_0_1_led_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 3.0-1 LED color', + : 'Primo 3.0-1 LED color', }), 'context': , 'entity_id': 'sensor.primo_3_0_1_led_color', @@ -8772,7 +8772,7 @@ # name: test_primo_s0[sensor.primo_3_0_1_led_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 3.0-1 LED state', + : 'Primo 3.0-1 LED state', }), 'context': , 'entity_id': 'sensor.primo_3_0_1_led_state', @@ -8822,7 +8822,7 @@ # name: test_primo_s0[sensor.primo_3_0_1_status_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 3.0-1 Status code', + : 'Primo 3.0-1 Status code', }), 'context': , 'entity_id': 'sensor.primo_3_0_1_status_code', @@ -8883,8 +8883,8 @@ # name: test_primo_s0[sensor.primo_3_0_1_status_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Primo 3.0-1 Status message', + : 'enum', + : 'Primo 3.0-1 Status message', : list([ 'startup', 'running', @@ -8949,10 +8949,10 @@ # name: test_primo_s0[sensor.primo_3_0_1_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Primo 3.0-1 Total energy', + : 'energy', + : 'Primo 3.0-1 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_3_0_1_total_energy', @@ -9007,10 +9007,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Primo 5.0-1 AC current', + : 'current', + : 'Primo 5.0-1 AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_ac_current', @@ -9065,10 +9065,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_ac_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Primo 5.0-1 AC power', + : 'power', + : 'Primo 5.0-1 AC power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_ac_power', @@ -9123,10 +9123,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Primo 5.0-1 AC voltage', + : 'voltage', + : 'Primo 5.0-1 AC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_ac_voltage', @@ -9181,10 +9181,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_dc_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Primo 5.0-1 DC current', + : 'current', + : 'Primo 5.0-1 DC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_dc_current', @@ -9239,10 +9239,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_dc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Primo 5.0-1 DC voltage', + : 'voltage', + : 'Primo 5.0-1 DC voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_dc_voltage', @@ -9297,10 +9297,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_energy_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Primo 5.0-1 Energy day', + : 'energy', + : 'Primo 5.0-1 Energy day', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_energy_day', @@ -9355,10 +9355,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_energy_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Primo 5.0-1 Energy year', + : 'energy', + : 'Primo 5.0-1 Energy year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_energy_year', @@ -9408,7 +9408,7 @@ # name: test_primo_s0[sensor.primo_5_0_1_error_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 5.0-1 Error code', + : 'Primo 5.0-1 Error code', }), 'context': , 'entity_id': 'sensor.primo_5_0_1_error_code', @@ -9557,8 +9557,8 @@ # name: test_primo_s0[sensor.primo_5_0_1_error_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Primo 5.0-1 Error message', + : 'enum', + : 'Primo 5.0-1 Error message', : list([ 'no_error', 'ac_voltage_too_high', @@ -9711,10 +9711,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Primo 5.0-1 Frequency', + : 'frequency', + : 'Primo 5.0-1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_frequency', @@ -9764,7 +9764,7 @@ # name: test_primo_s0[sensor.primo_5_0_1_led_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 5.0-1 LED color', + : 'Primo 5.0-1 LED color', }), 'context': , 'entity_id': 'sensor.primo_5_0_1_led_color', @@ -9814,7 +9814,7 @@ # name: test_primo_s0[sensor.primo_5_0_1_led_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 5.0-1 LED state', + : 'Primo 5.0-1 LED state', }), 'context': , 'entity_id': 'sensor.primo_5_0_1_led_state', @@ -9864,7 +9864,7 @@ # name: test_primo_s0[sensor.primo_5_0_1_status_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Primo 5.0-1 Status code', + : 'Primo 5.0-1 Status code', }), 'context': , 'entity_id': 'sensor.primo_5_0_1_status_code', @@ -9925,8 +9925,8 @@ # name: test_primo_s0[sensor.primo_5_0_1_status_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Primo 5.0-1 Status message', + : 'enum', + : 'Primo 5.0-1 Status message', : list([ 'startup', 'running', @@ -9991,10 +9991,10 @@ # name: test_primo_s0[sensor.primo_5_0_1_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Primo 5.0-1 Total energy', + : 'energy', + : 'Primo 5.0-1 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.primo_5_0_1_total_energy', @@ -10044,7 +10044,7 @@ # name: test_primo_s0[sensor.s0_meter_at_inverter_1_meter_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S0 Meter at inverter 1 Meter location', + : 'S0 Meter at inverter 1 Meter location', }), 'context': , 'entity_id': 'sensor.s0_meter_at_inverter_1_meter_location', @@ -10102,8 +10102,8 @@ # name: test_primo_s0[sensor.s0_meter_at_inverter_1_meter_location_description-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'S0 Meter at inverter 1 Meter location description', + : 'enum', + : 'S0 Meter at inverter 1 Meter location description', : list([ 'feed_in', 'consumption_path', @@ -10165,10 +10165,10 @@ # name: test_primo_s0[sensor.s0_meter_at_inverter_1_real_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'S0 Meter at inverter 1 Real power', + : 'power', + : 'S0 Meter at inverter 1 Real power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.s0_meter_at_inverter_1_real_power', @@ -10220,9 +10220,9 @@ # name: test_primo_s0[sensor.solarnet_co2_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet CO₂ factor', + : 'SolarNet CO₂ factor', : , - 'unit_of_measurement': 'kg/kWh', + : 'kg/kWh', }), 'context': , 'entity_id': 'sensor.solarnet_co2_factor', @@ -10277,10 +10277,10 @@ # name: test_primo_s0[sensor.solarnet_energy_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarNet Energy day', + : 'energy', + : 'SolarNet Energy day', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_energy_day', @@ -10335,10 +10335,10 @@ # name: test_primo_s0[sensor.solarnet_energy_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarNet Energy year', + : 'energy', + : 'SolarNet Energy year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_energy_year', @@ -10390,9 +10390,9 @@ # name: test_primo_s0[sensor.solarnet_grid_export_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Grid export tariff', + : 'SolarNet Grid export tariff', : , - 'unit_of_measurement': 'BRL/kWh', + : 'BRL/kWh', }), 'context': , 'entity_id': 'sensor.solarnet_grid_export_tariff', @@ -10444,9 +10444,9 @@ # name: test_primo_s0[sensor.solarnet_grid_import_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Grid import tariff', + : 'SolarNet Grid import tariff', : , - 'unit_of_measurement': 'BRL/kWh', + : 'BRL/kWh', }), 'context': , 'entity_id': 'sensor.solarnet_grid_import_tariff', @@ -10496,7 +10496,7 @@ # name: test_primo_s0[sensor.solarnet_meter_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Meter mode', + : 'SolarNet Meter mode', }), 'context': , 'entity_id': 'sensor.solarnet_meter_mode', @@ -10551,10 +10551,10 @@ # name: test_primo_s0[sensor.solarnet_power_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid', + : 'power', + : 'SolarNet Power grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid', @@ -10609,10 +10609,10 @@ # name: test_primo_s0[sensor.solarnet_power_grid_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid export', + : 'power', + : 'SolarNet Power grid export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid_export', @@ -10667,10 +10667,10 @@ # name: test_primo_s0[sensor.solarnet_power_grid_import-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power grid import', + : 'power', + : 'SolarNet Power grid import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_grid_import', @@ -10725,10 +10725,10 @@ # name: test_primo_s0[sensor.solarnet_power_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load', + : 'power', + : 'SolarNet Power load', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load', @@ -10783,10 +10783,10 @@ # name: test_primo_s0[sensor.solarnet_power_load_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load consumed', + : 'power', + : 'SolarNet Power load consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load_consumed', @@ -10841,10 +10841,10 @@ # name: test_primo_s0[sensor.solarnet_power_load_generated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power load generated', + : 'power', + : 'SolarNet Power load generated', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_load_generated', @@ -10899,10 +10899,10 @@ # name: test_primo_s0[sensor.solarnet_power_photovoltaics-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarNet Power photovoltaics', + : 'power', + : 'SolarNet Power photovoltaics', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_power_photovoltaics', @@ -10954,9 +10954,9 @@ # name: test_primo_s0[sensor.solarnet_relative_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Relative autonomy', + : 'SolarNet Relative autonomy', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarnet_relative_autonomy', @@ -11008,9 +11008,9 @@ # name: test_primo_s0[sensor.solarnet_relative_self_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarNet Relative self-consumption', + : 'SolarNet Relative self-consumption', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarnet_relative_self_consumption', @@ -11065,10 +11065,10 @@ # name: test_primo_s0[sensor.solarnet_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarNet Total energy', + : 'energy', + : 'SolarNet Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarnet_total_energy', diff --git a/tests/components/fujitsu_fglair/snapshots/test_climate.ambr b/tests/components/fujitsu_fglair/snapshots/test_climate.ambr index 1211db51d68..ea9d1e6d25d 100644 --- a/tests/components/fujitsu_fglair/snapshots/test_climate.ambr +++ b/tests/components/fujitsu_fglair/snapshots/test_climate.ambr @@ -69,7 +69,7 @@ 'high', 'auto', ]), - 'friendly_name': 'testserial123', + : 'testserial123', : list([ , , @@ -78,7 +78,7 @@ ]), : 26.0, : 18.0, - 'supported_features': , + : , : 'both', : list([ 'off', @@ -167,7 +167,7 @@ 'high', 'auto', ]), - 'friendly_name': 'testserial345', + : 'testserial345', : list([ , , @@ -176,7 +176,7 @@ ]), : 26.0, : 18.0, - 'supported_features': , + : , : 'both', : list([ 'off', diff --git a/tests/components/fujitsu_fglair/snapshots/test_sensor.ambr b/tests/components/fujitsu_fglair/snapshots/test_sensor.ambr index f8404cb7b43..00c81736504 100644 --- a/tests/components/fujitsu_fglair/snapshots/test_sensor.ambr +++ b/tests/components/fujitsu_fglair/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_entities[sensor.testserial123_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'testserial123 Outside temperature', + : 'temperature', + : 'testserial123 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.testserial123_outside_temperature', @@ -102,10 +102,10 @@ # name: test_entities[sensor.testserial345_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'testserial345 Outside temperature', + : 'temperature', + : 'testserial345 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.testserial345_outside_temperature', diff --git a/tests/components/fumis/snapshots/test_binary_sensor.ambr b/tests/components/fumis/snapshots/test_binary_sensor.ambr index dc7f23179fd..1f23d77ef9c 100644 --- a/tests/components/fumis/snapshots/test_binary_sensor.ambr +++ b/tests/components/fumis/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor][binary_sensor.clou_duo_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Clou Duo Door', + : 'door', + : 'Clou Duo Door', }), 'context': , 'entity_id': 'binary_sensor.clou_duo_door', diff --git a/tests/components/fumis/snapshots/test_button.ambr b/tests/components/fumis/snapshots/test_button.ambr index 56b9a91f189..411c5470b44 100644 --- a/tests/components/fumis/snapshots/test_button.ambr +++ b/tests/components/fumis/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button][button.clou_duo_sync_clock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Sync clock', + : 'Clou Duo Sync clock', }), 'context': , 'entity_id': 'button.clou_duo_sync_clock', diff --git a/tests/components/fumis/snapshots/test_climate.ambr b/tests/components/fumis/snapshots/test_climate.ambr index 03ae7171137..fb25e5fe4c4 100644 --- a/tests/components/fumis/snapshots/test_climate.ambr +++ b/tests/components/fumis/snapshots/test_climate.ambr @@ -3,7 +3,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.7, - 'friendly_name': 'Clou Duo', + : 'Clou Duo', : , : list([ , @@ -11,7 +11,7 @@ ]), : 35.0, : 10.0, - 'supported_features': , + : , : 0.5, : 25.0, }), diff --git a/tests/components/fumis/snapshots/test_number.ambr b/tests/components/fumis/snapshots/test_number.ambr index caf1f0f0b72..7f32bdc88b8 100644 --- a/tests/components/fumis/snapshots/test_number.ambr +++ b/tests/components/fumis/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_numbers[number][number.clou_duo_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Fan speed', + : 'Clou Duo Fan speed', : 5, : 0, : , @@ -103,7 +103,7 @@ # name: test_numbers[number][number.clou_duo_power_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Power level', + : 'Clou Duo Power level', : 5, : 1, : , diff --git a/tests/components/fumis/snapshots/test_sensor.ambr b/tests/components/fumis/snapshots/test_sensor.ambr index 6a333e2949e..7047ca42083 100644 --- a/tests/components/fumis/snapshots/test_sensor.ambr +++ b/tests/components/fumis/snapshots/test_sensor.ambr @@ -51,8 +51,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'code': None, - 'device_class': 'enum', - 'friendly_name': 'Clou Duo Alert', + : 'enum', + : 'Clou Duo Alert', : list([ 'none', 'low_fuel', @@ -120,10 +120,10 @@ # name: test_sensors[sensor][sensor.clou_duo_burning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Clou Duo Burning time', + : 'duration', + : 'Clou Duo Burning time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clou_duo_burning_time', @@ -178,10 +178,10 @@ # name: test_sensors[sensor][sensor.clou_duo_combustion_chamber-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Clou Duo Combustion chamber', + : 'temperature', + : 'Clou Duo Combustion chamber', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clou_duo_combustion_chamber', @@ -233,7 +233,7 @@ # name: test_sensors[sensor][sensor.clou_duo_combustion_chamber_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Combustion chamber pressure', + : 'Clou Duo Combustion chamber pressure', : , }), 'context': , @@ -301,8 +301,8 @@ # name: test_sensors[sensor][sensor.clou_duo_detailed_stove_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Clou Duo Detailed stove status', + : 'enum', + : 'Clou Duo Detailed stove status', : list([ 'off', 'cold_start_off', @@ -397,8 +397,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'code': None, - 'device_class': 'enum', - 'friendly_name': 'Clou Duo Error', + : 'enum', + : 'Clou Duo Error', : list([ 'none', 'ignition_failed', @@ -477,9 +477,9 @@ # name: test_sensors[sensor][sensor.clou_duo_fan_1_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Fan 1 speed', + : 'Clou Duo Fan 1 speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.clou_duo_fan_1_speed', @@ -531,9 +531,9 @@ # name: test_sensors[sensor][sensor.clou_duo_fan_2_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Fan 2 speed', + : 'Clou Duo Fan 2 speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.clou_duo_fan_2_speed', @@ -585,7 +585,7 @@ # name: test_sensors[sensor][sensor.clou_duo_fuel_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Fuel consumed', + : 'Clou Duo Fuel consumed', : , }), 'context': , @@ -641,9 +641,9 @@ # name: test_sensors[sensor][sensor.clou_duo_fuel_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Fuel level', + : 'Clou Duo Fuel level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.clou_duo_fuel_level', @@ -695,7 +695,7 @@ # name: test_sensors[sensor][sensor.clou_duo_igniter_starts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Igniter starts', + : 'Clou Duo Igniter starts', : , }), 'context': , @@ -748,7 +748,7 @@ # name: test_sensors[sensor][sensor.clou_duo_misfires-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Misfires', + : 'Clou Duo Misfires', : , }), 'context': , @@ -801,7 +801,7 @@ # name: test_sensors[sensor][sensor.clou_duo_overheatings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Overheatings', + : 'Clou Duo Overheatings', : , }), 'context': , @@ -857,10 +857,10 @@ # name: test_sensors[sensor][sensor.clou_duo_power_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Clou Duo Power output', + : 'power', + : 'Clou Duo Power output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clou_duo_power_output', @@ -919,8 +919,8 @@ # name: test_sensors[sensor][sensor.clou_duo_stove_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Clou Duo Stove status', + : 'enum', + : 'Clou Duo Stove status', : list([ 'off', 'heating_up', @@ -983,10 +983,10 @@ # name: test_sensors[sensor][sensor.clou_duo_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Clou Duo Temperature', + : 'temperature', + : 'Clou Duo Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clou_duo_temperature', @@ -1039,9 +1039,9 @@ # name: test_sensors[sensor][sensor.clou_duo_time_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Clou Duo Time to service', - 'unit_of_measurement': , + : 'duration', + : 'Clou Duo Time to service', + : , }), 'context': , 'entity_id': 'sensor.clou_duo_time_to_service', @@ -1091,8 +1091,8 @@ # name: test_sensors[sensor][sensor.clou_duo_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Clou Duo Uptime', + : 'timestamp', + : 'Clou Duo Uptime', }), 'context': , 'entity_id': 'sensor.clou_duo_uptime', @@ -1144,10 +1144,10 @@ # name: test_sensors[sensor][sensor.clou_duo_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Clou Duo Wi-Fi RSSI', + : 'signal_strength', + : 'Clou Duo Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.clou_duo_wi_fi_rssi', @@ -1199,9 +1199,9 @@ # name: test_sensors[sensor][sensor.clou_duo_wi_fi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Wi-Fi signal strength', + : 'Clou Duo Wi-Fi signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.clou_duo_wi_fi_signal_strength', @@ -1256,10 +1256,10 @@ # name: test_sensors[sensor][sensor.clou_duo_wircu_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Clou Duo WiRCU module', + : 'temperature', + : 'Clou Duo WiRCU module', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clou_duo_wircu_module', @@ -1273,8 +1273,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'code': 'E101', - 'device_class': 'enum', - 'friendly_name': 'Clou Duo Error', + : 'enum', + : 'Clou Duo Error', : list([ 'none', 'ignition_failed', @@ -1315,8 +1315,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'code': 'A001', - 'device_class': 'enum', - 'friendly_name': 'Clou Duo Alert', + : 'enum', + : 'Clou Duo Alert', : list([ 'none', 'low_fuel', diff --git a/tests/components/fumis/snapshots/test_switch.ambr b/tests/components/fumis/snapshots/test_switch.ambr index fccb57099bd..ebbe8d4839d 100644 --- a/tests/components/fumis/snapshots/test_switch.ambr +++ b/tests/components/fumis/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch][switch.clou_duo_eco_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Eco mode', + : 'Clou Duo Eco mode', }), 'context': , 'entity_id': 'switch.clou_duo_eco_mode', @@ -89,7 +89,7 @@ # name: test_switches[switch][switch.clou_duo_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clou Duo Timer', + : 'Clou Duo Timer', }), 'context': , 'entity_id': 'switch.clou_duo_timer', diff --git a/tests/components/fyta/snapshots/test_binary_sensor.ambr b/tests/components/fyta/snapshots/test_binary_sensor.ambr index 07012225d69..6ae64d6f60c 100644 --- a/tests/components/fyta/snapshots/test_binary_sensor.ambr +++ b/tests/components/fyta/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.gummibaum_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Gummibaum Battery', + : 'battery', + : 'Gummibaum Battery', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_battery', @@ -90,7 +90,7 @@ # name: test_all_entities[binary_sensor.gummibaum_light_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Light notification', + : 'Gummibaum Light notification', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_light_notification', @@ -140,7 +140,7 @@ # name: test_all_entities[binary_sensor.gummibaum_nutrition_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Nutrition notification', + : 'Gummibaum Nutrition notification', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_nutrition_notification', @@ -190,7 +190,7 @@ # name: test_all_entities[binary_sensor.gummibaum_productive_plant-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Productive plant', + : 'Gummibaum Productive plant', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_productive_plant', @@ -240,7 +240,7 @@ # name: test_all_entities[binary_sensor.gummibaum_repotted-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Repotted', + : 'Gummibaum Repotted', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_repotted', @@ -290,7 +290,7 @@ # name: test_all_entities[binary_sensor.gummibaum_temperature_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Temperature notification', + : 'Gummibaum Temperature notification', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_temperature_notification', @@ -340,8 +340,8 @@ # name: test_all_entities[binary_sensor.gummibaum_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'update', - 'friendly_name': 'Gummibaum Update', + : 'update', + : 'Gummibaum Update', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_update', @@ -391,7 +391,7 @@ # name: test_all_entities[binary_sensor.gummibaum_water_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Water notification', + : 'Gummibaum Water notification', }), 'context': , 'entity_id': 'binary_sensor.gummibaum_water_notification', @@ -441,8 +441,8 @@ # name: test_all_entities[binary_sensor.kakaobaum_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Kakaobaum Battery', + : 'battery', + : 'Kakaobaum Battery', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_battery', @@ -492,7 +492,7 @@ # name: test_all_entities[binary_sensor.kakaobaum_light_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Light notification', + : 'Kakaobaum Light notification', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_light_notification', @@ -542,7 +542,7 @@ # name: test_all_entities[binary_sensor.kakaobaum_nutrition_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Nutrition notification', + : 'Kakaobaum Nutrition notification', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_nutrition_notification', @@ -592,7 +592,7 @@ # name: test_all_entities[binary_sensor.kakaobaum_productive_plant-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Productive plant', + : 'Kakaobaum Productive plant', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_productive_plant', @@ -642,7 +642,7 @@ # name: test_all_entities[binary_sensor.kakaobaum_repotted-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Repotted', + : 'Kakaobaum Repotted', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_repotted', @@ -692,7 +692,7 @@ # name: test_all_entities[binary_sensor.kakaobaum_temperature_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Temperature notification', + : 'Kakaobaum Temperature notification', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_temperature_notification', @@ -742,8 +742,8 @@ # name: test_all_entities[binary_sensor.kakaobaum_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'update', - 'friendly_name': 'Kakaobaum Update', + : 'update', + : 'Kakaobaum Update', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_update', @@ -793,7 +793,7 @@ # name: test_all_entities[binary_sensor.kakaobaum_water_notification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Water notification', + : 'Kakaobaum Water notification', }), 'context': , 'entity_id': 'binary_sensor.kakaobaum_water_notification', diff --git a/tests/components/fyta/snapshots/test_image.ambr b/tests/components/fyta/snapshots/test_image.ambr index 067e51f3421..7d3bea33479 100644 --- a/tests/components/fyta/snapshots/test_image.ambr +++ b/tests/components/fyta/snapshots/test_image.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.gummibaum_plant_image?token=1', - 'friendly_name': 'Gummibaum Plant image', + : '/api/image_proxy/image.gummibaum_plant_image?token=1', + : 'Gummibaum Plant image', }), 'context': , 'entity_id': 'image.gummibaum_plant_image', @@ -92,8 +92,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.gummibaum_user_image?token=1', - 'friendly_name': 'Gummibaum User image', + : '/api/image_proxy/image.gummibaum_user_image?token=1', + : 'Gummibaum User image', }), 'context': , 'entity_id': 'image.gummibaum_user_image', @@ -144,8 +144,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.kakaobaum_plant_image?token=1', - 'friendly_name': 'Kakaobaum Plant image', + : '/api/image_proxy/image.kakaobaum_plant_image?token=1', + : 'Kakaobaum Plant image', }), 'context': , 'entity_id': 'image.kakaobaum_plant_image', @@ -196,8 +196,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.kakaobaum_user_image?token=1', - 'friendly_name': 'Kakaobaum User image', + : '/api/image_proxy/image.kakaobaum_user_image?token=1', + : 'Kakaobaum User image', }), 'context': , 'entity_id': 'image.kakaobaum_user_image', diff --git a/tests/components/fyta/snapshots/test_sensor.ambr b/tests/components/fyta/snapshots/test_sensor.ambr index b3baecfc985..845760a49bf 100644 --- a/tests/components/fyta/snapshots/test_sensor.ambr +++ b/tests/components/fyta/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.gummibaum_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Gummibaum Battery', + : 'battery', + : 'Gummibaum Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gummibaum_battery', @@ -94,8 +94,8 @@ # name: test_all_entities[sensor.gummibaum_last_fertilized-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Gummibaum Last fertilized', + : 'date', + : 'Gummibaum Last fertilized', }), 'context': , 'entity_id': 'sensor.gummibaum_last_fertilized', @@ -147,13 +147,13 @@ # name: test_all_entities[sensor.gummibaum_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Light', + : 'Gummibaum Light', 'max_acceptable': 675.0, 'max_good': 450.0, 'min_acceptable': 18.0, 'min_good': 20.0, : , - 'unit_of_measurement': 'μmol/s⋅m²', + : 'μmol/s⋅m²', }), 'context': , 'entity_id': 'sensor.gummibaum_light', @@ -212,8 +212,8 @@ # name: test_all_entities[sensor.gummibaum_light_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gummibaum Light state', + : 'enum', + : 'Gummibaum Light state', : list([ 'no_data', 'too_low', @@ -273,14 +273,14 @@ # name: test_all_entities[sensor.gummibaum_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Gummibaum Moisture', + : 'moisture', + : 'Gummibaum Moisture', 'max_acceptable': 80.0, 'max_good': 70.0, 'min_acceptable': 25.0, 'min_good': 35.0, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gummibaum_moisture', @@ -339,8 +339,8 @@ # name: test_all_entities[sensor.gummibaum_moisture_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gummibaum Moisture state', + : 'enum', + : 'Gummibaum Moisture state', : list([ 'no_data', 'too_low', @@ -398,8 +398,8 @@ # name: test_all_entities[sensor.gummibaum_next_fertilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Gummibaum Next fertilization', + : 'date', + : 'Gummibaum Next fertilization', }), 'context': , 'entity_id': 'sensor.gummibaum_next_fertilization', @@ -458,8 +458,8 @@ # name: test_all_entities[sensor.gummibaum_nutrients_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gummibaum Nutrients state', + : 'enum', + : 'Gummibaum Nutrients state', : list([ 'no_data', 'too_low', @@ -519,8 +519,8 @@ # name: test_all_entities[sensor.gummibaum_ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Gummibaum pH', + : 'ph', + : 'Gummibaum pH', : , }), 'context': , @@ -578,8 +578,8 @@ # name: test_all_entities[sensor.gummibaum_plant_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gummibaum Plant state', + : 'enum', + : 'Gummibaum Plant state', : list([ 'deleted', 'doing_great', @@ -640,14 +640,14 @@ # name: test_all_entities[sensor.gummibaum_salinity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'conductivity', - 'friendly_name': 'Gummibaum Salinity', + : 'conductivity', + : 'Gummibaum Salinity', 'max_acceptable': 1.2, 'max_good': 1.0, 'min_acceptable': 0.4, 'min_good': 0.6, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gummibaum_salinity', @@ -706,8 +706,8 @@ # name: test_all_entities[sensor.gummibaum_salinity_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gummibaum Salinity state', + : 'enum', + : 'Gummibaum Salinity state', : list([ 'no_data', 'too_low', @@ -765,7 +765,7 @@ # name: test_all_entities[sensor.gummibaum_scientific_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gummibaum Scientific name', + : 'Gummibaum Scientific name', }), 'context': , 'entity_id': 'sensor.gummibaum_scientific_name', @@ -820,14 +820,14 @@ # name: test_all_entities[sensor.gummibaum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gummibaum Temperature', + : 'temperature', + : 'Gummibaum Temperature', 'max_acceptable': 42.0, 'max_good': 36.0, 'min_acceptable': 10.0, 'min_good': 17.0, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gummibaum_temperature', @@ -886,8 +886,8 @@ # name: test_all_entities[sensor.gummibaum_temperature_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gummibaum Temperature state', + : 'enum', + : 'Gummibaum Temperature state', : list([ 'no_data', 'too_low', @@ -947,10 +947,10 @@ # name: test_all_entities[sensor.kakaobaum_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Kakaobaum Battery', + : 'battery', + : 'Kakaobaum Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kakaobaum_battery', @@ -1000,8 +1000,8 @@ # name: test_all_entities[sensor.kakaobaum_last_fertilized-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Kakaobaum Last fertilized', + : 'date', + : 'Kakaobaum Last fertilized', }), 'context': , 'entity_id': 'sensor.kakaobaum_last_fertilized', @@ -1053,13 +1053,13 @@ # name: test_all_entities[sensor.kakaobaum_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Light', + : 'Kakaobaum Light', 'max_acceptable': 675.0, 'max_good': 450.0, 'min_acceptable': 18.0, 'min_good': 20.0, : , - 'unit_of_measurement': 'μmol/s⋅m²', + : 'μmol/s⋅m²', }), 'context': , 'entity_id': 'sensor.kakaobaum_light', @@ -1118,8 +1118,8 @@ # name: test_all_entities[sensor.kakaobaum_light_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kakaobaum Light state', + : 'enum', + : 'Kakaobaum Light state', : list([ 'no_data', 'too_low', @@ -1179,14 +1179,14 @@ # name: test_all_entities[sensor.kakaobaum_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Kakaobaum Moisture', + : 'moisture', + : 'Kakaobaum Moisture', 'max_acceptable': 80.0, 'max_good': 70.0, 'min_acceptable': 25.0, 'min_good': 35.0, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kakaobaum_moisture', @@ -1245,8 +1245,8 @@ # name: test_all_entities[sensor.kakaobaum_moisture_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kakaobaum Moisture state', + : 'enum', + : 'Kakaobaum Moisture state', : list([ 'no_data', 'too_low', @@ -1304,8 +1304,8 @@ # name: test_all_entities[sensor.kakaobaum_next_fertilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Kakaobaum Next fertilization', + : 'date', + : 'Kakaobaum Next fertilization', }), 'context': , 'entity_id': 'sensor.kakaobaum_next_fertilization', @@ -1364,8 +1364,8 @@ # name: test_all_entities[sensor.kakaobaum_nutrients_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kakaobaum Nutrients state', + : 'enum', + : 'Kakaobaum Nutrients state', : list([ 'no_data', 'too_low', @@ -1425,8 +1425,8 @@ # name: test_all_entities[sensor.kakaobaum_ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Kakaobaum pH', + : 'ph', + : 'Kakaobaum pH', : , }), 'context': , @@ -1484,8 +1484,8 @@ # name: test_all_entities[sensor.kakaobaum_plant_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kakaobaum Plant state', + : 'enum', + : 'Kakaobaum Plant state', : list([ 'deleted', 'doing_great', @@ -1546,14 +1546,14 @@ # name: test_all_entities[sensor.kakaobaum_salinity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'conductivity', - 'friendly_name': 'Kakaobaum Salinity', + : 'conductivity', + : 'Kakaobaum Salinity', 'max_acceptable': 1.2, 'max_good': 1.0, 'min_acceptable': 0.4, 'min_good': 0.6, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kakaobaum_salinity', @@ -1612,8 +1612,8 @@ # name: test_all_entities[sensor.kakaobaum_salinity_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kakaobaum Salinity state', + : 'enum', + : 'Kakaobaum Salinity state', : list([ 'no_data', 'too_low', @@ -1671,7 +1671,7 @@ # name: test_all_entities[sensor.kakaobaum_scientific_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kakaobaum Scientific name', + : 'Kakaobaum Scientific name', }), 'context': , 'entity_id': 'sensor.kakaobaum_scientific_name', @@ -1726,14 +1726,14 @@ # name: test_all_entities[sensor.kakaobaum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Kakaobaum Temperature', + : 'temperature', + : 'Kakaobaum Temperature', 'max_acceptable': 42.0, 'max_good': 36.0, 'min_acceptable': 10.0, 'min_good': 17.0, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kakaobaum_temperature', @@ -1792,8 +1792,8 @@ # name: test_all_entities[sensor.kakaobaum_temperature_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kakaobaum Temperature state', + : 'enum', + : 'Kakaobaum Temperature state', : list([ 'no_data', 'too_low', diff --git a/tests/components/garages_amsterdam/snapshots/test_binary_sensor.ambr b/tests/components/garages_amsterdam/snapshots/test_binary_sensor.ambr index 29e22e19696..3c24d3c0e53 100644 --- a/tests/components/garages_amsterdam/snapshots/test_binary_sensor.ambr +++ b/tests/components/garages_amsterdam/snapshots/test_binary_sensor.ambr @@ -39,9 +39,9 @@ # name: test_all_binary_sensors[binary_sensor.ijdok_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by municipality of Amsterdam', - 'device_class': 'problem', - 'friendly_name': 'IJDok State', + : 'Data provided by municipality of Amsterdam', + : 'problem', + : 'IJDok State', }), 'context': , 'entity_id': 'binary_sensor.ijdok_state', diff --git a/tests/components/garages_amsterdam/snapshots/test_sensor.ambr b/tests/components/garages_amsterdam/snapshots/test_sensor.ambr index 30f1966d9a0..6bcb7a1180f 100644 --- a/tests/components/garages_amsterdam/snapshots/test_sensor.ambr +++ b/tests/components/garages_amsterdam/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_all_sensors[sensor.ijdok_long_parking_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by municipality of Amsterdam', - 'friendly_name': 'IJDok Long parking capacity', - 'unit_of_measurement': 'cars', + : 'Data provided by municipality of Amsterdam', + : 'IJDok Long parking capacity', + : 'cars', }), 'context': , 'entity_id': 'sensor.ijdok_long_parking_capacity', @@ -93,10 +93,10 @@ # name: test_all_sensors[sensor.ijdok_long_parking_free_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by municipality of Amsterdam', - 'friendly_name': 'IJDok Long parking free space', + : 'Data provided by municipality of Amsterdam', + : 'IJDok Long parking free space', : , - 'unit_of_measurement': 'cars', + : 'cars', }), 'context': , 'entity_id': 'sensor.ijdok_long_parking_free_space', @@ -146,9 +146,9 @@ # name: test_all_sensors[sensor.ijdok_short_parking_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by municipality of Amsterdam', - 'friendly_name': 'IJDok Short parking capacity', - 'unit_of_measurement': 'cars', + : 'Data provided by municipality of Amsterdam', + : 'IJDok Short parking capacity', + : 'cars', }), 'context': , 'entity_id': 'sensor.ijdok_short_parking_capacity', @@ -200,10 +200,10 @@ # name: test_all_sensors[sensor.ijdok_short_parking_free_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by municipality of Amsterdam', - 'friendly_name': 'IJDok Short parking free space', + : 'Data provided by municipality of Amsterdam', + : 'IJDok Short parking free space', : , - 'unit_of_measurement': 'cars', + : 'cars', }), 'context': , 'entity_id': 'sensor.ijdok_short_parking_free_space', diff --git a/tests/components/gardena_bluetooth/snapshots/test_binary_sensor.ambr b/tests/components/gardena_bluetooth/snapshots/test_binary_sensor.ambr index 0ce39de5894..01bea75fa53 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_binary_sensor.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_binary_sensor.ambr @@ -2,8 +2,8 @@ # name: test_setup[98bd0f12-0b0e-421a-84e5-ddbf75dc6de4-raw0-binary_sensor.mock_title_valve_connection] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock Title Valve connection', + : 'connectivity', + : 'Mock Title Valve connection', }), 'context': , 'entity_id': 'binary_sensor.mock_title_valve_connection', @@ -16,8 +16,8 @@ # name: test_setup[98bd0f12-0b0e-421a-84e5-ddbf75dc6de4-raw0-binary_sensor.mock_title_valve_connection].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock Title Valve connection', + : 'connectivity', + : 'Mock Title Valve connection', }), 'context': , 'entity_id': 'binary_sensor.mock_title_valve_connection', diff --git a/tests/components/gardena_bluetooth/snapshots/test_button.ambr b/tests/components/gardena_bluetooth/snapshots/test_button.ambr index c1ac96f0809..7c60884b008 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_button.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_button.ambr @@ -2,7 +2,7 @@ # name: test_setup StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Factory reset', + : 'Mock Title Factory reset', }), 'context': , 'entity_id': 'button.mock_title_factory_reset', @@ -15,7 +15,7 @@ # name: test_setup.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Factory reset', + : 'Mock Title Factory reset', }), 'context': , 'entity_id': 'button.mock_title_factory_reset', diff --git a/tests/components/gardena_bluetooth/snapshots/test_number.ambr b/tests/components/gardena_bluetooth/snapshots/test_number.ambr index 1fbb049fe3c..f9007d40f7a 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_number.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_number.ambr @@ -2,13 +2,13 @@ # name: test_bluetooth_error_unavailable StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Remaining open time', + : 'duration', + : 'Mock Title Remaining open time', : 86400, : 0.0, : , : 60.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_remaining_open_time', @@ -21,13 +21,13 @@ # name: test_bluetooth_error_unavailable.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Manual watering time', + : 'duration', + : 'Mock Title Manual watering time', : 86400, : 0.0, : , : 60, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_manual_watering_time', @@ -40,13 +40,13 @@ # name: test_bluetooth_error_unavailable.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Remaining open time', + : 'duration', + : 'Mock Title Remaining open time', : 86400, : 0.0, : , : 60.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_remaining_open_time', @@ -59,13 +59,13 @@ # name: test_bluetooth_error_unavailable.3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Manual watering time', + : 'duration', + : 'Mock Title Manual watering time', : 86400, : 0.0, : , : 60, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_manual_watering_time', @@ -78,12 +78,12 @@ # name: test_connected_state StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Sensor threshold', + : 'Mock Title Sensor threshold', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_title_sensor_threshold', @@ -96,12 +96,12 @@ # name: test_connected_state.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Sensor threshold', + : 'Mock Title Sensor threshold', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_title_sensor_threshold', @@ -114,13 +114,13 @@ # name: test_setup[service_info0-98bd0f14-0b0e-421a-84e5-ddbf75dc6de4-raw0-number.mock_title_manual_watering_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Manual watering time', + : 'duration', + : 'Mock Title Manual watering time', : 86400, : 0.0, : , : 60, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_manual_watering_time', @@ -133,13 +133,13 @@ # name: test_setup[service_info0-98bd0f14-0b0e-421a-84e5-ddbf75dc6de4-raw0-number.mock_title_manual_watering_time].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Manual watering time', + : 'duration', + : 'Mock Title Manual watering time', : 86400, : 0.0, : , : 60, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_manual_watering_time', @@ -152,13 +152,13 @@ # name: test_setup[service_info1-98bd0f13-0b0e-421a-84e5-ddbf75dc6de4-raw1-number.mock_title_remaining_open_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Remaining open time', + : 'duration', + : 'Mock Title Remaining open time', : 86400, : 0.0, : , : 60.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_remaining_open_time', @@ -171,13 +171,13 @@ # name: test_setup[service_info1-98bd0f13-0b0e-421a-84e5-ddbf75dc6de4-raw1-number.mock_title_remaining_open_time].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Remaining open time', + : 'duration', + : 'Mock Title Remaining open time', : 86400, : 0.0, : , : 60.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_remaining_open_time', @@ -190,13 +190,13 @@ # name: test_setup[service_info1-98bd0f13-0b0e-421a-84e5-ddbf75dc6de4-raw1-number.mock_title_remaining_open_time].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Remaining open time', + : 'duration', + : 'Mock Title Remaining open time', : 86400, : 0.0, : , : 60.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_remaining_open_time', @@ -209,13 +209,13 @@ # name: test_setup[service_info1-98bd0f13-0b0e-421a-84e5-ddbf75dc6de4-raw1-number.mock_title_remaining_open_time].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Remaining open time', + : 'duration', + : 'Mock Title Remaining open time', : 86400, : 0.0, : , : 60.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_remaining_open_time', @@ -228,13 +228,13 @@ # name: test_setup[service_info2-98bd0f13-0b0e-421a-84e5-ddbf75dc6de4-raw2-number.mock_title_open_for] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Open for', + : 'duration', + : 'Mock Title Open for', : 1440, : 0.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.mock_title_open_for', @@ -247,13 +247,13 @@ # name: test_setup[service_info3-98bd0d13-0b0e-421a-84e5-ddbf75dc6de4-raw3-number.mock_title_manual_watering_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Manual watering time', + : 'duration', + : 'Mock Title Manual watering time', : 86400, : 0.0, : , : 60, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_manual_watering_time', @@ -266,13 +266,13 @@ # name: test_setup[service_info3-98bd0d13-0b0e-421a-84e5-ddbf75dc6de4-raw3-number.mock_title_manual_watering_time].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Title Manual watering time', + : 'duration', + : 'Mock Title Manual watering time', : 86400, : 0.0, : , : 60, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_title_manual_watering_time', @@ -285,12 +285,12 @@ # name: test_setup[service_info4-98bd0112-0b0e-421a-84e5-ddbf75dc6de4-raw4-number.mock_title_sector] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Sector', + : 'Mock Title Sector', : 359.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'number.mock_title_sector', @@ -303,12 +303,12 @@ # name: test_setup[service_info4-98bd0112-0b0e-421a-84e5-ddbf75dc6de4-raw4-number.mock_title_sector].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Sector', + : 'Mock Title Sector', : 359.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'number.mock_title_sector', @@ -321,12 +321,12 @@ # name: test_setup[service_info5-98bd0111-0b0e-421a-84e5-ddbf75dc6de4-raw5-number.mock_title_distance] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Distance', + : 'Mock Title Distance', : 100.0, : 0.0, : , : 0.1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_title_distance', @@ -339,12 +339,12 @@ # name: test_setup[service_info5-98bd0111-0b0e-421a-84e5-ddbf75dc6de4-raw5-number.mock_title_distance].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Distance', + : 'Mock Title Distance', : 100.0, : 0.0, : , : 0.1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_title_distance', diff --git a/tests/components/gardena_bluetooth/snapshots/test_select.ambr b/tests/components/gardena_bluetooth/snapshots/test_select.ambr index 33e9bc3d02b..91893a47df6 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_select.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_select.ambr @@ -47,7 +47,7 @@ # name: test_setup[aqua_contour][select.mock_title_active_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Active position', + : 'Mock Title Active position', : list([ 'position_1', 'position_2', @@ -111,7 +111,7 @@ # name: test_setup[aqua_contour][select.mock_title_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Operation mode', + : 'Mock Title Operation mode', : list([ 'active', 'manual_mode', @@ -178,7 +178,7 @@ # name: test_setup[aqua_contour][select.mock_title_watering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Watering', + : 'Mock Title Watering', : list([ 'preview', 'setup_mode', diff --git a/tests/components/gardena_bluetooth/snapshots/test_sensor.ambr b/tests/components/gardena_bluetooth/snapshots/test_sensor.ambr index c6e124d7deb..0da2fb18f9f 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_sensor.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_connected_state StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Title Sensor battery', + : 'battery', + : 'Mock Title Sensor battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_sensor_battery', @@ -18,10 +18,10 @@ # name: test_connected_state.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Title Sensor battery', + : 'battery', + : 'Mock Title Sensor battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_sensor_battery', @@ -73,10 +73,10 @@ # name: test_sensors[aqua_contour][sensor.mock_title_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Title Battery', + : 'battery', + : 'Mock Title Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_battery', @@ -128,9 +128,9 @@ # name: test_sensors[aqua_contour][sensor.mock_title_current_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Current distance', + : 'Mock Title Current distance', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_current_distance', @@ -185,10 +185,10 @@ # name: test_sensors[aqua_contour][sensor.mock_title_current_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Mock Title Current flow', + : 'volume_flow_rate', + : 'Mock Title Current flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_current_flow', @@ -240,9 +240,9 @@ # name: test_sensors[aqua_contour][sensor.mock_title_current_sector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Current sector', + : 'Mock Title Current sector', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.mock_title_current_sector', @@ -303,8 +303,8 @@ # name: test_sensors[aqua_contour][sensor.mock_title_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Error', + : 'enum', + : 'Mock Title Error', : list([ 'no_error', 'no_water', @@ -364,8 +364,8 @@ # name: test_sensors[aqua_contour][sensor.mock_title_error_timestamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Error timestamp', + : 'timestamp', + : 'Mock Title Error timestamp', }), 'context': , 'entity_id': 'sensor.mock_title_error_timestamp', @@ -420,10 +420,10 @@ # name: test_sensors[aqua_contour][sensor.mock_title_overall_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Mock Title Overall flow', + : 'water', + : 'Mock Title Overall flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_overall_flow', @@ -473,8 +473,8 @@ # name: test_sensors[aqua_contour][sensor.mock_title_watering_finished-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Watering finished', + : 'timestamp', + : 'Mock Title Watering finished', }), 'context': , 'entity_id': 'sensor.mock_title_watering_finished', @@ -526,10 +526,10 @@ # name: test_sensors[timer][sensor.mock_title_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Title Battery', + : 'battery', + : 'Mock Title Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_battery', @@ -579,8 +579,8 @@ # name: test_sensors[timer][sensor.mock_title_valve_closing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Valve closing', + : 'timestamp', + : 'Mock Title Valve closing', }), 'context': , 'entity_id': 'sensor.mock_title_valve_closing', @@ -593,10 +593,10 @@ # name: test_setup[standard_sensor] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Title Battery', + : 'battery', + : 'Mock Title Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_battery', @@ -609,10 +609,10 @@ # name: test_setup[standard_sensor].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Title Battery', + : 'battery', + : 'Mock Title Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_battery', @@ -625,8 +625,8 @@ # name: test_setup[valve_sensor] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Valve closing', + : 'timestamp', + : 'Mock Title Valve closing', }), 'context': , 'entity_id': 'sensor.mock_title_valve_closing', @@ -639,8 +639,8 @@ # name: test_setup[valve_sensor].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Valve closing', + : 'timestamp', + : 'Mock Title Valve closing', }), 'context': , 'entity_id': 'sensor.mock_title_valve_closing', @@ -653,8 +653,8 @@ # name: test_setup[valve_sensor].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Valve closing', + : 'timestamp', + : 'Mock Title Valve closing', }), 'context': , 'entity_id': 'sensor.mock_title_valve_closing', diff --git a/tests/components/gardena_bluetooth/snapshots/test_switch.ambr b/tests/components/gardena_bluetooth/snapshots/test_switch.ambr index 3b55aade60f..2befbdcc9cc 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_switch.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_setup StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Open', + : 'Mock Title Open', }), 'context': , 'entity_id': 'switch.mock_title_open', @@ -15,7 +15,7 @@ # name: test_setup.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Open', + : 'Mock Title Open', }), 'context': , 'entity_id': 'switch.mock_title_open', diff --git a/tests/components/gardena_bluetooth/snapshots/test_text.ambr b/tests/components/gardena_bluetooth/snapshots/test_text.ambr index 236eba8e68c..8b1b0432c1f 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_text.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_text.ambr @@ -44,7 +44,7 @@ # name: test_setup[aqua_contour][text.mock_title_contour_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Contour 1', + : 'Mock Title Contour 1', : 20, : 0, : , @@ -103,7 +103,7 @@ # name: test_setup[aqua_contour][text.mock_title_contour_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Contour 2', + : 'Mock Title Contour 2', : 20, : 0, : , @@ -162,7 +162,7 @@ # name: test_setup[aqua_contour][text.mock_title_contour_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Contour 3', + : 'Mock Title Contour 3', : 20, : 0, : , @@ -221,7 +221,7 @@ # name: test_setup[aqua_contour][text.mock_title_contour_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Contour 4', + : 'Mock Title Contour 4', : 20, : 0, : , @@ -280,7 +280,7 @@ # name: test_setup[aqua_contour][text.mock_title_contour_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Contour 5', + : 'Mock Title Contour 5', : 20, : 0, : , @@ -339,7 +339,7 @@ # name: test_setup[aqua_contour][text.mock_title_position_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Position 1', + : 'Mock Title Position 1', : 20, : 0, : , @@ -398,7 +398,7 @@ # name: test_setup[aqua_contour][text.mock_title_position_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Position 2', + : 'Mock Title Position 2', : 20, : 0, : , @@ -457,7 +457,7 @@ # name: test_setup[aqua_contour][text.mock_title_position_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Position 3', + : 'Mock Title Position 3', : 20, : 0, : , @@ -516,7 +516,7 @@ # name: test_setup[aqua_contour][text.mock_title_position_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Position 4', + : 'Mock Title Position 4', : 20, : 0, : , @@ -575,7 +575,7 @@ # name: test_setup[aqua_contour][text.mock_title_position_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Position 5', + : 'Mock Title Position 5', : 20, : 0, : , diff --git a/tests/components/gardena_bluetooth/snapshots/test_valve.ambr b/tests/components/gardena_bluetooth/snapshots/test_valve.ambr index a61ef9d6170..1ffaff95e3e 100644 --- a/tests/components/gardena_bluetooth/snapshots/test_valve.ambr +++ b/tests/components/gardena_bluetooth/snapshots/test_valve.ambr @@ -2,10 +2,10 @@ # name: test_setup StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Mock Title', + : 'water', + : 'Mock Title', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.mock_title', @@ -18,10 +18,10 @@ # name: test_setup.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Mock Title', + : 'water', + : 'Mock Title', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.mock_title', diff --git a/tests/components/generic_hygrostat/snapshots/test_config_flow.ambr b/tests/components/generic_hygrostat/snapshots/test_config_flow.ambr index d94d2518c14..6cf89392dc3 100644 --- a/tests/components/generic_hygrostat/snapshots/test_config_flow.ambr +++ b/tests/components/generic_hygrostat/snapshots/test_config_flow.ambr @@ -23,12 +23,12 @@ 'attributes': ReadOnlyDict({ : , : 10.0, - 'device_class': 'dehumidifier', - 'friendly_name': 'My hygrostat', + : 'dehumidifier', + : 'My hygrostat', : 100, : 100, : 0, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.my_hygrostat', @@ -43,12 +43,12 @@ 'attributes': ReadOnlyDict({ : , : 10.0, - 'device_class': 'humidifier', - 'friendly_name': 'My hygrostat', + : 'humidifier', + : 'My hygrostat', : 100, : 100, : 0, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.my_hygrostat', diff --git a/tests/components/generic_thermostat/snapshots/test_config_flow.ambr b/tests/components/generic_thermostat/snapshots/test_config_flow.ambr index 165603caf23..54711a104a0 100644 --- a/tests/components/generic_thermostat/snapshots/test_config_flow.ambr +++ b/tests/components/generic_thermostat/snapshots/test_config_flow.ambr @@ -56,7 +56,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 15.0, - 'friendly_name': 'My thermostat', + : 'My thermostat', : , : list([ , @@ -69,7 +69,7 @@ 'none', 'away', ]), - 'supported_features': , + : , : 0.1, : 7, }), @@ -85,7 +85,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 15.0, - 'friendly_name': 'My thermostat', + : 'My thermostat', : , : list([ , @@ -93,7 +93,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 0.1, : 7.0, }), diff --git a/tests/components/geniushub/snapshots/test_binary_sensor.ambr b/tests/components/geniushub/snapshots/test_binary_sensor.ambr index 219fe303fcf..0fa13a1fd42 100644 --- a/tests/components/geniushub/snapshots/test_binary_sensor.ambr +++ b/tests/components/geniushub/snapshots/test_binary_sensor.ambr @@ -40,7 +40,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'East Berlin', - 'friendly_name': 'Single Channel Receiver 22', + : 'Single Channel Receiver 22', 'state': dict({ }), }), diff --git a/tests/components/geniushub/snapshots/test_climate.ambr b/tests/components/geniushub/snapshots/test_climate.ambr index 84fbf997c86..897f5c8aeda 100644 --- a/tests/components/geniushub/snapshots/test_climate.ambr +++ b/tests/components/geniushub/snapshots/test_climate.ambr @@ -50,12 +50,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'Bedroom', + : 'Bedroom', : list([ , , ]), - 'icon': 'mdi:radiator', + : 'mdi:radiator', : 28.0, : 4.0, : None, @@ -71,7 +71,7 @@ 'temperature': 21.5, 'type': 'radiator', }), - 'supported_features': , + : , : 4, }), 'context': , @@ -134,12 +134,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21, - 'friendly_name': 'Ensuite', + : 'Ensuite', : list([ , , ]), - 'icon': 'mdi:radiator', + : 'mdi:radiator', : 28.0, : 4.0, : None, @@ -157,7 +157,7 @@ 'temperature': 21, 'type': 'radiator', }), - 'supported_features': , + : , : 4, }), 'context': , @@ -220,12 +220,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21, - 'friendly_name': 'Guest room', + : 'Guest room', : list([ , , ]), - 'icon': 'mdi:radiator', + : 'mdi:radiator', : 28.0, : 4.0, : None, @@ -243,7 +243,7 @@ 'temperature': 21, 'type': 'radiator', }), - 'supported_features': , + : , : 4, }), 'context': , @@ -306,12 +306,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21, - 'friendly_name': 'Hall', + : 'Hall', : list([ , , ]), - 'icon': 'mdi:radiator', + : 'mdi:radiator', : 28.0, : 4.0, : None, @@ -329,7 +329,7 @@ 'temperature': 21, 'type': 'radiator', }), - 'supported_features': , + : , : 4, }), 'context': , @@ -392,12 +392,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'Kitchen', + : 'Kitchen', : list([ , , ]), - 'icon': 'mdi:radiator', + : 'mdi:radiator', : 28.0, : 4.0, : None, @@ -415,7 +415,7 @@ 'temperature': 21.5, 'type': 'radiator', }), - 'supported_features': , + : , : 4, }), 'context': , @@ -477,12 +477,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20, - 'friendly_name': 'Lounge', + : 'Lounge', : list([ , , ]), - 'icon': 'mdi:radiator', + : 'mdi:radiator', : 28.0, : 4.0, : None, @@ -498,7 +498,7 @@ 'temperature': 20, 'type': 'radiator', }), - 'supported_features': , + : , : 4, }), 'context': , @@ -561,12 +561,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22, - 'friendly_name': 'Study', + : 'Study', : list([ , , ]), - 'icon': 'mdi:radiator', + : 'mdi:radiator', : 28.0, : 4.0, : None, @@ -584,7 +584,7 @@ 'temperature': 22, 'type': 'radiator', }), - 'supported_features': , + : , : 4, }), 'context': , diff --git a/tests/components/geniushub/snapshots/test_sensor.ambr b/tests/components/geniushub/snapshots/test_sensor.ambr index 696860cac6a..ba52e5d6c91 100644 --- a/tests/components/geniushub/snapshots/test_sensor.ambr +++ b/tests/components/geniushub/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ 'attributes': ReadOnlyDict({ 'error_list': list([ ]), - 'friendly_name': 'GeniusHub Errors', + : 'GeniusHub Errors', }), 'context': , 'entity_id': 'sensor.geniushub_errors', @@ -91,7 +91,7 @@ # name: test_cloud_all_sensors[sensor.geniushub_information-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GeniusHub Information', + : 'GeniusHub Information', 'information_list': list([ ]), }), @@ -143,7 +143,7 @@ # name: test_cloud_all_sensors[sensor.geniushub_warnings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GeniusHub Warnings', + : 'GeniusHub Warnings', 'warning_list': list([ ]), }), @@ -196,13 +196,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Lounge', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 11', - 'icon': 'mdi:battery-40', + : 'battery', + : 'Radiator Valve 11', + : 'mdi:battery-40', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_11', @@ -253,13 +253,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Kitchen', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 56', - 'icon': 'mdi:battery-50', + : 'battery', + : 'Radiator Valve 56', + : 'mdi:battery-50', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_56', @@ -310,13 +310,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Hall', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 68', - 'icon': 'mdi:battery-90', + : 'battery', + : 'Radiator Valve 68', + : 'mdi:battery-90', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_68', @@ -367,13 +367,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Bedroom', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 78', - 'icon': 'mdi:battery-40', + : 'battery', + : 'Radiator Valve 78', + : 'mdi:battery-40', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_78', @@ -424,13 +424,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Study', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 85', - 'icon': 'mdi:battery-60', + : 'battery', + : 'Radiator Valve 85', + : 'mdi:battery-60', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_85', @@ -481,13 +481,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Ensuite', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 88', - 'icon': 'mdi:battery-50', + : 'battery', + : 'Radiator Valve 88', + : 'mdi:battery-50', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_88', @@ -538,13 +538,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Kitchen', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 89', - 'icon': 'mdi:battery-50', + : 'battery', + : 'Radiator Valve 89', + : 'mdi:battery-50', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_89', @@ -595,13 +595,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Guest room', - 'device_class': 'battery', - 'friendly_name': 'Radiator Valve 90', - 'icon': 'mdi:battery-90', + : 'battery', + : 'Radiator Valve 90', + : 'mdi:battery-90', 'state': dict({ 'set_temperature': 4, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_valve_90', @@ -652,15 +652,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Guest room', - 'device_class': 'battery', - 'friendly_name': 'Room Sensor 16', - 'icon': 'mdi:battery', + : 'battery', + : 'Room Sensor 16', + : 'mdi:battery', 'state': dict({ 'luminance': 29, 'measured_temperature': 21, 'occupancy_trigger': 255, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.room_sensor_16', @@ -711,15 +711,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Ensuite', - 'device_class': 'battery', - 'friendly_name': 'Room Sensor 17', - 'icon': 'mdi:battery', + : 'battery', + : 'Room Sensor 17', + : 'mdi:battery', 'state': dict({ 'luminance': 32, 'measured_temperature': 21, 'occupancy_trigger': 0, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.room_sensor_17', @@ -770,15 +770,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Bedroom', - 'device_class': 'battery', - 'friendly_name': 'Room Sensor 18', - 'icon': 'mdi:battery-alert', + : 'battery', + : 'Room Sensor 18', + : 'mdi:battery-alert', 'state': dict({ 'luminance': 1, 'measured_temperature': 21.5, 'occupancy_trigger': 0, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.room_sensor_18', @@ -829,15 +829,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Kitchen', - 'device_class': 'battery', - 'friendly_name': 'Room Sensor 20', - 'icon': 'mdi:battery', + : 'battery', + : 'Room Sensor 20', + : 'mdi:battery', 'state': dict({ 'luminance': 1, 'measured_temperature': 21.5, 'occupancy_trigger': 0, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.room_sensor_20', @@ -888,15 +888,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Hall', - 'device_class': 'battery', - 'friendly_name': 'Room Sensor 21', - 'icon': 'mdi:battery', + : 'battery', + : 'Room Sensor 21', + : 'mdi:battery', 'state': dict({ 'luminance': 33, 'measured_temperature': 21, 'occupancy_trigger': 0, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.room_sensor_21', @@ -947,15 +947,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Study', - 'device_class': 'battery', - 'friendly_name': 'Room Sensor 50', - 'icon': 'mdi:battery', + : 'battery', + : 'Room Sensor 50', + : 'mdi:battery', 'state': dict({ 'luminance': 34, 'measured_temperature': 22, 'occupancy_trigger': 0, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.room_sensor_50', @@ -1006,15 +1006,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'assigned_zone': 'Lounge', - 'device_class': 'battery', - 'friendly_name': 'Room Sensor 53', - 'icon': 'mdi:battery-alert', + : 'battery', + : 'Room Sensor 53', + : 'mdi:battery-alert', 'state': dict({ 'luminance': 0, 'measured_temperature': 0, 'occupancy_trigger': 0, }), - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.room_sensor_53', diff --git a/tests/components/geniushub/snapshots/test_switch.ambr b/tests/components/geniushub/snapshots/test_switch.ambr index 16685461e9d..44f51fbf75a 100644 --- a/tests/components/geniushub/snapshots/test_switch.ambr +++ b/tests/components/geniushub/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_cloud_all_sensors[switch.bedroom_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Bedroom Socket', + : 'outlet', + : 'Bedroom Socket', 'status': dict({ 'mode': 'timer', 'override': dict({ @@ -98,8 +98,8 @@ # name: test_cloud_all_sensors[switch.kitchen_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Kitchen Socket', + : 'outlet', + : 'Kitchen Socket', 'status': dict({ 'mode': 'timer', 'override': dict({ @@ -157,8 +157,8 @@ # name: test_cloud_all_sensors[switch.study_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Study Socket', + : 'outlet', + : 'Study Socket', 'status': dict({ 'mode': 'off', 'override': dict({ diff --git a/tests/components/geniushub/snapshots/test_water_heater.ambr b/tests/components/geniushub/snapshots/test_water_heater.ambr index 029f6eafca2..f36571cb02c 100644 --- a/tests/components/geniushub/snapshots/test_water_heater.ambr +++ b/tests/components/geniushub/snapshots/test_water_heater.ambr @@ -48,7 +48,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 45.5, - 'friendly_name': 'Hot Water', + : 'Hot Water', : 80.0, : 30.0, : list([ @@ -66,7 +66,7 @@ 'temperature': 45.5, 'type': 'hot water temperature', }), - 'supported_features': , + : , : None, : None, : 60, diff --git a/tests/components/gentex_homelink/snapshots/test_event.ambr b/tests/components/gentex_homelink/snapshots/test_event.ambr index 2693d1761fc..e06ded1649c 100644 --- a/tests/components/gentex_homelink/snapshots/test_event.ambr +++ b/tests/components/gentex_homelink/snapshots/test_event.ambr @@ -43,12 +43,12 @@ # name: test_entities[event.testdevice_button_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'Pressed', ]), - 'friendly_name': 'TestDevice Button 1', + : 'TestDevice Button 1', }), 'context': , 'entity_id': 'event.testdevice_button_1', @@ -102,12 +102,12 @@ # name: test_entities[event.testdevice_button_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'Pressed', ]), - 'friendly_name': 'TestDevice Button 2', + : 'TestDevice Button 2', }), 'context': , 'entity_id': 'event.testdevice_button_2', @@ -161,12 +161,12 @@ # name: test_entities[event.testdevice_button_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'Pressed', ]), - 'friendly_name': 'TestDevice Button 3', + : 'TestDevice Button 3', }), 'context': , 'entity_id': 'event.testdevice_button_3', diff --git a/tests/components/ghost/snapshots/test_sensor.ambr b/tests/components/ghost/snapshots/test_sensor.ambr index 4fdea1da431..5c3ff14b42a 100644 --- a/tests/components/ghost/snapshots/test_sensor.ambr +++ b/tests/components/ghost/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_entities[sensor.test_ghost_arr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Test Ghost ARR', + : 'monetary', + : 'Test Ghost ARR', : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_ghost_arr', @@ -99,7 +99,7 @@ # name: test_sensor_entities[sensor.test_ghost_comped_members-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Comped members', + : 'Test Ghost Comped members', : , }), 'context': , @@ -152,7 +152,7 @@ # name: test_sensor_entities[sensor.test_ghost_draft_posts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Draft posts', + : 'Test Ghost Draft posts', : , }), 'context': , @@ -205,7 +205,7 @@ # name: test_sensor_entities[sensor.test_ghost_free_members-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Free members', + : 'Test Ghost Free members', : , }), 'context': , @@ -258,7 +258,7 @@ # name: test_sensor_entities[sensor.test_ghost_gift_members-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Gift members', + : 'Test Ghost Gift members', : , }), 'context': , @@ -309,7 +309,7 @@ # name: test_sensor_entities[sensor.test_ghost_latest_email-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Latest email', + : 'Test Ghost Latest email', }), 'context': , 'entity_id': 'sensor.test_ghost_latest_email', @@ -359,8 +359,8 @@ # name: test_sensor_entities[sensor.test_ghost_latest_email_click_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Latest email click rate', - 'unit_of_measurement': '%', + : 'Test Ghost Latest email click rate', + : '%', }), 'context': , 'entity_id': 'sensor.test_ghost_latest_email_click_rate', @@ -412,7 +412,7 @@ # name: test_sensor_entities[sensor.test_ghost_latest_email_clicked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Latest email clicked', + : 'Test Ghost Latest email clicked', : , }), 'context': , @@ -463,8 +463,8 @@ # name: test_sensor_entities[sensor.test_ghost_latest_email_open_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Latest email open rate', - 'unit_of_measurement': '%', + : 'Test Ghost Latest email open rate', + : '%', }), 'context': , 'entity_id': 'sensor.test_ghost_latest_email_open_rate', @@ -516,7 +516,7 @@ # name: test_sensor_entities[sensor.test_ghost_latest_email_opened-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Latest email opened', + : 'Test Ghost Latest email opened', : , }), 'context': , @@ -569,7 +569,7 @@ # name: test_sensor_entities[sensor.test_ghost_latest_email_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Latest email sent', + : 'Test Ghost Latest email sent', : , }), 'context': , @@ -620,7 +620,7 @@ # name: test_sensor_entities[sensor.test_ghost_latest_post-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Latest post', + : 'Test Ghost Latest post', }), 'context': , 'entity_id': 'sensor.test_ghost_latest_post', @@ -675,10 +675,10 @@ # name: test_sensor_entities[sensor.test_ghost_mrr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Test Ghost MRR', + : 'monetary', + : 'Test Ghost MRR', : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_ghost_mrr', @@ -730,7 +730,7 @@ # name: test_sensor_entities[sensor.test_ghost_paid_members-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Paid members', + : 'Test Ghost Paid members', : , }), 'context': , @@ -783,7 +783,7 @@ # name: test_sensor_entities[sensor.test_ghost_published_posts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Published posts', + : 'Test Ghost Published posts', : , }), 'context': , @@ -836,7 +836,7 @@ # name: test_sensor_entities[sensor.test_ghost_scheduled_posts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Scheduled posts', + : 'Test Ghost Scheduled posts', : , }), 'context': , @@ -889,9 +889,9 @@ # name: test_sensor_entities[sensor.test_ghost_socialweb_followers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost SocialWeb followers', + : 'Test Ghost SocialWeb followers', : , - 'unit_of_measurement': 'followers', + : 'followers', }), 'context': , 'entity_id': 'sensor.test_ghost_socialweb_followers', @@ -943,9 +943,9 @@ # name: test_sensor_entities[sensor.test_ghost_socialweb_following-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost SocialWeb following', + : 'Test Ghost SocialWeb following', : , - 'unit_of_measurement': 'accounts', + : 'accounts', }), 'context': , 'entity_id': 'sensor.test_ghost_socialweb_following', @@ -997,9 +997,9 @@ # name: test_sensor_entities[sensor.test_ghost_total_comments-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Total comments', + : 'Test Ghost Total comments', : , - 'unit_of_measurement': 'comments', + : 'comments', }), 'context': , 'entity_id': 'sensor.test_ghost_total_comments', @@ -1051,7 +1051,7 @@ # name: test_sensor_entities[sensor.test_ghost_total_members-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Total members', + : 'Test Ghost Total members', : , }), 'context': , @@ -1104,7 +1104,7 @@ # name: test_sensor_entities[sensor.test_ghost_weekly_subscribers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Ghost Weekly subscribers', + : 'Test Ghost Weekly subscribers', : , }), 'context': , diff --git a/tests/components/gios/snapshots/test_sensor.ambr b/tests/components/gios/snapshots/test_sensor.ambr index a49f5c66bd9..18e2160af6d 100644 --- a/tests/components/gios/snapshots/test_sensor.ambr +++ b/tests/components/gios/snapshots/test_sensor.ambr @@ -48,9 +48,9 @@ # name: test_sensor[sensor.home_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'enum', - 'friendly_name': 'Home Air quality index', + : 'Data provided by GIOŚ', + : 'enum', + : 'Home Air quality index', : list([ 'very_bad', 'bad', @@ -113,10 +113,10 @@ # name: test_sensor[sensor.home_benzene-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'friendly_name': 'Home Benzene', + : 'Data provided by GIOŚ', + : 'Home Benzene', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_benzene', @@ -171,11 +171,11 @@ # name: test_sensor[sensor.home_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Home Carbon monoxide', + : 'Data provided by GIOŚ', + : 'carbon_monoxide', + : 'Home Carbon monoxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_carbon_monoxide', @@ -230,11 +230,11 @@ # name: test_sensor[sensor.home_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'nitrogen_dioxide', - 'friendly_name': 'Home Nitrogen dioxide', + : 'Data provided by GIOŚ', + : 'nitrogen_dioxide', + : 'Home Nitrogen dioxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_nitrogen_dioxide', @@ -293,9 +293,9 @@ # name: test_sensor[sensor.home_nitrogen_dioxide_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'enum', - 'friendly_name': 'Home Nitrogen dioxide index', + : 'Data provided by GIOŚ', + : 'enum', + : 'Home Nitrogen dioxide index', : list([ 'very_bad', 'bad', @@ -358,11 +358,11 @@ # name: test_sensor[sensor.home_nitrogen_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'nitrogen_monoxide', - 'friendly_name': 'Home Nitrogen monoxide', + : 'Data provided by GIOŚ', + : 'nitrogen_monoxide', + : 'Home Nitrogen monoxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_nitrogen_monoxide', @@ -417,10 +417,10 @@ # name: test_sensor[sensor.home_nitrogen_oxides-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'friendly_name': 'Home Nitrogen oxides', + : 'Data provided by GIOŚ', + : 'Home Nitrogen oxides', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_nitrogen_oxides', @@ -475,11 +475,11 @@ # name: test_sensor[sensor.home_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'ozone', - 'friendly_name': 'Home Ozone', + : 'Data provided by GIOŚ', + : 'ozone', + : 'Home Ozone', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_ozone', @@ -538,9 +538,9 @@ # name: test_sensor[sensor.home_ozone_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'enum', - 'friendly_name': 'Home Ozone index', + : 'Data provided by GIOŚ', + : 'enum', + : 'Home Ozone index', : list([ 'very_bad', 'bad', @@ -603,11 +603,11 @@ # name: test_sensor[sensor.home_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'pm10', - 'friendly_name': 'Home PM10', + : 'Data provided by GIOŚ', + : 'pm10', + : 'Home PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm10', @@ -666,9 +666,9 @@ # name: test_sensor[sensor.home_pm10_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'enum', - 'friendly_name': 'Home PM10 index', + : 'Data provided by GIOŚ', + : 'enum', + : 'Home PM10 index', : list([ 'very_bad', 'bad', @@ -731,11 +731,11 @@ # name: test_sensor[sensor.home_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'pm25', - 'friendly_name': 'Home PM2.5', + : 'Data provided by GIOŚ', + : 'pm25', + : 'Home PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm2_5', @@ -794,9 +794,9 @@ # name: test_sensor[sensor.home_pm2_5_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'enum', - 'friendly_name': 'Home PM2.5 index', + : 'Data provided by GIOŚ', + : 'enum', + : 'Home PM2.5 index', : list([ 'very_bad', 'bad', @@ -859,11 +859,11 @@ # name: test_sensor[sensor.home_sulphur_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'sulphur_dioxide', - 'friendly_name': 'Home Sulphur dioxide', + : 'Data provided by GIOŚ', + : 'sulphur_dioxide', + : 'Home Sulphur dioxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_sulphur_dioxide', @@ -922,9 +922,9 @@ # name: test_sensor[sensor.home_sulphur_dioxide_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by GIOŚ', - 'device_class': 'enum', - 'friendly_name': 'Home Sulphur dioxide index', + : 'Data provided by GIOŚ', + : 'enum', + : 'Home Sulphur dioxide index', : list([ 'very_bad', 'bad', diff --git a/tests/components/github/snapshots/test_sensor.ambr b/tests/components/github/snapshots/test_sensor.ambr index 20a07742e65..36581e8c750 100644 --- a/tests/components/github/snapshots/test_sensor.ambr +++ b/tests/components/github/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_all_entities[sensor.octocat_followers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'octocat Followers', + : 'octocat Followers', : , - 'unit_of_measurement': 'followers', + : 'followers', }), 'context': , 'entity_id': 'sensor.octocat_followers', @@ -95,9 +95,9 @@ # name: test_all_entities[sensor.octocat_following-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'octocat Following', + : 'octocat Following', : , - 'unit_of_measurement': 'users', + : 'users', }), 'context': , 'entity_id': 'sensor.octocat_following', @@ -149,10 +149,10 @@ # name: test_all_entities[sensor.octocat_hello_world_discussions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Discussions', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Discussions', : , - 'unit_of_measurement': 'discussions', + : 'discussions', }), 'context': , 'entity_id': 'sensor.octocat_hello_world_discussions', @@ -204,10 +204,10 @@ # name: test_all_entities[sensor.octocat_hello_world_forks-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Forks', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Forks', : , - 'unit_of_measurement': 'forks', + : 'forks', }), 'context': , 'entity_id': 'sensor.octocat_hello_world_forks', @@ -259,10 +259,10 @@ # name: test_all_entities[sensor.octocat_hello_world_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Issues', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Issues', : , - 'unit_of_measurement': 'issues', + : 'issues', }), 'context': , 'entity_id': 'sensor.octocat_hello_world_issues', @@ -312,8 +312,8 @@ # name: test_all_entities[sensor.octocat_hello_world_latest_commit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Latest commit', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Latest commit', 'sha': '6dcb09b5b57875f334f61aebed695e2e4193db5e', 'url': 'https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e', }), @@ -365,8 +365,8 @@ # name: test_all_entities[sensor.octocat_hello_world_latest_discussion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Latest discussion', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Latest discussion', 'number': 1347, 'url': 'https://github.com/octocat/Hello-World/discussions/1347', }), @@ -418,8 +418,8 @@ # name: test_all_entities[sensor.octocat_hello_world_latest_issue-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Latest issue', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Latest issue', 'number': 1347, 'url': 'https://github.com/octocat/Hello-World/issues/1347', }), @@ -471,8 +471,8 @@ # name: test_all_entities[sensor.octocat_hello_world_latest_pull_request-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Latest pull request', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Latest pull request', 'number': 1347, 'url': 'https://github.com/octocat/Hello-World/pull/1347', }), @@ -524,8 +524,8 @@ # name: test_all_entities[sensor.octocat_hello_world_latest_release-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Latest release', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Latest release', 'tag': 'v1.0.0', 'url': 'https://github.com/octocat/Hello-World/releases/v1.0.0', }), @@ -577,8 +577,8 @@ # name: test_all_entities[sensor.octocat_hello_world_latest_tag-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Latest tag', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Latest tag', 'url': 'https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e', }), 'context': , @@ -631,10 +631,10 @@ # name: test_all_entities[sensor.octocat_hello_world_merged_pull_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Merged pull requests', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Merged pull requests', : , - 'unit_of_measurement': 'pull requests', + : 'pull requests', }), 'context': , 'entity_id': 'sensor.octocat_hello_world_merged_pull_requests', @@ -686,10 +686,10 @@ # name: test_all_entities[sensor.octocat_hello_world_pull_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Pull requests', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Pull requests', : , - 'unit_of_measurement': 'pull requests', + : 'pull requests', }), 'context': , 'entity_id': 'sensor.octocat_hello_world_pull_requests', @@ -741,10 +741,10 @@ # name: test_all_entities[sensor.octocat_hello_world_stars-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Stars', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Stars', : , - 'unit_of_measurement': 'stars', + : 'stars', }), 'context': , 'entity_id': 'sensor.octocat_hello_world_stars', @@ -796,10 +796,10 @@ # name: test_all_entities[sensor.octocat_hello_world_watchers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by the GitHub API', - 'friendly_name': 'octocat/Hello-World Watchers', + : 'Data provided by the GitHub API', + : 'octocat/Hello-World Watchers', : , - 'unit_of_measurement': 'watchers', + : 'watchers', }), 'context': , 'entity_id': 'sensor.octocat_hello_world_watchers', @@ -851,9 +851,9 @@ # name: test_all_entities[sensor.octocat_public_gists-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'octocat Public gists', + : 'octocat Public gists', : , - 'unit_of_measurement': 'gists', + : 'gists', }), 'context': , 'entity_id': 'sensor.octocat_public_gists', @@ -905,9 +905,9 @@ # name: test_all_entities[sensor.octocat_public_repositories-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'octocat Public repositories', + : 'octocat Public repositories', : , - 'unit_of_measurement': 'repositories', + : 'repositories', }), 'context': , 'entity_id': 'sensor.octocat_public_repositories', diff --git a/tests/components/glances/snapshots/test_sensor.ambr b/tests/components/glances/snapshots/test_sensor.ambr index deb89eca4b9..97a827f6f70 100644 --- a/tests/components/glances/snapshots/test_sensor.ambr +++ b/tests/components/glances/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_sensor_states[sensor.0_0_0_0_containers_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 Containers active', + : '0.0.0.0 Containers active', : , }), 'context': , @@ -94,9 +94,9 @@ # name: test_sensor_states[sensor.0_0_0_0_containers_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 Containers CPU usage', + : '0.0.0.0 Containers CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.0_0_0_0_containers_cpu_usage', @@ -151,10 +151,10 @@ # name: test_sensor_states[sensor.0_0_0_0_containers_memory_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 Containers memory used', + : 'data_size', + : '0.0.0.0 Containers memory used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_containers_memory_used', @@ -209,10 +209,10 @@ # name: test_sensor_states[sensor.0_0_0_0_cpu_thermal_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '0.0.0.0 cpu_thermal 1 temperature', + : 'temperature', + : '0.0.0.0 cpu_thermal 1 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_cpu_thermal_1_temperature', @@ -270,10 +270,10 @@ # name: test_sensor_states[sensor.0_0_0_0_dummy0_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 dummy0 RX', + : 'data_rate', + : '0.0.0.0 dummy0 RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_dummy0_rx', @@ -331,10 +331,10 @@ # name: test_sensor_states[sensor.0_0_0_0_dummy0_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 dummy0 TX', + : 'data_rate', + : '0.0.0.0 dummy0 TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_dummy0_tx', @@ -389,10 +389,10 @@ # name: test_sensor_states[sensor.0_0_0_0_err_temp_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '0.0.0.0 err_temp temperature', + : 'temperature', + : '0.0.0.0 err_temp temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_err_temp_temperature', @@ -450,10 +450,10 @@ # name: test_sensor_states[sensor.0_0_0_0_eth0_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 eth0 RX', + : 'data_rate', + : '0.0.0.0 eth0 RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_eth0_rx', @@ -511,10 +511,10 @@ # name: test_sensor_states[sensor.0_0_0_0_eth0_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 eth0 TX', + : 'data_rate', + : '0.0.0.0 eth0 TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_eth0_tx', @@ -572,10 +572,10 @@ # name: test_sensor_states[sensor.0_0_0_0_lo_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 lo RX', + : 'data_rate', + : '0.0.0.0 lo RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_lo_rx', @@ -633,10 +633,10 @@ # name: test_sensor_states[sensor.0_0_0_0_lo_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 lo TX', + : 'data_rate', + : '0.0.0.0 lo TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_lo_tx', @@ -688,7 +688,7 @@ # name: test_sensor_states[sensor.0_0_0_0_md1_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 md1 available', + : '0.0.0.0 md1 available', : , }), 'context': , @@ -741,7 +741,7 @@ # name: test_sensor_states[sensor.0_0_0_0_md1_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 md1 used', + : '0.0.0.0 md1 used', : , }), 'context': , @@ -794,7 +794,7 @@ # name: test_sensor_states[sensor.0_0_0_0_md3_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 md3 available', + : '0.0.0.0 md3 available', : , }), 'context': , @@ -847,7 +847,7 @@ # name: test_sensor_states[sensor.0_0_0_0_md3_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 md3 used', + : '0.0.0.0 md3 used', : , }), 'context': , @@ -903,10 +903,10 @@ # name: test_sensor_states[sensor.0_0_0_0_media_disk_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 /media disk free', + : 'data_size', + : '0.0.0.0 /media disk free', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_media_disk_free', @@ -961,10 +961,10 @@ # name: test_sensor_states[sensor.0_0_0_0_media_disk_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 /media disk size', + : 'data_size', + : '0.0.0.0 /media disk size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_media_disk_size', @@ -1016,9 +1016,9 @@ # name: test_sensor_states[sensor.0_0_0_0_media_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 /media disk usage', + : '0.0.0.0 /media disk usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.0_0_0_0_media_disk_usage', @@ -1073,10 +1073,10 @@ # name: test_sensor_states[sensor.0_0_0_0_media_disk_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 /media disk used', + : 'data_size', + : '0.0.0.0 /media disk used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_media_disk_used', @@ -1131,10 +1131,10 @@ # name: test_sensor_states[sensor.0_0_0_0_memory_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 Memory free', + : 'data_size', + : '0.0.0.0 Memory free', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_memory_free', @@ -1186,9 +1186,9 @@ # name: test_sensor_states[sensor.0_0_0_0_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 Memory usage', + : '0.0.0.0 Memory usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.0_0_0_0_memory_usage', @@ -1243,10 +1243,10 @@ # name: test_sensor_states[sensor.0_0_0_0_memory_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 Memory use', + : 'data_size', + : '0.0.0.0 Memory use', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_memory_use', @@ -1301,10 +1301,10 @@ # name: test_sensor_states[sensor.0_0_0_0_na_temp_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '0.0.0.0 na_temp temperature', + : 'temperature', + : '0.0.0.0 na_temp temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_na_temp_temperature', @@ -1356,9 +1356,9 @@ # name: test_sensor_states[sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) fan speed', + : '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) fan speed', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_fan_speed', @@ -1410,9 +1410,9 @@ # name: test_sensor_states[sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) memory usage', + : '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) memory usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_memory_usage', @@ -1467,9 +1467,9 @@ # name: test_sensor_states[sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_processor_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) processor usage', + : '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) processor usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_processor_usage', @@ -1524,10 +1524,10 @@ # name: test_sensor_states[sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) temperature', + : 'temperature', + : '0.0.0.0 NVIDIA GeForce RTX 3080 (GPU 0) temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_nvidia_geforce_rtx_3080_gpu_0_temperature', @@ -1585,10 +1585,10 @@ # name: test_sensor_states[sensor.0_0_0_0_nvme0n1_disk_read-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 nvme0n1 disk read', + : 'data_rate', + : '0.0.0.0 nvme0n1 disk read', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_nvme0n1_disk_read', @@ -1646,10 +1646,10 @@ # name: test_sensor_states[sensor.0_0_0_0_nvme0n1_disk_write-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 nvme0n1 disk write', + : 'data_rate', + : '0.0.0.0 nvme0n1 disk write', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_nvme0n1_disk_write', @@ -1707,10 +1707,10 @@ # name: test_sensor_states[sensor.0_0_0_0_sda_disk_read-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 sda disk read', + : 'data_rate', + : '0.0.0.0 sda disk read', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_sda_disk_read', @@ -1768,10 +1768,10 @@ # name: test_sensor_states[sensor.0_0_0_0_sda_disk_write-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': '0.0.0.0 sda disk write', + : 'data_rate', + : '0.0.0.0 sda disk write', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_sda_disk_write', @@ -1826,10 +1826,10 @@ # name: test_sensor_states[sensor.0_0_0_0_ssl_disk_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 /ssl disk free', + : 'data_size', + : '0.0.0.0 /ssl disk free', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_ssl_disk_free', @@ -1884,10 +1884,10 @@ # name: test_sensor_states[sensor.0_0_0_0_ssl_disk_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 /ssl disk size', + : 'data_size', + : '0.0.0.0 /ssl disk size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_ssl_disk_size', @@ -1939,9 +1939,9 @@ # name: test_sensor_states[sensor.0_0_0_0_ssl_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '0.0.0.0 /ssl disk usage', + : '0.0.0.0 /ssl disk usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.0_0_0_0_ssl_disk_usage', @@ -1996,10 +1996,10 @@ # name: test_sensor_states[sensor.0_0_0_0_ssl_disk_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '0.0.0.0 /ssl disk used', + : 'data_size', + : '0.0.0.0 /ssl disk used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.0_0_0_0_ssl_disk_used', @@ -2049,8 +2049,8 @@ # name: test_sensor_states[sensor.0_0_0_0_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '0.0.0.0 Uptime', + : 'timestamp', + : '0.0.0.0 Uptime', }), 'context': , 'entity_id': 'sensor.0_0_0_0_uptime', diff --git a/tests/components/google_air_quality/snapshots/test_sensor.ambr b/tests/components/google_air_quality/snapshots/test_sensor.ambr index b47fd20ab69..af19b7b5ee1 100644 --- a/tests/components/google_air_quality/snapshots/test_sensor.ambr +++ b/tests/components/google_air_quality/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_ammonia-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'friendly_name': 'Home Ammonia', + : 'Data provided by Google Air Quality', + : 'Home Ammonia', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_ammonia', @@ -96,10 +96,10 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_benzene-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'friendly_name': 'Home Benzene', + : 'Data provided by Google Air Quality', + : 'Home Benzene', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_benzene', @@ -154,11 +154,11 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Home Carbon monoxide', + : 'Data provided by Google Air Quality', + : 'carbon_monoxide', + : 'Home Carbon monoxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.home_carbon_monoxide', @@ -216,9 +216,9 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_lqi_de_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home LQI (DE) category', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home LQI (DE) category', : list([ 'very_good_air_quality', 'good_air_quality', @@ -282,9 +282,9 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_lqi_de_dominant_pollutant-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home LQI (DE) dominant pollutant', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home LQI (DE) dominant pollutant', : list([ 'no2', 'o3', @@ -342,11 +342,11 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'nitrogen_dioxide', - 'friendly_name': 'Home Nitrogen dioxide', + : 'Data provided by Google Air Quality', + : 'nitrogen_dioxide', + : 'Home Nitrogen dioxide', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_nitrogen_dioxide', @@ -398,11 +398,11 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_nitrogen_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'nitrogen_monoxide', - 'friendly_name': 'Home Nitrogen monoxide', + : 'Data provided by Google Air Quality', + : 'nitrogen_monoxide', + : 'Home Nitrogen monoxide', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_nitrogen_monoxide', @@ -454,10 +454,10 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_non_methane_hydrocarbons-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'friendly_name': 'Home Non-methane hydrocarbons', + : 'Data provided by Google Air Quality', + : 'Home Non-methane hydrocarbons', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_non_methane_hydrocarbons', @@ -509,11 +509,11 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'ozone', - 'friendly_name': 'Home Ozone', + : 'Data provided by Google Air Quality', + : 'ozone', + : 'Home Ozone', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_ozone', @@ -565,11 +565,11 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'pm10', - 'friendly_name': 'Home PM10', + : 'Data provided by Google Air Quality', + : 'pm10', + : 'Home PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm10', @@ -621,11 +621,11 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'pm25', - 'friendly_name': 'Home PM2.5', + : 'Data provided by Google Air Quality', + : 'pm25', + : 'Home PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm2_5', @@ -677,11 +677,11 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_sulphur_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'sulphur_dioxide', - 'friendly_name': 'Home Sulphur dioxide', + : 'Data provided by Google Air Quality', + : 'sulphur_dioxide', + : 'Home Sulphur dioxide', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_sulphur_dioxide', @@ -739,9 +739,9 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_uaqi_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home UAQI category', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home UAQI category', : list([ 'excellent_air_quality', 'good_air_quality', @@ -807,9 +807,9 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_uaqi_dominant_pollutant-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home UAQI dominant pollutant', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home UAQI dominant pollutant', : list([ 'co', 'no2', @@ -869,9 +869,9 @@ # name: test_sensor_snapshot[air_quality_data.json-mock_config_entry][sensor.home_universal_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'aqi', - 'friendly_name': 'Home Universal Air Quality Index', + : 'Data provided by Google Air Quality', + : 'aqi', + : 'Home Universal Air Quality Index', : , }), 'context': , @@ -927,11 +927,11 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Home Carbon monoxide', + : 'Data provided by Google Air Quality', + : 'carbon_monoxide', + : 'Home Carbon monoxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.home_carbon_monoxide', @@ -983,9 +983,9 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_luqx_de_aqi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'aqi', - 'friendly_name': 'Home LuQx (DE) AQI', + : 'Data provided by Google Air Quality', + : 'aqi', + : 'Home LuQx (DE) AQI', : , }), 'context': , @@ -1045,9 +1045,9 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_luqx_de_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home LuQx (DE) category', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home LuQx (DE) category', : list([ 'very_good_air_quality', 'good_air_quality', @@ -1113,9 +1113,9 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_luqx_de_dominant_pollutant-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home LuQx (DE) dominant pollutant', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home LuQx (DE) dominant pollutant', : list([ 'no2', 'so2', @@ -1174,11 +1174,11 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'nitrogen_dioxide', - 'friendly_name': 'Home Nitrogen dioxide', + : 'Data provided by Google Air Quality', + : 'nitrogen_dioxide', + : 'Home Nitrogen dioxide', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_nitrogen_dioxide', @@ -1230,11 +1230,11 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'ozone', - 'friendly_name': 'Home Ozone', + : 'Data provided by Google Air Quality', + : 'ozone', + : 'Home Ozone', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_ozone', @@ -1286,11 +1286,11 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'pm10', - 'friendly_name': 'Home PM10', + : 'Data provided by Google Air Quality', + : 'pm10', + : 'Home PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm10', @@ -1342,11 +1342,11 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'pm25', - 'friendly_name': 'Home PM2.5', + : 'Data provided by Google Air Quality', + : 'pm25', + : 'Home PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.home_pm2_5', @@ -1398,11 +1398,11 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_sulphur_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'sulphur_dioxide', - 'friendly_name': 'Home Sulphur dioxide', + : 'Data provided by Google Air Quality', + : 'sulphur_dioxide', + : 'Home Sulphur dioxide', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.home_sulphur_dioxide', @@ -1460,9 +1460,9 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_uaqi_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home UAQI category', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home UAQI category', : list([ 'excellent_air_quality', 'good_air_quality', @@ -1528,9 +1528,9 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_uaqi_dominant_pollutant-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'enum', - 'friendly_name': 'Home UAQI dominant pollutant', + : 'Data provided by Google Air Quality', + : 'enum', + : 'Home UAQI dominant pollutant', : list([ 'co', 'no2', @@ -1590,9 +1590,9 @@ # name: test_sensor_snapshot[air_quality_data_custom_laqi.json-mock_config_entry_with_custom_laqi][sensor.home_universal_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Google Air Quality', - 'device_class': 'aqi', - 'friendly_name': 'Home Universal Air Quality Index', + : 'Data provided by Google Air Quality', + : 'aqi', + : 'Home Universal Air Quality Index', : , }), 'context': , diff --git a/tests/components/google_drive/snapshots/test_sensor.ambr b/tests/components/google_drive/snapshots/test_sensor.ambr index 5fccf4e7871..06df145129b 100644 --- a/tests/components/google_drive/snapshots/test_sensor.ambr +++ b/tests/components/google_drive/snapshots/test_sensor.ambr @@ -76,9 +76,9 @@ # name: test_sensor[sensor.testuser_domain_com_total_available_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'testuser@domain.com Total available storage', - 'unit_of_measurement': , + : 'data_size', + : 'testuser@domain.com Total available storage', + : , }), 'context': , 'entity_id': 'sensor.testuser_domain_com_total_available_storage', @@ -134,9 +134,9 @@ # name: test_sensor[sensor.testuser_domain_com_total_size_of_backups-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'testuser@domain.com Total size of backups', - 'unit_of_measurement': , + : 'data_size', + : 'testuser@domain.com Total size of backups', + : , }), 'context': , 'entity_id': 'sensor.testuser_domain_com_total_size_of_backups', @@ -192,9 +192,9 @@ # name: test_sensor[sensor.testuser_domain_com_used_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'testuser@domain.com Used storage', - 'unit_of_measurement': , + : 'data_size', + : 'testuser@domain.com Used storage', + : , }), 'context': , 'entity_id': 'sensor.testuser_domain_com_used_storage', @@ -250,9 +250,9 @@ # name: test_sensor[sensor.testuser_domain_com_used_storage_in_drive-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'testuser@domain.com Used storage in Drive', - 'unit_of_measurement': , + : 'data_size', + : 'testuser@domain.com Used storage in Drive', + : , }), 'context': , 'entity_id': 'sensor.testuser_domain_com_used_storage_in_drive', @@ -308,9 +308,9 @@ # name: test_sensor[sensor.testuser_domain_com_used_storage_in_drive_trash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'testuser@domain.com Used storage in Drive Trash', - 'unit_of_measurement': , + : 'data_size', + : 'testuser@domain.com Used storage in Drive Trash', + : , }), 'context': , 'entity_id': 'sensor.testuser_domain_com_used_storage_in_drive_trash', diff --git a/tests/components/google_translate/snapshots/test_tts.ambr b/tests/components/google_translate/snapshots/test_tts.ambr index 43c1d6d1318..cfb1d445077 100644 --- a/tests/components/google_translate/snapshots/test_tts.ambr +++ b/tests/components/google_translate/snapshots/test_tts.ambr @@ -39,7 +39,7 @@ # name: test_platform[tts.google_translate_en_com-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Google Translate en com', + : 'Google Translate en com', }), 'context': , 'entity_id': 'tts.google_translate_en_com', diff --git a/tests/components/google_weather/snapshots/test_sensor.ambr b/tests/components/google_weather/snapshots/test_sensor.ambr index 69b844822a7..e4be6f3a143 100644 --- a/tests/components/google_weather/snapshots/test_sensor.ambr +++ b/tests/components/google_weather/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.home_apparent_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Home Apparent temperature', + : 'temperature', + : 'Home Apparent temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_apparent_temperature', @@ -102,10 +102,10 @@ # name: test_sensor[sensor.home_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Home Atmospheric pressure', + : 'atmospheric_pressure', + : 'Home Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_atmospheric_pressure', @@ -157,9 +157,9 @@ # name: test_sensor[sensor.home_cloud_coverage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Cloud coverage', + : 'Home Cloud coverage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_cloud_coverage', @@ -214,10 +214,10 @@ # name: test_sensor[sensor.home_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Home Dew point', + : 'temperature', + : 'Home Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_dew_point', @@ -272,10 +272,10 @@ # name: test_sensor[sensor.home_heat_index_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Home Heat index temperature', + : 'temperature', + : 'Home Heat index temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_heat_index_temperature', @@ -327,10 +327,10 @@ # name: test_sensor[sensor.home_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Home Humidity', + : 'humidity', + : 'Home Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_humidity', @@ -385,10 +385,10 @@ # name: test_sensor[sensor.home_precipitation_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'precipitation_intensity', - 'friendly_name': 'Home Precipitation intensity', + : 'precipitation_intensity', + : 'Home Precipitation intensity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_precipitation_intensity', @@ -440,9 +440,9 @@ # name: test_sensor[sensor.home_precipitation_probability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Precipitation probability', + : 'Home Precipitation probability', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_precipitation_probability', @@ -497,10 +497,10 @@ # name: test_sensor[sensor.home_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Home Temperature', + : 'temperature', + : 'Home Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_temperature', @@ -552,9 +552,9 @@ # name: test_sensor[sensor.home_thunderstorm_probability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Thunderstorm probability', + : 'Home Thunderstorm probability', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_thunderstorm_probability', @@ -606,9 +606,9 @@ # name: test_sensor[sensor.home_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home UV index', + : 'Home UV index', : , - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.home_uv_index', @@ -663,10 +663,10 @@ # name: test_sensor[sensor.home_visibility-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Home Visibility', + : 'distance', + : 'Home Visibility', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_visibility', @@ -716,7 +716,7 @@ # name: test_sensor[sensor.home_weather_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Weather condition', + : 'Home Weather condition', }), 'context': , 'entity_id': 'sensor.home_weather_condition', @@ -771,10 +771,10 @@ # name: test_sensor[sensor.home_wind_chill_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Home Wind chill temperature', + : 'temperature', + : 'Home Wind chill temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_wind_chill_temperature', @@ -826,10 +826,10 @@ # name: test_sensor[sensor.home_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_direction', - 'friendly_name': 'Home Wind direction', + : 'wind_direction', + : 'Home Wind direction', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.home_wind_direction', @@ -884,10 +884,10 @@ # name: test_sensor[sensor.home_wind_gust_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'Home Wind gust speed', + : 'wind_speed', + : 'Home Wind gust speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_wind_gust_speed', @@ -942,10 +942,10 @@ # name: test_sensor[sensor.home_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'Home Wind speed', + : 'wind_speed', + : 'Home Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_wind_speed', diff --git a/tests/components/google_weather/snapshots/test_weather.ambr b/tests/components/google_weather/snapshots/test_weather.ambr index cd82f06fcb8..29e6688ebf9 100644 --- a/tests/components/google_weather/snapshots/test_weather.ambr +++ b/tests/components/google_weather/snapshots/test_weather.ambr @@ -164,15 +164,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 13.1, - 'attribution': 'Data from Google Weather', + : 'Data from Google Weather', : 0.0, : 1.1, - 'friendly_name': 'Home', + : 'Home', : 42, : , : 1019.16, : , - 'supported_features': , + : , : 13.7, : , : 1.0, diff --git a/tests/components/gree/snapshots/test_climate.ambr b/tests/components/gree/snapshots/test_climate.ambr index ec062c1226a..2d7d974e5cd 100644 --- a/tests/components/gree/snapshots/test_climate.ambr +++ b/tests/components/gree/snapshots/test_climate.ambr @@ -13,7 +13,7 @@ 'medium high', 'high', ]), - 'friendly_name': 'fake-device-1', + : 'fake-device-1', : list([ , , @@ -32,7 +32,7 @@ 'none', 'sleep', ]), - 'supported_features': , + : , : 'off', : list([ 'off', diff --git a/tests/components/gree/snapshots/test_switch.ambr b/tests/components/gree/snapshots/test_switch.ambr index 4815f9312c0..44e5e9d5644 100644 --- a/tests/components/gree/snapshots/test_switch.ambr +++ b/tests/components/gree/snapshots/test_switch.ambr @@ -3,8 +3,8 @@ list([ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'fake-device-1 Panel light', + : 'switch', + : 'fake-device-1 Panel light', }), 'context': , 'entity_id': 'switch.fake_device_1_panel_light', @@ -15,8 +15,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'fake-device-1 Quiet mode', + : 'switch', + : 'fake-device-1 Quiet mode', }), 'context': , 'entity_id': 'switch.fake_device_1_quiet_mode', @@ -27,8 +27,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'fake-device-1 Fresh air', + : 'switch', + : 'fake-device-1 Fresh air', }), 'context': , 'entity_id': 'switch.fake_device_1_fresh_air', @@ -39,8 +39,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'fake-device-1 Xtra fan', + : 'switch', + : 'fake-device-1 Xtra fan', }), 'context': , 'entity_id': 'switch.fake_device_1_xtra_fan', @@ -51,8 +51,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'fake-device-1 Health mode', + : 'switch', + : 'fake-device-1 Health mode', }), 'context': , 'entity_id': 'switch.fake_device_1_health_mode', diff --git a/tests/components/green_planet_energy/snapshots/test_sensor.ambr b/tests/components/green_planet_energy/snapshots/test_sensor.ambr index 3f876710262..21411ff1932 100644 --- a/tests/components/green_planet_energy/snapshots/test_sensor.ambr +++ b/tests/components/green_planet_energy/snapshots/test_sensor.ambr @@ -42,8 +42,8 @@ # name: test_sensors[sensor.green_planet_energy_current_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Green Planet Energy Current price', - 'unit_of_measurement': '€/kWh', + : 'Green Planet Energy Current price', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.green_planet_energy_current_price', @@ -93,8 +93,8 @@ # name: test_sensors[sensor.green_planet_energy_highest_price_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Green Planet Energy Highest price time', + : 'timestamp', + : 'Green Planet Energy Highest price time', }), 'context': , 'entity_id': 'sensor.green_planet_energy_highest_price_time', @@ -147,8 +147,8 @@ # name: test_sensors[sensor.green_planet_energy_highest_price_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Green Planet Energy Highest price today', - 'unit_of_measurement': '€/kWh', + : 'Green Planet Energy Highest price today', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.green_planet_energy_highest_price_today', @@ -201,8 +201,8 @@ # name: test_sensors[sensor.green_planet_energy_lowest_price_day_06_00_18_00-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Green Planet Energy Lowest price day (06:00-18:00)', - 'unit_of_measurement': '€/kWh', + : 'Green Planet Energy Lowest price day (06:00-18:00)', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.green_planet_energy_lowest_price_day_06_00_18_00', @@ -252,8 +252,8 @@ # name: test_sensors[sensor.green_planet_energy_lowest_price_day_time_06_00_18_00-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Green Planet Energy Lowest price day time (06:00-18:00)', + : 'timestamp', + : 'Green Planet Energy Lowest price day time (06:00-18:00)', }), 'context': , 'entity_id': 'sensor.green_planet_energy_lowest_price_day_time_06_00_18_00', @@ -306,8 +306,8 @@ # name: test_sensors[sensor.green_planet_energy_lowest_price_night_18_00_06_00-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Green Planet Energy Lowest price night (18:00-06:00)', - 'unit_of_measurement': '€/kWh', + : 'Green Planet Energy Lowest price night (18:00-06:00)', + : '€/kWh', }), 'context': , 'entity_id': 'sensor.green_planet_energy_lowest_price_night_18_00_06_00', @@ -357,8 +357,8 @@ # name: test_sensors[sensor.green_planet_energy_lowest_price_night_time_18_00_06_00-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Green Planet Energy Lowest price night time (18:00-06:00)', + : 'timestamp', + : 'Green Planet Energy Lowest price night time (18:00-06:00)', }), 'context': , 'entity_id': 'sensor.green_planet_energy_lowest_price_night_time_18_00_06_00', diff --git a/tests/components/greencell/snapshots/test_sensor.ambr b/tests/components/greencell/snapshots/test_sensor.ambr index b3552b4e843..827bd1a08f7 100644 --- a/tests/components/greencell/snapshots/test_sensor.ambr +++ b/tests/components/greencell/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_sensor_states_and_snapshots StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Habu Den EVGC021A22750001ZM0001 Current phase L1', + : 'current', + : 'Habu Den EVGC021A22750001ZM0001 Current phase L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.habu_den_evgc021a22750001zm0001_current_phase_l1', diff --git a/tests/components/growatt_server/snapshots/test_number.ambr b/tests/components/growatt_server/snapshots/test_number.ambr index 8f423e7142f..1824b16537f 100644 --- a/tests/components/growatt_server/snapshots/test_number.ambr +++ b/tests/components/growatt_server/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_entities[number.min123456_battery_charge_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MIN123456 Battery charge power limit', + : 'MIN123456 Battery charge power limit', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.min123456_battery_charge_power_limit', @@ -104,12 +104,12 @@ # name: test_number_entities[number.min123456_battery_charge_soc_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MIN123456 Battery charge SOC limit', + : 'MIN123456 Battery charge SOC limit', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.min123456_battery_charge_soc_limit', @@ -164,12 +164,12 @@ # name: test_number_entities[number.min123456_battery_discharge_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MIN123456 Battery discharge power limit', + : 'MIN123456 Battery discharge power limit', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.min123456_battery_discharge_power_limit', @@ -224,12 +224,12 @@ # name: test_number_entities[number.min123456_battery_discharge_soc_limit_off_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MIN123456 Battery discharge SOC limit (off-grid)', + : 'MIN123456 Battery discharge SOC limit (off-grid)', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.min123456_battery_discharge_soc_limit_off_grid', @@ -284,12 +284,12 @@ # name: test_number_entities[number.min123456_battery_discharge_soc_limit_on_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MIN123456 Battery discharge SOC limit (on-grid)', + : 'MIN123456 Battery discharge SOC limit (on-grid)', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.min123456_battery_discharge_soc_limit_on_grid', diff --git a/tests/components/growatt_server/snapshots/test_sensor.ambr b/tests/components/growatt_server/snapshots/test_sensor.ambr index 29b1437eb28..bc204c7fbc8 100644 --- a/tests/components/growatt_server/snapshots/test_sensor.ambr +++ b/tests/components/growatt_server/snapshots/test_sensor.ambr @@ -42,9 +42,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_ac_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'MIN123456 AC frequency', - 'unit_of_measurement': , + : 'frequency', + : 'MIN123456 AC frequency', + : , }), 'context': , 'entity_id': 'sensor.min123456_ac_frequency', @@ -99,10 +99,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_all_batteries_charged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 All batteries charged today', + : 'energy', + : 'MIN123456 All batteries charged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_all_batteries_charged_today', @@ -157,10 +157,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_all_batteries_discharged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 All batteries discharged today', + : 'energy', + : 'MIN123456 All batteries discharged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_all_batteries_discharged_today', @@ -215,10 +215,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_batteries_charged_from_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Batteries charged from grid today', + : 'energy', + : 'MIN123456 Batteries charged from grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_batteries_charged_from_grid_today', @@ -273,10 +273,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_battery_1_charging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Battery 1 charging W', + : 'power', + : 'MIN123456 Battery 1 charging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_battery_1_charging_w', @@ -331,10 +331,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_battery_1_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Battery 1 discharging W', + : 'power', + : 'MIN123456 Battery 1 discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_battery_1_discharging_w', @@ -389,10 +389,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_battery_2_charging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Battery 2 charging W', + : 'power', + : 'MIN123456 Battery 2 charging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_battery_2_charging_w', @@ -447,10 +447,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_battery_2_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Battery 2 discharging W', + : 'power', + : 'MIN123456 Battery 2 discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_battery_2_discharging_w', @@ -505,10 +505,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Energy today', + : 'energy', + : 'MIN123456 Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_energy_today', @@ -563,10 +563,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_energy_today_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Energy today input 1', + : 'energy', + : 'MIN123456 Energy today input 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_energy_today_input_1', @@ -621,10 +621,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_energy_today_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Energy today input 2', + : 'energy', + : 'MIN123456 Energy today input 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_energy_today_input_2', @@ -679,10 +679,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_energy_today_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Energy today input 3', + : 'energy', + : 'MIN123456 Energy today input 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_energy_today_input_3', @@ -737,10 +737,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_energy_today_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Energy today input 4', + : 'energy', + : 'MIN123456 Energy today input 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_energy_today_input_4', @@ -795,10 +795,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_export_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Export power', + : 'power', + : 'MIN123456 Export power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_export_power', @@ -853,10 +853,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_export_to_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Export to grid today', + : 'energy', + : 'MIN123456 Export to grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_export_to_grid_today', @@ -911,10 +911,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_import_from_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Import from grid today', + : 'energy', + : 'MIN123456 Import from grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_import_from_grid_today', @@ -969,10 +969,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_import_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Import power', + : 'power', + : 'MIN123456 Import power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_import_power', @@ -1025,9 +1025,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_1_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'MIN123456 Input 1 amperage', - 'unit_of_measurement': , + : 'current', + : 'MIN123456 Input 1 amperage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_1_amperage', @@ -1080,9 +1080,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIN123456 Input 1 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIN123456 Input 1 voltage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_1_voltage', @@ -1137,10 +1137,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_1_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Input 1 wattage', + : 'power', + : 'MIN123456 Input 1 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_input_1_wattage', @@ -1193,9 +1193,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_2_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'MIN123456 Input 2 amperage', - 'unit_of_measurement': , + : 'current', + : 'MIN123456 Input 2 amperage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_2_amperage', @@ -1248,9 +1248,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIN123456 Input 2 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIN123456 Input 2 voltage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_2_voltage', @@ -1305,10 +1305,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_2_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Input 2 wattage', + : 'power', + : 'MIN123456 Input 2 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_input_2_wattage', @@ -1361,9 +1361,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_3_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'MIN123456 Input 3 amperage', - 'unit_of_measurement': , + : 'current', + : 'MIN123456 Input 3 amperage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_3_amperage', @@ -1416,9 +1416,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIN123456 Input 3 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIN123456 Input 3 voltage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_3_voltage', @@ -1473,10 +1473,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_3_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Input 3 wattage', + : 'power', + : 'MIN123456 Input 3 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_input_3_wattage', @@ -1529,9 +1529,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_4_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'MIN123456 Input 4 amperage', - 'unit_of_measurement': , + : 'current', + : 'MIN123456 Input 4 amperage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_4_amperage', @@ -1584,9 +1584,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_4_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIN123456 Input 4 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIN123456 Input 4 voltage', + : , }), 'context': , 'entity_id': 'sensor.min123456_input_4_voltage', @@ -1641,10 +1641,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_input_4_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Input 4 wattage', + : 'power', + : 'MIN123456 Input 4 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_input_4_wattage', @@ -1699,10 +1699,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_internal_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Internal wattage', + : 'power', + : 'MIN123456 Internal wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_internal_wattage', @@ -1757,10 +1757,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_batteries_charged_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime batteries charged from grid', + : 'energy', + : 'MIN123456 Lifetime batteries charged from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_batteries_charged_from_grid', @@ -1815,10 +1815,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime energy output', + : 'energy', + : 'MIN123456 Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_energy_output', @@ -1873,10 +1873,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_import_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime import from grid', + : 'energy', + : 'MIN123456 Lifetime import from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_import_from_grid', @@ -1931,10 +1931,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_self_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime self consumption', + : 'energy', + : 'MIN123456 Lifetime self consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_self_consumption', @@ -1989,10 +1989,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_system_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime system production', + : 'energy', + : 'MIN123456 Lifetime system production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_system_production', @@ -2047,10 +2047,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_all_batteries_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total all batteries charged', + : 'energy', + : 'MIN123456 Lifetime total all batteries charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_all_batteries_charged', @@ -2105,10 +2105,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_all_batteries_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total all batteries discharged', + : 'energy', + : 'MIN123456 Lifetime total all batteries discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_all_batteries_discharged', @@ -2163,10 +2163,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_battery_1_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total battery 1 charged', + : 'energy', + : 'MIN123456 Lifetime total battery 1 charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_battery_1_charged', @@ -2221,10 +2221,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_battery_1_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total battery 1 discharged', + : 'energy', + : 'MIN123456 Lifetime total battery 1 discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_battery_1_discharged', @@ -2279,10 +2279,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_battery_2_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total battery 2 charged', + : 'energy', + : 'MIN123456 Lifetime total battery 2 charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_battery_2_charged', @@ -2337,10 +2337,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_battery_2_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total battery 2 discharged', + : 'energy', + : 'MIN123456 Lifetime total battery 2 discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_battery_2_discharged', @@ -2395,10 +2395,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_energy_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total energy input 1', + : 'energy', + : 'MIN123456 Lifetime total energy input 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_energy_input_1', @@ -2453,10 +2453,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_energy_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total energy input 2', + : 'energy', + : 'MIN123456 Lifetime total energy input 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_energy_input_2', @@ -2511,10 +2511,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_energy_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total energy input 3', + : 'energy', + : 'MIN123456 Lifetime total energy input 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_energy_input_3', @@ -2569,10 +2569,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_energy_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total energy input 4', + : 'energy', + : 'MIN123456 Lifetime total energy input 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_energy_input_4', @@ -2627,10 +2627,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_export_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total export to grid', + : 'energy', + : 'MIN123456 Lifetime total export to grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_export_to_grid', @@ -2685,10 +2685,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total load consumption', + : 'energy', + : 'MIN123456 Lifetime total load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_load_consumption', @@ -2743,10 +2743,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_lifetime_total_solar_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Lifetime total solar energy', + : 'energy', + : 'MIN123456 Lifetime total solar energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_lifetime_total_solar_energy', @@ -2801,10 +2801,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_load_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Load consumption today', + : 'energy', + : 'MIN123456 Load consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_load_consumption_today', @@ -2859,10 +2859,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_local_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Local load power', + : 'power', + : 'MIN123456 Local load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_local_load_power', @@ -2917,10 +2917,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Output power', + : 'power', + : 'MIN123456 Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_output_power', @@ -2973,9 +2973,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_reactive_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIN123456 Reactive voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIN123456 Reactive voltage', + : , }), 'context': , 'entity_id': 'sensor.min123456_reactive_voltage', @@ -3030,10 +3030,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_self_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Self consumption today', + : 'energy', + : 'MIN123456 Self consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_self_consumption_today', @@ -3088,10 +3088,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_self_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 Self power', + : 'power', + : 'MIN123456 Self power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_self_power', @@ -3146,10 +3146,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_solar_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 Solar energy today', + : 'energy', + : 'MIN123456 Solar energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_solar_energy_today', @@ -3199,9 +3199,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_state_of_charge_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'MIN123456 State of charge (SoC)', - 'unit_of_measurement': '%', + : 'battery', + : 'MIN123456 State of charge (SoC)', + : '%', }), 'context': , 'entity_id': 'sensor.min123456_state_of_charge_soc', @@ -3256,10 +3256,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_system_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIN123456 System power', + : 'power', + : 'MIN123456 System power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_system_power', @@ -3314,10 +3314,10 @@ # name: test_min_sensors_v1_api[sensor.min123456_system_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIN123456 System production today', + : 'energy', + : 'MIN123456 System production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.min123456_system_production_today', @@ -3370,9 +3370,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'MIN123456 Temperature 1', - 'unit_of_measurement': , + : 'temperature', + : 'MIN123456 Temperature 1', + : , }), 'context': , 'entity_id': 'sensor.min123456_temperature_1', @@ -3425,9 +3425,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'MIN123456 Temperature 2', - 'unit_of_measurement': , + : 'temperature', + : 'MIN123456 Temperature 2', + : , }), 'context': , 'entity_id': 'sensor.min123456_temperature_2', @@ -3480,9 +3480,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_temperature_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'MIN123456 Temperature 3', - 'unit_of_measurement': , + : 'temperature', + : 'MIN123456 Temperature 3', + : , }), 'context': , 'entity_id': 'sensor.min123456_temperature_3', @@ -3535,9 +3535,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_temperature_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'MIN123456 Temperature 4', - 'unit_of_measurement': , + : 'temperature', + : 'MIN123456 Temperature 4', + : , }), 'context': , 'entity_id': 'sensor.min123456_temperature_4', @@ -3590,9 +3590,9 @@ # name: test_min_sensors_v1_api[sensor.min123456_temperature_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'MIN123456 Temperature 5', - 'unit_of_measurement': , + : 'temperature', + : 'MIN123456 Temperature 5', + : , }), 'context': , 'entity_id': 'sensor.min123456_temperature_5', @@ -3647,10 +3647,10 @@ # name: test_min_sensors_v1_api[sensor.test_plant_total_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Energy today', + : 'energy', + : 'Test Plant Total Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_energy_today', @@ -3705,10 +3705,10 @@ # name: test_min_sensors_v1_api[sensor.test_plant_total_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Lifetime energy output', + : 'energy', + : 'Test Plant Total Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_lifetime_energy_output', @@ -3763,10 +3763,10 @@ # name: test_min_sensors_v1_api[sensor.test_plant_total_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Maximum power', + : 'power', + : 'Test Plant Total Maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_maximum_power', @@ -3816,7 +3816,7 @@ # name: test_min_sensors_v1_api[sensor.test_plant_total_money_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Money lifetime', + : 'Test Plant Total Money lifetime', }), 'context': , 'entity_id': 'sensor.test_plant_total_money_lifetime', @@ -3871,10 +3871,10 @@ # name: test_min_sensors_v1_api[sensor.test_plant_total_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Output power', + : 'power', + : 'Test Plant Total Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_output_power', @@ -3924,7 +3924,7 @@ # name: test_min_sensors_v1_api[sensor.test_plant_total_total_money_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Total money today', + : 'Test Plant Total Total money today', }), 'context': , 'entity_id': 'sensor.test_plant_total_total_money_today', @@ -3979,10 +3979,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_ac_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'INV123456 AC frequency', + : 'frequency', + : 'INV123456 AC frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_ac_frequency', @@ -4037,10 +4037,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'INV123456 Energy today', + : 'energy', + : 'INV123456 Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_energy_today', @@ -4095,10 +4095,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_1_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'INV123456 Input 1 amperage', + : 'current', + : 'INV123456 Input 1 amperage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_1_amperage', @@ -4153,10 +4153,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'INV123456 Input 1 voltage', + : 'voltage', + : 'INV123456 Input 1 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_1_voltage', @@ -4211,10 +4211,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_1_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'INV123456 Input 1 wattage', + : 'power', + : 'INV123456 Input 1 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_1_wattage', @@ -4269,10 +4269,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_2_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'INV123456 Input 2 amperage', + : 'current', + : 'INV123456 Input 2 amperage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_2_amperage', @@ -4327,10 +4327,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'INV123456 Input 2 voltage', + : 'voltage', + : 'INV123456 Input 2 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_2_voltage', @@ -4385,10 +4385,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_2_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'INV123456 Input 2 wattage', + : 'power', + : 'INV123456 Input 2 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_2_wattage', @@ -4443,10 +4443,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_3_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'INV123456 Input 3 amperage', + : 'current', + : 'INV123456 Input 3 amperage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_3_amperage', @@ -4501,10 +4501,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'INV123456 Input 3 voltage', + : 'voltage', + : 'INV123456 Input 3 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_3_voltage', @@ -4559,10 +4559,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_input_3_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'INV123456 Input 3 wattage', + : 'power', + : 'INV123456 Input 3 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_input_3_wattage', @@ -4617,10 +4617,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_intelligent_power_management_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'INV123456 Intelligent Power Management temperature', + : 'temperature', + : 'INV123456 Intelligent Power Management temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_intelligent_power_management_temperature', @@ -4675,10 +4675,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_internal_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'INV123456 Internal wattage', + : 'power', + : 'INV123456 Internal wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_internal_wattage', @@ -4733,10 +4733,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_inverter_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'INV123456 Inverter temperature', + : 'temperature', + : 'INV123456 Inverter temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_inverter_temperature', @@ -4791,10 +4791,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'INV123456 Lifetime energy output', + : 'energy', + : 'INV123456 Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_lifetime_energy_output', @@ -4849,10 +4849,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'INV123456 Output power', + : 'power', + : 'INV123456 Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_output_power', @@ -4907,10 +4907,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_reactive_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'INV123456 Reactive amperage', + : 'current', + : 'INV123456 Reactive amperage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_reactive_amperage', @@ -4965,10 +4965,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_reactive_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'INV123456 Reactive voltage', + : 'voltage', + : 'INV123456 Reactive voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_reactive_voltage', @@ -5023,10 +5023,10 @@ # name: test_sensors_classic_api[inverter][sensor.inv123456_reactive_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'INV123456 Reactive wattage', + : 'power', + : 'INV123456 Reactive wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inv123456_reactive_wattage', @@ -5081,10 +5081,10 @@ # name: test_sensors_classic_api[inverter][sensor.test_plant_total_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Energy today', + : 'energy', + : 'Test Plant Total Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_energy_today', @@ -5139,10 +5139,10 @@ # name: test_sensors_classic_api[inverter][sensor.test_plant_total_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Lifetime energy output', + : 'energy', + : 'Test Plant Total Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_lifetime_energy_output', @@ -5197,10 +5197,10 @@ # name: test_sensors_classic_api[inverter][sensor.test_plant_total_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Maximum power', + : 'power', + : 'Test Plant Total Maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_maximum_power', @@ -5250,8 +5250,8 @@ # name: test_sensors_classic_api[inverter][sensor.test_plant_total_money_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Money lifetime', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Money lifetime', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_money_lifetime', @@ -5306,10 +5306,10 @@ # name: test_sensors_classic_api[inverter][sensor.test_plant_total_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Output power', + : 'power', + : 'Test Plant Total Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_output_power', @@ -5359,8 +5359,8 @@ # name: test_sensors_classic_api[inverter][sensor.test_plant_total_total_money_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Total money today', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Total money today', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_total_money_today', @@ -5415,10 +5415,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_all_pv_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 All PV wattage', + : 'power', + : 'MIX123456 All PV wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_all_pv_wattage', @@ -5473,10 +5473,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_battery_charged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Battery charged today', + : 'energy', + : 'MIX123456 Battery charged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_battery_charged_today', @@ -5531,10 +5531,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_battery_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 Battery charging', + : 'power', + : 'MIX123456 Battery charging', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_battery_charging', @@ -5589,10 +5589,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_battery_discharged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Battery discharged today', + : 'energy', + : 'MIX123456 Battery discharged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_battery_discharged_today', @@ -5647,10 +5647,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_battery_discharging_kw-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 Battery discharging kW', + : 'power', + : 'MIX123456 Battery discharging kW', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_battery_discharging_kw', @@ -5705,10 +5705,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_battery_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 Battery discharging W', + : 'power', + : 'MIX123456 Battery discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_battery_discharging_w', @@ -5761,9 +5761,9 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIX123456 Battery voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIX123456 Battery voltage', + : , }), 'context': , 'entity_id': 'sensor.mix123456_battery_voltage', @@ -5818,10 +5818,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_export_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 Export to grid', + : 'power', + : 'MIX123456 Export to grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_export_to_grid', @@ -5876,10 +5876,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_export_to_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Export to grid today', + : 'energy', + : 'MIX123456 Export to grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_export_to_grid_today', @@ -5932,9 +5932,9 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_grid_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIX123456 Grid voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIX123456 Grid voltage', + : , }), 'context': , 'entity_id': 'sensor.mix123456_grid_voltage', @@ -5989,10 +5989,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_import_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 Import from grid', + : 'power', + : 'MIX123456 Import from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_import_from_grid', @@ -6047,10 +6047,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_import_from_grid_today_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Import from grid today (load)', + : 'energy', + : 'MIX123456 Import from grid today (load)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_import_from_grid_today_load', @@ -6105,10 +6105,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_import_from_grid_today_load_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Import from grid today (load + charging)', + : 'energy', + : 'MIX123456 Import from grid today (load + charging)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_import_from_grid_today_load_charging', @@ -6158,8 +6158,8 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_last_data_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'MIX123456 Last data update', + : 'timestamp', + : 'MIX123456 Last data update', }), 'context': , 'entity_id': 'sensor.mix123456_last_data_update', @@ -6214,10 +6214,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_lifetime_battery_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Lifetime battery charged', + : 'energy', + : 'MIX123456 Lifetime battery charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_lifetime_battery_charged', @@ -6272,10 +6272,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_lifetime_battery_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Lifetime battery discharged', + : 'energy', + : 'MIX123456 Lifetime battery discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_lifetime_battery_discharged', @@ -6330,10 +6330,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_lifetime_export_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Lifetime export to grid', + : 'energy', + : 'MIX123456 Lifetime export to grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_lifetime_export_to_grid', @@ -6388,10 +6388,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_lifetime_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Lifetime load consumption', + : 'energy', + : 'MIX123456 Lifetime load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_lifetime_load_consumption', @@ -6446,10 +6446,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_lifetime_solar_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Lifetime solar energy', + : 'energy', + : 'MIX123456 Lifetime solar energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_lifetime_solar_energy', @@ -6504,10 +6504,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 Load consumption', + : 'power', + : 'MIX123456 Load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_load_consumption', @@ -6562,10 +6562,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_load_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Load consumption today', + : 'energy', + : 'MIX123456 Load consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_load_consumption_today', @@ -6620,10 +6620,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_load_consumption_today_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Load consumption today (battery)', + : 'energy', + : 'MIX123456 Load consumption today (battery)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_load_consumption_today_battery', @@ -6678,10 +6678,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_load_consumption_today_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Load consumption today (solar)', + : 'energy', + : 'MIX123456 Load consumption today (solar)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_load_consumption_today_solar', @@ -6734,9 +6734,9 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_pv1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIX123456 PV1 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIX123456 PV1 voltage', + : , }), 'context': , 'entity_id': 'sensor.mix123456_pv1_voltage', @@ -6791,10 +6791,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_pv1_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 PV1 wattage', + : 'power', + : 'MIX123456 PV1 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_pv1_wattage', @@ -6847,9 +6847,9 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_pv2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'MIX123456 PV2 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'MIX123456 PV2 voltage', + : , }), 'context': , 'entity_id': 'sensor.mix123456_pv2_voltage', @@ -6904,10 +6904,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_pv2_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'MIX123456 PV2 wattage', + : 'power', + : 'MIX123456 PV2 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_pv2_wattage', @@ -6962,10 +6962,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_self_consumption_today_solar_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Self-consumption today (solar + battery)', + : 'energy', + : 'MIX123456 Self-consumption today (solar + battery)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_self_consumption_today_solar_battery', @@ -7020,10 +7020,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_solar_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 Solar energy today', + : 'energy', + : 'MIX123456 Solar energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_solar_energy_today', @@ -7073,9 +7073,9 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'MIX123456 State of charge', - 'unit_of_measurement': '%', + : 'battery', + : 'MIX123456 State of charge', + : '%', }), 'context': , 'entity_id': 'sensor.mix123456_state_of_charge', @@ -7130,10 +7130,10 @@ # name: test_sensors_classic_api[mix][sensor.mix123456_system_production_today_self_consumption_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'MIX123456 System production today (self-consumption + export)', + : 'energy', + : 'MIX123456 System production today (self-consumption + export)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mix123456_system_production_today_self_consumption_export', @@ -7188,10 +7188,10 @@ # name: test_sensors_classic_api[mix][sensor.test_plant_total_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Energy today', + : 'energy', + : 'Test Plant Total Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_energy_today', @@ -7246,10 +7246,10 @@ # name: test_sensors_classic_api[mix][sensor.test_plant_total_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Lifetime energy output', + : 'energy', + : 'Test Plant Total Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_lifetime_energy_output', @@ -7304,10 +7304,10 @@ # name: test_sensors_classic_api[mix][sensor.test_plant_total_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Maximum power', + : 'power', + : 'Test Plant Total Maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_maximum_power', @@ -7357,8 +7357,8 @@ # name: test_sensors_classic_api[mix][sensor.test_plant_total_money_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Money lifetime', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Money lifetime', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_money_lifetime', @@ -7413,10 +7413,10 @@ # name: test_sensors_classic_api[mix][sensor.test_plant_total_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Output power', + : 'power', + : 'Test Plant Total Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_output_power', @@ -7466,8 +7466,8 @@ # name: test_sensors_classic_api[mix][sensor.test_plant_total_total_money_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Total money today', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Total money today', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_total_money_today', @@ -7522,10 +7522,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_ac_input_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'STO123456 AC input frequency', + : 'frequency', + : 'STO123456 AC input frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_ac_input_frequency', @@ -7580,10 +7580,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_ac_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'STO123456 AC input voltage', + : 'voltage', + : 'STO123456 AC input voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_ac_input_voltage', @@ -7638,10 +7638,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_ac_output_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'STO123456 AC output frequency', + : 'frequency', + : 'STO123456 AC output frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_ac_output_frequency', @@ -7693,10 +7693,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_battery_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'STO123456 Battery percentage', + : 'battery', + : 'STO123456 Battery percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sto123456_battery_percentage', @@ -7751,10 +7751,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'STO123456 Battery voltage', + : 'voltage', + : 'STO123456 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_battery_voltage', @@ -7809,10 +7809,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_charge_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Charge today', + : 'energy', + : 'STO123456 Charge today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_charge_today', @@ -7867,10 +7867,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_grid_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'STO123456 Grid charge current', + : 'current', + : 'STO123456 Grid charge current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_grid_charge_current', @@ -7925,10 +7925,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_grid_charged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Grid charged today', + : 'energy', + : 'STO123456 Grid charged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_grid_charged_today', @@ -7983,10 +7983,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_grid_discharged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Grid discharged today', + : 'energy', + : 'STO123456 Grid discharged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_grid_discharged_today', @@ -8041,10 +8041,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_grid_out_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'STO123456 Grid out current', + : 'current', + : 'STO123456 Grid out current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_grid_out_current', @@ -8099,10 +8099,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_import_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STO123456 Import from grid', + : 'power', + : 'STO123456 Import from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_import_from_grid', @@ -8157,10 +8157,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_import_from_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Import from grid today', + : 'energy', + : 'STO123456 Import from grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_import_from_grid_today', @@ -8215,10 +8215,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_import_from_grid_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Import from grid total', + : 'energy', + : 'STO123456 Import from grid total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_import_from_grid_total', @@ -8273,10 +8273,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_lifetime_grid_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Lifetime grid charged', + : 'energy', + : 'STO123456 Lifetime grid charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_lifetime_grid_charged', @@ -8331,10 +8331,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_lifetime_grid_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Lifetime grid discharged', + : 'energy', + : 'STO123456 Lifetime grid discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_lifetime_grid_discharged', @@ -8389,10 +8389,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_lifetime_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Lifetime load consumption', + : 'energy', + : 'STO123456 Lifetime load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_lifetime_load_consumption', @@ -8447,10 +8447,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_lifetime_solar_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Lifetime solar output', + : 'energy', + : 'STO123456 Lifetime solar output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_lifetime_solar_output', @@ -8505,10 +8505,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_lifetime_storage_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Lifetime storage production', + : 'energy', + : 'STO123456 Lifetime storage production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_lifetime_storage_production', @@ -8563,10 +8563,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_lifetime_stored_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Lifetime stored charged', + : 'energy', + : 'STO123456 Lifetime stored charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_lifetime_stored_charged', @@ -8621,10 +8621,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STO123456 Load consumption', + : 'power', + : 'STO123456 Load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_load_consumption', @@ -8676,9 +8676,9 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_load_consumption_solar_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'STO123456 Load consumption (solar + storage)', + : 'STO123456 Load consumption (solar + storage)', : , - 'unit_of_measurement': 'VA', + : 'VA', }), 'context': , 'entity_id': 'sensor.sto123456_load_consumption_solar_storage', @@ -8733,10 +8733,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_load_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Load consumption today', + : 'energy', + : 'STO123456 Load consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_load_consumption_today', @@ -8791,10 +8791,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_load_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'STO123456 Load percentage', + : 'battery', + : 'STO123456 Load percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sto123456_load_percentage', @@ -8849,10 +8849,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_output_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'STO123456 Output voltage', + : 'voltage', + : 'STO123456 Output voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_output_voltage', @@ -8907,10 +8907,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_pv1_charging_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'STO123456 PV1 charging voltage', + : 'voltage', + : 'STO123456 PV1 charging voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_pv1_charging_voltage', @@ -8965,10 +8965,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_pv1_current_to_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'STO123456 PV1 current to storage', + : 'current', + : 'STO123456 PV1 current to storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_pv1_current_to_storage', @@ -9023,10 +9023,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_pv2_charging_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'STO123456 PV2 charging voltage', + : 'voltage', + : 'STO123456 PV2 charging voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_pv2_charging_voltage', @@ -9081,10 +9081,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_pv2_current_to_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'STO123456 PV2 current to storage', + : 'current', + : 'STO123456 PV2 current to storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_pv2_current_to_storage', @@ -9139,10 +9139,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_solar_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'STO123456 Solar charge current', + : 'current', + : 'STO123456 Solar charge current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_solar_charge_current', @@ -9197,10 +9197,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_solar_output_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Solar output today', + : 'energy', + : 'STO123456 Solar output today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_solar_output_today', @@ -9255,10 +9255,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_solar_power_production_pv1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STO123456 Solar power production (PV1)', + : 'power', + : 'STO123456 Solar power production (PV1)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_solar_power_production_pv1', @@ -9313,10 +9313,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_solar_power_production_pv2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STO123456 Solar power production (PV2)', + : 'power', + : 'STO123456 Solar power production (PV2)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_solar_power_production_pv2', @@ -9371,10 +9371,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_storage_charging_discharging_ve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'STO123456 Storage charging/ discharging(-ve)', + : 'power', + : 'STO123456 Storage charging/ discharging(-ve)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_storage_charging_discharging_ve', @@ -9429,10 +9429,10 @@ # name: test_sensors_classic_api[storage][sensor.sto123456_storage_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'STO123456 Storage production today', + : 'energy', + : 'STO123456 Storage production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sto123456_storage_production_today', @@ -9487,10 +9487,10 @@ # name: test_sensors_classic_api[storage][sensor.test_plant_total_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Energy today', + : 'energy', + : 'Test Plant Total Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_energy_today', @@ -9545,10 +9545,10 @@ # name: test_sensors_classic_api[storage][sensor.test_plant_total_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Lifetime energy output', + : 'energy', + : 'Test Plant Total Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_lifetime_energy_output', @@ -9603,10 +9603,10 @@ # name: test_sensors_classic_api[storage][sensor.test_plant_total_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Maximum power', + : 'power', + : 'Test Plant Total Maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_maximum_power', @@ -9656,8 +9656,8 @@ # name: test_sensors_classic_api[storage][sensor.test_plant_total_money_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Money lifetime', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Money lifetime', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_money_lifetime', @@ -9712,10 +9712,10 @@ # name: test_sensors_classic_api[storage][sensor.test_plant_total_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Output power', + : 'power', + : 'Test Plant Total Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_output_power', @@ -9765,8 +9765,8 @@ # name: test_sensors_classic_api[storage][sensor.test_plant_total_total_money_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Total money today', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Total money today', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_total_money_today', @@ -9821,10 +9821,10 @@ # name: test_sensors_classic_api[tlx][sensor.test_plant_total_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Energy today', + : 'energy', + : 'Test Plant Total Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_energy_today', @@ -9879,10 +9879,10 @@ # name: test_sensors_classic_api[tlx][sensor.test_plant_total_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Lifetime energy output', + : 'energy', + : 'Test Plant Total Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_lifetime_energy_output', @@ -9937,10 +9937,10 @@ # name: test_sensors_classic_api[tlx][sensor.test_plant_total_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Maximum power', + : 'power', + : 'Test Plant Total Maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_maximum_power', @@ -9990,8 +9990,8 @@ # name: test_sensors_classic_api[tlx][sensor.test_plant_total_money_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Money lifetime', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Money lifetime', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_money_lifetime', @@ -10046,10 +10046,10 @@ # name: test_sensors_classic_api[tlx][sensor.test_plant_total_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Output power', + : 'power', + : 'Test Plant Total Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_output_power', @@ -10099,8 +10099,8 @@ # name: test_sensors_classic_api[tlx][sensor.test_plant_total_total_money_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Total money today', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Total money today', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_total_money_today', @@ -10153,9 +10153,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_ac_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'TLX123456 AC frequency', - 'unit_of_measurement': , + : 'frequency', + : 'TLX123456 AC frequency', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_ac_frequency', @@ -10210,10 +10210,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_all_batteries_charged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 All batteries charged today', + : 'energy', + : 'TLX123456 All batteries charged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_all_batteries_charged_today', @@ -10268,10 +10268,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_all_batteries_discharged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 All batteries discharged today', + : 'energy', + : 'TLX123456 All batteries discharged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_all_batteries_discharged_today', @@ -10326,10 +10326,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_batteries_charged_from_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Batteries charged from grid today', + : 'energy', + : 'TLX123456 Batteries charged from grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_batteries_charged_from_grid_today', @@ -10384,10 +10384,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_battery_1_charging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 1 charging W', + : 'power', + : 'TLX123456 Battery 1 charging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_1_charging_w', @@ -10442,10 +10442,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_battery_1_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 1 discharging W', + : 'power', + : 'TLX123456 Battery 1 discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_1_discharging_w', @@ -10500,10 +10500,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_battery_2_charging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 2 charging W', + : 'power', + : 'TLX123456 Battery 2 charging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_2_charging_w', @@ -10558,10 +10558,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_battery_2_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 2 discharging W', + : 'power', + : 'TLX123456 Battery 2 discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_2_discharging_w', @@ -10616,10 +10616,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today', + : 'energy', + : 'TLX123456 Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today', @@ -10674,10 +10674,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_energy_today_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 1', + : 'energy', + : 'TLX123456 Energy today input 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_1', @@ -10732,10 +10732,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_energy_today_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 2', + : 'energy', + : 'TLX123456 Energy today input 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_2', @@ -10790,10 +10790,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_energy_today_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 3', + : 'energy', + : 'TLX123456 Energy today input 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_3', @@ -10848,10 +10848,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_energy_today_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 4', + : 'energy', + : 'TLX123456 Energy today input 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_4', @@ -10906,10 +10906,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_export_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Export power', + : 'power', + : 'TLX123456 Export power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_export_power', @@ -10964,10 +10964,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_export_to_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Export to grid today', + : 'energy', + : 'TLX123456 Export to grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_export_to_grid_today', @@ -11022,10 +11022,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_import_from_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Import from grid today', + : 'energy', + : 'TLX123456 Import from grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_import_from_grid_today', @@ -11080,10 +11080,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_import_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Import power', + : 'power', + : 'TLX123456 Import power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_import_power', @@ -11136,9 +11136,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_1_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 1 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 1 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_1_amperage', @@ -11191,9 +11191,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 1 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 1 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_1_voltage', @@ -11248,10 +11248,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_1_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 1 wattage', + : 'power', + : 'TLX123456 Input 1 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_1_wattage', @@ -11304,9 +11304,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_2_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 2 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 2 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_2_amperage', @@ -11359,9 +11359,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 2 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 2 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_2_voltage', @@ -11416,10 +11416,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_2_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 2 wattage', + : 'power', + : 'TLX123456 Input 2 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_2_wattage', @@ -11472,9 +11472,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_3_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 3 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 3 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_3_amperage', @@ -11527,9 +11527,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 3 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 3 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_3_voltage', @@ -11584,10 +11584,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_3_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 3 wattage', + : 'power', + : 'TLX123456 Input 3 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_3_wattage', @@ -11640,9 +11640,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_4_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 4 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 4 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_4_amperage', @@ -11695,9 +11695,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_4_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 4 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 4 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_4_voltage', @@ -11752,10 +11752,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_input_4_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 4 wattage', + : 'power', + : 'TLX123456 Input 4 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_4_wattage', @@ -11810,10 +11810,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_internal_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Internal wattage', + : 'power', + : 'TLX123456 Internal wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_internal_wattage', @@ -11868,10 +11868,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_batteries_charged_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime batteries charged from grid', + : 'energy', + : 'TLX123456 Lifetime batteries charged from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_batteries_charged_from_grid', @@ -11926,10 +11926,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime energy output', + : 'energy', + : 'TLX123456 Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_energy_output', @@ -11984,10 +11984,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_import_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime import from grid', + : 'energy', + : 'TLX123456 Lifetime import from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_import_from_grid', @@ -12042,10 +12042,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_self_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime self consumption', + : 'energy', + : 'TLX123456 Lifetime self consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_self_consumption', @@ -12100,10 +12100,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_system_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime system production', + : 'energy', + : 'TLX123456 Lifetime system production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_system_production', @@ -12158,10 +12158,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_all_batteries_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total all batteries charged', + : 'energy', + : 'TLX123456 Lifetime total all batteries charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_all_batteries_charged', @@ -12216,10 +12216,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_all_batteries_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total all batteries discharged', + : 'energy', + : 'TLX123456 Lifetime total all batteries discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_all_batteries_discharged', @@ -12274,10 +12274,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_battery_1_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 1 charged', + : 'energy', + : 'TLX123456 Lifetime total battery 1 charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_1_charged', @@ -12332,10 +12332,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_battery_1_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 1 discharged', + : 'energy', + : 'TLX123456 Lifetime total battery 1 discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_1_discharged', @@ -12390,10 +12390,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_battery_2_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 2 charged', + : 'energy', + : 'TLX123456 Lifetime total battery 2 charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_2_charged', @@ -12448,10 +12448,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_battery_2_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 2 discharged', + : 'energy', + : 'TLX123456 Lifetime total battery 2 discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_2_discharged', @@ -12506,10 +12506,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_energy_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 1', + : 'energy', + : 'TLX123456 Lifetime total energy input 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_1', @@ -12564,10 +12564,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_energy_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 2', + : 'energy', + : 'TLX123456 Lifetime total energy input 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_2', @@ -12622,10 +12622,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_energy_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 3', + : 'energy', + : 'TLX123456 Lifetime total energy input 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_3', @@ -12680,10 +12680,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_energy_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 4', + : 'energy', + : 'TLX123456 Lifetime total energy input 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_4', @@ -12738,10 +12738,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_export_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total export to grid', + : 'energy', + : 'TLX123456 Lifetime total export to grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_export_to_grid', @@ -12796,10 +12796,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total load consumption', + : 'energy', + : 'TLX123456 Lifetime total load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_load_consumption', @@ -12854,10 +12854,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_lifetime_total_solar_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total solar energy', + : 'energy', + : 'TLX123456 Lifetime total solar energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_solar_energy', @@ -12912,10 +12912,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_load_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Load consumption today', + : 'energy', + : 'TLX123456 Load consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_load_consumption_today', @@ -12970,10 +12970,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_local_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Local load power', + : 'power', + : 'TLX123456 Local load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_local_load_power', @@ -13028,10 +13028,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Output power', + : 'power', + : 'TLX123456 Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_output_power', @@ -13084,9 +13084,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_reactive_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Reactive voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Reactive voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_reactive_voltage', @@ -13141,10 +13141,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_self_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Self consumption today', + : 'energy', + : 'TLX123456 Self consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_self_consumption_today', @@ -13199,10 +13199,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_self_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Self power', + : 'power', + : 'TLX123456 Self power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_self_power', @@ -13257,10 +13257,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_solar_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Solar energy today', + : 'energy', + : 'TLX123456 Solar energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_solar_energy_today', @@ -13310,9 +13310,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_state_of_charge_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'TLX123456 State of charge (SoC)', - 'unit_of_measurement': '%', + : 'battery', + : 'TLX123456 State of charge (SoC)', + : '%', }), 'context': , 'entity_id': 'sensor.tlx123456_state_of_charge_soc', @@ -13367,10 +13367,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_system_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 System power', + : 'power', + : 'TLX123456 System power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_system_power', @@ -13425,10 +13425,10 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_system_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 System production today', + : 'energy', + : 'TLX123456 System production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_system_production_today', @@ -13481,9 +13481,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 1', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 1', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_1', @@ -13536,9 +13536,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 2', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 2', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_2', @@ -13591,9 +13591,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_temperature_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 3', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 3', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_3', @@ -13646,9 +13646,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_temperature_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 4', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 4', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_4', @@ -13701,9 +13701,9 @@ # name: test_sensors_classic_api[tlx][sensor.tlx123456_temperature_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 5', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 5', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_5', @@ -13758,10 +13758,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_ac_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'SPH123456 AC frequency', + : 'frequency', + : 'SPH123456 AC frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_ac_frequency', @@ -13816,10 +13816,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_all_pv_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPH123456 All PV wattage', + : 'power', + : 'SPH123456 All PV wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_all_pv_wattage', @@ -13874,10 +13874,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_battery_charged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Battery charged today', + : 'energy', + : 'SPH123456 Battery charged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_battery_charged_today', @@ -13932,10 +13932,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_battery_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPH123456 Battery charging', + : 'power', + : 'SPH123456 Battery charging', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_battery_charging', @@ -13990,10 +13990,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_battery_discharged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Battery discharged today', + : 'energy', + : 'SPH123456 Battery discharged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_battery_discharged_today', @@ -14048,10 +14048,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_battery_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPH123456 Battery discharging W', + : 'power', + : 'SPH123456 Battery discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_battery_discharging_w', @@ -14104,9 +14104,9 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SPH123456 Battery voltage', - 'unit_of_measurement': , + : 'voltage', + : 'SPH123456 Battery voltage', + : , }), 'context': , 'entity_id': 'sensor.sph123456_battery_voltage', @@ -14161,10 +14161,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_export_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPH123456 Export to grid', + : 'power', + : 'SPH123456 Export to grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_export_to_grid', @@ -14219,10 +14219,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_export_to_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Export to grid today', + : 'energy', + : 'SPH123456 Export to grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_export_to_grid_today', @@ -14275,9 +14275,9 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_grid_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SPH123456 Grid voltage', - 'unit_of_measurement': , + : 'voltage', + : 'SPH123456 Grid voltage', + : , }), 'context': , 'entity_id': 'sensor.sph123456_grid_voltage', @@ -14332,10 +14332,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_import_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPH123456 Import from grid', + : 'power', + : 'SPH123456 Import from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_import_from_grid', @@ -14390,10 +14390,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_import_from_grid_today_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Import from grid today (load)', + : 'energy', + : 'SPH123456 Import from grid today (load)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_import_from_grid_today_load', @@ -14443,8 +14443,8 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_last_data_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'SPH123456 Last data update', + : 'timestamp', + : 'SPH123456 Last data update', }), 'context': , 'entity_id': 'sensor.sph123456_last_data_update', @@ -14499,10 +14499,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_lifetime_battery_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Lifetime battery charged', + : 'energy', + : 'SPH123456 Lifetime battery charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_lifetime_battery_charged', @@ -14557,10 +14557,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_lifetime_battery_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Lifetime battery discharged', + : 'energy', + : 'SPH123456 Lifetime battery discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_lifetime_battery_discharged', @@ -14615,10 +14615,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_lifetime_export_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Lifetime export to grid', + : 'energy', + : 'SPH123456 Lifetime export to grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_lifetime_export_to_grid', @@ -14673,10 +14673,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_lifetime_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Lifetime load consumption', + : 'energy', + : 'SPH123456 Lifetime load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_lifetime_load_consumption', @@ -14731,10 +14731,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_lifetime_solar_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Lifetime solar energy', + : 'energy', + : 'SPH123456 Lifetime solar energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_lifetime_solar_energy', @@ -14789,10 +14789,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_load_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Load consumption today', + : 'energy', + : 'SPH123456 Load consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_load_consumption_today', @@ -14847,10 +14847,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_load_consumption_today_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Load consumption today (battery)', + : 'energy', + : 'SPH123456 Load consumption today (battery)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_load_consumption_today_battery', @@ -14905,10 +14905,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_load_consumption_today_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Load consumption today (solar)', + : 'energy', + : 'SPH123456 Load consumption today (solar)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_load_consumption_today_solar', @@ -14961,9 +14961,9 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_pv1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SPH123456 PV1 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'SPH123456 PV1 voltage', + : , }), 'context': , 'entity_id': 'sensor.sph123456_pv1_voltage', @@ -15018,10 +15018,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_pv1_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPH123456 PV1 wattage', + : 'power', + : 'SPH123456 PV1 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_pv1_wattage', @@ -15074,9 +15074,9 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_pv2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SPH123456 PV2 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'SPH123456 PV2 voltage', + : , }), 'context': , 'entity_id': 'sensor.sph123456_pv2_voltage', @@ -15131,10 +15131,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_pv2_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPH123456 PV2 wattage', + : 'power', + : 'SPH123456 PV2 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_pv2_wattage', @@ -15189,10 +15189,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_self_consumption_today_solar_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Self-consumption today (solar + battery)', + : 'energy', + : 'SPH123456 Self-consumption today (solar + battery)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_self_consumption_today_solar_battery', @@ -15247,10 +15247,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_solar_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 Solar energy today', + : 'energy', + : 'SPH123456 Solar energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_solar_energy_today', @@ -15300,9 +15300,9 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'SPH123456 State of charge', - 'unit_of_measurement': '%', + : 'battery', + : 'SPH123456 State of charge', + : '%', }), 'context': , 'entity_id': 'sensor.sph123456_state_of_charge', @@ -15357,10 +15357,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_system_production_today_self_consumption_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPH123456 System production today (self-consumption + export)', + : 'energy', + : 'SPH123456 System production today (self-consumption + export)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_system_production_today_self_consumption_export', @@ -15415,10 +15415,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SPH123456 Temperature 1', + : 'temperature', + : 'SPH123456 Temperature 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_temperature_1', @@ -15473,10 +15473,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SPH123456 Temperature 2', + : 'temperature', + : 'SPH123456 Temperature 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_temperature_2', @@ -15531,10 +15531,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_temperature_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SPH123456 Temperature 3', + : 'temperature', + : 'SPH123456 Temperature 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_temperature_3', @@ -15589,10 +15589,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_temperature_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SPH123456 Temperature 4', + : 'temperature', + : 'SPH123456 Temperature 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_temperature_4', @@ -15647,10 +15647,10 @@ # name: test_sph_sensors_v1_api[sensor.sph123456_temperature_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SPH123456 Temperature 5', + : 'temperature', + : 'SPH123456 Temperature 5', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sph123456_temperature_5', @@ -15705,10 +15705,10 @@ # name: test_sph_sensors_v1_api[sensor.test_plant_total_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Energy today', + : 'energy', + : 'Test Plant Total Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_energy_today', @@ -15763,10 +15763,10 @@ # name: test_sph_sensors_v1_api[sensor.test_plant_total_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Lifetime energy output', + : 'energy', + : 'Test Plant Total Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_lifetime_energy_output', @@ -15821,10 +15821,10 @@ # name: test_sph_sensors_v1_api[sensor.test_plant_total_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Maximum power', + : 'power', + : 'Test Plant Total Maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_maximum_power', @@ -15874,7 +15874,7 @@ # name: test_sph_sensors_v1_api[sensor.test_plant_total_money_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Money lifetime', + : 'Test Plant Total Money lifetime', }), 'context': , 'entity_id': 'sensor.test_plant_total_money_lifetime', @@ -15929,10 +15929,10 @@ # name: test_sph_sensors_v1_api[sensor.test_plant_total_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Output power', + : 'power', + : 'Test Plant Total Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_output_power', @@ -15982,7 +15982,7 @@ # name: test_sph_sensors_v1_api[sensor.test_plant_total_total_money_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Total money today', + : 'Test Plant Total Total money today', }), 'context': , 'entity_id': 'sensor.test_plant_total_total_money_today', @@ -16037,10 +16037,10 @@ # name: test_total_sensors_classic_api[sensor.test_plant_total_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Energy today', + : 'energy', + : 'Test Plant Total Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_energy_today', @@ -16095,10 +16095,10 @@ # name: test_total_sensors_classic_api[sensor.test_plant_total_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Plant Total Lifetime energy output', + : 'energy', + : 'Test Plant Total Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_lifetime_energy_output', @@ -16153,10 +16153,10 @@ # name: test_total_sensors_classic_api[sensor.test_plant_total_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Maximum power', + : 'power', + : 'Test Plant Total Maximum power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_maximum_power', @@ -16206,8 +16206,8 @@ # name: test_total_sensors_classic_api[sensor.test_plant_total_money_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Money lifetime', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Money lifetime', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_money_lifetime', @@ -16262,10 +16262,10 @@ # name: test_total_sensors_classic_api[sensor.test_plant_total_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Plant Total Output power', + : 'power', + : 'Test Plant Total Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_plant_total_output_power', @@ -16315,8 +16315,8 @@ # name: test_total_sensors_classic_api[sensor.test_plant_total_total_money_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Plant Total Total money today', - 'unit_of_measurement': 'USD', + : 'Test Plant Total Total money today', + : 'USD', }), 'context': , 'entity_id': 'sensor.test_plant_total_total_money_today', @@ -16369,9 +16369,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_ac_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'TLX123456 AC frequency', - 'unit_of_measurement': , + : 'frequency', + : 'TLX123456 AC frequency', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_ac_frequency', @@ -16426,10 +16426,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_all_batteries_charged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 All batteries charged today', + : 'energy', + : 'TLX123456 All batteries charged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_all_batteries_charged_today', @@ -16484,10 +16484,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_all_batteries_discharged_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 All batteries discharged today', + : 'energy', + : 'TLX123456 All batteries discharged today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_all_batteries_discharged_today', @@ -16542,10 +16542,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_batteries_charged_from_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Batteries charged from grid today', + : 'energy', + : 'TLX123456 Batteries charged from grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_batteries_charged_from_grid_today', @@ -16600,10 +16600,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_battery_1_charging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 1 charging W', + : 'power', + : 'TLX123456 Battery 1 charging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_1_charging_w', @@ -16658,10 +16658,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_battery_1_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 1 discharging W', + : 'power', + : 'TLX123456 Battery 1 discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_1_discharging_w', @@ -16716,10 +16716,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_battery_2_charging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 2 charging W', + : 'power', + : 'TLX123456 Battery 2 charging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_2_charging_w', @@ -16774,10 +16774,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_battery_2_discharging_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Battery 2 discharging W', + : 'power', + : 'TLX123456 Battery 2 discharging W', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_battery_2_discharging_w', @@ -16832,10 +16832,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today', + : 'energy', + : 'TLX123456 Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today', @@ -16890,10 +16890,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_energy_today_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 1', + : 'energy', + : 'TLX123456 Energy today input 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_1', @@ -16948,10 +16948,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_energy_today_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 2', + : 'energy', + : 'TLX123456 Energy today input 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_2', @@ -17006,10 +17006,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_energy_today_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 3', + : 'energy', + : 'TLX123456 Energy today input 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_3', @@ -17064,10 +17064,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_energy_today_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Energy today input 4', + : 'energy', + : 'TLX123456 Energy today input 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_energy_today_input_4', @@ -17122,10 +17122,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_export_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Export power', + : 'power', + : 'TLX123456 Export power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_export_power', @@ -17180,10 +17180,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_export_to_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Export to grid today', + : 'energy', + : 'TLX123456 Export to grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_export_to_grid_today', @@ -17238,10 +17238,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_import_from_grid_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Import from grid today', + : 'energy', + : 'TLX123456 Import from grid today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_import_from_grid_today', @@ -17296,10 +17296,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_import_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Import power', + : 'power', + : 'TLX123456 Import power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_import_power', @@ -17352,9 +17352,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_1_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 1 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 1 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_1_amperage', @@ -17407,9 +17407,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 1 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 1 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_1_voltage', @@ -17464,10 +17464,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_1_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 1 wattage', + : 'power', + : 'TLX123456 Input 1 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_1_wattage', @@ -17520,9 +17520,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_2_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 2 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 2 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_2_amperage', @@ -17575,9 +17575,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 2 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 2 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_2_voltage', @@ -17632,10 +17632,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_2_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 2 wattage', + : 'power', + : 'TLX123456 Input 2 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_2_wattage', @@ -17688,9 +17688,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_3_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 3 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 3 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_3_amperage', @@ -17743,9 +17743,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 3 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 3 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_3_voltage', @@ -17800,10 +17800,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_3_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 3 wattage', + : 'power', + : 'TLX123456 Input 3 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_3_wattage', @@ -17856,9 +17856,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_4_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TLX123456 Input 4 amperage', - 'unit_of_measurement': , + : 'current', + : 'TLX123456 Input 4 amperage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_4_amperage', @@ -17911,9 +17911,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_4_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Input 4 voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Input 4 voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_4_voltage', @@ -17968,10 +17968,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_input_4_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Input 4 wattage', + : 'power', + : 'TLX123456 Input 4 wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_input_4_wattage', @@ -18026,10 +18026,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_internal_wattage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Internal wattage', + : 'power', + : 'TLX123456 Internal wattage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_internal_wattage', @@ -18084,10 +18084,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_batteries_charged_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime batteries charged from grid', + : 'energy', + : 'TLX123456 Lifetime batteries charged from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_batteries_charged_from_grid', @@ -18142,10 +18142,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime energy output', + : 'energy', + : 'TLX123456 Lifetime energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_energy_output', @@ -18200,10 +18200,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_import_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime import from grid', + : 'energy', + : 'TLX123456 Lifetime import from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_import_from_grid', @@ -18258,10 +18258,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_self_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime self consumption', + : 'energy', + : 'TLX123456 Lifetime self consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_self_consumption', @@ -18316,10 +18316,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_system_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime system production', + : 'energy', + : 'TLX123456 Lifetime system production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_system_production', @@ -18374,10 +18374,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_all_batteries_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total all batteries charged', + : 'energy', + : 'TLX123456 Lifetime total all batteries charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_all_batteries_charged', @@ -18432,10 +18432,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_all_batteries_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total all batteries discharged', + : 'energy', + : 'TLX123456 Lifetime total all batteries discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_all_batteries_discharged', @@ -18490,10 +18490,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_battery_1_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 1 charged', + : 'energy', + : 'TLX123456 Lifetime total battery 1 charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_1_charged', @@ -18548,10 +18548,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_battery_1_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 1 discharged', + : 'energy', + : 'TLX123456 Lifetime total battery 1 discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_1_discharged', @@ -18606,10 +18606,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_battery_2_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 2 charged', + : 'energy', + : 'TLX123456 Lifetime total battery 2 charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_2_charged', @@ -18664,10 +18664,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_battery_2_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total battery 2 discharged', + : 'energy', + : 'TLX123456 Lifetime total battery 2 discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_battery_2_discharged', @@ -18722,10 +18722,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_energy_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 1', + : 'energy', + : 'TLX123456 Lifetime total energy input 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_1', @@ -18780,10 +18780,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_energy_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 2', + : 'energy', + : 'TLX123456 Lifetime total energy input 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_2', @@ -18838,10 +18838,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_energy_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 3', + : 'energy', + : 'TLX123456 Lifetime total energy input 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_3', @@ -18896,10 +18896,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_energy_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total energy input 4', + : 'energy', + : 'TLX123456 Lifetime total energy input 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_energy_input_4', @@ -18954,10 +18954,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_export_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total export to grid', + : 'energy', + : 'TLX123456 Lifetime total export to grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_export_to_grid', @@ -19012,10 +19012,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_load_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total load consumption', + : 'energy', + : 'TLX123456 Lifetime total load consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_load_consumption', @@ -19070,10 +19070,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_lifetime_total_solar_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Lifetime total solar energy', + : 'energy', + : 'TLX123456 Lifetime total solar energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_lifetime_total_solar_energy', @@ -19128,10 +19128,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_load_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Load consumption today', + : 'energy', + : 'TLX123456 Load consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_load_consumption_today', @@ -19186,10 +19186,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_local_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Local load power', + : 'power', + : 'TLX123456 Local load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_local_load_power', @@ -19244,10 +19244,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Output power', + : 'power', + : 'TLX123456 Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_output_power', @@ -19300,9 +19300,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_reactive_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TLX123456 Reactive voltage', - 'unit_of_measurement': , + : 'voltage', + : 'TLX123456 Reactive voltage', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_reactive_voltage', @@ -19357,10 +19357,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_self_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Self consumption today', + : 'energy', + : 'TLX123456 Self consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_self_consumption_today', @@ -19415,10 +19415,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_self_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 Self power', + : 'power', + : 'TLX123456 Self power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_self_power', @@ -19473,10 +19473,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_solar_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 Solar energy today', + : 'energy', + : 'TLX123456 Solar energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_solar_energy_today', @@ -19526,9 +19526,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_state_of_charge_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'TLX123456 State of charge (SoC)', - 'unit_of_measurement': '%', + : 'battery', + : 'TLX123456 State of charge (SoC)', + : '%', }), 'context': , 'entity_id': 'sensor.tlx123456_state_of_charge_soc', @@ -19583,10 +19583,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_system_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'TLX123456 System power', + : 'power', + : 'TLX123456 System power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_system_power', @@ -19641,10 +19641,10 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_system_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TLX123456 System production today', + : 'energy', + : 'TLX123456 System production today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tlx123456_system_production_today', @@ -19697,9 +19697,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 1', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 1', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_1', @@ -19752,9 +19752,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 2', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 2', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_2', @@ -19807,9 +19807,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_temperature_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 3', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 3', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_3', @@ -19862,9 +19862,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_temperature_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 4', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 4', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_4', @@ -19917,9 +19917,9 @@ # name: test_total_sensors_classic_api[sensor.tlx123456_temperature_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TLX123456 Temperature 5', - 'unit_of_measurement': , + : 'temperature', + : 'TLX123456 Temperature 5', + : , }), 'context': , 'entity_id': 'sensor.tlx123456_temperature_5', diff --git a/tests/components/growatt_server/snapshots/test_switch.ambr b/tests/components/growatt_server/snapshots/test_switch.ambr index 3e5d8418466..e3f7a06d0aa 100644 --- a/tests/components/growatt_server/snapshots/test_switch.ambr +++ b/tests/components/growatt_server/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.min123456_charge_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MIN123456 Charge from grid', + : 'MIN123456 Charge from grid', }), 'context': , 'entity_id': 'switch.min123456_charge_from_grid', diff --git a/tests/components/guntamatic/snapshots/test_sensor.ambr b/tests/components/guntamatic/snapshots/test_sensor.ambr index c0be2c90cf3..5953c89c62f 100644 --- a/tests/components/guntamatic/snapshots/test_sensor.ambr +++ b/tests/components/guntamatic/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.mock_title_boiler_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Boiler temperature', + : 'temperature', + : 'Mock Title Boiler temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_boiler_temperature', @@ -99,9 +99,9 @@ # name: test_all_entities[sensor.mock_title_buffer_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Buffer load', + : 'Mock Title Buffer load', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_title_buffer_load', @@ -156,10 +156,10 @@ # name: test_all_entities[sensor.mock_title_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Outdoor temperature', + : 'temperature', + : 'Mock Title Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_outdoor_temperature', @@ -219,8 +219,8 @@ # name: test_all_entities[sensor.mock_title_program-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Program', + : 'enum', + : 'Mock Title Program', : list([ 'off', 'timer', diff --git a/tests/components/habitica/snapshots/test_binary_sensor.ambr b/tests/components/habitica/snapshots/test_binary_sensor.ambr index 7e149f43928..bf000435ce8 100644 --- a/tests/components/habitica/snapshots/test_binary_sensor.ambr +++ b/tests/components/habitica/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.test_user_pending_quest_invitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/inventory_quest_scroll_dustbunnies.png', - 'friendly_name': 'test-user Pending quest invitation', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/inventory_quest_scroll_dustbunnies.png', + : 'test-user Pending quest invitation', }), 'context': , 'entity_id': 'binary_sensor.test_user_pending_quest_invitation', @@ -90,7 +90,7 @@ # name: test_binary_sensors[binary_sensor.test_user_s_party_quest_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "test-user's Party Quest status", + : "test-user's Party Quest status", }), 'context': , 'entity_id': 'binary_sensor.test_user_s_party_quest_status', diff --git a/tests/components/habitica/snapshots/test_button.ambr b/tests/components/habitica/snapshots/test_button.ambr index 68124fc7b40..a089a48c060 100644 --- a/tests/components/habitica/snapshots/test_button.ambr +++ b/tests/components/habitica/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[healer_fixture][button.test_user_allocate_all_stat_points-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Allocate all stat points', + : 'test-user Allocate all stat points', }), 'context': , 'entity_id': 'button.test_user_allocate_all_stat_points', @@ -89,8 +89,8 @@ # name: test_buttons[healer_fixture][button.test_user_blessing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_healAll.png', - 'friendly_name': 'test-user Blessing', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_healAll.png', + : 'test-user Blessing', }), 'context': , 'entity_id': 'button.test_user_blessing', @@ -140,8 +140,8 @@ # name: test_buttons[healer_fixture][button.test_user_buy_a_health_potion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', - 'friendly_name': 'test-user Buy a health potion', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', + : 'test-user Buy a health potion', }), 'context': , 'entity_id': 'button.test_user_buy_a_health_potion', @@ -191,8 +191,8 @@ # name: test_buttons[healer_fixture][button.test_user_healing_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_heal.png', - 'friendly_name': 'test-user Healing light', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_heal.png', + : 'test-user Healing light', }), 'context': , 'entity_id': 'button.test_user_healing_light', @@ -242,8 +242,8 @@ # name: test_buttons[healer_fixture][button.test_user_protective_aura-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_protectAura.png', - 'friendly_name': 'test-user Protective aura', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_protectAura.png', + : 'test-user Protective aura', }), 'context': , 'entity_id': 'button.test_user_protective_aura', @@ -293,7 +293,7 @@ # name: test_buttons[healer_fixture][button.test_user_revive_from_death-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Revive from death', + : 'test-user Revive from death', }), 'context': , 'entity_id': 'button.test_user_revive_from_death', @@ -343,8 +343,8 @@ # name: test_buttons[healer_fixture][button.test_user_searing_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_brightness.png', - 'friendly_name': 'test-user Searing brightness', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_brightness.png', + : 'test-user Searing brightness', }), 'context': , 'entity_id': 'button.test_user_searing_brightness', @@ -394,7 +394,7 @@ # name: test_buttons[healer_fixture][button.test_user_start_my_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Start my day', + : 'test-user Start my day', }), 'context': , 'entity_id': 'button.test_user_start_my_day', @@ -444,7 +444,7 @@ # name: test_buttons[rogue_fixture][button.test_user_allocate_all_stat_points-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Allocate all stat points', + : 'test-user Allocate all stat points', }), 'context': , 'entity_id': 'button.test_user_allocate_all_stat_points', @@ -494,8 +494,8 @@ # name: test_buttons[rogue_fixture][button.test_user_buy_a_health_potion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', - 'friendly_name': 'test-user Buy a health potion', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', + : 'test-user Buy a health potion', }), 'context': , 'entity_id': 'button.test_user_buy_a_health_potion', @@ -545,7 +545,7 @@ # name: test_buttons[rogue_fixture][button.test_user_revive_from_death-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Revive from death', + : 'test-user Revive from death', }), 'context': , 'entity_id': 'button.test_user_revive_from_death', @@ -595,7 +595,7 @@ # name: test_buttons[rogue_fixture][button.test_user_start_my_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Start my day', + : 'test-user Start my day', }), 'context': , 'entity_id': 'button.test_user_start_my_day', @@ -645,8 +645,8 @@ # name: test_buttons[rogue_fixture][button.test_user_stealth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_stealth.png', - 'friendly_name': 'test-user Stealth', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_stealth.png', + : 'test-user Stealth', }), 'context': , 'entity_id': 'button.test_user_stealth', @@ -696,8 +696,8 @@ # name: test_buttons[rogue_fixture][button.test_user_tools_of_the_trade-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_toolsOfTrade.png', - 'friendly_name': 'test-user Tools of the trade', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_toolsOfTrade.png', + : 'test-user Tools of the trade', }), 'context': , 'entity_id': 'button.test_user_tools_of_the_trade', @@ -747,7 +747,7 @@ # name: test_buttons[warrior_fixture][button.test_user_allocate_all_stat_points-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Allocate all stat points', + : 'test-user Allocate all stat points', }), 'context': , 'entity_id': 'button.test_user_allocate_all_stat_points', @@ -797,8 +797,8 @@ # name: test_buttons[warrior_fixture][button.test_user_buy_a_health_potion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', - 'friendly_name': 'test-user Buy a health potion', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', + : 'test-user Buy a health potion', }), 'context': , 'entity_id': 'button.test_user_buy_a_health_potion', @@ -848,8 +848,8 @@ # name: test_buttons[warrior_fixture][button.test_user_defensive_stance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_defensiveStance.png', - 'friendly_name': 'test-user Defensive stance', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_defensiveStance.png', + : 'test-user Defensive stance', }), 'context': , 'entity_id': 'button.test_user_defensive_stance', @@ -899,8 +899,8 @@ # name: test_buttons[warrior_fixture][button.test_user_intimidating_gaze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_intimidate.png', - 'friendly_name': 'test-user Intimidating gaze', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_intimidate.png', + : 'test-user Intimidating gaze', }), 'context': , 'entity_id': 'button.test_user_intimidating_gaze', @@ -950,7 +950,7 @@ # name: test_buttons[warrior_fixture][button.test_user_revive_from_death-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Revive from death', + : 'test-user Revive from death', }), 'context': , 'entity_id': 'button.test_user_revive_from_death', @@ -1000,7 +1000,7 @@ # name: test_buttons[warrior_fixture][button.test_user_start_my_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Start my day', + : 'test-user Start my day', }), 'context': , 'entity_id': 'button.test_user_start_my_day', @@ -1050,8 +1050,8 @@ # name: test_buttons[warrior_fixture][button.test_user_valorous_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_valorousPresence.png', - 'friendly_name': 'test-user Valorous presence', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_valorousPresence.png', + : 'test-user Valorous presence', }), 'context': , 'entity_id': 'button.test_user_valorous_presence', @@ -1101,7 +1101,7 @@ # name: test_buttons[wizard_fixture][button.test_user_allocate_all_stat_points-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Allocate all stat points', + : 'test-user Allocate all stat points', }), 'context': , 'entity_id': 'button.test_user_allocate_all_stat_points', @@ -1151,8 +1151,8 @@ # name: test_buttons[wizard_fixture][button.test_user_buy_a_health_potion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', - 'friendly_name': 'test-user Buy a health potion', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_potion.png', + : 'test-user Buy a health potion', }), 'context': , 'entity_id': 'button.test_user_buy_a_health_potion', @@ -1202,8 +1202,8 @@ # name: test_buttons[wizard_fixture][button.test_user_chilling_frost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_frost.png', - 'friendly_name': 'test-user Chilling frost', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_frost.png', + : 'test-user Chilling frost', }), 'context': , 'entity_id': 'button.test_user_chilling_frost', @@ -1253,8 +1253,8 @@ # name: test_buttons[wizard_fixture][button.test_user_earthquake-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_earth.png', - 'friendly_name': 'test-user Earthquake', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_earth.png', + : 'test-user Earthquake', }), 'context': , 'entity_id': 'button.test_user_earthquake', @@ -1304,8 +1304,8 @@ # name: test_buttons[wizard_fixture][button.test_user_ethereal_surge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_mpheal.png', - 'friendly_name': 'test-user Ethereal surge', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_mpheal.png', + : 'test-user Ethereal surge', }), 'context': , 'entity_id': 'button.test_user_ethereal_surge', @@ -1355,7 +1355,7 @@ # name: test_buttons[wizard_fixture][button.test_user_revive_from_death-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Revive from death', + : 'test-user Revive from death', }), 'context': , 'entity_id': 'button.test_user_revive_from_death', @@ -1405,7 +1405,7 @@ # name: test_buttons[wizard_fixture][button.test_user_start_my_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Start my day', + : 'test-user Start my day', }), 'context': , 'entity_id': 'button.test_user_start_my_day', diff --git a/tests/components/habitica/snapshots/test_calendar.ambr b/tests/components/habitica/snapshots/test_calendar.ambr index 2764cbb41d8..68d93d7fb7f 100644 --- a/tests/components/habitica/snapshots/test_calendar.ambr +++ b/tests/components/habitica/snapshots/test_calendar.ambr @@ -970,7 +970,7 @@ : True, : 'Klicke um Deinen Terminplan festzulegen!', : '2024-09-22 00:00:00', - 'friendly_name': 'test-user Dailies', + : 'test-user Dailies', : '', : '5 Minuten ruhig durchatmen', : '2024-09-21 00:00:00', @@ -1027,7 +1027,7 @@ : False, : 'Klicke um Deinen Terminplan festzulegen!', : '2024-09-21 21:00:00', - 'friendly_name': 'test-user Daily reminders', + : 'test-user Daily reminders', : '', : '5 Minuten ruhig durchatmen', : '2024-09-21 20:00:00', @@ -1083,7 +1083,7 @@ : False, : 'Strom- und Internetrechnungen rechtzeitig überweisen.', : '2024-09-22 03:00:00', - 'friendly_name': 'test-user To-do reminders', + : 'test-user To-do reminders', : '', : 'Rechnungen bezahlen', : '2024-09-22 02:00:00', @@ -1139,7 +1139,7 @@ : True, : 'Den Ausflug für das kommende Wochenende organisieren.', : '2024-09-22 00:00:00', - 'friendly_name': "test-user To-Do's", + : "test-user To-Do's", : '', : 'Wochenendausflug planen', : '2024-09-21 00:00:00', diff --git a/tests/components/habitica/snapshots/test_notify.ambr b/tests/components/habitica/snapshots/test_notify.ambr index 3e848cf35a4..c652561a7c0 100644 --- a/tests/components/habitica/snapshots/test_notify.ambr +++ b/tests/components/habitica/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.test_user_party_chat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Party chat', - 'supported_features': , + : 'test-user Party chat', + : , }), 'context': , 'entity_id': 'notify.test_user_party_chat', @@ -90,8 +90,8 @@ # name: test_notify_platform[notify.test_user_private_message_test_partymember_displayname-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Private message: test-partymember-displayname', - 'supported_features': , + : 'test-user Private message: test-partymember-displayname', + : , }), 'context': , 'entity_id': 'notify.test_user_private_message_test_partymember_displayname', diff --git a/tests/components/habitica/snapshots/test_sensor.ambr b/tests/components/habitica/snapshots/test_sensor.ambr index 18fae2cce7f..5d257e67555 100644 --- a/tests/components/habitica/snapshots/test_sensor.ambr +++ b/tests/components/habitica/snapshots/test_sensor.ambr @@ -46,9 +46,9 @@ # name: test_sensors[sensor.test_partymember_displayname_class-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiAgdmlld0JveD0iLTEyIC0xMiA3MiA3MiI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTMxLjM5MiA5LjExNWwtNi43OTEgNy4xMjR2Ni4zMTRsNi43OTEtNi43OTFWOS4xMTV6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMSkiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGMDYxNjYiIGQ9Ik0xOC4zOSAyOC43NjJsNi4zMzQgMi45MmMuNTI2LjI0My44NjguNzMyLjk5OSAxLjI5Ny4yMTkuOTQ4Ljg4MyAzLjE1Ni45MzcgNC4zM2EuODguODggMCAwIDEtMS4yNC44NDRsLTEwLjU4OC01LjA3YTEuNzgxIDEuNzgxIDAgMCAxLS43NjItLjc2M0w5IDIxLjczM2EuODguODggMCAwIDEgLjg0NC0xLjI0YzEuMTczLjA1NCAzLjMzNS42ODMgNC4zMy45MzcuNTYuMTQyIDEuMDU0LjQ3MiAxLjI5Ni45OThsMi45MiA2LjMzNHoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQzgyQjJCIiBkPSJNMy4wNzMgNDQuMDg1bDIuNzMyIDIuNzMzIDcuMDg1LS41NTcuMzY0LTQuNjU2IDQuMDY5LTQuMDY3IDcuNDAxIDMuNTIyIDUuNTM2LTEuNDktMi4zMjItOS45OSAxNS41MTQtMTQuNDc3TDQ2LjQyMi43NDFsLS4wMDcuMDAyLjAwMy0uMDAzVi43MzRMMzIuMDU3IDMuNzAyIDE3LjU4IDE5LjIxOGwtOS45OS0yLjMyMkw2LjEgMjIuNDNsMy41MjIgNy40MDNMNS41NTUgMzMuOWwtNC42NTQuMzY3LS41NTkgNy4wODQgMi43MzIgMi43MzN6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTguOTI3IDQxLjc2OWwtMy41NDQtMy41NDQgOC43NjctOC43NjUgMy41NDIgMy41NDR6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTMuMzc3IDQwLjIzMWwuMjU1LTMuMjM1IDMuMjM2LS4yNTUgMy41NDQgMy41NDYtLjI1NSAzLjIzMy0zLjIzNC4yNTh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGQjZCOCIgZD0iTTMzLjkzNSA2LjUyNmwuMyA2LjM5MSA4LjEwOC04LjEwOGMtLjE1LS4xNC02LjI2LjU2NS04LjQwOCAxLjcxNyIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGMjdCODYiIGQ9Ik0zMy43ODcgNi42MDJMMTYuNjYgMjQuNTY4bDQuMzkgMS41MzggMTMuMTg2LTEzLjE4OS0uMy02LjM5MmMtLjA0OC4wMjctLjE0OC4wNzctLjE0OC4wNzciLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRjI3Qjg2IiBkPSJNMTYuNjYgMjQuNTY3bC0uMTQ4LjE2NCAxLjg2NCA0LjA0NSAyLjY3LTIuNjctNC4zODYtMS41Mzl6TTQwLjYyNCAxMy4yMmwtNi4zOTItLjMgOC4xMDktOC4xMDhjLjE0LjE1LS41NjUgNi4yNTktMS43MTcgOC40MDgiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNNDAuNTQ4IDEzLjM2OEwyMi41ODIgMzAuNDk2bC0xLjUzOC00LjM5TDM0LjIzMyAxMi45Mmw2LjM5MS4zYTUuMDMyIDUuMDMyIDAgMCAwLS4wNzYuMTQ4Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0U1NDE0RCIgZD0iTTIyLjU4MiAzMC40OTVsLS4xNjMuMTQ4LTQuMDQ1LTEuODY0IDIuNjctMi42NyAxLjUzOCA0LjM4NnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZCNkI4IiBkPSJNNi44NjcgMzYuNzQybC0uNzUgMi43NDItMi40ODYtMi40ODd6TTEwLjQwNiA0MC4yOGwtMi43NDIuNzUgMi40ODYgMi40ODZ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGQjZCOCIgZD0iTTYuODY3IDM2Ljc0MmwzLjU0NiAzLjU0Ni0yLjc0OC43NDEtMS41NDctMS41NDV6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YyN0I4NiIgZD0iTTMuMzgyIDQwLjIzN2wyLjc0Mi0uNzUtMi40ODYtMi40ODZ6TTYuOTIxIDQzLjc3NmwuNzUtMi43NDIgMi40ODYgMi40ODZ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YyN0I4NiIgZD0iTTMuMzgyIDQwLjIzN2wzLjU0NyAzLjU0Ni43NC0yLjc0OC0xLjU0NS0xLjU0N3oiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNMTQuNzAxIDM2LjAxbC0zLjU1Mi0zLjU1MyAyLjE0My0yLjE0IDMuNTUyIDMuNTV6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTEyLjU2IDM4LjE1MUw5LjAwOCAzNC42bDIuMTQyLTIuMTQgMy41NTIgMy41NXoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNMTAuNDE4IDQwLjI5M0w2Ljg2NiAzNi43NGwyLjE0Mi0yLjE0IDMuNTUyIDMuNTV6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGQjZCOCIgZD0iTTE4LjM5NSAyOC43NjRsLTIuOTItNi4zMzRhMS42MjkgMS42MjkgMCAwIDAtLjQ2LS41NzYgMi4xMiAyLjEyIDAgMCAwLS44MzYtLjQyMmMtLjk5NS0uMjU0LTMuMTU3LS44ODMtNC4zMy0uOTM3YS44NzEuODcxIDAgMCAwLS43MjcuMzM2bDQuMjU4IDMuNjM0IDMuMTMgNi4xOTIgMS44OS0xLjg5LS4wMDUtLjAwM3oiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRjA2MTY2IiBkPSJNMTMuMzggMjQuNDY2TDkuMTIgMjAuODNhLjg3MS44NzEgMCAwIDAtLjExNy45MDRsNS4wNyAxMC41ODdjLjA4NS4xNjUuMTk3LjMxMy4zMjcuNDQ0bDIuMTA5LTIuMTA4LTMuMTMtNi4xOTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YyN0I4NiIgZD0iTTI2LjY3NCAzNy4zMTJjLS4wNTQtMS4xNzMtLjY4NC0zLjMzNy0uOTM3LTQuMzNhMi4xMiAyLjEyIDAgMCAwLS40MjMtLjgzNiAxLjYyOSAxLjYyOSAwIDAgMC0uNTc2LS40NmwtNi4zMzQtMi45Mi0uMDAyLS4wMDUtMS44OTEgMS44OTEgNi4xOTIgMy4xMyAzLjYzNSA0LjI1OGEuODc0Ljg3NCAwIDAgMCAuMzM2LS43MjgiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNMjIuNzAzIDMzLjc4MWwzLjYzNCA0LjI1OWEuODcxLjg3MSAwIDAgMS0uOTA0LjExN2wtMTAuNTg3LTUuMDdhMS43NjYgMS43NjYgMCAwIDEtLjQ0NC0uMzI3bDIuMTA5LTIuMTA4IDYuMTkyIDMuMTN6Ii8+CiAgICAgICAgPG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkI2QjgiIGQ9Ik0yOS40NzIgMjMuMjhoLjk4N1Y1LjgyOGgtLjk4N3pNMjQuNjAxIDI3LjY5MmgyLjkyVjEwLjI0aC0yLjkyeiIgbWFzaz0idXJsKCNiKSIvPgogICAgPC9nPgo8L3N2Zz4=', - 'friendly_name': 'test-partymember-displayname Class', + : 'enum', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiAgdmlld0JveD0iLTEyIC0xMiA3MiA3MiI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTMxLjM5MiA5LjExNWwtNi43OTEgNy4xMjR2Ni4zMTRsNi43OTEtNi43OTFWOS4xMTV6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMSkiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGMDYxNjYiIGQ9Ik0xOC4zOSAyOC43NjJsNi4zMzQgMi45MmMuNTI2LjI0My44NjguNzMyLjk5OSAxLjI5Ny4yMTkuOTQ4Ljg4MyAzLjE1Ni45MzcgNC4zM2EuODguODggMCAwIDEtMS4yNC44NDRsLTEwLjU4OC01LjA3YTEuNzgxIDEuNzgxIDAgMCAxLS43NjItLjc2M0w5IDIxLjczM2EuODguODggMCAwIDEgLjg0NC0xLjI0YzEuMTczLjA1NCAzLjMzNS42ODMgNC4zMy45MzcuNTYuMTQyIDEuMDU0LjQ3MiAxLjI5Ni45OThsMi45MiA2LjMzNHoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQzgyQjJCIiBkPSJNMy4wNzMgNDQuMDg1bDIuNzMyIDIuNzMzIDcuMDg1LS41NTcuMzY0LTQuNjU2IDQuMDY5LTQuMDY3IDcuNDAxIDMuNTIyIDUuNTM2LTEuNDktMi4zMjItOS45OSAxNS41MTQtMTQuNDc3TDQ2LjQyMi43NDFsLS4wMDcuMDAyLjAwMy0uMDAzVi43MzRMMzIuMDU3IDMuNzAyIDE3LjU4IDE5LjIxOGwtOS45OS0yLjMyMkw2LjEgMjIuNDNsMy41MjIgNy40MDNMNS41NTUgMzMuOWwtNC42NTQuMzY3LS41NTkgNy4wODQgMi43MzIgMi43MzN6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTguOTI3IDQxLjc2OWwtMy41NDQtMy41NDQgOC43NjctOC43NjUgMy41NDIgMy41NDR6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTMuMzc3IDQwLjIzMWwuMjU1LTMuMjM1IDMuMjM2LS4yNTUgMy41NDQgMy41NDYtLjI1NSAzLjIzMy0zLjIzNC4yNTh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGQjZCOCIgZD0iTTMzLjkzNSA2LjUyNmwuMyA2LjM5MSA4LjEwOC04LjEwOGMtLjE1LS4xNC02LjI2LjU2NS04LjQwOCAxLjcxNyIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGMjdCODYiIGQ9Ik0zMy43ODcgNi42MDJMMTYuNjYgMjQuNTY4bDQuMzkgMS41MzggMTMuMTg2LTEzLjE4OS0uMy02LjM5MmMtLjA0OC4wMjctLjE0OC4wNzctLjE0OC4wNzciLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRjI3Qjg2IiBkPSJNMTYuNjYgMjQuNTY3bC0uMTQ4LjE2NCAxLjg2NCA0LjA0NSAyLjY3LTIuNjctNC4zODYtMS41Mzl6TTQwLjYyNCAxMy4yMmwtNi4zOTItLjMgOC4xMDktOC4xMDhjLjE0LjE1LS41NjUgNi4yNTktMS43MTcgOC40MDgiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNNDAuNTQ4IDEzLjM2OEwyMi41ODIgMzAuNDk2bC0xLjUzOC00LjM5TDM0LjIzMyAxMi45Mmw2LjM5MS4zYTUuMDMyIDUuMDMyIDAgMCAwLS4wNzYuMTQ4Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0U1NDE0RCIgZD0iTTIyLjU4MiAzMC40OTVsLS4xNjMuMTQ4LTQuMDQ1LTEuODY0IDIuNjctMi42NyAxLjUzOCA0LjM4NnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZCNkI4IiBkPSJNNi44NjcgMzYuNzQybC0uNzUgMi43NDItMi40ODYtMi40ODd6TTEwLjQwNiA0MC4yOGwtMi43NDIuNzUgMi40ODYgMi40ODZ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGQjZCOCIgZD0iTTYuODY3IDM2Ljc0MmwzLjU0NiAzLjU0Ni0yLjc0OC43NDEtMS41NDctMS41NDV6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YyN0I4NiIgZD0iTTMuMzgyIDQwLjIzN2wyLjc0Mi0uNzUtMi40ODYtMi40ODZ6TTYuOTIxIDQzLjc3NmwuNzUtMi43NDIgMi40ODYgMi40ODZ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YyN0I4NiIgZD0iTTMuMzgyIDQwLjIzN2wzLjU0NyAzLjU0Ni43NC0yLjc0OC0xLjU0NS0xLjU0N3oiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNMTQuNzAxIDM2LjAxbC0zLjU1Mi0zLjU1MyAyLjE0My0yLjE0IDMuNTUyIDMuNTV6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTEyLjU2IDM4LjE1MUw5LjAwOCAzNC42bDIuMTQyLTIuMTQgMy41NTIgMy41NXoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNMTAuNDE4IDQwLjI5M0w2Ljg2NiAzNi43NGwyLjE0Mi0yLjE0IDMuNTUyIDMuNTV6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGQjZCOCIgZD0iTTE4LjM5NSAyOC43NjRsLTIuOTItNi4zMzRhMS42MjkgMS42MjkgMCAwIDAtLjQ2LS41NzYgMi4xMiAyLjEyIDAgMCAwLS44MzYtLjQyMmMtLjk5NS0uMjU0LTMuMTU3LS44ODMtNC4zMy0uOTM3YS44NzEuODcxIDAgMCAwLS43MjcuMzM2bDQuMjU4IDMuNjM0IDMuMTMgNi4xOTIgMS44OS0xLjg5LS4wMDUtLjAwM3oiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRjA2MTY2IiBkPSJNMTMuMzggMjQuNDY2TDkuMTIgMjAuODNhLjg3MS44NzEgMCAwIDAtLjExNy45MDRsNS4wNyAxMC41ODdjLjA4NS4xNjUuMTk3LjMxMy4zMjcuNDQ0bDIuMTA5LTIuMTA4LTMuMTMtNi4xOTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0YyN0I4NiIgZD0iTTI2LjY3NCAzNy4zMTJjLS4wNTQtMS4xNzMtLjY4NC0zLjMzNy0uOTM3LTQuMzNhMi4xMiAyLjEyIDAgMCAwLS40MjMtLjgzNiAxLjYyOSAxLjYyOSAwIDAgMC0uNTc2LS40NmwtNi4zMzQtMi45Mi0uMDAyLS4wMDUtMS44OTEgMS44OTEgNi4xOTIgMy4xMyAzLjYzNSA0LjI1OGEuODc0Ljg3NCAwIDAgMCAuMzM2LS43MjgiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRTU0MTREIiBkPSJNMjIuNzAzIDMzLjc4MWwzLjYzNCA0LjI1OWEuODcxLjg3MSAwIDAgMS0uOTA0LjExN2wtMTAuNTg3LTUuMDdhMS43NjYgMS43NjYgMCAwIDEtLjQ0NC0uMzI3bDIuMTA5LTIuMTA4IDYuMTkyIDMuMTN6Ii8+CiAgICAgICAgPG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkI2QjgiIGQ9Ik0yOS40NzIgMjMuMjhoLjk4N1Y1LjgyOGgtLjk4N3pNMjQuNjAxIDI3LjY5MmgyLjkyVjEwLjI0aC0yLjkyeiIgbWFzaz0idXJsKCNiKSIvPgogICAgPC9nPgo8L3N2Zz4=', + : 'test-partymember-displayname Class', : list([ 'warrior', 'rogue', @@ -111,9 +111,9 @@ 'buffs': 1, 'class': 0, 'equipment': 0, - 'friendly_name': 'test-partymember-displayname Constitution', + : 'test-partymember-displayname Constitution', 'level': 0, - 'unit_of_measurement': 'CON', + : 'CON', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_constitution', @@ -164,7 +164,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'blurb': None, - 'friendly_name': 'test-partymember-displayname Display name', + : 'test-partymember-displayname Display name', 'joined': datetime.date(2024, 10, 10), 'last_login': datetime.date(2024, 10, 30), 'total_logins': 1, @@ -218,9 +218,9 @@ # name: test_sensors[sensor.test_partymember_displayname_experience-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': 'test-partymember-displayname Experience', - 'unit_of_measurement': 'XP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : 'test-partymember-displayname Experience', + : 'XP', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_experience', @@ -273,9 +273,9 @@ # name: test_sensors[sensor.test_partymember_displayname_health-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': 'test-partymember-displayname Health', - 'unit_of_measurement': 'HP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : 'test-partymember-displayname Health', + : 'HP', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_health', @@ -332,9 +332,9 @@ 'buffs': 1, 'class': 0, 'equipment': 0, - 'friendly_name': 'test-partymember-displayname Intelligence', + : 'test-partymember-displayname Intelligence', 'level': 0, - 'unit_of_measurement': 'INT', + : 'INT', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_intelligence', @@ -384,8 +384,8 @@ # name: test_sensors[sensor.test_partymember_displayname_last_check_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'test-partymember-displayname Last check-in', + : 'timestamp', + : 'test-partymember-displayname Last check-in', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_last_check_in', @@ -435,7 +435,7 @@ # name: test_sensors[sensor.test_partymember_displayname_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-partymember-displayname Level', + : 'test-partymember-displayname Level', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_level', @@ -488,9 +488,9 @@ # name: test_sensors[sensor.test_partymember_displayname_mana-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', - 'friendly_name': 'test-partymember-displayname Mana', - 'unit_of_measurement': 'MP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', + : 'test-partymember-displayname Mana', + : 'MP', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_mana', @@ -540,9 +540,9 @@ # name: test_sensors[sensor.test_partymember_displayname_max_mana-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', - 'friendly_name': 'test-partymember-displayname Max. mana', - 'unit_of_measurement': 'MP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', + : 'test-partymember-displayname Max. mana', + : 'MP', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_max_mana', @@ -592,9 +592,9 @@ # name: test_sensors[sensor.test_partymember_displayname_next_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': 'test-partymember-displayname Next level', - 'unit_of_measurement': 'XP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : 'test-partymember-displayname Next level', + : 'XP', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_next_level', @@ -651,9 +651,9 @@ 'buffs': 1, 'class': 0, 'equipment': 0, - 'friendly_name': 'test-partymember-displayname Perception', + : 'test-partymember-displayname Perception', 'level': 0, - 'unit_of_measurement': 'PER', + : 'PER', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_perception', @@ -710,9 +710,9 @@ 'buffs': 1, 'class': 0, 'equipment': 0, - 'friendly_name': 'test-partymember-displayname Strength', + : 'test-partymember-displayname Strength', 'level': 0, - 'unit_of_measurement': 'STR', + : 'STR', }), 'context': , 'entity_id': 'sensor.test_partymember_displayname_strength', @@ -769,9 +769,9 @@ # name: test_sensors[sensor.test_user_class-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItMTIgLTEyIDcyIDcyIj4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZmlsbD0iIzFGNkVBMiIgZD0iTTI0LjQ2MiAxLjE1MWMtMy42OTUgMy43MTQtNy4zMjEgMTQuNjItOS4yMzYgMjAuOTEzLS44NC0xLjA2Mi0xLjc5OS0yLjA3Ni0zLjE1OC0zLjMyNi00LjgwNiAzLjUxNC03LjM1NyA3LjI1LTEwLjY0NiAxMS44MTYgOC45MTYgNy45MjYgMTEuMjMzIDkuMjU2IDIyLjk5NSAxNi4wMDVsLjA0NS0uMDI1aC4wMDFsLjA0NS4wMjVjMTEuNzYtNi43NDkgMTQuMDc5LTguMDggMjIuOTk0LTE2LjAwNS0zLjI4Ny00LjU2Ni01Ljg0MS04LjMwMi0xMC42NDUtMTEuODE2LTEuMzYxIDEuMjUtMi4zMTcgMi4yNjQtMy4xNTggMy4zMjYtMS45MTUtNi4yOTQtNS41NDMtMTcuMi05LjIzNi0yMC45MTNoLS4wMDF6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzI3OEFCRiIgZD0iTTI0LjQ2NCAzMi4xMDhsMy41NjEtMS4yNjVjNi4wNzUtLjYwNSA4LjQyNS0yLjI4MSA5LjQyNi0zLjQ5OGw2LjA1MyAyLjcwNy4wMDIuMDEzYS40NS40NSAwIDAgMS0uMTA1LjI4NiA0Ljk3IDQuOTcgMCAwIDEtLjMyLjMzYy0zLjQwNSAzLjMxNS0xOC4yMzcgMTEuOTgxLTE4LjYxNyAxMi4yMDJWMzIuMTA4eiIvPgogICAgICAgIDxwYXRoIGZpbGw9IiM1M0I0RTUiIGQ9Ik0zNi40MDYgMjMuMDQxYy4yMy0uMTg4LjI5Mi0uMzQuNjc0LS4zMzYgMS4xODMuMDY3IDUuMTY5IDUuMTc1IDYuMDY0IDYuNDYxLjE5NC4yNzguMzY2LjYxLjM2Ljg4NWwtNi4wNTMtMi43MDdjLjIzNi0uMzY3LjE5LS45Mi0uMzU1LTEuMjUyLS44MTgtLjUwMS0yLjUyOS45NDktMi45NTkuMjg0LS41OTktLjkyNyAyLjA0LTMuMTQ3IDIuMjctMy4zMzUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMkFBMENGIiBkPSJNMjMuNTkxIDcuNDg3Yy01LjM5IDE1LjQxOS04LjIyNyAyMy44MTctOC4yMjcgMjMuODE3bDkuMDk3IDQuNzZWNi44MzljLS4zNiAwLS43MTguMjE2LS44Ny42NDgiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMjc4QUJGIiBkPSJNMjUuMzMyIDcuNDg3Yy0uMTUyLS40MzItLjUxLS42NDgtLjg3LS42NDh2MjkuMjI1bDkuMDk3LTQuNzZzLTIuODM3LTguMzk4LTguMjI3LTIzLjgxNyIvPgogICAgICAgIDxwYXRoIGZpbGw9IiM0REIyRDYiIGQ9Ik0yNC40NjIgMzIuMTA4TDIwLjkgMzAuODQzYy02LjA3NS0uNjA1LTguMzQyLTIuMzUyLTkuNDI1LTMuNDk4TDUuNDIgMzAuMDUybC0uMDAyLjAxM2EuNDUuNDUgMCAwIDAgLjEwNi4yODZjLjA5LjEwNC4xOTcuMjE1LjMxOC4zMyAzLjQwNiAzLjMxNSAxOC4yMzggMTEuOTgxIDE4LjYxOSAxMi4yMDJWMzIuMTA4eiIvPgogICAgICAgIDxwYXRoIGZpbGw9IiM2QkM0RTkiIGQ9Ik0xMi41MTkgMjMuMDQxYy0uMjMtLjE4OC0uMjkyLS4zNC0uNjc0LS4zMzYtMS4xODMuMDY3LTUuMTY5IDUuMTc1LTYuMDYzIDYuNDYxLS4xOTQuMjc4LS4zNjcuNjEtLjM2MS44ODVsNi4wNTMtMi43MDdjLS4yMzYtLjM2Ny0uMTktLjkyLjM1Ni0xLjI1Mi44MTctLjUwMSAyLjUyOC45NDkgMi45NTguMjg0LjYtLjkyNy0yLjAzOS0zLjE0Ny0yLjI3LTMuMzM1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0E5REJGNiIgZD0iTTI0LjQ2MyAzNC45OTh2LTUuMTAxbC03LjIxLTQuMTMtMS40OCA0LjA0OXoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjODRDRkYyIiBkPSJNMjQuNDYzIDM0Ljk5OHYtNS4xMDFsNy4yMDctNC4xMyAxLjQ4MyA0LjA0OXoiLz4KICAgIDwvZz4KPC9zdmc+', - 'friendly_name': 'test-user Class', + : 'enum', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItMTIgLTEyIDcyIDcyIj4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZmlsbD0iIzFGNkVBMiIgZD0iTTI0LjQ2MiAxLjE1MWMtMy42OTUgMy43MTQtNy4zMjEgMTQuNjItOS4yMzYgMjAuOTEzLS44NC0xLjA2Mi0xLjc5OS0yLjA3Ni0zLjE1OC0zLjMyNi00LjgwNiAzLjUxNC03LjM1NyA3LjI1LTEwLjY0NiAxMS44MTYgOC45MTYgNy45MjYgMTEuMjMzIDkuMjU2IDIyLjk5NSAxNi4wMDVsLjA0NS0uMDI1aC4wMDFsLjA0NS4wMjVjMTEuNzYtNi43NDkgMTQuMDc5LTguMDggMjIuOTk0LTE2LjAwNS0zLjI4Ny00LjU2Ni01Ljg0MS04LjMwMi0xMC42NDUtMTEuODE2LTEuMzYxIDEuMjUtMi4zMTcgMi4yNjQtMy4xNTggMy4zMjYtMS45MTUtNi4yOTQtNS41NDMtMTcuMi05LjIzNi0yMC45MTNoLS4wMDF6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzI3OEFCRiIgZD0iTTI0LjQ2NCAzMi4xMDhsMy41NjEtMS4yNjVjNi4wNzUtLjYwNSA4LjQyNS0yLjI4MSA5LjQyNi0zLjQ5OGw2LjA1MyAyLjcwNy4wMDIuMDEzYS40NS40NSAwIDAgMS0uMTA1LjI4NiA0Ljk3IDQuOTcgMCAwIDEtLjMyLjMzYy0zLjQwNSAzLjMxNS0xOC4yMzcgMTEuOTgxLTE4LjYxNyAxMi4yMDJWMzIuMTA4eiIvPgogICAgICAgIDxwYXRoIGZpbGw9IiM1M0I0RTUiIGQ9Ik0zNi40MDYgMjMuMDQxYy4yMy0uMTg4LjI5Mi0uMzQuNjc0LS4zMzYgMS4xODMuMDY3IDUuMTY5IDUuMTc1IDYuMDY0IDYuNDYxLjE5NC4yNzguMzY2LjYxLjM2Ljg4NWwtNi4wNTMtMi43MDdjLjIzNi0uMzY3LjE5LS45Mi0uMzU1LTEuMjUyLS44MTgtLjUwMS0yLjUyOS45NDktMi45NTkuMjg0LS41OTktLjkyNyAyLjA0LTMuMTQ3IDIuMjctMy4zMzUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMkFBMENGIiBkPSJNMjMuNTkxIDcuNDg3Yy01LjM5IDE1LjQxOS04LjIyNyAyMy44MTctOC4yMjcgMjMuODE3bDkuMDk3IDQuNzZWNi44MzljLS4zNiAwLS43MTguMjE2LS44Ny42NDgiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMjc4QUJGIiBkPSJNMjUuMzMyIDcuNDg3Yy0uMTUyLS40MzItLjUxLS42NDgtLjg3LS42NDh2MjkuMjI1bDkuMDk3LTQuNzZzLTIuODM3LTguMzk4LTguMjI3LTIzLjgxNyIvPgogICAgICAgIDxwYXRoIGZpbGw9IiM0REIyRDYiIGQ9Ik0yNC40NjIgMzIuMTA4TDIwLjkgMzAuODQzYy02LjA3NS0uNjA1LTguMzQyLTIuMzUyLTkuNDI1LTMuNDk4TDUuNDIgMzAuMDUybC0uMDAyLjAxM2EuNDUuNDUgMCAwIDAgLjEwNi4yODZjLjA5LjEwNC4xOTcuMjE1LjMxOC4zMyAzLjQwNiAzLjMxNSAxOC4yMzggMTEuOTgxIDE4LjYxOSAxMi4yMDJWMzIuMTA4eiIvPgogICAgICAgIDxwYXRoIGZpbGw9IiM2QkM0RTkiIGQ9Ik0xMi41MTkgMjMuMDQxYy0uMjMtLjE4OC0uMjkyLS4zNC0uNjc0LS4zMzYtMS4xODMuMDY3LTUuMTY5IDUuMTc1LTYuMDYzIDYuNDYxLS4xOTQuMjc4LS4zNjcuNjEtLjM2MS44ODVsNi4wNTMtMi43MDdjLS4yMzYtLjM2Ny0uMTktLjkyLjM1Ni0xLjI1Mi44MTctLjUwMSAyLjUyOC45NDkgMi45NTguMjg0LjYtLjkyNy0yLjAzOS0zLjE0Ny0yLjI3LTMuMzM1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0E5REJGNiIgZD0iTTI0LjQ2MyAzNC45OTh2LTUuMTAxbC03LjIxLTQuMTMtMS40OCA0LjA0OXoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjODRDRkYyIiBkPSJNMjQuNDYzIDM0Ljk5OHYtNS4xMDFsNy4yMDctNC4xMyAxLjQ4MyA0LjA0OXoiLz4KICAgIDwvZz4KPC9zdmc+', + : 'test-user Class', : list([ 'warrior', 'rogue', @@ -834,9 +834,9 @@ 'buffs': 26, 'class': 0, 'equipment': 42, - 'friendly_name': 'test-user Constitution', + : 'test-user Constitution', 'level': 19, - 'unit_of_measurement': 'CON', + : 'CON', }), 'context': , 'entity_id': 'sensor.test_user_constitution', @@ -887,8 +887,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'blurb': 'My mind is a swirling miasma of scintillating thoughts and turgid ideas.', - 'entity_picture': 'https://pbs.twimg.com/profile_images/378800000771780608/a32e71fe6a64eba6773c20d289eddc8e.png', - 'friendly_name': 'test-user Display name', + : 'https://pbs.twimg.com/profile_images/378800000771780608/a32e71fe6a64eba6773c20d289eddc8e.png', + : 'test-user Display name', 'joined': datetime.date(2013, 12, 2), 'last_login': datetime.date(2025, 2, 1), 'total_logins': 241, @@ -945,9 +945,9 @@ 'Pandajunges': 2, 'Tigerjunges': 0, 'Wolfsjunges': 1, - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/Pet_Egg_Egg.png', - 'friendly_name': 'test-user Eggs', - 'unit_of_measurement': 'eggs', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/Pet_Egg_Egg.png', + : 'test-user Eggs', + : 'eggs', }), 'context': , 'entity_id': 'sensor.test_user_eggs', @@ -997,9 +997,9 @@ # name: test_sensors[sensor.test_user_experience-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': 'test-user Experience', - 'unit_of_measurement': 'XP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : 'test-user Experience', + : 'XP', }), 'context': , 'entity_id': 'sensor.test_user_experience', @@ -1052,9 +1052,9 @@ # name: test_sensors[sensor.test_user_gems-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_gem.png', - 'friendly_name': 'test-user Gems', - 'unit_of_measurement': 'gems', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_gem.png', + : 'test-user Gems', + : 'gems', }), 'context': , 'entity_id': 'sensor.test_user_gems', @@ -1107,9 +1107,9 @@ # name: test_sensors[sensor.test_user_gold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEyIiBmaWxsPSIjRkZBNjIzIi8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTYuMyAxNy43Yy0zLjEtMy4xLTMuMS04LjIgMC0xMS4zIDMuMS0zLjEgOC4yLTMuMSAxMS4zIDAiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE3LjcgNi4zYzMuMSAzLjEgMy4xIDguMiAwIDExLjMtMy4xIDMuMS04LjIgMy4xLTExLjMgMCIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0JGN0QxQSIgZD0iTTEyIDJDNi41IDIgMiA2LjUgMiAxMnM0LjUgMTAgMTAgMTAgMTAtNC41IDEwLTEwUzE3LjUgMiAxMiAyem0wIDE4Yy00LjQgMC04LTMuNi04LThzMy42LTggOC04IDggMy42IDggOC0zLjYgOC04IDh6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCRjdEMUEiIGQ9Ik0xMyA5djJoLTJWOUg5djZoMnYtMmgydjJoMlY5eiIgb3BhY2l0eT0iLjc1Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': 'test-user Gold', - 'unit_of_measurement': 'GP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEyIiBmaWxsPSIjRkZBNjIzIi8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTYuMyAxNy43Yy0zLjEtMy4xLTMuMS04LjIgMC0xMS4zIDMuMS0zLjEgOC4yLTMuMSAxMS4zIDAiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE3LjcgNi4zYzMuMSAzLjEgMy4xIDguMiAwIDExLjMtMy4xIDMuMS04LjIgMy4xLTExLjMgMCIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0JGN0QxQSIgZD0iTTEyIDJDNi41IDIgMiA2LjUgMiAxMnM0LjUgMTAgMTAgMTAgMTAtNC41IDEwLTEwUzE3LjUgMiAxMiAyem0wIDE4Yy00LjQgMC04LTMuNi04LThzMy42LTggOC04IDggMy42IDggOC0zLjYgOC04IDh6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCRjdEMUEiIGQ9Ik0xMyA5djJoLTJWOUg5djZoMnYtMmgydjJoMlY5eiIgb3BhY2l0eT0iLjc1Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : 'test-user Gold', + : 'GP', }), 'context': , 'entity_id': 'sensor.test_user_gold', @@ -1162,9 +1162,9 @@ 'Normales': 2, 'Weißes': 0, 'Wüstenfarbenes': 1, - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/Pet_HatchingPotion_RoyalPurple.png', - 'friendly_name': 'test-user Hatching potions', - 'unit_of_measurement': 'potions', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/Pet_HatchingPotion_RoyalPurple.png', + : 'test-user Hatching potions', + : 'potions', }), 'context': , 'entity_id': 'sensor.test_user_hatching_potions', @@ -1217,9 +1217,9 @@ # name: test_sensors[sensor.test_user_health-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': 'test-user Health', - 'unit_of_measurement': 'HP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : 'test-user Health', + : 'HP', }), 'context': , 'entity_id': 'sensor.test_user_health', @@ -1276,9 +1276,9 @@ 'buffs': 26, 'class': 0, 'equipment': 12, - 'friendly_name': 'test-user Intelligence', + : 'test-user Intelligence', 'level': 19, - 'unit_of_measurement': 'INT', + : 'INT', }), 'context': , 'entity_id': 'sensor.test_user_intelligence', @@ -1328,8 +1328,8 @@ # name: test_sensors[sensor.test_user_last_check_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'test-user Last check-in', + : 'timestamp', + : 'test-user Last check-in', }), 'context': , 'entity_id': 'sensor.test_user_last_check_in', @@ -1379,7 +1379,7 @@ # name: test_sensors[sensor.test_user_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Level', + : 'test-user Level', }), 'context': , 'entity_id': 'sensor.test_user_level', @@ -1432,9 +1432,9 @@ # name: test_sensors[sensor.test_user_mana-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', - 'friendly_name': 'test-user Mana', - 'unit_of_measurement': 'MP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', + : 'test-user Mana', + : 'MP', }), 'context': , 'entity_id': 'sensor.test_user_mana', @@ -1484,9 +1484,9 @@ # name: test_sensors[sensor.test_user_max_mana-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', - 'friendly_name': 'test-user Max. mana', - 'unit_of_measurement': 'MP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiMyOTk1Q0QiIGQ9Ik0yMiAxNWwtMTAgOS0xMC05TDEyIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iIzUwQjVFOSIgZD0iTTQuNiAxNC43bDcuNC0zdjkuNnoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjMUY3MDlBIiBkPSJNMTIgMTEuN2w3LjQgMy03LjQgNi42eiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDExLjdWMy42bDcuNCAxMS4xeiIgb3BhY2l0eT0iLjI1Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNiAxNC43TDEyIDMuNnY4LjF6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjIgMTQuM0wxMiA3LjJsNC44IDcuMS00LjggNC4zeiIgb3BhY2l0eT0iLjUiLz4KICAgIDwvZz4KPC9zdmc+', + : 'test-user Max. mana', + : 'MP', }), 'context': , 'entity_id': 'sensor.test_user_max_mana', @@ -1539,9 +1539,9 @@ # name: test_sensors[sensor.test_user_mystic_hourglasses-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/notif_subscriber_reward.png', - 'friendly_name': 'test-user Mystic hourglasses', - 'unit_of_measurement': '⧖', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/notif_subscriber_reward.png', + : 'test-user Mystic hourglasses', + : '⧖', }), 'context': , 'entity_id': 'sensor.test_user_mystic_hourglasses', @@ -1591,9 +1591,9 @@ # name: test_sensors[sensor.test_user_next_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': 'test-user Next level', - 'unit_of_measurement': 'XP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkE2MjMiIGQ9Ik0xNiAxNmw4LTQtOC00LTQtOC00IDgtOCA0IDggNCA0IDh6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1LTIuNUwxMiAxMnpNMTIgMTkuNWwtMi41LTVMMTIgMTJ6TTE5LjUgMTJsLTUgMi41TDEyIDEyek0xMiA0LjVsMi41IDVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTkuNSAxMmwtNS0yLjVMMTIgMTJ6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQkY3RDFBIiBkPSJNMTIgMTkuNWwyLjUtNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTQuNSAxMmw1IDIuNUwxMiAxMnpNMTIgNC41bC0yLjUgNUwxMiAxMnoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEwLjggMTMuMkw4LjUgMTJsMi4zLTEuMkwxMiA4LjVsMS4yIDIuMyAyLjMgMS4yLTIuMyAxLjItMS4yIDIuM3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : 'test-user Next level', + : 'XP', }), 'context': , 'entity_id': 'sensor.test_user_next_level', @@ -1646,9 +1646,9 @@ # name: test_sensors[sensor.test_user_pending_damage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSItMyAtMyAyMiAyMiI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTEwLjQ2NCAyLjkxN0w4LjIgNS4xOTd2Mi4wMmwyLjI2NC0yLjE3M1YyLjkxN3oiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMTYgLjMyKSI+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTYuMTMgOS4yMDRsMi4xMTEuOTM0Yy4xNzYuMDc4LjI5LjIzNS4zMzMuNDE1LjA3My4zMDQuMjk1IDEuMDEuMzEzIDEuMzg2LjAxLjIxLS4yMTQuMzU2LS40MTQuMjdsLTMuNTI5LTEuNjIzYS41ODIuNTgyIDAgMCAxLS4yNTQtLjI0NEwzIDYuOTU1Yy0uMDktLjE5Mi4wNjMtLjQwNy4yODEtLjM5Ny4zOTEuMDE3IDEuMTEyLjIxOCAxLjQ0NC4zLjE4Ni4wNDUuMzUxLjE1LjQzMi4zMTlsLjk3MyAyLjAyN3oiPjwvcGF0aD4KICAgICAgICA8cGF0aCBmaWxsPSIjODc4MTkwIiBkPSJNMS4wMjQgMTQuMTA3bC45MS44NzUgMi4zNjMtLjE3OS4xMjEtMS40OSAxLjM1Ni0xLjMgMi40NjcgMS4xMjYgMS44NDYtLjQ3Ny0uNzc0LTMuMTk2IDUuMTcxLTQuNjMzLjk5LTQuNTk2aC0uMDAyVi4yMzVsLTQuNzg2Ljk1TDUuODYgNi4xNWwtMy4zMy0uNzQzLS40OTcgMS43NyAxLjE3NCAyLjM3LTEuMzU1IDEuMy0xLjU1Mi4xMTgtLjE4NiAyLjI2Ny45MS44NzV6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTIuOTc2IDEzLjM2NmwtMS4xODItMS4xMzQgMi45MjMtMi44MDUgMS4xOCAxLjEzNHoiPjwvcGF0aD4KICAgICAgICA8cGF0aCBmaWxsPSIjRjA2MTY2IiBkPSJNMS4xMjYgMTIuODc0bC4wODUtMS4wMzUgMS4wNzgtLjA4MiAxLjE4MiAxLjEzNS0uMDg1IDEuMDM1LTEuMDc4LjA4MnoiPjwvcGF0aD4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTEuMzEyIDIuMDg4bC4xIDIuMDQ2IDIuNzAyLTIuNTk1Yy0uMDUtLjA0NS0yLjA4Ni4xOC0yLjgwMi41NSI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNFREVDRUUiIGQ9Ik0xMS4yNjIgMi4xMTNMNS41NTMgNy44NjJsMS40NjMuNDkyIDQuMzk2LTQuMjItLjEtMi4wNDYtLjA1LjAyNU01LjU1MyA3Ljg2MmwtLjA1LjA1Mi42MjIgMS4yOTQuODktLjg1NC0xLjQ2Mi0uNDkyeiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNFREVDRUUiIGQ9Ik0xMy41NDEgNC4yM2wtMi4xMy0uMDk2IDIuNzAzLTIuNTk0Yy4wNDYuMDQ4LS4xODkgMi4wMDMtLjU3MyAyLjY5Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0UxRTBFMyIgZD0iTTEzLjUxNiA0LjI3OGwtNS45ODkgNS40OC0uNTEyLTEuNDA0IDQuMzk2LTQuMjIgMi4xMy4wOTYtLjAyNS4wNDhNNy41MjcgOS43NThsLS4wNTQuMDQ4LTEuMzQ4LS41OTcuODktLjg1NC41MTIgMS40MDN6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0Q1QzhGRiIgZD0iTTIuMjg5IDExLjc1N2wtLjI1Ljg3OC0uODI5LS43OTZ6TTMuNDY5IDEyLjg5bC0uOTE0LjI0LjgyOC43OTV6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0JEQThGRiIgZD0iTTIuMjg5IDExLjc1N2wxLjE4MiAxLjEzNS0uOTE2LjIzNy0uNTE2LS40OTR6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0JEQThGRiIgZD0iTTEuMTI3IDEyLjg3NmwuOTE0LS4yNC0uODI4LS43OTZ6TTIuMzA3IDE0LjAwOGwuMjUtLjg3Ny44MjkuNzk2eiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNENUM4RkYiIGQ9Ik0xLjEyNyAxMi44NzZMMi4zMSAxNC4wMWwuMjQ3LS44OC0uNTE2LS40OTV6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0IzNjIxMyIgZD0iTTQuOSAxMS41MjNsLTEuMTg0LTEuMTM3LjcxNS0uNjg1IDEuMTg0IDEuMTM2eiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNFMzhGM0QiIGQ9Ik00LjE4NyAxMi4yMDhsLTEuMTg0LTEuMTM2LjcxNC0uNjg1TDQuOSAxMS41MjN6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0IzNjIxMyIgZD0iTTMuNDczIDEyLjg5NGwtMS4xODQtMS4xMzcuNzE0LS42ODUgMS4xODQgMS4xMzZ6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0MzQzBDNyIgZD0iTTYuMTMyIDkuMjA1bC0uOTc0LTIuMDI3YS41MjYuNTI2IDAgMCAwLS4xNTMtLjE4NS43MTguNzE4IDAgMCAwLS4yNzktLjEzNWMtLjMzMS0uMDgtMS4wNTItLjI4Mi0xLjQ0My0uM2EuMjk1LjI5NSAwIDAgMC0uMjQyLjEwOEw0LjQ2IDcuODI5IDUuNTAzIDkuODFsLjYzLS42MDVoLS4wMDF6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0E1QTFBQyIgZD0iTTQuNDYgNy44MjlMMy4wNCA2LjY2NmEuMjcuMjcgMCAwIDAtLjAzOS4yOWwxLjY5IDMuMzg3Yy4wMjkuMDUzLjA2Ni4xLjExLjE0MmwuNzAyLS42NzVMNC40NiA3LjgzeiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNDM0MwQzciIGQ9Ik04Ljg5MSAxMS45NGMtLjAxOC0uMzc1LS4yMjgtMS4wNjgtLjMxMi0xLjM4NWEuNjY4LjY2OCAwIDAgMC0uMTQtLjI2OC41NC41NCAwIDAgMC0uMTkzLS4xNDdsLTIuMTExLS45MzV2LS4wMDJsLS42MzEuNjA2IDIuMDY0IDEuMDAxIDEuMjExIDEuMzYzYS4yNzUuMjc1IDAgMCAwIC4xMTItLjIzMyI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNBNUExQUMiIGQ9Ik03LjU2OCAxMC44MWwxLjIxMSAxLjM2M2EuMy4zIDAgMCAxLS4zMDEuMDM3bC0zLjUzLTEuNjIyYS41ODguNTg4IDAgMCAxLS4xNDctLjEwNWwuNzAzLS42NzQgMi4wNjQgMS4wMDF6Ij48L3BhdGg+CiAgICAgICAgPG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIj48L3VzZT4KICAgICAgICA8L21hc2s+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTkuODI0IDcuNDVoLjMyOVYxLjg2NWgtLjMyOXpNOC4yIDguODYyaC45NzRWMy4yNzdIOC4yeiIgbWFzaz0idXJsKCNiKSI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4=', - 'friendly_name': 'test-user Pending damage', - 'unit_of_measurement': 'damage', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSItMyAtMyAyMiAyMiI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTEwLjQ2NCAyLjkxN0w4LjIgNS4xOTd2Mi4wMmwyLjI2NC0yLjE3M1YyLjkxN3oiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMTYgLjMyKSI+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTYuMTMgOS4yMDRsMi4xMTEuOTM0Yy4xNzYuMDc4LjI5LjIzNS4zMzMuNDE1LjA3My4zMDQuMjk1IDEuMDEuMzEzIDEuMzg2LjAxLjIxLS4yMTQuMzU2LS40MTQuMjdsLTMuNTI5LTEuNjIzYS41ODIuNTgyIDAgMCAxLS4yNTQtLjI0NEwzIDYuOTU1Yy0uMDktLjE5Mi4wNjMtLjQwNy4yODEtLjM5Ny4zOTEuMDE3IDEuMTEyLjIxOCAxLjQ0NC4zLjE4Ni4wNDUuMzUxLjE1LjQzMi4zMTlsLjk3MyAyLjAyN3oiPjwvcGF0aD4KICAgICAgICA8cGF0aCBmaWxsPSIjODc4MTkwIiBkPSJNMS4wMjQgMTQuMTA3bC45MS44NzUgMi4zNjMtLjE3OS4xMjEtMS40OSAxLjM1Ni0xLjMgMi40NjcgMS4xMjYgMS44NDYtLjQ3Ny0uNzc0LTMuMTk2IDUuMTcxLTQuNjMzLjk5LTQuNTk2aC0uMDAyVi4yMzVsLTQuNzg2Ljk1TDUuODYgNi4xNWwtMy4zMy0uNzQzLS40OTcgMS43NyAxLjE3NCAyLjM3LTEuMzU1IDEuMy0xLjU1Mi4xMTgtLjE4NiAyLjI2Ny45MS44NzV6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0YwNjE2NiIgZD0iTTIuOTc2IDEzLjM2NmwtMS4xODItMS4xMzQgMi45MjMtMi44MDUgMS4xOCAxLjEzNHoiPjwvcGF0aD4KICAgICAgICA8cGF0aCBmaWxsPSIjRjA2MTY2IiBkPSJNMS4xMjYgMTIuODc0bC4wODUtMS4wMzUgMS4wNzgtLjA4MiAxLjE4MiAxLjEzNS0uMDg1IDEuMDM1LTEuMDc4LjA4MnoiPjwvcGF0aD4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTEuMzEyIDIuMDg4bC4xIDIuMDQ2IDIuNzAyLTIuNTk1Yy0uMDUtLjA0NS0yLjA4Ni4xOC0yLjgwMi41NSI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNFREVDRUUiIGQ9Ik0xMS4yNjIgMi4xMTNMNS41NTMgNy44NjJsMS40NjMuNDkyIDQuMzk2LTQuMjItLjEtMi4wNDYtLjA1LjAyNU01LjU1MyA3Ljg2MmwtLjA1LjA1Mi42MjIgMS4yOTQuODktLjg1NC0xLjQ2Mi0uNDkyeiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNFREVDRUUiIGQ9Ik0xMy41NDEgNC4yM2wtMi4xMy0uMDk2IDIuNzAzLTIuNTk0Yy4wNDYuMDQ4LS4xODkgMi4wMDMtLjU3MyAyLjY5Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0UxRTBFMyIgZD0iTTEzLjUxNiA0LjI3OGwtNS45ODkgNS40OC0uNTEyLTEuNDA0IDQuMzk2LTQuMjIgMi4xMy4wOTYtLjAyNS4wNDhNNy41MjcgOS43NThsLS4wNTQuMDQ4LTEuMzQ4LS41OTcuODktLjg1NC41MTIgMS40MDN6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0Q1QzhGRiIgZD0iTTIuMjg5IDExLjc1N2wtLjI1Ljg3OC0uODI5LS43OTZ6TTMuNDY5IDEyLjg5bC0uOTE0LjI0LjgyOC43OTV6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0JEQThGRiIgZD0iTTIuMjg5IDExLjc1N2wxLjE4MiAxLjEzNS0uOTE2LjIzNy0uNTE2LS40OTR6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0JEQThGRiIgZD0iTTEuMTI3IDEyLjg3NmwuOTE0LS4yNC0uODI4LS43OTZ6TTIuMzA3IDE0LjAwOGwuMjUtLjg3Ny44MjkuNzk2eiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNENUM4RkYiIGQ9Ik0xLjEyNyAxMi44NzZMMi4zMSAxNC4wMWwuMjQ3LS44OC0uNTE2LS40OTV6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0IzNjIxMyIgZD0iTTQuOSAxMS41MjNsLTEuMTg0LTEuMTM3LjcxNS0uNjg1IDEuMTg0IDEuMTM2eiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNFMzhGM0QiIGQ9Ik00LjE4NyAxMi4yMDhsLTEuMTg0LTEuMTM2LjcxNC0uNjg1TDQuOSAxMS41MjN6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0IzNjIxMyIgZD0iTTMuNDczIDEyLjg5NGwtMS4xODQtMS4xMzcuNzE0LS42ODUgMS4xODQgMS4xMzZ6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0MzQzBDNyIgZD0iTTYuMTMyIDkuMjA1bC0uOTc0LTIuMDI3YS41MjYuNTI2IDAgMCAwLS4xNTMtLjE4NS43MTguNzE4IDAgMCAwLS4yNzktLjEzNWMtLjMzMS0uMDgtMS4wNTItLjI4Mi0xLjQ0My0uM2EuMjk1LjI5NSAwIDAgMC0uMjQyLjEwOEw0LjQ2IDcuODI5IDUuNTAzIDkuODFsLjYzLS42MDVoLS4wMDF6Ij48L3BhdGg+CiAgICAgICAgPHBhdGggZmlsbD0iI0E1QTFBQyIgZD0iTTQuNDYgNy44MjlMMy4wNCA2LjY2NmEuMjcuMjcgMCAwIDAtLjAzOS4yOWwxLjY5IDMuMzg3Yy4wMjkuMDUzLjA2Ni4xLjExLjE0MmwuNzAyLS42NzVMNC40NiA3LjgzeiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNDM0MwQzciIGQ9Ik04Ljg5MSAxMS45NGMtLjAxOC0uMzc1LS4yMjgtMS4wNjgtLjMxMi0xLjM4NWEuNjY4LjY2OCAwIDAgMC0uMTQtLjI2OC41NC41NCAwIDAgMC0uMTkzLS4xNDdsLTIuMTExLS45MzV2LS4wMDJsLS42MzEuNjA2IDIuMDY0IDEuMDAxIDEuMjExIDEuMzYzYS4yNzUuMjc1IDAgMCAwIC4xMTItLjIzMyI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IiNBNUExQUMiIGQ9Ik03LjU2OCAxMC44MWwxLjIxMSAxLjM2M2EuMy4zIDAgMCAxLS4zMDEuMDM3bC0zLjUzLTEuNjIyYS41ODguNTg4IDAgMCAxLS4xNDctLjEwNWwuNzAzLS42NzQgMi4wNjQgMS4wMDF6Ij48L3BhdGg+CiAgICAgICAgPG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIj48L3VzZT4KICAgICAgICA8L21hc2s+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTkuODI0IDcuNDVoLjMyOVYxLjg2NWgtLjMyOXpNOC4yIDguODYyaC45NzRWMy4yNzdIOC4yeiIgbWFzaz0idXJsKCNiKSI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4=', + : 'test-user Pending damage', + : 'damage', }), 'context': , 'entity_id': 'sensor.test_user_pending_damage', @@ -1698,8 +1698,8 @@ # name: test_sensors[sensor.test_user_pending_quest_items-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Pending quest items', - 'unit_of_measurement': 'items', + : 'test-user Pending quest items', + : 'items', }), 'context': , 'entity_id': 'sensor.test_user_pending_quest_items', @@ -1756,9 +1756,9 @@ 'buffs': 26, 'class': 0, 'equipment': 15, - 'friendly_name': 'test-user Perception', + : 'test-user Perception', 'level': 19, - 'unit_of_measurement': 'PER', + : 'PER', }), 'context': , 'entity_id': 'sensor.test_user_perception', @@ -1811,9 +1811,9 @@ 'Fleisch': 0, 'Kartoffel': 2, 'Milch': 1, - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNTgiIHZpZXdCb3g9IjAgMCA2MCA1OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CjxyZWN0IHg9IjM4IiB5PSI2IiB3aWR0aD0iMjIiIGhlaWdodD0iMjYiIGZpbGw9InVybCgjcGF0dGVybjBfMTMyN18yNTYpIj48L3JlY3Q+CjxyZWN0IHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiIgZmlsbD0idXJsKCNwYXR0ZXJuMV8xMzI3XzI1NikiPjwvcmVjdD4KPHJlY3QgeD0iOCIgeT0iMzYiIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMiIgZmlsbD0idXJsKCNwYXR0ZXJuMl8xMzI3XzI1NikiPjwvcmVjdD4KPGRlZnM+CjxwYXR0ZXJuIGlkPSJwYXR0ZXJuMF8xMzI3XzI1NiIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPgo8dXNlIHhsaW5rOmhyZWY9IiNpbWFnZTBfMTMyN18yNTYiIHRyYW5zZm9ybT0ic2NhbGUoMC4wNDU0NTQ1IDAuMDM4NDYxNSkiPjwvdXNlPgo8L3BhdHRlcm4+CjxwYXR0ZXJuIGlkPSJwYXR0ZXJuMV8xMzI3XzI1NiIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPgo8dXNlIHhsaW5rOmhyZWY9IiNpbWFnZTFfMTMyN18yNTYiIHRyYW5zZm9ybT0ic2NhbGUoMC4wMzg0NjE1KSI+PC91c2U+CjwvcGF0dGVybj4KPHBhdHRlcm4gaWQ9InBhdHRlcm4yXzEzMjdfMjU2IiBwYXR0ZXJuQ29udGVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgd2lkdGg9IjEiIGhlaWdodD0iMSI+Cjx1c2UgeGxpbms6aHJlZj0iI2ltYWdlMl8xMzI3XzI1NiIgdHJhbnNmb3JtPSJzY2FsZSgwLjAzMzMzMzMgMC4wNDU0NTQ1KSI+PC91c2U+CjwvcGF0dGVybj4KPGltYWdlIGlkPSJpbWFnZTBfMTMyN18yNTYiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyNiIgeGxpbms6aHJlZj0iZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFCWUFBQUFhQ0FZQUFBQ3pkcXhBQUFBQUFYTlNSMElBcnM0YzZRQUFBUWxKUkVGVVNBMjkwazFxd2xBVXhmRnNwK3NvWFlkem9lQWFXcUZiY1N4MTRMVFFTYnVBanJ1TFZnZFBudkFyY3NJalJsT0Z5OG45K3Q5alNOY04vQjd1N3N0cERJeWYzejZGMXVmek4yTXlRZnZmOTFMalo3czZSdlpqdlozbTR0Vmd3TjM2cTlUZ2tLclQ3K2VQVXNOZTA2b0JpNEJVblE2Q0UyaUJBcVhxVTV3LzV3b1dEVkwxVkgySzB3TWJBSGliZlpZYTZpMDFkenN3Nnk3bTUrVWZjTXhoUzNGd080WEp3SUNjNWVmRmFlcWc0NXVCMDVtODVWQ2R3ZDY3OVNxQVVnRmEyZ1FEV1RRb1Q4Mit2T2Q0Y3JBTEx0S3N6eDhYcFVhcmI3Nm5GcWdCK2NWZ29GVGdwK1ZMcVNIUHVkRTUwTCtCMTYrYlVzT2gwUTV6QVdoeXNFTU95Q2ZUc2VBRFNTQzNudTVpRmFjQUFBQUFTVVZPUks1Q1lJST0iPjwvaW1hZ2U+CjxpbWFnZSBpZD0iaW1hZ2UxXzEzMjdfMjU2IiB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQm9BQUFBYUNBWUFBQUNwU2t6T0FBQUFBWE5TUjBJQXJzNGM2UUFBQVNsSlJFRlVTQTNGMURGT3cwQVFCVkRUUmhTcDZSSFVhVkxRY0FXT0VDa05SNkhpUHRSY0psMUtxQlp0cEVmeGpiV3J4QTZXUmw4em52bC8vcTdsWVlqbmJuTmIvZ3B0K2U3NWZWMXFxT3Ryb29GRWcxay9XeWdKNzNjM3BRWUIrY1VDL3k2VVRqaDYyMjVMamQwd25NS2kzWmhITlpzUVlvaFl2djk0TERYVU9UbSt2cFFhWHc5UHAxQ2ZkSVFRSXBSZkxJUVFPbnZFTU92Nk9XazZNd0NUY0hZaFJ3UlR3QUtKN3VUNzgxQnFjS2orZTFlY0VJQ3pDeUdtdkZtdFNnMmJFN1JwYnE3UCs4bTd1cG9RSjVBalo1d2IyeHltZzNROCtjZTR1cENOYzhPV0EzT3c2VWpqNGtMdWlDQnNDYWZqcHFQRmhhYSt2bDVoanZYN3VQQ09VSU1CNkFnaDRzejE0eGtKWkVFamRPYUlXbWd1ZVVlNVJyaVlVQ29UN01XYzc4NTdCZlFoL2dGQ2FOUWFobDJ1M2dBQUFBQkpSVTVFcmtKZ2dnPT0iPjwvaW1hZ2U+CjxpbWFnZSBpZD0iaW1hZ2UyXzEzMjdfMjU2IiB3aWR0aD0iMzAiIGhlaWdodD0iMjIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQjRBQUFBV0NBWUFBQURYWXl6UEFBQUFBWE5TUjBJQXJzNGM2UUFBQVJSSlJFRlVTQTNGMDhGdEFqRVVCRkNhZ0FZU0tkM1FBc1VnY1VrRHFTTzMxSkJqTHJuU0JsSms1TU9EMVdndDdSbzVJSDJOL2NlZStiUHNiamFEZjY4dmIyVmFnKzN1OGxQVHVyNHpLMWNwWko4eStoK0g3MUxMUHM4dDNoTklUQUY4dHpFQitQbHpLZFA2UGYrVld2akUwLzZyMUZvOVFBcE5UZXQ2dURIRDQvdTV6Qlhlb0ptME96SGhPZFBhd3o5c1RJQmdHbnJFeWV2dnR0dFNpMDVpdm95M3ZZTXBiQUFHeWVzL2JFeklmOFlJdGdZeCtDM0owb1dMdzR3WkpIcFVra2tzb1g0aW5sNHpxQU9KLzJic080TVNHa2d5aWZCUTMvbG1Vb1NERENGQi9IRGpOR1FNRFFDOWZIZ29XQk1kYkNYRlE0YXcyOWhFaEExZ2o0ZjZpZmpWU09ocHhnWllQWG52Qllhd1YyZnB2U3R4R0Z5dUlYV3NXUUFBQUFCSlJVNUVya0pnZ2c9PSI+PC9pbWFnZT4KPC9kZWZzPgo8L3N2Zz4=', - 'friendly_name': 'test-user Pet food', - 'unit_of_measurement': 'foods', + : 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNTgiIHZpZXdCb3g9IjAgMCA2MCA1OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CjxyZWN0IHg9IjM4IiB5PSI2IiB3aWR0aD0iMjIiIGhlaWdodD0iMjYiIGZpbGw9InVybCgjcGF0dGVybjBfMTMyN18yNTYpIj48L3JlY3Q+CjxyZWN0IHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiIgZmlsbD0idXJsKCNwYXR0ZXJuMV8xMzI3XzI1NikiPjwvcmVjdD4KPHJlY3QgeD0iOCIgeT0iMzYiIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMiIgZmlsbD0idXJsKCNwYXR0ZXJuMl8xMzI3XzI1NikiPjwvcmVjdD4KPGRlZnM+CjxwYXR0ZXJuIGlkPSJwYXR0ZXJuMF8xMzI3XzI1NiIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPgo8dXNlIHhsaW5rOmhyZWY9IiNpbWFnZTBfMTMyN18yNTYiIHRyYW5zZm9ybT0ic2NhbGUoMC4wNDU0NTQ1IDAuMDM4NDYxNSkiPjwvdXNlPgo8L3BhdHRlcm4+CjxwYXR0ZXJuIGlkPSJwYXR0ZXJuMV8xMzI3XzI1NiIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPgo8dXNlIHhsaW5rOmhyZWY9IiNpbWFnZTFfMTMyN18yNTYiIHRyYW5zZm9ybT0ic2NhbGUoMC4wMzg0NjE1KSI+PC91c2U+CjwvcGF0dGVybj4KPHBhdHRlcm4gaWQ9InBhdHRlcm4yXzEzMjdfMjU2IiBwYXR0ZXJuQ29udGVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgd2lkdGg9IjEiIGhlaWdodD0iMSI+Cjx1c2UgeGxpbms6aHJlZj0iI2ltYWdlMl8xMzI3XzI1NiIgdHJhbnNmb3JtPSJzY2FsZSgwLjAzMzMzMzMgMC4wNDU0NTQ1KSI+PC91c2U+CjwvcGF0dGVybj4KPGltYWdlIGlkPSJpbWFnZTBfMTMyN18yNTYiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyNiIgeGxpbms6aHJlZj0iZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFCWUFBQUFhQ0FZQUFBQ3pkcXhBQUFBQUFYTlNSMElBcnM0YzZRQUFBUWxKUkVGVVNBMjkwazFxd2xBVXhmRnNwK3NvWFlkem9lQWFXcUZiY1N4MTRMVFFTYnVBanJ1TFZnZFBudkFyY3NJalJsT0Z5OG45K3Q5alNOY04vQjd1N3N0cERJeWYzejZGMXVmek4yTXlRZnZmOTFMalo3czZSdlpqdlozbTR0Vmd3TjM2cTlUZ2tLclQ3K2VQVXNOZTA2b0JpNEJVblE2Q0UyaUJBcVhxVTV3LzV3b1dEVkwxVkgySzB3TWJBSGliZlpZYTZpMDFkenN3Nnk3bTUrVWZjTXhoUzNGd080WEp3SUNjNWVmRmFlcWc0NXVCMDVtODVWQ2R3ZDY3OVNxQVVnRmEyZ1FEV1RRb1Q4Mit2T2Q0Y3JBTEx0S3N6eDhYcFVhcmI3Nm5GcWdCK2NWZ29GVGdwK1ZMcVNIUHVkRTUwTCtCMTYrYlVzT2gwUTV6QVdoeXNFTU95Q2ZUc2VBRFNTQzNudTVpRmFjQUFBQUFTVVZPUks1Q1lJST0iPjwvaW1hZ2U+CjxpbWFnZSBpZD0iaW1hZ2UxXzEzMjdfMjU2IiB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQm9BQUFBYUNBWUFBQUNwU2t6T0FBQUFBWE5TUjBJQXJzNGM2UUFBQVNsSlJFRlVTQTNGMURGT3cwQVFCVkRUUmhTcDZSSFVhVkxRY0FXT0VDa05SNkhpUHRSY0psMUtxQlp0cEVmeGpiV3J4QTZXUmw4em52bC8vcTdsWVlqbmJuTmIvZ3B0K2U3NWZWMXFxT3Ryb29GRWcxay9XeWdKNzNjM3BRWUIrY1VDL3k2VVRqaDYyMjVMamQwd25NS2kzWmhITlpzUVlvaFl2djk0TERYVU9UbSt2cFFhWHc5UHAxQ2ZkSVFRSXBSZkxJUVFPbnZFTU92Nk9XazZNd0NUY0hZaFJ3UlR3QUtKN3VUNzgxQnFjS2orZTFlY0VJQ3pDeUdtdkZtdFNnMmJFN1JwYnE3UCs4bTd1cG9RSjVBalo1d2IyeHltZzNROCtjZTR1cENOYzhPV0EzT3c2VWpqNGtMdWlDQnNDYWZqcHFQRmhhYSt2bDVoanZYN3VQQ09VSU1CNkFnaDRzejE0eGtKWkVFamRPYUlXbWd1ZVVlNVJyaVlVQ29UN01XYzc4NTdCZlFoL2dGQ2FOUWFobDJ1M2dBQUFBQkpSVTVFcmtKZ2dnPT0iPjwvaW1hZ2U+CjxpbWFnZSBpZD0iaW1hZ2UyXzEzMjdfMjU2IiB3aWR0aD0iMzAiIGhlaWdodD0iMjIiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQjRBQUFBV0NBWUFBQURYWXl6UEFBQUFBWE5TUjBJQXJzNGM2UUFBQVJSSlJFRlVTQTNGMDhGdEFqRVVCRkNhZ0FZU0tkM1FBc1VnY1VrRHFTTzMxSkJqTHJuU0JsSms1TU9EMVdndDdSbzVJSDJOL2NlZStiUHNiamFEZjY4dmIyVmFnKzN1OGxQVHVyNHpLMWNwWko4eStoK0g3MUxMUHM4dDNoTklUQUY4dHpFQitQbHpLZFA2UGYrVld2akUwLzZyMUZvOVFBcE5UZXQ2dURIRDQvdTV6Qlhlb0ptME96SGhPZFBhd3o5c1RJQmdHbnJFeWV2dnR0dFNpMDVpdm95M3ZZTXBiQUFHeWVzL2JFeklmOFlJdGdZeCtDM0owb1dMdzR3WkpIcFVra2tzb1g0aW5sNHpxQU9KLzJic080TVNHa2d5aWZCUTMvbG1Vb1NERENGQi9IRGpOR1FNRFFDOWZIZ29XQk1kYkNYRlE0YXcyOWhFaEExZ2o0ZjZpZmpWU09ocHhnWllQWG52Qllhd1YyZnB2U3R4R0Z5dUlYV3NXUUFBQUFCSlJVNUVya0pnZ2c9PSI+PC9pbWFnZT4KPC9kZWZzPgo8L3N2Zz4=', + : 'test-user Pet food', + : 'foods', }), 'context': , 'entity_id': 'sensor.test_user_pet_food', @@ -1867,9 +1867,9 @@ 'Der Basi-List': 0, 'Die goldene Ritterin, Teil 1: Ein ernstes Gespräch': 0, 'Die ungezähmten Staubmäuse': 1, - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/inventory_quest_scroll_dustbunnies.png', - 'friendly_name': 'test-user Quest scrolls', - 'unit_of_measurement': 'scrolls', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/inventory_quest_scroll_dustbunnies.png', + : 'test-user Quest scrolls', + : 'scrolls', }), 'context': , 'entity_id': 'sensor.test_user_quest_scrolls', @@ -1922,9 +1922,9 @@ # name: test_sensors[sensor.test_user_s_party_boss_health-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': "test-user's Party Boss health", - 'unit_of_measurement': 'HP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : "test-user's Party Boss health", + : 'HP', }), 'context': , 'entity_id': 'sensor.test_user_s_party_boss_health', @@ -1977,9 +1977,9 @@ # name: test_sensors[sensor.test_user_s_party_boss_health_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', - 'friendly_name': "test-user's Party Boss health remaining", - 'unit_of_measurement': 'HP', + : 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSItNiAtNiAzNiAzNiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiNGNzRFNTIiIGQ9Ik0yIDQuNUw2LjE2NyAyIDEyIDUuMTY3IDE3LjgzMyAyIDIyIDQuNVYxMmwtNC4xNjcgNS44MzNMMTIgMjJsLTUuODMzLTQuMTY3TDIgMTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGNjE2NSIgZD0iTTcuMzMzIDE2LjY2N0wzLjY2NyAxMS41VjUuNDE3bDIuNS0xLjVMMTIgNy4wODNsNS44MzMtMy4xNjYgMi41IDEuNVYxMS41bC0zLjY2NiA1LjE2N0wxMiAxOS45MTd6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w0LjY2NyAyLjU4NEwxMiAxOS45MTd6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsLTQuNjY3IDIuNTg0TDEyIDE5LjkxN3oiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik03LjMzMyAxNi42NjdMMy42NjcgMTEuNSAxMiAxNC4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjQjUyNDI4IiBkPSJNMTYuNjY3IDE2LjY2N2wzLjY2Ni01LjE2N0wxMiAxNC4wODN6IiBvcGFjaXR5PSIuNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNsNS44MzMtMTAuMTY2IDIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii4zNSIvPgogICAgICAgIDxwYXRoIGZpbGw9IiNCNTI0MjgiIGQ9Ik0xMiAxNC4wODNMNi4xNjcgMy45MTdsLTIuNSAxLjVWMTEuNXoiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M0w2LjE2NyAzLjkxNyAxMiA3LjA4M3oiIG9wYWNpdHk9Ii41Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTEyIDE0LjA4M2w1LjgzMy0xMC4xNjZMMTIgNy4wODN6IiBvcGFjaXR5PSIuMjUiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNOS4xNjcgMTQuODMzbC0zLTQuMTY2VjYuODMzaC4wODNMMTIgOS45MTdsNS43NS0zLjA4NGguMDgzdjMuODM0bC0zIDQuMTY2TDEyIDE2LjkxN3oiIG9wYWNpdHk9Ii41Ii8+CiAgICA8L2c+Cjwvc3ZnPg==', + : "test-user's Party Boss health remaining", + : 'HP', }), 'context': , 'entity_id': 'sensor.test_user_s_party_boss_health_remaining', @@ -2032,9 +2032,9 @@ # name: test_sensors[sensor.test_user_s_party_boss_rage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSItMiAtMiAxOCAyMCI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyNENDOEYiIGQ9Ik0wIDZMNS44MzMgMCAxMS42NjcgNiA1LjgzMyAxNnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzI0Q0M4RiIgZD0iTTAgNkw1LjgzMyAwIDExLjY2NyA2IDUuODMzIDE2eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTAuMTUgNi4yTDUuODMzIDUuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuMjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDUuMkwxLjUxNyA2LjIgNS44MzMgMS44eiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzVBRTRCMiIgZD0iTTUuODMzIDUuMkw1LjgzMyAxMy42IDEuNTE3IDYuMnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzFCOTk2QiIgZD0iTTEwLjE1IDYuMkw1LjgzMyAxMy42IDUuODMzIDUuMnoiIG9wYWNpdHk9Ii4zNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRjQ3ODI1IiBkPSJNMTEuNjY3IDZMNS44MzMgMCAwIDYgMS4xNjcgOCAwIDEwIDUuODMzIDE2IDExLjY2NyAxMCAxMC41IDh6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgNS4yIDUuODMzIDEuOHoiIG9wYWNpdHk9Ii4yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDEuNTE3IDYuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDUuODMzIDEzLjYgNC42OTkgMTEuNjUzIDEuNTE3IDYuMnpNNS44MzMgMTAuOEw1LjgzMyAyLjQgNi45NjggNC4zNDcgMTAuMTUgOS44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNCNDU5MUIiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgMTMuNiA1LjgzMyA1LjJ6TTEuNTE3IDkuOEw1LjgzMyAxMC44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuMzUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDEwLjhMMTAuMTUgOS44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMS41MTcgOS44TDUuODMzIDIuNCA1LjgzMyAxMC44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0zLjA2MyA5LjUzM0wzLjk3MyA4IDMuMDYzIDYuNDY3IDUuODMzIDMuNjY3IDguNjA0IDYuNDY3IDcuNjk0IDggOC42MDQgOS41MzMgNS44MzMgMTIuMzMzeiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PC9nPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4=', - 'friendly_name': "test-user's Party Boss rage", - 'unit_of_measurement': 'rage', + : 'data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSItMiAtMiAxOCAyMCI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyNENDOEYiIGQ9Ik0wIDZMNS44MzMgMCAxMS42NjcgNiA1LjgzMyAxNnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzI0Q0M4RiIgZD0iTTAgNkw1LjgzMyAwIDExLjY2NyA2IDUuODMzIDE2eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTAuMTUgNi4yTDUuODMzIDUuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuMjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDUuMkwxLjUxNyA2LjIgNS44MzMgMS44eiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzVBRTRCMiIgZD0iTTUuODMzIDUuMkw1LjgzMyAxMy42IDEuNTE3IDYuMnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzFCOTk2QiIgZD0iTTEwLjE1IDYuMkw1LjgzMyAxMy42IDUuODMzIDUuMnoiIG9wYWNpdHk9Ii4zNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRjQ3ODI1IiBkPSJNMTEuNjY3IDZMNS44MzMgMCAwIDYgMS4xNjcgOCAwIDEwIDUuODMzIDE2IDExLjY2NyAxMCAxMC41IDh6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgNS4yIDUuODMzIDEuOHoiIG9wYWNpdHk9Ii4yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDEuNTE3IDYuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDUuODMzIDEzLjYgNC42OTkgMTEuNjUzIDEuNTE3IDYuMnpNNS44MzMgMTAuOEw1LjgzMyAyLjQgNi45NjggNC4zNDcgMTAuMTUgOS44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNCNDU5MUIiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgMTMuNiA1LjgzMyA1LjJ6TTEuNTE3IDkuOEw1LjgzMyAxMC44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuMzUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDEwLjhMMTAuMTUgOS44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMS41MTcgOS44TDUuODMzIDIuNCA1LjgzMyAxMC44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0zLjA2MyA5LjUzM0wzLjk3MyA4IDMuMDYzIDYuNDY3IDUuODMzIDMuNjY3IDguNjA0IDYuNDY3IDcuNjk0IDggOC42MDQgOS41MzMgNS44MzMgMTIuMzMzeiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PC9nPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4=', + : "test-user's Party Boss rage", + : 'rage', }), 'context': , 'entity_id': 'sensor.test_user_s_party_boss_rage', @@ -2088,10 +2088,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'effect': 'skill effect', - 'entity_picture': 'data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSItMiAtMiAxOCAyMCI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyNENDOEYiIGQ9Ik0wIDZMNS44MzMgMCAxMS42NjcgNiA1LjgzMyAxNnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzI0Q0M4RiIgZD0iTTAgNkw1LjgzMyAwIDExLjY2NyA2IDUuODMzIDE2eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTAuMTUgNi4yTDUuODMzIDUuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuMjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDUuMkwxLjUxNyA2LjIgNS44MzMgMS44eiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzVBRTRCMiIgZD0iTTUuODMzIDUuMkw1LjgzMyAxMy42IDEuNTE3IDYuMnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzFCOTk2QiIgZD0iTTEwLjE1IDYuMkw1LjgzMyAxMy42IDUuODMzIDUuMnoiIG9wYWNpdHk9Ii4zNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRjQ3ODI1IiBkPSJNMTEuNjY3IDZMNS44MzMgMCAwIDYgMS4xNjcgOCAwIDEwIDUuODMzIDE2IDExLjY2NyAxMCAxMC41IDh6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgNS4yIDUuODMzIDEuOHoiIG9wYWNpdHk9Ii4yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDEuNTE3IDYuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDUuODMzIDEzLjYgNC42OTkgMTEuNjUzIDEuNTE3IDYuMnpNNS44MzMgMTAuOEw1LjgzMyAyLjQgNi45NjggNC4zNDcgMTAuMTUgOS44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNCNDU5MUIiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgMTMuNiA1LjgzMyA1LjJ6TTEuNTE3IDkuOEw1LjgzMyAxMC44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuMzUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDEwLjhMMTAuMTUgOS44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMS41MTcgOS44TDUuODMzIDIuNCA1LjgzMyAxMC44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0zLjA2MyA5LjUzM0wzLjk3MyA4IDMuMDYzIDYuNDY3IDUuODMzIDMuNjY3IDguNjA0IDYuNDY3IDcuNjk0IDggOC42MDQgOS41MzMgNS44MzMgMTIuMzMzeiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PC9nPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4=', - 'friendly_name': "test-user's Party Boss rage limit break", + : 'data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSItMiAtMiAxOCAyMCI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyNENDOEYiIGQ9Ik0wIDZMNS44MzMgMCAxMS42NjcgNiA1LjgzMyAxNnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzI0Q0M4RiIgZD0iTTAgNkw1LjgzMyAwIDExLjY2NyA2IDUuODMzIDE2eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTAuMTUgNi4yTDUuODMzIDUuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuMjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDUuMkwxLjUxNyA2LjIgNS44MzMgMS44eiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzVBRTRCMiIgZD0iTTUuODMzIDUuMkw1LjgzMyAxMy42IDEuNTE3IDYuMnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iIzFCOTk2QiIgZD0iTTEwLjE1IDYuMkw1LjgzMyAxMy42IDUuODMzIDUuMnoiIG9wYWNpdHk9Ii4zNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRjQ3ODI1IiBkPSJNMTEuNjY3IDZMNS44MzMgMCAwIDYgMS4xNjcgOCAwIDEwIDUuODMzIDE2IDExLjY2NyAxMCAxMC41IDh6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgNS4yIDUuODMzIDEuOHoiIG9wYWNpdHk9Ii4yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDEuNTE3IDYuMiA1LjgzMyAxLjh6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNNS44MzMgNS4yTDUuODMzIDEzLjYgNC42OTkgMTEuNjUzIDEuNTE3IDYuMnpNNS44MzMgMTAuOEw1LjgzMyAyLjQgNi45NjggNC4zNDcgMTAuMTUgOS44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNCNDU5MUIiIGQ9Ik0xMC4xNSA2LjJMNS44MzMgMTMuNiA1LjgzMyA1LjJ6TTEuNTE3IDkuOEw1LjgzMyAxMC44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuMzUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTUuODMzIDEwLjhMMTAuMTUgOS44IDUuODMzIDE0LjJ6IiBvcGFjaXR5PSIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyNCAtMjA3MCkgdHJhbnNsYXRlKDQ4NCAxNjMyKSB0cmFuc2xhdGUoNDAgNDM4KSB0cmFuc2xhdGUoLjg3NSkiPjwvcGF0aD48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMS41MTcgOS44TDUuODMzIDIuNCA1LjgzMyAxMC44eiIgb3BhY2l0eT0iLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTI0IC0yMDcwKSB0cmFuc2xhdGUoNDg0IDE2MzIpIHRyYW5zbGF0ZSg0MCA0MzgpIHRyYW5zbGF0ZSguODc1KSI+PC9wYXRoPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0zLjA2MyA5LjUzM0wzLjk3MyA4IDMuMDYzIDYuNDY3IDUuODMzIDMuNjY3IDguNjA0IDYuNDY3IDcuNjk0IDggOC42MDQgOS41MzMgNS44MzMgMTIuMzMzeiIgb3BhY2l0eT0iLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01MjQgLTIwNzApIHRyYW5zbGF0ZSg0ODQgMTYzMikgdHJhbnNsYXRlKDQwIDQzOCkgdHJhbnNsYXRlKC44NzUpIj48L3BhdGg+PC9nPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4=', + : "test-user's Party Boss rage limit break", 'rage_skill': 'rage skill name', - 'unit_of_measurement': 'rage', + : 'rage', }), 'context': , 'entity_id': 'sensor.test_user_s_party_boss_rage_limit_break', @@ -2142,9 +2142,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'Seifenstücke': '10 / 20', - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/quest_atom1_soapBars.png', - 'friendly_name': "test-user's Party Collected quest items", - 'unit_of_measurement': 'items', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/quest_atom1_soapBars.png', + : "test-user's Party Collected quest items", + : 'items', }), 'context': , 'entity_id': 'sensor.test_user_s_party_collected_quest_items', @@ -2194,7 +2194,7 @@ # name: test_sensors[sensor.test_user_s_party_group_leader-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "test-user's Party Group leader", + : "test-user's Party Group leader", }), 'context': , 'entity_id': 'sensor.test_user_s_party_group_leader', @@ -2244,9 +2244,9 @@ # name: test_sensors[sensor.test_user_s_party_member_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii02IC02IDQ2IDUwIj48dGl0bGU+QnJvbnplX1NtYWxsPC90aXRsZT48cGF0aCBkPSJNMjAsMzYuMjhDNy4xOCwzMC42MSw1LjYsMjQuNjksNS41LDEwLjQyTDIwLDMuNzVsMTQuNSw2LjY3QzM0LjQsMjQuNjksMzIuODIsMzAuNjEsMjAsMzYuMjhaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMSkiIGZpbGw9IiNlYThjMzEiPjwvcGF0aD48cGF0aCBkPSJNMjAsNi41TDMyLDEyYy0wLjE1LDExLjU2LTEuNTEsMTYuNjItMTIsMjEuNTFDOS41MywyOC42NCw4LjE3LDIzLjU4LDgsMTJMMjAsNi41TTIwLDFMMyw4LjgyQzMsMjQuNDcsNC4xMywzMi4yOSwyMCwzOSwzNS44NywzMi4yOSwzNywyNC40NywzNyw4LjgyTDIwLDFoMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zIC0xKSIgZmlsbD0iI2IzNjIxMyI+PC9wYXRoPjxwYXRoIGQ9Ik0yMCw0LjNsMTQsNi40NGMtMC4xMiwxMy43Mi0xLjcyLDE5LjUxLTE0LDI1QzcuNzMsMzAuMjUsNi4xMiwyNC40Niw2LDEwLjc0TDIwLDQuM00yMCwxTDMsOC44MkMzLDI0LjQ3LDQuMTMsMzIuMjksMjAsMzksMzUuODcsMzIuMjksMzcsMjQuNDcsMzcsOC44MkwyMCwxaDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMSkiIGZpbGw9IiNkNzdhMjAiPjwvcGF0aD48L3N2Zz4=', - 'friendly_name': "test-user's Party Member count", - 'unit_of_measurement': 'members', + : 'data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii02IC02IDQ2IDUwIj48dGl0bGU+QnJvbnplX1NtYWxsPC90aXRsZT48cGF0aCBkPSJNMjAsMzYuMjhDNy4xOCwzMC42MSw1LjYsMjQuNjksNS41LDEwLjQyTDIwLDMuNzVsMTQuNSw2LjY3QzM0LjQsMjQuNjksMzIuODIsMzAuNjEsMjAsMzYuMjhaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMSkiIGZpbGw9IiNlYThjMzEiPjwvcGF0aD48cGF0aCBkPSJNMjAsNi41TDMyLDEyYy0wLjE1LDExLjU2LTEuNTEsMTYuNjItMTIsMjEuNTFDOS41MywyOC42NCw4LjE3LDIzLjU4LDgsMTJMMjAsNi41TTIwLDFMMyw4LjgyQzMsMjQuNDcsNC4xMywzMi4yOSwyMCwzOSwzNS44NywzMi4yOSwzNywyNC40NywzNyw4LjgyTDIwLDFoMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zIC0xKSIgZmlsbD0iI2IzNjIxMyI+PC9wYXRoPjxwYXRoIGQ9Ik0yMCw0LjNsMTQsNi40NGMtMC4xMiwxMy43Mi0xLjcyLDE5LjUxLTE0LDI1QzcuNzMsMzAuMjUsNi4xMiwyNC40Niw2LDEwLjc0TDIwLDQuM00yMCwxTDMsOC44MkMzLDI0LjQ3LDQuMTMsMzIuMjksMjAsMzksMzUuODcsMzIuMjksMzcsMjQuNDcsMzcsOC44MkwyMCwxaDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMSkiIGZpbGw9IiNkNzdhMjAiPjwvcGF0aD48L3N2Zz4=', + : "test-user's Party Member count", + : 'members', }), 'context': , 'entity_id': 'sensor.test_user_s_party_member_count', @@ -2296,8 +2296,8 @@ # name: test_sensors[sensor.test_user_s_party_quest-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/inventory_quest_scroll_atom1.png', - 'friendly_name': "test-user's Party Quest", + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/inventory_quest_scroll_atom1.png', + : "test-user's Party Quest", 'quest_details': 'Du erreichst die Ufer des Waschbeckensees für eine wohlverdiente Auszeit ... Aber der See ist verschmutzt mit nicht abgespültem Geschirr! Wie ist das passiert? Wie auch immer, Du kannst den See jedenfalls nicht in diesem Zustand lassen. Es gibt nur eine Sache die Du tun kannst: Abspülen und den Ferienort retten! Dazu musst Du aber Seife für den Abwasch finden. Viel Seife ...', 'quest_participants': '1 / 2', }), @@ -2349,7 +2349,7 @@ # name: test_sensors[sensor.test_user_s_party_quest_boss-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "test-user's Party Quest boss", + : "test-user's Party Quest boss", }), 'context': , 'entity_id': 'sensor.test_user_s_party_quest_boss', @@ -2399,9 +2399,9 @@ # name: test_sensors[sensor.test_user_saddles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/Pet_Food_Saddle.png', - 'friendly_name': 'test-user Saddles', - 'unit_of_measurement': 'saddles', + : 'https://habitica-assets.s3.amazonaws.com/mobileApp/images/Pet_Food_Saddle.png', + : 'test-user Saddles', + : 'saddles', }), 'context': , 'entity_id': 'sensor.test_user_saddles', @@ -2458,9 +2458,9 @@ 'buffs': 26, 'class': 0, 'equipment': 44, - 'friendly_name': 'test-user Strength', + : 'test-user Strength', 'level': 19, - 'unit_of_measurement': 'STR', + : 'STR', }), 'context': , 'entity_id': 'sensor.test_user_strength', diff --git a/tests/components/habitica/snapshots/test_switch.ambr b/tests/components/habitica/snapshots/test_switch.ambr index e834a47af24..c41a426e4b3 100644 --- a/tests/components/habitica/snapshots/test_switch.ambr +++ b/tests/components/habitica/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch[switch.test_user_rest_in_the_inn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'test-user Rest in the inn', + : 'switch', + : 'test-user Rest in the inn', }), 'context': , 'entity_id': 'switch.test_user_rest_in_the_inn', diff --git a/tests/components/habitica/snapshots/test_todo.ambr b/tests/components/habitica/snapshots/test_todo.ambr index 5dc8bbe981a..6864fade961 100644 --- a/tests/components/habitica/snapshots/test_todo.ambr +++ b/tests/components/habitica/snapshots/test_todo.ambr @@ -153,8 +153,8 @@ # name: test_todos[todo.test_user_dailies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-user Dailies', - 'supported_features': , + : 'test-user Dailies', + : , }), 'context': , 'entity_id': 'todo.test_user_dailies', @@ -204,8 +204,8 @@ # name: test_todos[todo.test_user_to_do_s-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "test-user To-Do's", - 'supported_features': , + : "test-user To-Do's", + : , }), 'context': , 'entity_id': 'todo.test_user_to_do_s', diff --git a/tests/components/hdfury/snapshots/test_button.ambr b/tests/components/hdfury/snapshots/test_button.ambr index f61ab630e50..06d5fb9146e 100644 --- a/tests/components/hdfury/snapshots/test_button.ambr +++ b/tests/components/hdfury/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_entities[button.hdfury_vrroom_02_issue_hotplug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Issue hotplug', + : 'HDFury VRROOM-02 Issue hotplug', }), 'context': , 'entity_id': 'button.hdfury_vrroom_02_issue_hotplug', @@ -89,8 +89,8 @@ # name: test_button_entities[button.hdfury_vrroom_02_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'HDFury VRROOM-02 Restart', + : 'restart', + : 'HDFury VRROOM-02 Restart', }), 'context': , 'entity_id': 'button.hdfury_vrroom_02_restart', diff --git a/tests/components/hdfury/snapshots/test_number.ambr b/tests/components/hdfury/snapshots/test_number.ambr index 5bce1c28141..2c5e4752785 100644 --- a/tests/components/hdfury/snapshots/test_number.ambr +++ b/tests/components/hdfury/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number_entities[number.hdfury_vrroom_02_earc_unmute_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'HDFury VRROOM-02 eARC unmute delay', + : 'duration', + : 'HDFury VRROOM-02 eARC unmute delay', : 1000, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.hdfury_vrroom_02_earc_unmute_delay', @@ -105,13 +105,13 @@ # name: test_number_entities[number.hdfury_vrroom_02_oled_fade_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'HDFury VRROOM-02 OLED fade timer', + : 'duration', + : 'HDFury VRROOM-02 OLED fade timer', : 100, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.hdfury_vrroom_02_oled_fade_timer', @@ -166,13 +166,13 @@ # name: test_number_entities[number.hdfury_vrroom_02_restart_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'HDFury VRROOM-02 Restart timer', + : 'duration', + : 'HDFury VRROOM-02 Restart timer', : 100, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.hdfury_vrroom_02_restart_timer', @@ -227,13 +227,13 @@ # name: test_number_entities[number.hdfury_vrroom_02_unmute_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'HDFury VRROOM-02 Unmute delay', + : 'duration', + : 'HDFury VRROOM-02 Unmute delay', : 1000, : 50, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.hdfury_vrroom_02_unmute_delay', diff --git a/tests/components/hdfury/snapshots/test_select.ambr b/tests/components/hdfury/snapshots/test_select.ambr index e1eb21a187c..50b3a4395e9 100644 --- a/tests/components/hdfury/snapshots/test_select.ambr +++ b/tests/components/hdfury/snapshots/test_select.ambr @@ -48,7 +48,7 @@ # name: test_select_entities[select.hdfury_vrroom_02_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Operation mode', + : 'HDFury VRROOM-02 Operation mode', : list([ '0', '1', @@ -114,7 +114,7 @@ # name: test_select_entities[select.hdfury_vrroom_02_port_select_tx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Port select TX0', + : 'HDFury VRROOM-02 Port select TX0', : list([ '0', '1', @@ -179,7 +179,7 @@ # name: test_select_entities[select.hdfury_vrroom_02_port_select_tx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Port select TX1', + : 'HDFury VRROOM-02 Port select TX1', : list([ '0', '1', diff --git a/tests/components/hdfury/snapshots/test_sensor.ambr b/tests/components/hdfury/snapshots/test_sensor.ambr index 47a48689abc..17070aaa72a 100644 --- a/tests/components/hdfury/snapshots/test_sensor.ambr +++ b/tests/components/hdfury/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_audio_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Audio output', + : 'HDFury VRROOM-02 Audio output', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_audio_output', @@ -89,7 +89,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_audio_tx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Audio TX0', + : 'HDFury VRROOM-02 Audio TX0', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_audio_tx0', @@ -139,7 +139,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_audio_tx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Audio TX1', + : 'HDFury VRROOM-02 Audio TX1', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_audio_tx1', @@ -189,7 +189,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_earc_arc_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 eARC/ARC status', + : 'HDFury VRROOM-02 eARC/ARC status', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_earc_arc_status', @@ -239,7 +239,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_edid_aud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 EDID AUD', + : 'HDFury VRROOM-02 EDID AUD', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_edid_aud', @@ -289,7 +289,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_edid_auda-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 EDID AUDA', + : 'HDFury VRROOM-02 EDID AUDA', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_edid_auda', @@ -339,7 +339,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_edid_tx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 EDID TX0', + : 'HDFury VRROOM-02 EDID TX0', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_edid_tx0', @@ -389,7 +389,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_edid_tx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 EDID TX1', + : 'HDFury VRROOM-02 EDID TX1', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_edid_tx1', @@ -439,7 +439,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_edid_txa0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 EDID TXA0', + : 'HDFury VRROOM-02 EDID TXA0', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_edid_txa0', @@ -489,7 +489,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_edid_txa1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 EDID TXA1', + : 'HDFury VRROOM-02 EDID TXA1', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_edid_txa1', @@ -539,7 +539,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_input_rx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Input RX0', + : 'HDFury VRROOM-02 Input RX0', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_input_rx0', @@ -589,7 +589,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_input_rx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Input RX1', + : 'HDFury VRROOM-02 Input RX1', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_input_rx1', @@ -639,7 +639,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_output_tx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Output TX0', + : 'HDFury VRROOM-02 Output TX0', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_output_tx0', @@ -689,7 +689,7 @@ # name: test_sensor_entities[sensor.hdfury_vrroom_02_output_tx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Output TX1', + : 'HDFury VRROOM-02 Output TX1', }), 'context': , 'entity_id': 'sensor.hdfury_vrroom_02_output_tx1', diff --git a/tests/components/hdfury/snapshots/test_switch.ambr b/tests/components/hdfury/snapshots/test_switch.ambr index 36d75fed977..f1e6ec1f785 100644 --- a/tests/components/hdfury/snapshots/test_switch.ambr +++ b/tests/components/hdfury/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_auto_switch_inputs-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Auto switch inputs', + : 'HDFury VRROOM-02 Auto switch inputs', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_auto_switch_inputs', @@ -89,7 +89,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_cec-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 CEC', + : 'HDFury VRROOM-02 CEC', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_cec', @@ -139,7 +139,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_cec_rx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 CEC RX0', + : 'HDFury VRROOM-02 CEC RX0', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_cec_rx0', @@ -189,7 +189,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_cec_rx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 CEC RX1', + : 'HDFury VRROOM-02 CEC RX1', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_cec_rx1', @@ -239,7 +239,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_cec_rx2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 CEC RX2', + : 'HDFury VRROOM-02 CEC RX2', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_cec_rx2', @@ -289,7 +289,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_cec_rx3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 CEC RX3', + : 'HDFury VRROOM-02 CEC RX3', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_cec_rx3', @@ -339,7 +339,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_htpc_mode_rx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 HTPC mode RX0', + : 'HDFury VRROOM-02 HTPC mode RX0', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_htpc_mode_rx0', @@ -389,7 +389,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_htpc_mode_rx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 HTPC mode RX1', + : 'HDFury VRROOM-02 HTPC mode RX1', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_htpc_mode_rx1', @@ -439,7 +439,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_htpc_mode_rx2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 HTPC mode RX2', + : 'HDFury VRROOM-02 HTPC mode RX2', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_htpc_mode_rx2', @@ -489,7 +489,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_htpc_mode_rx3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 HTPC mode RX3', + : 'HDFury VRROOM-02 HTPC mode RX3', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_htpc_mode_rx3', @@ -539,7 +539,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_infrared-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Infrared', + : 'HDFury VRROOM-02 Infrared', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_infrared', @@ -589,7 +589,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_mute_audio_tx0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Mute audio TX0', + : 'HDFury VRROOM-02 Mute audio TX0', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_mute_audio_tx0', @@ -639,7 +639,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_mute_audio_tx1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Mute audio TX1', + : 'HDFury VRROOM-02 Mute audio TX1', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_mute_audio_tx1', @@ -689,7 +689,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_oled_display-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 OLED display', + : 'HDFury VRROOM-02 OLED display', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_oled_display', @@ -739,7 +739,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 Relay', + : 'HDFury VRROOM-02 Relay', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_relay', @@ -789,7 +789,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_tx0_force_5v-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 TX0 force +5V', + : 'HDFury VRROOM-02 TX0 force +5V', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_tx0_force_5v', @@ -839,7 +839,7 @@ # name: test_switch_entities[switch.hdfury_vrroom_02_tx1_force_5v-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HDFury VRROOM-02 TX1 force +5V', + : 'HDFury VRROOM-02 TX1 force +5V', }), 'context': , 'entity_id': 'switch.hdfury_vrroom_02_tx1_force_5v', diff --git a/tests/components/helty/snapshots/test_button.ambr b/tests/components/helty/snapshots/test_button.ambr index 51abecbf67b..3483150aa2e 100644 --- a/tests/components/helty/snapshots/test_button.ambr +++ b/tests/components/helty/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.vmc_soggiorno_reset_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'VMC Soggiorno Reset filter', + : 'VMC Soggiorno Reset filter', }), 'context': , 'entity_id': 'button.vmc_soggiorno_reset_filter', diff --git a/tests/components/helty/snapshots/test_fan.ambr b/tests/components/helty/snapshots/test_fan.ambr index c33f7986432..a810b7273bb 100644 --- a/tests/components/helty/snapshots/test_fan.ambr +++ b/tests/components/helty/snapshots/test_fan.ambr @@ -45,7 +45,7 @@ # name: test_all_entities[fan.vmc_soggiorno-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'VMC Soggiorno', + : 'VMC Soggiorno', : 25, : 25.0, : None, @@ -54,7 +54,7 @@ 'night', 'free_cooling', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.vmc_soggiorno', diff --git a/tests/components/helty/snapshots/test_sensor.ambr b/tests/components/helty/snapshots/test_sensor.ambr index 3c6d75834f3..28bf115993e 100644 --- a/tests/components/helty/snapshots/test_sensor.ambr +++ b/tests/components/helty/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.vmc_soggiorno_indoor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'VMC Soggiorno Indoor humidity', + : 'humidity', + : 'VMC Soggiorno Indoor humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.vmc_soggiorno_indoor_humidity', @@ -99,10 +99,10 @@ # name: test_all_entities[sensor.vmc_soggiorno_indoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'VMC Soggiorno Indoor temperature', + : 'temperature', + : 'VMC Soggiorno Indoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vmc_soggiorno_indoor_temperature', @@ -157,10 +157,10 @@ # name: test_all_entities[sensor.vmc_soggiorno_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'VMC Soggiorno Outdoor temperature', + : 'temperature', + : 'VMC Soggiorno Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vmc_soggiorno_outdoor_temperature', diff --git a/tests/components/heos/snapshots/test_media_player.ambr b/tests/components/heos/snapshots/test_media_player.ambr index 62a5e185689..72218dc50ed 100644 --- a/tests/components/heos/snapshots/test_media_player.ambr +++ b/tests/components/heos/snapshots/test_media_player.ambr @@ -201,8 +201,8 @@ # name: test_state_attributes StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'http://', - 'friendly_name': 'Test Player', + : 'http://', + : 'Test Player', : list([ 'media_player.test_player', 'media_player.test_player_2', @@ -226,7 +226,7 @@ 'HEOS Drive - Line In 1', 'Speaker - Line In 1', ]), - 'supported_features': , + : , : 0.25, }), 'entity_id': 'media_player.test_player', diff --git a/tests/components/hikvision/snapshots/test_binary_sensor.ambr b/tests/components/hikvision/snapshots/test_binary_sensor.ambr index 9052350cb0f..190534c3080 100644 --- a/tests/components/hikvision/snapshots/test_binary_sensor.ambr +++ b/tests/components/hikvision/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.front_camera_line_crossing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Front Camera Line crossing', + : 'motion', + : 'Front Camera Line crossing', 'last_tripped_time': '2024-01-01T00:00:00Z', }), 'context': , @@ -91,8 +91,8 @@ # name: test_all_entities[binary_sensor.front_camera_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Front Camera Motion', + : 'motion', + : 'Front Camera Motion', 'last_tripped_time': '2024-01-01T00:00:00Z', }), 'context': , diff --git a/tests/components/hikvision/snapshots/test_camera.ambr b/tests/components/hikvision/snapshots/test_camera.ambr index bf74ecdee31..3ea842a9546 100644 --- a/tests/components/hikvision/snapshots/test_camera.ambr +++ b/tests/components/hikvision/snapshots/test_camera.ambr @@ -40,9 +40,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.front_camera?token=1caab5c3b3', - 'friendly_name': 'Front Camera', - 'supported_features': , + : '/api/camera_proxy/camera.front_camera?token=1caab5c3b3', + : 'Front Camera', + : , }), 'context': , 'entity_id': 'camera.front_camera', @@ -93,9 +93,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.front_camera_channel_1?token=1caab5c3b3', - 'friendly_name': 'Front Camera channel 1', - 'supported_features': , + : '/api/camera_proxy/camera.front_camera_channel_1?token=1caab5c3b3', + : 'Front Camera channel 1', + : , }), 'context': , 'entity_id': 'camera.front_camera_channel_1', @@ -146,9 +146,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.front_camera_channel_2?token=1caab5c3b3', - 'friendly_name': 'Front Camera channel 2', - 'supported_features': , + : '/api/camera_proxy/camera.front_camera_channel_2?token=1caab5c3b3', + : 'Front Camera channel 2', + : , }), 'context': , 'entity_id': 'camera.front_camera_channel_2', diff --git a/tests/components/homee/snapshots/test_alarm_control_panel.ambr b/tests/components/homee/snapshots/test_alarm_control_panel.ambr index 3f1b5decd4c..c801be38a9c 100644 --- a/tests/components/homee/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/homee/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : 'user - 4', : False, : None, - 'friendly_name': 'TestHomee Status', - 'supported_features': , + : 'TestHomee Status', + : , }), 'context': , 'entity_id': 'alarm_control_panel.testhomee_status', diff --git a/tests/components/homee/snapshots/test_binary_sensor.ambr b/tests/components/homee/snapshots/test_binary_sensor.ambr index e1cb7d8415f..f80cf6c38b7 100644 --- a/tests/components/homee/snapshots/test_binary_sensor.ambr +++ b/tests/components/homee/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_add_device[binary_sensor.added_device_blackout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Added Device Blackout', + : 'problem', + : 'Added Device Blackout', }), 'context': , 'entity_id': 'binary_sensor.added_device_blackout', @@ -90,8 +90,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Binary Sensor Battery', + : 'battery', + : 'Test Binary Sensor Battery', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_battery', @@ -141,8 +141,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_blackout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Blackout', + : 'problem', + : 'Test Binary Sensor Blackout', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_blackout', @@ -192,8 +192,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Carbon dioxide', + : 'problem', + : 'Test Binary Sensor Carbon dioxide', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_carbon_dioxide', @@ -243,8 +243,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Test Binary Sensor Carbon monoxide', + : 'carbon_monoxide', + : 'Test Binary Sensor Carbon monoxide', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_carbon_monoxide', @@ -294,8 +294,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_flood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Test Binary Sensor Flood', + : 'moisture', + : 'Test Binary Sensor Flood', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_flood', @@ -345,8 +345,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_high_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Binary Sensor High temperature', + : 'heat', + : 'Test Binary Sensor High temperature', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_high_temperature', @@ -396,8 +396,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_leak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Leak', + : 'problem', + : 'Test Binary Sensor Leak', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_leak', @@ -447,7 +447,7 @@ # name: test_add_device[binary_sensor.test_binary_sensor_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Binary Sensor Load', + : 'Test Binary Sensor Load', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_load', @@ -497,8 +497,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'lock', - 'friendly_name': 'Test Binary Sensor Lock', + : 'lock', + : 'Test Binary Sensor Lock', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_lock', @@ -548,8 +548,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_low_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'cold', - 'friendly_name': 'Test Binary Sensor Low temperature', + : 'cold', + : 'Test Binary Sensor Low temperature', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_low_temperature', @@ -599,8 +599,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_malfunction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Malfunction', + : 'problem', + : 'Test Binary Sensor Malfunction', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_malfunction', @@ -650,8 +650,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_maximum_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Maximum level', + : 'problem', + : 'Test Binary Sensor Maximum level', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_maximum_level', @@ -701,8 +701,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_minimum_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Minimum level', + : 'problem', + : 'Test Binary Sensor Minimum level', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_minimum_level', @@ -752,8 +752,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Test Binary Sensor Motion', + : 'motion', + : 'Test Binary Sensor Motion', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_motion', @@ -803,8 +803,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_motor_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Motor blocked', + : 'problem', + : 'Test Binary Sensor Motor blocked', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_motor_blocked', @@ -854,8 +854,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_opening-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Test Binary Sensor Opening', + : 'opening', + : 'Test Binary Sensor Opening', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_opening', @@ -905,8 +905,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Overcurrent', + : 'problem', + : 'Test Binary Sensor Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_overcurrent', @@ -956,8 +956,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_overload-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Overload', + : 'problem', + : 'Test Binary Sensor Overload', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_overload', @@ -1007,8 +1007,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'Test Binary Sensor Plug', + : 'plug', + : 'Test Binary Sensor Plug', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_plug', @@ -1058,8 +1058,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Binary Sensor Power', + : 'power', + : 'Test Binary Sensor Power', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_power', @@ -1109,8 +1109,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'Test Binary Sensor Presence', + : 'presence', + : 'Test Binary Sensor Presence', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_presence', @@ -1160,8 +1160,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Test Binary Sensor Rain', + : 'moisture', + : 'Test Binary Sensor Rain', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_rain', @@ -1211,8 +1211,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_replace_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Replace filter', + : 'problem', + : 'Test Binary Sensor Replace filter', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_replace_filter', @@ -1262,8 +1262,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Test Binary Sensor Smoke', + : 'smoke', + : 'Test Binary Sensor Smoke', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_smoke', @@ -1313,8 +1313,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Storage', + : 'problem', + : 'Test Binary Sensor Storage', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_storage', @@ -1364,8 +1364,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_surge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Surge', + : 'problem', + : 'Test Binary Sensor Surge', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_surge', @@ -1415,8 +1415,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Test Binary Sensor Tamper', + : 'tamper', + : 'Test Binary Sensor Tamper', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_tamper', @@ -1466,8 +1466,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_voltage_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Voltage drop', + : 'problem', + : 'Test Binary Sensor Voltage drop', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_voltage_drop', @@ -1517,8 +1517,8 @@ # name: test_add_device[binary_sensor.test_binary_sensor_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Test Binary Sensor Water', + : 'moisture', + : 'Test Binary Sensor Water', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_water', @@ -1568,8 +1568,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Binary Sensor Battery', + : 'battery', + : 'Test Binary Sensor Battery', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_battery', @@ -1619,8 +1619,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_blackout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Blackout', + : 'problem', + : 'Test Binary Sensor Blackout', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_blackout', @@ -1670,8 +1670,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Carbon dioxide', + : 'problem', + : 'Test Binary Sensor Carbon dioxide', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_carbon_dioxide', @@ -1721,8 +1721,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Test Binary Sensor Carbon monoxide', + : 'carbon_monoxide', + : 'Test Binary Sensor Carbon monoxide', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_carbon_monoxide', @@ -1772,8 +1772,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_flood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Test Binary Sensor Flood', + : 'moisture', + : 'Test Binary Sensor Flood', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_flood', @@ -1823,8 +1823,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_high_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Binary Sensor High temperature', + : 'heat', + : 'Test Binary Sensor High temperature', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_high_temperature', @@ -1874,8 +1874,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_leak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Leak', + : 'problem', + : 'Test Binary Sensor Leak', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_leak', @@ -1925,7 +1925,7 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Binary Sensor Load', + : 'Test Binary Sensor Load', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_load', @@ -1975,8 +1975,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'lock', - 'friendly_name': 'Test Binary Sensor Lock', + : 'lock', + : 'Test Binary Sensor Lock', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_lock', @@ -2026,8 +2026,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_low_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'cold', - 'friendly_name': 'Test Binary Sensor Low temperature', + : 'cold', + : 'Test Binary Sensor Low temperature', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_low_temperature', @@ -2077,8 +2077,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_malfunction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Malfunction', + : 'problem', + : 'Test Binary Sensor Malfunction', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_malfunction', @@ -2128,8 +2128,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_maximum_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Maximum level', + : 'problem', + : 'Test Binary Sensor Maximum level', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_maximum_level', @@ -2179,8 +2179,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_minimum_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Minimum level', + : 'problem', + : 'Test Binary Sensor Minimum level', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_minimum_level', @@ -2230,8 +2230,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Test Binary Sensor Motion', + : 'motion', + : 'Test Binary Sensor Motion', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_motion', @@ -2281,8 +2281,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_motor_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Motor blocked', + : 'problem', + : 'Test Binary Sensor Motor blocked', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_motor_blocked', @@ -2332,8 +2332,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_opening-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Test Binary Sensor Opening', + : 'opening', + : 'Test Binary Sensor Opening', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_opening', @@ -2383,8 +2383,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Overcurrent', + : 'problem', + : 'Test Binary Sensor Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_overcurrent', @@ -2434,8 +2434,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_overload-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Overload', + : 'problem', + : 'Test Binary Sensor Overload', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_overload', @@ -2485,8 +2485,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'Test Binary Sensor Plug', + : 'plug', + : 'Test Binary Sensor Plug', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_plug', @@ -2536,8 +2536,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Binary Sensor Power', + : 'power', + : 'Test Binary Sensor Power', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_power', @@ -2587,8 +2587,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'Test Binary Sensor Presence', + : 'presence', + : 'Test Binary Sensor Presence', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_presence', @@ -2638,8 +2638,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_rain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Test Binary Sensor Rain', + : 'moisture', + : 'Test Binary Sensor Rain', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_rain', @@ -2689,8 +2689,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_replace_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Replace filter', + : 'problem', + : 'Test Binary Sensor Replace filter', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_replace_filter', @@ -2740,8 +2740,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Test Binary Sensor Smoke', + : 'smoke', + : 'Test Binary Sensor Smoke', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_smoke', @@ -2791,8 +2791,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Storage', + : 'problem', + : 'Test Binary Sensor Storage', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_storage', @@ -2842,8 +2842,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_surge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Surge', + : 'problem', + : 'Test Binary Sensor Surge', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_surge', @@ -2893,8 +2893,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Test Binary Sensor Tamper', + : 'tamper', + : 'Test Binary Sensor Tamper', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_tamper', @@ -2944,8 +2944,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_voltage_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Binary Sensor Voltage drop', + : 'problem', + : 'Test Binary Sensor Voltage drop', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_voltage_drop', @@ -2995,8 +2995,8 @@ # name: test_sensor_snapshot[binary_sensor.test_binary_sensor_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Test Binary Sensor Water', + : 'moisture', + : 'Test Binary Sensor Water', }), 'context': , 'entity_id': 'binary_sensor.test_binary_sensor_water', diff --git a/tests/components/homee/snapshots/test_button.ambr b/tests/components/homee/snapshots/test_button.ambr index 021ab0c81b1..07d3ee2d7b0 100644 --- a/tests/components/homee/snapshots/test_button.ambr +++ b/tests/components/homee/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_snapshot[button.test_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button', + : 'Test Button', }), 'context': , 'entity_id': 'button.test_button', @@ -89,7 +89,7 @@ # name: test_button_snapshot[button.test_button_automatic_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Automatic mode', + : 'Test Button Automatic mode', }), 'context': , 'entity_id': 'button.test_button_automatic_mode', @@ -139,7 +139,7 @@ # name: test_button_snapshot[button.test_button_briefly_open-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Briefly open', + : 'Test Button Briefly open', }), 'context': , 'entity_id': 'button.test_button_briefly_open', @@ -189,8 +189,8 @@ # name: test_button_snapshot[button.test_button_identification_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Test Button Identification mode', + : 'identify', + : 'Test Button Identification mode', }), 'context': , 'entity_id': 'button.test_button_identification_mode', @@ -240,7 +240,7 @@ # name: test_button_snapshot[button.test_button_impulse_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Impulse 1', + : 'Test Button Impulse 1', }), 'context': , 'entity_id': 'button.test_button_impulse_1', @@ -290,7 +290,7 @@ # name: test_button_snapshot[button.test_button_impulse_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Impulse 2', + : 'Test Button Impulse 2', }), 'context': , 'entity_id': 'button.test_button_impulse_2', @@ -340,7 +340,7 @@ # name: test_button_snapshot[button.test_button_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Light', + : 'Test Button Light', }), 'context': , 'entity_id': 'button.test_button_light', @@ -390,7 +390,7 @@ # name: test_button_snapshot[button.test_button_open_partially-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Open partially', + : 'Test Button Open partially', }), 'context': , 'entity_id': 'button.test_button_open_partially', @@ -440,7 +440,7 @@ # name: test_button_snapshot[button.test_button_open_permanently-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Open permanently', + : 'Test Button Open permanently', }), 'context': , 'entity_id': 'button.test_button_open_permanently', @@ -490,7 +490,7 @@ # name: test_button_snapshot[button.test_button_reset_meter_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Reset meter 1', + : 'Test Button Reset meter 1', }), 'context': , 'entity_id': 'button.test_button_reset_meter_1', @@ -540,7 +540,7 @@ # name: test_button_snapshot[button.test_button_reset_meter_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Reset meter 2', + : 'Test Button Reset meter 2', }), 'context': , 'entity_id': 'button.test_button_reset_meter_2', @@ -590,7 +590,7 @@ # name: test_button_snapshot[button.test_button_ventilate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Button Ventilate', + : 'Test Button Ventilate', }), 'context': , 'entity_id': 'button.test_button_ventilate', diff --git a/tests/components/homee/snapshots/test_climate.ambr b/tests/components/homee/snapshots/test_climate.ambr index 90b7b566b73..0afd1f87753 100644 --- a/tests/components/homee/snapshots/test_climate.ambr +++ b/tests/components/homee/snapshots/test_climate.ambr @@ -47,14 +47,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Test Thermostat 1', + : 'Test Thermostat 1', : , : list([ , ]), : 28, : 12, - 'supported_features': , + : , : 0.1, : 20.0, }), @@ -114,14 +114,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.6, - 'friendly_name': 'Test Thermostat 2', + : 'Test Thermostat 2', : , : list([ , ]), : 30, : 15, - 'supported_features': , + : , : 0.1, : 22.0, }), @@ -182,7 +182,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.6, - 'friendly_name': 'Test Thermostat 3', + : 'Test Thermostat 3', : , : list([ , @@ -190,7 +190,7 @@ ]), : 25, : 14, - 'supported_features': , + : , : 0.1, : 24.0, }), @@ -257,7 +257,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.6, - 'friendly_name': 'Test Thermostat 4', + : 'Test Thermostat 4', : , : list([ , @@ -272,7 +272,7 @@ 'boost', 'manual', ]), - 'supported_features': , + : , : 0.5, : 12.0, }), @@ -337,7 +337,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.6, - 'friendly_name': 'Test Thermostat 5', + : 'Test Thermostat 5', : , : list([ , @@ -350,7 +350,7 @@ 'none', 'eco', ]), - 'supported_features': , + : , : 0.5, : 12.0, }), diff --git a/tests/components/homee/snapshots/test_cover.ambr b/tests/components/homee/snapshots/test_cover.ambr index 6866564d37a..1282a0a825d 100644 --- a/tests/components/homee/snapshots/test_cover.ambr +++ b/tests/components/homee/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_cover_snapshot[cover.no_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'shutter', - 'friendly_name': 'No Position', + : 'shutter', + : 'No Position', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.no_position', @@ -94,10 +94,10 @@ 'attributes': ReadOnlyDict({ : 100, : 100, - 'device_class': 'shutter', - 'friendly_name': 'Shutter with position and slats', + : 'shutter', + : 'Shutter with position and slats', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.shutter_with_position_and_slats', @@ -148,10 +148,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 65, - 'device_class': 'shutter', - 'friendly_name': 'Slats & Position', + : 'shutter', + : 'Slats & Position', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.slats_position', diff --git a/tests/components/homee/snapshots/test_event.ambr b/tests/components/homee/snapshots/test_event.ambr index dc456b6e3d6..c2df7146ebe 100644 --- a/tests/components/homee/snapshots/test_event.ambr +++ b/tests/components/homee/snapshots/test_event.ambr @@ -45,14 +45,14 @@ # name: test_event_snapshot[20][event.remote_control_kitchen_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Kitchen Light', + : 'Remote Control Kitchen Light', }), 'context': , 'entity_id': 'event.remote_control_kitchen_light', @@ -108,14 +108,14 @@ # name: test_event_snapshot[20][event.remote_control_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Switch 2', + : 'Remote Control Switch 2', }), 'context': , 'entity_id': 'event.remote_control_switch_2', @@ -178,7 +178,7 @@ # name: test_event_snapshot[20][event.remote_control_up_down_remote-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'released', @@ -192,7 +192,7 @@ 'b_button', 'a_button', ]), - 'friendly_name': 'Remote Control Up/down remote', + : 'Remote Control Up/down remote', }), 'context': , 'entity_id': 'event.remote_control_up_down_remote', @@ -248,14 +248,14 @@ # name: test_event_snapshot[24][event.remote_control_kitchen_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Kitchen Light', + : 'Remote Control Kitchen Light', }), 'context': , 'entity_id': 'event.remote_control_kitchen_light', @@ -311,14 +311,14 @@ # name: test_event_snapshot[24][event.remote_control_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Switch 2', + : 'Remote Control Switch 2', }), 'context': , 'entity_id': 'event.remote_control_switch_2', @@ -381,7 +381,7 @@ # name: test_event_snapshot[24][event.remote_control_up_down_remote-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'released', @@ -395,7 +395,7 @@ 'b_button', 'a_button', ]), - 'friendly_name': 'Remote Control Up/down remote', + : 'Remote Control Up/down remote', }), 'context': , 'entity_id': 'event.remote_control_up_down_remote', @@ -451,14 +451,14 @@ # name: test_event_snapshot[25][event.remote_control_kitchen_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Kitchen Light', + : 'Remote Control Kitchen Light', }), 'context': , 'entity_id': 'event.remote_control_kitchen_light', @@ -514,14 +514,14 @@ # name: test_event_snapshot[25][event.remote_control_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Switch 2', + : 'Remote Control Switch 2', }), 'context': , 'entity_id': 'event.remote_control_switch_2', @@ -584,7 +584,7 @@ # name: test_event_snapshot[25][event.remote_control_up_down_remote-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'released', @@ -598,7 +598,7 @@ 'b_button', 'a_button', ]), - 'friendly_name': 'Remote Control Up/down remote', + : 'Remote Control Up/down remote', }), 'context': , 'entity_id': 'event.remote_control_up_down_remote', @@ -654,14 +654,14 @@ # name: test_event_snapshot[26][event.remote_control_kitchen_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Kitchen Light', + : 'Remote Control Kitchen Light', }), 'context': , 'entity_id': 'event.remote_control_kitchen_light', @@ -717,14 +717,14 @@ # name: test_event_snapshot[26][event.remote_control_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Switch 2', + : 'Remote Control Switch 2', }), 'context': , 'entity_id': 'event.remote_control_switch_2', @@ -787,7 +787,7 @@ # name: test_event_snapshot[26][event.remote_control_up_down_remote-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'released', @@ -801,7 +801,7 @@ 'b_button', 'a_button', ]), - 'friendly_name': 'Remote Control Up/down remote', + : 'Remote Control Up/down remote', }), 'context': , 'entity_id': 'event.remote_control_up_down_remote', @@ -857,14 +857,14 @@ # name: test_event_snapshot[41][event.remote_control_kitchen_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Kitchen Light', + : 'Remote Control Kitchen Light', }), 'context': , 'entity_id': 'event.remote_control_kitchen_light', @@ -920,14 +920,14 @@ # name: test_event_snapshot[41][event.remote_control_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'upper', 'lower', 'released', ]), - 'friendly_name': 'Remote Control Switch 2', + : 'Remote Control Switch 2', }), 'context': , 'entity_id': 'event.remote_control_switch_2', @@ -990,7 +990,7 @@ # name: test_event_snapshot[41][event.remote_control_up_down_remote-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'released', @@ -1004,7 +1004,7 @@ 'b_button', 'a_button', ]), - 'friendly_name': 'Remote Control Up/down remote', + : 'Remote Control Up/down remote', }), 'context': , 'entity_id': 'event.remote_control_up_down_remote', diff --git a/tests/components/homee/snapshots/test_fan.ambr b/tests/components/homee/snapshots/test_fan.ambr index 56c84ba1061..276a02aa2da 100644 --- a/tests/components/homee/snapshots/test_fan.ambr +++ b/tests/components/homee/snapshots/test_fan.ambr @@ -45,7 +45,7 @@ # name: test_fan_snapshot[fan.test_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fan', + : 'Test Fan', : 37, : 12.5, : 'manual', @@ -54,7 +54,7 @@ 'auto', 'summer', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.test_fan', diff --git a/tests/components/homee/snapshots/test_light.ambr b/tests/components/homee/snapshots/test_light.ambr index 89c821e7405..3b7a441dbd8 100644 --- a/tests/components/homee/snapshots/test_light.ambr +++ b/tests/components/homee/snapshots/test_light.ambr @@ -48,7 +48,7 @@ : 255, : , : 3700, - 'friendly_name': 'Another Test Light', + : 'Another Test Light', : tuple( 26.996, 40.593, @@ -63,7 +63,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.44, 0.371, @@ -127,7 +127,7 @@ : 255, : , : None, - 'friendly_name': 'Test Light Light 1', + : 'Test Light Light 1', : tuple( 35.556, 52.941, @@ -143,7 +143,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.464, 0.402, @@ -207,7 +207,7 @@ : None, : None, : None, - 'friendly_name': 'Test Light Light 2', + : 'Test Light Light 2', : None, : 4000, : 2202, @@ -216,7 +216,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -273,11 +273,11 @@ 'attributes': ReadOnlyDict({ : 102, : , - 'friendly_name': 'Test Light Light 3', + : 'Test Light Light 3', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_light_light_3', @@ -332,11 +332,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Test Light Light 4', + : 'Test Light Light 4', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_light_light_4', diff --git a/tests/components/homee/snapshots/test_lock.ambr b/tests/components/homee/snapshots/test_lock.ambr index 03e48cf240e..a5c933381ac 100644 --- a/tests/components/homee/snapshots/test_lock.ambr +++ b/tests/components/homee/snapshots/test_lock.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'unknown-5', - 'friendly_name': 'Test Lock', - 'supported_features': , + : 'Test Lock', + : , }), 'context': , 'entity_id': 'lock.test_lock', diff --git a/tests/components/homee/snapshots/test_number.ambr b/tests/components/homee/snapshots/test_number.ambr index 506c278d275..fafc48bd4f4 100644 --- a/tests/components/homee/snapshots/test_number.ambr +++ b/tests/components/homee/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_snapshot[number.test_number_button_brightness_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Button brightness (active)', + : 'Test Number Button brightness (active)', : 100, : 0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_number_button_brightness_active', @@ -104,12 +104,12 @@ # name: test_number_snapshot[number.test_number_button_brightness_dimmed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Button brightness (dimmed)', + : 'Test Number Button brightness (dimmed)', : 100, : 0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_number_button_brightness_dimmed', @@ -164,12 +164,12 @@ # name: test_number_snapshot[number.test_number_display_brightness_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Display brightness (active)', + : 'Test Number Display brightness (active)', : 100, : 0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_number_display_brightness_active', @@ -224,12 +224,12 @@ # name: test_number_snapshot[number.test_number_display_brightness_dimmed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Display brightness (dimmed)', + : 'Test Number Display brightness (dimmed)', : 100, : 0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_number_display_brightness_dimmed', @@ -284,13 +284,13 @@ # name: test_number_snapshot[number.test_number_down_movement_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Number Down-movement duration', + : 'duration', + : 'Test Number Down-movement duration', : 240, : 4, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_down_movement_duration', @@ -345,12 +345,12 @@ # name: test_number_snapshot[number.test_number_down_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Down position', + : 'Test Number Down position', : 100, : 0, : , : 0.5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_number_down_position', @@ -405,12 +405,12 @@ # name: test_number_snapshot[number.test_number_down_slat_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Down slat position', + : 'Test Number Down slat position', : 75, : -75, : , : 1.0, - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'number.test_number_down_slat_position', @@ -465,7 +465,7 @@ # name: test_number_snapshot[number.test_number_end_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number End position', + : 'Test Number End position', : 130, : 0, : , @@ -524,12 +524,12 @@ # name: test_number_snapshot[number.test_number_external_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number External temperature offset', + : 'Test Number External temperature offset', : 6, : -6, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_external_temperature_offset', @@ -584,12 +584,12 @@ # name: test_number_snapshot[number.test_number_floor_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Floor temperature offset', + : 'Test Number Floor temperature offset', : 6, : -6, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_floor_temperature_offset', @@ -644,12 +644,12 @@ # name: test_number_snapshot[number.test_number_maximum_slat_angle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Maximum slat angle', + : 'Test Number Maximum slat angle', : 127, : -127, : , : 1.0, - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'number.test_number_maximum_slat_angle', @@ -704,12 +704,12 @@ # name: test_number_snapshot[number.test_number_minimum_slat_angle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Minimum slat angle', + : 'Test Number Minimum slat angle', : 127, : -127, : , : 1.0, - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'number.test_number_minimum_slat_angle', @@ -764,13 +764,13 @@ # name: test_number_snapshot[number.test_number_motion_alarm_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Number Motion alarm delay', + : 'duration', + : 'Test Number Motion alarm delay', : 15300, : 1, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_motion_alarm_delay', @@ -825,13 +825,13 @@ # name: test_number_snapshot[number.test_number_polling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Number Polling interval', + : 'duration', + : 'Test Number Polling interval', : 45, : 5, : , : 5.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_polling_interval', @@ -886,7 +886,7 @@ # name: test_number_snapshot[number.test_number_slat_steps-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Slat steps', + : 'Test Number Slat steps', : 20, : 1, : , @@ -945,13 +945,13 @@ # name: test_number_snapshot[number.test_number_slat_turn_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Number Slat turn duration', + : 'duration', + : 'Test Number Slat turn duration', : 24, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_slat_turn_duration', @@ -1006,12 +1006,12 @@ # name: test_number_snapshot[number.test_number_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Temperature offset', + : 'Test Number Temperature offset', : 128, : -5, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_temperature_offset', @@ -1066,13 +1066,13 @@ # name: test_number_snapshot[number.test_number_temperature_report_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Number Temperature report interval', + : 'duration', + : 'Test Number Temperature report interval', : 32767, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_temperature_report_interval', @@ -1127,13 +1127,13 @@ # name: test_number_snapshot[number.test_number_threshold_for_wind_trigger-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'Test Number Threshold for wind trigger', + : 'wind_speed', + : 'Test Number Threshold for wind trigger', : 22.5, : 0, : , : 2.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_threshold_for_wind_trigger', @@ -1188,13 +1188,13 @@ # name: test_number_snapshot[number.test_number_up_movement_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Number Up-movement duration', + : 'duration', + : 'Test Number Up-movement duration', : 240, : 4, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_up_movement_duration', @@ -1249,13 +1249,13 @@ # name: test_number_snapshot[number.test_number_wake_up_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Number Wake-up interval', + : 'duration', + : 'Test Number Wake-up interval', : 7200, : 30, : , : 30.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_number_wake_up_interval', @@ -1310,7 +1310,7 @@ # name: test_number_snapshot[number.test_number_window_open_sensibility-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Number Window open sensibility', + : 'Test Number Window open sensibility', : 3, : 0, : , diff --git a/tests/components/homee/snapshots/test_select.ambr b/tests/components/homee/snapshots/test_select.ambr index 5b2fd981f54..df179678307 100644 --- a/tests/components/homee/snapshots/test_select.ambr +++ b/tests/components/homee/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_select_snapshot[select.test_select_displayed_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Select Displayed temperature', + : 'Test Select Displayed temperature', : list([ 'target', 'current', @@ -104,7 +104,7 @@ # name: test_select_snapshot[select.test_select_repeater_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Select Repeater mode', + : 'Test Select Repeater mode', : list([ 'off', 'level1', diff --git a/tests/components/homee/snapshots/test_sensor.ambr b/tests/components/homee/snapshots/test_sensor.ambr index 84595558d6d..0f1a6f7ac74 100644 --- a/tests/components/homee/snapshots/test_sensor.ambr +++ b/tests/components/homee/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test MultiSensor Battery', + : 'battery', + : 'Test MultiSensor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_multisensor_battery', @@ -99,10 +99,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_current_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test MultiSensor Current 1', + : 'current', + : 'Test MultiSensor Current 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_current_1', @@ -157,10 +157,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_current_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test MultiSensor Current 2', + : 'current', + : 'Test MultiSensor Current 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_current_2', @@ -212,10 +212,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_dawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Test MultiSensor Dawn', + : 'illuminance', + : 'Test MultiSensor Dawn', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.test_multisensor_dawn', @@ -270,10 +270,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_device_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test MultiSensor Device temperature', + : 'temperature', + : 'Test MultiSensor Device temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_device_temperature', @@ -328,10 +328,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_energy_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test MultiSensor Energy 1', + : 'energy', + : 'Test MultiSensor Energy 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_energy_1', @@ -386,10 +386,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_energy_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test MultiSensor Energy 2', + : 'energy', + : 'Test MultiSensor Energy 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_energy_2', @@ -441,9 +441,9 @@ # name: test_sensor_snapshot[sensor.test_multisensor_exhaust_motor_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test MultiSensor Exhaust motor speed', + : 'Test MultiSensor Exhaust motor speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.test_multisensor_exhaust_motor_speed', @@ -498,10 +498,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_external_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test MultiSensor External temperature', + : 'temperature', + : 'Test MultiSensor External temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_external_temperature', @@ -556,10 +556,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_floor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test MultiSensor Floor temperature', + : 'temperature', + : 'Test MultiSensor Floor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_floor_temperature', @@ -611,10 +611,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test MultiSensor Humidity', + : 'humidity', + : 'Test MultiSensor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_multisensor_humidity', @@ -666,9 +666,9 @@ # name: test_sensor_snapshot[sensor.test_multisensor_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test MultiSensor Illuminance', + : 'Test MultiSensor Illuminance', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_multisensor_illuminance', @@ -720,10 +720,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_illuminance_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Test MultiSensor Illuminance 1', + : 'illuminance', + : 'Test MultiSensor Illuminance 1', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.test_multisensor_illuminance_1', @@ -775,10 +775,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_illuminance_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Test MultiSensor Illuminance 1', + : 'illuminance', + : 'Test MultiSensor Illuminance 1', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.test_multisensor_illuminance_1_2', @@ -830,10 +830,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_illuminance_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Test MultiSensor Illuminance 2', + : 'illuminance', + : 'Test MultiSensor Illuminance 2', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.test_multisensor_illuminance_2', @@ -885,10 +885,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_indoor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test MultiSensor Indoor humidity', + : 'humidity', + : 'Test MultiSensor Indoor humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_multisensor_indoor_humidity', @@ -943,10 +943,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_indoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test MultiSensor Indoor temperature', + : 'temperature', + : 'Test MultiSensor Indoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_indoor_temperature', @@ -998,9 +998,9 @@ # name: test_sensor_snapshot[sensor.test_multisensor_intake_motor_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test MultiSensor Intake motor speed', + : 'Test MultiSensor Intake motor speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.test_multisensor_intake_motor_speed', @@ -1055,10 +1055,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Test MultiSensor Level', + : 'volume_storage', + : 'Test MultiSensor Level', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_level', @@ -1110,7 +1110,7 @@ # name: test_sensor_snapshot[sensor.test_multisensor_link_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test MultiSensor Link quality', + : 'Test MultiSensor Link quality', : , }), 'context': , @@ -1178,8 +1178,8 @@ # name: test_sensor_snapshot[sensor.test_multisensor_node_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test MultiSensor Node state', + : 'enum', + : 'Test MultiSensor Node state', : list([ 'available', 'unavailable', @@ -1250,10 +1250,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_operating_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test MultiSensor Operating hours', + : 'duration', + : 'Test MultiSensor Operating hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_operating_hours', @@ -1305,10 +1305,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_outdoor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test MultiSensor Outdoor humidity', + : 'humidity', + : 'Test MultiSensor Outdoor humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_multisensor_outdoor_humidity', @@ -1363,10 +1363,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test MultiSensor Outdoor temperature', + : 'temperature', + : 'Test MultiSensor Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_outdoor_temperature', @@ -1418,9 +1418,9 @@ # name: test_sensor_snapshot[sensor.test_multisensor_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test MultiSensor Position', + : 'Test MultiSensor Position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_multisensor_position', @@ -1478,8 +1478,8 @@ # name: test_sensor_snapshot[sensor.test_multisensor_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test MultiSensor State', + : 'enum', + : 'Test MultiSensor State', : list([ 'open', 'closed', @@ -1541,10 +1541,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test MultiSensor Temperature', + : 'temperature', + : 'Test MultiSensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_temperature', @@ -1599,10 +1599,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_total_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test MultiSensor Total current', + : 'current', + : 'Test MultiSensor Total current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_total_current', @@ -1657,10 +1657,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test MultiSensor Total energy', + : 'energy', + : 'Test MultiSensor Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_total_energy', @@ -1715,10 +1715,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test MultiSensor Total power', + : 'power', + : 'Test MultiSensor Total power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_total_power', @@ -1773,10 +1773,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_total_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test MultiSensor Total voltage', + : 'voltage', + : 'Test MultiSensor Total voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_total_voltage', @@ -1828,7 +1828,7 @@ # name: test_sensor_snapshot[sensor.test_multisensor_ultraviolet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test MultiSensor Ultraviolet', + : 'Test MultiSensor Ultraviolet', : , }), 'context': , @@ -1884,10 +1884,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_voltage_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test MultiSensor Voltage 1', + : 'voltage', + : 'Test MultiSensor Voltage 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_voltage_1', @@ -1942,10 +1942,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_voltage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test MultiSensor Voltage 2', + : 'voltage', + : 'Test MultiSensor Voltage 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_voltage_2', @@ -2003,10 +2003,10 @@ # name: test_sensor_snapshot[sensor.test_multisensor_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'Test MultiSensor Wind speed', + : 'wind_speed', + : 'Test MultiSensor Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_multisensor_wind_speed', @@ -2062,8 +2062,8 @@ # name: test_sensor_snapshot[sensor.test_multisensor_window_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test MultiSensor Window position', + : 'enum', + : 'Test MultiSensor Window position', : list([ 'closed', 'open', diff --git a/tests/components/homee/snapshots/test_siren.ambr b/tests/components/homee/snapshots/test_siren.ambr index b220d2cc822..ab7d1a2330e 100644 --- a/tests/components/homee/snapshots/test_siren.ambr +++ b/tests/components/homee/snapshots/test_siren.ambr @@ -39,8 +39,8 @@ # name: test_siren_snapshot[siren.test_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Siren', - 'supported_features': , + : 'Test Siren', + : , }), 'context': , 'entity_id': 'siren.test_siren', diff --git a/tests/components/homee/snapshots/test_switch.ambr b/tests/components/homee/snapshots/test_switch.ambr index fc42116f379..536b3bbb2af 100644 --- a/tests/components/homee/snapshots/test_switch.ambr +++ b/tests/components/homee/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_snapshot[switch.homeegrams_test_hg_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeegrams Test HG 1', + : 'Homeegrams Test HG 1', }), 'context': , 'entity_id': 'switch.homeegrams_test_hg_1', @@ -89,7 +89,7 @@ # name: test_switch_snapshot[switch.homeegrams_test_hg_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homeegrams Test HG 2', + : 'Homeegrams Test HG 2', }), 'context': , 'entity_id': 'switch.homeegrams_test_hg_2', @@ -139,8 +139,8 @@ # name: test_switch_snapshot[switch.test_switch_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Switch Child lock', + : 'switch', + : 'Test Switch Child lock', }), 'context': , 'entity_id': 'switch.test_switch_child_lock', @@ -190,8 +190,8 @@ # name: test_switch_snapshot[switch.test_switch_manual_operation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Switch Manual operation', + : 'switch', + : 'Test Switch Manual operation', }), 'context': , 'entity_id': 'switch.test_switch_manual_operation', @@ -241,8 +241,8 @@ # name: test_switch_snapshot[switch.test_switch_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Test Switch Switch 1', + : 'outlet', + : 'Test Switch Switch 1', }), 'context': , 'entity_id': 'switch.test_switch_switch_1', @@ -292,8 +292,8 @@ # name: test_switch_snapshot[switch.test_switch_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Test Switch Switch 2', + : 'outlet', + : 'Test Switch Switch 2', }), 'context': , 'entity_id': 'switch.test_switch_switch_2', @@ -343,8 +343,8 @@ # name: test_switch_snapshot[switch.test_switch_watchdog-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Switch Watchdog', + : 'switch', + : 'Test Switch Watchdog', }), 'context': , 'entity_id': 'switch.test_switch_watchdog', diff --git a/tests/components/homee/snapshots/test_valve.ambr b/tests/components/homee/snapshots/test_valve.ambr index bdbaf190504..7f62c2cadf8 100644 --- a/tests/components/homee/snapshots/test_valve.ambr +++ b/tests/components/homee/snapshots/test_valve.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'water', - 'friendly_name': 'Test Valve Valve position', + : 'water', + : 'Test Valve Valve position', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.test_valve_valve_position', diff --git a/tests/components/homekit_controller/snapshots/test_init.ambr b/tests/components/homekit_controller/snapshots/test_init.ambr index 1d6593cfd8f..85e765c4632 100644 --- a/tests/components/homekit_controller/snapshots/test_init.ambr +++ b/tests/components/homekit_controller/snapshots/test_init.ambr @@ -70,8 +70,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Airversa AP2 1808 Identify', + : 'identify', + : 'Airversa AP2 1808 Identify', }), 'entity_id': 'button.airversa_ap2_1808_identify', 'state': 'unknown', @@ -119,14 +119,14 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Airversa AP2 1808 AirPurifier', + : 'Airversa AP2 1808 AirPurifier', : 0, : 20.0, : 'auto', : list([ 'auto', ]), - 'supported_features': , + : , }), 'entity_id': 'fan.airversa_ap2_1808_airpurifier', 'state': 'off', @@ -175,7 +175,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Airversa AP2 1808 Air Purifier Mode', + : 'Airversa AP2 1808 Air Purifier Mode', : list([ 'automatic', 'manual', @@ -229,8 +229,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'enum', - 'friendly_name': 'Airversa AP2 1808 Air Purifier Status', + : 'enum', + : 'Airversa AP2 1808 Air Purifier Status', : list([ 'inactive', 'idle', @@ -281,8 +281,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'aqi', - 'friendly_name': 'Airversa AP2 1808 Air Quality', + : 'aqi', + : 'Airversa AP2 1808 Air Quality', : , }), 'entity_id': 'sensor.airversa_ap2_1808_air_quality', @@ -329,9 +329,9 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Airversa AP2 1808 Filter lifetime', + : 'Airversa AP2 1808 Filter lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.airversa_ap2_1808_filter_lifetime', 'state': '100.0', @@ -377,10 +377,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'pm25', - 'friendly_name': 'Airversa AP2 1808 PM2.5 Density', + : 'pm25', + : 'Airversa AP2 1808 PM2.5 Density', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'entity_id': 'sensor.airversa_ap2_1808_pm2_5_density', 'state': '3.0', @@ -433,8 +433,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'enum', - 'friendly_name': 'Airversa AP2 1808 Thread Capabilities', + : 'enum', + : 'Airversa AP2 1808 Thread Capabilities', : list([ 'border_router_capable', 'full', @@ -496,8 +496,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'enum', - 'friendly_name': 'Airversa AP2 1808 Thread Status', + : 'enum', + : 'Airversa AP2 1808 Thread Status', : list([ 'border_router', 'child', @@ -550,7 +550,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Airversa AP2 1808 Lock Physical Controls', + : 'Airversa AP2 1808 Lock Physical Controls', }), 'entity_id': 'switch.airversa_ap2_1808_lock_physical_controls', 'state': 'off', @@ -594,7 +594,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Airversa AP2 1808 Mute', + : 'Airversa AP2 1808 Mute', }), 'entity_id': 'switch.airversa_ap2_1808_mute', 'state': 'on', @@ -638,7 +638,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Airversa AP2 1808 Sleep Mode', + : 'Airversa AP2 1808 Sleep Mode', }), 'entity_id': 'switch.airversa_ap2_1808_sleep_mode', 'state': 'off', @@ -719,8 +719,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'eufy HomeBase2-0AAA Identify', + : 'identify', + : 'eufy HomeBase2-0AAA Identify', }), 'entity_id': 'button.eufy_homebase2_0aaa_identify', 'state': 'unknown', @@ -797,8 +797,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'eufyCam2-0000 Motion Sensor', + : 'motion', + : 'eufyCam2-0000 Motion Sensor', }), 'entity_id': 'binary_sensor.eufycam2_0000_motion_sensor', 'state': 'off', @@ -842,8 +842,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'eufyCam2-0000 Identify', + : 'identify', + : 'eufyCam2-0000 Identify', }), 'entity_id': 'button.eufycam2_0000_identify', 'state': 'unknown', @@ -887,8 +887,8 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'eufyCam2-0000', - 'supported_features': , + : 'eufyCam2-0000', + : , }), 'entity_id': 'camera.eufycam2_0000', 'state': 'idle', @@ -934,11 +934,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'eufyCam2-0000 Battery', - 'icon': 'mdi:battery-20', + : 'battery', + : 'eufyCam2-0000 Battery', + : 'mdi:battery-20', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.eufycam2_0000_battery', 'state': '17', @@ -982,7 +982,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'eufyCam2-0000 Mute', + : 'eufyCam2-0000 Mute', }), 'entity_id': 'switch.eufycam2_0000_mute', 'state': 'off', @@ -1059,8 +1059,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'eufyCam2-000A Motion Sensor', + : 'motion', + : 'eufyCam2-000A Motion Sensor', }), 'entity_id': 'binary_sensor.eufycam2_000a_motion_sensor', 'state': 'off', @@ -1104,8 +1104,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'eufyCam2-000A Identify', + : 'identify', + : 'eufyCam2-000A Identify', }), 'entity_id': 'button.eufycam2_000a_identify', 'state': 'unknown', @@ -1149,8 +1149,8 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'eufyCam2-000A', - 'supported_features': , + : 'eufyCam2-000A', + : , }), 'entity_id': 'camera.eufycam2_000a', 'state': 'idle', @@ -1196,11 +1196,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'eufyCam2-000A Battery', - 'icon': 'mdi:battery-40', + : 'battery', + : 'eufyCam2-000A Battery', + : 'mdi:battery-40', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.eufycam2_000a_battery', 'state': '38', @@ -1244,7 +1244,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'eufyCam2-000A Mute', + : 'eufyCam2-000A Mute', }), 'entity_id': 'switch.eufycam2_000a_mute', 'state': 'off', @@ -1321,8 +1321,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'eufyCam2-000A Motion Sensor', + : 'motion', + : 'eufyCam2-000A Motion Sensor', }), 'entity_id': 'binary_sensor.eufycam2_000a_motion_sensor_2', 'state': 'off', @@ -1366,8 +1366,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'eufyCam2-000A Identify', + : 'identify', + : 'eufyCam2-000A Identify', }), 'entity_id': 'button.eufycam2_000a_identify_2', 'state': 'unknown', @@ -1411,8 +1411,8 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'eufyCam2-000A', - 'supported_features': , + : 'eufyCam2-000A', + : , }), 'entity_id': 'camera.eufycam2_000a_2', 'state': 'idle', @@ -1458,11 +1458,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'eufyCam2-000A Battery', - 'icon': 'mdi:battery-alert', + : 'battery', + : 'eufyCam2-000A Battery', + : 'mdi:battery-alert', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.eufycam2_000a_battery_2', 'state': '100', @@ -1506,7 +1506,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'eufyCam2-000A Mute', + : 'eufyCam2-000A Mute', }), 'entity_id': 'switch.eufycam2_000a_mute_2', 'state': 'off', @@ -1590,8 +1590,8 @@ : None, : False, : None, - 'friendly_name': 'Aqara-Hub-E1-00A0 Security System', - 'supported_features': , + : 'Aqara-Hub-E1-00A0 Security System', + : , }), 'entity_id': 'alarm_control_panel.aqara_hub_e1_00a0_security_system', 'state': 'disarmed', @@ -1635,8 +1635,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Aqara-Hub-E1-00A0 Identify', + : 'identify', + : 'Aqara-Hub-E1-00A0 Identify', }), 'entity_id': 'button.aqara_hub_e1_00a0_identify', 'state': 'unknown', @@ -1685,7 +1685,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Aqara-Hub-E1-00A0 Volume', + : 'Aqara-Hub-E1-00A0 Volume', : 100, : 0.0, : , @@ -1733,7 +1733,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Aqara-Hub-E1-00A0 Pairing Mode', + : 'Aqara-Hub-E1-00A0 Pairing Mode', }), 'entity_id': 'switch.aqara_hub_e1_00a0_pairing_mode', 'state': 'off', @@ -1810,8 +1810,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Contact Sensor', + : 'opening', + : 'Contact Sensor', }), 'entity_id': 'binary_sensor.contact_sensor', 'state': 'off', @@ -1855,8 +1855,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Contact Sensor Identify', + : 'identify', + : 'Contact Sensor Identify', }), 'entity_id': 'button.contact_sensor_identify', 'state': 'unknown', @@ -1902,11 +1902,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Contact Sensor Battery Sensor', - 'icon': 'mdi:battery', + : 'battery', + : 'Contact Sensor Battery Sensor', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.contact_sensor_battery_sensor', 'state': '100', @@ -1990,8 +1990,8 @@ : None, : False, : None, - 'friendly_name': 'Aqara Hub-1563 Security System', - 'supported_features': , + : 'Aqara Hub-1563 Security System', + : , }), 'entity_id': 'alarm_control_panel.aqara_hub_1563_security_system', 'state': 'disarmed', @@ -2035,8 +2035,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Aqara Hub-1563 Identify', + : 'identify', + : 'Aqara Hub-1563 Identify', }), 'entity_id': 'button.aqara_hub_1563_identify', 'state': 'unknown', @@ -2090,7 +2090,7 @@ : None, : None, : None, - 'friendly_name': 'Aqara Hub-1563 Lightbulb-1563', + : 'Aqara Hub-1563 Lightbulb-1563', : None, : 6535, : 2000, @@ -2099,7 +2099,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.aqara_hub_1563_lightbulb_1563', @@ -2149,7 +2149,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Aqara Hub-1563 Volume', + : 'Aqara Hub-1563 Volume', : 100, : 0.0, : , @@ -2197,7 +2197,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Aqara Hub-1563 Pairing Mode', + : 'Aqara Hub-1563 Pairing Mode', }), 'entity_id': 'switch.aqara_hub_1563_pairing_mode', 'state': 'off', @@ -2278,8 +2278,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Programmable Switch Identify', + : 'identify', + : 'Programmable Switch Identify', }), 'entity_id': 'button.programmable_switch_identify', 'state': 'unknown', @@ -2325,11 +2325,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Programmable Switch Battery Sensor', - 'icon': 'mdi:battery', + : 'battery', + : 'Programmable Switch Battery Sensor', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.programmable_switch_battery_sensor', 'state': '100', @@ -2410,8 +2410,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'ArloBabyA0 Motion', + : 'motion', + : 'ArloBabyA0 Motion', }), 'entity_id': 'binary_sensor.arlobabya0_motion', 'state': 'off', @@ -2455,8 +2455,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'ArloBabyA0 Identify', + : 'identify', + : 'ArloBabyA0 Identify', }), 'entity_id': 'button.arlobabya0_identify', 'state': 'unknown', @@ -2500,8 +2500,8 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'ArloBabyA0', - 'supported_features': , + : 'ArloBabyA0', + : , }), 'entity_id': 'camera.arlobabya0', 'state': 'idle', @@ -2555,7 +2555,7 @@ : None, : None, : None, - 'friendly_name': 'ArloBabyA0 Nightlight', + : 'ArloBabyA0 Nightlight', : None, : 6535, : 2000, @@ -2564,7 +2564,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.arlobabya0_nightlight', @@ -2611,8 +2611,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'aqi', - 'friendly_name': 'ArloBabyA0 Air Quality', + : 'aqi', + : 'ArloBabyA0 Air Quality', : , }), 'entity_id': 'sensor.arlobabya0_air_quality', @@ -2659,11 +2659,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'ArloBabyA0 Battery', - 'icon': 'mdi:battery-80', + : 'battery', + : 'ArloBabyA0 Battery', + : 'mdi:battery-80', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.arlobabya0_battery', 'state': '82', @@ -2709,10 +2709,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'ArloBabyA0 Humidity', + : 'humidity', + : 'ArloBabyA0 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.arlobabya0_humidity', 'state': '60.099998', @@ -2761,10 +2761,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'ArloBabyA0 Temperature', + : 'temperature', + : 'ArloBabyA0 Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.arlobabya0_temperature', 'state': '24.0', @@ -2808,7 +2808,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'ArloBabyA0 Mute', + : 'ArloBabyA0 Mute', }), 'entity_id': 'switch.arlobabya0_mute', 'state': 'off', @@ -2852,7 +2852,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'ArloBabyA0 Mute', + : 'ArloBabyA0 Mute', }), 'entity_id': 'switch.arlobabya0_mute_2', 'state': 'off', @@ -2933,8 +2933,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'InWall Outlet-0394DE Identify', + : 'identify', + : 'InWall Outlet-0394DE Identify', }), 'entity_id': 'button.inwall_outlet_0394de_identify', 'state': 'unknown', @@ -2983,10 +2983,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'current', - 'friendly_name': 'InWall Outlet-0394DE Current', + : 'current', + : 'InWall Outlet-0394DE Current', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.inwall_outlet_0394de_current', 'state': '0.03', @@ -3035,10 +3035,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'current', - 'friendly_name': 'InWall Outlet-0394DE Current', + : 'current', + : 'InWall Outlet-0394DE Current', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.inwall_outlet_0394de_current_2', 'state': '0.05', @@ -3087,10 +3087,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'energy', - 'friendly_name': 'InWall Outlet-0394DE Energy kWh', + : 'energy', + : 'InWall Outlet-0394DE Energy kWh', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.inwall_outlet_0394de_energy_kwh', 'state': '379.69299', @@ -3139,10 +3139,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'energy', - 'friendly_name': 'InWall Outlet-0394DE Energy kWh', + : 'energy', + : 'InWall Outlet-0394DE Energy kWh', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.inwall_outlet_0394de_energy_kwh_2', 'state': '175.85001', @@ -3191,10 +3191,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'power', - 'friendly_name': 'InWall Outlet-0394DE Power', + : 'power', + : 'InWall Outlet-0394DE Power', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.inwall_outlet_0394de_power', 'state': '0.8', @@ -3243,10 +3243,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'power', - 'friendly_name': 'InWall Outlet-0394DE Power', + : 'power', + : 'InWall Outlet-0394DE Power', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.inwall_outlet_0394de_power_2', 'state': '0.8', @@ -3290,7 +3290,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'InWall Outlet-0394DE Outlet A', + : 'InWall Outlet-0394DE Outlet A', 'outlet_in_use': True, }), 'entity_id': 'switch.inwall_outlet_0394de_outlet_a', @@ -3335,7 +3335,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'InWall Outlet-0394DE Outlet B', + : 'InWall Outlet-0394DE Outlet B', 'outlet_in_use': True, }), 'entity_id': 'switch.inwall_outlet_0394de_outlet_b', @@ -3417,8 +3417,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Basement', + : 'motion', + : 'Basement', }), 'entity_id': 'binary_sensor.basement', 'state': 'off', @@ -3462,8 +3462,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Basement Identify', + : 'identify', + : 'Basement Identify', }), 'entity_id': 'button.basement_identify', 'state': 'unknown', @@ -3512,10 +3512,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Basement Temperature', + : 'temperature', + : 'Basement Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.basement_temperature', 'state': '20.7', @@ -3592,8 +3592,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'HomeW', + : 'motion', + : 'HomeW', }), 'entity_id': 'binary_sensor.homew', 'state': 'off', @@ -3637,8 +3637,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'HomeW', + : 'occupancy', + : 'HomeW', }), 'entity_id': 'binary_sensor.homew_2', 'state': 'on', @@ -3682,7 +3682,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HomeW Clear Hold', + : 'HomeW Clear Hold', }), 'entity_id': 'button.homew_clear_hold', 'state': 'unknown', @@ -3726,8 +3726,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HomeW Identify', + : 'identify', + : 'HomeW Identify', }), 'entity_id': 'button.homew_identify', 'state': 'unknown', @@ -3784,7 +3784,7 @@ 'attributes': dict({ : 34, : 21.8, - 'friendly_name': 'HomeW', + : 'HomeW', : 36, : , : list([ @@ -3797,7 +3797,7 @@ : 33.3, : 20, : 7.2, - 'supported_features': , + : , : None, : None, : 22.2, @@ -3850,7 +3850,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HomeW Current Mode', + : 'HomeW Current Mode', : list([ 'home', 'sleep', @@ -3904,7 +3904,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HomeW Temperature Display Units', + : 'HomeW Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -3954,10 +3954,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'HomeW Current Humidity', + : 'humidity', + : 'HomeW Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.homew_current_humidity', 'state': '34', @@ -4006,10 +4006,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'HomeW Current Temperature', + : 'temperature', + : 'HomeW Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.homew_current_temperature', 'state': '21.8', @@ -4086,8 +4086,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Kitchen', + : 'motion', + : 'Kitchen', }), 'entity_id': 'binary_sensor.kitchen', 'state': 'off', @@ -4131,8 +4131,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Kitchen Identify', + : 'identify', + : 'Kitchen Identify', }), 'entity_id': 'button.kitchen_identify', 'state': 'unknown', @@ -4181,10 +4181,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Kitchen Temperature', + : 'temperature', + : 'Kitchen Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.kitchen_temperature', 'state': '21.5', @@ -4261,8 +4261,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Porch', + : 'motion', + : 'Porch', }), 'entity_id': 'binary_sensor.porch', 'state': 'off', @@ -4306,8 +4306,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Porch Identify', + : 'identify', + : 'Porch Identify', }), 'entity_id': 'button.porch_identify', 'state': 'unknown', @@ -4356,10 +4356,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Porch Temperature', + : 'temperature', + : 'Porch Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.porch_temperature', 'state': '21', @@ -4440,8 +4440,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Basement Motion', + : 'motion', + : 'Basement Motion', }), 'entity_id': 'binary_sensor.basement_motion', 'state': 'off', @@ -4485,8 +4485,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Basement Occupancy', + : 'occupancy', + : 'Basement Occupancy', }), 'entity_id': 'binary_sensor.basement_occupancy', 'state': 'off', @@ -4530,8 +4530,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Basement Identify', + : 'identify', + : 'Basement Identify', }), 'entity_id': 'button.basement_identify', 'state': 'unknown', @@ -4577,11 +4577,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Basement Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Basement Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.basement_battery', 'state': '100', @@ -4630,10 +4630,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Basement Temperature', + : 'temperature', + : 'Basement Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.basement_temperature', 'state': '20.3', @@ -4710,8 +4710,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Basement Window 1 Contact', + : 'opening', + : 'Basement Window 1 Contact', }), 'entity_id': 'binary_sensor.basement_window_1_contact', 'state': 'off', @@ -4755,8 +4755,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Basement Window 1 Motion', + : 'motion', + : 'Basement Window 1 Motion', }), 'entity_id': 'binary_sensor.basement_window_1_motion', 'state': 'off', @@ -4800,8 +4800,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Basement Window 1 Occupancy', + : 'occupancy', + : 'Basement Window 1 Occupancy', }), 'entity_id': 'binary_sensor.basement_window_1_occupancy', 'state': 'off', @@ -4845,8 +4845,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Basement Window 1 Identify', + : 'identify', + : 'Basement Window 1 Identify', }), 'entity_id': 'button.basement_window_1_identify', 'state': 'unknown', @@ -4892,11 +4892,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Basement Window 1 Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Basement Window 1 Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.basement_window_1_battery', 'state': '100', @@ -4973,8 +4973,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Deck Door Contact', + : 'opening', + : 'Deck Door Contact', }), 'entity_id': 'binary_sensor.deck_door_contact', 'state': 'off', @@ -5018,8 +5018,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Deck Door Motion', + : 'motion', + : 'Deck Door Motion', }), 'entity_id': 'binary_sensor.deck_door_motion', 'state': 'off', @@ -5063,8 +5063,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Deck Door Occupancy', + : 'occupancy', + : 'Deck Door Occupancy', }), 'entity_id': 'binary_sensor.deck_door_occupancy', 'state': 'off', @@ -5108,8 +5108,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Deck Door Identify', + : 'identify', + : 'Deck Door Identify', }), 'entity_id': 'button.deck_door_identify', 'state': 'unknown', @@ -5155,11 +5155,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Deck Door Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Deck Door Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.deck_door_battery', 'state': '100', @@ -5236,8 +5236,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Front Door Contact', + : 'opening', + : 'Front Door Contact', }), 'entity_id': 'binary_sensor.front_door_contact', 'state': 'off', @@ -5281,8 +5281,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Front Door Motion', + : 'motion', + : 'Front Door Motion', }), 'entity_id': 'binary_sensor.front_door_motion', 'state': 'on', @@ -5326,8 +5326,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Front Door Occupancy', + : 'occupancy', + : 'Front Door Occupancy', }), 'entity_id': 'binary_sensor.front_door_occupancy', 'state': 'on', @@ -5371,8 +5371,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Front Door Identify', + : 'identify', + : 'Front Door Identify', }), 'entity_id': 'button.front_door_identify', 'state': 'unknown', @@ -5418,11 +5418,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Front Door Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Front Door Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.front_door_battery', 'state': '100', @@ -5499,8 +5499,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Garage Door Contact', + : 'opening', + : 'Garage Door Contact', }), 'entity_id': 'binary_sensor.garage_door_contact', 'state': 'off', @@ -5544,8 +5544,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Garage Door Motion', + : 'motion', + : 'Garage Door Motion', }), 'entity_id': 'binary_sensor.garage_door_motion', 'state': 'off', @@ -5589,8 +5589,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Garage Door Occupancy', + : 'occupancy', + : 'Garage Door Occupancy', }), 'entity_id': 'binary_sensor.garage_door_occupancy', 'state': 'on', @@ -5634,8 +5634,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Garage Door Identify', + : 'identify', + : 'Garage Door Identify', }), 'entity_id': 'button.garage_door_identify', 'state': 'unknown', @@ -5681,11 +5681,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Garage Door Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Garage Door Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.garage_door_battery', 'state': '100', @@ -5762,8 +5762,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Living Room Motion', + : 'motion', + : 'Living Room Motion', }), 'entity_id': 'binary_sensor.living_room_motion', 'state': 'off', @@ -5807,8 +5807,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Living Room Occupancy', + : 'occupancy', + : 'Living Room Occupancy', }), 'entity_id': 'binary_sensor.living_room_occupancy', 'state': 'off', @@ -5852,8 +5852,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Living Room Identify', + : 'identify', + : 'Living Room Identify', }), 'entity_id': 'button.living_room_identify', 'state': 'unknown', @@ -5899,11 +5899,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Living Room Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Living Room Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.living_room_battery', 'state': '100', @@ -5952,10 +5952,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Living Room Temperature', + : 'temperature', + : 'Living Room Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.living_room_temperature', 'state': '21.0', @@ -6032,8 +6032,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Living Room Window 1 Contact', + : 'opening', + : 'Living Room Window 1 Contact', }), 'entity_id': 'binary_sensor.living_room_window_1_contact', 'state': 'off', @@ -6077,8 +6077,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Living Room Window 1 Motion', + : 'motion', + : 'Living Room Window 1 Motion', }), 'entity_id': 'binary_sensor.living_room_window_1_motion', 'state': 'on', @@ -6122,8 +6122,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Living Room Window 1 Occupancy', + : 'occupancy', + : 'Living Room Window 1 Occupancy', }), 'entity_id': 'binary_sensor.living_room_window_1_occupancy', 'state': 'on', @@ -6167,8 +6167,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Living Room Window 1 Identify', + : 'identify', + : 'Living Room Window 1 Identify', }), 'entity_id': 'button.living_room_window_1_identify', 'state': 'unknown', @@ -6214,11 +6214,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Living Room Window 1 Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Living Room Window 1 Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.living_room_window_1_battery', 'state': '100', @@ -6295,8 +6295,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Loft window Contact', + : 'opening', + : 'Loft window Contact', }), 'entity_id': 'binary_sensor.loft_window_contact', 'state': 'off', @@ -6340,8 +6340,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Loft window Motion', + : 'motion', + : 'Loft window Motion', }), 'entity_id': 'binary_sensor.loft_window_motion', 'state': 'off', @@ -6385,8 +6385,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Loft window Occupancy', + : 'occupancy', + : 'Loft window Occupancy', }), 'entity_id': 'binary_sensor.loft_window_occupancy', 'state': 'off', @@ -6430,8 +6430,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Loft window Identify', + : 'identify', + : 'Loft window Identify', }), 'entity_id': 'button.loft_window_identify', 'state': 'unknown', @@ -6477,11 +6477,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Loft window Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Loft window Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.loft_window_battery', 'state': '100', @@ -6558,8 +6558,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Master BR Motion', + : 'motion', + : 'Master BR Motion', }), 'entity_id': 'binary_sensor.master_br_motion', 'state': 'off', @@ -6603,8 +6603,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Master BR Occupancy', + : 'occupancy', + : 'Master BR Occupancy', }), 'entity_id': 'binary_sensor.master_br_occupancy', 'state': 'on', @@ -6648,8 +6648,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Master BR Identify', + : 'identify', + : 'Master BR Identify', }), 'entity_id': 'button.master_br_identify', 'state': 'unknown', @@ -6695,11 +6695,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Master BR Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Master BR Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.master_br_battery', 'state': '100', @@ -6748,10 +6748,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Master BR Temperature', + : 'temperature', + : 'Master BR Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.master_br_temperature', 'state': '22.4', @@ -6828,8 +6828,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Master BR Window Contact', + : 'opening', + : 'Master BR Window Contact', }), 'entity_id': 'binary_sensor.master_br_window_contact', 'state': 'off', @@ -6873,8 +6873,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Master BR Window Motion', + : 'motion', + : 'Master BR Window Motion', }), 'entity_id': 'binary_sensor.master_br_window_motion', 'state': 'off', @@ -6918,8 +6918,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Master BR Window Occupancy', + : 'occupancy', + : 'Master BR Window Occupancy', }), 'entity_id': 'binary_sensor.master_br_window_occupancy', 'state': 'off', @@ -6963,8 +6963,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Master BR Window Identify', + : 'identify', + : 'Master BR Window Identify', }), 'entity_id': 'button.master_br_window_identify', 'state': 'unknown', @@ -7010,11 +7010,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Master BR Window Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Master BR Window Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.master_br_window_battery', 'state': '100', @@ -7091,7 +7091,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Thermostat Clear Hold', + : 'Thermostat Clear Hold', }), 'entity_id': 'button.thermostat_clear_hold', 'state': 'unknown', @@ -7135,8 +7135,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Thermostat Identify', + : 'identify', + : 'Thermostat Identify', }), 'entity_id': 'button.thermostat_identify', 'state': 'unknown', @@ -7200,7 +7200,7 @@ 'on', 'auto', ]), - 'friendly_name': 'Thermostat', + : 'Thermostat', : , : list([ , @@ -7210,7 +7210,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : None, : None, : None, @@ -7263,7 +7263,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Thermostat Current Mode', + : 'Thermostat Current Mode', : list([ 'home', 'sleep', @@ -7317,7 +7317,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Thermostat Temperature Display Units', + : 'Thermostat Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -7367,10 +7367,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'Thermostat Current Humidity', + : 'humidity', + : 'Thermostat Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.thermostat_current_humidity', 'state': '45.0', @@ -7419,10 +7419,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Thermostat Current Temperature', + : 'temperature', + : 'Thermostat Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.thermostat_current_temperature', 'state': '21.2', @@ -7499,8 +7499,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Upstairs BR Motion', + : 'motion', + : 'Upstairs BR Motion', }), 'entity_id': 'binary_sensor.upstairs_br_motion', 'state': 'off', @@ -7544,8 +7544,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Upstairs BR Occupancy', + : 'occupancy', + : 'Upstairs BR Occupancy', }), 'entity_id': 'binary_sensor.upstairs_br_occupancy', 'state': 'off', @@ -7589,8 +7589,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Upstairs BR Identify', + : 'identify', + : 'Upstairs BR Identify', }), 'entity_id': 'button.upstairs_br_identify', 'state': 'unknown', @@ -7636,11 +7636,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Upstairs BR Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Upstairs BR Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.upstairs_br_battery', 'state': '100', @@ -7689,10 +7689,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Upstairs BR Temperature', + : 'temperature', + : 'Upstairs BR Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.upstairs_br_temperature', 'state': '21.6', @@ -7769,8 +7769,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'opening', - 'friendly_name': 'Upstairs BR Window Contact', + : 'opening', + : 'Upstairs BR Window Contact', }), 'entity_id': 'binary_sensor.upstairs_br_window_contact', 'state': 'off', @@ -7814,8 +7814,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Upstairs BR Window Motion', + : 'motion', + : 'Upstairs BR Window Motion', }), 'entity_id': 'binary_sensor.upstairs_br_window_motion', 'state': 'off', @@ -7859,8 +7859,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Upstairs BR Window Occupancy', + : 'occupancy', + : 'Upstairs BR Window Occupancy', }), 'entity_id': 'binary_sensor.upstairs_br_window_occupancy', 'state': 'off', @@ -7904,8 +7904,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Upstairs BR Window Identify', + : 'identify', + : 'Upstairs BR Window Identify', }), 'entity_id': 'button.upstairs_br_window_identify', 'state': 'unknown', @@ -7951,11 +7951,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Upstairs BR Window Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Upstairs BR Window Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.upstairs_br_window_battery', 'state': '100', @@ -8036,8 +8036,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'HomeW', + : 'motion', + : 'HomeW', }), 'entity_id': 'binary_sensor.homew', 'state': 'off', @@ -8081,8 +8081,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'HomeW', + : 'occupancy', + : 'HomeW', }), 'entity_id': 'binary_sensor.homew_2', 'state': 'on', @@ -8126,7 +8126,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HomeW Clear Hold', + : 'HomeW Clear Hold', }), 'entity_id': 'button.homew_clear_hold', 'state': 'unknown', @@ -8170,8 +8170,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HomeW Identify', + : 'identify', + : 'HomeW Identify', }), 'entity_id': 'button.homew_identify', 'state': 'unknown', @@ -8228,7 +8228,7 @@ 'attributes': dict({ : 34, : 21.8, - 'friendly_name': 'HomeW', + : 'HomeW', : 36, : , : list([ @@ -8241,7 +8241,7 @@ : 33.3, : 20, : 7.2, - 'supported_features': , + : , : None, : None, : 22.2, @@ -8294,7 +8294,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HomeW Current Mode', + : 'HomeW Current Mode', : list([ 'home', 'sleep', @@ -8348,7 +8348,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HomeW Temperature Display Units', + : 'HomeW Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -8398,10 +8398,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'HomeW Current Humidity', + : 'humidity', + : 'HomeW Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.homew_current_humidity', 'state': '34', @@ -8450,10 +8450,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'HomeW Current Temperature', + : 'temperature', + : 'HomeW Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.homew_current_temperature', 'state': '21.8', @@ -8534,8 +8534,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Basement', + : 'motion', + : 'Basement', }), 'entity_id': 'binary_sensor.basement', 'state': 'off', @@ -8579,8 +8579,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Basement Identify', + : 'identify', + : 'Basement Identify', }), 'entity_id': 'button.basement_identify', 'state': 'unknown', @@ -8657,8 +8657,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HomeW Identify', + : 'identify', + : 'HomeW Identify', }), 'entity_id': 'button.homew_identify', 'state': 'unknown', @@ -8715,7 +8715,7 @@ 'attributes': dict({ : 34, : 21.8, - 'friendly_name': 'HomeW', + : 'HomeW', : 36, : , : list([ @@ -8728,7 +8728,7 @@ : 33.3, : 20, : 7.2, - 'supported_features': , + : , : None, : None, : 22.2, @@ -8780,7 +8780,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HomeW Temperature Display Units', + : 'HomeW Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -8830,10 +8830,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'HomeW Current Humidity', + : 'humidity', + : 'HomeW Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.homew_current_humidity', 'state': '34', @@ -8882,10 +8882,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'HomeW Current Temperature', + : 'temperature', + : 'HomeW Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.homew_current_temperature', 'state': '21.8', @@ -8962,8 +8962,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Kitchen', + : 'motion', + : 'Kitchen', }), 'entity_id': 'binary_sensor.kitchen', 'state': 'off', @@ -9007,8 +9007,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Kitchen Identify', + : 'identify', + : 'Kitchen Identify', }), 'entity_id': 'button.kitchen_identify', 'state': 'unknown', @@ -9057,10 +9057,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Kitchen Temperature', + : 'temperature', + : 'Kitchen Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.kitchen_temperature', 'state': '21.5', @@ -9137,8 +9137,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Porch', + : 'motion', + : 'Porch', }), 'entity_id': 'binary_sensor.porch', 'state': 'off', @@ -9182,8 +9182,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Porch Identify', + : 'identify', + : 'Porch Identify', }), 'entity_id': 'button.porch_identify', 'state': 'unknown', @@ -9232,10 +9232,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Porch Temperature', + : 'temperature', + : 'Porch Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.porch_temperature', 'state': '21', @@ -9316,8 +9316,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'My ecobee Motion', + : 'motion', + : 'My ecobee Motion', }), 'entity_id': 'binary_sensor.my_ecobee_motion', 'state': 'on', @@ -9361,8 +9361,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'My ecobee Occupancy', + : 'occupancy', + : 'My ecobee Occupancy', }), 'entity_id': 'binary_sensor.my_ecobee_occupancy', 'state': 'on', @@ -9406,7 +9406,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'My ecobee Clear Hold', + : 'My ecobee Clear Hold', }), 'entity_id': 'button.my_ecobee_clear_hold', 'state': 'unknown', @@ -9450,8 +9450,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'My ecobee Identify', + : 'identify', + : 'My ecobee Identify', }), 'entity_id': 'button.my_ecobee_identify', 'state': 'unknown', @@ -9517,7 +9517,7 @@ 'on', 'auto', ]), - 'friendly_name': 'My ecobee', + : 'My ecobee', : 36.0, : , : list([ @@ -9530,7 +9530,7 @@ : 33.3, : 20, : 7.2, - 'supported_features': , + : , : 25.6, : 7.2, : None, @@ -9583,7 +9583,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'My ecobee Current Mode', + : 'My ecobee Current Mode', : list([ 'home', 'sleep', @@ -9637,7 +9637,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'My ecobee Temperature Display Units', + : 'My ecobee Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -9687,10 +9687,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'My ecobee Current Humidity', + : 'humidity', + : 'My ecobee Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.my_ecobee_current_humidity', 'state': '55.0', @@ -9739,10 +9739,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'My ecobee Current Temperature', + : 'temperature', + : 'My ecobee Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.my_ecobee_current_temperature', 'state': '21.3', @@ -9823,8 +9823,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Master Fan', + : 'motion', + : 'Master Fan', }), 'entity_id': 'binary_sensor.master_fan', 'state': 'off', @@ -9868,8 +9868,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'occupancy', - 'friendly_name': 'Master Fan', + : 'occupancy', + : 'Master Fan', }), 'entity_id': 'binary_sensor.master_fan_2', 'state': 'off', @@ -9913,8 +9913,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Master Fan Identify', + : 'identify', + : 'Master Fan Identify', }), 'entity_id': 'button.master_fan_identify', 'state': 'unknown', @@ -9960,10 +9960,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'illuminance', - 'friendly_name': 'Master Fan Light Level', + : 'illuminance', + : 'Master Fan Light Level', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'entity_id': 'sensor.master_fan_light_level', 'state': '0', @@ -10012,10 +10012,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Master Fan Temperature', + : 'temperature', + : 'Master Fan Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.master_fan_temperature', 'state': '25.6', @@ -10059,7 +10059,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Master Fan', + : 'Master Fan', }), 'entity_id': 'switch.master_fan', 'state': 'off', @@ -10140,8 +10140,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Degree AA11 Identify', + : 'identify', + : 'Eve Degree AA11 Identify', }), 'entity_id': 'button.eve_degree_aa11_identify', 'state': 'unknown', @@ -10190,7 +10190,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Eve Degree AA11 Elevation', + : 'Eve Degree AA11 Elevation', : 9000, : -450, : , @@ -10243,7 +10243,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Eve Degree AA11 Temperature Display Units', + : 'Eve Degree AA11 Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -10296,10 +10296,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'pressure', - 'friendly_name': 'Eve Degree AA11 Air Pressure', + : 'pressure', + : 'Eve Degree AA11 Air Pressure', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.eve_degree_aa11_air_pressure', 'state': '1005.70001220703', @@ -10345,11 +10345,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Eve Degree AA11 Battery', - 'icon': 'mdi:battery-60', + : 'battery', + : 'Eve Degree AA11 Battery', + : 'mdi:battery-60', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.eve_degree_aa11_battery', 'state': '65', @@ -10395,10 +10395,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'Eve Degree AA11 Humidity', + : 'humidity', + : 'Eve Degree AA11 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.eve_degree_aa11_humidity', 'state': '59.4818115234375', @@ -10447,10 +10447,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Eve Degree AA11 Temperature', + : 'temperature', + : 'Eve Degree AA11 Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.eve_degree_aa11_temperature', 'state': '22.7719116210938', @@ -10531,8 +10531,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Energy 50FF Identify', + : 'identify', + : 'Eve Energy 50FF Identify', }), 'entity_id': 'button.eve_energy_50ff_identify', 'state': 'unknown', @@ -10581,10 +10581,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'current', - 'friendly_name': 'Eve Energy 50FF Amps', + : 'current', + : 'Eve Energy 50FF Amps', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.eve_energy_50ff_amps', 'state': '0', @@ -10633,10 +10633,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'energy', - 'friendly_name': 'Eve Energy 50FF Energy kWh', + : 'energy', + : 'Eve Energy 50FF Energy kWh', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.eve_energy_50ff_energy_kwh', 'state': '0.28999999165535', @@ -10685,10 +10685,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'power', - 'friendly_name': 'Eve Energy 50FF Power', + : 'power', + : 'Eve Energy 50FF Power', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.eve_energy_50ff_power', 'state': '0', @@ -10737,10 +10737,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'voltage', - 'friendly_name': 'Eve Energy 50FF Volts', + : 'voltage', + : 'Eve Energy 50FF Volts', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.eve_energy_50ff_volts', 'state': '0.400000005960464', @@ -10784,7 +10784,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Eve Energy 50FF', + : 'Eve Energy 50FF', 'outlet_in_use': True, }), 'entity_id': 'switch.eve_energy_50ff', @@ -10829,7 +10829,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Eve Energy 50FF Lock Physical Controls', + : 'Eve Energy 50FF Lock Physical Controls', }), 'entity_id': 'switch.eve_energy_50ff_lock_physical_controls', 'state': 'off', @@ -10910,8 +10910,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HAA-C718B3 Identify', + : 'identify', + : 'HAA-C718B3 Identify', }), 'entity_id': 'button.haa_c718b3_identify', 'state': 'unknown', @@ -10955,7 +10955,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HAA-C718B3 Setup', + : 'HAA-C718B3 Setup', }), 'entity_id': 'button.haa_c718b3_setup', 'state': 'unknown', @@ -10999,8 +10999,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'update', - 'friendly_name': 'HAA-C718B3 Update', + : 'update', + : 'HAA-C718B3 Update', }), 'entity_id': 'button.haa_c718b3_update', 'state': 'unknown', @@ -11047,13 +11047,13 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HAA-C718B3', + : 'HAA-C718B3', : 66, : 33.333333333333336, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.haa_c718b3', 'state': 'on', @@ -11134,8 +11134,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HAA-C718B3 Identify', + : 'identify', + : 'HAA-C718B3 Identify', }), 'entity_id': 'button.haa_c718b3_identify', 'state': 'unknown', @@ -11179,7 +11179,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'HAA-C718B3', + : 'HAA-C718B3', }), 'entity_id': 'switch.haa_c718b3', 'state': 'off', @@ -11260,8 +11260,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Family Room North Identify', + : 'identify', + : 'Family Room North Identify', }), 'entity_id': 'button.family_room_north_identify', 'state': 'unknown', @@ -11306,9 +11306,9 @@ 'state': dict({ 'attributes': dict({ : 98, - 'friendly_name': 'Family Room North', + : 'Family Room North', : False, - 'supported_features': , + : , }), 'entity_id': 'cover.family_room_north', 'state': 'open', @@ -11354,11 +11354,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Family Room North Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Family Room North Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.family_room_north_battery', 'state': '100', @@ -11435,8 +11435,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -11513,8 +11513,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Kitchen Window Identify', + : 'identify', + : 'Kitchen Window Identify', }), 'entity_id': 'button.kitchen_window_identify', 'state': 'unknown', @@ -11559,9 +11559,9 @@ 'state': dict({ 'attributes': dict({ : 100, - 'friendly_name': 'Kitchen Window', + : 'Kitchen Window', : False, - 'supported_features': , + : , }), 'entity_id': 'cover.kitchen_window', 'state': 'open', @@ -11607,11 +11607,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Kitchen Window Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Kitchen Window Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.kitchen_window_battery', 'state': '100', @@ -11692,8 +11692,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Ceiling Fan Identify', + : 'identify', + : 'Ceiling Fan Identify', }), 'entity_id': 'button.ceiling_fan_identify', 'state': 'unknown', @@ -11740,13 +11740,13 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Ceiling Fan', + : 'Ceiling Fan', : 0, : 1.0, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.ceiling_fan', 'state': 'off', @@ -11823,8 +11823,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Home Assistant Bridge Identify', + : 'identify', + : 'Home Assistant Bridge Identify', }), 'entity_id': 'button.home_assistant_bridge_identify', 'state': 'unknown', @@ -11901,8 +11901,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Living Room Fan Identify', + : 'identify', + : 'Living Room Fan Identify', }), 'entity_id': 'button.living_room_fan_identify', 'state': 'unknown', @@ -11950,13 +11950,13 @@ 'state': dict({ 'attributes': dict({ : 'forward', - 'friendly_name': 'Living Room Fan', + : 'Living Room Fan', : 0, : 1.0, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.living_room_fan', 'state': 'off', @@ -12037,8 +12037,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': '89 Living Room Identify', + : 'identify', + : '89 Living Room Identify', }), 'entity_id': 'button.89_living_room_identify', 'state': 'unknown', @@ -12093,7 +12093,7 @@ 'state': dict({ 'attributes': dict({ : 22.8, - 'friendly_name': '89 Living Room', + : '89 Living Room', : , : list([ , @@ -12103,7 +12103,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 1.0, }), 'entity_id': 'climate.89_living_room', @@ -12152,7 +12152,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': '89 Living Room', + : '89 Living Room', : False, : 33, : 33.333333333333336, @@ -12160,7 +12160,7 @@ : list([ 'auto', ]), - 'supported_features': , + : , }), 'entity_id': 'fan.89_living_room', 'state': 'on', @@ -12209,7 +12209,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': '89 Living Room Temperature Display Units', + : '89 Living Room Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -12259,10 +12259,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': '89 Living Room Current Humidity', + : 'humidity', + : '89 Living Room Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.89_living_room_current_humidity', 'state': '60', @@ -12311,10 +12311,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': '89 Living Room Current Temperature', + : 'temperature', + : '89 Living Room Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.89_living_room_current_temperature', 'state': '22.8', @@ -12391,8 +12391,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -12473,8 +12473,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -12551,8 +12551,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Laundry Smoke ED78 Identify', + : 'identify', + : 'Laundry Smoke ED78 Identify', }), 'entity_id': 'button.laundry_smoke_ed78_identify', 'state': 'unknown', @@ -12602,11 +12602,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Laundry Smoke ED78', + : 'Laundry Smoke ED78', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.laundry_smoke_ed78', 'state': 'off', @@ -12652,11 +12652,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Laundry Smoke ED78 Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Laundry Smoke ED78 Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.laundry_smoke_ed78_battery', 'state': '100', @@ -12737,8 +12737,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Family Room North Identify', + : 'identify', + : 'Family Room North Identify', }), 'entity_id': 'button.family_room_north_identify', 'state': 'unknown', @@ -12783,9 +12783,9 @@ 'state': dict({ 'attributes': dict({ : 98, - 'friendly_name': 'Family Room North', + : 'Family Room North', : False, - 'supported_features': , + : , }), 'entity_id': 'cover.family_room_north', 'state': 'open', @@ -12831,11 +12831,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Family Room North Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Family Room North Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.family_room_north_battery', 'state': '100', @@ -12912,8 +12912,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -12990,8 +12990,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Kitchen Window Identify', + : 'identify', + : 'Kitchen Window Identify', }), 'entity_id': 'button.kitchen_window_identify', 'state': 'unknown', @@ -13036,9 +13036,9 @@ 'state': dict({ 'attributes': dict({ : 100, - 'friendly_name': 'Kitchen Window', + : 'Kitchen Window', : False, - 'supported_features': , + : , }), 'entity_id': 'cover.kitchen_window', 'state': 'open', @@ -13084,11 +13084,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Kitchen Window Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Kitchen Window Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.kitchen_window_battery', 'state': '100', @@ -13169,8 +13169,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Ceiling Fan Identify', + : 'identify', + : 'Ceiling Fan Identify', }), 'entity_id': 'button.ceiling_fan_identify', 'state': 'unknown', @@ -13217,13 +13217,13 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Ceiling Fan', + : 'Ceiling Fan', : 0, : 1.0, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.ceiling_fan', 'state': 'off', @@ -13300,8 +13300,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Home Assistant Bridge Identify', + : 'identify', + : 'Home Assistant Bridge Identify', }), 'entity_id': 'button.home_assistant_bridge_identify', 'state': 'unknown', @@ -13378,8 +13378,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Living Room Fan Identify', + : 'identify', + : 'Living Room Fan Identify', }), 'entity_id': 'button.living_room_fan_identify', 'state': 'unknown', @@ -13427,14 +13427,14 @@ 'state': dict({ 'attributes': dict({ : 'forward', - 'friendly_name': 'Living Room Fan', + : 'Living Room Fan', : False, : 0, : 1.0, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.living_room_fan', 'state': 'off', @@ -13515,8 +13515,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Home Assistant Bridge Identify', + : 'identify', + : 'Home Assistant Bridge Identify', }), 'entity_id': 'button.home_assistant_bridge_identify', 'state': 'unknown', @@ -13593,8 +13593,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Living Room Fan Identify', + : 'identify', + : 'Living Room Fan Identify', }), 'entity_id': 'button.living_room_fan_identify', 'state': 'unknown', @@ -13642,14 +13642,14 @@ 'state': dict({ 'attributes': dict({ : 'forward', - 'friendly_name': 'Living Room Fan', + : 'Living Room Fan', : False, : 0, : 1.0, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.living_room_fan', 'state': 'off', @@ -13730,8 +13730,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': '89 Living Room Identify', + : 'identify', + : '89 Living Room Identify', }), 'entity_id': 'button.89_living_room_identify', 'state': 'unknown', @@ -13790,7 +13790,7 @@ 'state': dict({ 'attributes': dict({ : 22.8, - 'friendly_name': '89 Living Room', + : '89 Living Room', : , : list([ , @@ -13800,7 +13800,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 'vertical', : list([ 'off', @@ -13854,7 +13854,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': '89 Living Room', + : '89 Living Room', : False, : 33, : 33.333333333333336, @@ -13862,7 +13862,7 @@ : list([ 'auto', ]), - 'supported_features': , + : , }), 'entity_id': 'fan.89_living_room', 'state': 'on', @@ -13911,7 +13911,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': '89 Living Room Temperature Display Units', + : '89 Living Room Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -13961,10 +13961,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': '89 Living Room Current Humidity', + : 'humidity', + : '89 Living Room Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.89_living_room_current_humidity', 'state': '60', @@ -14013,10 +14013,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': '89 Living Room Current Temperature', + : 'temperature', + : '89 Living Room Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.89_living_room_current_temperature', 'state': '22.8', @@ -14093,8 +14093,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -14175,8 +14175,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -14253,8 +14253,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Humidifier 182A Identify', + : 'identify', + : 'Humidifier 182A Identify', }), 'entity_id': 'button.humidifier_182a_identify', 'state': 'unknown', @@ -14310,13 +14310,13 @@ 'auto', ]), : 0, - 'device_class': 'humidifier', - 'friendly_name': 'Humidifier 182A', + : 'humidifier', + : 'Humidifier 182A', : 45, : 100, : 0, : 'normal', - 'supported_features': , + : , }), 'entity_id': 'humidifier.humidifier_182a', 'state': 'off', @@ -14362,10 +14362,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'Humidifier 182A Current Humidity', + : 'humidity', + : 'Humidifier 182A Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.humidifier_182a_current_humidity', 'state': '0', @@ -14446,8 +14446,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -14524,8 +14524,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Humidifier 182A Identify', + : 'identify', + : 'Humidifier 182A Identify', }), 'entity_id': 'button.humidifier_182a_identify', 'state': 'unknown', @@ -14581,13 +14581,13 @@ 'auto', ]), : 0, - 'device_class': 'humidifier', - 'friendly_name': 'Humidifier 182A', + : 'humidifier', + : 'Humidifier 182A', : 45, : 80, : 20, : 'normal', - 'supported_features': , + : , }), 'entity_id': 'humidifier.humidifier_182a', 'state': 'off', @@ -14633,10 +14633,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'Humidifier 182A Current Humidity', + : 'humidity', + : 'Humidifier 182A Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.humidifier_182a_current_humidity', 'state': '0', @@ -14717,8 +14717,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'HASS Bridge S6 Identify', + : 'identify', + : 'HASS Bridge S6 Identify', }), 'entity_id': 'button.hass_bridge_s6_identify', 'state': 'unknown', @@ -14795,8 +14795,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Laundry Smoke ED78 Identify', + : 'identify', + : 'Laundry Smoke ED78 Identify', }), 'entity_id': 'button.laundry_smoke_ed78_identify', 'state': 'unknown', @@ -14850,7 +14850,7 @@ : None, : None, : None, - 'friendly_name': 'Laundry Smoke ED78', + : 'Laundry Smoke ED78', : None, : 6535, : 2000, @@ -14859,7 +14859,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.laundry_smoke_ed78', @@ -14906,11 +14906,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Laundry Smoke ED78 Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Laundry Smoke ED78 Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.laundry_smoke_ed78_battery', 'state': '100', @@ -14991,8 +14991,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Air Conditioner Identify', + : 'identify', + : 'Air Conditioner Identify', }), 'entity_id': 'button.air_conditioner_identify', 'state': 'unknown', @@ -15060,7 +15060,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Air Conditioner SlaveID 1', + : 'Air Conditioner SlaveID 1', : , : list([ , @@ -15070,7 +15070,7 @@ ]), : 32, : 18, - 'supported_features': , + : , : 0.5, : 24.5, }), @@ -15121,10 +15121,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Air Conditioner Current Temperature', + : 'temperature', + : 'Air Conditioner Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.air_conditioner_current_temperature', 'state': '27.9', @@ -15205,8 +15205,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue ambiance candle Identify', + : 'identify', + : 'Hue ambiance candle Identify', }), 'entity_id': 'button.hue_ambiance_candle_identify_4', 'state': 'unknown', @@ -15259,7 +15259,7 @@ : None, : None, : None, - 'friendly_name': 'Hue ambiance candle', + : 'Hue ambiance candle', : None, : 6535, : 2202, @@ -15267,7 +15267,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.hue_ambiance_candle_4', @@ -15345,8 +15345,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue ambiance candle Identify', + : 'identify', + : 'Hue ambiance candle Identify', }), 'entity_id': 'button.hue_ambiance_candle_identify_3', 'state': 'unknown', @@ -15399,7 +15399,7 @@ : None, : None, : None, - 'friendly_name': 'Hue ambiance candle', + : 'Hue ambiance candle', : None, : 6535, : 2202, @@ -15407,7 +15407,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.hue_ambiance_candle_3', @@ -15485,8 +15485,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue ambiance candle Identify', + : 'identify', + : 'Hue ambiance candle Identify', }), 'entity_id': 'button.hue_ambiance_candle_identify_2', 'state': 'unknown', @@ -15539,7 +15539,7 @@ : None, : None, : None, - 'friendly_name': 'Hue ambiance candle', + : 'Hue ambiance candle', : None, : 6535, : 2202, @@ -15547,7 +15547,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.hue_ambiance_candle_2', @@ -15625,8 +15625,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue ambiance candle Identify', + : 'identify', + : 'Hue ambiance candle Identify', }), 'entity_id': 'button.hue_ambiance_candle_identify', 'state': 'unknown', @@ -15679,7 +15679,7 @@ : None, : None, : None, - 'friendly_name': 'Hue ambiance candle', + : 'Hue ambiance candle', : None, : 6535, : 2202, @@ -15687,7 +15687,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.hue_ambiance_candle', @@ -15765,8 +15765,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue ambiance spot Identify', + : 'identify', + : 'Hue ambiance spot Identify', }), 'entity_id': 'button.hue_ambiance_spot_identify_2', 'state': 'unknown', @@ -15819,7 +15819,7 @@ : 255.0, : , : 2732, - 'friendly_name': 'Hue ambiance spot', + : 'Hue ambiance spot', : tuple( 28.327, 64.71, @@ -15834,7 +15834,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.522, 0.387, @@ -15915,8 +15915,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue ambiance spot Identify', + : 'identify', + : 'Hue ambiance spot Identify', }), 'entity_id': 'button.hue_ambiance_spot_identify', 'state': 'unknown', @@ -15969,7 +15969,7 @@ : 255.0, : , : 2732, - 'friendly_name': 'Hue ambiance spot', + : 'Hue ambiance spot', : tuple( 28.327, 64.71, @@ -15984,7 +15984,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.522, 0.387, @@ -16065,8 +16065,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue dimmer switch Identify', + : 'identify', + : 'Hue dimmer switch Identify', }), 'entity_id': 'button.hue_dimmer_switch_identify', 'state': 'unknown', @@ -16114,12 +16114,12 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'button', + : 'button', : None, : list([ 'single_press', ]), - 'friendly_name': 'Hue dimmer switch Button 1', + : 'Hue dimmer switch Button 1', }), 'entity_id': 'event.hue_dimmer_switch_button_1', 'state': 'unknown', @@ -16167,12 +16167,12 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'button', + : 'button', : None, : list([ 'single_press', ]), - 'friendly_name': 'Hue dimmer switch Button 2', + : 'Hue dimmer switch Button 2', }), 'entity_id': 'event.hue_dimmer_switch_button_2', 'state': 'unknown', @@ -16220,12 +16220,12 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'button', + : 'button', : None, : list([ 'single_press', ]), - 'friendly_name': 'Hue dimmer switch Button 3', + : 'Hue dimmer switch Button 3', }), 'entity_id': 'event.hue_dimmer_switch_button_3', 'state': 'unknown', @@ -16273,12 +16273,12 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'button', + : 'button', : None, : list([ 'single_press', ]), - 'friendly_name': 'Hue dimmer switch Button 4', + : 'Hue dimmer switch Button 4', }), 'entity_id': 'event.hue_dimmer_switch_button_4', 'state': 'unknown', @@ -16324,11 +16324,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Hue dimmer switch Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Hue dimmer switch Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.hue_dimmer_switch_battery', 'state': '100', @@ -16405,8 +16405,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue white lamp Identify', + : 'identify', + : 'Hue white lamp Identify', }), 'entity_id': 'button.hue_white_lamp_identify', 'state': 'unknown', @@ -16456,11 +16456,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Hue white lamp', + : 'Hue white lamp', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.hue_white_lamp', 'state': 'off', @@ -16537,8 +16537,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue white lamp Identify', + : 'identify', + : 'Hue white lamp Identify', }), 'entity_id': 'button.hue_white_lamp_identify_2', 'state': 'unknown', @@ -16588,11 +16588,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Hue white lamp', + : 'Hue white lamp', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.hue_white_lamp_2', 'state': 'off', @@ -16669,8 +16669,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue white lamp Identify', + : 'identify', + : 'Hue white lamp Identify', }), 'entity_id': 'button.hue_white_lamp_identify_4', 'state': 'unknown', @@ -16720,11 +16720,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Hue white lamp', + : 'Hue white lamp', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.hue_white_lamp_4', 'state': 'off', @@ -16801,8 +16801,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue white lamp Identify', + : 'identify', + : 'Hue white lamp Identify', }), 'entity_id': 'button.hue_white_lamp_identify_3', 'state': 'unknown', @@ -16852,11 +16852,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Hue white lamp', + : 'Hue white lamp', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.hue_white_lamp_3', 'state': 'off', @@ -16933,8 +16933,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue white lamp Identify', + : 'identify', + : 'Hue white lamp Identify', }), 'entity_id': 'button.hue_white_lamp_identify_7', 'state': 'unknown', @@ -16984,11 +16984,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Hue white lamp', + : 'Hue white lamp', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.hue_white_lamp_7', 'state': 'off', @@ -17065,8 +17065,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue white lamp Identify', + : 'identify', + : 'Hue white lamp Identify', }), 'entity_id': 'button.hue_white_lamp_identify_6', 'state': 'unknown', @@ -17116,11 +17116,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Hue white lamp', + : 'Hue white lamp', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.hue_white_lamp_6', 'state': 'off', @@ -17197,8 +17197,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Hue white lamp Identify', + : 'identify', + : 'Hue white lamp Identify', }), 'entity_id': 'button.hue_white_lamp_identify_5', 'state': 'unknown', @@ -17248,11 +17248,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Hue white lamp', + : 'Hue white lamp', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.hue_white_lamp_5', 'state': 'off', @@ -17329,8 +17329,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Philips hue - 482544 Identify', + : 'identify', + : 'Philips hue - 482544 Identify', }), 'entity_id': 'button.philips_hue_482544_identify', 'state': 'unknown', @@ -17411,8 +17411,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Koogeek-LS1-20833F Identify', + : 'identify', + : 'Koogeek-LS1-20833F Identify', }), 'entity_id': 'button.koogeek_ls1_20833f_identify', 'state': 'unknown', @@ -17466,7 +17466,7 @@ : None, : None, : None, - 'friendly_name': 'Koogeek-LS1-20833F Light Strip', + : 'Koogeek-LS1-20833F Light Strip', : None, : 6535, : 2000, @@ -17475,7 +17475,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'entity_id': 'light.koogeek_ls1_20833f_light_strip', @@ -17557,8 +17557,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Koogeek-P1-A00AA0 Identify', + : 'identify', + : 'Koogeek-P1-A00AA0 Identify', }), 'entity_id': 'button.koogeek_p1_a00aa0_identify', 'state': 'unknown', @@ -17607,10 +17607,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'power', - 'friendly_name': 'Koogeek-P1-A00AA0 Power', + : 'power', + : 'Koogeek-P1-A00AA0 Power', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.koogeek_p1_a00aa0_power', 'state': '5', @@ -17654,7 +17654,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Koogeek-P1-A00AA0 Outlet', + : 'Koogeek-P1-A00AA0 Outlet', 'outlet_in_use': True, }), 'entity_id': 'switch.koogeek_p1_a00aa0_outlet', @@ -17736,8 +17736,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Koogeek-SW2-187A91 Identify', + : 'identify', + : 'Koogeek-SW2-187A91 Identify', }), 'entity_id': 'button.koogeek_sw2_187a91_identify', 'state': 'unknown', @@ -17786,10 +17786,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'power', - 'friendly_name': 'Koogeek-SW2-187A91 Power', + : 'power', + : 'Koogeek-SW2-187A91 Power', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.koogeek_sw2_187a91_power', 'state': '0', @@ -17833,7 +17833,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Koogeek-SW2-187A91 Switch 1', + : 'Koogeek-SW2-187A91 Switch 1', }), 'entity_id': 'switch.koogeek_sw2_187a91_switch_1', 'state': 'off', @@ -17877,7 +17877,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Koogeek-SW2-187A91 Switch 2', + : 'Koogeek-SW2-187A91 Switch 2', }), 'entity_id': 'switch.koogeek_sw2_187a91_switch_2', 'state': 'off', @@ -17958,8 +17958,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Lennox Identify', + : 'identify', + : 'Lennox Identify', }), 'entity_id': 'button.lennox_identify', 'state': 'unknown', @@ -18014,7 +18014,7 @@ 'attributes': dict({ : 34, : 20.5, - 'friendly_name': 'Lennox', + : 'Lennox', : , : list([ , @@ -18024,7 +18024,7 @@ ]), : 37, : 4.5, - 'supported_features': , + : , : 29.5, : 21, : None, @@ -18076,7 +18076,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Lennox Temperature Display Units', + : 'Lennox Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -18126,10 +18126,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'Lennox Current Humidity', + : 'humidity', + : 'Lennox Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.lennox_current_humidity', 'state': '34', @@ -18178,10 +18178,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Lennox Current Temperature', + : 'temperature', + : 'Lennox Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.lennox_current_temperature', 'state': '20.5', @@ -18262,8 +18262,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'LG webOS TV AF80 Identify', + : 'identify', + : 'LG webOS TV AF80 Identify', }), 'entity_id': 'button.lg_webos_tv_af80_identify', 'state': 'unknown', @@ -18317,8 +18317,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'tv', - 'friendly_name': 'LG webOS TV AF80', + : 'tv', + : 'LG webOS TV AF80', : 'HDMI 4', : list([ 'AirPlay', @@ -18329,7 +18329,7 @@ 'AV', 'HDMI 4', ]), - 'supported_features': , + : , }), 'entity_id': 'media_player.lg_webos_tv_af80', 'state': 'on', @@ -18373,7 +18373,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'LG webOS TV AF80 Mute', + : 'LG webOS TV AF80 Mute', }), 'entity_id': 'switch.lg_webos_tv_af80_mute', 'state': 'off', @@ -18454,8 +18454,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Caséta® Wireless Fan Speed Control Identify', + : 'identify', + : 'Caséta® Wireless Fan Speed Control Identify', }), 'entity_id': 'button.caseta_r_wireless_fan_speed_control_identify', 'state': 'unknown', @@ -18502,13 +18502,13 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Caséta® Wireless Fan Speed Control', + : 'Caséta® Wireless Fan Speed Control', : 0, : 25.0, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.caseta_r_wireless_fan_speed_control', 'state': 'off', @@ -18585,8 +18585,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Smart Bridge 2 Identify', + : 'identify', + : 'Smart Bridge 2 Identify', }), 'entity_id': 'button.smart_bridge_2_identify', 'state': 'unknown', @@ -18667,8 +18667,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'MSS425F-15cc Identify', + : 'identify', + : 'MSS425F-15cc Identify', }), 'entity_id': 'button.mss425f_15cc_identify', 'state': 'unknown', @@ -18712,7 +18712,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'MSS425F-15cc Outlet-1', + : 'MSS425F-15cc Outlet-1', }), 'entity_id': 'switch.mss425f_15cc_outlet_1', 'state': 'on', @@ -18756,7 +18756,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'MSS425F-15cc Outlet-2', + : 'MSS425F-15cc Outlet-2', }), 'entity_id': 'switch.mss425f_15cc_outlet_2', 'state': 'on', @@ -18800,7 +18800,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'MSS425F-15cc Outlet-3', + : 'MSS425F-15cc Outlet-3', }), 'entity_id': 'switch.mss425f_15cc_outlet_3', 'state': 'on', @@ -18844,7 +18844,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'MSS425F-15cc Outlet-4', + : 'MSS425F-15cc Outlet-4', }), 'entity_id': 'switch.mss425f_15cc_outlet_4', 'state': 'on', @@ -18888,7 +18888,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'MSS425F-15cc USB', + : 'MSS425F-15cc USB', }), 'entity_id': 'switch.mss425f_15cc_usb', 'state': 'on', @@ -18969,8 +18969,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'MSS565-28da Identify', + : 'identify', + : 'MSS565-28da Identify', }), 'entity_id': 'button.mss565_28da_identify', 'state': 'unknown', @@ -19020,11 +19020,11 @@ 'attributes': dict({ : 170.85, : , - 'friendly_name': 'MSS565-28da Dimmer Switch', + : 'MSS565-28da Dimmer Switch', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.mss565_28da_dimmer_switch', 'state': 'on', @@ -19105,8 +19105,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Mysa-85dda9 Identify', + : 'identify', + : 'Mysa-85dda9 Identify', }), 'entity_id': 'button.mysa_85dda9_identify', 'state': 'unknown', @@ -19161,7 +19161,7 @@ 'attributes': dict({ : 40, : 24.1, - 'friendly_name': 'Mysa-85dda9 Thermostat', + : 'Mysa-85dda9 Thermostat', : , : list([ , @@ -19171,7 +19171,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : None, }), 'entity_id': 'climate.mysa_85dda9_thermostat', @@ -19222,11 +19222,11 @@ 'attributes': dict({ : None, : None, - 'friendly_name': 'Mysa-85dda9 Display', + : 'Mysa-85dda9 Display', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.mysa_85dda9_display', 'state': 'off', @@ -19275,7 +19275,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Mysa-85dda9 Temperature Display Units', + : 'Mysa-85dda9 Temperature Display Units', : list([ 'celsius', 'fahrenheit', @@ -19325,10 +19325,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'Mysa-85dda9 Current Humidity', + : 'humidity', + : 'Mysa-85dda9 Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.mysa_85dda9_current_humidity', 'state': '40', @@ -19377,10 +19377,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Mysa-85dda9 Current Temperature', + : 'temperature', + : 'Mysa-85dda9 Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.mysa_85dda9_current_temperature', 'state': '24.1', @@ -19461,8 +19461,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Nanoleaf Strip 3B32 Identify', + : 'identify', + : 'Nanoleaf Strip 3B32 Identify', }), 'entity_id': 'button.nanoleaf_strip_3b32_identify', 'state': 'unknown', @@ -19516,7 +19516,7 @@ : 255.0, : , : None, - 'friendly_name': 'Nanoleaf Strip 3B32 Nanoleaf Light Strip', + : 'Nanoleaf Strip 3B32 Nanoleaf Light Strip', : tuple( 30.0, 89.0, @@ -19532,7 +19532,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.588, 0.386, @@ -19589,8 +19589,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'enum', - 'friendly_name': 'Nanoleaf Strip 3B32 Thread Capabilities', + : 'enum', + : 'Nanoleaf Strip 3B32 Thread Capabilities', : list([ 'border_router_capable', 'full', @@ -19652,8 +19652,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'enum', - 'friendly_name': 'Nanoleaf Strip 3B32 Thread Status', + : 'enum', + : 'Nanoleaf Strip 3B32 Thread Status', : list([ 'border_router', 'child', @@ -19743,8 +19743,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'motion', - 'friendly_name': 'Netatmo-Doorbell-g738658 Motion Sensor', + : 'motion', + : 'Netatmo-Doorbell-g738658 Motion Sensor', }), 'entity_id': 'binary_sensor.netatmo_doorbell_g738658_motion_sensor', 'state': 'off', @@ -19788,8 +19788,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Netatmo-Doorbell-g738658 Identify', + : 'identify', + : 'Netatmo-Doorbell-g738658 Identify', }), 'entity_id': 'button.netatmo_doorbell_g738658_identify', 'state': 'unknown', @@ -19833,8 +19833,8 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Netatmo-Doorbell-g738658', - 'supported_features': , + : 'Netatmo-Doorbell-g738658', + : , }), 'entity_id': 'camera.netatmo_doorbell_g738658', 'state': 'idle', @@ -19884,14 +19884,14 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'doorbell', + : 'doorbell', : None, : list([ 'single_press', 'double_press', 'long_press', ]), - 'friendly_name': 'Netatmo-Doorbell-g738658', + : 'Netatmo-Doorbell-g738658', }), 'entity_id': 'event.netatmo_doorbell_g738658', 'state': 'unknown', @@ -19935,7 +19935,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Netatmo-Doorbell-g738658 Mute', + : 'Netatmo-Doorbell-g738658 Mute', }), 'entity_id': 'switch.netatmo_doorbell_g738658_mute', 'state': 'off', @@ -19979,7 +19979,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'Netatmo-Doorbell-g738658 Mute', + : 'Netatmo-Doorbell-g738658 Mute', }), 'entity_id': 'switch.netatmo_doorbell_g738658_mute_2', 'state': 'off', @@ -20060,8 +20060,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Smart CO Alarm Carbon Monoxide Sensor', + : 'carbon_monoxide', + : 'Smart CO Alarm Carbon Monoxide Sensor', }), 'entity_id': 'binary_sensor.smart_co_alarm_carbon_monoxide_sensor', 'state': 'off', @@ -20105,8 +20105,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Smart CO Alarm Low Battery', + : 'battery', + : 'Smart CO Alarm Low Battery', }), 'entity_id': 'binary_sensor.smart_co_alarm_low_battery', 'state': 'off', @@ -20150,8 +20150,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Smart CO Alarm Identify', + : 'identify', + : 'Smart CO Alarm Identify', }), 'entity_id': 'button.smart_co_alarm_identify', 'state': 'unknown', @@ -20232,8 +20232,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Healthy Home Coach Identify', + : 'identify', + : 'Healthy Home Coach Identify', }), 'entity_id': 'button.healthy_home_coach_identify', 'state': 'unknown', @@ -20279,8 +20279,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'aqi', - 'friendly_name': 'Healthy Home Coach Air Quality', + : 'aqi', + : 'Healthy Home Coach Air Quality', : , }), 'entity_id': 'sensor.healthy_home_coach_air_quality', @@ -20327,10 +20327,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Healthy Home Coach Carbon Dioxide sensor', + : 'carbon_dioxide', + : 'Healthy Home Coach Carbon Dioxide sensor', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'entity_id': 'sensor.healthy_home_coach_carbon_dioxide_sensor', 'state': '804', @@ -20376,10 +20376,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'Healthy Home Coach Humidity sensor', + : 'humidity', + : 'Healthy Home Coach Humidity sensor', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.healthy_home_coach_humidity_sensor', 'state': '59', @@ -20428,10 +20428,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'sound_pressure', - 'friendly_name': 'Healthy Home Coach Noise', + : 'sound_pressure', + : 'Healthy Home Coach Noise', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.healthy_home_coach_noise', 'state': '0', @@ -20480,10 +20480,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'Healthy Home Coach Temperature sensor', + : 'temperature', + : 'Healthy Home Coach Temperature sensor', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.healthy_home_coach_temperature_sensor', 'state': '22.9', @@ -20564,8 +20564,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'RainMachine-00ce4a Identify', + : 'identify', + : 'RainMachine-00ce4a Identify', }), 'entity_id': 'button.rainmachine_00ce4a_identify', 'state': 'unknown', @@ -20609,7 +20609,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -20656,7 +20656,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -20703,7 +20703,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -20750,7 +20750,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -20797,7 +20797,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -20844,7 +20844,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -20891,7 +20891,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -20938,7 +20938,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'RainMachine-00ce4a', + : 'RainMachine-00ce4a', 'in_use': False, 'is_configured': True, 'remaining_duration': 0, @@ -21022,8 +21022,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'Master Bath South Identify', + : 'identify', + : 'Master Bath South Identify', }), 'entity_id': 'button.master_bath_south_identify', 'state': 'unknown', @@ -21068,9 +21068,9 @@ 'state': dict({ 'attributes': dict({ : 0, - 'friendly_name': 'Master Bath South RYSE Shade', + : 'Master Bath South RYSE Shade', : True, - 'supported_features': , + : , }), 'entity_id': 'cover.master_bath_south_ryse_shade', 'state': 'closed', @@ -21116,11 +21116,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'Master Bath South RYSE Shade Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'Master Bath South RYSE Shade Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.master_bath_south_ryse_shade_battery', 'state': '100', @@ -21197,8 +21197,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'RYSE SmartBridge Identify', + : 'identify', + : 'RYSE SmartBridge Identify', }), 'entity_id': 'button.ryse_smartbridge_identify', 'state': 'unknown', @@ -21275,8 +21275,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'RYSE SmartShade Identify', + : 'identify', + : 'RYSE SmartShade Identify', }), 'entity_id': 'button.ryse_smartshade_identify', 'state': 'unknown', @@ -21321,9 +21321,9 @@ 'state': dict({ 'attributes': dict({ : 100, - 'friendly_name': 'RYSE SmartShade RYSE Shade', + : 'RYSE SmartShade RYSE Shade', : False, - 'supported_features': , + : , }), 'entity_id': 'cover.ryse_smartshade_ryse_shade', 'state': 'open', @@ -21369,11 +21369,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'RYSE SmartShade RYSE Shade Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'RYSE SmartShade RYSE Shade Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.ryse_smartshade_ryse_shade_battery', 'state': '100', @@ -21454,8 +21454,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'BR Left Identify', + : 'identify', + : 'BR Left Identify', }), 'entity_id': 'button.br_left_identify', 'state': 'unknown', @@ -21500,9 +21500,9 @@ 'state': dict({ 'attributes': dict({ : 100, - 'friendly_name': 'BR Left RYSE Shade', + : 'BR Left RYSE Shade', : False, - 'supported_features': , + : , }), 'entity_id': 'cover.br_left_ryse_shade', 'state': 'open', @@ -21548,11 +21548,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'BR Left RYSE Shade Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'BR Left RYSE Shade Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.br_left_ryse_shade_battery', 'state': '100', @@ -21629,8 +21629,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'LR Left Identify', + : 'identify', + : 'LR Left Identify', }), 'entity_id': 'button.lr_left_identify', 'state': 'unknown', @@ -21675,9 +21675,9 @@ 'state': dict({ 'attributes': dict({ : 0, - 'friendly_name': 'LR Left RYSE Shade', + : 'LR Left RYSE Shade', : True, - 'supported_features': , + : , }), 'entity_id': 'cover.lr_left_ryse_shade', 'state': 'closed', @@ -21723,11 +21723,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'LR Left RYSE Shade Battery', - 'icon': 'mdi:battery-90', + : 'battery', + : 'LR Left RYSE Shade Battery', + : 'mdi:battery-90', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.lr_left_ryse_shade_battery', 'state': '89', @@ -21804,8 +21804,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'LR Right Identify', + : 'identify', + : 'LR Right Identify', }), 'entity_id': 'button.lr_right_identify', 'state': 'unknown', @@ -21850,9 +21850,9 @@ 'state': dict({ 'attributes': dict({ : 0, - 'friendly_name': 'LR Right RYSE Shade', + : 'LR Right RYSE Shade', : True, - 'supported_features': , + : , }), 'entity_id': 'cover.lr_right_ryse_shade', 'state': 'closed', @@ -21898,11 +21898,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'LR Right RYSE Shade Battery', - 'icon': 'mdi:battery', + : 'battery', + : 'LR Right RYSE Shade Battery', + : 'mdi:battery', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.lr_right_ryse_shade_battery', 'state': '100', @@ -21979,8 +21979,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'RYSE SmartBridge Identify', + : 'identify', + : 'RYSE SmartBridge Identify', }), 'entity_id': 'button.ryse_smartbridge_identify', 'state': 'unknown', @@ -22057,8 +22057,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'RZSS Identify', + : 'identify', + : 'RZSS Identify', }), 'entity_id': 'button.rzss_identify', 'state': 'unknown', @@ -22103,9 +22103,9 @@ 'state': dict({ 'attributes': dict({ : 100, - 'friendly_name': 'RZSS RYSE Shade', + : 'RZSS RYSE Shade', : False, - 'supported_features': , + : , }), 'entity_id': 'cover.rzss_ryse_shade', 'state': 'open', @@ -22151,11 +22151,11 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'battery', - 'friendly_name': 'RZSS RYSE Shade Battery', - 'icon': 'mdi:battery-alert', + : 'battery', + : 'RZSS RYSE Shade Battery', + : 'mdi:battery-alert', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.rzss_ryse_shade_battery', 'state': '0', @@ -22236,8 +22236,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'SENSE Identify', + : 'identify', + : 'SENSE Identify', }), 'entity_id': 'button.sense_identify', 'state': 'unknown', @@ -22281,8 +22281,8 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'SENSE Lock Mechanism', - 'supported_features': , + : 'SENSE Lock Mechanism', + : , }), 'entity_id': 'lock.sense_lock_mechanism', 'state': 'unknown', @@ -22363,8 +22363,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'SIMPLEconnect Fan-06F674 Identify', + : 'identify', + : 'SIMPLEconnect Fan-06F674 Identify', }), 'entity_id': 'button.simpleconnect_fan_06f674_identify', 'state': 'unknown', @@ -22412,13 +22412,13 @@ 'state': dict({ 'attributes': dict({ : 'forward', - 'friendly_name': 'SIMPLEconnect Fan-06F674 Hunter Fan', + : 'SIMPLEconnect Fan-06F674 Hunter Fan', : 0, : 25.0, : None, : list([ ]), - 'supported_features': , + : , }), 'entity_id': 'fan.simpleconnect_fan_06f674_hunter_fan', 'state': 'off', @@ -22468,11 +22468,11 @@ 'attributes': dict({ : 76.5, : , - 'friendly_name': 'SIMPLEconnect Fan-06F674 Hunter Light', + : 'SIMPLEconnect Fan-06F674 Hunter Light', : list([ , ]), - 'supported_features': , + : , }), 'entity_id': 'light.simpleconnect_fan_06f674_hunter_light', 'state': 'on', @@ -22553,8 +22553,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VELUX Internal Cover Identify', + : 'identify', + : 'VELUX Internal Cover Identify', }), 'entity_id': 'button.velux_internal_cover_identify', 'state': 'unknown', @@ -22600,9 +22600,9 @@ 'attributes': dict({ : 0, : 100, - 'friendly_name': 'VELUX Internal Cover Venetian Blinds', + : 'VELUX Internal Cover Venetian Blinds', : True, - 'supported_features': , + : , }), 'entity_id': 'cover.velux_internal_cover_venetian_blinds', 'state': 'closed', @@ -22683,8 +22683,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'U by Moen-015F44 Identify', + : 'identify', + : 'U by Moen-015F44 Identify', }), 'entity_id': 'button.u_by_moen_015f44_identify', 'state': 'unknown', @@ -22739,7 +22739,7 @@ 'state': dict({ 'attributes': dict({ : 21.7, - 'friendly_name': 'U by Moen-015F44', + : 'U by Moen-015F44', : , : list([ , @@ -22749,7 +22749,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 1.0, : None, }), @@ -22800,10 +22800,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'U by Moen-015F44 Current Temperature', + : 'temperature', + : 'U by Moen-015F44 Current Temperature', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.u_by_moen_015f44_current_temperature', 'state': '21.66666', @@ -22847,7 +22847,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'U by Moen-015F44', + : 'U by Moen-015F44', }), 'entity_id': 'switch.u_by_moen_015f44', 'state': 'off', @@ -22891,7 +22891,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'U by Moen-015F44 Outlet 1', + : 'U by Moen-015F44 Outlet 1', 'in_use': False, }), 'entity_id': 'switch.u_by_moen_015f44_outlet_1', @@ -22936,7 +22936,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'U by Moen-015F44 Outlet 2', + : 'U by Moen-015F44 Outlet 2', 'in_use': False, }), 'entity_id': 'switch.u_by_moen_015f44_outlet_2', @@ -22981,7 +22981,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'U by Moen-015F44 Outlet 3', + : 'U by Moen-015F44 Outlet 3', 'in_use': False, }), 'entity_id': 'switch.u_by_moen_015f44_outlet_3', @@ -23026,7 +23026,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'U by Moen-015F44 Outlet 4', + : 'U by Moen-015F44 Outlet 4', 'in_use': False, }), 'entity_id': 'switch.u_by_moen_015f44_outlet_4', @@ -23108,8 +23108,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VELUX Sensor Identify', + : 'identify', + : 'VELUX Sensor Identify', }), 'entity_id': 'button.velux_sensor_identify', 'state': 'unknown', @@ -23155,10 +23155,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'VELUX Sensor Carbon Dioxide sensor', + : 'carbon_dioxide', + : 'VELUX Sensor Carbon Dioxide sensor', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'entity_id': 'sensor.velux_sensor_carbon_dioxide_sensor', 'state': '1124.0', @@ -23204,10 +23204,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'VELUX Sensor Humidity sensor', + : 'humidity', + : 'VELUX Sensor Humidity sensor', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.velux_sensor_humidity_sensor', 'state': '69.0', @@ -23256,10 +23256,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'VELUX Sensor Temperature sensor', + : 'temperature', + : 'VELUX Sensor Temperature sensor', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.velux_sensor_temperature_sensor', 'state': '23.9', @@ -23340,8 +23340,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VELUX Gateway Identify', + : 'identify', + : 'VELUX Gateway Identify', }), 'entity_id': 'button.velux_gateway_identify', 'state': 'unknown', @@ -23418,8 +23418,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VELUX Sensor Identify', + : 'identify', + : 'VELUX Sensor Identify', }), 'entity_id': 'button.velux_sensor_identify', 'state': 'unknown', @@ -23465,10 +23465,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'VELUX Sensor Carbon Dioxide sensor', + : 'carbon_dioxide', + : 'VELUX Sensor Carbon Dioxide sensor', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'entity_id': 'sensor.velux_sensor_carbon_dioxide_sensor', 'state': '400', @@ -23514,10 +23514,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'VELUX Sensor Humidity sensor', + : 'humidity', + : 'VELUX Sensor Humidity sensor', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.velux_sensor_humidity_sensor', 'state': '58', @@ -23566,10 +23566,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'temperature', - 'friendly_name': 'VELUX Sensor Temperature sensor', + : 'temperature', + : 'VELUX Sensor Temperature sensor', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.velux_sensor_temperature_sensor', 'state': '18.9', @@ -23646,8 +23646,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VELUX Window Identify', + : 'identify', + : 'VELUX Window Identify', }), 'entity_id': 'button.velux_window_identify', 'state': 'unknown', @@ -23692,10 +23692,10 @@ 'state': dict({ 'attributes': dict({ : 0, - 'device_class': 'window', - 'friendly_name': 'VELUX Window Roof Window', + : 'window', + : 'VELUX Window Roof Window', : True, - 'supported_features': , + : , }), 'entity_id': 'cover.velux_window_roof_window', 'state': 'closed', @@ -23776,8 +23776,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VELUX Window Identify', + : 'identify', + : 'VELUX Window Identify', }), 'entity_id': 'button.velux_window_identify', 'state': 'unknown', @@ -23822,10 +23822,10 @@ 'state': dict({ 'attributes': dict({ : 0, - 'device_class': 'window', - 'friendly_name': 'VELUX Window Roof Window', + : 'window', + : 'VELUX Window Roof Window', : True, - 'supported_features': , + : , }), 'entity_id': 'cover.velux_window_roof_window', 'state': 'closed', @@ -23906,8 +23906,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VELUX External Cover Identify', + : 'identify', + : 'VELUX External Cover Identify', }), 'entity_id': 'button.velux_external_cover_identify', 'state': 'unknown', @@ -23952,9 +23952,9 @@ 'state': dict({ 'attributes': dict({ : 0, - 'friendly_name': 'VELUX External Cover Awning Blinds', + : 'VELUX External Cover Awning Blinds', : True, - 'supported_features': , + : , }), 'entity_id': 'cover.velux_external_cover_awning_blinds', 'state': 'closed', @@ -24035,8 +24035,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VOCOlinc-Flowerbud-0d324b Identify', + : 'identify', + : 'VOCOlinc-Flowerbud-0d324b Identify', }), 'entity_id': 'button.vocolinc_flowerbud_0d324b_identify', 'state': 'unknown', @@ -24092,13 +24092,13 @@ 'auto', ]), : 45.0, - 'device_class': 'humidifier', - 'friendly_name': 'VOCOlinc-Flowerbud-0d324b', + : 'humidifier', + : 'VOCOlinc-Flowerbud-0d324b', : 100.0, : 100, : 0, : 'normal', - 'supported_features': , + : , }), 'entity_id': 'humidifier.vocolinc_flowerbud_0d324b', 'state': 'off', @@ -24152,7 +24152,7 @@ : 127.5, : , : None, - 'friendly_name': 'VOCOlinc-Flowerbud-0d324b Mood Light', + : 'VOCOlinc-Flowerbud-0d324b Mood Light', : tuple( 120.0, 100.0, @@ -24168,7 +24168,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.172, 0.747, @@ -24221,7 +24221,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'VOCOlinc-Flowerbud-0d324b Spray Quantity', + : 'VOCOlinc-Flowerbud-0d324b Spray Quantity', : 5, : 1, : , @@ -24271,10 +24271,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'humidity', - 'friendly_name': 'VOCOlinc-Flowerbud-0d324b Current Humidity', + : 'humidity', + : 'VOCOlinc-Flowerbud-0d324b Current Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'entity_id': 'sensor.vocolinc_flowerbud_0d324b_current_humidity', 'state': '45.0', @@ -24355,8 +24355,8 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'identify', - 'friendly_name': 'VOCOlinc-VP3-123456 Identify', + : 'identify', + : 'VOCOlinc-VP3-123456 Identify', }), 'entity_id': 'button.vocolinc_vp3_123456_identify', 'state': 'unknown', @@ -24405,10 +24405,10 @@ }), 'state': dict({ 'attributes': dict({ - 'device_class': 'power', - 'friendly_name': 'VOCOlinc-VP3-123456 Power', + : 'power', + : 'VOCOlinc-VP3-123456 Power', : , - 'unit_of_measurement': , + : , }), 'entity_id': 'sensor.vocolinc_vp3_123456_power', 'state': '0', @@ -24452,7 +24452,7 @@ }), 'state': dict({ 'attributes': dict({ - 'friendly_name': 'VOCOlinc-VP3-123456 Outlet', + : 'VOCOlinc-VP3-123456 Outlet', }), 'entity_id': 'switch.vocolinc_vp3_123456_outlet', 'state': 'on', diff --git a/tests/components/homevolt/snapshots/test_sensor.ambr b/tests/components/homevolt/snapshots/test_sensor.ambr index 6ca04c49ee0..83ae7e4e375 100644 --- a/tests/components/homevolt/snapshots/test_sensor.ambr +++ b/tests/components/homevolt/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_entities[sensor.homevolt_ems-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homevolt EMS', + : 'Homevolt EMS', : , - 'unit_of_measurement': 'cycles', + : 'cycles', }), 'context': , 'entity_id': 'sensor.homevolt_ems', @@ -98,10 +98,10 @@ # name: test_entities[sensor.homevolt_ems_available_charging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Homevolt EMS Available charging energy', + : 'energy', + : 'Homevolt EMS Available charging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_available_charging_energy', @@ -156,10 +156,10 @@ # name: test_entities[sensor.homevolt_ems_available_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS Available charging power', + : 'power', + : 'Homevolt EMS Available charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_available_charging_power', @@ -214,10 +214,10 @@ # name: test_entities[sensor.homevolt_ems_available_discharge_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Homevolt EMS Available discharge energy', + : 'energy', + : 'Homevolt EMS Available discharge energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_available_discharge_energy', @@ -272,10 +272,10 @@ # name: test_entities[sensor.homevolt_ems_available_discharge_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS Available discharge power', + : 'power', + : 'Homevolt EMS Available discharge power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_available_discharge_power', @@ -327,10 +327,10 @@ # name: test_entities[sensor.homevolt_ems_average_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Homevolt EMS Average RSSI', + : 'signal_strength', + : 'Homevolt EMS Average RSSI', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.homevolt_ems_average_rssi', @@ -382,10 +382,10 @@ # name: test_entities[sensor.homevolt_ems_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Homevolt EMS Battery', + : 'battery', + : 'Homevolt EMS Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.homevolt_ems_battery', @@ -440,10 +440,10 @@ # name: test_entities[sensor.homevolt_ems_energy_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Homevolt EMS Energy exported', + : 'energy', + : 'Homevolt EMS Energy exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_energy_exported', @@ -498,10 +498,10 @@ # name: test_entities[sensor.homevolt_ems_energy_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Homevolt EMS Energy imported', + : 'energy', + : 'Homevolt EMS Energy imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_energy_imported', @@ -556,10 +556,10 @@ # name: test_entities[sensor.homevolt_ems_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Homevolt EMS Frequency', + : 'frequency', + : 'Homevolt EMS Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_frequency', @@ -614,10 +614,10 @@ # name: test_entities[sensor.homevolt_ems_l1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Homevolt EMS L1 current', + : 'current', + : 'Homevolt EMS L1 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l1_current', @@ -672,10 +672,10 @@ # name: test_entities[sensor.homevolt_ems_l1_l2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Homevolt EMS L1-L2 voltage', + : 'voltage', + : 'Homevolt EMS L1-L2 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l1_l2_voltage', @@ -730,10 +730,10 @@ # name: test_entities[sensor.homevolt_ems_l1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS L1 power', + : 'power', + : 'Homevolt EMS L1 power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l1_power', @@ -788,10 +788,10 @@ # name: test_entities[sensor.homevolt_ems_l1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Homevolt EMS L1 voltage', + : 'voltage', + : 'Homevolt EMS L1 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l1_voltage', @@ -846,10 +846,10 @@ # name: test_entities[sensor.homevolt_ems_l2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Homevolt EMS L2 current', + : 'current', + : 'Homevolt EMS L2 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l2_current', @@ -904,10 +904,10 @@ # name: test_entities[sensor.homevolt_ems_l2_l3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Homevolt EMS L2-L3 voltage', + : 'voltage', + : 'Homevolt EMS L2-L3 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l2_l3_voltage', @@ -962,10 +962,10 @@ # name: test_entities[sensor.homevolt_ems_l2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS L2 power', + : 'power', + : 'Homevolt EMS L2 power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l2_power', @@ -1020,10 +1020,10 @@ # name: test_entities[sensor.homevolt_ems_l2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Homevolt EMS L2 voltage', + : 'voltage', + : 'Homevolt EMS L2 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l2_voltage', @@ -1078,10 +1078,10 @@ # name: test_entities[sensor.homevolt_ems_l3_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Homevolt EMS L3 current', + : 'current', + : 'Homevolt EMS L3 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l3_current', @@ -1136,10 +1136,10 @@ # name: test_entities[sensor.homevolt_ems_l3_l1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Homevolt EMS L3-L1 voltage', + : 'voltage', + : 'Homevolt EMS L3-L1 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l3_l1_voltage', @@ -1194,10 +1194,10 @@ # name: test_entities[sensor.homevolt_ems_l3_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS L3 power', + : 'power', + : 'Homevolt EMS L3 power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l3_power', @@ -1252,10 +1252,10 @@ # name: test_entities[sensor.homevolt_ems_l3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Homevolt EMS L3 voltage', + : 'voltage', + : 'Homevolt EMS L3 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_l3_voltage', @@ -1310,10 +1310,10 @@ # name: test_entities[sensor.homevolt_ems_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Homevolt EMS Maximum temperature', + : 'temperature', + : 'Homevolt EMS Maximum temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_maximum_temperature', @@ -1368,10 +1368,10 @@ # name: test_entities[sensor.homevolt_ems_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Homevolt EMS Minimum temperature', + : 'temperature', + : 'Homevolt EMS Minimum temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_minimum_temperature', @@ -1426,10 +1426,10 @@ # name: test_entities[sensor.homevolt_ems_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS Power', + : 'power', + : 'Homevolt EMS Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_power', @@ -1481,10 +1481,10 @@ # name: test_entities[sensor.homevolt_ems_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Homevolt EMS RSSI', + : 'signal_strength', + : 'Homevolt EMS RSSI', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.homevolt_ems_rssi', @@ -1534,7 +1534,7 @@ # name: test_entities[sensor.homevolt_ems_schedule_id-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homevolt EMS Schedule ID', + : 'Homevolt EMS Schedule ID', }), 'context': , 'entity_id': 'sensor.homevolt_ems_schedule_id', @@ -1589,10 +1589,10 @@ # name: test_entities[sensor.homevolt_ems_schedule_max_discharge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS Schedule max discharge', + : 'power', + : 'Homevolt EMS Schedule max discharge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_schedule_max_discharge', @@ -1647,10 +1647,10 @@ # name: test_entities[sensor.homevolt_ems_schedule_max_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS Schedule max power', + : 'power', + : 'Homevolt EMS Schedule max power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_schedule_max_power', @@ -1705,10 +1705,10 @@ # name: test_entities[sensor.homevolt_ems_schedule_power_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Homevolt EMS Schedule power setpoint', + : 'power', + : 'Homevolt EMS Schedule power setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_schedule_power_setpoint', @@ -1771,8 +1771,8 @@ # name: test_entities[sensor.homevolt_ems_schedule_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Homevolt EMS Schedule type', + : 'enum', + : 'Homevolt EMS Schedule type', : list([ 'idle', 'inverter_charge', @@ -1839,10 +1839,10 @@ # name: test_entities[sensor.homevolt_ems_system_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Homevolt EMS System temperature', + : 'temperature', + : 'Homevolt EMS System temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.homevolt_ems_system_temperature', diff --git a/tests/components/homevolt/snapshots/test_switch.ambr b/tests/components/homevolt/snapshots/test_switch.ambr index ab054dd2364..3cf49f465a5 100644 --- a/tests/components/homevolt/snapshots/test_switch.ambr +++ b/tests/components/homevolt/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.homevolt_ems_local_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homevolt EMS Local mode', + : 'Homevolt EMS Local mode', }), 'context': , 'entity_id': 'switch.homevolt_ems_local_mode', @@ -52,7 +52,7 @@ # name: test_switch_turn_on_off[turn_off-disable_local_mode][state-after-turn_off] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homevolt EMS Local mode', + : 'Homevolt EMS Local mode', }), 'context': , 'entity_id': 'switch.homevolt_ems_local_mode', @@ -65,7 +65,7 @@ # name: test_switch_turn_on_off[turn_on-enable_local_mode][state-after-turn_on] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Homevolt EMS Local mode', + : 'Homevolt EMS Local mode', }), 'context': , 'entity_id': 'switch.homevolt_ems_local_mode', diff --git a/tests/components/homewizard/snapshots/test_button.ambr b/tests/components/homewizard/snapshots/test_button.ambr index 89b29d2f60e..d1c4c93824c 100644 --- a/tests/components/homewizard/snapshots/test_button.ambr +++ b/tests/components/homewizard/snapshots/test_button.ambr @@ -2,8 +2,8 @@ # name: test_identify_button StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Device Identify', + : 'identify', + : 'Device Identify', }), 'context': , 'entity_id': 'button.device_identify', diff --git a/tests/components/homewizard/snapshots/test_number.ambr b/tests/components/homewizard/snapshots/test_number.ambr index 84ac55925b9..856ca1f32b3 100644 --- a/tests/components/homewizard/snapshots/test_number.ambr +++ b/tests/components/homewizard/snapshots/test_number.ambr @@ -2,12 +2,12 @@ # name: test_number_entities[HWE-SKT-11] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Status light brightness', + : 'Device Status light brightness', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_status_light_brightness', @@ -97,12 +97,12 @@ # name: test_number_entities[HWE-SKT-21] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Status light brightness', + : 'Device Status light brightness', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.device_status_light_brightness', diff --git a/tests/components/homewizard/snapshots/test_select.ambr b/tests/components/homewizard/snapshots/test_select.ambr index 51015aebbf7..2fd3327220f 100644 --- a/tests/components/homewizard/snapshots/test_select.ambr +++ b/tests/components/homewizard/snapshots/test_select.ambr @@ -2,7 +2,7 @@ # name: test_select_entity_snapshots[HWE-P1-select.device_battery_group_charging_strategy] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Battery group charging strategy', + : 'Device Battery group charging strategy', : list([ 'standby', 'to_full', diff --git a/tests/components/homewizard/snapshots/test_sensor.ambr b/tests/components/homewizard/snapshots/test_sensor.ambr index 2919a84d6e2..cdd4f676608 100644 --- a/tests/components/homewizard/snapshots/test_sensor.ambr +++ b/tests/components/homewizard/snapshots/test_sensor.ambr @@ -76,7 +76,7 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_battery_cycles:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Battery cycles', + : 'Device Battery cycles', : , }), 'context': , @@ -167,10 +167,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_current:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current', + : 'current', + : 'Device Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current', @@ -260,10 +260,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -353,10 +353,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -446,10 +446,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -539,10 +539,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -632,10 +632,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_production_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Production power', + : 'power', + : 'Device Production power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_production_power', @@ -725,10 +725,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_state_of_charge:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Device State of charge', + : 'battery', + : 'Device State of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_state_of_charge', @@ -813,8 +813,8 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_uptime:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Device Uptime', + : 'uptime', + : 'Device Uptime', }), 'context': , 'entity_id': 'sensor.device_uptime', @@ -904,10 +904,10 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_voltage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage', + : 'voltage', + : 'Device Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage', @@ -994,9 +994,9 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_wi_fi_rssi:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi RSSI', + : 'Device Wi-Fi RSSI', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.device_wi_fi_rssi', @@ -1081,7 +1081,7 @@ # name: test_sensors[HWE-BAT-entity_ids11][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -1171,10 +1171,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_apparent_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power', + : 'apparent_power', + : 'Device Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power', @@ -1264,10 +1264,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_current:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current', + : 'current', + : 'Device Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current', @@ -1357,10 +1357,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -1450,10 +1450,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -1543,10 +1543,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -1636,10 +1636,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -1726,10 +1726,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_power_factor:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor', + : 'power_factor', + : 'Device Power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor', @@ -1819,10 +1819,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_production_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Production power', + : 'power', + : 'Device Production power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_production_power', @@ -1912,10 +1912,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_reactive_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power', + : 'reactive_power', + : 'Device Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power', @@ -2005,10 +2005,10 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_voltage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage', + : 'voltage', + : 'Device Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage', @@ -2093,7 +2093,7 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -2180,9 +2180,9 @@ # name: test_sensors[HWE-KWH1-entity_ids8][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -2272,10 +2272,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_apparent_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power', + : 'apparent_power', + : 'Device Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power', @@ -2365,10 +2365,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_apparent_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power phase 1', + : 'apparent_power', + : 'Device Apparent power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power_phase_1', @@ -2458,10 +2458,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_apparent_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power phase 2', + : 'apparent_power', + : 'Device Apparent power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power_phase_2', @@ -2551,10 +2551,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_apparent_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power phase 3', + : 'apparent_power', + : 'Device Apparent power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power_phase_3', @@ -2644,10 +2644,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_current:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current', + : 'current', + : 'Device Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current', @@ -2737,10 +2737,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_current_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 1', + : 'current', + : 'Device Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_1', @@ -2830,10 +2830,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_current_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 2', + : 'current', + : 'Device Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_2', @@ -2923,10 +2923,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_current_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 3', + : 'current', + : 'Device Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_3', @@ -3016,10 +3016,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -3109,10 +3109,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -3202,10 +3202,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -3295,10 +3295,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -3385,10 +3385,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_power_factor_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor phase 1', + : 'power_factor', + : 'Device Power factor phase 1', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor_phase_1', @@ -3475,10 +3475,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_power_factor_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor phase 2', + : 'power_factor', + : 'Device Power factor phase 2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor_phase_2', @@ -3565,10 +3565,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_power_factor_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor phase 3', + : 'power_factor', + : 'Device Power factor phase 3', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor_phase_3', @@ -3658,10 +3658,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -3751,10 +3751,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 2', + : 'power', + : 'Device Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_2', @@ -3844,10 +3844,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 3', + : 'power', + : 'Device Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_3', @@ -3937,10 +3937,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_production_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Production power', + : 'power', + : 'Device Production power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_production_power', @@ -4030,10 +4030,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_reactive_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power', + : 'reactive_power', + : 'Device Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power', @@ -4123,10 +4123,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_reactive_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power phase 1', + : 'reactive_power', + : 'Device Reactive power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power_phase_1', @@ -4216,10 +4216,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_reactive_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power phase 2', + : 'reactive_power', + : 'Device Reactive power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power_phase_2', @@ -4309,10 +4309,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_reactive_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power phase 3', + : 'reactive_power', + : 'Device Reactive power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power_phase_3', @@ -4402,10 +4402,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_voltage_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 1', + : 'voltage', + : 'Device Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_1', @@ -4495,10 +4495,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_voltage_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 2', + : 'voltage', + : 'Device Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_2', @@ -4588,10 +4588,10 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_voltage_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 3', + : 'voltage', + : 'Device Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_3', @@ -4676,7 +4676,7 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -4763,9 +4763,9 @@ # name: test_sensors[HWE-KWH3-entity_ids9][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -4853,9 +4853,9 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_average_demand:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Average demand', - 'unit_of_measurement': , + : 'power', + : 'Device Average demand', + : , }), 'context': , 'entity_id': 'sensor.device_average_demand', @@ -4945,10 +4945,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_battery_group_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Battery group power', + : 'power', + : 'Device Battery group power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_battery_group_power', @@ -5038,10 +5038,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_battery_group_target_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Battery group target power', + : 'power', + : 'Device Battery group target power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_battery_group_target_power', @@ -5131,10 +5131,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_current_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 1', + : 'current', + : 'Device Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_1', @@ -5224,10 +5224,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_current_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 2', + : 'current', + : 'Device Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_2', @@ -5317,10 +5317,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_current_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 3', + : 'current', + : 'Device Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_3', @@ -5405,7 +5405,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_dsmr_version:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device DSMR version', + : 'Device DSMR version', }), 'context': , 'entity_id': 'sensor.device_dsmr_version', @@ -5495,10 +5495,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -5588,10 +5588,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_export_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 1', + : 'energy', + : 'Device Energy export tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_1', @@ -5681,10 +5681,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_export_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 2', + : 'energy', + : 'Device Energy export tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_2', @@ -5774,10 +5774,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_export_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 3', + : 'energy', + : 'Device Energy export tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_3', @@ -5867,10 +5867,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_export_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 4', + : 'energy', + : 'Device Energy export tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_4', @@ -5960,10 +5960,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -6053,10 +6053,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_import_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 1', + : 'energy', + : 'Device Energy import tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_1', @@ -6146,10 +6146,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_import_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 2', + : 'energy', + : 'Device Energy import tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_2', @@ -6239,10 +6239,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_import_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 3', + : 'energy', + : 'Device Energy import tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_3', @@ -6332,10 +6332,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_energy_import_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 4', + : 'energy', + : 'Device Energy import tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_4', @@ -6425,10 +6425,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -6513,7 +6513,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_long_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Long power failures detected', + : 'Device Long power failures detected', }), 'context': , 'entity_id': 'sensor.device_long_power_failures_detected', @@ -6601,9 +6601,9 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_peak_demand_current_month:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Peak demand current month', - 'unit_of_measurement': , + : 'power', + : 'Device Peak demand current month', + : , }), 'context': , 'entity_id': 'sensor.device_peak_demand_current_month', @@ -6693,10 +6693,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -6781,7 +6781,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Power failures detected', + : 'Device Power failures detected', }), 'context': , 'entity_id': 'sensor.device_power_failures_detected', @@ -6871,10 +6871,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -6964,10 +6964,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 2', + : 'power', + : 'Device Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_2', @@ -7057,10 +7057,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 3', + : 'power', + : 'Device Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_3', @@ -7145,7 +7145,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_smart_meter_identifier:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Smart meter identifier', + : 'Device Smart meter identifier', }), 'context': , 'entity_id': 'sensor.device_smart_meter_identifier', @@ -7230,7 +7230,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_smart_meter_model:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Smart meter model', + : 'Device Smart meter model', }), 'context': , 'entity_id': 'sensor.device_smart_meter_model', @@ -7322,8 +7322,8 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_tariff:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Device Tariff', + : 'enum', + : 'Device Tariff', : list([ '1', '2', @@ -7419,10 +7419,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_total_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Device Total water usage', + : 'water', + : 'Device Total water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_total_water_usage', @@ -7512,10 +7512,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 1', + : 'voltage', + : 'Device Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_1', @@ -7605,10 +7605,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 2', + : 'voltage', + : 'Device Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_2', @@ -7698,10 +7698,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 3', + : 'voltage', + : 'Device Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_3', @@ -7786,7 +7786,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_sags_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 1', + : 'Device Voltage sags detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_1', @@ -7871,7 +7871,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_sags_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 2', + : 'Device Voltage sags detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_2', @@ -7956,7 +7956,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_sags_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 3', + : 'Device Voltage sags detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_3', @@ -8041,7 +8041,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_swells_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 1', + : 'Device Voltage swells detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_1', @@ -8126,7 +8126,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_swells_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 2', + : 'Device Voltage swells detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_2', @@ -8211,7 +8211,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_voltage_swells_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 3', + : 'Device Voltage swells detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_3', @@ -8301,10 +8301,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Device Water usage', + : 'volume_flow_rate', + : 'Device Water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_water_usage', @@ -8389,7 +8389,7 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -8476,9 +8476,9 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -8564,10 +8564,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.gas_meter_gas:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas meter Gas', + : 'gas', + : 'Gas meter Gas', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_meter_gas', @@ -8653,10 +8653,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.heat_meter_energy:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat meter Energy', + : 'energy', + : 'Heat meter Energy', : , - 'unit_of_measurement': 'GJ', + : 'GJ', }), 'context': , 'entity_id': 'sensor.heat_meter_energy', @@ -8739,9 +8739,9 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.inlet_heat_meter:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inlet heat meter', + : 'Inlet heat meter', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inlet_heat_meter', @@ -8827,10 +8827,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.warm_water_meter_water:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Warm water meter Water', + : 'water', + : 'Warm water meter Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warm_water_meter_water', @@ -8916,10 +8916,10 @@ # name: test_sensors[HWE-P1-entity_ids0][sensor.water_meter_water:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water meter Water', + : 'water', + : 'Water meter Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_meter_water', @@ -9007,9 +9007,9 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_average_demand:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Average demand', - 'unit_of_measurement': , + : 'power', + : 'Device Average demand', + : , }), 'context': , 'entity_id': 'sensor.device_average_demand', @@ -9099,10 +9099,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_current_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 1', + : 'current', + : 'Device Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_1', @@ -9192,10 +9192,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_current_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 2', + : 'current', + : 'Device Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_2', @@ -9285,10 +9285,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_current_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 3', + : 'current', + : 'Device Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_3', @@ -9373,7 +9373,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_dsmr_version:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device DSMR version', + : 'Device DSMR version', }), 'context': , 'entity_id': 'sensor.device_dsmr_version', @@ -9463,10 +9463,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -9556,10 +9556,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_export_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 1', + : 'energy', + : 'Device Energy export tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_1', @@ -9649,10 +9649,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_export_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 2', + : 'energy', + : 'Device Energy export tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_2', @@ -9742,10 +9742,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_export_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 3', + : 'energy', + : 'Device Energy export tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_3', @@ -9835,10 +9835,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_export_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 4', + : 'energy', + : 'Device Energy export tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_4', @@ -9928,10 +9928,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -10021,10 +10021,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_import_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 1', + : 'energy', + : 'Device Energy import tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_1', @@ -10114,10 +10114,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_import_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 2', + : 'energy', + : 'Device Energy import tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_2', @@ -10207,10 +10207,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_import_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 3', + : 'energy', + : 'Device Energy import tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_3', @@ -10300,10 +10300,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_energy_import_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 4', + : 'energy', + : 'Device Energy import tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_4', @@ -10393,10 +10393,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -10481,7 +10481,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_long_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Long power failures detected', + : 'Device Long power failures detected', }), 'context': , 'entity_id': 'sensor.device_long_power_failures_detected', @@ -10569,9 +10569,9 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_peak_demand_current_month:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Peak demand current month', - 'unit_of_measurement': , + : 'power', + : 'Device Peak demand current month', + : , }), 'context': , 'entity_id': 'sensor.device_peak_demand_current_month', @@ -10661,10 +10661,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -10749,7 +10749,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Power failures detected', + : 'Device Power failures detected', }), 'context': , 'entity_id': 'sensor.device_power_failures_detected', @@ -10839,10 +10839,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -10932,10 +10932,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 2', + : 'power', + : 'Device Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_2', @@ -11025,10 +11025,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 3', + : 'power', + : 'Device Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_3', @@ -11113,7 +11113,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_smart_meter_identifier:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Smart meter identifier', + : 'Device Smart meter identifier', }), 'context': , 'entity_id': 'sensor.device_smart_meter_identifier', @@ -11198,7 +11198,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_smart_meter_model:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Smart meter model', + : 'Device Smart meter model', }), 'context': , 'entity_id': 'sensor.device_smart_meter_model', @@ -11290,8 +11290,8 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_tariff:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Device Tariff', + : 'enum', + : 'Device Tariff', : list([ '1', '2', @@ -11387,10 +11387,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_total_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Device Total water usage', + : 'water', + : 'Device Total water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_total_water_usage', @@ -11480,10 +11480,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 1', + : 'voltage', + : 'Device Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_1', @@ -11573,10 +11573,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 2', + : 'voltage', + : 'Device Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_2', @@ -11666,10 +11666,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 3', + : 'voltage', + : 'Device Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_3', @@ -11754,7 +11754,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_sags_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 1', + : 'Device Voltage sags detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_1', @@ -11839,7 +11839,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_sags_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 2', + : 'Device Voltage sags detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_2', @@ -11924,7 +11924,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_sags_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 3', + : 'Device Voltage sags detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_3', @@ -12009,7 +12009,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_swells_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 1', + : 'Device Voltage swells detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_1', @@ -12094,7 +12094,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_swells_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 2', + : 'Device Voltage swells detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_2', @@ -12179,7 +12179,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_voltage_swells_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 3', + : 'Device Voltage swells detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_3', @@ -12269,10 +12269,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Device Water usage', + : 'volume_flow_rate', + : 'Device Water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_water_usage', @@ -12357,7 +12357,7 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -12444,9 +12444,9 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -12532,10 +12532,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.gas_meter_gas:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas meter Gas', + : 'gas', + : 'Gas meter Gas', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_meter_gas', @@ -12621,10 +12621,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.heat_meter_energy:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat meter Energy', + : 'energy', + : 'Heat meter Energy', : , - 'unit_of_measurement': 'GJ', + : 'GJ', }), 'context': , 'entity_id': 'sensor.heat_meter_energy', @@ -12707,9 +12707,9 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.inlet_heat_meter:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inlet heat meter', + : 'Inlet heat meter', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inlet_heat_meter', @@ -12795,10 +12795,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.warm_water_meter_water:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Warm water meter Water', + : 'water', + : 'Warm water meter Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warm_water_meter_water', @@ -12884,10 +12884,10 @@ # name: test_sensors[HWE-P1-invalid-EAN-entity_ids10][sensor.water_meter_water:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water meter Water', + : 'water', + : 'Water meter Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_meter_water', @@ -12975,9 +12975,9 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_average_demand:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Average demand', - 'unit_of_measurement': , + : 'power', + : 'Device Average demand', + : , }), 'context': , 'entity_id': 'sensor.device_average_demand', @@ -13067,10 +13067,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_battery_group_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Battery group power', + : 'power', + : 'Device Battery group power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_battery_group_power', @@ -13160,10 +13160,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_battery_group_target_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Battery group target power', + : 'power', + : 'Device Battery group target power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_battery_group_target_power', @@ -13253,10 +13253,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_current_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 1', + : 'current', + : 'Device Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_1', @@ -13346,10 +13346,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_current_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 2', + : 'current', + : 'Device Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_2', @@ -13439,10 +13439,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_current_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 3', + : 'current', + : 'Device Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_3', @@ -13527,7 +13527,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_dsmr_version:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device DSMR version', + : 'Device DSMR version', }), 'context': , 'entity_id': 'sensor.device_dsmr_version', @@ -13617,10 +13617,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -13710,10 +13710,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_export_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 1', + : 'energy', + : 'Device Energy export tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_1', @@ -13803,10 +13803,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_export_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 2', + : 'energy', + : 'Device Energy export tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_2', @@ -13896,10 +13896,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_export_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 3', + : 'energy', + : 'Device Energy export tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_3', @@ -13989,10 +13989,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_export_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 4', + : 'energy', + : 'Device Energy export tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_4', @@ -14082,10 +14082,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -14175,10 +14175,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_import_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 1', + : 'energy', + : 'Device Energy import tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_1', @@ -14268,10 +14268,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_import_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 2', + : 'energy', + : 'Device Energy import tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_2', @@ -14361,10 +14361,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_import_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 3', + : 'energy', + : 'Device Energy import tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_3', @@ -14454,10 +14454,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_energy_import_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 4', + : 'energy', + : 'Device Energy import tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_4', @@ -14547,10 +14547,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -14635,7 +14635,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_long_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Long power failures detected', + : 'Device Long power failures detected', }), 'context': , 'entity_id': 'sensor.device_long_power_failures_detected', @@ -14723,9 +14723,9 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_peak_demand_current_month:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Peak demand current month', - 'unit_of_measurement': , + : 'power', + : 'Device Peak demand current month', + : , }), 'context': , 'entity_id': 'sensor.device_peak_demand_current_month', @@ -14815,10 +14815,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -14903,7 +14903,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Power failures detected', + : 'Device Power failures detected', }), 'context': , 'entity_id': 'sensor.device_power_failures_detected', @@ -14993,10 +14993,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -15086,10 +15086,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 2', + : 'power', + : 'Device Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_2', @@ -15179,10 +15179,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 3', + : 'power', + : 'Device Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_3', @@ -15267,7 +15267,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_smart_meter_identifier:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Smart meter identifier', + : 'Device Smart meter identifier', }), 'context': , 'entity_id': 'sensor.device_smart_meter_identifier', @@ -15352,7 +15352,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_smart_meter_model:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Smart meter model', + : 'Device Smart meter model', }), 'context': , 'entity_id': 'sensor.device_smart_meter_model', @@ -15444,8 +15444,8 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_tariff:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Device Tariff', + : 'enum', + : 'Device Tariff', : list([ '1', '2', @@ -15541,10 +15541,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_total_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Device Total water usage', + : 'water', + : 'Device Total water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_total_water_usage', @@ -15634,10 +15634,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 1', + : 'voltage', + : 'Device Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_1', @@ -15727,10 +15727,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 2', + : 'voltage', + : 'Device Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_2', @@ -15820,10 +15820,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 3', + : 'voltage', + : 'Device Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_3', @@ -15908,7 +15908,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_sags_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 1', + : 'Device Voltage sags detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_1', @@ -15993,7 +15993,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_sags_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 2', + : 'Device Voltage sags detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_2', @@ -16078,7 +16078,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_sags_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 3', + : 'Device Voltage sags detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_3', @@ -16163,7 +16163,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_swells_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 1', + : 'Device Voltage swells detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_1', @@ -16248,7 +16248,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_swells_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 2', + : 'Device Voltage swells detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_2', @@ -16333,7 +16333,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_voltage_swells_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 3', + : 'Device Voltage swells detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_3', @@ -16423,10 +16423,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Device Water usage', + : 'volume_flow_rate', + : 'Device Water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_water_usage', @@ -16511,7 +16511,7 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -16598,9 +16598,9 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -16686,10 +16686,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.gas_meter_gas:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas meter Gas', + : 'gas', + : 'Gas meter Gas', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_meter_gas', @@ -16775,10 +16775,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.heat_meter_energy:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat meter Energy', + : 'energy', + : 'Heat meter Energy', : , - 'unit_of_measurement': 'GJ', + : 'GJ', }), 'context': , 'entity_id': 'sensor.heat_meter_energy', @@ -16861,9 +16861,9 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.inlet_heat_meter:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inlet heat meter', + : 'Inlet heat meter', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inlet_heat_meter', @@ -16949,10 +16949,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.warm_water_meter_water:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Warm water meter Water', + : 'water', + : 'Warm water meter Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warm_water_meter_water', @@ -17038,10 +17038,10 @@ # name: test_sensors[HWE-P1-predictive-entity_ids1][sensor.water_meter_water:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water meter Water', + : 'water', + : 'Water meter Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_meter_water', @@ -17129,9 +17129,9 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_average_demand:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Average demand', - 'unit_of_measurement': , + : 'power', + : 'Device Average demand', + : , }), 'context': , 'entity_id': 'sensor.device_average_demand', @@ -17221,10 +17221,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_current_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 1', + : 'current', + : 'Device Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_1', @@ -17314,10 +17314,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_current_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 2', + : 'current', + : 'Device Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_2', @@ -17407,10 +17407,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_current_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 3', + : 'current', + : 'Device Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_3', @@ -17500,10 +17500,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -17593,10 +17593,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_export_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 1', + : 'energy', + : 'Device Energy export tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_1', @@ -17686,10 +17686,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_export_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 2', + : 'energy', + : 'Device Energy export tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_2', @@ -17779,10 +17779,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_export_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 3', + : 'energy', + : 'Device Energy export tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_3', @@ -17872,10 +17872,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_export_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export tariff 4', + : 'energy', + : 'Device Energy export tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export_tariff_4', @@ -17965,10 +17965,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -18058,10 +18058,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_import_tariff_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 1', + : 'energy', + : 'Device Energy import tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_1', @@ -18151,10 +18151,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_import_tariff_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 2', + : 'energy', + : 'Device Energy import tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_2', @@ -18244,10 +18244,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_import_tariff_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 3', + : 'energy', + : 'Device Energy import tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_3', @@ -18337,10 +18337,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_energy_import_tariff_4:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import tariff 4', + : 'energy', + : 'Device Energy import tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import_tariff_4', @@ -18430,10 +18430,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -18518,7 +18518,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_long_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Long power failures detected', + : 'Device Long power failures detected', }), 'context': , 'entity_id': 'sensor.device_long_power_failures_detected', @@ -18608,10 +18608,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -18696,7 +18696,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_power_failures_detected:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Power failures detected', + : 'Device Power failures detected', }), 'context': , 'entity_id': 'sensor.device_power_failures_detected', @@ -18786,10 +18786,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -18879,10 +18879,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 2', + : 'power', + : 'Device Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_2', @@ -18972,10 +18972,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 3', + : 'power', + : 'Device Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_3', @@ -19065,10 +19065,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_total_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Device Total water usage', + : 'water', + : 'Device Total water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_total_water_usage', @@ -19158,10 +19158,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 1', + : 'voltage', + : 'Device Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_1', @@ -19251,10 +19251,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 2', + : 'voltage', + : 'Device Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_2', @@ -19344,10 +19344,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 3', + : 'voltage', + : 'Device Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_3', @@ -19432,7 +19432,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_sags_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 1', + : 'Device Voltage sags detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_1', @@ -19517,7 +19517,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_sags_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 2', + : 'Device Voltage sags detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_2', @@ -19602,7 +19602,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_sags_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage sags detected phase 3', + : 'Device Voltage sags detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_sags_detected_phase_3', @@ -19687,7 +19687,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_swells_detected_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 1', + : 'Device Voltage swells detected phase 1', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_1', @@ -19772,7 +19772,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_swells_detected_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 2', + : 'Device Voltage swells detected phase 2', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_2', @@ -19857,7 +19857,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_voltage_swells_detected_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Voltage swells detected phase 3', + : 'Device Voltage swells detected phase 3', }), 'context': , 'entity_id': 'sensor.device_voltage_swells_detected_phase_3', @@ -19947,10 +19947,10 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Device Water usage', + : 'volume_flow_rate', + : 'Device Water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_water_usage', @@ -20035,7 +20035,7 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -20122,9 +20122,9 @@ # name: test_sensors[HWE-P1-zero-values-entity_ids2][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -20214,10 +20214,10 @@ # name: test_sensors[HWE-SKT-11-entity_ids3][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -20307,10 +20307,10 @@ # name: test_sensors[HWE-SKT-11-entity_ids3][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -20400,10 +20400,10 @@ # name: test_sensors[HWE-SKT-11-entity_ids3][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -20493,10 +20493,10 @@ # name: test_sensors[HWE-SKT-11-entity_ids3][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -20586,10 +20586,10 @@ # name: test_sensors[HWE-SKT-11-entity_ids3][sensor.device_production_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Production power', + : 'power', + : 'Device Production power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_production_power', @@ -20674,7 +20674,7 @@ # name: test_sensors[HWE-SKT-11-entity_ids3][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -20761,9 +20761,9 @@ # name: test_sensors[HWE-SKT-11-entity_ids3][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -20853,10 +20853,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_apparent_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power', + : 'apparent_power', + : 'Device Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power', @@ -20946,10 +20946,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_current:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current', + : 'current', + : 'Device Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current', @@ -21039,10 +21039,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -21132,10 +21132,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -21225,10 +21225,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -21318,10 +21318,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -21408,10 +21408,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_power_factor:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor', + : 'power_factor', + : 'Device Power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor', @@ -21501,10 +21501,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -21594,10 +21594,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_production_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Production power', + : 'power', + : 'Device Production power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_production_power', @@ -21687,10 +21687,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_reactive_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power', + : 'reactive_power', + : 'Device Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power', @@ -21780,10 +21780,10 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_voltage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage', + : 'voltage', + : 'Device Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage', @@ -21868,7 +21868,7 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -21955,9 +21955,9 @@ # name: test_sensors[HWE-SKT-21-entity_ids4][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -22047,10 +22047,10 @@ # name: test_sensors[HWE-WTR-entity_ids5][sensor.device_total_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Device Total water usage', + : 'water', + : 'Device Total water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_total_water_usage', @@ -22140,10 +22140,10 @@ # name: test_sensors[HWE-WTR-entity_ids5][sensor.device_water_usage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Device Water usage', + : 'volume_flow_rate', + : 'Device Water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_water_usage', @@ -22228,7 +22228,7 @@ # name: test_sensors[HWE-WTR-entity_ids5][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -22315,9 +22315,9 @@ # name: test_sensors[HWE-WTR-entity_ids5][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -22407,10 +22407,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_apparent_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power', + : 'apparent_power', + : 'Device Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power', @@ -22500,10 +22500,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_current:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current', + : 'current', + : 'Device Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current', @@ -22593,10 +22593,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -22686,10 +22686,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -22779,10 +22779,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -22872,10 +22872,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -22962,10 +22962,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_power_factor:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor', + : 'power_factor', + : 'Device Power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor', @@ -23055,10 +23055,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_production_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Production power', + : 'power', + : 'Device Production power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_production_power', @@ -23148,10 +23148,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_reactive_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power', + : 'reactive_power', + : 'Device Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power', @@ -23241,10 +23241,10 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_voltage:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage', + : 'voltage', + : 'Device Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage', @@ -23329,7 +23329,7 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -23416,9 +23416,9 @@ # name: test_sensors[SDM230-entity_ids6][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', @@ -23508,10 +23508,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_apparent_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power', + : 'apparent_power', + : 'Device Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power', @@ -23601,10 +23601,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_apparent_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power phase 1', + : 'apparent_power', + : 'Device Apparent power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power_phase_1', @@ -23694,10 +23694,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_apparent_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power phase 2', + : 'apparent_power', + : 'Device Apparent power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power_phase_2', @@ -23787,10 +23787,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_apparent_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Device Apparent power phase 3', + : 'apparent_power', + : 'Device Apparent power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_apparent_power_phase_3', @@ -23880,10 +23880,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_current:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current', + : 'current', + : 'Device Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current', @@ -23973,10 +23973,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_current_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 1', + : 'current', + : 'Device Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_1', @@ -24066,10 +24066,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_current_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 2', + : 'current', + : 'Device Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_2', @@ -24159,10 +24159,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_current_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Device Current phase 3', + : 'current', + : 'Device Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_current_phase_3', @@ -24252,10 +24252,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_energy_export:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy export', + : 'energy', + : 'Device Energy export', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_export', @@ -24345,10 +24345,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_energy_import:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Device Energy import', + : 'energy', + : 'Device Energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_energy_import', @@ -24438,10 +24438,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_frequency:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Device Frequency', + : 'frequency', + : 'Device Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_frequency', @@ -24531,10 +24531,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power', + : 'power', + : 'Device Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power', @@ -24621,10 +24621,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_power_factor_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor phase 1', + : 'power_factor', + : 'Device Power factor phase 1', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor_phase_1', @@ -24711,10 +24711,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_power_factor_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor phase 2', + : 'power_factor', + : 'Device Power factor phase 2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor_phase_2', @@ -24801,10 +24801,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_power_factor_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Device Power factor phase 3', + : 'power_factor', + : 'Device Power factor phase 3', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_power_factor_phase_3', @@ -24894,10 +24894,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 1', + : 'power', + : 'Device Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_1', @@ -24987,10 +24987,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 2', + : 'power', + : 'Device Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_2', @@ -25080,10 +25080,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Power phase 3', + : 'power', + : 'Device Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_power_phase_3', @@ -25173,10 +25173,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_production_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Device Production power', + : 'power', + : 'Device Production power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_production_power', @@ -25266,10 +25266,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_reactive_power:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power', + : 'reactive_power', + : 'Device Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power', @@ -25359,10 +25359,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_reactive_power_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power phase 1', + : 'reactive_power', + : 'Device Reactive power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power_phase_1', @@ -25452,10 +25452,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_reactive_power_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power phase 2', + : 'reactive_power', + : 'Device Reactive power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power_phase_2', @@ -25545,10 +25545,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_reactive_power_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Device Reactive power phase 3', + : 'reactive_power', + : 'Device Reactive power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_reactive_power_phase_3', @@ -25638,10 +25638,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_voltage_phase_1:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 1', + : 'voltage', + : 'Device Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_1', @@ -25731,10 +25731,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_voltage_phase_2:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 2', + : 'voltage', + : 'Device Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_2', @@ -25824,10 +25824,10 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_voltage_phase_3:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Device Voltage phase 3', + : 'voltage', + : 'Device Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_voltage_phase_3', @@ -25912,7 +25912,7 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_wi_fi_ssid:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi SSID', + : 'Device Wi-Fi SSID', }), 'context': , 'entity_id': 'sensor.device_wi_fi_ssid', @@ -25999,9 +25999,9 @@ # name: test_sensors[SDM630-entity_ids7][sensor.device_wi_fi_strength:state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Wi-Fi strength', + : 'Device Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_wi_fi_strength', diff --git a/tests/components/homewizard/snapshots/test_switch.ambr b/tests/components/homewizard/snapshots/test_switch.ambr index c8ce7418222..d5d2a7ed1eb 100644 --- a/tests/components/homewizard/snapshots/test_switch.ambr +++ b/tests/components/homewizard/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_switch_entities[HWE-KWH1-switch.device_cloud_connection-system-cloud_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Cloud connection', + : 'Device Cloud connection', }), 'context': , 'entity_id': 'switch.device_cloud_connection', @@ -87,7 +87,7 @@ # name: test_switch_entities[HWE-KWH3-switch.device_cloud_connection-system-cloud_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Cloud connection', + : 'Device Cloud connection', }), 'context': , 'entity_id': 'switch.device_cloud_connection', @@ -172,8 +172,8 @@ # name: test_switch_entities[HWE-SKT-11-switch.device-state-power_on] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Device', + : 'outlet', + : 'Device', }), 'context': , 'entity_id': 'switch.device', @@ -258,7 +258,7 @@ # name: test_switch_entities[HWE-SKT-11-switch.device_cloud_connection-system-cloud_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Cloud connection', + : 'Device Cloud connection', }), 'context': , 'entity_id': 'switch.device_cloud_connection', @@ -343,7 +343,7 @@ # name: test_switch_entities[HWE-SKT-11-switch.device_switch_lock-state-switch_lock] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Switch lock', + : 'Device Switch lock', }), 'context': , 'entity_id': 'switch.device_switch_lock', @@ -428,8 +428,8 @@ # name: test_switch_entities[HWE-SKT-21-switch.device-state-power_on] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Device', + : 'outlet', + : 'Device', }), 'context': , 'entity_id': 'switch.device', @@ -514,7 +514,7 @@ # name: test_switch_entities[HWE-SKT-21-switch.device_cloud_connection-system-cloud_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Cloud connection', + : 'Device Cloud connection', }), 'context': , 'entity_id': 'switch.device_cloud_connection', @@ -599,7 +599,7 @@ # name: test_switch_entities[HWE-SKT-21-switch.device_switch_lock-state-switch_lock] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Switch lock', + : 'Device Switch lock', }), 'context': , 'entity_id': 'switch.device_switch_lock', @@ -684,7 +684,7 @@ # name: test_switch_entities[HWE-WTR-switch.device_cloud_connection-system-cloud_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Cloud connection', + : 'Device Cloud connection', }), 'context': , 'entity_id': 'switch.device_cloud_connection', @@ -769,7 +769,7 @@ # name: test_switch_entities[SDM230-switch.device_cloud_connection-system-cloud_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Cloud connection', + : 'Device Cloud connection', }), 'context': , 'entity_id': 'switch.device_cloud_connection', @@ -854,7 +854,7 @@ # name: test_switch_entities[SDM630-switch.device_cloud_connection-system-cloud_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Cloud connection', + : 'Device Cloud connection', }), 'context': , 'entity_id': 'switch.device_cloud_connection', diff --git a/tests/components/homeworks/snapshots/test_binary_sensor.ambr b/tests/components/homeworks/snapshots/test_binary_sensor.ambr index c301347d05d..c1e8e925333 100644 --- a/tests/components/homeworks/snapshots/test_binary_sensor.ambr +++ b/tests/components/homeworks/snapshots/test_binary_sensor.ambr @@ -2,7 +2,7 @@ # name: test_binary_sensor_attributes_state_update StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Foyer Keypad Morning', + : 'Foyer Keypad Morning', 'homeworks_address': '[02:08:02:01]', }), 'context': , @@ -16,7 +16,7 @@ # name: test_binary_sensor_attributes_state_update.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Foyer Keypad Morning', + : 'Foyer Keypad Morning', 'homeworks_address': '[02:08:02:01]', }), 'context': , @@ -30,7 +30,7 @@ # name: test_binary_sensor_attributes_state_update.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Foyer Keypad Morning', + : 'Foyer Keypad Morning', 'homeworks_address': '[02:08:02:01]', }), 'context': , diff --git a/tests/components/homeworks/snapshots/test_light.ambr b/tests/components/homeworks/snapshots/test_light.ambr index 367ef03452f..69f6eba7d0c 100644 --- a/tests/components/homeworks/snapshots/test_light.ambr +++ b/tests/components/homeworks/snapshots/test_light.ambr @@ -4,12 +4,12 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Foyer Sconces', + : 'Foyer Sconces', 'homeworks_address': '[02:08:01:01]', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.foyer_sconces', @@ -24,12 +24,12 @@ 'attributes': ReadOnlyDict({ : 127, : , - 'friendly_name': 'Foyer Sconces', + : 'Foyer Sconces', 'homeworks_address': '[02:08:01:01]', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.foyer_sconces', diff --git a/tests/components/honeywell/snapshots/test_climate.ambr b/tests/components/honeywell/snapshots/test_climate.ambr index 22c2d49b9a4..724b7c8b556 100644 --- a/tests/components/honeywell/snapshots/test_climate.ambr +++ b/tests/components/honeywell/snapshots/test_climate.ambr @@ -10,7 +10,7 @@ 'auto', 'diffuse', ]), - 'friendly_name': 'device1', + : 'device1', : None, : , : list([ @@ -30,7 +30,7 @@ 'away', 'hold', ]), - 'supported_features': , + : , : None, : None, : None, diff --git a/tests/components/honeywell/snapshots/test_humidity.ambr b/tests/components/honeywell/snapshots/test_humidity.ambr index 081fbaf536a..c63b9263164 100644 --- a/tests/components/honeywell/snapshots/test_humidity.ambr +++ b/tests/components/honeywell/snapshots/test_humidity.ambr @@ -3,12 +3,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50, - 'device_class': 'dehumidifier', - 'friendly_name': 'device1 Dehumidifier', + : 'dehumidifier', + : 'device1 Dehumidifier', : 30, : 55, : 15, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.device1_dehumidifier', @@ -22,12 +22,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50, - 'device_class': 'humidifier', - 'friendly_name': 'device1 Humidifier', + : 'humidifier', + : 'device1 Humidifier', : 20, : 60, : 10, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.device1_humidifier', diff --git a/tests/components/hr_energy_qube/snapshots/test_binary_sensor.ambr b/tests/components/hr_energy_qube/snapshots/test_binary_sensor.ambr index c8a9db8baba..68fe56653df 100644 --- a/tests/components/hr_energy_qube/snapshots/test_binary_sensor.ambr +++ b/tests/components/hr_energy_qube/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_anti_legionella-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Anti-legionella', + : 'Qube heat pump Anti-legionella', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_anti_legionella', @@ -89,8 +89,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_anti_legionella_timeout_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Anti-legionella timeout alarm', + : 'problem', + : 'Qube heat pump Anti-legionella timeout alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_anti_legionella_timeout_alarm', @@ -140,7 +140,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_booster_security-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Booster security', + : 'Qube heat pump Booster security', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_booster_security', @@ -190,7 +190,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_buffer_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Buffer pump', + : 'Qube heat pump Buffer pump', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_buffer_pump', @@ -240,7 +240,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_buffer_sensor_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Buffer sensor enabled', + : 'Qube heat pump Buffer sensor enabled', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_buffer_sensor_enabled', @@ -290,8 +290,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_central_heating_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Central heating alarm', + : 'problem', + : 'Qube heat pump Central heating alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_central_heating_alarm', @@ -341,8 +341,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_compressor_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Compressor alarm', + : 'problem', + : 'Qube heat pump Compressor alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_compressor_alarm', @@ -392,8 +392,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_cooling_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Cooling alarm', + : 'problem', + : 'Qube heat pump Cooling alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_cooling_alarm', @@ -443,7 +443,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_cooling_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Cooling output', + : 'Qube heat pump Cooling output', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_cooling_output', @@ -493,7 +493,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_day_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Day mode', + : 'Qube heat pump Day mode', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_day_mode', @@ -543,7 +543,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_dewpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Dewpoint', + : 'Qube heat pump Dewpoint', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_dewpoint', @@ -593,8 +593,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_dewpoint_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Dewpoint alarm', + : 'problem', + : 'Qube heat pump Dewpoint alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_dewpoint_alarm', @@ -644,7 +644,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_dhw_controller_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump DHW controller enabled', + : 'Qube heat pump DHW controller enabled', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_dhw_controller_enabled', @@ -694,8 +694,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_dhw_timeout_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump DHW timeout alarm', + : 'problem', + : 'Qube heat pump DHW timeout alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_dhw_timeout_alarm', @@ -745,7 +745,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_external_demand-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump External demand', + : 'Qube heat pump External demand', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_external_demand', @@ -795,8 +795,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_flow_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Flow alarm', + : 'problem', + : 'Qube heat pump Flow alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_flow_alarm', @@ -846,7 +846,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_four_way_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Four-way valve', + : 'Qube heat pump Four-way valve', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_four_way_valve', @@ -896,8 +896,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_global_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Global alarm', + : 'problem', + : 'Qube heat pump Global alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_global_alarm', @@ -947,7 +947,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_heater_step_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Heater step 1', + : 'Qube heat pump Heater step 1', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_heater_step_1', @@ -997,7 +997,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_heater_step_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Heater step 2', + : 'Qube heat pump Heater step 2', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_heater_step_2', @@ -1047,7 +1047,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_heater_step_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Heater step 3', + : 'Qube heat pump Heater step 3', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_heater_step_3', @@ -1097,8 +1097,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_heating_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Heating alarm', + : 'problem', + : 'Qube heat pump Heating alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_heating_alarm', @@ -1148,7 +1148,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_keypad-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Keypad', + : 'Qube heat pump Keypad', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_keypad', @@ -1198,7 +1198,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_plant_demand-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Plant demand', + : 'Qube heat pump Plant demand', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_plant_demand', @@ -1248,7 +1248,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_plant_sensor_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Plant sensor enabled', + : 'Qube heat pump Plant sensor enabled', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_plant_sensor_enabled', @@ -1298,7 +1298,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_pv_surplus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump PV surplus', + : 'Qube heat pump PV surplus', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_pv_surplus', @@ -1348,7 +1348,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_room_sensor_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Room sensor enabled', + : 'Qube heat pump Room sensor enabled', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_room_sensor_enabled', @@ -1398,8 +1398,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_source_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Source alarm', + : 'problem', + : 'Qube heat pump Source alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_source_alarm', @@ -1449,7 +1449,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_source_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Source flow', + : 'Qube heat pump Source flow', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_source_flow', @@ -1499,7 +1499,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_source_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Source pump', + : 'Qube heat pump Source pump', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_source_pump', @@ -1549,7 +1549,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_summer_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Summer mode', + : 'Qube heat pump Summer mode', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_summer_mode', @@ -1599,8 +1599,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_supply_too_hot_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Supply too hot alarm', + : 'problem', + : 'Qube heat pump Supply too hot alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_supply_too_hot_alarm', @@ -1650,7 +1650,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_thermostat_demand-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Thermostat demand', + : 'Qube heat pump Thermostat demand', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_thermostat_demand', @@ -1700,7 +1700,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_three_way_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Three-way valve', + : 'Qube heat pump Three-way valve', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_three_way_valve', @@ -1750,7 +1750,7 @@ # name: test_entities[binary_sensor.qube_heat_pump_user_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump User pump', + : 'Qube heat pump User pump', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_user_pump', @@ -1800,8 +1800,8 @@ # name: test_entities[binary_sensor.qube_heat_pump_working_hours_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Qube heat pump Working hours alarm', + : 'problem', + : 'Qube heat pump Working hours alarm', }), 'context': , 'entity_id': 'binary_sensor.qube_heat_pump_working_hours_alarm', diff --git a/tests/components/hr_energy_qube/snapshots/test_select.ambr b/tests/components/hr_energy_qube/snapshots/test_select.ambr index bca7cb61e49..287504236f0 100644 --- a/tests/components/hr_energy_qube/snapshots/test_select.ambr +++ b/tests/components/hr_energy_qube/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_entities[select.qube_heat_pump_smart_grid_ready_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Smart grid ready mode', + : 'Qube heat pump Smart grid ready mode', : list([ 'off', 'block', diff --git a/tests/components/hr_energy_qube/snapshots/test_sensor.ambr b/tests/components/hr_energy_qube/snapshots/test_sensor.ambr index c92e02961ee..f288f0b08d7 100644 --- a/tests/components/hr_energy_qube/snapshots/test_sensor.ambr +++ b/tests/components/hr_energy_qube/snapshots/test_sensor.ambr @@ -44,9 +44,9 @@ # name: test_entities[sensor.qube_heat_pump_compressor_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Compressor speed', + : 'Qube heat pump Compressor speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.qube_heat_pump_compressor_speed', @@ -101,7 +101,7 @@ # name: test_entities[sensor.qube_heat_pump_cop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump COP', + : 'Qube heat pump COP', : , }), 'context': , @@ -157,10 +157,10 @@ # name: test_entities[sensor.qube_heat_pump_dhw_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump DHW temperature', + : 'temperature', + : 'Qube heat pump DHW temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_dhw_temperature', @@ -215,10 +215,10 @@ # name: test_entities[sensor.qube_heat_pump_electric_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Qube heat pump Electric power', + : 'power', + : 'Qube heat pump Electric power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_electric_power', @@ -280,8 +280,8 @@ # name: test_entities[sensor.qube_heat_pump_heat_pump_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Qube heat pump Heat pump status', + : 'enum', + : 'Qube heat pump Heat pump status', : list([ 'standby', 'alarm', @@ -347,10 +347,10 @@ # name: test_entities[sensor.qube_heat_pump_measured_pvt_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Qube heat pump Measured PVT flow', + : 'volume_flow_rate', + : 'Qube heat pump Measured PVT flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_measured_pvt_flow', @@ -405,10 +405,10 @@ # name: test_entities[sensor.qube_heat_pump_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Outside temperature', + : 'temperature', + : 'Qube heat pump Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_outside_temperature', @@ -463,10 +463,10 @@ # name: test_entities[sensor.qube_heat_pump_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Return temperature', + : 'temperature', + : 'Qube heat pump Return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_return_temperature', @@ -521,10 +521,10 @@ # name: test_entities[sensor.qube_heat_pump_room_setpoint_cooling_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Room setpoint cooling (day)', + : 'temperature', + : 'Qube heat pump Room setpoint cooling (day)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_room_setpoint_cooling_day', @@ -579,10 +579,10 @@ # name: test_entities[sensor.qube_heat_pump_room_setpoint_cooling_night-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Room setpoint cooling (night)', + : 'temperature', + : 'Qube heat pump Room setpoint cooling (night)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_room_setpoint_cooling_night', @@ -637,10 +637,10 @@ # name: test_entities[sensor.qube_heat_pump_room_setpoint_heating_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Room setpoint heating (day)', + : 'temperature', + : 'Qube heat pump Room setpoint heating (day)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_room_setpoint_heating_day', @@ -695,10 +695,10 @@ # name: test_entities[sensor.qube_heat_pump_room_setpoint_heating_night-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Room setpoint heating (night)', + : 'temperature', + : 'Qube heat pump Room setpoint heating (night)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_room_setpoint_heating_night', @@ -753,10 +753,10 @@ # name: test_entities[sensor.qube_heat_pump_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Room temperature', + : 'temperature', + : 'Qube heat pump Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_room_temperature', @@ -811,10 +811,10 @@ # name: test_entities[sensor.qube_heat_pump_source_temperature_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Source temperature in', + : 'temperature', + : 'Qube heat pump Source temperature in', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_source_temperature_in', @@ -869,10 +869,10 @@ # name: test_entities[sensor.qube_heat_pump_source_temperature_out-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Source temperature out', + : 'temperature', + : 'Qube heat pump Source temperature out', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_source_temperature_out', @@ -927,10 +927,10 @@ # name: test_entities[sensor.qube_heat_pump_supply_temperature_ch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Qube heat pump Supply temperature CH', + : 'temperature', + : 'Qube heat pump Supply temperature CH', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_supply_temperature_ch', @@ -985,10 +985,10 @@ # name: test_entities[sensor.qube_heat_pump_thermal_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Qube heat pump Thermal power', + : 'power', + : 'Qube heat pump Thermal power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_thermal_power', @@ -1043,10 +1043,10 @@ # name: test_entities[sensor.qube_heat_pump_total_electric_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Qube heat pump Total electric consumption', + : 'energy', + : 'Qube heat pump Total electric consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_total_electric_consumption', @@ -1101,10 +1101,10 @@ # name: test_entities[sensor.qube_heat_pump_total_thermal_yield-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Qube heat pump Total thermal yield', + : 'energy', + : 'Qube heat pump Total thermal yield', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.qube_heat_pump_total_thermal_yield', diff --git a/tests/components/hr_energy_qube/snapshots/test_switch.ambr b/tests/components/hr_energy_qube/snapshots/test_switch.ambr index d7786e9004b..ded216cb2e1 100644 --- a/tests/components/hr_energy_qube/snapshots/test_switch.ambr +++ b/tests/components/hr_energy_qube/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.qube_heat_pump_anti_legionella_cycle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Anti-legionella cycle', + : 'Qube heat pump Anti-legionella cycle', }), 'context': , 'entity_id': 'switch.qube_heat_pump_anti_legionella_cycle', @@ -89,7 +89,7 @@ # name: test_entities[switch.qube_heat_pump_heating_curve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Heating curve', + : 'Qube heat pump Heating curve', }), 'context': , 'entity_id': 'switch.qube_heat_pump_heating_curve', @@ -139,7 +139,7 @@ # name: test_entities[switch.qube_heat_pump_heating_demand-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Heating demand', + : 'Qube heat pump Heating demand', }), 'context': , 'entity_id': 'switch.qube_heat_pump_heating_demand', @@ -189,7 +189,7 @@ # name: test_entities[switch.qube_heat_pump_summer_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Qube heat pump Summer mode', + : 'Qube heat pump Summer mode', }), 'context': , 'entity_id': 'switch.qube_heat_pump_summer_mode', diff --git a/tests/components/hr_energy_qube/snapshots/test_water_heater.ambr b/tests/components/hr_energy_qube/snapshots/test_water_heater.ambr index e50ed34822d..fcc43036f26 100644 --- a/tests/components/hr_energy_qube/snapshots/test_water_heater.ambr +++ b/tests/components/hr_energy_qube/snapshots/test_water_heater.ambr @@ -47,7 +47,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50.0, - 'friendly_name': 'Qube heat pump Domestic hot water', + : 'Qube heat pump Domestic hot water', : 65, : 40, : list([ @@ -55,7 +55,7 @@ 'performance', ]), : 'heat_pump', - 'supported_features': , + : , : None, : None, : 50.0, diff --git a/tests/components/html5/snapshots/test_event.ambr b/tests/components/html5/snapshots/test_event.ambr index 861c11f5b55..eedf494e13a 100644 --- a/tests/components/html5/snapshots/test_event.ambr +++ b/tests/components/html5/snapshots/test_event.ambr @@ -51,7 +51,7 @@ 'received', 'closed', ]), - 'friendly_name': 'my-desktop', + : 'my-desktop', }), 'context': , 'entity_id': 'event.my_desktop', diff --git a/tests/components/html5/snapshots/test_notify.ambr b/tests/components/html5/snapshots/test_notify.ambr index 5b9cf66f4a4..69a55034c7c 100644 --- a/tests/components/html5/snapshots/test_notify.ambr +++ b/tests/components/html5/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.my_desktop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-desktop', - 'supported_features': , + : 'my-desktop', + : , }), 'context': , 'entity_id': 'notify.my_desktop', diff --git a/tests/components/hue_ble/snapshots/test_light.ambr b/tests/components/hue_ble/snapshots/test_light.ambr index cd7c10f0562..46996520ddb 100644 --- a/tests/components/hue_ble/snapshots/test_light.ambr +++ b/tests/components/hue_ble/snapshots/test_light.ambr @@ -49,7 +49,7 @@ : 100, : , : 4000, - 'friendly_name': 'Hue Light', + : 'Hue Light', : tuple( 26.812, 34.87, @@ -65,7 +65,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.42, 0.365, diff --git a/tests/components/husqvarna_automower/snapshots/test_binary_sensor.ambr b/tests/components/husqvarna_automower/snapshots/test_binary_sensor.ambr index eae3f4fa597..efe6ee78c96 100644 --- a/tests/components/husqvarna_automower/snapshots/test_binary_sensor.ambr +++ b/tests/components/husqvarna_automower/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_snapshot[binary_sensor.garden_test_mower_1_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Test Mower 1 Charging', + : 'battery_charging', + : 'Test Mower 1 Charging', }), 'context': , 'entity_id': 'binary_sensor.garden_test_mower_1_charging', @@ -90,7 +90,7 @@ # name: test_binary_sensor_snapshot[binary_sensor.garden_test_mower_1_leaving_dock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Leaving dock', + : 'Test Mower 1 Leaving dock', }), 'context': , 'entity_id': 'binary_sensor.garden_test_mower_1_leaving_dock', @@ -140,8 +140,8 @@ # name: test_binary_sensor_snapshot[binary_sensor.garden_test_mower_2_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Test Mower 2 Charging', + : 'battery_charging', + : 'Test Mower 2 Charging', }), 'context': , 'entity_id': 'binary_sensor.garden_test_mower_2_charging', @@ -191,7 +191,7 @@ # name: test_binary_sensor_snapshot[binary_sensor.garden_test_mower_2_leaving_dock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 2 Leaving dock', + : 'Test Mower 2 Leaving dock', }), 'context': , 'entity_id': 'binary_sensor.garden_test_mower_2_leaving_dock', diff --git a/tests/components/husqvarna_automower/snapshots/test_button.ambr b/tests/components/husqvarna_automower/snapshots/test_button.ambr index 561e8a3d23c..940ac1ac777 100644 --- a/tests/components/husqvarna_automower/snapshots/test_button.ambr +++ b/tests/components/husqvarna_automower/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_snapshot[button.garden_test_mower_1_confirm_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Confirm error', + : 'Test Mower 1 Confirm error', }), 'context': , 'entity_id': 'button.garden_test_mower_1_confirm_error', @@ -89,7 +89,7 @@ # name: test_button_snapshot[button.garden_test_mower_1_reset_cutting_blade_usage_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Reset cutting blade usage time', + : 'Test Mower 1 Reset cutting blade usage time', }), 'context': , 'entity_id': 'button.garden_test_mower_1_reset_cutting_blade_usage_time', @@ -139,7 +139,7 @@ # name: test_button_snapshot[button.garden_test_mower_1_sync_clock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Sync clock', + : 'Test Mower 1 Sync clock', }), 'context': , 'entity_id': 'button.garden_test_mower_1_sync_clock', @@ -189,7 +189,7 @@ # name: test_button_snapshot[button.garden_test_mower_2_sync_clock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 2 Sync clock', + : 'Test Mower 2 Sync clock', }), 'context': , 'entity_id': 'button.garden_test_mower_2_sync_clock', diff --git a/tests/components/husqvarna_automower/snapshots/test_device_tracker.ambr b/tests/components/husqvarna_automower/snapshots/test_device_tracker.ambr index 29243de205e..475a5969e79 100644 --- a/tests/components/husqvarna_automower/snapshots/test_device_tracker.ambr +++ b/tests/components/husqvarna_automower/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker_snapshot[device_tracker.garden_test_mower_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1', + : 'Test Mower 1', : 0, : list([ ]), diff --git a/tests/components/husqvarna_automower/snapshots/test_event.ambr b/tests/components/husqvarna_automower/snapshots/test_event.ambr index 706808e8ba0..c25234a9553 100644 --- a/tests/components/husqvarna_automower/snapshots/test_event.ambr +++ b/tests/components/husqvarna_automower/snapshots/test_event.ambr @@ -290,7 +290,7 @@ 'wrong_pin_code', 'zone_generator_problem', ]), - 'friendly_name': 'Test Mower 1 Message', + : 'Test Mower 1 Message', 'latitude': 49.0, 'longitude': 10.0, 'severity': , diff --git a/tests/components/husqvarna_automower/snapshots/test_number.ambr b/tests/components/husqvarna_automower/snapshots/test_number.ambr index 4e229f72cd4..529bb0ffd80 100644 --- a/tests/components/husqvarna_automower/snapshots/test_number.ambr +++ b/tests/components/husqvarna_automower/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_snapshot[number.garden_test_mower_1_back_lawn_cutting_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Back lawn cutting height', + : 'Test Mower 1 Back lawn cutting height', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.garden_test_mower_1_back_lawn_cutting_height', @@ -104,7 +104,7 @@ # name: test_number_snapshot[number.garden_test_mower_1_cutting_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Cutting height', + : 'Test Mower 1 Cutting height', : 9, : 1, : , @@ -163,12 +163,12 @@ # name: test_number_snapshot[number.garden_test_mower_1_front_lawn_cutting_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Front lawn cutting height', + : 'Test Mower 1 Front lawn cutting height', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.garden_test_mower_1_front_lawn_cutting_height', @@ -223,12 +223,12 @@ # name: test_number_snapshot[number.garden_test_mower_1_my_lawn_cutting_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 My lawn cutting height', + : 'Test Mower 1 My lawn cutting height', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.garden_test_mower_1_my_lawn_cutting_height', diff --git a/tests/components/husqvarna_automower/snapshots/test_sensor.ambr b/tests/components/husqvarna_automower/snapshots/test_sensor.ambr index c60c605e054..3284c189b49 100644 --- a/tests/components/husqvarna_automower/snapshots/test_sensor.ambr +++ b/tests/components/husqvarna_automower/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Mower 1 Battery', + : 'battery', + : 'Test Mower 1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_battery', @@ -102,10 +102,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_cutting_blade_usage_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Cutting blade usage time', + : 'duration', + : 'Test Mower 1 Cutting blade usage time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_cutting_blade_usage_time', @@ -163,10 +163,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_downtime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Downtime', + : 'duration', + : 'Test Mower 1 Downtime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_downtime', @@ -349,8 +349,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 1 Error', + : 'enum', + : 'Test Mower 1 Error', : list([ 'alarm_mower_in_motion', 'alarm_mower_lifted', @@ -532,8 +532,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_front_lawn_last_time_completed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Mower 1 Front lawn last time completed', + : 'timestamp', + : 'Test Mower 1 Front lawn last time completed', }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_front_lawn_last_time_completed', @@ -585,9 +585,9 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_front_lawn_progress-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Front lawn progress', + : 'Test Mower 1 Front lawn progress', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_front_lawn_progress', @@ -643,8 +643,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_inactive_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 1 Inactive reason', + : 'enum', + : 'Test Mower 1 Inactive reason', : list([ , , @@ -708,8 +708,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 1 Mode', + : 'enum', + : 'Test Mower 1 Mode', : list([ , , @@ -767,8 +767,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_my_lawn_last_time_completed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Mower 1 My lawn last time completed', + : 'timestamp', + : 'Test Mower 1 My lawn last time completed', }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_my_lawn_last_time_completed', @@ -820,9 +820,9 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_my_lawn_progress-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 My lawn progress', + : 'Test Mower 1 My lawn progress', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_my_lawn_progress', @@ -872,8 +872,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_next_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Mower 1 Next start', + : 'timestamp', + : 'Test Mower 1 Next start', }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_next_start', @@ -925,7 +925,7 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_number_of_charging_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Number of charging cycles', + : 'Test Mower 1 Number of charging cycles', : , }), 'context': , @@ -978,7 +978,7 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_number_of_collisions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Number of collisions', + : 'Test Mower 1 Number of collisions', : , }), 'context': , @@ -1035,9 +1035,9 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_remaining_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Remaining charging time', - 'unit_of_measurement': , + : 'duration', + : 'Test Mower 1 Remaining charging time', + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_remaining_charging_time', @@ -1112,8 +1112,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_restricted_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 1 Restricted reason', + : 'enum', + : 'Test Mower 1 Restricted reason', : list([ , , @@ -1195,10 +1195,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_total_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Total charging time', + : 'duration', + : 'Test Mower 1 Total charging time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_total_charging_time', @@ -1256,10 +1256,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_total_cutting_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Total cutting time', + : 'duration', + : 'Test Mower 1 Total cutting time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_total_cutting_time', @@ -1317,10 +1317,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_total_drive_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Mower 1 Total drive distance', + : 'distance', + : 'Test Mower 1 Total drive distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_total_drive_distance', @@ -1378,10 +1378,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_total_running_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Total running time', + : 'duration', + : 'Test Mower 1 Total running time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_total_running_time', @@ -1439,10 +1439,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_total_searching_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Total searching time', + : 'duration', + : 'Test Mower 1 Total searching time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_total_searching_time', @@ -1500,10 +1500,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 1 Uptime', + : 'duration', + : 'Test Mower 1 Uptime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_1_uptime', @@ -1560,8 +1560,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_1_work_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 1 Work area', + : 'enum', + : 'Test Mower 1 Work area', : list([ 'Front lawn', 'Back lawn', @@ -1624,10 +1624,10 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Mower 2 Battery', + : 'battery', + : 'Test Mower 2 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_test_mower_2_battery', @@ -1810,8 +1810,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_2_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 2 Error', + : 'enum', + : 'Test Mower 2 Error', : list([ 'alarm_mower_in_motion', 'alarm_mower_lifted', @@ -2002,8 +2002,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_2_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 2 Mode', + : 'enum', + : 'Test Mower 2 Mode', : list([ , , @@ -2061,8 +2061,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_2_next_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Mower 2 Next start', + : 'timestamp', + : 'Test Mower 2 Next start', }), 'context': , 'entity_id': 'sensor.garden_test_mower_2_next_start', @@ -2118,9 +2118,9 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_2_remaining_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Mower 2 Remaining charging time', - 'unit_of_measurement': , + : 'duration', + : 'Test Mower 2 Remaining charging time', + : , }), 'context': , 'entity_id': 'sensor.garden_test_mower_2_remaining_charging_time', @@ -2195,8 +2195,8 @@ # name: test_sensor_snapshot[sensor.garden_test_mower_2_restricted_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Mower 2 Restricted reason', + : 'enum', + : 'Test Mower 2 Restricted reason', : list([ , , diff --git a/tests/components/husqvarna_automower/snapshots/test_switch.ambr b/tests/components/husqvarna_automower/snapshots/test_switch.ambr index f01653915c6..ddf5be61f31 100644 --- a/tests/components/husqvarna_automower/snapshots/test_switch.ambr +++ b/tests/components/husqvarna_automower/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_snapshot[switch.garden_test_mower_1_avoid_danger_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Avoid Danger Zone', + : 'Test Mower 1 Avoid Danger Zone', }), 'context': , 'entity_id': 'switch.garden_test_mower_1_avoid_danger_zone', @@ -89,7 +89,7 @@ # name: test_switch_snapshot[switch.garden_test_mower_1_avoid_springflowers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Avoid Springflowers', + : 'Test Mower 1 Avoid Springflowers', }), 'context': , 'entity_id': 'switch.garden_test_mower_1_avoid_springflowers', @@ -139,7 +139,7 @@ # name: test_switch_snapshot[switch.garden_test_mower_1_back_lawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Back lawn', + : 'Test Mower 1 Back lawn', }), 'context': , 'entity_id': 'switch.garden_test_mower_1_back_lawn', @@ -189,7 +189,7 @@ # name: test_switch_snapshot[switch.garden_test_mower_1_enable_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Enable schedule', + : 'Test Mower 1 Enable schedule', }), 'context': , 'entity_id': 'switch.garden_test_mower_1_enable_schedule', @@ -239,7 +239,7 @@ # name: test_switch_snapshot[switch.garden_test_mower_1_front_lawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 Front lawn', + : 'Test Mower 1 Front lawn', }), 'context': , 'entity_id': 'switch.garden_test_mower_1_front_lawn', @@ -289,7 +289,7 @@ # name: test_switch_snapshot[switch.garden_test_mower_1_my_lawn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 1 My lawn', + : 'Test Mower 1 My lawn', }), 'context': , 'entity_id': 'switch.garden_test_mower_1_my_lawn', @@ -339,7 +339,7 @@ # name: test_switch_snapshot[switch.garden_test_mower_2_enable_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Mower 2 Enable schedule', + : 'Test Mower 2 Enable schedule', }), 'context': , 'entity_id': 'switch.garden_test_mower_2_enable_schedule', diff --git a/tests/components/husqvarna_automower_ble/snapshots/test_sensor.ambr b/tests/components/husqvarna_automower_ble/snapshots/test_sensor.ambr index a84ebbf35c8..9aaebeb63e5 100644 --- a/tests/components/husqvarna_automower_ble/snapshots/test_sensor.ambr +++ b/tests/components/husqvarna_automower_ble/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_setup[sensor.garden_husqvarna_automower_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Husqvarna AutoMower Battery', + : 'battery', + : 'Husqvarna AutoMower Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_husqvarna_automower_battery', diff --git a/tests/components/huum/snapshots/test_binary_sensor.ambr b/tests/components/huum/snapshots/test_binary_sensor.ambr index a57260ce669..294a98b07b4 100644 --- a/tests/components/huum/snapshots/test_binary_sensor.ambr +++ b/tests/components/huum/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[binary_sensor.huum_sauna_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Huum sauna Door', + : 'door', + : 'Huum sauna Door', }), 'context': , 'entity_id': 'binary_sensor.huum_sauna_door', diff --git a/tests/components/huum/snapshots/test_climate.ambr b/tests/components/huum/snapshots/test_climate.ambr index 90ba9192686..3063c177730 100644 --- a/tests/components/huum/snapshots/test_climate.ambr +++ b/tests/components/huum/snapshots/test_climate.ambr @@ -48,14 +48,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30, - 'friendly_name': 'Huum sauna', + : 'Huum sauna', : list([ , , ]), : 110, : 40, - 'supported_features': , + : , : 1, : 80, }), diff --git a/tests/components/huum/snapshots/test_light.ambr b/tests/components/huum/snapshots/test_light.ambr index 0412773531a..d6a124c01bb 100644 --- a/tests/components/huum/snapshots/test_light.ambr +++ b/tests/components/huum/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Huum sauna Light', + : 'Huum sauna Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.huum_sauna_light', diff --git a/tests/components/huum/snapshots/test_number.ambr b/tests/components/huum/snapshots/test_number.ambr index 9c407676593..b5640da1a83 100644 --- a/tests/components/huum/snapshots/test_number.ambr +++ b/tests/components/huum/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number_entity[number.huum_sauna_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Huum sauna Humidity', + : 'humidity', + : 'Huum sauna Humidity', : 40, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.huum_sauna_humidity', diff --git a/tests/components/huum/snapshots/test_sensor.ambr b/tests/components/huum/snapshots/test_sensor.ambr index 6070d9519d5..a18d9cd0538 100644 --- a/tests/components/huum/snapshots/test_sensor.ambr +++ b/tests/components/huum/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.huum_sauna_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Huum sauna Temperature', + : 'temperature', + : 'Huum sauna Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.huum_sauna_temperature', diff --git a/tests/components/hydrawise/snapshots/test_binary_sensor.ambr b/tests/components/hydrawise/snapshots/test_binary_sensor.ambr index d54afa4b029..5b72f857c31 100644 --- a/tests/components/hydrawise/snapshots/test_binary_sensor.ambr +++ b/tests/components/hydrawise/snapshots/test_binary_sensor.ambr @@ -39,9 +39,9 @@ # name: test_all_binary_sensors[binary_sensor.home_controller_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'connectivity', - 'friendly_name': 'Home Controller Connectivity', + : 'Data provided by hydrawise.com', + : 'connectivity', + : 'Home Controller Connectivity', }), 'context': , 'entity_id': 'binary_sensor.home_controller_connectivity', @@ -91,9 +91,9 @@ # name: test_all_binary_sensors[binary_sensor.home_controller_rain_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'moisture', - 'friendly_name': 'Home Controller Rain sensor', + : 'Data provided by hydrawise.com', + : 'moisture', + : 'Home Controller Rain sensor', }), 'context': , 'entity_id': 'binary_sensor.home_controller_rain_sensor', @@ -143,9 +143,9 @@ # name: test_all_binary_sensors[binary_sensor.zone_one_watering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'running', - 'friendly_name': 'Zone One Watering', + : 'Data provided by hydrawise.com', + : 'running', + : 'Zone One Watering', }), 'context': , 'entity_id': 'binary_sensor.zone_one_watering', @@ -195,9 +195,9 @@ # name: test_all_binary_sensors[binary_sensor.zone_two_watering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'running', - 'friendly_name': 'Zone Two Watering', + : 'Data provided by hydrawise.com', + : 'running', + : 'Zone Two Watering', }), 'context': , 'entity_id': 'binary_sensor.zone_two_watering', diff --git a/tests/components/hydrawise/snapshots/test_sensor.ambr b/tests/components/hydrawise/snapshots/test_sensor.ambr index 1cfff519304..a9edfd38113 100644 --- a/tests/components/hydrawise/snapshots/test_sensor.ambr +++ b/tests/components/hydrawise/snapshots/test_sensor.ambr @@ -45,10 +45,10 @@ # name: test_all_sensors[sensor.home_controller_daily_active_water_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'water', - 'friendly_name': 'Home Controller Daily active water use', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'water', + : 'Home Controller Daily active water use', + : , }), 'context': , 'entity_id': 'sensor.home_controller_daily_active_water_use', @@ -101,10 +101,10 @@ # name: test_all_sensors[sensor.home_controller_daily_active_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'duration', - 'friendly_name': 'Home Controller Daily active watering time', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'duration', + : 'Home Controller Daily active watering time', + : , }), 'context': , 'entity_id': 'sensor.home_controller_daily_active_watering_time', @@ -160,10 +160,10 @@ # name: test_all_sensors[sensor.home_controller_daily_inactive_water_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'water', - 'friendly_name': 'Home Controller Daily inactive water use', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'water', + : 'Home Controller Daily inactive water use', + : , }), 'context': , 'entity_id': 'sensor.home_controller_daily_inactive_water_use', @@ -219,10 +219,10 @@ # name: test_all_sensors[sensor.home_controller_daily_total_water_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'water', - 'friendly_name': 'Home Controller Daily total water use', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'water', + : 'Home Controller Daily total water use', + : , }), 'context': , 'entity_id': 'sensor.home_controller_daily_total_water_use', @@ -278,10 +278,10 @@ # name: test_all_sensors[sensor.zone_one_daily_active_water_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'water', - 'friendly_name': 'Zone One Daily active water use', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'water', + : 'Zone One Daily active water use', + : , }), 'context': , 'entity_id': 'sensor.zone_one_daily_active_water_use', @@ -334,10 +334,10 @@ # name: test_all_sensors[sensor.zone_one_daily_active_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'duration', - 'friendly_name': 'Zone One Daily active watering time', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'duration', + : 'Zone One Daily active watering time', + : , }), 'context': , 'entity_id': 'sensor.zone_one_daily_active_watering_time', @@ -387,9 +387,9 @@ # name: test_all_sensors[sensor.zone_one_next_cycle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'timestamp', - 'friendly_name': 'Zone One Next cycle', + : 'Data provided by hydrawise.com', + : 'timestamp', + : 'Zone One Next cycle', }), 'context': , 'entity_id': 'sensor.zone_one_next_cycle', @@ -439,9 +439,9 @@ # name: test_all_sensors[sensor.zone_one_remaining_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'friendly_name': 'Zone One Remaining watering time', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'Zone One Remaining watering time', + : , }), 'context': , 'entity_id': 'sensor.zone_one_remaining_watering_time', @@ -497,11 +497,11 @@ # name: test_all_sensors[sensor.zone_two_daily_active_water_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'water', - 'friendly_name': 'Zone Two Daily active water use', - 'icon': 'mdi:water-outline', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'water', + : 'Zone Two Daily active water use', + : 'mdi:water-outline', + : , }), 'context': , 'entity_id': 'sensor.zone_two_daily_active_water_use', @@ -554,10 +554,10 @@ # name: test_all_sensors[sensor.zone_two_daily_active_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'duration', - 'friendly_name': 'Zone Two Daily active watering time', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'duration', + : 'Zone Two Daily active watering time', + : , }), 'context': , 'entity_id': 'sensor.zone_two_daily_active_watering_time', @@ -607,9 +607,9 @@ # name: test_all_sensors[sensor.zone_two_next_cycle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'timestamp', - 'friendly_name': 'Zone Two Next cycle', + : 'Data provided by hydrawise.com', + : 'timestamp', + : 'Zone Two Next cycle', }), 'context': , 'entity_id': 'sensor.zone_two_next_cycle', @@ -659,9 +659,9 @@ # name: test_all_sensors[sensor.zone_two_remaining_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'friendly_name': 'Zone Two Remaining watering time', - 'unit_of_measurement': , + : 'Data provided by hydrawise.com', + : 'Zone Two Remaining watering time', + : , }), 'context': , 'entity_id': 'sensor.zone_two_remaining_watering_time', diff --git a/tests/components/hydrawise/snapshots/test_switch.ambr b/tests/components/hydrawise/snapshots/test_switch.ambr index e43d7e57bc6..187ce06e66f 100644 --- a/tests/components/hydrawise/snapshots/test_switch.ambr +++ b/tests/components/hydrawise/snapshots/test_switch.ambr @@ -39,9 +39,9 @@ # name: test_all_switches[switch.zone_one_automatic_watering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'switch', - 'friendly_name': 'Zone One Automatic watering', + : 'Data provided by hydrawise.com', + : 'switch', + : 'Zone One Automatic watering', }), 'context': , 'entity_id': 'switch.zone_one_automatic_watering', @@ -91,9 +91,9 @@ # name: test_all_switches[switch.zone_one_manual_watering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'switch', - 'friendly_name': 'Zone One Manual watering', + : 'Data provided by hydrawise.com', + : 'switch', + : 'Zone One Manual watering', }), 'context': , 'entity_id': 'switch.zone_one_manual_watering', @@ -143,9 +143,9 @@ # name: test_all_switches[switch.zone_two_automatic_watering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'switch', - 'friendly_name': 'Zone Two Automatic watering', + : 'Data provided by hydrawise.com', + : 'switch', + : 'Zone Two Automatic watering', }), 'context': , 'entity_id': 'switch.zone_two_automatic_watering', @@ -195,9 +195,9 @@ # name: test_all_switches[switch.zone_two_manual_watering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'switch', - 'friendly_name': 'Zone Two Manual watering', + : 'Data provided by hydrawise.com', + : 'switch', + : 'Zone Two Manual watering', }), 'context': , 'entity_id': 'switch.zone_two_manual_watering', diff --git a/tests/components/hydrawise/snapshots/test_valve.ambr b/tests/components/hydrawise/snapshots/test_valve.ambr index dda1d87d0ba..41721514964 100644 --- a/tests/components/hydrawise/snapshots/test_valve.ambr +++ b/tests/components/hydrawise/snapshots/test_valve.ambr @@ -39,11 +39,11 @@ # name: test_all_valves[valve.zone_one-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'water', - 'friendly_name': 'Zone One', + : 'Data provided by hydrawise.com', + : 'water', + : 'Zone One', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.zone_one', @@ -93,11 +93,11 @@ # name: test_all_valves[valve.zone_two-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by hydrawise.com', - 'device_class': 'water', - 'friendly_name': 'Zone Two', + : 'Data provided by hydrawise.com', + : 'water', + : 'Zone Two', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.zone_two', diff --git a/tests/components/hypontech/snapshots/test_sensor.ambr b/tests/components/hypontech/snapshots/test_sensor.ambr index d3d8fccedc6..6da083e6673 100644 --- a/tests/components/hypontech/snapshots/test_sensor.ambr +++ b/tests/components/hypontech/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.balcon_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Balcon Battery power', + : 'power', + : 'Balcon Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.balcon_battery_power', @@ -99,10 +99,10 @@ # name: test_sensors[sensor.balcon_battery_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Balcon Battery state of charge', + : 'battery', + : 'Balcon Battery state of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.balcon_battery_state_of_charge', @@ -157,10 +157,10 @@ # name: test_sensors[sensor.balcon_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Balcon Grid power', + : 'power', + : 'Balcon Grid power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.balcon_grid_power', @@ -215,10 +215,10 @@ # name: test_sensors[sensor.balcon_lifetime_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Balcon Lifetime energy', + : 'energy', + : 'Balcon Lifetime energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.balcon_lifetime_energy', @@ -273,10 +273,10 @@ # name: test_sensors[sensor.balcon_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Balcon Load power', + : 'power', + : 'Balcon Load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.balcon_load_power', @@ -331,10 +331,10 @@ # name: test_sensors[sensor.balcon_pv_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Balcon PV power', + : 'power', + : 'Balcon PV power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.balcon_pv_power', @@ -389,10 +389,10 @@ # name: test_sensors[sensor.balcon_today_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Balcon Today energy', + : 'energy', + : 'Balcon Today energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.balcon_today_energy', @@ -447,10 +447,10 @@ # name: test_sensors[sensor.balcon_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Balcon Total power', + : 'power', + : 'Balcon Total power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.balcon_total_power', @@ -505,10 +505,10 @@ # name: test_sensors[sensor.overview_lifetime_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Overview Lifetime energy', + : 'energy', + : 'Overview Lifetime energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.overview_lifetime_energy', @@ -563,10 +563,10 @@ # name: test_sensors[sensor.overview_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Overview Power', + : 'power', + : 'Overview Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.overview_power', @@ -621,10 +621,10 @@ # name: test_sensors[sensor.overview_today_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Overview Today energy', + : 'energy', + : 'Overview Today energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.overview_today_energy', @@ -679,10 +679,10 @@ # name: test_sensors[sensor.rooftop_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Rooftop Grid power', + : 'power', + : 'Rooftop Grid power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rooftop_grid_power', @@ -737,10 +737,10 @@ # name: test_sensors[sensor.rooftop_lifetime_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Rooftop Lifetime energy', + : 'energy', + : 'Rooftop Lifetime energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rooftop_lifetime_energy', @@ -795,10 +795,10 @@ # name: test_sensors[sensor.rooftop_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Rooftop Load power', + : 'power', + : 'Rooftop Load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rooftop_load_power', @@ -853,10 +853,10 @@ # name: test_sensors[sensor.rooftop_pv_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Rooftop PV power', + : 'power', + : 'Rooftop PV power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rooftop_pv_power', @@ -911,10 +911,10 @@ # name: test_sensors[sensor.rooftop_today_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Rooftop Today energy', + : 'energy', + : 'Rooftop Today energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rooftop_today_energy', @@ -969,10 +969,10 @@ # name: test_sensors[sensor.rooftop_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Rooftop Total power', + : 'power', + : 'Rooftop Total power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rooftop_total_power', diff --git a/tests/components/iaqualink/snapshots/test_binary_sensor.ambr b/tests/components/iaqualink/snapshots/test_binary_sensor.ambr index e4906c806b9..ea3333cc949 100644 --- a/tests/components/iaqualink/snapshots/test_binary_sensor.ambr +++ b/tests/components/iaqualink/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup[binary_sensor.freeze_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'cold', - 'friendly_name': 'Freeze Protection', + : 'cold', + : 'Freeze Protection', }), 'context': , 'entity_id': 'binary_sensor.freeze_protection', diff --git a/tests/components/iaqualink/snapshots/test_climate.ambr b/tests/components/iaqualink/snapshots/test_climate.ambr index a191f758e7e..11f53b5d464 100644 --- a/tests/components/iaqualink/snapshots/test_climate.ambr +++ b/tests/components/iaqualink/snapshots/test_climate.ambr @@ -47,7 +47,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 26.7, - 'friendly_name': 'Pool Set Point', + : 'Pool Set Point', : , : list([ , @@ -55,7 +55,7 @@ ]), : 40.0, : 1.1, - 'supported_features': , + : , : 28.9, }), 'context': , diff --git a/tests/components/iaqualink/snapshots/test_entity.ambr b/tests/components/iaqualink/snapshots/test_entity.ambr index b878a93ad5f..9b4d0678e73 100644 --- a/tests/components/iaqualink/snapshots/test_entity.ambr +++ b/tests/components/iaqualink/snapshots/test_entity.ambr @@ -39,8 +39,8 @@ # name: test_setup[binary_sensor.freeze_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'cold', - 'friendly_name': 'Freeze Protection', + : 'cold', + : 'Freeze Protection', }), 'context': , 'entity_id': 'binary_sensor.freeze_protection', @@ -98,7 +98,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 26.7, - 'friendly_name': 'Pool Set Point', + : 'Pool Set Point', : , : list([ , @@ -106,7 +106,7 @@ ]), : 40.0, : 1.1, - 'supported_features': , + : , : 28.9, }), 'context': , @@ -162,11 +162,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Pool Light', + : 'Pool Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.pool_light', @@ -216,7 +216,7 @@ # name: test_setup[sensor.ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ph', + : 'Ph', }), 'context': , 'entity_id': 'sensor.ph', @@ -266,7 +266,7 @@ # name: test_setup[switch.aux_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aux 1', + : 'Aux 1', }), 'context': , 'entity_id': 'switch.aux_1', diff --git a/tests/components/iaqualink/snapshots/test_light.ambr b/tests/components/iaqualink/snapshots/test_light.ambr index a5c18c3972a..07130431de3 100644 --- a/tests/components/iaqualink/snapshots/test_light.ambr +++ b/tests/components/iaqualink/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Pool Light', + : 'Pool Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.pool_light', diff --git a/tests/components/iaqualink/snapshots/test_sensor.ambr b/tests/components/iaqualink/snapshots/test_sensor.ambr index f17610ddb52..254ac81da8b 100644 --- a/tests/components/iaqualink/snapshots/test_sensor.ambr +++ b/tests/components/iaqualink/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_setup[sensor.ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ph', + : 'Ph', }), 'context': , 'entity_id': 'sensor.ph', diff --git a/tests/components/iaqualink/snapshots/test_switch.ambr b/tests/components/iaqualink/snapshots/test_switch.ambr index c66911e955a..3ee8dc41a47 100644 --- a/tests/components/iaqualink/snapshots/test_switch.ambr +++ b/tests/components/iaqualink/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_setup[switch.aux_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aux 1', + : 'Aux 1', }), 'context': , 'entity_id': 'switch.aux_1', diff --git a/tests/components/igloohome/snapshots/test_lock.ambr b/tests/components/igloohome/snapshots/test_lock.ambr index 149dce29894..bcfbe4d167b 100644 --- a/tests/components/igloohome/snapshots/test_lock.ambr +++ b/tests/components/igloohome/snapshots/test_lock.ambr @@ -39,9 +39,9 @@ # name: test_lock[lock.front_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'Front Door', - 'supported_features': , + : True, + : 'Front Door', + : , }), 'context': , 'entity_id': 'lock.front_door', diff --git a/tests/components/igloohome/snapshots/test_sensor.ambr b/tests/components/igloohome/snapshots/test_sensor.ambr index e3c180ff30c..bd7f84ce321 100644 --- a/tests/components/igloohome/snapshots/test_sensor.ambr +++ b/tests/components/igloohome/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_sensors[sensor.front_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Front Door Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Front Door Battery', + : '%', }), 'context': , 'entity_id': 'sensor.front_door_battery', diff --git a/tests/components/imeon_inverter/snapshots/test_select.ambr b/tests/components/imeon_inverter/snapshots/test_select.ambr index 19a870958ff..f02d924461b 100644 --- a/tests/components/imeon_inverter/snapshots/test_select.ambr +++ b/tests/components/imeon_inverter/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_selects[select.imeon_inverter_inverter_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Imeon inverter Inverter mode', + : 'Imeon inverter Inverter mode', : list([ 'smart_grid', 'backup', diff --git a/tests/components/imeon_inverter/snapshots/test_sensor.ambr b/tests/components/imeon_inverter/snapshots/test_sensor.ambr index bbd75e9a4b4..a3775277603 100644 --- a/tests/components/imeon_inverter/snapshots/test_sensor.ambr +++ b/tests/components/imeon_inverter/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.imeon_inverter_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Imeon inverter Air temperature', + : 'temperature', + : 'Imeon inverter Air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_air_temperature', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.imeon_inverter_battery_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Battery consumed', + : 'power', + : 'Imeon inverter Battery consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_battery_consumed', @@ -160,10 +160,10 @@ # name: test_sensors[sensor.imeon_inverter_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Battery power', + : 'power', + : 'Imeon inverter Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_battery_power', @@ -215,10 +215,10 @@ # name: test_sensors[sensor.imeon_inverter_battery_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Imeon inverter Battery state of charge', + : 'battery', + : 'Imeon inverter Battery state of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.imeon_inverter_battery_state_of_charge', @@ -274,8 +274,8 @@ # name: test_sensors[sensor.imeon_inverter_battery_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Imeon inverter Battery status', + : 'enum', + : 'Imeon inverter Battery status', : list([ 'charging', 'discharging', @@ -335,10 +335,10 @@ # name: test_sensors[sensor.imeon_inverter_battery_stored-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Battery stored', + : 'power', + : 'Imeon inverter Battery stored', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_battery_stored', @@ -393,10 +393,10 @@ # name: test_sensors[sensor.imeon_inverter_building_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Building consumption', + : 'power', + : 'Imeon inverter Building consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_building_consumption', @@ -451,10 +451,10 @@ # name: test_sensors[sensor.imeon_inverter_charging_current_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Imeon inverter Charging current limit', + : 'current', + : 'Imeon inverter Charging current limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_charging_current_limit', @@ -509,10 +509,10 @@ # name: test_sensors[sensor.imeon_inverter_component_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Imeon inverter Component temperature', + : 'temperature', + : 'Imeon inverter Component temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_component_temperature', @@ -565,9 +565,9 @@ # name: test_sensors[sensor.imeon_inverter_forecast_remaining_energy_consumption_for_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Forecast remaining energy consumption for today', - 'unit_of_measurement': , + : 'energy', + : 'Imeon inverter Forecast remaining energy consumption for today', + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_forecast_remaining_energy_consumption_for_today', @@ -620,9 +620,9 @@ # name: test_sensors[sensor.imeon_inverter_forecast_remaining_energy_production_for_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Forecast remaining energy production for today', - 'unit_of_measurement': , + : 'energy', + : 'Imeon inverter Forecast remaining energy production for today', + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_forecast_remaining_energy_production_for_today', @@ -677,10 +677,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Grid consumption', + : 'power', + : 'Imeon inverter Grid consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_consumption', @@ -735,10 +735,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Imeon inverter Grid current L1', + : 'current', + : 'Imeon inverter Grid current L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_current_l1', @@ -793,10 +793,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Imeon inverter Grid current L2', + : 'current', + : 'Imeon inverter Grid current L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_current_l2', @@ -851,10 +851,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Imeon inverter Grid current L3', + : 'current', + : 'Imeon inverter Grid current L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_current_l3', @@ -909,10 +909,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Imeon inverter Grid frequency', + : 'frequency', + : 'Imeon inverter Grid frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_frequency', @@ -967,10 +967,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_injection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Grid injection', + : 'power', + : 'Imeon inverter Grid injection', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_injection', @@ -1025,10 +1025,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_power_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Grid power flow', + : 'power', + : 'Imeon inverter Grid power flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_power_flow', @@ -1083,10 +1083,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_voltage_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Imeon inverter Grid voltage L1', + : 'voltage', + : 'Imeon inverter Grid voltage L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_voltage_l1', @@ -1141,10 +1141,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_voltage_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Imeon inverter Grid voltage L2', + : 'voltage', + : 'Imeon inverter Grid voltage L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_voltage_l2', @@ -1199,10 +1199,10 @@ # name: test_sensors[sensor.imeon_inverter_grid_voltage_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Imeon inverter Grid voltage L3', + : 'voltage', + : 'Imeon inverter Grid voltage L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_grid_voltage_l3', @@ -1257,10 +1257,10 @@ # name: test_sensors[sensor.imeon_inverter_injection_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Injection power limit', + : 'power', + : 'Imeon inverter Injection power limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_injection_power_limit', @@ -1315,10 +1315,10 @@ # name: test_sensors[sensor.imeon_inverter_input_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Input power L1', + : 'power', + : 'Imeon inverter Input power L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_input_power_l1', @@ -1373,10 +1373,10 @@ # name: test_sensors[sensor.imeon_inverter_input_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Input power L2', + : 'power', + : 'Imeon inverter Input power L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_input_power_l2', @@ -1431,10 +1431,10 @@ # name: test_sensors[sensor.imeon_inverter_input_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Input power L3', + : 'power', + : 'Imeon inverter Input power L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_input_power_l3', @@ -1489,10 +1489,10 @@ # name: test_sensors[sensor.imeon_inverter_input_power_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Input power total', + : 'power', + : 'Imeon inverter Input power total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_input_power_total', @@ -1550,8 +1550,8 @@ # name: test_sensors[sensor.imeon_inverter_inverter_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Imeon inverter Inverter state', + : 'enum', + : 'Imeon inverter Inverter state', : list([ 'not_connected', 'unsynchronized', @@ -1613,10 +1613,10 @@ # name: test_sensors[sensor.imeon_inverter_meter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Meter power', + : 'power', + : 'Imeon inverter Meter power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_meter_power', @@ -1671,10 +1671,10 @@ # name: test_sensors[sensor.imeon_inverter_output_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Imeon inverter Output current L1', + : 'current', + : 'Imeon inverter Output current L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_current_l1', @@ -1729,10 +1729,10 @@ # name: test_sensors[sensor.imeon_inverter_output_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Imeon inverter Output current L2', + : 'current', + : 'Imeon inverter Output current L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_current_l2', @@ -1787,10 +1787,10 @@ # name: test_sensors[sensor.imeon_inverter_output_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Imeon inverter Output current L3', + : 'current', + : 'Imeon inverter Output current L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_current_l3', @@ -1845,10 +1845,10 @@ # name: test_sensors[sensor.imeon_inverter_output_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Imeon inverter Output frequency', + : 'frequency', + : 'Imeon inverter Output frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_frequency', @@ -1903,10 +1903,10 @@ # name: test_sensors[sensor.imeon_inverter_output_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Output power L1', + : 'power', + : 'Imeon inverter Output power L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_power_l1', @@ -1961,10 +1961,10 @@ # name: test_sensors[sensor.imeon_inverter_output_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Output power L2', + : 'power', + : 'Imeon inverter Output power L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_power_l2', @@ -2019,10 +2019,10 @@ # name: test_sensors[sensor.imeon_inverter_output_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Output power L3', + : 'power', + : 'Imeon inverter Output power L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_power_l3', @@ -2077,10 +2077,10 @@ # name: test_sensors[sensor.imeon_inverter_output_power_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Output power total', + : 'power', + : 'Imeon inverter Output power total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_power_total', @@ -2135,10 +2135,10 @@ # name: test_sensors[sensor.imeon_inverter_output_voltage_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Imeon inverter Output voltage L1', + : 'voltage', + : 'Imeon inverter Output voltage L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_voltage_l1', @@ -2193,10 +2193,10 @@ # name: test_sensors[sensor.imeon_inverter_output_voltage_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Imeon inverter Output voltage L2', + : 'voltage', + : 'Imeon inverter Output voltage L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_voltage_l2', @@ -2251,10 +2251,10 @@ # name: test_sensors[sensor.imeon_inverter_output_voltage_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Imeon inverter Output voltage L3', + : 'voltage', + : 'Imeon inverter Output voltage L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_output_voltage_l3', @@ -2309,10 +2309,10 @@ # name: test_sensors[sensor.imeon_inverter_pv_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter PV consumed', + : 'power', + : 'Imeon inverter PV consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_pv_consumed', @@ -2367,10 +2367,10 @@ # name: test_sensors[sensor.imeon_inverter_pv_injected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter PV injected', + : 'power', + : 'Imeon inverter PV injected', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_pv_injected', @@ -2425,10 +2425,10 @@ # name: test_sensors[sensor.imeon_inverter_pv_power_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter PV power 1', + : 'power', + : 'Imeon inverter PV power 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_pv_power_1', @@ -2483,10 +2483,10 @@ # name: test_sensors[sensor.imeon_inverter_pv_power_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter PV power 2', + : 'power', + : 'Imeon inverter PV power 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_pv_power_2', @@ -2541,10 +2541,10 @@ # name: test_sensors[sensor.imeon_inverter_pv_power_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter PV power total', + : 'power', + : 'Imeon inverter PV power total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_pv_power_total', @@ -2599,9 +2599,9 @@ # name: test_sensors[sensor.imeon_inverter_self_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Imeon inverter Self-consumption', + : 'Imeon inverter Self-consumption', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.imeon_inverter_self_consumption', @@ -2656,9 +2656,9 @@ # name: test_sensors[sensor.imeon_inverter_self_sufficiency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Imeon inverter Self-sufficiency', + : 'Imeon inverter Self-sufficiency', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.imeon_inverter_self_sufficiency', @@ -2713,10 +2713,10 @@ # name: test_sensors[sensor.imeon_inverter_solar_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Imeon inverter Solar production', + : 'power', + : 'Imeon inverter Solar production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_solar_production', @@ -2783,8 +2783,8 @@ # name: test_sensors[sensor.imeon_inverter_timeline_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Imeon inverter Timeline status', + : 'enum', + : 'Imeon inverter Timeline status', : list([ 'com_lost', 'warning_grid', @@ -2855,10 +2855,10 @@ # name: test_sensors[sensor.imeon_inverter_today_battery_consumed_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Today battery-consumed energy', + : 'energy', + : 'Imeon inverter Today battery-consumed energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_today_battery_consumed_energy', @@ -2913,10 +2913,10 @@ # name: test_sensors[sensor.imeon_inverter_today_battery_stored_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Today battery-stored energy', + : 'energy', + : 'Imeon inverter Today battery-stored energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_today_battery_stored_energy', @@ -2971,10 +2971,10 @@ # name: test_sensors[sensor.imeon_inverter_today_building_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Today building consumption', + : 'energy', + : 'Imeon inverter Today building consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_today_building_consumption', @@ -3029,10 +3029,10 @@ # name: test_sensors[sensor.imeon_inverter_today_grid_consumed_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Today grid-consumed energy', + : 'energy', + : 'Imeon inverter Today grid-consumed energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_today_grid_consumed_energy', @@ -3087,10 +3087,10 @@ # name: test_sensors[sensor.imeon_inverter_today_grid_injected_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Today grid-injected energy', + : 'energy', + : 'Imeon inverter Today grid-injected energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_today_grid_injected_energy', @@ -3145,10 +3145,10 @@ # name: test_sensors[sensor.imeon_inverter_today_pv_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Imeon inverter Today PV energy', + : 'energy', + : 'Imeon inverter Today PV energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.imeon_inverter_today_pv_energy', diff --git a/tests/components/imgw_pib/snapshots/test_sensor.ambr b/tests/components/imgw_pib/snapshots/test_sensor.ambr index 143d7cea4bd..7deb437696a 100644 --- a/tests/components/imgw_pib/snapshots/test_sensor.ambr +++ b/tests/components/imgw_pib/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.river_name_station_name_emergent_vegetation_cover-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'friendly_name': 'River Name (Station Name) Emergent vegetation cover', + : 'Data provided by IMGW-PIB', + : 'River Name (Station Name) Emergent vegetation cover', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.river_name_station_name_emergent_vegetation_cover', @@ -102,10 +102,10 @@ # name: test_sensor[sensor.river_name_station_name_floating_vegetation_cover-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'friendly_name': 'River Name (Station Name) Floating vegetation cover', + : 'Data provided by IMGW-PIB', + : 'River Name (Station Name) Floating vegetation cover', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.river_name_station_name_floating_vegetation_cover', @@ -163,9 +163,9 @@ # name: test_sensor[sensor.river_name_station_name_hydrological_alert-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'device_class': 'enum', - 'friendly_name': 'River Name (Station Name) Hydrological alert', + : 'Data provided by IMGW-PIB', + : 'enum', + : 'River Name (Station Name) Hydrological alert', 'level': 'yellow', : list([ 'no_alert', @@ -231,10 +231,10 @@ # name: test_sensor[sensor.river_name_station_name_ice_phenomena-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'friendly_name': 'River Name (Station Name) Ice phenomena', + : 'Data provided by IMGW-PIB', + : 'River Name (Station Name) Ice phenomena', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.river_name_station_name_ice_phenomena', @@ -289,10 +289,10 @@ # name: test_sensor[sensor.river_name_station_name_submerged_vegetation_cover-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'friendly_name': 'River Name (Station Name) Submerged vegetation cover', + : 'Data provided by IMGW-PIB', + : 'River Name (Station Name) Submerged vegetation cover', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.river_name_station_name_submerged_vegetation_cover', @@ -347,11 +347,11 @@ # name: test_sensor[sensor.river_name_station_name_water_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'device_class': 'volume_flow_rate', - 'friendly_name': 'River Name (Station Name) Water flow', + : 'Data provided by IMGW-PIB', + : 'volume_flow_rate', + : 'River Name (Station Name) Water flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.river_name_station_name_water_flow', @@ -406,11 +406,11 @@ # name: test_sensor[sensor.river_name_station_name_water_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'device_class': 'distance', - 'friendly_name': 'River Name (Station Name) Water level', + : 'Data provided by IMGW-PIB', + : 'distance', + : 'River Name (Station Name) Water level', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.river_name_station_name_water_level', @@ -465,11 +465,11 @@ # name: test_sensor[sensor.river_name_station_name_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by IMGW-PIB', - 'device_class': 'temperature', - 'friendly_name': 'River Name (Station Name) Water temperature', + : 'Data provided by IMGW-PIB', + : 'temperature', + : 'River Name (Station Name) Water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.river_name_station_name_water_temperature', diff --git a/tests/components/immich/snapshots/test_sensor.ambr b/tests/components/immich/snapshots/test_sensor.ambr index 9d48ae750d0..b97a2c1db09 100644 --- a/tests/components/immich/snapshots/test_sensor.ambr +++ b/tests/components/immich/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_sensors[sensor.someone_disk_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Someone Disk available', + : 'data_size', + : 'Someone Disk available', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.someone_disk_available', @@ -108,10 +108,10 @@ # name: test_sensors[sensor.someone_disk_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Someone Disk size', + : 'data_size', + : 'Someone Disk size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.someone_disk_size', @@ -163,9 +163,9 @@ # name: test_sensors[sensor.someone_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Someone Disk usage', + : 'Someone Disk usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.someone_disk_usage', @@ -223,10 +223,10 @@ # name: test_sensors[sensor.someone_disk_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Someone Disk used', + : 'data_size', + : 'Someone Disk used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.someone_disk_used', @@ -284,10 +284,10 @@ # name: test_sensors[sensor.someone_disk_used_by_photos-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Someone Disk used by photos', + : 'data_size', + : 'Someone Disk used by photos', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.someone_disk_used_by_photos', @@ -345,10 +345,10 @@ # name: test_sensors[sensor.someone_disk_used_by_videos-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Someone Disk used by videos', + : 'data_size', + : 'Someone Disk used by videos', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.someone_disk_used_by_videos', @@ -400,9 +400,9 @@ # name: test_sensors[sensor.someone_photos_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Someone Photos count', + : 'Someone Photos count', : , - 'unit_of_measurement': 'photos', + : 'photos', }), 'context': , 'entity_id': 'sensor.someone_photos_count', @@ -454,9 +454,9 @@ # name: test_sensors[sensor.someone_videos_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Someone Videos count', + : 'Someone Videos count', : , - 'unit_of_measurement': 'videos', + : 'videos', }), 'context': , 'entity_id': 'sensor.someone_videos_count', diff --git a/tests/components/immich/snapshots/test_update.ambr b/tests/components/immich/snapshots/test_update.ambr index 750a8c729fd..fd777e1d6c5 100644 --- a/tests/components/immich/snapshots/test_update.ambr +++ b/tests/components/immich/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/immich/icon.png', - 'friendly_name': 'Someone Version', + : '/api/brands/integration/immich/icon.png', + : 'Someone Version', : False, : 'v1.134.0', : 'v1.135.3', : None, : 'https://github.com/immich-app/immich/releases/tag/v1.135.3', : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/imou/snapshots/test_button.ambr b/tests/components/imou/snapshots/test_button.ambr index 28748ca0b2b..e48f454e4f4 100644 --- a/tests/components/imou/snapshots/test_button.ambr +++ b/tests/components/imou/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_entities_snapshot[button.device_1_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 1 Mute', + : 'Device 1 Mute', }), 'context': , 'entity_id': 'button.device_1_mute', @@ -89,7 +89,7 @@ # name: test_button_entities_snapshot[button.device_1_ptz_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 1 PTZ up', + : 'Device 1 PTZ up', }), 'context': , 'entity_id': 'button.device_1_ptz_up', @@ -139,8 +139,8 @@ # name: test_button_entities_snapshot[button.device_1_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Device 1 Restart', + : 'restart', + : 'Device 1 Restart', }), 'context': , 'entity_id': 'button.device_1_restart', diff --git a/tests/components/imou/snapshots/test_camera.ambr b/tests/components/imou/snapshots/test_camera.ambr index 37f56aa045d..3f023f9f296 100644 --- a/tests/components/imou/snapshots/test_camera.ambr +++ b/tests/components/imou/snapshots/test_camera.ambr @@ -40,9 +40,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view HD', - 'supported_features': , + : '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', + : 'Device 1 Live view HD', + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_hd', @@ -93,9 +93,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view SD', - 'supported_features': , + : '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', + : 'Device 1 Live view SD', + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_sd', @@ -109,10 +109,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view HD', + : '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', + : 'Device 1 Live view HD', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_hd', @@ -126,10 +126,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view SD', + : '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', + : 'Device 1 Live view SD', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_sd', @@ -143,10 +143,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view HD', + : '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', + : 'Device 1 Live view HD', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_hd', @@ -160,10 +160,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view SD', + : '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', + : 'Device 1 Live view SD', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_sd', @@ -177,10 +177,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view HD', + : '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', + : 'Device 1 Live view HD', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_hd', @@ -194,10 +194,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view SD', + : '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', + : 'Device 1 Live view SD', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_sd', @@ -211,9 +211,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view HD', - 'supported_features': , + : '/api/camera_proxy/camera.device_1_live_view_hd?token=1caab5c3b3', + : 'Device 1 Live view HD', + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_hd', @@ -227,9 +227,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', - 'friendly_name': 'Device 1 Live view SD', - 'supported_features': , + : '/api/camera_proxy/camera.device_1_live_view_sd?token=1caab5c3b3', + : 'Device 1 Live view SD', + : , }), 'context': , 'entity_id': 'camera.device_1_live_view_sd', diff --git a/tests/components/incomfort/snapshots/test_binary_sensor.ambr b/tests/components/incomfort/snapshots/test_binary_sensor.ambr index fcb7c1d3221..2d30a4b7d08 100644 --- a/tests/components/incomfort/snapshots/test_binary_sensor.ambr +++ b/tests/components/incomfort/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_burner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Burner', + : 'running', + : 'Boiler Burner', }), 'context': , 'entity_id': 'binary_sensor.boiler_burner', @@ -90,9 +90,9 @@ # name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'fault_code': 'none', - 'friendly_name': 'Boiler Fault', + : 'Boiler Fault', }), 'context': , 'entity_id': 'binary_sensor.boiler_fault', @@ -142,8 +142,8 @@ # name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_hot_water_tap-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Hot water tap', + : 'running', + : 'Boiler Hot water tap', }), 'context': , 'entity_id': 'binary_sensor.boiler_hot_water_tap', @@ -193,8 +193,8 @@ # name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Pump', + : 'running', + : 'Boiler Pump', }), 'context': , 'entity_id': 'binary_sensor.boiler_pump', @@ -244,8 +244,8 @@ # name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_burner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Burner', + : 'running', + : 'Boiler Burner', }), 'context': , 'entity_id': 'binary_sensor.boiler_burner', @@ -295,9 +295,9 @@ # name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'fault_code': , - 'friendly_name': 'Boiler Fault', + : 'Boiler Fault', }), 'context': , 'entity_id': 'binary_sensor.boiler_fault', @@ -347,8 +347,8 @@ # name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_hot_water_tap-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Hot water tap', + : 'running', + : 'Boiler Hot water tap', }), 'context': , 'entity_id': 'binary_sensor.boiler_hot_water_tap', @@ -398,8 +398,8 @@ # name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Pump', + : 'running', + : 'Boiler Pump', }), 'context': , 'entity_id': 'binary_sensor.boiler_pump', @@ -449,8 +449,8 @@ # name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_burner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Burner', + : 'running', + : 'Boiler Burner', }), 'context': , 'entity_id': 'binary_sensor.boiler_burner', @@ -500,9 +500,9 @@ # name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'fault_code': 'none', - 'friendly_name': 'Boiler Fault', + : 'Boiler Fault', }), 'context': , 'entity_id': 'binary_sensor.boiler_fault', @@ -552,8 +552,8 @@ # name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_hot_water_tap-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Hot water tap', + : 'running', + : 'Boiler Hot water tap', }), 'context': , 'entity_id': 'binary_sensor.boiler_hot_water_tap', @@ -603,8 +603,8 @@ # name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Pump', + : 'running', + : 'Boiler Pump', }), 'context': , 'entity_id': 'binary_sensor.boiler_pump', @@ -654,8 +654,8 @@ # name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_burner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Burner', + : 'running', + : 'Boiler Burner', }), 'context': , 'entity_id': 'binary_sensor.boiler_burner', @@ -705,9 +705,9 @@ # name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'fault_code': 'none', - 'friendly_name': 'Boiler Fault', + : 'Boiler Fault', }), 'context': , 'entity_id': 'binary_sensor.boiler_fault', @@ -757,8 +757,8 @@ # name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_hot_water_tap-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Hot water tap', + : 'running', + : 'Boiler Hot water tap', }), 'context': , 'entity_id': 'binary_sensor.boiler_hot_water_tap', @@ -808,8 +808,8 @@ # name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Pump', + : 'running', + : 'Boiler Pump', }), 'context': , 'entity_id': 'binary_sensor.boiler_pump', @@ -859,8 +859,8 @@ # name: test_setup_platform[binary_sensor.boiler_burner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Burner', + : 'running', + : 'Boiler Burner', }), 'context': , 'entity_id': 'binary_sensor.boiler_burner', @@ -910,9 +910,9 @@ # name: test_setup_platform[binary_sensor.boiler_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'fault_code': 'none', - 'friendly_name': 'Boiler Fault', + : 'Boiler Fault', }), 'context': , 'entity_id': 'binary_sensor.boiler_fault', @@ -962,8 +962,8 @@ # name: test_setup_platform[binary_sensor.boiler_hot_water_tap-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Hot water tap', + : 'running', + : 'Boiler Hot water tap', }), 'context': , 'entity_id': 'binary_sensor.boiler_hot_water_tap', @@ -1013,8 +1013,8 @@ # name: test_setup_platform[binary_sensor.boiler_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Boiler Pump', + : 'running', + : 'Boiler Pump', }), 'context': , 'entity_id': 'binary_sensor.boiler_pump', diff --git a/tests/components/incomfort/snapshots/test_climate.ambr b/tests/components/incomfort/snapshots/test_climate.ambr index e3ad039a022..a1825298eea 100644 --- a/tests/components/incomfort/snapshots/test_climate.ambr +++ b/tests/components/incomfort/snapshots/test_climate.ambr @@ -46,7 +46,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.4, - 'friendly_name': 'Thermostat 1', + : 'Thermostat 1', : , : list([ , @@ -58,7 +58,7 @@ 'room_temp': 21.42, 'setpoint': 18.0, }), - 'supported_features': , + : , : 18.0, }), 'context': , @@ -116,7 +116,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.4, - 'friendly_name': 'Thermostat 1', + : 'Thermostat 1', : , : list([ , @@ -128,7 +128,7 @@ 'room_temp': 21.42, 'setpoint': 18.0, }), - 'supported_features': , + : , : 18.0, }), 'context': , @@ -186,7 +186,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.4, - 'friendly_name': 'Thermostat 1', + : 'Thermostat 1', : , : list([ , @@ -198,7 +198,7 @@ 'room_temp': 21.42, 'setpoint': 18.0, }), - 'supported_features': , + : , : 19.0, }), 'context': , @@ -256,7 +256,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.4, - 'friendly_name': 'Thermostat 1', + : 'Thermostat 1', : , : list([ , @@ -268,7 +268,7 @@ 'room_temp': 21.42, 'setpoint': 18.0, }), - 'supported_features': , + : , : 18.0, }), 'context': , diff --git a/tests/components/incomfort/snapshots/test_sensor.ambr b/tests/components/incomfort/snapshots/test_sensor.ambr index a47c5fee0f5..d9b1d7b7ff5 100644 --- a/tests/components/incomfort/snapshots/test_sensor.ambr +++ b/tests/components/incomfort/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_setup_platform[sensor.boiler_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Boiler Pressure', + : 'pressure', + : 'Boiler Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.boiler_pressure', @@ -99,7 +99,7 @@ # name: test_setup_platform[sensor.boiler_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Boiler RSSI', + : 'Boiler RSSI', 'rfstatus_cntr': 0, : , }), @@ -156,11 +156,11 @@ # name: test_setup_platform[sensor.boiler_tap_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Boiler Tap temperature', + : 'temperature', + : 'Boiler Tap temperature', 'is_tapping': False, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.boiler_tap_temperature', @@ -215,11 +215,11 @@ # name: test_setup_platform[sensor.boiler_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Boiler Temperature', + : 'temperature', + : 'Boiler Temperature', 'is_pumping': False, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.boiler_temperature', diff --git a/tests/components/incomfort/snapshots/test_water_heater.ambr b/tests/components/incomfort/snapshots/test_water_heater.ambr index 38cd6390b1f..bfffb403dfa 100644 --- a/tests/components/incomfort/snapshots/test_water_heater.ambr +++ b/tests/components/incomfort/snapshots/test_water_heater.ambr @@ -45,11 +45,11 @@ : 35.3, 'display_code': , 'display_text': 'standby', - 'friendly_name': 'Boiler', + : 'Boiler', 'is_burning': False, : 80.0, : 30.0, - 'supported_features': , + : , : None, : None, : None, diff --git a/tests/components/indevolt/snapshots/test_binary_sensor.ambr b/tests/components/indevolt/snapshots/test_binary_sensor.ambr index 78b8ae26666..944c2dad407 100644 --- a/tests/components/indevolt/snapshots/test_binary_sensor.ambr +++ b/tests/components/indevolt/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor[1][binary_sensor.bk1600_electric_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BK1600 Electric heating', + : 'BK1600 Electric heating', }), 'context': , 'entity_id': 'binary_sensor.bk1600_electric_heating', @@ -89,8 +89,8 @@ # name: test_binary_sensor[1][binary_sensor.bk1600_meter_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'BK1600 Meter connected', + : 'connectivity', + : 'BK1600 Meter connected', }), 'context': , 'entity_id': 'binary_sensor.bk1600_meter_connected', @@ -140,7 +140,7 @@ # name: test_binary_sensor[2][binary_sensor.cms_sf2000_battery_pack_1_electric_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 1 electric heating', + : 'CMS-SF2000 Battery pack 1 electric heating', }), 'context': , 'entity_id': 'binary_sensor.cms_sf2000_battery_pack_1_electric_heating', @@ -190,7 +190,7 @@ # name: test_binary_sensor[2][binary_sensor.cms_sf2000_battery_pack_2_electric_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 2 electric heating', + : 'CMS-SF2000 Battery pack 2 electric heating', }), 'context': , 'entity_id': 'binary_sensor.cms_sf2000_battery_pack_2_electric_heating', @@ -240,7 +240,7 @@ # name: test_binary_sensor[2][binary_sensor.cms_sf2000_battery_pack_3_electric_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 3 electric heating', + : 'CMS-SF2000 Battery pack 3 electric heating', }), 'context': , 'entity_id': 'binary_sensor.cms_sf2000_battery_pack_3_electric_heating', @@ -290,7 +290,7 @@ # name: test_binary_sensor[2][binary_sensor.cms_sf2000_battery_pack_4_electric_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 4 electric heating', + : 'CMS-SF2000 Battery pack 4 electric heating', }), 'context': , 'entity_id': 'binary_sensor.cms_sf2000_battery_pack_4_electric_heating', @@ -340,7 +340,7 @@ # name: test_binary_sensor[2][binary_sensor.cms_sf2000_battery_pack_5_electric_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 5 electric heating', + : 'CMS-SF2000 Battery pack 5 electric heating', }), 'context': , 'entity_id': 'binary_sensor.cms_sf2000_battery_pack_5_electric_heating', @@ -390,7 +390,7 @@ # name: test_binary_sensor[2][binary_sensor.cms_sf2000_main_electric_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Main electric heating', + : 'CMS-SF2000 Main electric heating', }), 'context': , 'entity_id': 'binary_sensor.cms_sf2000_main_electric_heating', @@ -440,8 +440,8 @@ # name: test_binary_sensor[2][binary_sensor.cms_sf2000_meter_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'CMS-SF2000 Meter connected', + : 'connectivity', + : 'CMS-SF2000 Meter connected', }), 'context': , 'entity_id': 'binary_sensor.cms_sf2000_meter_connected', diff --git a/tests/components/indevolt/snapshots/test_button.ambr b/tests/components/indevolt/snapshots/test_button.ambr index 081fdf81cc0..acf3d01acf1 100644 --- a/tests/components/indevolt/snapshots/test_button.ambr +++ b/tests/components/indevolt/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button[1][button.bk1600_enable_standby_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BK1600 Enable standby mode', + : 'BK1600 Enable standby mode', }), 'context': , 'entity_id': 'button.bk1600_enable_standby_mode', @@ -89,7 +89,7 @@ # name: test_button[2][button.cms_sf2000_enable_standby_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Enable standby mode', + : 'CMS-SF2000 Enable standby mode', }), 'context': , 'entity_id': 'button.cms_sf2000_enable_standby_mode', diff --git a/tests/components/indevolt/snapshots/test_number.ambr b/tests/components/indevolt/snapshots/test_number.ambr index 65678f9ebf9..d6d8fae7384 100644 --- a/tests/components/indevolt/snapshots/test_number.ambr +++ b/tests/components/indevolt/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number[2][number.cms_sf2000_discharge_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Discharge limit', + : 'CMS-SF2000 Discharge limit', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.cms_sf2000_discharge_limit', @@ -104,13 +104,13 @@ # name: test_number[2][number.cms_sf2000_feed_in_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 Feed-in power limit', + : 'power', + : 'CMS-SF2000 Feed-in power limit', : 2400, : 0, : , : 100, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.cms_sf2000_feed_in_power_limit', @@ -165,13 +165,13 @@ # name: test_number[2][number.cms_sf2000_inverter_input_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 Inverter input limit', + : 'power', + : 'CMS-SF2000 Inverter input limit', : 2400, : 100, : , : 100, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.cms_sf2000_inverter_input_limit', @@ -226,13 +226,13 @@ # name: test_number[2][number.cms_sf2000_max_ac_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 Max AC output power', + : 'power', + : 'CMS-SF2000 Max AC output power', : 2400, : 0, : , : 100, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.cms_sf2000_max_ac_output_power', diff --git a/tests/components/indevolt/snapshots/test_select.ambr b/tests/components/indevolt/snapshots/test_select.ambr index 1d6c8d1f437..69a81dc656c 100644 --- a/tests/components/indevolt/snapshots/test_select.ambr +++ b/tests/components/indevolt/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select[1][select.bk1600_energy_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BK1600 Energy mode', + : 'BK1600 Energy mode', : list([ 'self_consumed_prioritized', 'real_time_control', @@ -106,7 +106,7 @@ # name: test_select[2][select.cms_sf2000_energy_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Energy mode', + : 'CMS-SF2000 Energy mode', : list([ 'self_consumed_prioritized', 'real_time_control', diff --git a/tests/components/indevolt/snapshots/test_sensor.ambr b/tests/components/indevolt/snapshots/test_sensor.ambr index 5bf326ead72..51095e03312 100644 --- a/tests/components/indevolt/snapshots/test_sensor.ambr +++ b/tests/components/indevolt/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[1][sensor.bk1600_ac_input_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 AC input power', + : 'power', + : 'BK1600 AC input power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_ac_input_power', @@ -102,10 +102,10 @@ # name: test_sensor[1][sensor.bk1600_ac_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 AC output power', + : 'power', + : 'BK1600 AC output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_ac_output_power', @@ -161,8 +161,8 @@ # name: test_sensor[1][sensor.bk1600_battery_charge_discharge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'BK1600 Battery charge/discharge state', + : 'enum', + : 'BK1600 Battery charge/discharge state', : list([ 'charging', 'discharging', @@ -222,10 +222,10 @@ # name: test_sensor[1][sensor.bk1600_battery_daily_charging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Battery daily charging energy', + : 'energy', + : 'BK1600 Battery daily charging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_daily_charging_energy', @@ -280,10 +280,10 @@ # name: test_sensor[1][sensor.bk1600_battery_daily_discharging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Battery daily discharging energy', + : 'energy', + : 'BK1600 Battery daily discharging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_daily_discharging_energy', @@ -338,10 +338,10 @@ # name: test_sensor[1][sensor.bk1600_battery_pack_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BK1600 Battery pack 1 temperature', + : 'temperature', + : 'BK1600 Battery pack 1 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_pack_1_temperature', @@ -396,10 +396,10 @@ # name: test_sensor[1][sensor.bk1600_battery_pack_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BK1600 Battery pack 2 temperature', + : 'temperature', + : 'BK1600 Battery pack 2 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_pack_2_temperature', @@ -454,10 +454,10 @@ # name: test_sensor[1][sensor.bk1600_battery_pack_3_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BK1600 Battery pack 3 temperature', + : 'temperature', + : 'BK1600 Battery pack 3 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_pack_3_temperature', @@ -512,10 +512,10 @@ # name: test_sensor[1][sensor.bk1600_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 Battery power', + : 'power', + : 'BK1600 Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_power', @@ -567,10 +567,10 @@ # name: test_sensor[1][sensor.bk1600_battery_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'BK1600 Battery SOC', + : 'battery', + : 'BK1600 Battery SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bk1600_battery_soc', @@ -625,10 +625,10 @@ # name: test_sensor[1][sensor.bk1600_battery_total_charging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Battery total charging energy', + : 'energy', + : 'BK1600 Battery total charging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_total_charging_energy', @@ -683,10 +683,10 @@ # name: test_sensor[1][sensor.bk1600_battery_total_discharging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Battery total discharging energy', + : 'energy', + : 'BK1600 Battery total discharging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_battery_total_discharging_energy', @@ -741,10 +741,10 @@ # name: test_sensor[1][sensor.bk1600_bypass_input_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Bypass input energy', + : 'energy', + : 'BK1600 Bypass input energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_bypass_input_energy', @@ -799,10 +799,10 @@ # name: test_sensor[1][sensor.bk1600_bypass_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 Bypass power', + : 'power', + : 'BK1600 Bypass power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_bypass_power', @@ -860,10 +860,10 @@ # name: test_sensor[1][sensor.bk1600_cumulative_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Cumulative production', + : 'energy', + : 'BK1600 Cumulative production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_cumulative_production', @@ -918,10 +918,10 @@ # name: test_sensor[1][sensor.bk1600_daily_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Daily production', + : 'energy', + : 'BK1600 Daily production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_daily_production', @@ -976,10 +976,10 @@ # name: test_sensor[1][sensor.bk1600_dc_input_current_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'BK1600 DC input current 1', + : 'current', + : 'BK1600 DC input current 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_dc_input_current_1', @@ -1034,10 +1034,10 @@ # name: test_sensor[1][sensor.bk1600_dc_input_current_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'BK1600 DC input current 2', + : 'current', + : 'BK1600 DC input current 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_dc_input_current_2', @@ -1092,10 +1092,10 @@ # name: test_sensor[1][sensor.bk1600_dc_input_power_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 DC input power 1', + : 'power', + : 'BK1600 DC input power 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_dc_input_power_1', @@ -1150,10 +1150,10 @@ # name: test_sensor[1][sensor.bk1600_dc_input_power_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 DC input power 2', + : 'power', + : 'BK1600 DC input power 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_dc_input_power_2', @@ -1208,10 +1208,10 @@ # name: test_sensor[1][sensor.bk1600_dc_input_voltage_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'BK1600 DC input voltage 1', + : 'voltage', + : 'BK1600 DC input voltage 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_dc_input_voltage_1', @@ -1266,10 +1266,10 @@ # name: test_sensor[1][sensor.bk1600_dc_input_voltage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'BK1600 DC input voltage 2', + : 'voltage', + : 'BK1600 DC input voltage 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_dc_input_voltage_2', @@ -1324,10 +1324,10 @@ # name: test_sensor[1][sensor.bk1600_dc_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 DC output power', + : 'power', + : 'BK1600 DC output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_dc_output_power', @@ -1383,8 +1383,8 @@ # name: test_sensor[1][sensor.bk1600_device_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'BK1600 Device mode', + : 'enum', + : 'BK1600 Device mode', : list([ 'main', 'standalone', @@ -1439,8 +1439,8 @@ # name: test_sensor[1][sensor.bk1600_discharge_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BK1600 Discharge limit', - 'unit_of_measurement': '%', + : 'BK1600 Discharge limit', + : '%', }), 'context': , 'entity_id': 'sensor.bk1600_discharge_limit', @@ -1497,8 +1497,8 @@ # name: test_sensor[1][sensor.bk1600_energy_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'BK1600 Energy mode', + : 'enum', + : 'BK1600 Energy mode', : list([ 'charge_discharge_schedule', 'outdoor_portable', @@ -1559,10 +1559,10 @@ # name: test_sensor[1][sensor.bk1600_inverter_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BK1600 Inverter temperature', + : 'temperature', + : 'BK1600 Inverter temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_inverter_temperature', @@ -1617,10 +1617,10 @@ # name: test_sensor[1][sensor.bk1600_meter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 Meter power', + : 'power', + : 'BK1600 Meter power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_meter_power', @@ -1675,10 +1675,10 @@ # name: test_sensor[1][sensor.bk1600_mos_temperature_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BK1600 MOS temperature charge', + : 'temperature', + : 'BK1600 MOS temperature charge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_mos_temperature_charge', @@ -1733,10 +1733,10 @@ # name: test_sensor[1][sensor.bk1600_mos_temperature_discharge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BK1600 MOS temperature discharge', + : 'temperature', + : 'BK1600 MOS temperature discharge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_mos_temperature_discharge', @@ -1791,10 +1791,10 @@ # name: test_sensor[1][sensor.bk1600_off_grid_output_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Off-grid output energy', + : 'energy', + : 'BK1600 Off-grid output energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_off_grid_output_energy', @@ -1847,9 +1847,9 @@ # name: test_sensor[1][sensor.bk1600_rated_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Rated capacity', - 'unit_of_measurement': , + : 'energy', + : 'BK1600 Rated capacity', + : , }), 'context': , 'entity_id': 'sensor.bk1600_rated_capacity', @@ -1905,8 +1905,8 @@ # name: test_sensor[1][sensor.bk1600_real_time_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'BK1600 Real-time mode', + : 'enum', + : 'BK1600 Real-time mode', : list([ 'charging', 'discharging', @@ -1966,10 +1966,10 @@ # name: test_sensor[1][sensor.bk1600_real_time_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'BK1600 Real-time power limit', + : 'power', + : 'BK1600 Real-time power limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_real_time_power_limit', @@ -2019,8 +2019,8 @@ # name: test_sensor[1][sensor.bk1600_real_time_target_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BK1600 Real-time target SOC', - 'unit_of_measurement': '%', + : 'BK1600 Real-time target SOC', + : '%', }), 'context': , 'entity_id': 'sensor.bk1600_real_time_target_soc', @@ -2075,10 +2075,10 @@ # name: test_sensor[1][sensor.bk1600_total_ac_input_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Total AC input energy', + : 'energy', + : 'BK1600 Total AC input energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_total_ac_input_energy', @@ -2133,10 +2133,10 @@ # name: test_sensor[1][sensor.bk1600_total_ac_output_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'BK1600 Total AC output energy', + : 'energy', + : 'BK1600 Total AC output energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bk1600_total_ac_output_energy', @@ -2191,10 +2191,10 @@ # name: test_sensor[2][sensor.cms_sf2000_ac_input_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 AC input power', + : 'power', + : 'CMS-SF2000 AC input power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_ac_input_power', @@ -2249,10 +2249,10 @@ # name: test_sensor[2][sensor.cms_sf2000_ac_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 AC output power', + : 'power', + : 'CMS-SF2000 AC output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_ac_output_power', @@ -2308,8 +2308,8 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_charge_discharge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'CMS-SF2000 Battery charge/discharge state', + : 'enum', + : 'CMS-SF2000 Battery charge/discharge state', : list([ 'charging', 'discharging', @@ -2369,10 +2369,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_daily_charging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Battery daily charging energy', + : 'energy', + : 'CMS-SF2000 Battery daily charging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_daily_charging_energy', @@ -2427,10 +2427,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_daily_discharging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Battery daily discharging energy', + : 'energy', + : 'CMS-SF2000 Battery daily discharging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_daily_discharging_energy', @@ -2485,10 +2485,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 Battery pack 1 current', + : 'current', + : 'CMS-SF2000 Battery pack 1 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_1_current', @@ -2540,7 +2540,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_1_cycle_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 1 cycle count', + : 'CMS-SF2000 Battery pack 1 cycle count', : , }), 'context': , @@ -2596,10 +2596,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_1_mos_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 1 MOS temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 1 MOS temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_1_mos_temperature', @@ -2649,7 +2649,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_1_sn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 1 SN', + : 'CMS-SF2000 Battery pack 1 SN', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_1_sn', @@ -2701,10 +2701,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_1_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CMS-SF2000 Battery pack 1 SOC', + : 'battery', + : 'CMS-SF2000 Battery pack 1 SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_1_soc', @@ -2759,10 +2759,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 1 temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 1 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_1_temperature', @@ -2817,10 +2817,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 Battery pack 1 voltage', + : 'voltage', + : 'CMS-SF2000 Battery pack 1 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_1_voltage', @@ -2875,10 +2875,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 Battery pack 2 current', + : 'current', + : 'CMS-SF2000 Battery pack 2 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_2_current', @@ -2930,7 +2930,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_2_cycle_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 2 cycle count', + : 'CMS-SF2000 Battery pack 2 cycle count', : , }), 'context': , @@ -2986,10 +2986,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_2_mos_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 2 MOS temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 2 MOS temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_2_mos_temperature', @@ -3039,7 +3039,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_2_sn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 2 SN', + : 'CMS-SF2000 Battery pack 2 SN', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_2_sn', @@ -3091,10 +3091,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_2_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CMS-SF2000 Battery pack 2 SOC', + : 'battery', + : 'CMS-SF2000 Battery pack 2 SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_2_soc', @@ -3149,10 +3149,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 2 temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 2 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_2_temperature', @@ -3207,10 +3207,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 Battery pack 2 voltage', + : 'voltage', + : 'CMS-SF2000 Battery pack 2 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_2_voltage', @@ -3265,10 +3265,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_3_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 Battery pack 3 current', + : 'current', + : 'CMS-SF2000 Battery pack 3 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_3_current', @@ -3320,7 +3320,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_3_cycle_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 3 cycle count', + : 'CMS-SF2000 Battery pack 3 cycle count', : , }), 'context': , @@ -3376,10 +3376,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_3_mos_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 3 MOS temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 3 MOS temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_3_mos_temperature', @@ -3429,7 +3429,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_3_sn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 3 SN', + : 'CMS-SF2000 Battery pack 3 SN', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_3_sn', @@ -3481,10 +3481,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_3_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CMS-SF2000 Battery pack 3 SOC', + : 'battery', + : 'CMS-SF2000 Battery pack 3 SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_3_soc', @@ -3539,10 +3539,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_3_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 3 temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 3 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_3_temperature', @@ -3597,10 +3597,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 Battery pack 3 voltage', + : 'voltage', + : 'CMS-SF2000 Battery pack 3 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_3_voltage', @@ -3655,10 +3655,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_4_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 Battery pack 4 current', + : 'current', + : 'CMS-SF2000 Battery pack 4 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_4_current', @@ -3710,7 +3710,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_4_cycle_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 4 cycle count', + : 'CMS-SF2000 Battery pack 4 cycle count', : , }), 'context': , @@ -3766,10 +3766,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_4_mos_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 4 MOS temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 4 MOS temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_4_mos_temperature', @@ -3819,7 +3819,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_4_sn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 4 SN', + : 'CMS-SF2000 Battery pack 4 SN', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_4_sn', @@ -3871,10 +3871,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_4_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CMS-SF2000 Battery pack 4 SOC', + : 'battery', + : 'CMS-SF2000 Battery pack 4 SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_4_soc', @@ -3929,10 +3929,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_4_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 4 temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 4 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_4_temperature', @@ -3987,10 +3987,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_4_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 Battery pack 4 voltage', + : 'voltage', + : 'CMS-SF2000 Battery pack 4 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_4_voltage', @@ -4045,10 +4045,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_5_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 Battery pack 5 current', + : 'current', + : 'CMS-SF2000 Battery pack 5 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_5_current', @@ -4100,7 +4100,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_5_cycle_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 5 cycle count', + : 'CMS-SF2000 Battery pack 5 cycle count', : , }), 'context': , @@ -4156,10 +4156,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_5_mos_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 5 MOS temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 5 MOS temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_5_mos_temperature', @@ -4209,7 +4209,7 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_5_sn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Battery pack 5 SN', + : 'CMS-SF2000 Battery pack 5 SN', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_5_sn', @@ -4261,10 +4261,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_5_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CMS-SF2000 Battery pack 5 SOC', + : 'battery', + : 'CMS-SF2000 Battery pack 5 SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_5_soc', @@ -4319,10 +4319,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_5_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Battery pack 5 temperature', + : 'temperature', + : 'CMS-SF2000 Battery pack 5 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_5_temperature', @@ -4377,10 +4377,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_pack_5_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 Battery pack 5 voltage', + : 'voltage', + : 'CMS-SF2000 Battery pack 5 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_pack_5_voltage', @@ -4435,10 +4435,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 Battery power', + : 'power', + : 'CMS-SF2000 Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_power', @@ -4490,10 +4490,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CMS-SF2000 Battery SOC', + : 'battery', + : 'CMS-SF2000 Battery SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_soc', @@ -4548,10 +4548,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_total_charging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Battery total charging energy', + : 'energy', + : 'CMS-SF2000 Battery total charging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_total_charging_energy', @@ -4606,10 +4606,10 @@ # name: test_sensor[2][sensor.cms_sf2000_battery_total_discharging_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Battery total discharging energy', + : 'energy', + : 'CMS-SF2000 Battery total discharging energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_battery_total_discharging_energy', @@ -4664,10 +4664,10 @@ # name: test_sensor[2][sensor.cms_sf2000_bypass_input_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Bypass input energy', + : 'energy', + : 'CMS-SF2000 Bypass input energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_bypass_input_energy', @@ -4722,10 +4722,10 @@ # name: test_sensor[2][sensor.cms_sf2000_bypass_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 Bypass power', + : 'power', + : 'CMS-SF2000 Bypass power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_bypass_power', @@ -4783,10 +4783,10 @@ # name: test_sensor[2][sensor.cms_sf2000_cumulative_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Cumulative production', + : 'energy', + : 'CMS-SF2000 Cumulative production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_cumulative_production', @@ -4841,10 +4841,10 @@ # name: test_sensor[2][sensor.cms_sf2000_daily_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Daily production', + : 'energy', + : 'CMS-SF2000 Daily production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_daily_production', @@ -4899,10 +4899,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_current_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 DC input current 1', + : 'current', + : 'CMS-SF2000 DC input current 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_current_1', @@ -4957,10 +4957,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_current_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 DC input current 2', + : 'current', + : 'CMS-SF2000 DC input current 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_current_2', @@ -5015,10 +5015,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_current_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 DC input current 3', + : 'current', + : 'CMS-SF2000 DC input current 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_current_3', @@ -5073,10 +5073,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_current_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 DC input current 4', + : 'current', + : 'CMS-SF2000 DC input current 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_current_4', @@ -5131,10 +5131,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_power_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 DC input power 1', + : 'power', + : 'CMS-SF2000 DC input power 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_power_1', @@ -5189,10 +5189,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_power_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 DC input power 2', + : 'power', + : 'CMS-SF2000 DC input power 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_power_2', @@ -5247,10 +5247,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_power_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 DC input power 3', + : 'power', + : 'CMS-SF2000 DC input power 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_power_3', @@ -5305,10 +5305,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_power_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 DC input power 4', + : 'power', + : 'CMS-SF2000 DC input power 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_power_4', @@ -5363,10 +5363,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_voltage_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 DC input voltage 1', + : 'voltage', + : 'CMS-SF2000 DC input voltage 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_voltage_1', @@ -5421,10 +5421,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_voltage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 DC input voltage 2', + : 'voltage', + : 'CMS-SF2000 DC input voltage 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_voltage_2', @@ -5479,10 +5479,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_voltage_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 DC input voltage 3', + : 'voltage', + : 'CMS-SF2000 DC input voltage 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_voltage_3', @@ -5537,10 +5537,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_input_voltage_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 DC input voltage 4', + : 'voltage', + : 'CMS-SF2000 DC input voltage 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_input_voltage_4', @@ -5595,10 +5595,10 @@ # name: test_sensor[2][sensor.cms_sf2000_dc_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 DC output power', + : 'power', + : 'CMS-SF2000 DC output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_dc_output_power', @@ -5654,8 +5654,8 @@ # name: test_sensor[2][sensor.cms_sf2000_device_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'CMS-SF2000 Device mode', + : 'enum', + : 'CMS-SF2000 Device mode', : list([ 'main', 'standalone', @@ -5717,8 +5717,8 @@ # name: test_sensor[2][sensor.cms_sf2000_energy_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'CMS-SF2000 Energy mode', + : 'enum', + : 'CMS-SF2000 Energy mode', : list([ 'charge_discharge_schedule', 'outdoor_portable', @@ -5776,7 +5776,7 @@ # name: test_sensor[2][sensor.cms_sf2000_equivalent_full_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Equivalent full cycles', + : 'CMS-SF2000 Equivalent full cycles', : , }), 'context': , @@ -5832,10 +5832,10 @@ # name: test_sensor[2][sensor.cms_sf2000_grid_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'CMS-SF2000 Grid frequency', + : 'frequency', + : 'CMS-SF2000 Grid frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_grid_frequency', @@ -5890,10 +5890,10 @@ # name: test_sensor[2][sensor.cms_sf2000_grid_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 Grid voltage', + : 'voltage', + : 'CMS-SF2000 Grid voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_grid_voltage', @@ -5948,10 +5948,10 @@ # name: test_sensor[2][sensor.cms_sf2000_main_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'CMS-SF2000 Main current', + : 'current', + : 'CMS-SF2000 Main current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_main_current', @@ -6003,7 +6003,7 @@ # name: test_sensor[2][sensor.cms_sf2000_main_cycle_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Main cycle count', + : 'CMS-SF2000 Main cycle count', : , }), 'context': , @@ -6059,10 +6059,10 @@ # name: test_sensor[2][sensor.cms_sf2000_main_mos_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Main MOS temperature', + : 'temperature', + : 'CMS-SF2000 Main MOS temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_main_mos_temperature', @@ -6112,7 +6112,7 @@ # name: test_sensor[2][sensor.cms_sf2000_main_serial_number-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Main serial number', + : 'CMS-SF2000 Main serial number', }), 'context': , 'entity_id': 'sensor.cms_sf2000_main_serial_number', @@ -6164,10 +6164,10 @@ # name: test_sensor[2][sensor.cms_sf2000_main_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CMS-SF2000 Main SOC', + : 'battery', + : 'CMS-SF2000 Main SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_main_soc', @@ -6222,10 +6222,10 @@ # name: test_sensor[2][sensor.cms_sf2000_main_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Main temperature', + : 'temperature', + : 'CMS-SF2000 Main temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_main_temperature', @@ -6280,10 +6280,10 @@ # name: test_sensor[2][sensor.cms_sf2000_main_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'CMS-SF2000 Main voltage', + : 'voltage', + : 'CMS-SF2000 Main voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_main_voltage', @@ -6338,10 +6338,10 @@ # name: test_sensor[2][sensor.cms_sf2000_meter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 Meter power', + : 'power', + : 'CMS-SF2000 Meter power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_meter_power', @@ -6396,10 +6396,10 @@ # name: test_sensor[2][sensor.cms_sf2000_off_grid_output_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Off-grid output energy', + : 'energy', + : 'CMS-SF2000 Off-grid output energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_off_grid_output_energy', @@ -6452,9 +6452,9 @@ # name: test_sensor[2][sensor.cms_sf2000_rated_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Rated capacity', - 'unit_of_measurement': , + : 'energy', + : 'CMS-SF2000 Rated capacity', + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_rated_capacity', @@ -6510,8 +6510,8 @@ # name: test_sensor[2][sensor.cms_sf2000_real_time_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'CMS-SF2000 Real-time mode', + : 'enum', + : 'CMS-SF2000 Real-time mode', : list([ 'charging', 'discharging', @@ -6571,10 +6571,10 @@ # name: test_sensor[2][sensor.cms_sf2000_real_time_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CMS-SF2000 Real-time power limit', + : 'power', + : 'CMS-SF2000 Real-time power limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_real_time_power_limit', @@ -6624,8 +6624,8 @@ # name: test_sensor[2][sensor.cms_sf2000_real_time_target_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CMS-SF2000 Real-time target SOC', - 'unit_of_measurement': '%', + : 'CMS-SF2000 Real-time target SOC', + : '%', }), 'context': , 'entity_id': 'sensor.cms_sf2000_real_time_target_soc', @@ -6680,10 +6680,10 @@ # name: test_sensor[2][sensor.cms_sf2000_total_ac_input_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Total AC input energy', + : 'energy', + : 'CMS-SF2000 Total AC input energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_total_ac_input_energy', @@ -6738,10 +6738,10 @@ # name: test_sensor[2][sensor.cms_sf2000_total_ac_output_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CMS-SF2000 Total AC output energy', + : 'energy', + : 'CMS-SF2000 Total AC output energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_total_ac_output_energy', @@ -6796,10 +6796,10 @@ # name: test_sensor[2][sensor.cms_sf2000_transformer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CMS-SF2000 Transformer temperature', + : 'temperature', + : 'CMS-SF2000 Transformer temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cms_sf2000_transformer_temperature', diff --git a/tests/components/indevolt/snapshots/test_switch.ambr b/tests/components/indevolt/snapshots/test_switch.ambr index b9a146221a6..bc41389bac4 100644 --- a/tests/components/indevolt/snapshots/test_switch.ambr +++ b/tests/components/indevolt/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch[2][switch.cms_sf2000_allow_grid_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'CMS-SF2000 Allow grid charging', + : 'switch', + : 'CMS-SF2000 Allow grid charging', }), 'context': , 'entity_id': 'switch.cms_sf2000_allow_grid_charging', @@ -90,8 +90,8 @@ # name: test_switch[2][switch.cms_sf2000_bypass_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'CMS-SF2000 Bypass socket', + : 'switch', + : 'CMS-SF2000 Bypass socket', }), 'context': , 'entity_id': 'switch.cms_sf2000_bypass_socket', @@ -141,8 +141,8 @@ # name: test_switch[2][switch.cms_sf2000_led_indicator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'CMS-SF2000 LED indicator', + : 'switch', + : 'CMS-SF2000 LED indicator', }), 'context': , 'entity_id': 'switch.cms_sf2000_led_indicator', diff --git a/tests/components/integration/snapshots/test_sensor.ambr b/tests/components/integration/snapshots/test_sensor.ambr index f089022cc26..996ae73ff31 100644 --- a/tests/components/integration/snapshots/test_sensor.ambr +++ b/tests/components/integration/snapshots/test_sensor.ambr @@ -2,11 +2,11 @@ # name: test_initial_state[BTU/h-power-h] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'integration', - 'icon': 'mdi:chart-histogram', + : 'integration', + : 'mdi:chart-histogram', 'source': 'sensor.source', : , - 'unit_of_measurement': 'BTU', + : 'BTU', }), 'context': , 'entity_id': 'sensor.integration', @@ -19,11 +19,11 @@ # name: test_initial_state[ft\xb3/min-volume_flow_rate-min] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'integration', - 'icon': 'mdi:chart-histogram', + : 'integration', + : 'mdi:chart-histogram', 'source': 'sensor.source', : , - 'unit_of_measurement': 'ft³', + : 'ft³', }), 'context': , 'entity_id': 'sensor.integration', @@ -36,11 +36,11 @@ # name: test_initial_state[kW-None-h] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'integration', - 'icon': 'mdi:chart-histogram', + : 'integration', + : 'mdi:chart-histogram', 'source': 'sensor.source', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.integration', @@ -53,11 +53,11 @@ # name: test_initial_state[kW-power-h] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'integration', + : 'energy', + : 'integration', 'source': 'sensor.source', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.integration', diff --git a/tests/components/intelliclima/snapshots/test_fan.ambr b/tests/components/intelliclima/snapshots/test_fan.ambr index 92d48b87c94..5719c5fa1be 100644 --- a/tests/components/intelliclima/snapshots/test_fan.ambr +++ b/tests/components/intelliclima/snapshots/test_fan.ambr @@ -82,14 +82,14 @@ # name: test_all_fan_entities[fan.test_vmc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test VMC', + : 'Test VMC', : 75, : 25.0, : None, : list([ 'auto', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.test_vmc', diff --git a/tests/components/intelliclima/snapshots/test_select.ambr b/tests/components/intelliclima/snapshots/test_select.ambr index 24a9def5757..dd3924cad18 100644 --- a/tests/components/intelliclima/snapshots/test_select.ambr +++ b/tests/components/intelliclima/snapshots/test_select.ambr @@ -85,7 +85,7 @@ # name: test_all_select_entities[select.test_vmc_fan_direction_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test VMC Fan direction mode', + : 'Test VMC Fan direction mode', : list([ 'forward', 'reverse', diff --git a/tests/components/intelliclima/snapshots/test_sensor.ambr b/tests/components/intelliclima/snapshots/test_sensor.ambr index 11f251957c7..e2c2fb62623 100644 --- a/tests/components/intelliclima/snapshots/test_sensor.ambr +++ b/tests/components/intelliclima/snapshots/test_sensor.ambr @@ -80,10 +80,10 @@ # name: test_all_sensor_entities[sensor.test_vmc_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test VMC Humidity', + : 'humidity', + : 'Test VMC Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_vmc_humidity', @@ -138,10 +138,10 @@ # name: test_all_sensor_entities[sensor.test_vmc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test VMC Temperature', + : 'temperature', + : 'Test VMC Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_vmc_temperature', @@ -193,10 +193,10 @@ # name: test_all_sensor_entities[sensor.test_vmc_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Test VMC Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Test VMC Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.test_vmc_volatile_organic_compounds_parts', diff --git a/tests/components/intellifire/snapshots/test_binary_sensor.ambr b/tests/components/intellifire/snapshots/test_binary_sensor.ambr index e1d641cfad3..e910d5f9ba0 100644 --- a/tests/components/intellifire/snapshots/test_binary_sensor.ambr +++ b/tests/components/intellifire/snapshots/test_binary_sensor.ambr @@ -39,9 +39,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_accessory_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Accessory error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Accessory error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_accessory_error', @@ -91,9 +91,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_cloud_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'connectivity', - 'friendly_name': 'IntelliFire Cloud connectivity', + : 'Data provided by unpublished Intellifire API', + : 'connectivity', + : 'IntelliFire Cloud connectivity', }), 'context': , 'entity_id': 'binary_sensor.intellifire_cloud_connectivity', @@ -143,9 +143,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_disabled_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Disabled error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Disabled error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_disabled_error', @@ -195,9 +195,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_ecm_offline_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire ECM offline error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire ECM offline error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_ecm_offline_error', @@ -247,9 +247,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_fan_delay_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Fan delay error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Fan delay error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_fan_delay_error', @@ -299,9 +299,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_fan_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Fan error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Fan error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_fan_error', @@ -351,8 +351,8 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_flame-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire Flame', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire Flame', }), 'context': , 'entity_id': 'binary_sensor.intellifire_flame', @@ -402,9 +402,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_flame_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Flame error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Flame error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_flame_error', @@ -454,9 +454,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_lights_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Lights error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Lights error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_lights_error', @@ -506,9 +506,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_local_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'connectivity', - 'friendly_name': 'IntelliFire Local connectivity', + : 'Data provided by unpublished Intellifire API', + : 'connectivity', + : 'IntelliFire Local connectivity', }), 'context': , 'entity_id': 'binary_sensor.intellifire_local_connectivity', @@ -558,9 +558,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_maintenance_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Maintenance error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Maintenance error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_maintenance_error', @@ -610,9 +610,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_offline_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Offline error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Offline error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_offline_error', @@ -662,9 +662,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_pilot_flame_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Pilot flame error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Pilot flame error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_pilot_flame_error', @@ -714,8 +714,8 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_pilot_light_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire Pilot light on', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire Pilot light on', }), 'context': , 'entity_id': 'binary_sensor.intellifire_pilot_light_on', @@ -765,9 +765,9 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_soft_lock_out_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'problem', - 'friendly_name': 'IntelliFire Soft lock out error', + : 'Data provided by unpublished Intellifire API', + : 'problem', + : 'IntelliFire Soft lock out error', }), 'context': , 'entity_id': 'binary_sensor.intellifire_soft_lock_out_error', @@ -817,8 +817,8 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_thermostat_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire Thermostat on', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire Thermostat on', }), 'context': , 'entity_id': 'binary_sensor.intellifire_thermostat_on', @@ -868,8 +868,8 @@ # name: test_all_binary_sensor_entities[binary_sensor.intellifire_timer_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire Timer on', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire Timer on', }), 'context': , 'entity_id': 'binary_sensor.intellifire_timer_on', diff --git a/tests/components/intellifire/snapshots/test_climate.ambr b/tests/components/intellifire/snapshots/test_climate.ambr index 875bbf8039d..5259c56a82c 100644 --- a/tests/components/intellifire/snapshots/test_climate.ambr +++ b/tests/components/intellifire/snapshots/test_climate.ambr @@ -47,16 +47,16 @@ # name: test_all_sensor_entities[climate.intellifire_thermostat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', + : 'Data provided by unpublished Intellifire API', : 17.0, - 'friendly_name': 'IntelliFire Thermostat', + : 'IntelliFire Thermostat', : list([ , , ]), : 37, : 0, - 'supported_features': , + : , : 1.0, : 0.0, }), diff --git a/tests/components/intellifire/snapshots/test_sensor.ambr b/tests/components/intellifire/snapshots/test_sensor.ambr index faf8575fe6f..59891327b93 100644 --- a/tests/components/intellifire/snapshots/test_sensor.ambr +++ b/tests/components/intellifire/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_sensor_entities[sensor.intellifire_connection_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire Connection quality', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire Connection quality', }), 'context': , 'entity_id': 'sensor.intellifire_connection_quality', @@ -95,9 +95,9 @@ # name: test_all_sensor_entities[sensor.intellifire_control_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'enum', - 'friendly_name': 'IntelliFire Control mode', + : 'Data provided by unpublished Intellifire API', + : 'enum', + : 'IntelliFire Control mode', : list([ 'local', 'cloud', @@ -151,9 +151,9 @@ # name: test_all_sensor_entities[sensor.intellifire_downtime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'timestamp', - 'friendly_name': 'IntelliFire Downtime', + : 'Data provided by unpublished Intellifire API', + : 'timestamp', + : 'IntelliFire Downtime', }), 'context': , 'entity_id': 'sensor.intellifire_downtime', @@ -203,8 +203,8 @@ # name: test_all_sensor_entities[sensor.intellifire_ecm_latency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire ECM latency', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire ECM latency', }), 'context': , 'entity_id': 'sensor.intellifire_ecm_latency', @@ -256,8 +256,8 @@ # name: test_all_sensor_entities[sensor.intellifire_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire Fan speed', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire Fan speed', : , }), 'context': , @@ -310,8 +310,8 @@ # name: test_all_sensor_entities[sensor.intellifire_flame_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire Flame height', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire Flame height', : , }), 'context': , @@ -362,8 +362,8 @@ # name: test_all_sensor_entities[sensor.intellifire_ip_address-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'friendly_name': 'IntelliFire IP address', + : 'Data provided by unpublished Intellifire API', + : 'IntelliFire IP address', }), 'context': , 'entity_id': 'sensor.intellifire_ip_address', @@ -418,9 +418,9 @@ # name: test_all_sensor_entities[sensor.intellifire_read_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'enum', - 'friendly_name': 'IntelliFire Read mode', + : 'Data provided by unpublished Intellifire API', + : 'enum', + : 'IntelliFire Read mode', : list([ 'local', 'cloud', @@ -479,11 +479,11 @@ # name: test_all_sensor_entities[sensor.intellifire_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'temperature', - 'friendly_name': 'IntelliFire Target temperature', + : 'Data provided by unpublished Intellifire API', + : 'temperature', + : 'IntelliFire Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.intellifire_target_temperature', @@ -538,11 +538,11 @@ # name: test_all_sensor_entities[sensor.intellifire_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'temperature', - 'friendly_name': 'IntelliFire Temperature', + : 'Data provided by unpublished Intellifire API', + : 'temperature', + : 'IntelliFire Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.intellifire_temperature', @@ -592,9 +592,9 @@ # name: test_all_sensor_entities[sensor.intellifire_timer_end-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'timestamp', - 'friendly_name': 'IntelliFire Timer end', + : 'Data provided by unpublished Intellifire API', + : 'timestamp', + : 'IntelliFire Timer end', }), 'context': , 'entity_id': 'sensor.intellifire_timer_end', @@ -644,9 +644,9 @@ # name: test_all_sensor_entities[sensor.intellifire_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by unpublished Intellifire API', - 'device_class': 'timestamp', - 'friendly_name': 'IntelliFire Uptime', + : 'Data provided by unpublished Intellifire API', + : 'timestamp', + : 'IntelliFire Uptime', }), 'context': , 'entity_id': 'sensor.intellifire_uptime', diff --git a/tests/components/iometer/snapshots/test_binary_sensor.ambr b/tests/components/iometer/snapshots/test_binary_sensor.ambr index fb1a763d737..443d8494c27 100644 --- a/tests/components/iometer/snapshots/test_binary_sensor.ambr +++ b/tests/components/iometer/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.iometer_1isk0000000000_core_attachment_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'IOmeter-1ISK0000000000 Core attachment status', + : 'connectivity', + : 'IOmeter-1ISK0000000000 Core attachment status', }), 'context': , 'entity_id': 'binary_sensor.iometer_1isk0000000000_core_attachment_status', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.iometer_1isk0000000000_core_bridge_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'IOmeter-1ISK0000000000 Core/Bridge connection status', + : 'connectivity', + : 'IOmeter-1ISK0000000000 Core/Bridge connection status', }), 'context': , 'entity_id': 'binary_sensor.iometer_1isk0000000000_core_bridge_connection_status', diff --git a/tests/components/iometer/snapshots/test_sensor.ambr b/tests/components/iometer/snapshots/test_sensor.ambr index f4955a8c98a..bcdf3fade76 100644 --- a/tests/components/iometer/snapshots/test_sensor.ambr +++ b/tests/components/iometer/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'IOmeter-1ISK0000000000 Battery level', + : 'battery', + : 'IOmeter-1ISK0000000000 Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_battery_level', @@ -99,10 +99,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_consumption_tariff_t1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'IOmeter-1ISK0000000000 Consumption Tariff T1', + : 'energy', + : 'IOmeter-1ISK0000000000 Consumption Tariff T1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_consumption_tariff_t1', @@ -157,10 +157,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_consumption_tariff_t2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'IOmeter-1ISK0000000000 Consumption Tariff T2', + : 'energy', + : 'IOmeter-1ISK0000000000 Consumption Tariff T2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_consumption_tariff_t2', @@ -210,8 +210,8 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_meter_number-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'IOmeter-1ISK0000000000 Meter number', - 'icon': 'mdi:meter-electric', + : 'IOmeter-1ISK0000000000 Meter number', + : 'mdi:meter-electric', }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_meter_number', @@ -268,8 +268,8 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_pin_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'IOmeter-1ISK0000000000 PIN status', + : 'enum', + : 'IOmeter-1ISK0000000000 PIN status', : list([ 'entered', 'pending', @@ -330,10 +330,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'IOmeter-1ISK0000000000 Power', + : 'power', + : 'IOmeter-1ISK0000000000 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_power', @@ -389,8 +389,8 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_power_supply-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'IOmeter-1ISK0000000000 Power supply', + : 'enum', + : 'IOmeter-1ISK0000000000 Power supply', : list([ 'battery', 'wired', @@ -447,10 +447,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_signal_strength_core_bridge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'IOmeter-1ISK0000000000 Signal strength Core/Bridge', + : 'signal_strength', + : 'IOmeter-1ISK0000000000 Signal strength Core/Bridge', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_signal_strength_core_bridge', @@ -502,10 +502,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_signal_strength_wi_fi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'IOmeter-1ISK0000000000 Signal strength Wi-Fi', + : 'signal_strength', + : 'IOmeter-1ISK0000000000 Signal strength Wi-Fi', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_signal_strength_wi_fi', @@ -560,10 +560,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_total_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'IOmeter-1ISK0000000000 Total consumption', + : 'energy', + : 'IOmeter-1ISK0000000000 Total consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_total_consumption', @@ -618,10 +618,10 @@ # name: test_all_sensors[sensor.iometer_1isk0000000000_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'IOmeter-1ISK0000000000 Total production', + : 'energy', + : 'IOmeter-1ISK0000000000 Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.iometer_1isk0000000000_total_production', diff --git a/tests/components/iotty/snapshots/test_switch.ambr b/tests/components/iotty/snapshots/test_switch.ambr index d300a4fb56e..752ee97cef8 100644 --- a/tests/components/iotty/snapshots/test_switch.ambr +++ b/tests/components/iotty/snapshots/test_switch.ambr @@ -88,8 +88,8 @@ # name: test_devices_creaction_ok[state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': '[TEST] Light switch 0 (TEST_SERIAL_0)', + : 'switch', + : '[TEST] Light switch 0 (TEST_SERIAL_0)', }), 'context': , 'entity_id': 'switch.test_light_switch_0_test_serial_0', diff --git a/tests/components/ipp/snapshots/test_sensor.ambr b/tests/components/ipp/snapshots/test_sensor.ambr index 4228463f03d..717164343b8 100644 --- a/tests/components/ipp/snapshots/test_sensor.ambr +++ b/tests/components/ipp/snapshots/test_sensor.ambr @@ -46,8 +46,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'command_set': 'ESCPL2,BDC,D4,D4PX,ESCPR7,END4,GENEP,URF', - 'device_class': 'enum', - 'friendly_name': 'Test HA-1000 Series', + : 'enum', + : 'Test HA-1000 Series', 'info': 'Test HA-1000 Series', 'location': None, : list([ @@ -110,12 +110,12 @@ # name: test_sensors[sensor.test_ha_1000_series_black_ink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test HA-1000 Series Black ink', + : 'Test HA-1000 Series Black ink', 'marker_high_level': 100, 'marker_low_level': 10, 'marker_type': 'ink-cartridge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_ha_1000_series_black_ink', @@ -167,12 +167,12 @@ # name: test_sensors[sensor.test_ha_1000_series_cyan_ink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test HA-1000 Series Cyan ink', + : 'Test HA-1000 Series Cyan ink', 'marker_high_level': 100, 'marker_low_level': 10, 'marker_type': 'ink-cartridge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_ha_1000_series_cyan_ink', @@ -224,12 +224,12 @@ # name: test_sensors[sensor.test_ha_1000_series_magenta_ink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test HA-1000 Series Magenta ink', + : 'Test HA-1000 Series Magenta ink', 'marker_high_level': 100, 'marker_low_level': 10, 'marker_type': 'ink-cartridge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_ha_1000_series_magenta_ink', @@ -281,12 +281,12 @@ # name: test_sensors[sensor.test_ha_1000_series_photo_black_ink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test HA-1000 Series Photo black ink', + : 'Test HA-1000 Series Photo black ink', 'marker_high_level': 100, 'marker_low_level': 10, 'marker_type': 'ink-cartridge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_ha_1000_series_photo_black_ink', @@ -336,8 +336,8 @@ # name: test_sensors[sensor.test_ha_1000_series_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test HA-1000 Series Uptime', + : 'timestamp', + : 'Test HA-1000 Series Uptime', }), 'context': , 'entity_id': 'sensor.test_ha_1000_series_uptime', @@ -389,12 +389,12 @@ # name: test_sensors[sensor.test_ha_1000_series_yellow_ink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test HA-1000 Series Yellow ink', + : 'Test HA-1000 Series Yellow ink', 'marker_high_level': 100, 'marker_low_level': 10, 'marker_type': 'ink-cartridge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_ha_1000_series_yellow_ink', diff --git a/tests/components/irm_kmi/snapshots/test_weather.ambr b/tests/components/irm_kmi/snapshots/test_weather.ambr index 2131eca14bb..6c920f16369 100644 --- a/tests/components/irm_kmi/snapshots/test_weather.ambr +++ b/tests/components/irm_kmi/snapshots/test_weather.ambr @@ -672,12 +672,12 @@ # name: test_weather_nl[weather.home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data from the Royal Meteorological Institute of Belgium meteo.be', - 'friendly_name': 'Home', + : 'Weather data from the Royal Meteorological Institute of Belgium meteo.be', + : 'Home', : , : 1008.0, : , - 'supported_features': , + : , : 11.0, : , : 1, diff --git a/tests/components/iron_os/snapshots/test_binary_sensor.ambr b/tests/components/iron_os/snapshots/test_binary_sensor.ambr index 6a67ab19079..b4c5614bd54 100644 --- a/tests/components/iron_os/snapshots/test_binary_sensor.ambr +++ b/tests/components/iron_os/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.pinecil_soldering_tip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Pinecil Soldering tip', + : 'connectivity', + : 'Pinecil Soldering tip', }), 'context': , 'entity_id': 'binary_sensor.pinecil_soldering_tip', diff --git a/tests/components/iron_os/snapshots/test_button.ambr b/tests/components/iron_os/snapshots/test_button.ambr index 575ac71090f..13d5123b366 100644 --- a/tests/components/iron_os/snapshots/test_button.ambr +++ b/tests/components/iron_os/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_platform[button.pinecil_restore_default_settings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Restore default settings', + : 'Pinecil Restore default settings', }), 'context': , 'entity_id': 'button.pinecil_restore_default_settings', @@ -89,7 +89,7 @@ # name: test_button_platform[button.pinecil_save_settings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Save settings', + : 'Pinecil Save settings', }), 'context': , 'entity_id': 'button.pinecil_save_settings', diff --git a/tests/components/iron_os/snapshots/test_number.ambr b/tests/components/iron_os/snapshots/test_number.ambr index 1237e2cfcdc..c71059ec466 100644 --- a/tests/components/iron_os/snapshots/test_number.ambr +++ b/tests/components/iron_os/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_state[number.pinecil_boost_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Boost temperature', + : 'Pinecil Boost temperature', : 450, : 250, : , : 10, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_boost_temperature', @@ -104,12 +104,12 @@ # name: test_state[number.pinecil_calibration_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Calibration offset', + : 'Pinecil Calibration offset', : 2500, : 100, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_calibration_offset', @@ -164,7 +164,7 @@ # name: test_state[number.pinecil_display_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Display brightness', + : 'Pinecil Display brightness', : 5, : 1, : , @@ -223,7 +223,7 @@ # name: test_state[number.pinecil_hall_effect_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Hall effect sensitivity', + : 'Pinecil Hall effect sensitivity', : 9, : 0, : , @@ -282,12 +282,12 @@ # name: test_state[number.pinecil_hall_sensor_sleep_timeout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Hall sensor sleep timeout', + : 'Pinecil Hall sensor sleep timeout', : 60, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_hall_sensor_sleep_timeout', @@ -342,12 +342,12 @@ # name: test_state[number.pinecil_keep_awake_pulse_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Keep-awake pulse delay', + : 'Pinecil Keep-awake pulse delay', : 22.5, : 2.5, : , : 2.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_keep_awake_pulse_delay', @@ -402,12 +402,12 @@ # name: test_state[number.pinecil_keep_awake_pulse_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Keep-awake pulse duration', + : 'Pinecil Keep-awake pulse duration', : 2250, : 250, : , : 250, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_keep_awake_pulse_duration', @@ -462,12 +462,12 @@ # name: test_state[number.pinecil_keep_awake_pulse_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Keep-awake pulse intensity', + : 'Pinecil Keep-awake pulse intensity', : 9.9, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_keep_awake_pulse_intensity', @@ -522,12 +522,12 @@ # name: test_state[number.pinecil_long_press_temperature_step-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Long-press temperature step', + : 'Pinecil Long-press temperature step', : 90, : 5, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_long_press_temperature_step', @@ -582,12 +582,12 @@ # name: test_state[number.pinecil_min_voltage_per_cell-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Min. voltage per cell', + : 'Pinecil Min. voltage per cell', : 3.8, : 2.4, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_min_voltage_per_cell', @@ -642,7 +642,7 @@ # name: test_state[number.pinecil_motion_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Motion sensitivity', + : 'Pinecil Motion sensitivity', : 9, : 0, : , @@ -701,13 +701,13 @@ # name: test_state[number.pinecil_power_delivery_timeout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pinecil Power Delivery timeout', + : 'duration', + : 'Pinecil Power Delivery timeout', : 5.0, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_power_delivery_timeout', @@ -762,12 +762,12 @@ # name: test_state[number.pinecil_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Power limit', + : 'Pinecil Power limit', : 120, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_power_limit', @@ -822,13 +822,13 @@ # name: test_state[number.pinecil_quick_charge_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pinecil Quick Charge voltage', + : 'voltage', + : 'Pinecil Quick Charge voltage', : 22.0, : 9.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_quick_charge_voltage', @@ -883,12 +883,12 @@ # name: test_state[number.pinecil_setpoint_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Setpoint temperature', + : 'Pinecil Setpoint temperature', : 450, : 10, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_setpoint_temperature', @@ -943,12 +943,12 @@ # name: test_state[number.pinecil_short_press_temperature_step-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Short-press temperature step', + : 'Pinecil Short-press temperature step', : 50, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_short_press_temperature_step', @@ -1003,13 +1003,13 @@ # name: test_state[number.pinecil_shutdown_timeout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pinecil Shutdown timeout', + : 'duration', + : 'Pinecil Shutdown timeout', : 60, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_shutdown_timeout', @@ -1064,12 +1064,12 @@ # name: test_state[number.pinecil_sleep_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Sleep temperature', + : 'Pinecil Sleep temperature', : 450, : 10, : , : 10, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_sleep_temperature', @@ -1124,12 +1124,12 @@ # name: test_state[number.pinecil_sleep_timeout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Sleep timeout', + : 'Pinecil Sleep timeout', : 15, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pinecil_sleep_timeout', @@ -1184,7 +1184,7 @@ # name: test_state[number.pinecil_voltage_divider-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Voltage divider', + : 'Pinecil Voltage divider', : 900, : 360, : , diff --git a/tests/components/iron_os/snapshots/test_select.ambr b/tests/components/iron_os/snapshots/test_select.ambr index 806ea2e19da..c5e42aa0421 100644 --- a/tests/components/iron_os/snapshots/test_select.ambr +++ b/tests/components/iron_os/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_state[select.pinecil_animation_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Animation speed', + : 'Pinecil Animation speed', : list([ 'off', 'slow', @@ -112,7 +112,7 @@ # name: test_state[select.pinecil_boot_logo_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Boot logo duration', + : 'Pinecil Boot logo duration', : list([ 'off', 'seconds_1', @@ -177,7 +177,7 @@ # name: test_state[select.pinecil_button_locking_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Button locking mode', + : 'Pinecil Button locking mode', : list([ 'off', 'boost_only', @@ -238,7 +238,7 @@ # name: test_state[select.pinecil_display_orientation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Display orientation mode', + : 'Pinecil Display orientation mode', : list([ 'right_handed', 'left_handed', @@ -299,7 +299,7 @@ # name: test_state[select.pinecil_power_delivery_3_1_epr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Power Delivery 3.1 EPR', + : 'Pinecil Power Delivery 3.1 EPR', : list([ 'off', 'on', @@ -362,7 +362,7 @@ # name: test_state[select.pinecil_power_source-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Power source', + : 'Pinecil Power source', : list([ 'no_battery', 'battery_3s', @@ -424,7 +424,7 @@ # name: test_state[select.pinecil_scrolling_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Scrolling speed', + : 'Pinecil Scrolling speed', : list([ 'slow', 'fast', @@ -485,7 +485,7 @@ # name: test_state[select.pinecil_soldering_tip_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Soldering tip type', + : 'Pinecil Soldering tip type', : list([ 'auto', 'ts100_long', @@ -548,7 +548,7 @@ # name: test_state[select.pinecil_start_up_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Start-up behavior', + : 'Pinecil Start-up behavior', : list([ 'disabled', 'soldering', @@ -609,7 +609,7 @@ # name: test_state[select.pinecil_temperature_display_unit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Temperature display unit', + : 'Pinecil Temperature display unit', : list([ 'celsius', 'fahrenheit', diff --git a/tests/components/iron_os/snapshots/test_sensor.ambr b/tests/components/iron_os/snapshots/test_sensor.ambr index a964897da4a..047fdca7c14 100644 --- a/tests/components/iron_os/snapshots/test_sensor.ambr +++ b/tests/components/iron_os/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.pinecil_dc_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pinecil DC input voltage', + : 'voltage', + : 'Pinecil DC input voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pinecil_dc_input_voltage', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.pinecil_estimated_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Pinecil Estimated power', + : 'power', + : 'Pinecil Estimated power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pinecil_estimated_power', @@ -157,7 +157,7 @@ # name: test_sensors[sensor.pinecil_hall_effect_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Hall effect strength', + : 'Pinecil Hall effect strength', : , }), 'context': , @@ -213,10 +213,10 @@ # name: test_sensors[sensor.pinecil_handle_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pinecil Handle temperature', + : 'temperature', + : 'Pinecil Handle temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pinecil_handle_temperature', @@ -271,10 +271,10 @@ # name: test_sensors[sensor.pinecil_last_movement_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pinecil Last movement time', + : 'duration', + : 'Pinecil Last movement time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pinecil_last_movement_time', @@ -327,9 +327,9 @@ # name: test_sensors[sensor.pinecil_max_tip_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pinecil Max tip temperature', - 'unit_of_measurement': , + : 'temperature', + : 'Pinecil Max tip temperature', + : , }), 'context': , 'entity_id': 'sensor.pinecil_max_tip_temperature', @@ -397,8 +397,8 @@ # name: test_sensors[sensor.pinecil_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pinecil Operating mode', + : 'enum', + : 'Pinecil Operating mode', : list([ 'idle', 'soldering', @@ -470,10 +470,10 @@ # name: test_sensors[sensor.pinecil_power_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Pinecil Power level', + : 'power_factor', + : 'Pinecil Power level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pinecil_power_level', @@ -530,8 +530,8 @@ # name: test_sensors[sensor.pinecil_power_source-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pinecil Power source', + : 'enum', + : 'Pinecil Power source', : list([ 'dc', 'qc', @@ -592,10 +592,10 @@ # name: test_sensors[sensor.pinecil_raw_tip_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pinecil Raw tip voltage', + : 'voltage', + : 'Pinecil Raw tip voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pinecil_raw_tip_voltage', @@ -647,9 +647,9 @@ # name: test_sensors[sensor.pinecil_tip_resistance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Tip resistance', + : 'Pinecil Tip resistance', : , - 'unit_of_measurement': 'Ω', + : 'Ω', }), 'context': , 'entity_id': 'sensor.pinecil_tip_resistance', @@ -704,10 +704,10 @@ # name: test_sensors[sensor.pinecil_tip_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pinecil Tip temperature', + : 'temperature', + : 'Pinecil Tip temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pinecil_tip_temperature', @@ -757,8 +757,8 @@ # name: test_sensors[sensor.pinecil_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Pinecil Uptime', + : 'uptime', + : 'Pinecil Uptime', }), 'context': , 'entity_id': 'sensor.pinecil_uptime', diff --git a/tests/components/iron_os/snapshots/test_switch.ambr b/tests/components/iron_os/snapshots/test_switch.ambr index 922548bdc71..bbc8d160357 100644 --- a/tests/components/iron_os/snapshots/test_switch.ambr +++ b/tests/components/iron_os/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_platform[switch.pinecil_animation_loop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Animation loop', + : 'Pinecil Animation loop', }), 'context': , 'entity_id': 'switch.pinecil_animation_loop', @@ -89,7 +89,7 @@ # name: test_switch_platform[switch.pinecil_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Boost', + : 'Pinecil Boost', }), 'context': , 'entity_id': 'switch.pinecil_boost', @@ -139,7 +139,7 @@ # name: test_switch_platform[switch.pinecil_calibrate_cjc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Calibrate CJC', + : 'Pinecil Calibrate CJC', }), 'context': , 'entity_id': 'switch.pinecil_calibrate_cjc', @@ -189,7 +189,7 @@ # name: test_switch_platform[switch.pinecil_cool_down_screen_flashing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Cool down screen flashing', + : 'Pinecil Cool down screen flashing', }), 'context': , 'entity_id': 'switch.pinecil_cool_down_screen_flashing', @@ -239,7 +239,7 @@ # name: test_switch_platform[switch.pinecil_detailed_idle_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Detailed idle screen', + : 'Pinecil Detailed idle screen', }), 'context': , 'entity_id': 'switch.pinecil_detailed_idle_screen', @@ -289,7 +289,7 @@ # name: test_switch_platform[switch.pinecil_detailed_solder_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Detailed solder screen', + : 'Pinecil Detailed solder screen', }), 'context': , 'entity_id': 'switch.pinecil_detailed_solder_screen', @@ -339,7 +339,7 @@ # name: test_switch_platform[switch.pinecil_invert_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Invert screen', + : 'Pinecil Invert screen', }), 'context': , 'entity_id': 'switch.pinecil_invert_screen', @@ -389,7 +389,7 @@ # name: test_switch_platform[switch.pinecil_swap_buttons-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pinecil Swap +/- buttons', + : 'Pinecil Swap +/- buttons', }), 'context': , 'entity_id': 'switch.pinecil_swap_buttons', diff --git a/tests/components/iron_os/snapshots/test_update.ambr b/tests/components/iron_os/snapshots/test_update.ambr index 5d630fb970e..4f7f8103fa4 100644 --- a/tests/components/iron_os/snapshots/test_update.ambr +++ b/tests/components/iron_os/snapshots/test_update.ambr @@ -43,17 +43,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/iron_os/icon.png', - 'friendly_name': 'Pinecil Firmware', + : '/api/brands/integration/iron_os/icon.png', + : 'Pinecil Firmware', : False, : 'v2.23', : 'v2.22', : None, : 'https://github.com/Ralim/IronOS/releases/tag/v2.22', : None, - 'supported_features': , + : , : 'IronOS V2.22 | TS101 & S60 Added | PinecilV2 improved', : None, }), diff --git a/tests/components/israel_rail/snapshots/test_sensor.ambr b/tests/components/israel_rail/snapshots/test_sensor.ambr index fd6433b7cd1..8c84630ba03 100644 --- a/tests/components/israel_rail/snapshots/test_sensor.ambr +++ b/tests/components/israel_rail/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_valid_config[sensor.mock_title_departure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Departure', + : 'Data provided by Israel rail.', + : 'timestamp', + : 'Mock Title Departure', }), 'context': , 'entity_id': 'sensor.mock_title_departure', @@ -91,9 +91,9 @@ # name: test_valid_config[sensor.mock_title_departure_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Departure +1', + : 'Data provided by Israel rail.', + : 'timestamp', + : 'Mock Title Departure +1', }), 'context': , 'entity_id': 'sensor.mock_title_departure_1', @@ -143,9 +143,9 @@ # name: test_valid_config[sensor.mock_title_departure_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Departure +2', + : 'Data provided by Israel rail.', + : 'timestamp', + : 'Mock Title Departure +2', }), 'context': , 'entity_id': 'sensor.mock_title_departure_2', @@ -200,11 +200,11 @@ # name: test_valid_config[sensor.mock_title_departure_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'device_class': 'duration', - 'friendly_name': 'Mock Title Departure delay', + : 'Data provided by Israel rail.', + : 'duration', + : 'Mock Title Departure delay', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_departure_delay', @@ -259,11 +259,11 @@ # name: test_valid_config[sensor.mock_title_departure_delay_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'device_class': 'duration', - 'friendly_name': 'Mock Title Departure delay +1', + : 'Data provided by Israel rail.', + : 'duration', + : 'Mock Title Departure delay +1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_departure_delay_1', @@ -318,11 +318,11 @@ # name: test_valid_config[sensor.mock_title_departure_delay_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'device_class': 'duration', - 'friendly_name': 'Mock Title Departure delay +2', + : 'Data provided by Israel rail.', + : 'duration', + : 'Mock Title Departure delay +2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_departure_delay_2', @@ -372,8 +372,8 @@ # name: test_valid_config[sensor.mock_title_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Platform', + : 'Data provided by Israel rail.', + : 'Mock Title Platform', }), 'context': , 'entity_id': 'sensor.mock_title_platform', @@ -423,8 +423,8 @@ # name: test_valid_config[sensor.mock_title_platform_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Platform +1', + : 'Data provided by Israel rail.', + : 'Mock Title Platform +1', }), 'context': , 'entity_id': 'sensor.mock_title_platform_1', @@ -474,8 +474,8 @@ # name: test_valid_config[sensor.mock_title_platform_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Platform +2', + : 'Data provided by Israel rail.', + : 'Mock Title Platform +2', }), 'context': , 'entity_id': 'sensor.mock_title_platform_2', @@ -525,8 +525,8 @@ # name: test_valid_config[sensor.mock_title_train_number-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Train number', + : 'Data provided by Israel rail.', + : 'Mock Title Train number', }), 'context': , 'entity_id': 'sensor.mock_title_train_number', @@ -576,8 +576,8 @@ # name: test_valid_config[sensor.mock_title_train_number_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Train number +1', + : 'Data provided by Israel rail.', + : 'Mock Title Train number +1', }), 'context': , 'entity_id': 'sensor.mock_title_train_number_1', @@ -627,8 +627,8 @@ # name: test_valid_config[sensor.mock_title_train_number_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Train number +2', + : 'Data provided by Israel rail.', + : 'Mock Title Train number +2', }), 'context': , 'entity_id': 'sensor.mock_title_train_number_2', @@ -678,8 +678,8 @@ # name: test_valid_config[sensor.mock_title_trains-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Trains', + : 'Data provided by Israel rail.', + : 'Mock Title Trains', }), 'context': , 'entity_id': 'sensor.mock_title_trains', @@ -729,8 +729,8 @@ # name: test_valid_config[sensor.mock_title_trains_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Trains +1', + : 'Data provided by Israel rail.', + : 'Mock Title Trains +1', }), 'context': , 'entity_id': 'sensor.mock_title_trains_1', @@ -780,8 +780,8 @@ # name: test_valid_config[sensor.mock_title_trains_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Israel rail.', - 'friendly_name': 'Mock Title Trains +2', + : 'Data provided by Israel rail.', + : 'Mock Title Trains +2', }), 'context': , 'entity_id': 'sensor.mock_title_trains_2', diff --git a/tests/components/ista_ecotrend/snapshots/test_sensor.ambr b/tests/components/ista_ecotrend/snapshots/test_sensor.ambr index 2dd56673289..77d95a41717 100644 --- a/tests/components/ista_ecotrend/snapshots/test_sensor.ambr +++ b/tests/components/ista_ecotrend/snapshots/test_sensor.ambr @@ -44,9 +44,9 @@ # name: test_setup[sensor.bahnhofsstr_1a_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bahnhofsstr. 1A Heating', + : 'Bahnhofsstr. 1A Heating', : , - 'unit_of_measurement': 'units', + : 'units', }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_heating', @@ -101,10 +101,10 @@ # name: test_setup[sensor.bahnhofsstr_1a_heating_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Bahnhofsstr. 1A Heating cost', + : 'monetary', + : 'Bahnhofsstr. 1A Heating cost', : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_heating_cost', @@ -159,10 +159,10 @@ # name: test_setup[sensor.bahnhofsstr_1a_heating_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Bahnhofsstr. 1A Heating energy', + : 'energy', + : 'Bahnhofsstr. 1A Heating energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_heating_energy', @@ -217,10 +217,10 @@ # name: test_setup[sensor.bahnhofsstr_1a_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Bahnhofsstr. 1A Hot water', + : 'water', + : 'Bahnhofsstr. 1A Hot water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_hot_water', @@ -275,10 +275,10 @@ # name: test_setup[sensor.bahnhofsstr_1a_hot_water_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Bahnhofsstr. 1A Hot water cost', + : 'monetary', + : 'Bahnhofsstr. 1A Hot water cost', : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_hot_water_cost', @@ -333,10 +333,10 @@ # name: test_setup[sensor.bahnhofsstr_1a_hot_water_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Bahnhofsstr. 1A Hot water energy', + : 'energy', + : 'Bahnhofsstr. 1A Hot water energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_hot_water_energy', @@ -391,10 +391,10 @@ # name: test_setup[sensor.bahnhofsstr_1a_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Bahnhofsstr. 1A Water', + : 'water', + : 'Bahnhofsstr. 1A Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_water', @@ -449,10 +449,10 @@ # name: test_setup[sensor.bahnhofsstr_1a_water_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Bahnhofsstr. 1A Water cost', + : 'monetary', + : 'Bahnhofsstr. 1A Water cost', : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.bahnhofsstr_1a_water_cost', @@ -507,9 +507,9 @@ # name: test_setup[sensor.luxemburger_str_1_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Luxemburger Str. 1 Heating', + : 'Luxemburger Str. 1 Heating', : , - 'unit_of_measurement': 'units', + : 'units', }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_heating', @@ -564,10 +564,10 @@ # name: test_setup[sensor.luxemburger_str_1_heating_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Luxemburger Str. 1 Heating cost', + : 'monetary', + : 'Luxemburger Str. 1 Heating cost', : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_heating_cost', @@ -622,10 +622,10 @@ # name: test_setup[sensor.luxemburger_str_1_heating_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Luxemburger Str. 1 Heating energy', + : 'energy', + : 'Luxemburger Str. 1 Heating energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_heating_energy', @@ -680,10 +680,10 @@ # name: test_setup[sensor.luxemburger_str_1_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Luxemburger Str. 1 Hot water', + : 'water', + : 'Luxemburger Str. 1 Hot water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_hot_water', @@ -738,10 +738,10 @@ # name: test_setup[sensor.luxemburger_str_1_hot_water_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Luxemburger Str. 1 Hot water cost', + : 'monetary', + : 'Luxemburger Str. 1 Hot water cost', : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_hot_water_cost', @@ -796,10 +796,10 @@ # name: test_setup[sensor.luxemburger_str_1_hot_water_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Luxemburger Str. 1 Hot water energy', + : 'energy', + : 'Luxemburger Str. 1 Hot water energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_hot_water_energy', @@ -854,10 +854,10 @@ # name: test_setup[sensor.luxemburger_str_1_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Luxemburger Str. 1 Water', + : 'water', + : 'Luxemburger Str. 1 Water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_water', @@ -912,10 +912,10 @@ # name: test_setup[sensor.luxemburger_str_1_water_cost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Luxemburger Str. 1 Water cost', + : 'monetary', + : 'Luxemburger Str. 1 Water cost', : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.luxemburger_str_1_water_cost', diff --git a/tests/components/isy994/snapshots/test_sensor.ambr b/tests/components/isy994/snapshots/test_sensor.ambr index d38ced697dc..5da5b692b1d 100644 --- a/tests/components/isy994/snapshots/test_sensor.ambr +++ b/tests/components/isy994/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_snapshots[sensor.energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy', + : 'energy', + : 'Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy', @@ -97,7 +97,7 @@ # name: test_sensor_snapshots[sensor.energy_energy_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Energy Device Communication Errors', + : 'Energy Energy Device Communication Errors', }), 'context': , 'entity_id': 'sensor.energy_energy_device_communication_errors', @@ -152,10 +152,10 @@ # name: test_sensor_snapshots[sensor.flow_aux_list-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Flow Aux List', + : 'power', + : 'Flow Aux List', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flow_aux_list', @@ -205,7 +205,7 @@ # name: test_sensor_snapshots[sensor.flow_aux_list_flow_aux_list_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Aux List Flow Aux List Device Communication Errors', + : 'Flow Aux List Flow Aux List Device Communication Errors', }), 'context': , 'entity_id': 'sensor.flow_aux_list_flow_aux_list_device_communication_errors', @@ -255,8 +255,8 @@ # name: test_sensor_snapshots[sensor.flow_aux_list_flow_aux_list_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Aux List Flow Aux List Flow', - 'unit_of_measurement': 'gal/s', + : 'Flow Aux List Flow Aux List Flow', + : 'gal/s', }), 'context': , 'entity_id': 'sensor.flow_aux_list_flow_aux_list_flow', @@ -311,10 +311,10 @@ # name: test_sensor_snapshots[sensor.flow_rate_gph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Flow Rate GPH', + : 'volume_flow_rate', + : 'Flow Rate GPH', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flow_rate_gph', @@ -364,7 +364,7 @@ # name: test_sensor_snapshots[sensor.flow_rate_gph_flow_rate_gph_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Rate GPH Flow Rate GPH Device Communication Errors', + : 'Flow Rate GPH Flow Rate GPH Device Communication Errors', }), 'context': , 'entity_id': 'sensor.flow_rate_gph_flow_rate_gph_device_communication_errors', @@ -419,10 +419,10 @@ # name: test_sensor_snapshots[sensor.flow_rate_gpm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Flow Rate GPM', + : 'volume_flow_rate', + : 'Flow Rate GPM', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flow_rate_gpm', @@ -472,7 +472,7 @@ # name: test_sensor_snapshots[sensor.flow_rate_gpm_flow_rate_gpm_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Rate GPM Flow Rate GPM Device Communication Errors', + : 'Flow Rate GPM Flow Rate GPM Device Communication Errors', }), 'context': , 'entity_id': 'sensor.flow_rate_gpm_flow_rate_gpm_device_communication_errors', @@ -522,8 +522,8 @@ # name: test_sensor_snapshots[sensor.flow_rate_gps-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Rate GPS', - 'unit_of_measurement': 'gal/s', + : 'Flow Rate GPS', + : 'gal/s', }), 'context': , 'entity_id': 'sensor.flow_rate_gps', @@ -573,7 +573,7 @@ # name: test_sensor_snapshots[sensor.flow_rate_gps_flow_rate_gps_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Rate GPS Flow Rate GPS Device Communication Errors', + : 'Flow Rate GPS Flow Rate GPS Device Communication Errors', }), 'context': , 'entity_id': 'sensor.flow_rate_gps_flow_rate_gps_device_communication_errors', @@ -623,8 +623,8 @@ # name: test_sensor_snapshots[sensor.flow_rate_gps_list-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Rate GPS List', - 'unit_of_measurement': 'gal/s', + : 'Flow Rate GPS List', + : 'gal/s', }), 'context': , 'entity_id': 'sensor.flow_rate_gps_list', @@ -674,7 +674,7 @@ # name: test_sensor_snapshots[sensor.flow_rate_gps_list_flow_rate_gps_list_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Rate GPS List Flow Rate GPS List Device Communication Errors', + : 'Flow Rate GPS List Flow Rate GPS List Device Communication Errors', }), 'context': , 'entity_id': 'sensor.flow_rate_gps_list_flow_rate_gps_list_device_communication_errors', @@ -729,10 +729,10 @@ # name: test_sensor_snapshots[sensor.flow_rate_lph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Flow Rate LPH', + : 'volume_flow_rate', + : 'Flow Rate LPH', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.flow_rate_lph', @@ -782,7 +782,7 @@ # name: test_sensor_snapshots[sensor.flow_rate_lph_flow_rate_lph_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Flow Rate LPH Flow Rate LPH Device Communication Errors', + : 'Flow Rate LPH Flow Rate LPH Device Communication Errors', }), 'context': , 'entity_id': 'sensor.flow_rate_lph_flow_rate_lph_device_communication_errors', @@ -837,10 +837,10 @@ # name: test_sensor_snapshots[sensor.power_node-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power Node', + : 'power', + : 'Power Node', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_node', @@ -890,7 +890,7 @@ # name: test_sensor_snapshots[sensor.power_node_power_node_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Power Node Power Node Device Communication Errors', + : 'Power Node Power Node Device Communication Errors', }), 'context': , 'entity_id': 'sensor.power_node_power_node_device_communication_errors', @@ -945,10 +945,10 @@ # name: test_sensor_snapshots[sensor.power_node_power_node_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power Node Power Node Power', + : 'power', + : 'Power Node Power Node Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_node_power_node_power', @@ -1003,10 +1003,10 @@ # name: test_sensor_snapshots[sensor.power_node_power_node_total_energy_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Power Node Power Node Total Energy Used', + : 'energy', + : 'Power Node Power Node Total Energy Used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_node_power_node_total_energy_used', @@ -1064,10 +1064,10 @@ # name: test_sensor_snapshots[sensor.rain_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'precipitation_intensity', - 'friendly_name': 'Rain Rate', + : 'precipitation_intensity', + : 'Rain Rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rain_rate', @@ -1117,7 +1117,7 @@ # name: test_sensor_snapshots[sensor.rain_rate_rain_rate_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rain Rate Rain Rate Device Communication Errors', + : 'Rain Rate Rain Rate Device Communication Errors', }), 'context': , 'entity_id': 'sensor.rain_rate_rain_rate_device_communication_errors', @@ -1172,10 +1172,10 @@ # name: test_sensor_snapshots[sensor.temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Temperature', + : 'temperature', + : 'Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.temperature', @@ -1225,7 +1225,7 @@ # name: test_sensor_snapshots[sensor.temperature_temperature_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Temperature Temperature Device Communication Errors', + : 'Temperature Temperature Device Communication Errors', }), 'context': , 'entity_id': 'sensor.temperature_temperature_device_communication_errors', @@ -1283,10 +1283,10 @@ # name: test_sensor_snapshots[sensor.water_meter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water Meter', + : 'water', + : 'Water Meter', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_meter', @@ -1336,7 +1336,7 @@ # name: test_sensor_snapshots[sensor.water_meter_water_meter_device_communication_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Meter Water Meter Device Communication Errors', + : 'Water Meter Water Meter Device Communication Errors', }), 'context': , 'entity_id': 'sensor.water_meter_water_meter_device_communication_errors', diff --git a/tests/components/ituran/snapshots/test_binary_sensor.ambr b/tests/components/ituran/snapshots/test_binary_sensor.ambr index 6acc12596cb..c98baf0a0b7 100644 --- a/tests/components/ituran/snapshots/test_binary_sensor.ambr +++ b/tests/components/ituran/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_ev_binary_sensor[True][binary_sensor.mock_model_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'mock model Charging', + : 'battery_charging', + : 'mock model Charging', }), 'context': , 'entity_id': 'binary_sensor.mock_model_charging', diff --git a/tests/components/ituran/snapshots/test_device_tracker.ambr b/tests/components/ituran/snapshots/test_device_tracker.ambr index 6a60ee6c6a1..b7eaca1a04d 100644 --- a/tests/components/ituran/snapshots/test_device_tracker.ambr +++ b/tests/components/ituran/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker[device_tracker.mock_model-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mock model', + : 'mock model', : 0, : list([ ]), diff --git a/tests/components/ituran/snapshots/test_sensor.ambr b/tests/components/ituran/snapshots/test_sensor.ambr index 2325f721b4a..fff7177b384 100644 --- a/tests/components/ituran/snapshots/test_sensor.ambr +++ b/tests/components/ituran/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_ev_sensor[True][sensor.mock_model_address-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mock model Address', + : 'mock model Address', }), 'context': , 'entity_id': 'sensor.mock_model_address', @@ -89,9 +89,9 @@ # name: test_ev_sensor[True][sensor.mock_model_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'mock model Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'mock model Battery', + : '%', }), 'context': , 'entity_id': 'sensor.mock_model_battery', @@ -144,9 +144,9 @@ # name: test_ev_sensor[True][sensor.mock_model_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'mock model Battery voltage', - 'unit_of_measurement': , + : 'voltage', + : 'mock model Battery voltage', + : , }), 'context': , 'entity_id': 'sensor.mock_model_battery_voltage', @@ -199,8 +199,8 @@ # name: test_ev_sensor[True][sensor.mock_model_heading-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mock model Heading', - 'unit_of_measurement': '°', + : 'mock model Heading', + : '°', }), 'context': , 'entity_id': 'sensor.mock_model_heading', @@ -250,8 +250,8 @@ # name: test_ev_sensor[True][sensor.mock_model_last_update_from_vehicle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'mock model Last update from vehicle', + : 'timestamp', + : 'mock model Last update from vehicle', }), 'context': , 'entity_id': 'sensor.mock_model_last_update_from_vehicle', @@ -304,9 +304,9 @@ # name: test_ev_sensor[True][sensor.mock_model_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'mock model Mileage', - 'unit_of_measurement': , + : 'distance', + : 'mock model Mileage', + : , }), 'context': , 'entity_id': 'sensor.mock_model_mileage', @@ -359,9 +359,9 @@ # name: test_ev_sensor[True][sensor.mock_model_remaining_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'mock model Remaining range', - 'unit_of_measurement': , + : 'distance', + : 'mock model Remaining range', + : , }), 'context': , 'entity_id': 'sensor.mock_model_remaining_range', @@ -414,9 +414,9 @@ # name: test_ev_sensor[True][sensor.mock_model_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'mock model Speed', - 'unit_of_measurement': , + : 'speed', + : 'mock model Speed', + : , }), 'context': , 'entity_id': 'sensor.mock_model_speed', @@ -466,7 +466,7 @@ # name: test_sensor[sensor.mock_model_address-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mock model Address', + : 'mock model Address', }), 'context': , 'entity_id': 'sensor.mock_model_address', @@ -519,9 +519,9 @@ # name: test_sensor[sensor.mock_model_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'mock model Battery voltage', - 'unit_of_measurement': , + : 'voltage', + : 'mock model Battery voltage', + : , }), 'context': , 'entity_id': 'sensor.mock_model_battery_voltage', @@ -574,8 +574,8 @@ # name: test_sensor[sensor.mock_model_heading-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mock model Heading', - 'unit_of_measurement': '°', + : 'mock model Heading', + : '°', }), 'context': , 'entity_id': 'sensor.mock_model_heading', @@ -625,8 +625,8 @@ # name: test_sensor[sensor.mock_model_last_update_from_vehicle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'mock model Last update from vehicle', + : 'timestamp', + : 'mock model Last update from vehicle', }), 'context': , 'entity_id': 'sensor.mock_model_last_update_from_vehicle', @@ -679,9 +679,9 @@ # name: test_sensor[sensor.mock_model_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'mock model Mileage', - 'unit_of_measurement': , + : 'distance', + : 'mock model Mileage', + : , }), 'context': , 'entity_id': 'sensor.mock_model_mileage', @@ -734,9 +734,9 @@ # name: test_sensor[sensor.mock_model_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'mock model Speed', - 'unit_of_measurement': , + : 'speed', + : 'mock model Speed', + : , }), 'context': , 'entity_id': 'sensor.mock_model_speed', diff --git a/tests/components/izone/snapshots/test_climate.ambr b/tests/components/izone/snapshots/test_climate.ambr index c8256b0a54f..5d320e93fb6 100644 --- a/tests/components/izone/snapshots/test_climate.ambr +++ b/tests/components/izone/snapshots/test_climate.ambr @@ -68,7 +68,7 @@ 'high', 'auto', ]), - 'friendly_name': 'iZone Controller test_controller_123', + : 'iZone Controller test_controller_123', : list([ , , @@ -80,7 +80,7 @@ : 30.0, : 15.0, 'supply_temperature': 16.0, - 'supported_features': , + : , : 0.5, 'temp_setpoint': 24.0, }), @@ -144,7 +144,7 @@ 'airflow_max': 100, 'airflow_min': 0, : 22.5, - 'friendly_name': 'Living Room', + : 'Living Room', : list([ , , @@ -152,7 +152,7 @@ ]), : 30.0, : 15.0, - 'supported_features': , + : , : 0.5, : 24.0, 'zone_index': 0, diff --git a/tests/components/jewish_calendar/snapshots/test_calendar.ambr b/tests/components/jewish_calendar/snapshots/test_calendar.ambr index 6596ec6cd9b..585300c186c 100644 --- a/tests/components/jewish_calendar/snapshots/test_calendar.ambr +++ b/tests/components/jewish_calendar/snapshots/test_calendar.ambr @@ -108,7 +108,7 @@ : True, : "Hebrew date: 5 Sh'vat 5784", : '2024-01-16 00:00:00', - 'friendly_name': 'Jewish Calendar Daily events', + : 'Jewish Calendar Daily events', : '', : "5 Sh'vat 5784", : '2024-01-15 00:00:00', @@ -164,7 +164,7 @@ : True, : 'Daf Yomi: Bava Kamma 74', : '2024-01-16 00:00:00', - 'friendly_name': 'Jewish Calendar Learning schedule', + : 'Jewish Calendar Learning schedule', : '', : 'Bava Kamma 74', : '2024-01-15 00:00:00', @@ -220,7 +220,7 @@ : False, : 'Candle lighting time: 16:21', : '2024-01-19 16:21:00', - 'friendly_name': 'Jewish Calendar Yearly events', + : 'Jewish Calendar Yearly events', : '', : 'Candle Lighting', : '2024-01-19 16:21:00', @@ -276,7 +276,7 @@ : True, : "Hebrew date: 5 Sh'vat 5784", : '2024-01-16 00:00:00', - 'friendly_name': 'Jewish Calendar Daily events', + : 'Jewish Calendar Daily events', : '', : "5 Sh'vat 5784", : '2024-01-15 00:00:00', @@ -332,7 +332,7 @@ : True, : 'Daf Yomi: Bava Kamma 74', : '2024-01-16 00:00:00', - 'friendly_name': 'Jewish Calendar Learning schedule', + : 'Jewish Calendar Learning schedule', : '', : 'Bava Kamma 74', : '2024-01-15 00:00:00', @@ -388,7 +388,7 @@ : False, : 'Candle lighting time: 16:39', : '2024-01-19 16:39:00', - 'friendly_name': 'Jewish Calendar Yearly events', + : 'Jewish Calendar Yearly events', : '', : 'Candle Lighting', : '2024-01-19 16:39:00', diff --git a/tests/components/jvc_projector/snapshots/test_switch.ambr b/tests/components/jvc_projector/snapshots/test_switch.ambr index 4382f193563..61ff55f1b33 100644 --- a/tests/components/jvc_projector/snapshots/test_switch.ambr +++ b/tests/components/jvc_projector/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.jvc_projector_e_shift-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'JVC Projector E-Shift', + : 'JVC Projector E-Shift', }), 'context': , 'entity_id': 'switch.jvc_projector_e_shift', @@ -89,7 +89,7 @@ # name: test_entities[switch.jvc_projector_low_latency_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'JVC Projector Low latency mode', + : 'JVC Projector Low latency mode', }), 'context': , 'entity_id': 'switch.jvc_projector_low_latency_mode', diff --git a/tests/components/kiosker/snapshots/test_binary_sensor.ambr b/tests/components/kiosker/snapshots/test_binary_sensor.ambr index f53f13e14cc..112ab3fecca 100644 --- a/tests/components/kiosker/snapshots/test_binary_sensor.ambr +++ b/tests/components/kiosker/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[binary_sensor.kiosker_a98be1ce_blackout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout', + : 'Kiosker A98BE1CE Blackout', }), 'context': , 'entity_id': 'binary_sensor.kiosker_a98be1ce_blackout', @@ -89,7 +89,7 @@ # name: test_all_entities[binary_sensor.kiosker_a98be1ce_blackout_dismissible-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout dismissible', + : 'Kiosker A98BE1CE Blackout dismissible', }), 'context': , 'entity_id': 'binary_sensor.kiosker_a98be1ce_blackout_dismissible', @@ -139,8 +139,8 @@ # name: test_all_entities[binary_sensor.kiosker_a98be1ce_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Kiosker A98BE1CE Charging', + : 'battery_charging', + : 'Kiosker A98BE1CE Charging', }), 'context': , 'entity_id': 'binary_sensor.kiosker_a98be1ce_charging', @@ -190,7 +190,7 @@ # name: test_all_entities[binary_sensor.kiosker_a98be1ce_screensaver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Screensaver', + : 'Kiosker A98BE1CE Screensaver', }), 'context': , 'entity_id': 'binary_sensor.kiosker_a98be1ce_screensaver', diff --git a/tests/components/kiosker/snapshots/test_button.ambr b/tests/components/kiosker/snapshots/test_button.ambr index f1c5a0b5be7..20d79d424bd 100644 --- a/tests/components/kiosker/snapshots/test_button.ambr +++ b/tests/components/kiosker/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_clear_blackout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Clear blackout', + : 'Kiosker A98BE1CE Clear blackout', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_clear_blackout', @@ -89,7 +89,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_clear_cache-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Clear cache', + : 'Kiosker A98BE1CE Clear cache', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_clear_cache', @@ -139,7 +139,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_clear_cookies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Clear cookies', + : 'Kiosker A98BE1CE Clear cookies', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_clear_cookies', @@ -189,7 +189,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_dismiss_screensaver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Dismiss screensaver', + : 'Kiosker A98BE1CE Dismiss screensaver', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_dismiss_screensaver', @@ -239,7 +239,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_go_back-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Go back', + : 'Kiosker A98BE1CE Go back', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_go_back', @@ -289,7 +289,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_go_forward-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Go forward', + : 'Kiosker A98BE1CE Go forward', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_go_forward', @@ -339,7 +339,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_go_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Go home', + : 'Kiosker A98BE1CE Go home', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_go_home', @@ -389,7 +389,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_ping-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Ping', + : 'Kiosker A98BE1CE Ping', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_ping', @@ -439,7 +439,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_print_page-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Print page', + : 'Kiosker A98BE1CE Print page', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_print_page', @@ -489,7 +489,7 @@ # name: test_all_entities[button.kiosker_a98be1ce_refresh_page-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Refresh page', + : 'Kiosker A98BE1CE Refresh page', }), 'context': , 'entity_id': 'button.kiosker_a98be1ce_refresh_page', diff --git a/tests/components/kiosker/snapshots/test_sensor.ambr b/tests/components/kiosker/snapshots/test_sensor.ambr index b8d346d4bb2..97c61301f6b 100644 --- a/tests/components/kiosker/snapshots/test_sensor.ambr +++ b/tests/components/kiosker/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_ambient_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Ambient light', + : 'Kiosker A98BE1CE Ambient light', : , }), 'context': , @@ -94,10 +94,10 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Kiosker A98BE1CE Battery', + : 'battery', + : 'Kiosker A98BE1CE Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_battery', @@ -147,7 +147,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_background_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout background color', + : 'Kiosker A98BE1CE Blackout background color', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_background_color', @@ -197,7 +197,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_button_background_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout button background color', + : 'Kiosker A98BE1CE Blackout button background color', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_button_background_color', @@ -247,7 +247,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_button_foreground_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout button foreground color', + : 'Kiosker A98BE1CE Blackout button foreground color', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_button_foreground_color', @@ -297,7 +297,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_button_text-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout button text', + : 'Kiosker A98BE1CE Blackout button text', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_button_text', @@ -347,8 +347,8 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_expiry-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Kiosker A98BE1CE Blackout expiry', + : 'timestamp', + : 'Kiosker A98BE1CE Blackout expiry', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_expiry', @@ -398,7 +398,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_foreground_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout foreground color', + : 'Kiosker A98BE1CE Blackout foreground color', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_foreground_color', @@ -448,7 +448,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_icon-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout icon', + : 'Kiosker A98BE1CE Blackout icon', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_icon', @@ -498,7 +498,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_sound-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout sound', + : 'Kiosker A98BE1CE Blackout sound', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_sound', @@ -548,7 +548,7 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_blackout_text-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Blackout text', + : 'Kiosker A98BE1CE Blackout text', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_blackout_text', @@ -598,8 +598,8 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_last_interaction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Kiosker A98BE1CE Last interaction', + : 'timestamp', + : 'Kiosker A98BE1CE Last interaction', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_last_interaction', @@ -649,8 +649,8 @@ # name: test_all_entities[sensor.kiosker_a98be1ce_last_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Kiosker A98BE1CE Last motion', + : 'timestamp', + : 'Kiosker A98BE1CE Last motion', }), 'context': , 'entity_id': 'sensor.kiosker_a98be1ce_last_motion', diff --git a/tests/components/kiosker/snapshots/test_switch.ambr b/tests/components/kiosker/snapshots/test_switch.ambr index 8371411eeb5..f7332eaae19 100644 --- a/tests/components/kiosker/snapshots/test_switch.ambr +++ b/tests/components/kiosker/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.kiosker_a98be1ce_disable_screensaver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kiosker A98BE1CE Disable screensaver', + : 'Kiosker A98BE1CE Disable screensaver', }), 'context': , 'entity_id': 'switch.kiosker_a98be1ce_disable_screensaver', diff --git a/tests/components/kitchen_sink/snapshots/test_device_tracker.ambr b/tests/components/kitchen_sink/snapshots/test_device_tracker.ambr index ccb9702a13f..d4e2620bbe6 100644 --- a/tests/components/kitchen_sink/snapshots/test_device_tracker.ambr +++ b/tests/components/kitchen_sink/snapshots/test_device_tracker.ambr @@ -4,8 +4,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'editable': True, - 'friendly_name': 'test home', - 'icon': 'mdi:home', + : 'test home', + : 'mdi:home', 'latitude': 32.87336, 'longitude': -117.22743, 'passive': False, @@ -22,7 +22,7 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Demo scanner', + : 'Demo scanner', : list([ 'zone.home', ]), @@ -38,7 +38,7 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Demo tracker', + : 'Demo tracker', : 10, : list([ 'zone.home', diff --git a/tests/components/kitchen_sink/snapshots/test_lawn_mower.ambr b/tests/components/kitchen_sink/snapshots/test_lawn_mower.ambr index e3e413c5a44..4b3165d606a 100644 --- a/tests/components/kitchen_sink/snapshots/test_lawn_mower.ambr +++ b/tests/components/kitchen_sink/snapshots/test_lawn_mower.ambr @@ -3,8 +3,8 @@ set({ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mower can do all', - 'supported_features': , + : 'Mower can do all', + : , }), 'context': , 'entity_id': 'lawn_mower.mower_can_do_all', @@ -15,8 +15,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mower can dock', - 'supported_features': , + : 'Mower can dock', + : , }), 'context': , 'entity_id': 'lawn_mower.mower_can_dock', @@ -27,8 +27,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mower can mow', - 'supported_features': , + : 'Mower can mow', + : , }), 'context': , 'entity_id': 'lawn_mower.mower_can_mow', @@ -39,8 +39,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mower can pause', - 'supported_features': , + : 'Mower can pause', + : , }), 'context': , 'entity_id': 'lawn_mower.mower_can_pause', @@ -51,8 +51,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mower can return', - 'supported_features': , + : 'Mower can return', + : , }), 'context': , 'entity_id': 'lawn_mower.mower_can_return', @@ -63,8 +63,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mower is paused', - 'supported_features': , + : 'Mower is paused', + : , }), 'context': , 'entity_id': 'lawn_mower.mower_is_paused', diff --git a/tests/components/kitchen_sink/snapshots/test_lock.ambr b/tests/components/kitchen_sink/snapshots/test_lock.ambr index 616d778e6fd..746f7d72510 100644 --- a/tests/components/kitchen_sink/snapshots/test_lock.ambr +++ b/tests/components/kitchen_sink/snapshots/test_lock.ambr @@ -3,8 +3,8 @@ set({ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Another basic lock', - 'supported_features': , + : 'Another basic lock', + : , }), 'context': , 'entity_id': 'lock.another_basic_lock', @@ -15,8 +15,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Another openable lock', - 'supported_features': , + : 'Another openable lock', + : , }), 'context': , 'entity_id': 'lock.another_openable_lock', @@ -27,8 +27,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Basic lock', - 'supported_features': , + : 'Basic lock', + : , }), 'context': , 'entity_id': 'lock.basic_lock', @@ -39,8 +39,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Openable lock', - 'supported_features': , + : 'Openable lock', + : , }), 'context': , 'entity_id': 'lock.openable_lock', diff --git a/tests/components/kitchen_sink/snapshots/test_sensor.ambr b/tests/components/kitchen_sink/snapshots/test_sensor.ambr index 619b7ba5b31..47be1098dfa 100644 --- a/tests/components/kitchen_sink/snapshots/test_sensor.ambr +++ b/tests/components/kitchen_sink/snapshots/test_sensor.ambr @@ -3,10 +3,10 @@ set({ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Outlet 1 Power', + : 'power', + : 'Outlet 1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_1_power', @@ -17,10 +17,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Outlet 2 Power', + : 'power', + : 'Outlet 2 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_2_power', @@ -31,10 +31,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_direction', - 'friendly_name': 'Statistics issues Issue 5', + : 'wind_direction', + : 'Statistics issues Issue 5', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_5', @@ -45,9 +45,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Statistics issues Issue 1', + : 'Statistics issues Issue 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_1', @@ -58,9 +58,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Statistics issues Issue 2', + : 'Statistics issues Issue 2', : , - 'unit_of_measurement': 'dogs', + : 'dogs', }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_2', @@ -71,8 +71,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Statistics issues Issue 3', - 'unit_of_measurement': , + : 'Statistics issues Issue 3', + : , }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_3', @@ -87,10 +87,10 @@ set({ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Outlet 1 Power', + : 'power', + : 'Outlet 1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_1_power', @@ -101,10 +101,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Outlet 2 Power', + : 'power', + : 'Outlet 2 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_2_power', @@ -115,10 +115,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_direction', - 'friendly_name': 'Statistics issues Issue 5', + : 'wind_direction', + : 'Statistics issues Issue 5', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_5', @@ -129,7 +129,7 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sensor test', + : 'Sensor test', }), 'context': , 'entity_id': 'sensor.sensor_test', @@ -140,9 +140,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Statistics issues Issue 1', + : 'Statistics issues Issue 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_1', @@ -153,9 +153,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Statistics issues Issue 2', + : 'Statistics issues Issue 2', : , - 'unit_of_measurement': 'dogs', + : 'dogs', }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_2', @@ -166,8 +166,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Statistics issues Issue 3', - 'unit_of_measurement': , + : 'Statistics issues Issue 3', + : , }), 'context': , 'entity_id': 'sensor.statistics_issues_issue_3', diff --git a/tests/components/kitchen_sink/snapshots/test_switch.ambr b/tests/components/kitchen_sink/snapshots/test_switch.ambr index b2992e67b60..e91b88c2a55 100644 --- a/tests/components/kitchen_sink/snapshots/test_switch.ambr +++ b/tests/components/kitchen_sink/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_state StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Outlet 1', + : 'Outlet 1', }), 'context': , 'entity_id': 'switch.outlet_1', @@ -114,7 +114,7 @@ # name: test_state.4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Outlet 2', + : 'Outlet 2', }), 'context': , 'entity_id': 'switch.outlet_2', diff --git a/tests/components/knocki/snapshots/test_event.ambr b/tests/components/knocki/snapshots/test_event.ambr index 115db37482a..b51d156a302 100644 --- a/tests/components/knocki/snapshots/test_event.ambr +++ b/tests/components/knocki/snapshots/test_event.ambr @@ -47,7 +47,7 @@ : list([ 'triggered', ]), - 'friendly_name': 'KNC1-W-00000214 Aaaa', + : 'KNC1-W-00000214 Aaaa', }), 'context': , 'entity_id': 'event.knc1_w_00000214_aaaa', diff --git a/tests/components/lamarzocco/snapshots/test_binary_sensor.ambr b/tests/components/lamarzocco/snapshots/test_binary_sensor.ambr index 6e29a49d5c0..f95e707104f 100644 --- a/tests/components/lamarzocco/snapshots/test_binary_sensor.ambr +++ b/tests/components/lamarzocco/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.gs012345_backflush_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'GS012345 Backflush active', + : 'running', + : 'GS012345 Backflush active', }), 'context': , 'entity_id': 'binary_sensor.gs012345_backflush_active', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.gs012345_brewing_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'GS012345 Brewing active', + : 'running', + : 'GS012345 Brewing active', }), 'context': , 'entity_id': 'binary_sensor.gs012345_brewing_active', @@ -141,8 +141,8 @@ # name: test_binary_sensors[binary_sensor.gs012345_water_tank_empty-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'GS012345 Water tank empty', + : 'problem', + : 'GS012345 Water tank empty', }), 'context': , 'entity_id': 'binary_sensor.gs012345_water_tank_empty', @@ -192,8 +192,8 @@ # name: test_binary_sensors[binary_sensor.gs012345_websocket_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'GS012345 WebSocket connected', + : 'connectivity', + : 'GS012345 WebSocket connected', }), 'context': , 'entity_id': 'binary_sensor.gs012345_websocket_connected', diff --git a/tests/components/lamarzocco/snapshots/test_bluetooth.ambr b/tests/components/lamarzocco/snapshots/test_bluetooth.ambr index 123d8284ff9..7749a94d7d9 100644 --- a/tests/components/lamarzocco/snapshots/test_bluetooth.ambr +++ b/tests/components/lamarzocco/snapshots/test_bluetooth.ambr @@ -2,8 +2,8 @@ # name: test_setup_through_bluetooth_only[GS3 AV-entities1][binary_sensor.GS012345_water_tank_empty] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'GS012345 Water tank empty', + : 'problem', + : 'GS012345 Water tank empty', }), 'context': , 'entity_id': 'binary_sensor.gs012345_water_tank_empty', @@ -51,13 +51,13 @@ # name: test_setup_through_bluetooth_only[GS3 AV-entities1][number.GS012345_coffee_target_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'GS012345 Coffee target temperature', + : 'temperature', + : 'GS012345 Coffee target temperature', : 104, : 85, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.gs012345_coffee_target_temperature', @@ -70,13 +70,13 @@ # name: test_setup_through_bluetooth_only[GS3 AV-entities1][number.GS012345_smart_standby_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'GS012345 Smart standby time', + : 'duration', + : 'GS012345 Smart standby time', : 240, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.gs012345_smart_standby_time', @@ -89,13 +89,13 @@ # name: test_setup_through_bluetooth_only[GS3 AV-entities1][number.GS012345_steam_target_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'GS012345 Steam target temperature', + : 'temperature', + : 'GS012345 Steam target temperature', : 134, : 20, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.gs012345_steam_target_temperature', @@ -108,7 +108,7 @@ # name: test_setup_through_bluetooth_only[GS3 AV-entities1][switch.GS012345] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345', + : 'GS012345', }), 'context': , 'entity_id': 'switch.gs012345', @@ -121,7 +121,7 @@ # name: test_setup_through_bluetooth_only[GS3 AV-entities1][switch.GS012345_smart_standby_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Smart standby enabled', + : 'GS012345 Smart standby enabled', }), 'context': , 'entity_id': 'switch.gs012345_smart_standby_enabled', @@ -134,7 +134,7 @@ # name: test_setup_through_bluetooth_only[GS3 AV-entities1][switch.GS012345_steam_boiler] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Steam boiler', + : 'GS012345 Steam boiler', }), 'context': , 'entity_id': 'switch.gs012345_steam_boiler', @@ -147,8 +147,8 @@ # name: test_setup_through_bluetooth_only[Linea Micra-entities0][binary_sensor.MR012345_water_tank_empty] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'MR012345 Water tank empty', + : 'problem', + : 'MR012345 Water tank empty', }), 'context': , 'entity_id': 'binary_sensor.mr012345_water_tank_empty', @@ -196,13 +196,13 @@ # name: test_setup_through_bluetooth_only[Linea Micra-entities0][number.MR012345_coffee_target_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'MR012345 Coffee target temperature', + : 'temperature', + : 'MR012345 Coffee target temperature', : 104, : 85, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mr012345_coffee_target_temperature', @@ -215,13 +215,13 @@ # name: test_setup_through_bluetooth_only[Linea Micra-entities0][number.MR012345_smart_standby_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'MR012345 Smart standby time', + : 'duration', + : 'MR012345 Smart standby time', : 240, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mr012345_smart_standby_time', @@ -234,7 +234,7 @@ # name: test_setup_through_bluetooth_only[Linea Micra-entities0][select.MR012345_steam_level] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MR012345 Steam level', + : 'MR012345 Steam level', : list([ '1', '2', @@ -252,7 +252,7 @@ # name: test_setup_through_bluetooth_only[Linea Micra-entities0][switch.MR012345] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MR012345', + : 'MR012345', }), 'context': , 'entity_id': 'switch.mr012345', @@ -265,7 +265,7 @@ # name: test_setup_through_bluetooth_only[Linea Micra-entities0][switch.MR012345_smart_standby_enabled] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MR012345 Smart standby enabled', + : 'MR012345 Smart standby enabled', }), 'context': , 'entity_id': 'switch.mr012345_smart_standby_enabled', @@ -278,7 +278,7 @@ # name: test_setup_through_bluetooth_only[Linea Micra-entities0][switch.MR012345_steam_boiler] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MR012345 Steam boiler', + : 'MR012345 Steam boiler', }), 'context': , 'entity_id': 'switch.mr012345_steam_boiler', diff --git a/tests/components/lamarzocco/snapshots/test_button.ambr b/tests/components/lamarzocco/snapshots/test_button.ambr index 9b1a459ecbc..11428e0f5bb 100644 --- a/tests/components/lamarzocco/snapshots/test_button.ambr +++ b/tests/components/lamarzocco/snapshots/test_button.ambr @@ -2,7 +2,7 @@ # name: test_start_backflush StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Start backflush', + : 'GS012345 Start backflush', }), 'context': , 'entity_id': 'button.gs012345_start_backflush', diff --git a/tests/components/lamarzocco/snapshots/test_calendar.ambr b/tests/components/lamarzocco/snapshots/test_calendar.ambr index 5e4a3bc1662..8dee7026f94 100644 --- a/tests/components/lamarzocco/snapshots/test_calendar.ambr +++ b/tests/components/lamarzocco/snapshots/test_calendar.ambr @@ -341,7 +341,7 @@ : False, : 'Machine is scheduled to turn on at the start time and off at the end time', : '2024-01-14 07:30:00', - 'friendly_name': 'GS012345 Auto on/off schedule (aXFz5bJ)', + : 'GS012345 Auto on/off schedule (aXFz5bJ)', : '', : 'Machine My LaMarzocco on', : '2024-01-14 07:00:00', @@ -360,7 +360,7 @@ : False, : 'Machine is scheduled to turn on at the start time and off at the end time', : '2024-01-13 00:00:00', - 'friendly_name': 'GS012345 Auto on/off schedule (Os2OswX)', + : 'GS012345 Auto on/off schedule (Os2OswX)', : '', : 'Machine My LaMarzocco on', : '2024-01-12 22:00:00', diff --git a/tests/components/lamarzocco/snapshots/test_number.ambr b/tests/components/lamarzocco/snapshots/test_number.ambr index 84afcf098f5..43cbff180c0 100644 --- a/tests/components/lamarzocco/snapshots/test_number.ambr +++ b/tests/components/lamarzocco/snapshots/test_number.ambr @@ -86,13 +86,13 @@ # name: test_brew_by_weight_dose[Linea Mini][state-dose-1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'LM012345 Brew by weight dose 1', + : 'weight', + : 'LM012345 Brew by weight dose 1', : 100, : 5, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.lm012345_brew_by_weight_dose_1', @@ -105,13 +105,13 @@ # name: test_brew_by_weight_dose[Linea Mini][state-dose-2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'LM012345 Brew by weight dose 2', + : 'weight', + : 'LM012345 Brew by weight dose 2', : 100, : 5, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.lm012345_brew_by_weight_dose_2', @@ -124,13 +124,13 @@ # name: test_general_numbers[coffee_target_temperature-94-set_coffee_target_temperature-kwargs0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'GS012345 Coffee target temperature', + : 'temperature', + : 'GS012345 Coffee target temperature', : 104, : 85, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.gs012345_coffee_target_temperature', @@ -185,13 +185,13 @@ # name: test_general_numbers[smart_standby_time-23-set_smart_standby-kwargs1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'GS012345 Smart standby time', + : 'duration', + : 'GS012345 Smart standby time', : 240, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.gs012345_smart_standby_time', @@ -246,13 +246,13 @@ # name: test_prebrew_off[Linea Micra] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'MR012345 Prebrew off time', + : 'duration', + : 'MR012345 Prebrew off time', : 30, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mr012345_prebrew_off_time', @@ -307,13 +307,13 @@ # name: test_prebrew_on[Linea Micra] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'MR012345 Prebrew on time', + : 'duration', + : 'MR012345 Prebrew on time', : 30, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mr012345_prebrew_on_time', @@ -368,13 +368,13 @@ # name: test_preinfusion[Linea Micra] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'MR012345 Preinfusion time', + : 'duration', + : 'MR012345 Preinfusion time', : 30, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mr012345_preinfusion_time', @@ -429,13 +429,13 @@ # name: test_steam_temperature[GS3 AV] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'GS012345 Steam target temperature', + : 'temperature', + : 'GS012345 Steam target temperature', : 134, : 20, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.gs012345_steam_target_temperature', diff --git a/tests/components/lamarzocco/snapshots/test_select.ambr b/tests/components/lamarzocco/snapshots/test_select.ambr index 342b76c3a51..b487bc41850 100644 --- a/tests/components/lamarzocco/snapshots/test_select.ambr +++ b/tests/components/lamarzocco/snapshots/test_select.ambr @@ -2,7 +2,7 @@ # name: test_bbw_dose_mode[Linea Mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LM012345 Brew by weight dose mode', + : 'LM012345 Brew by weight dose mode', : list([ 'continuous', 'dose1', @@ -63,7 +63,7 @@ # name: test_pre_brew_infusion_select[GS3 AV] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Prebrew/-infusion mode', + : 'GS012345 Prebrew/-infusion mode', : list([ 'disabled', 'prebrew', @@ -124,7 +124,7 @@ # name: test_pre_brew_infusion_select[Linea Micra] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MR012345 Prebrew/-infusion mode', + : 'MR012345 Prebrew/-infusion mode', : list([ 'disabled', 'prebrew', @@ -185,7 +185,7 @@ # name: test_pre_brew_infusion_select[Linea Mini] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LM012345 Prebrew/-infusion mode', + : 'LM012345 Prebrew/-infusion mode', : list([ 'disabled', 'prebrew', @@ -246,7 +246,7 @@ # name: test_smart_standby_mode StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Smart standby mode', + : 'GS012345 Smart standby mode', : list([ 'power_on', 'last_brewing', @@ -305,7 +305,7 @@ # name: test_steam_boiler_level[Linea Micra] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MR012345 Steam level', + : 'MR012345 Steam level', : list([ '1', '2', diff --git a/tests/components/lamarzocco/snapshots/test_sensor.ambr b/tests/components/lamarzocco/snapshots/test_sensor.ambr index 606d5d3b1ca..8555048328c 100644 --- a/tests/components/lamarzocco/snapshots/test_sensor.ambr +++ b/tests/components/lamarzocco/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[sensor.gs012345_brewing_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'GS012345 Brewing start time', + : 'timestamp', + : 'GS012345 Brewing start time', }), 'context': , 'entity_id': 'sensor.gs012345_brewing_start_time', @@ -90,8 +90,8 @@ # name: test_sensors[sensor.gs012345_coffee_boiler_ready_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'GS012345 Coffee boiler ready time', + : 'timestamp', + : 'GS012345 Coffee boiler ready time', }), 'context': , 'entity_id': 'sensor.gs012345_coffee_boiler_ready_time', @@ -141,8 +141,8 @@ # name: test_sensors[sensor.gs012345_last_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'GS012345 Last cleaning time', + : 'timestamp', + : 'GS012345 Last cleaning time', }), 'context': , 'entity_id': 'sensor.gs012345_last_cleaning_time', @@ -192,8 +192,8 @@ # name: test_sensors[sensor.gs012345_steam_boiler_ready_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'GS012345 Steam boiler ready time', + : 'timestamp', + : 'GS012345 Steam boiler ready time', }), 'context': , 'entity_id': 'sensor.gs012345_steam_boiler_ready_time', @@ -245,9 +245,9 @@ # name: test_sensors[sensor.gs012345_total_coffees_made-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Total coffees made', + : 'GS012345 Total coffees made', : , - 'unit_of_measurement': 'coffees', + : 'coffees', }), 'context': , 'entity_id': 'sensor.gs012345_total_coffees_made', @@ -299,9 +299,9 @@ # name: test_sensors[sensor.gs012345_total_flushes_done-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Total flushes done', + : 'GS012345 Total flushes done', : , - 'unit_of_measurement': 'flushes', + : 'flushes', }), 'context': , 'entity_id': 'sensor.gs012345_total_flushes_done', diff --git a/tests/components/lamarzocco/snapshots/test_switch.ambr b/tests/components/lamarzocco/snapshots/test_switch.ambr index cea701831f1..65f62a28a73 100644 --- a/tests/components/lamarzocco/snapshots/test_switch.ambr +++ b/tests/components/lamarzocco/snapshots/test_switch.ambr @@ -76,7 +76,7 @@ # name: test_auto_on_off_switches[state.auto_on_off_Os2OswX] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Auto on/off (Os2OswX)', + : 'GS012345 Auto on/off (Os2OswX)', }), 'context': , 'entity_id': 'switch.gs012345_auto_on_off_os2oswx', @@ -89,7 +89,7 @@ # name: test_auto_on_off_switches[state.auto_on_off_aXFz5bJ] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Auto on/off (aXFz5bJ)', + : 'GS012345 Auto on/off (aXFz5bJ)', }), 'context': , 'entity_id': 'switch.gs012345_auto_on_off_axfz5bj', @@ -139,8 +139,8 @@ # name: test_switches[switch.gs012345-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://lion.lamarzocco.io/img/thing-model/detail/gs3av/gs3av-1.png', - 'friendly_name': 'GS012345', + : 'https://lion.lamarzocco.io/img/thing-model/detail/gs3av/gs3av-1.png', + : 'GS012345', }), 'context': , 'entity_id': 'switch.gs012345', @@ -190,7 +190,7 @@ # name: test_switches[switch.gs012345_auto_on_off_axfz5bj-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Auto on/off (aXFz5bJ)', + : 'GS012345 Auto on/off (aXFz5bJ)', }), 'context': , 'entity_id': 'switch.gs012345_auto_on_off_axfz5bj', @@ -240,7 +240,7 @@ # name: test_switches[switch.gs012345_auto_on_off_os2oswx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Auto on/off (Os2OswX)', + : 'GS012345 Auto on/off (Os2OswX)', }), 'context': , 'entity_id': 'switch.gs012345_auto_on_off_os2oswx', @@ -290,7 +290,7 @@ # name: test_switches[switch.gs012345_smart_standby_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Smart standby enabled', + : 'GS012345 Smart standby enabled', }), 'context': , 'entity_id': 'switch.gs012345_smart_standby_enabled', @@ -340,7 +340,7 @@ # name: test_switches[switch.gs012345_steam_boiler-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GS012345 Steam boiler', + : 'GS012345 Steam boiler', }), 'context': , 'entity_id': 'switch.gs012345_steam_boiler', diff --git a/tests/components/lamarzocco/snapshots/test_update.ambr b/tests/components/lamarzocco/snapshots/test_update.ambr index 6599284f34a..42af10d36ee 100644 --- a/tests/components/lamarzocco/snapshots/test_update.ambr +++ b/tests/components/lamarzocco/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/lamarzocco/icon.png', - 'friendly_name': 'GS012345 Gateway firmware', + : '/api/brands/integration/lamarzocco/icon.png', + : 'GS012345 Gateway firmware', : False, : 'v5.0.9', : 'v5.0.10', : None, : 'https://support-iot.lamarzocco.com/firmware-updates/', : None, - 'supported_features': , + : , : None, : None, }), @@ -103,17 +103,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/lamarzocco/icon.png', - 'friendly_name': 'GS012345 Machine firmware', + : '/api/brands/integration/lamarzocco/icon.png', + : 'GS012345 Machine firmware', : False, : 'v1.17', : 'v1.17', : None, : 'https://support-iot.lamarzocco.com/firmware-updates/', : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/lametric/snapshots/test_update.ambr b/tests/components/lametric/snapshots/test_update.ambr index 37a8ec27f0f..fe68b64dc92 100644 --- a/tests/components/lametric/snapshots/test_update.ambr +++ b/tests/components/lametric/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/lametric/icon.png', - 'friendly_name': "spyfly's LaMetric SKY Firmware", + : '/api/brands/integration/lametric/icon.png', + : "spyfly's LaMetric SKY Firmware", : False, : '3.0.13', : '3.2.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/landisgyr_heat_meter/snapshots/test_sensor.ambr b/tests/components/landisgyr_heat_meter/snapshots/test_sensor.ambr index 048f722c44d..f2c36f576db 100644 --- a/tests/components/landisgyr_heat_meter/snapshots/test_sensor.ambr +++ b/tests/components/landisgyr_heat_meter/snapshots/test_sensor.ambr @@ -3,11 +3,11 @@ list([ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Volume usage', - 'icon': 'mdi:fire', + : 'volume', + : 'Landis+Gyr Heat Meter Heat Meter Volume usage', + : 'mdi:fire', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_volume_usage', @@ -18,11 +18,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Heat usage GJ', - 'icon': 'mdi:fire', + : 'energy', + : 'Landis+Gyr Heat Meter Heat Meter Heat usage GJ', + : 'mdi:fire', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_heat_usage_gj', @@ -33,10 +33,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Heat previous year GJ', - 'icon': 'mdi:fire', - 'unit_of_measurement': , + : 'energy', + : 'Landis+Gyr Heat Meter Heat Meter Heat previous year GJ', + : 'mdi:fire', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_heat_previous_year_gj', @@ -47,10 +47,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Volume usage previous year', - 'icon': 'mdi:fire', - 'unit_of_measurement': , + : 'volume', + : 'Landis+Gyr Heat Meter Heat Meter Volume usage previous year', + : 'mdi:fire', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_volume_usage_previous_year', @@ -61,8 +61,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Ownership number', - 'icon': 'mdi:identifier', + : 'Landis+Gyr Heat Meter Heat Meter Ownership number', + : 'mdi:identifier', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_ownership_number', @@ -73,8 +73,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Error number', - 'icon': 'mdi:home-alert', + : 'Landis+Gyr Heat Meter Heat Meter Error number', + : 'mdi:home-alert', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_error_number', @@ -85,8 +85,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Device number', - 'icon': 'mdi:identifier', + : 'Landis+Gyr Heat Meter Heat Meter Device number', + : 'mdi:identifier', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_device_number', @@ -97,9 +97,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Measurement period minutes', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Measurement period minutes', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_measurement_period_minutes', @@ -110,9 +110,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Power max', - 'unit_of_measurement': , + : 'power', + : 'Landis+Gyr Heat Meter Heat Meter Power max', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_power_max', @@ -123,9 +123,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Power max previous year', - 'unit_of_measurement': , + : 'power', + : 'Landis+Gyr Heat Meter Heat Meter Power max previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_power_max_previous_year', @@ -136,9 +136,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flowrate max', - 'icon': 'mdi:water-outline', - 'unit_of_measurement': , + : 'Landis+Gyr Heat Meter Heat Meter Flowrate max', + : 'mdi:water-outline', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flowrate_max', @@ -149,9 +149,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flowrate max previous year', - 'icon': 'mdi:water-outline', - 'unit_of_measurement': , + : 'Landis+Gyr Heat Meter Heat Meter Flowrate max previous year', + : 'mdi:water-outline', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flowrate_max_previous_year', @@ -162,9 +162,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Return temperature max', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Return temperature max', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_return_temperature_max', @@ -175,9 +175,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Return temperature max previous year', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Return temperature max previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_return_temperature_max_previous_year', @@ -188,9 +188,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flow temperature max', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Flow temperature max', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flow_temperature_max', @@ -201,9 +201,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flow temperature max previous year', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Flow temperature max previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flow_temperature_max_previous_year', @@ -214,9 +214,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Operating hours', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Operating hours', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_operating_hours', @@ -227,9 +227,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flow hours', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Flow hours', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flow_hours', @@ -240,9 +240,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Fault hours', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Fault hours', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_fault_hours', @@ -253,9 +253,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Fault hours previous year', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Fault hours previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_fault_hours_previous_year', @@ -266,8 +266,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Yearly set day', - 'icon': 'mdi:clock-outline', + : 'Landis+Gyr Heat Meter Heat Meter Yearly set day', + : 'mdi:clock-outline', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_yearly_set_day', @@ -278,8 +278,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Monthly set day', - 'icon': 'mdi:clock-outline', + : 'Landis+Gyr Heat Meter Heat Meter Monthly set day', + : 'mdi:clock-outline', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_monthly_set_day', @@ -290,9 +290,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Meter date time', - 'icon': 'mdi:clock-outline', + : 'timestamp', + : 'Landis+Gyr Heat Meter Heat Meter Meter date time', + : 'mdi:clock-outline', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_meter_date_time', @@ -303,9 +303,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Measuring range', - 'icon': 'mdi:water-outline', - 'unit_of_measurement': , + : 'Landis+Gyr Heat Meter Heat Meter Measuring range', + : 'mdi:water-outline', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_measuring_range', @@ -316,7 +316,7 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Settings and firmware', + : 'Landis+Gyr Heat Meter Heat Meter Settings and firmware', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_settings_and_firmware', @@ -331,11 +331,11 @@ list([ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Heat usage MWh', - 'icon': 'mdi:fire', + : 'energy', + : 'Landis+Gyr Heat Meter Heat Meter Heat usage MWh', + : 'mdi:fire', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_heat_usage_mwh', @@ -346,11 +346,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Volume usage', - 'icon': 'mdi:fire', + : 'volume', + : 'Landis+Gyr Heat Meter Heat Meter Volume usage', + : 'mdi:fire', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_volume_usage', @@ -361,10 +361,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Heat previous year MWh', - 'icon': 'mdi:fire', - 'unit_of_measurement': , + : 'energy', + : 'Landis+Gyr Heat Meter Heat Meter Heat previous year MWh', + : 'mdi:fire', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_heat_previous_year_mwh', @@ -375,10 +375,10 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Volume usage previous year', - 'icon': 'mdi:fire', - 'unit_of_measurement': , + : 'volume', + : 'Landis+Gyr Heat Meter Heat Meter Volume usage previous year', + : 'mdi:fire', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_volume_usage_previous_year', @@ -389,8 +389,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Ownership number', - 'icon': 'mdi:identifier', + : 'Landis+Gyr Heat Meter Heat Meter Ownership number', + : 'mdi:identifier', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_ownership_number', @@ -401,8 +401,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Error number', - 'icon': 'mdi:home-alert', + : 'Landis+Gyr Heat Meter Heat Meter Error number', + : 'mdi:home-alert', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_error_number', @@ -413,8 +413,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Device number', - 'icon': 'mdi:identifier', + : 'Landis+Gyr Heat Meter Heat Meter Device number', + : 'mdi:identifier', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_device_number', @@ -425,9 +425,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Measurement period minutes', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Measurement period minutes', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_measurement_period_minutes', @@ -438,9 +438,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Power max', - 'unit_of_measurement': , + : 'power', + : 'Landis+Gyr Heat Meter Heat Meter Power max', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_power_max', @@ -451,9 +451,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Power max previous year', - 'unit_of_measurement': , + : 'power', + : 'Landis+Gyr Heat Meter Heat Meter Power max previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_power_max_previous_year', @@ -464,9 +464,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flowrate max', - 'icon': 'mdi:water-outline', - 'unit_of_measurement': , + : 'Landis+Gyr Heat Meter Heat Meter Flowrate max', + : 'mdi:water-outline', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flowrate_max', @@ -477,9 +477,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flowrate max previous year', - 'icon': 'mdi:water-outline', - 'unit_of_measurement': , + : 'Landis+Gyr Heat Meter Heat Meter Flowrate max previous year', + : 'mdi:water-outline', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flowrate_max_previous_year', @@ -490,9 +490,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Return temperature max', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Return temperature max', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_return_temperature_max', @@ -503,9 +503,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Return temperature max previous year', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Return temperature max previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_return_temperature_max_previous_year', @@ -516,9 +516,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flow temperature max', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Flow temperature max', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flow_temperature_max', @@ -529,9 +529,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flow temperature max previous year', - 'unit_of_measurement': , + : 'temperature', + : 'Landis+Gyr Heat Meter Heat Meter Flow temperature max previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flow_temperature_max_previous_year', @@ -542,9 +542,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Operating hours', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Operating hours', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_operating_hours', @@ -555,9 +555,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Flow hours', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Flow hours', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_flow_hours', @@ -568,9 +568,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Fault hours', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Fault hours', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_fault_hours', @@ -581,9 +581,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Fault hours previous year', - 'unit_of_measurement': , + : 'duration', + : 'Landis+Gyr Heat Meter Heat Meter Fault hours previous year', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_fault_hours_previous_year', @@ -594,8 +594,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Yearly set day', - 'icon': 'mdi:clock-outline', + : 'Landis+Gyr Heat Meter Heat Meter Yearly set day', + : 'mdi:clock-outline', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_yearly_set_day', @@ -606,8 +606,8 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Monthly set day', - 'icon': 'mdi:clock-outline', + : 'Landis+Gyr Heat Meter Heat Meter Monthly set day', + : 'mdi:clock-outline', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_monthly_set_day', @@ -618,9 +618,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Meter date time', - 'icon': 'mdi:clock-outline', + : 'timestamp', + : 'Landis+Gyr Heat Meter Heat Meter Meter date time', + : 'mdi:clock-outline', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_meter_date_time', @@ -631,9 +631,9 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Measuring range', - 'icon': 'mdi:water-outline', - 'unit_of_measurement': , + : 'Landis+Gyr Heat Meter Heat Meter Measuring range', + : 'mdi:water-outline', + : , }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_measuring_range', @@ -644,7 +644,7 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Landis+Gyr Heat Meter Heat Meter Settings and firmware', + : 'Landis+Gyr Heat Meter Heat Meter Settings and firmware', }), 'context': , 'entity_id': 'sensor.landis_gyr_heat_meter_heat_meter_settings_and_firmware', diff --git a/tests/components/lastfm/snapshots/test_sensor.ambr b/tests/components/lastfm/snapshots/test_sensor.ambr index c05c34b24ee..18da0022768 100644 --- a/tests/components/lastfm/snapshots/test_sensor.ambr +++ b/tests/components/lastfm/snapshots/test_sensor.ambr @@ -2,9 +2,9 @@ # name: test_sensors[default_user] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Last.fm', - 'entity_picture': 'image', - 'friendly_name': 'LastFM testaccount1', + : 'Data provided by Last.fm', + : 'image', + : 'LastFM testaccount1', 'last_played': 'artist - title', 'play_count': 1, 'top_played': 'artist - title', @@ -20,9 +20,9 @@ # name: test_sensors[first_time_user] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Last.fm', - 'entity_picture': 'image', - 'friendly_name': 'LastFM testaccount1', + : 'Data provided by Last.fm', + : 'image', + : 'LastFM testaccount1', 'last_played': None, 'play_count': 0, 'top_played': None, diff --git a/tests/components/lcn/snapshots/test_binary_sensor.ambr b/tests/components/lcn/snapshots/test_binary_sensor.ambr index f32b05f2340..7951267a0ab 100644 --- a/tests/components/lcn/snapshots/test_binary_sensor.ambr +++ b/tests/components/lcn/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_setup_lcn_binary_sensor[binary_sensor.testmodule_binary_sensor1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Binary_Sensor1', + : 'TestModule Binary_Sensor1', }), 'context': , 'entity_id': 'binary_sensor.testmodule_binary_sensor1', diff --git a/tests/components/lcn/snapshots/test_climate.ambr b/tests/components/lcn/snapshots/test_climate.ambr index e9ed0ba47bf..b6f6ebc5c60 100644 --- a/tests/components/lcn/snapshots/test_climate.ambr +++ b/tests/components/lcn/snapshots/test_climate.ambr @@ -47,14 +47,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'TestModule Climate1', + : 'TestModule Climate1', : list([ , , ]), : 40.0, : 0.0, - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/lcn/snapshots/test_cover.ambr b/tests/components/lcn/snapshots/test_cover.ambr index 89684ee927a..21abadd2048 100644 --- a/tests/components/lcn/snapshots/test_cover.ambr +++ b/tests/components/lcn/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_setup_lcn_cover[cover.testmodule_cover_outputs-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'TestModule Cover_Outputs', + : True, + : 'TestModule Cover_Outputs', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.testmodule_cover_outputs', @@ -92,10 +92,10 @@ # name: test_setup_lcn_cover[cover.testmodule_cover_relays-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'TestModule Cover_Relays', + : True, + : 'TestModule Cover_Relays', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.testmodule_cover_relays', @@ -145,10 +145,10 @@ # name: test_setup_lcn_cover[cover.testmodule_cover_relays_bs4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'TestModule Cover_Relays_BS4', + : True, + : 'TestModule Cover_Relays_BS4', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.testmodule_cover_relays_bs4', @@ -198,10 +198,10 @@ # name: test_setup_lcn_cover[cover.testmodule_cover_relays_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'TestModule Cover_Relays_Module', + : True, + : 'TestModule Cover_Relays_Module', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.testmodule_cover_relays_module', diff --git a/tests/components/lcn/snapshots/test_light.ambr b/tests/components/lcn/snapshots/test_light.ambr index 030dc6d61da..7e249036532 100644 --- a/tests/components/lcn/snapshots/test_light.ambr +++ b/tests/components/lcn/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'TestModule Light_Output1', + : 'TestModule Light_Output1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.testmodule_light_output1', @@ -104,11 +104,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'TestModule Light_Output2', + : 'TestModule Light_Output2', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.testmodule_light_output2', @@ -163,11 +163,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'TestModule Light_Relay1', + : 'TestModule Light_Relay1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.testmodule_light_relay1', diff --git a/tests/components/lcn/snapshots/test_scene.ambr b/tests/components/lcn/snapshots/test_scene.ambr index acc3fba2b31..27fb51c72e8 100644 --- a/tests/components/lcn/snapshots/test_scene.ambr +++ b/tests/components/lcn/snapshots/test_scene.ambr @@ -39,7 +39,7 @@ # name: test_setup_lcn_scene[scene.testmodule_romantic-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Romantic', + : 'TestModule Romantic', }), 'context': , 'entity_id': 'scene.testmodule_romantic', @@ -89,7 +89,7 @@ # name: test_setup_lcn_scene[scene.testmodule_romantic_transition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Romantic Transition', + : 'TestModule Romantic Transition', }), 'context': , 'entity_id': 'scene.testmodule_romantic_transition', diff --git a/tests/components/lcn/snapshots/test_sensor.ambr b/tests/components/lcn/snapshots/test_sensor.ambr index dba43a4f113..35cc79cae1a 100644 --- a/tests/components/lcn/snapshots/test_sensor.ambr +++ b/tests/components/lcn/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_setup_lcn_sensor[sensor.testmodule_sensor_led6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Sensor_Led6', + : 'TestModule Sensor_Led6', }), 'context': , 'entity_id': 'sensor.testmodule_sensor_led6', @@ -89,7 +89,7 @@ # name: test_setup_lcn_sensor[sensor.testmodule_sensor_logicop1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Sensor_LogicOp1', + : 'TestModule Sensor_LogicOp1', }), 'context': , 'entity_id': 'sensor.testmodule_sensor_logicop1', @@ -142,9 +142,9 @@ # name: test_setup_lcn_sensor[sensor.testmodule_sensor_setpoint1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TestModule Sensor_Setpoint1', - 'unit_of_measurement': , + : 'temperature', + : 'TestModule Sensor_Setpoint1', + : , }), 'context': , 'entity_id': 'sensor.testmodule_sensor_setpoint1', @@ -197,9 +197,9 @@ # name: test_setup_lcn_sensor[sensor.testmodule_sensor_var1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TestModule Sensor_Var1', - 'unit_of_measurement': , + : 'temperature', + : 'TestModule Sensor_Var1', + : , }), 'context': , 'entity_id': 'sensor.testmodule_sensor_var1', diff --git a/tests/components/lcn/snapshots/test_switch.ambr b/tests/components/lcn/snapshots/test_switch.ambr index da82d923f91..ddd9f3758ac 100644 --- a/tests/components/lcn/snapshots/test_switch.ambr +++ b/tests/components/lcn/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_setup_lcn_switch[switch.testgroup_switch_group5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestGroup Switch_Group5', + : 'TestGroup Switch_Group5', }), 'context': , 'entity_id': 'switch.testgroup_switch_group5', @@ -89,7 +89,7 @@ # name: test_setup_lcn_switch[switch.testmodule_switch_keylock1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Switch_KeyLock1', + : 'TestModule Switch_KeyLock1', }), 'context': , 'entity_id': 'switch.testmodule_switch_keylock1', @@ -139,7 +139,7 @@ # name: test_setup_lcn_switch[switch.testmodule_switch_output1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Switch_Output1', + : 'TestModule Switch_Output1', }), 'context': , 'entity_id': 'switch.testmodule_switch_output1', @@ -189,7 +189,7 @@ # name: test_setup_lcn_switch[switch.testmodule_switch_output2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Switch_Output2', + : 'TestModule Switch_Output2', }), 'context': , 'entity_id': 'switch.testmodule_switch_output2', @@ -239,7 +239,7 @@ # name: test_setup_lcn_switch[switch.testmodule_switch_regulator1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Switch_Regulator1', + : 'TestModule Switch_Regulator1', }), 'context': , 'entity_id': 'switch.testmodule_switch_regulator1', @@ -289,7 +289,7 @@ # name: test_setup_lcn_switch[switch.testmodule_switch_relay1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Switch_Relay1', + : 'TestModule Switch_Relay1', }), 'context': , 'entity_id': 'switch.testmodule_switch_relay1', @@ -339,7 +339,7 @@ # name: test_setup_lcn_switch[switch.testmodule_switch_relay2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TestModule Switch_Relay2', + : 'TestModule Switch_Relay2', }), 'context': , 'entity_id': 'switch.testmodule_switch_relay2', diff --git a/tests/components/lektrico/snapshots/test_binary_sensor.ambr b/tests/components/lektrico/snapshots/test_binary_sensor.ambr index 25afcd0cd31..fafc273e9b4 100644 --- a/tests/components/lektrico/snapshots/test_binary_sensor.ambr +++ b/tests/components/lektrico/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_ev_diode_short-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 EV diode short', + : 'problem', + : '1p7k_500006 EV diode short', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_ev_diode_short', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_ev_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 EV error', + : 'problem', + : '1p7k_500006 EV error', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_ev_error', @@ -141,8 +141,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_metering_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 Metering error', + : 'problem', + : '1p7k_500006 Metering error', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_metering_error', @@ -192,8 +192,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 Overcurrent', + : 'problem', + : '1p7k_500006 Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_overcurrent', @@ -243,8 +243,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 Overheating', + : 'problem', + : '1p7k_500006 Overheating', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_overheating', @@ -294,8 +294,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 Overvoltage', + : 'problem', + : '1p7k_500006 Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_overvoltage', @@ -345,8 +345,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_rcd_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 RCD error', + : 'problem', + : '1p7k_500006 RCD error', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_rcd_error', @@ -396,8 +396,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_relay_contacts_welded-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 Relay contacts welded', + : 'problem', + : '1p7k_500006 Relay contacts welded', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_relay_contacts_welded', @@ -447,8 +447,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_thermal_throttling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 Thermal throttling', + : 'problem', + : '1p7k_500006 Thermal throttling', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_thermal_throttling', @@ -498,8 +498,8 @@ # name: test_all_entities[binary_sensor.1p7k_500006_undervoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': '1p7k_500006 Undervoltage', + : 'problem', + : '1p7k_500006 Undervoltage', }), 'context': , 'entity_id': 'binary_sensor.1p7k_500006_undervoltage', diff --git a/tests/components/lektrico/snapshots/test_button.ambr b/tests/components/lektrico/snapshots/test_button.ambr index 881627af297..b8817a1c40b 100644 --- a/tests/components/lektrico/snapshots/test_button.ambr +++ b/tests/components/lektrico/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.1p7k_500006_charge_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 Charge start', + : '1p7k_500006 Charge start', }), 'context': , 'entity_id': 'button.1p7k_500006_charge_start', @@ -89,7 +89,7 @@ # name: test_all_entities[button.1p7k_500006_charge_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 Charge stop', + : '1p7k_500006 Charge stop', }), 'context': , 'entity_id': 'button.1p7k_500006_charge_stop', @@ -139,7 +139,7 @@ # name: test_all_entities[button.1p7k_500006_charging_schedule_override-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 Charging schedule override', + : '1p7k_500006 Charging schedule override', }), 'context': , 'entity_id': 'button.1p7k_500006_charging_schedule_override', @@ -189,8 +189,8 @@ # name: test_all_entities[button.1p7k_500006_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': '1p7k_500006 Restart', + : 'restart', + : '1p7k_500006 Restart', }), 'context': , 'entity_id': 'button.1p7k_500006_restart', diff --git a/tests/components/lektrico/snapshots/test_number.ambr b/tests/components/lektrico/snapshots/test_number.ambr index 12e5efbb912..720d9c263b6 100644 --- a/tests/components/lektrico/snapshots/test_number.ambr +++ b/tests/components/lektrico/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_all_entities[number.1p7k_500006_dynamic_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 Dynamic limit', + : '1p7k_500006 Dynamic limit', : 32, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.1p7k_500006_dynamic_limit', @@ -104,12 +104,12 @@ # name: test_all_entities[number.1p7k_500006_led_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 LED brightness', + : '1p7k_500006 LED brightness', : 100, : 0, : , : 5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.1p7k_500006_led_brightness', diff --git a/tests/components/lektrico/snapshots/test_select.ambr b/tests/components/lektrico/snapshots/test_select.ambr index a7097376f43..d4bea725ce9 100644 --- a/tests/components/lektrico/snapshots/test_select.ambr +++ b/tests/components/lektrico/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_all_entities[select.1p7k_500006_load_balancing_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 Load balancing mode', + : '1p7k_500006 Load balancing mode', : list([ 'disabled', 'power', diff --git a/tests/components/lektrico/snapshots/test_sensor.ambr b/tests/components/lektrico/snapshots/test_sensor.ambr index c3c11632c78..77bc9ea2958 100644 --- a/tests/components/lektrico/snapshots/test_sensor.ambr +++ b/tests/components/lektrico/snapshots/test_sensor.ambr @@ -42,9 +42,9 @@ # name: test_all_entities[sensor.1p7k_500006_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '1p7k_500006 Charging time', - 'unit_of_measurement': , + : 'duration', + : '1p7k_500006 Charging time', + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_charging_time', @@ -99,10 +99,10 @@ # name: test_all_entities[sensor.1p7k_500006_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': '1p7k_500006 Current', + : 'current', + : '1p7k_500006 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_current', @@ -155,9 +155,9 @@ # name: test_all_entities[sensor.1p7k_500006_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '1p7k_500006 Energy', - 'unit_of_measurement': , + : 'energy', + : '1p7k_500006 Energy', + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_energy', @@ -210,9 +210,9 @@ # name: test_all_entities[sensor.1p7k_500006_installation_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': '1p7k_500006 Installation current', - 'unit_of_measurement': , + : 'current', + : '1p7k_500006 Installation current', + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_installation_current', @@ -267,10 +267,10 @@ # name: test_all_entities[sensor.1p7k_500006_lifetime_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '1p7k_500006 Lifetime energy', + : 'energy', + : '1p7k_500006 Lifetime energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_lifetime_energy', @@ -334,8 +334,8 @@ # name: test_all_entities[sensor.1p7k_500006_limit_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '1p7k_500006 Limit reason', + : 'enum', + : '1p7k_500006 Limit reason', : list([ 'no_limit', 'installation_current', @@ -406,10 +406,10 @@ # name: test_all_entities[sensor.1p7k_500006_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': '1p7k_500006 Power', + : 'power', + : '1p7k_500006 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_power', @@ -471,8 +471,8 @@ # name: test_all_entities[sensor.1p7k_500006_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '1p7k_500006 State', + : 'enum', + : '1p7k_500006 State', : list([ 'available', 'charging', @@ -538,10 +538,10 @@ # name: test_all_entities[sensor.1p7k_500006_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '1p7k_500006 Temperature', + : 'temperature', + : '1p7k_500006 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_temperature', @@ -594,9 +594,9 @@ # name: test_all_entities[sensor.1p7k_500006_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': '1p7k_500006 Voltage', - 'unit_of_measurement': , + : 'voltage', + : '1p7k_500006 Voltage', + : , }), 'context': , 'entity_id': 'sensor.1p7k_500006_voltage', diff --git a/tests/components/lektrico/snapshots/test_switch.ambr b/tests/components/lektrico/snapshots/test_switch.ambr index 24dc506cd87..a29a6a07b1c 100644 --- a/tests/components/lektrico/snapshots/test_switch.ambr +++ b/tests/components/lektrico/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.1p7k_500006_authentication-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 Authentication', + : '1p7k_500006 Authentication', }), 'context': , 'entity_id': 'switch.1p7k_500006_authentication', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.1p7k_500006_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1p7k_500006 Lock', + : '1p7k_500006 Lock', }), 'context': , 'entity_id': 'switch.1p7k_500006_lock', diff --git a/tests/components/letpot/snapshots/test_binary_sensor.ambr b/tests/components/letpot/snapshots/test_binary_sensor.ambr index eac622814c8..a1b6e70065b 100644 --- a/tests/components/letpot/snapshots/test_binary_sensor.ambr +++ b/tests/components/letpot/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[LPH31][binary_sensor.garden_low_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Garden Low water', + : 'problem', + : 'Garden Low water', }), 'context': , 'entity_id': 'binary_sensor.garden_low_water', @@ -90,8 +90,8 @@ # name: test_all_entities[LPH31][binary_sensor.garden_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Garden Pump', + : 'running', + : 'Garden Pump', }), 'context': , 'entity_id': 'binary_sensor.garden_pump', @@ -141,8 +141,8 @@ # name: test_all_entities[LPH31][binary_sensor.garden_pump_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Garden Pump error', + : 'problem', + : 'Garden Pump error', }), 'context': , 'entity_id': 'binary_sensor.garden_pump_error', @@ -192,8 +192,8 @@ # name: test_all_entities[LPH63][binary_sensor.garden_low_nutrients-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Garden Low nutrients', + : 'problem', + : 'Garden Low nutrients', }), 'context': , 'entity_id': 'binary_sensor.garden_low_nutrients', @@ -243,8 +243,8 @@ # name: test_all_entities[LPH63][binary_sensor.garden_low_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Garden Low water', + : 'problem', + : 'Garden Low water', }), 'context': , 'entity_id': 'binary_sensor.garden_low_water', @@ -294,8 +294,8 @@ # name: test_all_entities[LPH63][binary_sensor.garden_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Garden Pump', + : 'running', + : 'Garden Pump', }), 'context': , 'entity_id': 'binary_sensor.garden_pump', @@ -345,8 +345,8 @@ # name: test_all_entities[LPH63][binary_sensor.garden_refill_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Garden Refill error', + : 'problem', + : 'Garden Refill error', }), 'context': , 'entity_id': 'binary_sensor.garden_refill_error', diff --git a/tests/components/letpot/snapshots/test_number.ambr b/tests/components/letpot/snapshots/test_number.ambr index 07218477675..3fd909ce2b8 100644 --- a/tests/components/letpot/snapshots/test_number.ambr +++ b/tests/components/letpot/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_all_entities[number.garden_light_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light brightness', + : 'Garden Light brightness', : 8.0, : 1.0, : , @@ -103,12 +103,12 @@ # name: test_all_entities[number.garden_plants_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Plants age', + : 'Garden Plants age', : 999.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.garden_plants_age', diff --git a/tests/components/letpot/snapshots/test_select.ambr b/tests/components/letpot/snapshots/test_select.ambr index b06746b27c4..d549288ffe8 100644 --- a/tests/components/letpot/snapshots/test_select.ambr +++ b/tests/components/letpot/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_all_entities[LPH31][select.garden_light_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light brightness', + : 'Garden Light brightness', : list([ 'low', 'high', @@ -103,7 +103,7 @@ # name: test_all_entities[LPH31][select.garden_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light mode', + : 'Garden Light mode', : list([ 'flower', 'vegetable', @@ -162,7 +162,7 @@ # name: test_all_entities[LPH62][select.garden_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light mode', + : 'Garden Light mode', : list([ 'flower', 'vegetable', @@ -221,7 +221,7 @@ # name: test_all_entities[LPH62][select.garden_temperature_unit_on_display-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Temperature unit on display', + : 'Garden Temperature unit on display', : list([ 'fahrenheit', 'celsius', diff --git a/tests/components/letpot/snapshots/test_sensor.ambr b/tests/components/letpot/snapshots/test_sensor.ambr index 882089fb616..581ca2c6732 100644 --- a/tests/components/letpot/snapshots/test_sensor.ambr +++ b/tests/components/letpot/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.garden_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Garden Temperature', + : 'temperature', + : 'Garden Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_temperature', @@ -99,9 +99,9 @@ # name: test_all_entities[sensor.garden_water_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Water level', + : 'Garden Water level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_water_level', diff --git a/tests/components/letpot/snapshots/test_switch.ambr b/tests/components/letpot/snapshots/test_switch.ambr index 418fdca1e79..9164f8bf321 100644 --- a/tests/components/letpot/snapshots/test_switch.ambr +++ b/tests/components/letpot/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.garden_alarm_sound-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Alarm sound', + : 'Garden Alarm sound', }), 'context': , 'entity_id': 'switch.garden_alarm_sound', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.garden_auto_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Auto mode', + : 'Garden Auto mode', }), 'context': , 'entity_id': 'switch.garden_auto_mode', @@ -139,7 +139,7 @@ # name: test_all_entities[switch.garden_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Power', + : 'Garden Power', }), 'context': , 'entity_id': 'switch.garden_power', @@ -189,7 +189,7 @@ # name: test_all_entities[switch.garden_pump_cycling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Pump cycling', + : 'Garden Pump cycling', }), 'context': , 'entity_id': 'switch.garden_pump_cycling', diff --git a/tests/components/letpot/snapshots/test_time.ambr b/tests/components/letpot/snapshots/test_time.ambr index e4ed0c6df5e..38e46eae666 100644 --- a/tests/components/letpot/snapshots/test_time.ambr +++ b/tests/components/letpot/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[time.garden_light_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light off', + : 'Garden Light off', }), 'context': , 'entity_id': 'time.garden_light_off', @@ -89,7 +89,7 @@ # name: test_all_entities[time.garden_light_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light on', + : 'Garden Light on', }), 'context': , 'entity_id': 'time.garden_light_on', diff --git a/tests/components/lg_infrared/snapshots/test_button.ambr b/tests/components/lg_infrared/snapshots/test_button.ambr index 08b3f4b3c7f..d62d2c6f018 100644 --- a/tests/components/lg_infrared/snapshots/test_button.ambr +++ b/tests/components/lg_infrared/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.lg_tv_back-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Back', + : 'LG TV Back', }), 'context': , 'entity_id': 'button.lg_tv_back', @@ -89,7 +89,7 @@ # name: test_entities[button.lg_tv_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Down', + : 'LG TV Down', }), 'context': , 'entity_id': 'button.lg_tv_down', @@ -139,7 +139,7 @@ # name: test_entities[button.lg_tv_exit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Exit', + : 'LG TV Exit', }), 'context': , 'entity_id': 'button.lg_tv_exit', @@ -189,7 +189,7 @@ # name: test_entities[button.lg_tv_guide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Guide', + : 'LG TV Guide', }), 'context': , 'entity_id': 'button.lg_tv_guide', @@ -239,7 +239,7 @@ # name: test_entities[button.lg_tv_hdmi_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV HDMI 1', + : 'LG TV HDMI 1', }), 'context': , 'entity_id': 'button.lg_tv_hdmi_1', @@ -289,7 +289,7 @@ # name: test_entities[button.lg_tv_hdmi_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV HDMI 2', + : 'LG TV HDMI 2', }), 'context': , 'entity_id': 'button.lg_tv_hdmi_2', @@ -339,7 +339,7 @@ # name: test_entities[button.lg_tv_hdmi_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV HDMI 3', + : 'LG TV HDMI 3', }), 'context': , 'entity_id': 'button.lg_tv_hdmi_3', @@ -389,7 +389,7 @@ # name: test_entities[button.lg_tv_hdmi_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV HDMI 4', + : 'LG TV HDMI 4', }), 'context': , 'entity_id': 'button.lg_tv_hdmi_4', @@ -439,7 +439,7 @@ # name: test_entities[button.lg_tv_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Home', + : 'LG TV Home', }), 'context': , 'entity_id': 'button.lg_tv_home', @@ -489,7 +489,7 @@ # name: test_entities[button.lg_tv_info-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Info', + : 'LG TV Info', }), 'context': , 'entity_id': 'button.lg_tv_info', @@ -539,7 +539,7 @@ # name: test_entities[button.lg_tv_input-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Input', + : 'LG TV Input', }), 'context': , 'entity_id': 'button.lg_tv_input', @@ -589,7 +589,7 @@ # name: test_entities[button.lg_tv_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Left', + : 'LG TV Left', }), 'context': , 'entity_id': 'button.lg_tv_left', @@ -639,7 +639,7 @@ # name: test_entities[button.lg_tv_menu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Menu', + : 'LG TV Menu', }), 'context': , 'entity_id': 'button.lg_tv_menu', @@ -689,7 +689,7 @@ # name: test_entities[button.lg_tv_number_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 0', + : 'LG TV Number 0', }), 'context': , 'entity_id': 'button.lg_tv_number_0', @@ -739,7 +739,7 @@ # name: test_entities[button.lg_tv_number_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 1', + : 'LG TV Number 1', }), 'context': , 'entity_id': 'button.lg_tv_number_1', @@ -789,7 +789,7 @@ # name: test_entities[button.lg_tv_number_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 2', + : 'LG TV Number 2', }), 'context': , 'entity_id': 'button.lg_tv_number_2', @@ -839,7 +839,7 @@ # name: test_entities[button.lg_tv_number_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 3', + : 'LG TV Number 3', }), 'context': , 'entity_id': 'button.lg_tv_number_3', @@ -889,7 +889,7 @@ # name: test_entities[button.lg_tv_number_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 4', + : 'LG TV Number 4', }), 'context': , 'entity_id': 'button.lg_tv_number_4', @@ -939,7 +939,7 @@ # name: test_entities[button.lg_tv_number_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 5', + : 'LG TV Number 5', }), 'context': , 'entity_id': 'button.lg_tv_number_5', @@ -989,7 +989,7 @@ # name: test_entities[button.lg_tv_number_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 6', + : 'LG TV Number 6', }), 'context': , 'entity_id': 'button.lg_tv_number_6', @@ -1039,7 +1039,7 @@ # name: test_entities[button.lg_tv_number_7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 7', + : 'LG TV Number 7', }), 'context': , 'entity_id': 'button.lg_tv_number_7', @@ -1089,7 +1089,7 @@ # name: test_entities[button.lg_tv_number_8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 8', + : 'LG TV Number 8', }), 'context': , 'entity_id': 'button.lg_tv_number_8', @@ -1139,7 +1139,7 @@ # name: test_entities[button.lg_tv_number_9-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Number 9', + : 'LG TV Number 9', }), 'context': , 'entity_id': 'button.lg_tv_number_9', @@ -1189,7 +1189,7 @@ # name: test_entities[button.lg_tv_ok-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV OK', + : 'LG TV OK', }), 'context': , 'entity_id': 'button.lg_tv_ok', @@ -1239,7 +1239,7 @@ # name: test_entities[button.lg_tv_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Power', + : 'LG TV Power', }), 'context': , 'entity_id': 'button.lg_tv_power', @@ -1289,7 +1289,7 @@ # name: test_entities[button.lg_tv_power_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Power off', + : 'LG TV Power off', }), 'context': , 'entity_id': 'button.lg_tv_power_off', @@ -1339,7 +1339,7 @@ # name: test_entities[button.lg_tv_power_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Power on', + : 'LG TV Power on', }), 'context': , 'entity_id': 'button.lg_tv_power_on', @@ -1389,7 +1389,7 @@ # name: test_entities[button.lg_tv_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Right', + : 'LG TV Right', }), 'context': , 'entity_id': 'button.lg_tv_right', @@ -1439,7 +1439,7 @@ # name: test_entities[button.lg_tv_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LG TV Up', + : 'LG TV Up', }), 'context': , 'entity_id': 'button.lg_tv_up', diff --git a/tests/components/lg_infrared/snapshots/test_event.ambr b/tests/components/lg_infrared/snapshots/test_event.ambr index 5f944cbb0ac..77261c6d29a 100644 --- a/tests/components/lg_infrared/snapshots/test_event.ambr +++ b/tests/components/lg_infrared/snapshots/test_event.ambr @@ -149,7 +149,7 @@ 'yellow', 'unknown', ]), - 'friendly_name': 'LG TV Received command', + : 'LG TV Received command', }), 'context': , 'entity_id': 'event.lg_tv_received_command', diff --git a/tests/components/lg_infrared/snapshots/test_media_player.ambr b/tests/components/lg_infrared/snapshots/test_media_player.ambr index a48def334c8..a713591a4df 100644 --- a/tests/components/lg_infrared/snapshots/test_media_player.ambr +++ b/tests/components/lg_infrared/snapshots/test_media_player.ambr @@ -40,10 +40,10 @@ # name: test_entities[media_player.lg_tv-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'tv', - 'friendly_name': 'LG TV', - 'supported_features': , + : True, + : 'tv', + : 'LG TV', + : , }), 'context': , 'entity_id': 'media_player.lg_tv', diff --git a/tests/components/lg_thinq/snapshots/test_climate.ambr b/tests/components/lg_thinq/snapshots/test_climate.ambr index 860a3b3d710..3493bf4e597 100644 --- a/tests/components/lg_thinq/snapshots/test_climate.ambr +++ b/tests/components/lg_thinq/snapshots/test_climate.ambr @@ -73,7 +73,7 @@ 'high', 'medium', ]), - 'friendly_name': 'Test air conditioner', + : 'Test air conditioner', : list([ , , @@ -86,7 +86,7 @@ 'none', 'air_clean', ]), - 'supported_features': , + : , : 'off', : list([ 'on', diff --git a/tests/components/lg_thinq/snapshots/test_event.ambr b/tests/components/lg_thinq/snapshots/test_event.ambr index 27c1ed57a4d..36cb3920851 100644 --- a/tests/components/lg_thinq/snapshots/test_event.ambr +++ b/tests/components/lg_thinq/snapshots/test_event.ambr @@ -47,7 +47,7 @@ : list([ 'water_is_full', ]), - 'friendly_name': 'Test air conditioner Notification', + : 'Test air conditioner Notification', }), 'context': , 'entity_id': 'event.test_air_conditioner_notification', diff --git a/tests/components/lg_thinq/snapshots/test_fan.ambr b/tests/components/lg_thinq/snapshots/test_fan.ambr index b4d0851ee78..36f301d0d5f 100644 --- a/tests/components/lg_thinq/snapshots/test_fan.ambr +++ b/tests/components/lg_thinq/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_fan_entities[hood][fan.test_hood_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test hood Hood', + : 'Test hood Hood', : 20, : 20.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.test_hood_hood', diff --git a/tests/components/lg_thinq/snapshots/test_humidifier.ambr b/tests/components/lg_thinq/snapshots/test_humidifier.ambr index 4b910276744..728b9e8fd7d 100644 --- a/tests/components/lg_thinq/snapshots/test_humidifier.ambr +++ b/tests/components/lg_thinq/snapshots/test_humidifier.ambr @@ -59,13 +59,13 @@ 'clothes_dry', ]), : 80, - 'device_class': 'dehumidifier', - 'friendly_name': 'Test dehumidifier', + : 'dehumidifier', + : 'Test dehumidifier', : 55, : 70, : 30, : 'smart_humidity', - 'supported_features': , + : , : 5, }), 'context': , diff --git a/tests/components/lg_thinq/snapshots/test_number.ambr b/tests/components/lg_thinq/snapshots/test_number.ambr index cfb5315f8ba..3263b8818b2 100644 --- a/tests/components/lg_thinq/snapshots/test_number.ambr +++ b/tests/components/lg_thinq/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_entities[air_conditioner][number.test_air_conditioner_schedule_turn_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test air conditioner Schedule turn-off', + : 'Test air conditioner Schedule turn-off', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_air_conditioner_schedule_turn_off', @@ -104,12 +104,12 @@ # name: test_number_entities[air_conditioner][number.test_air_conditioner_schedule_turn_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test air conditioner Schedule turn-on', + : 'Test air conditioner Schedule turn-on', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_air_conditioner_schedule_turn_on', @@ -164,12 +164,12 @@ # name: test_number_entities[washer][number.test_washer_delayed_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test washer Delayed start', + : 'Test washer Delayed start', : 19, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_washer_delayed_start', diff --git a/tests/components/lg_thinq/snapshots/test_sensor.ambr b/tests/components/lg_thinq/snapshots/test_sensor.ambr index a2e2757734d..e86b8b610e9 100644 --- a/tests/components/lg_thinq/snapshots/test_sensor.ambr +++ b/tests/components/lg_thinq/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_energy_last_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test air conditioner Energy last month', + : 'energy', + : 'Test air conditioner Energy last month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_air_conditioner_energy_last_month', @@ -102,10 +102,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_energy_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test air conditioner Energy this month', + : 'energy', + : 'Test air conditioner Energy this month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_air_conditioner_energy_this_month', @@ -160,10 +160,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test air conditioner Energy today', + : 'energy', + : 'Test air conditioner Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_air_conditioner_energy_today', @@ -218,10 +218,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_energy_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test air conditioner Energy yesterday', + : 'energy', + : 'Test air conditioner Energy yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_air_conditioner_energy_yesterday', @@ -271,8 +271,8 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_filter_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test air conditioner Filter remaining', - 'unit_of_measurement': , + : 'Test air conditioner Filter remaining', + : , }), 'context': , 'entity_id': 'sensor.test_air_conditioner_filter_remaining', @@ -324,10 +324,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test air conditioner Humidity', + : 'humidity', + : 'Test air conditioner Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_air_conditioner_humidity', @@ -379,10 +379,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Test air conditioner PM1', + : 'pm1', + : 'Test air conditioner PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_air_conditioner_pm1', @@ -434,10 +434,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Test air conditioner PM10', + : 'pm10', + : 'Test air conditioner PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_air_conditioner_pm10', @@ -489,10 +489,10 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Test air conditioner PM2.5', + : 'pm25', + : 'Test air conditioner PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_air_conditioner_pm2_5', @@ -545,9 +545,9 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_schedule_turn_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test air conditioner Schedule turn-off', - 'unit_of_measurement': , + : 'duration', + : 'Test air conditioner Schedule turn-off', + : , }), 'context': , 'entity_id': 'sensor.test_air_conditioner_schedule_turn_off', @@ -600,9 +600,9 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_schedule_turn_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test air conditioner Schedule turn-on', - 'unit_of_measurement': , + : 'duration', + : 'Test air conditioner Schedule turn-on', + : , }), 'context': , 'entity_id': 'sensor.test_air_conditioner_schedule_turn_on', @@ -652,8 +652,8 @@ # name: test_sensor_entities[air_conditioner][sensor.test_air_conditioner_schedule_turn_on_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test air conditioner Schedule turn-on', + : 'timestamp', + : 'Test air conditioner Schedule turn-on', }), 'context': , 'entity_id': 'sensor.test_air_conditioner_schedule_turn_on_2', @@ -708,10 +708,10 @@ # name: test_sensor_entities[kimchi_refrigerator][sensor.test_kimchi_refrigerator_energy_last_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test kimchi refrigerator Energy last month', + : 'energy', + : 'Test kimchi refrigerator Energy last month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_kimchi_refrigerator_energy_last_month', @@ -766,10 +766,10 @@ # name: test_sensor_entities[kimchi_refrigerator][sensor.test_kimchi_refrigerator_energy_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test kimchi refrigerator Energy this month', + : 'energy', + : 'Test kimchi refrigerator Energy this month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_kimchi_refrigerator_energy_this_month', @@ -824,10 +824,10 @@ # name: test_sensor_entities[kimchi_refrigerator][sensor.test_kimchi_refrigerator_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test kimchi refrigerator Energy today', + : 'energy', + : 'Test kimchi refrigerator Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_kimchi_refrigerator_energy_today', @@ -882,10 +882,10 @@ # name: test_sensor_entities[kimchi_refrigerator][sensor.test_kimchi_refrigerator_energy_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test kimchi refrigerator Energy yesterday', + : 'energy', + : 'Test kimchi refrigerator Energy yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_kimchi_refrigerator_energy_yesterday', @@ -941,8 +941,8 @@ # name: test_sensor_entities[kimchi_refrigerator][sensor.test_kimchi_refrigerator_middle_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test kimchi refrigerator middle temperature', + : 'enum', + : 'Test kimchi refrigerator middle temperature', : list([ 'kimchi', 'meat_fish', @@ -997,8 +997,8 @@ # name: test_sensor_entities[kimchi_refrigerator][sensor.test_kimchi_refrigerator_top_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test kimchi refrigerator top temperature', - 'unit_of_measurement': , + : 'Test kimchi refrigerator top temperature', + : , }), 'context': , 'entity_id': 'sensor.test_kimchi_refrigerator_top_temperature', diff --git a/tests/components/lg_thinq/snapshots/test_switch.ambr b/tests/components/lg_thinq/snapshots/test_switch.ambr index d4f108fce2a..3382b8bba87 100644 --- a/tests/components/lg_thinq/snapshots/test_switch.ambr +++ b/tests/components/lg_thinq/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch_entities[air_conditioner][switch.test_air_conditioner_air_purify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test air conditioner Air purify', + : 'switch', + : 'Test air conditioner Air purify', }), 'context': , 'entity_id': 'switch.test_air_conditioner_air_purify', @@ -90,8 +90,8 @@ # name: test_switch_entities[air_conditioner][switch.test_air_conditioner_energy_saving-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test air conditioner Energy saving', + : 'switch', + : 'Test air conditioner Energy saving', }), 'context': , 'entity_id': 'switch.test_air_conditioner_energy_saving', @@ -141,8 +141,8 @@ # name: test_switch_entities[air_conditioner][switch.test_air_conditioner_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test air conditioner Power', + : 'switch', + : 'Test air conditioner Power', }), 'context': , 'entity_id': 'switch.test_air_conditioner_power', @@ -192,8 +192,8 @@ # name: test_switch_entities[dehumidifier][switch.test_dehumidifier_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test dehumidifier Power', + : 'switch', + : 'Test dehumidifier Power', }), 'context': , 'entity_id': 'switch.test_dehumidifier_power', @@ -243,8 +243,8 @@ # name: test_switch_entities[washer][switch.test_washer_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test washer Power', + : 'switch', + : 'Test washer Power', }), 'context': , 'entity_id': 'switch.test_washer_power', diff --git a/tests/components/lg_tv_rs232/snapshots/test_media_player.ambr b/tests/components/lg_tv_rs232/snapshots/test_media_player.ambr index 24e091fe30c..4f15dc099f7 100644 --- a/tests/components/lg_tv_rs232/snapshots/test_media_player.ambr +++ b/tests/components/lg_tv_rs232/snapshots/test_media_player.ambr @@ -56,8 +56,8 @@ # name: test_entities_created[media_player.lg_tv-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tv', - 'friendly_name': 'LG TV', + : 'tv', + : 'LG TV', : False, : 'hdmi1', : list([ @@ -76,7 +76,7 @@ 'hdmi4', 'rgb_pc', ]), - 'supported_features': , + : , : 0.2, }), 'context': , diff --git a/tests/components/libre_hardware_monitor/snapshots/test_sensor.ambr b/tests/components/libre_hardware_monitor/snapshots/test_sensor.ambr index 65d7be994f2..4bbe641e307 100644 --- a/tests/components/libre_hardware_monitor/snapshots/test_sensor.ambr +++ b/tests/components/libre_hardware_monitor/snapshots/test_sensor.ambr @@ -41,11 +41,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_amd_ryzen_7_7800x3d_core_tctl_tdie_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Core (Tctl/Tdie) Temperature', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Core (Tctl/Tdie) Temperature', 'max_value': '69.1', 'min_value': '39.4', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_core_tctl_tdie_temperature', @@ -97,11 +97,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_amd_ryzen_7_7800x3d_cpu_total_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D CPU Total Load', + : '[GAMING-PC] AMD Ryzen 7 7800X3D CPU Total Load', 'max_value': '55.8', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_cpu_total_load', @@ -153,11 +153,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_amd_ryzen_7_7800x3d_package_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Package Power', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Package Power', 'max_value': '70.1', 'min_value': '25.1', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_package_power', @@ -209,11 +209,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_amd_ryzen_7_7800x3d_package_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Package Temperature', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Package Temperature', 'max_value': '74.0', 'min_value': '38.4', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_package_temperature', @@ -265,11 +265,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_soc_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR SoC Voltage', + : '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR SoC Voltage', 'max_value': '1.306', 'min_value': '1.305', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_soc_voltage', @@ -321,11 +321,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR Voltage', + : '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR Voltage', 'max_value': '1.173', 'min_value': '0.452', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_voltage', @@ -377,11 +377,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_12v_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +12V Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +12V Voltage', 'max_value': '12.096', 'min_value': '12.048', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_12v_voltage', @@ -433,11 +433,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_5v_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +5V Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +5V Voltage', 'max_value': '5.050', 'min_value': '5.020', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_5v_voltage', @@ -489,11 +489,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Fan Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Fan Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_fan_speed', @@ -545,11 +545,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Temperature', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Temperature', 'max_value': '68.0', 'min_value': '39.0', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_temperature', @@ -601,11 +601,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_pump_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Pump Fan Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Pump Fan Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_pump_fan_speed', @@ -657,7 +657,7 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_system_fan_1_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Fan #1 Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Fan #1 Speed', 'max_value': None, 'min_value': None, : , @@ -712,11 +712,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_system_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Temperature', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Temperature', 'max_value': '46.5', 'min_value': '32.5', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_system_temperature', @@ -768,11 +768,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_vcore_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Vcore Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Vcore Voltage', 'max_value': '1.318', 'min_value': '1.310', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_vcore_voltage', @@ -824,11 +824,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_clock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Clock', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Clock', 'max_value': '2805.0', 'min_value': '210.0', : , - 'unit_of_measurement': 'MHz', + : 'MHz', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_clock', @@ -880,11 +880,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Load', 'max_value': '19.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_load', @@ -936,11 +936,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Temperature', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Temperature', 'max_value': '37.0', 'min_value': '25.0', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_temperature', @@ -992,11 +992,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_1_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 1 Speed', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 1 Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_1_speed', @@ -1048,11 +1048,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_2_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 2 Speed', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 2 Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_2_speed', @@ -1104,11 +1104,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_hot_spot_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Hot Spot Temperature', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Hot Spot Temperature', 'max_value': '43.3', 'min_value': '32.5', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_hot_spot_temperature', @@ -1160,11 +1160,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_clock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Clock', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Clock', 'max_value': '11502.0', 'min_value': '405.0', : , - 'unit_of_measurement': 'MHz', + : 'MHz', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_clock', @@ -1216,11 +1216,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_controller_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Controller Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Controller Load', 'max_value': '49.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_controller_load', @@ -1272,11 +1272,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_package_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Package Power', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Package Power', 'max_value': '66.6', 'min_value': '4.1', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_package_power', @@ -1328,11 +1328,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_pcie_tx_throughput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU PCIe Tx Throughput', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU PCIe Tx Throughput', 'max_value': '366210.0', 'min_value': '0.0', : , - 'unit_of_measurement': 'KB/s', + : 'KB/s', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_pcie_tx_throughput', @@ -1384,11 +1384,11 @@ # name: test_sensors_are_created[sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_video_engine_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Video Engine Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Video Engine Load', 'max_value': '99.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_video_engine_load', @@ -1402,11 +1402,11 @@ list([ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +12V Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +12V Voltage', 'max_value': '12.096', 'min_value': '12.048', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_12v_voltage', @@ -1417,11 +1417,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +5V Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +5V Voltage', 'max_value': '5.050', 'min_value': '5.020', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_5v_voltage', @@ -1432,11 +1432,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Vcore Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Vcore Voltage', 'max_value': '1.318', 'min_value': '1.310', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_vcore_voltage', @@ -1447,11 +1447,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Temperature', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Temperature', 'max_value': '68.0', 'min_value': '39.0', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_temperature', @@ -1462,11 +1462,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Temperature', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Temperature', 'max_value': '46.5', 'min_value': '32.5', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_system_temperature', @@ -1477,11 +1477,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Fan Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Fan Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_fan_speed', @@ -1492,11 +1492,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Pump Fan Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Pump Fan Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_pump_fan_speed', @@ -1507,7 +1507,7 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Fan #1 Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Fan #1 Speed', 'max_value': None, 'min_value': None, : , @@ -1521,11 +1521,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR Voltage', + : '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR Voltage', 'max_value': '1.173', 'min_value': '0.452', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_voltage', @@ -1536,11 +1536,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR SoC Voltage', + : '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR SoC Voltage', 'max_value': '1.306', 'min_value': '1.305', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_soc_voltage', @@ -1551,11 +1551,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Package Power', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Package Power', 'max_value': '70.1', 'min_value': '25.1', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_package_power', @@ -1566,11 +1566,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Core (Tctl/Tdie) Temperature', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Core (Tctl/Tdie) Temperature', 'max_value': '69.1', 'min_value': '39.4', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_core_tctl_tdie_temperature', @@ -1581,11 +1581,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Package Temperature', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Package Temperature', 'max_value': '74.0', 'min_value': '38.4', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_package_temperature', @@ -1596,11 +1596,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D CPU Total Load', + : '[GAMING-PC] AMD Ryzen 7 7800X3D CPU Total Load', 'max_value': '55.8', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_cpu_total_load', @@ -1611,11 +1611,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Package Power', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Package Power', 'max_value': '66.6', 'min_value': '4.1', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_package_power', @@ -1626,11 +1626,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Clock', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Clock', 'max_value': '2805.0', 'min_value': '210.0', : , - 'unit_of_measurement': 'MHz', + : 'MHz', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_clock', @@ -1641,11 +1641,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Clock', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Clock', 'max_value': '11502.0', 'min_value': '405.0', : , - 'unit_of_measurement': 'MHz', + : 'MHz', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_clock', @@ -1656,11 +1656,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Temperature', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Temperature', 'max_value': '37.0', 'min_value': '25.0', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_temperature', @@ -1671,11 +1671,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Hot Spot Temperature', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Hot Spot Temperature', 'max_value': '43.3', 'min_value': '32.5', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_hot_spot_temperature', @@ -1686,11 +1686,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Load', 'max_value': '19.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_load', @@ -1701,11 +1701,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Controller Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Controller Load', 'max_value': '49.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_controller_load', @@ -1716,11 +1716,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Video Engine Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Video Engine Load', 'max_value': '99.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_video_engine_load', @@ -1731,11 +1731,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 1 Speed', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 1 Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_1_speed', @@ -1746,11 +1746,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 2 Speed', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 2 Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_2_speed', @@ -1761,11 +1761,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU PCIe Tx Throughput', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU PCIe Tx Throughput', 'max_value': '366210.0', 'min_value': '0.0', : , - 'unit_of_measurement': 'KB/s', + : 'KB/s', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_pcie_tx_throughput', @@ -1780,11 +1780,11 @@ list([ StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +12V Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +12V Voltage', 'max_value': '12.096', 'min_value': '12.048', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_12v_voltage', @@ -1795,11 +1795,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +5V Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) +5V Voltage', 'max_value': '5.050', 'min_value': '5.020', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_5v_voltage', @@ -1810,11 +1810,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Vcore Voltage', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Vcore Voltage', 'max_value': '1.318', 'min_value': '1.310', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_vcore_voltage', @@ -1825,11 +1825,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Temperature', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Temperature', 'max_value': '68.0', 'min_value': '39.0', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_temperature', @@ -1840,11 +1840,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Temperature', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Temperature', 'max_value': '46.5', 'min_value': '32.5', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_system_temperature', @@ -1855,11 +1855,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Fan Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) CPU Fan Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_cpu_fan_speed', @@ -1870,11 +1870,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Pump Fan Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) Pump Fan Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_msi_mag_b650m_mortar_wifi_ms_7d76_pump_fan_speed', @@ -1885,7 +1885,7 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Fan #1 Speed', + : '[GAMING-PC] MSI MAG B650M MORTAR WIFI (MS-7D76) System Fan #1 Speed', 'max_value': None, 'min_value': None, : , @@ -1899,11 +1899,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR Voltage', + : '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR Voltage', 'max_value': '1.173', 'min_value': '0.452', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_voltage', @@ -1914,11 +1914,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR SoC Voltage', + : '[GAMING-PC] AMD Ryzen 7 7800X3D VDDCR SoC Voltage', 'max_value': '1.306', 'min_value': '1.305', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_vddcr_soc_voltage', @@ -1929,11 +1929,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Package Power', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Package Power', 'max_value': '70.1', 'min_value': '25.1', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_package_power', @@ -1944,11 +1944,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Core (Tctl/Tdie) Temperature', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Core (Tctl/Tdie) Temperature', 'max_value': '69.1', 'min_value': '39.4', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_core_tctl_tdie_temperature', @@ -1959,11 +1959,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D Package Temperature', + : '[GAMING-PC] AMD Ryzen 7 7800X3D Package Temperature', 'max_value': '74.0', 'min_value': '38.4', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_package_temperature', @@ -1974,11 +1974,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] AMD Ryzen 7 7800X3D CPU Total Load', + : '[GAMING-PC] AMD Ryzen 7 7800X3D CPU Total Load', 'max_value': '55.8', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_amd_ryzen_7_7800x3d_cpu_total_load', @@ -1989,11 +1989,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Package Power', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Package Power', 'max_value': '66.6', 'min_value': '4.1', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_package_power', @@ -2004,11 +2004,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Clock', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Clock', 'max_value': '2805.0', 'min_value': '210.0', : , - 'unit_of_measurement': 'MHz', + : 'MHz', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_clock', @@ -2019,11 +2019,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Clock', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Clock', 'max_value': '11502.0', 'min_value': '405.0', : , - 'unit_of_measurement': 'MHz', + : 'MHz', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_clock', @@ -2034,11 +2034,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Temperature', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Temperature', 'max_value': '37.0', 'min_value': '25.0', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_temperature', @@ -2049,11 +2049,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Hot Spot Temperature', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Hot Spot Temperature', 'max_value': '43.3', 'min_value': '32.5', : , - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_hot_spot_temperature', @@ -2064,11 +2064,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Core Load', 'max_value': '19.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_core_load', @@ -2079,11 +2079,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Controller Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Memory Controller Load', 'max_value': '49.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_memory_controller_load', @@ -2094,11 +2094,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Video Engine Load', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Video Engine Load', 'max_value': '99.0', 'min_value': '0.0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_video_engine_load', @@ -2109,11 +2109,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 1 Speed', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 1 Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_1_speed', @@ -2124,11 +2124,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 2 Speed', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU Fan 2 Speed', 'max_value': '0', 'min_value': '0', : , - 'unit_of_measurement': 'RPM', + : 'RPM', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_fan_2_speed', @@ -2139,11 +2139,11 @@ }), StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU PCIe Tx Throughput', + : '[GAMING-PC] NVIDIA GeForce RTX 4080 SUPER GPU PCIe Tx Throughput', 'max_value': '366210.0', 'min_value': '0.0', : , - 'unit_of_measurement': 'KB/s', + : 'KB/s', }), 'context': , 'entity_id': 'sensor.gaming_pc_nvidia_geforce_rtx_4080_super_gpu_pcie_tx_throughput', diff --git a/tests/components/lichess/snapshots/test_sensor.ambr b/tests/components/lichess/snapshots/test_sensor.ambr index 7fcf2d18cc4..9f443566954 100644 --- a/tests/components/lichess/snapshots/test_sensor.ambr +++ b/tests/components/lichess/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_all_entities[sensor.drnykterstein_antichess_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Antichess games', + : 'DrNykterstein Antichess games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_antichess_games', @@ -95,7 +95,7 @@ # name: test_all_entities[sensor.drnykterstein_antichess_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Antichess rating', + : 'DrNykterstein Antichess rating', : , }), 'context': , @@ -148,9 +148,9 @@ # name: test_all_entities[sensor.drnykterstein_atomic_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Atomic games', + : 'DrNykterstein Atomic games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_atomic_games', @@ -202,7 +202,7 @@ # name: test_all_entities[sensor.drnykterstein_atomic_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Atomic rating', + : 'DrNykterstein Atomic rating', : , }), 'context': , @@ -255,9 +255,9 @@ # name: test_all_entities[sensor.drnykterstein_blitz_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Blitz games', + : 'DrNykterstein Blitz games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_blitz_games', @@ -309,7 +309,7 @@ # name: test_all_entities[sensor.drnykterstein_blitz_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Blitz rating', + : 'DrNykterstein Blitz rating', : , }), 'context': , @@ -362,9 +362,9 @@ # name: test_all_entities[sensor.drnykterstein_bullet_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Bullet games', + : 'DrNykterstein Bullet games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_bullet_games', @@ -416,7 +416,7 @@ # name: test_all_entities[sensor.drnykterstein_bullet_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Bullet rating', + : 'DrNykterstein Bullet rating', : , }), 'context': , @@ -469,9 +469,9 @@ # name: test_all_entities[sensor.drnykterstein_chess960_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Chess960 games', + : 'DrNykterstein Chess960 games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_chess960_games', @@ -523,7 +523,7 @@ # name: test_all_entities[sensor.drnykterstein_chess960_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Chess960 rating', + : 'DrNykterstein Chess960 rating', : , }), 'context': , @@ -576,9 +576,9 @@ # name: test_all_entities[sensor.drnykterstein_classical_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Classical games', + : 'DrNykterstein Classical games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_classical_games', @@ -630,7 +630,7 @@ # name: test_all_entities[sensor.drnykterstein_classical_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Classical rating', + : 'DrNykterstein Classical rating', : , }), 'context': , @@ -683,9 +683,9 @@ # name: test_all_entities[sensor.drnykterstein_correspondence_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Correspondence games', + : 'DrNykterstein Correspondence games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_correspondence_games', @@ -737,7 +737,7 @@ # name: test_all_entities[sensor.drnykterstein_correspondence_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Correspondence rating', + : 'DrNykterstein Correspondence rating', : , }), 'context': , @@ -790,9 +790,9 @@ # name: test_all_entities[sensor.drnykterstein_crazyhouse_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Crazyhouse games', + : 'DrNykterstein Crazyhouse games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_crazyhouse_games', @@ -844,7 +844,7 @@ # name: test_all_entities[sensor.drnykterstein_crazyhouse_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Crazyhouse rating', + : 'DrNykterstein Crazyhouse rating', : , }), 'context': , @@ -897,9 +897,9 @@ # name: test_all_entities[sensor.drnykterstein_horde_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Horde games', + : 'DrNykterstein Horde games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_horde_games', @@ -951,7 +951,7 @@ # name: test_all_entities[sensor.drnykterstein_horde_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Horde rating', + : 'DrNykterstein Horde rating', : , }), 'context': , @@ -1004,9 +1004,9 @@ # name: test_all_entities[sensor.drnykterstein_king_of_the_hill_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein King of the Hill games', + : 'DrNykterstein King of the Hill games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_king_of_the_hill_games', @@ -1058,7 +1058,7 @@ # name: test_all_entities[sensor.drnykterstein_king_of_the_hill_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein King of the Hill rating', + : 'DrNykterstein King of the Hill rating', : , }), 'context': , @@ -1111,9 +1111,9 @@ # name: test_all_entities[sensor.drnykterstein_puzzle_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Puzzle games', + : 'DrNykterstein Puzzle games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_puzzle_games', @@ -1165,7 +1165,7 @@ # name: test_all_entities[sensor.drnykterstein_puzzle_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Puzzle rating', + : 'DrNykterstein Puzzle rating', : , }), 'context': , @@ -1218,9 +1218,9 @@ # name: test_all_entities[sensor.drnykterstein_racing_kings_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Racing Kings games', + : 'DrNykterstein Racing Kings games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_racing_kings_games', @@ -1272,7 +1272,7 @@ # name: test_all_entities[sensor.drnykterstein_racing_kings_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Racing Kings rating', + : 'DrNykterstein Racing Kings rating', : , }), 'context': , @@ -1325,9 +1325,9 @@ # name: test_all_entities[sensor.drnykterstein_rapid_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Rapid games', + : 'DrNykterstein Rapid games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_rapid_games', @@ -1379,7 +1379,7 @@ # name: test_all_entities[sensor.drnykterstein_rapid_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Rapid rating', + : 'DrNykterstein Rapid rating', : , }), 'context': , @@ -1432,9 +1432,9 @@ # name: test_all_entities[sensor.drnykterstein_three_check_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Three-check games', + : 'DrNykterstein Three-check games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_three_check_games', @@ -1486,7 +1486,7 @@ # name: test_all_entities[sensor.drnykterstein_three_check_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein Three-check rating', + : 'DrNykterstein Three-check rating', : , }), 'context': , @@ -1539,9 +1539,9 @@ # name: test_all_entities[sensor.drnykterstein_ultrabullet_games-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein UltraBullet games', + : 'DrNykterstein UltraBullet games', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.drnykterstein_ultrabullet_games', @@ -1593,7 +1593,7 @@ # name: test_all_entities[sensor.drnykterstein_ultrabullet_rating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'DrNykterstein UltraBullet rating', + : 'DrNykterstein UltraBullet rating', : , }), 'context': , diff --git a/tests/components/liebherr/snapshots/test_light.ambr b/tests/components/liebherr/snapshots/test_light.ambr index b61eee3ae34..a0caee7fbd3 100644 --- a/tests/components/liebherr/snapshots/test_light.ambr +++ b/tests/components/liebherr/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : 153, : , - 'friendly_name': 'Test Fridge Presentation light', + : 'Test Fridge Presentation light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_fridge_presentation_light', diff --git a/tests/components/liebherr/snapshots/test_number.ambr b/tests/components/liebherr/snapshots/test_number.ambr index 36027e98031..eb084744607 100644 --- a/tests/components/liebherr/snapshots/test_number.ambr +++ b/tests/components/liebherr/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_numbers[number.test_fridge_bottom_zone_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Fridge Bottom zone setpoint', + : 'temperature', + : 'Test Fridge Bottom zone setpoint', : -16, : -24, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_fridge_bottom_zone_setpoint', @@ -105,13 +105,13 @@ # name: test_numbers[number.test_fridge_top_zone_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Fridge Top zone setpoint', + : 'temperature', + : 'Test Fridge Top zone setpoint', : 8, : 2, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_fridge_top_zone_setpoint', @@ -166,13 +166,13 @@ # name: test_single_zone_number[number.single_zone_fridge_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Single Zone Fridge Setpoint', + : 'temperature', + : 'Single Zone Fridge Setpoint', : 8, : 2, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.single_zone_fridge_setpoint', diff --git a/tests/components/liebherr/snapshots/test_select.ambr b/tests/components/liebherr/snapshots/test_select.ambr index 9386bb8a342..e28d1b2305c 100644 --- a/tests/components/liebherr/snapshots/test_select.ambr +++ b/tests/components/liebherr/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_selects[select.test_fridge_bottom_zone_icemaker-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fridge Bottom zone IceMaker', + : 'Test Fridge Bottom zone IceMaker', : list([ 'off', 'on', @@ -107,7 +107,7 @@ # name: test_selects[select.test_fridge_top_zone_biofresh_plus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fridge Top zone BioFresh-Plus', + : 'Test Fridge Top zone BioFresh-Plus', : list([ 'zero_zero', 'zero_minus_two', @@ -170,7 +170,7 @@ # name: test_selects[select.test_fridge_top_zone_hydrobreeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fridge Top zone HydroBreeze', + : 'Test Fridge Top zone HydroBreeze', : list([ 'off', 'low', @@ -233,7 +233,7 @@ # name: test_single_zone_select[select.single_zone_fridge_hydrobreeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Single Zone Fridge HydroBreeze', + : 'Single Zone Fridge HydroBreeze', : list([ 'off', 'low', @@ -294,7 +294,7 @@ # name: test_single_zone_select[select.single_zone_fridge_icemaker-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Single Zone Fridge IceMaker', + : 'Single Zone Fridge IceMaker', : list([ 'off', 'on', diff --git a/tests/components/liebherr/snapshots/test_sensor.ambr b/tests/components/liebherr/snapshots/test_sensor.ambr index ce65ca3ecf6..0983a124b7b 100644 --- a/tests/components/liebherr/snapshots/test_sensor.ambr +++ b/tests/components/liebherr/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.test_fridge_bottom_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Fridge Bottom zone', + : 'temperature', + : 'Test Fridge Bottom zone', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_fridge_bottom_zone', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.test_fridge_top_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Fridge Top zone', + : 'temperature', + : 'Test Fridge Top zone', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_fridge_top_zone', @@ -160,10 +160,10 @@ # name: test_single_zone_sensor[sensor.single_zone_fridge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Single Zone Fridge', + : 'temperature', + : 'Single Zone Fridge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.single_zone_fridge', diff --git a/tests/components/liebherr/snapshots/test_switch.ambr b/tests/components/liebherr/snapshots/test_switch.ambr index 45e5d9f31c4..cd76f7c64c8 100644 --- a/tests/components/liebherr/snapshots/test_switch.ambr +++ b/tests/components/liebherr/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_single_zone_switch[switch.single_zone_fridge_supercool-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Single Zone Fridge SuperCool', + : 'Single Zone Fridge SuperCool', }), 'context': , 'entity_id': 'switch.single_zone_fridge_supercool', @@ -89,7 +89,7 @@ # name: test_switches[switch.test_fridge_bottom_zone_superfrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fridge Bottom zone SuperFrost', + : 'Test Fridge Bottom zone SuperFrost', }), 'context': , 'entity_id': 'switch.test_fridge_bottom_zone_superfrost', @@ -139,7 +139,7 @@ # name: test_switches[switch.test_fridge_nightmode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fridge NightMode', + : 'Test Fridge NightMode', }), 'context': , 'entity_id': 'switch.test_fridge_nightmode', @@ -189,7 +189,7 @@ # name: test_switches[switch.test_fridge_partymode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fridge PartyMode', + : 'Test Fridge PartyMode', }), 'context': , 'entity_id': 'switch.test_fridge_partymode', @@ -239,7 +239,7 @@ # name: test_switches[switch.test_fridge_top_zone_supercool-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fridge Top zone SuperCool', + : 'Test Fridge Top zone SuperCool', }), 'context': , 'entity_id': 'switch.test_fridge_top_zone_supercool', diff --git a/tests/components/litterrobot/snapshots/test_switch.ambr b/tests/components/litterrobot/snapshots/test_switch.ambr index bd10c6ce6bf..a730b023e04 100644 --- a/tests/components/litterrobot/snapshots/test_switch.ambr +++ b/tests/components/litterrobot/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_litter_robot_5_all_entities[switch.test_friday_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Friday sleep mode', + : 'Test Friday sleep mode', }), 'context': , 'entity_id': 'switch.test_friday_sleep_mode', @@ -89,7 +89,7 @@ # name: test_litter_robot_5_all_entities[switch.test_monday_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Monday sleep mode', + : 'Test Monday sleep mode', }), 'context': , 'entity_id': 'switch.test_monday_sleep_mode', @@ -139,7 +139,7 @@ # name: test_litter_robot_5_all_entities[switch.test_panel_lockout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Panel lockout', + : 'Test Panel lockout', }), 'context': , 'entity_id': 'switch.test_panel_lockout', @@ -189,7 +189,7 @@ # name: test_litter_robot_5_all_entities[switch.test_saturday_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Saturday sleep mode', + : 'Test Saturday sleep mode', }), 'context': , 'entity_id': 'switch.test_saturday_sleep_mode', @@ -239,7 +239,7 @@ # name: test_litter_robot_5_all_entities[switch.test_sunday_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Sunday sleep mode', + : 'Test Sunday sleep mode', }), 'context': , 'entity_id': 'switch.test_sunday_sleep_mode', @@ -289,7 +289,7 @@ # name: test_litter_robot_5_all_entities[switch.test_thursday_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Thursday sleep mode', + : 'Test Thursday sleep mode', }), 'context': , 'entity_id': 'switch.test_thursday_sleep_mode', @@ -339,7 +339,7 @@ # name: test_litter_robot_5_all_entities[switch.test_tuesday_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Tuesday sleep mode', + : 'Test Tuesday sleep mode', }), 'context': , 'entity_id': 'switch.test_tuesday_sleep_mode', @@ -389,7 +389,7 @@ # name: test_litter_robot_5_all_entities[switch.test_wednesday_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Wednesday sleep mode', + : 'Test Wednesday sleep mode', }), 'context': , 'entity_id': 'switch.test_wednesday_sleep_mode', diff --git a/tests/components/litterrobot/snapshots/test_time.ambr b/tests/components/litterrobot/snapshots/test_time.ambr index aff613d8dd1..cbd55bb50f5 100644 --- a/tests/components/litterrobot/snapshots/test_time.ambr +++ b/tests/components/litterrobot/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_litter_robot_5_all_entities[time.test_friday_sleep_mode_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Friday sleep mode end time', + : 'Test Friday sleep mode end time', }), 'context': , 'entity_id': 'time.test_friday_sleep_mode_end_time', @@ -89,7 +89,7 @@ # name: test_litter_robot_5_all_entities[time.test_friday_sleep_mode_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Friday sleep mode start time', + : 'Test Friday sleep mode start time', }), 'context': , 'entity_id': 'time.test_friday_sleep_mode_start_time', @@ -139,7 +139,7 @@ # name: test_litter_robot_5_all_entities[time.test_monday_sleep_mode_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Monday sleep mode end time', + : 'Test Monday sleep mode end time', }), 'context': , 'entity_id': 'time.test_monday_sleep_mode_end_time', @@ -189,7 +189,7 @@ # name: test_litter_robot_5_all_entities[time.test_monday_sleep_mode_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Monday sleep mode start time', + : 'Test Monday sleep mode start time', }), 'context': , 'entity_id': 'time.test_monday_sleep_mode_start_time', @@ -239,7 +239,7 @@ # name: test_litter_robot_5_all_entities[time.test_saturday_sleep_mode_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Saturday sleep mode end time', + : 'Test Saturday sleep mode end time', }), 'context': , 'entity_id': 'time.test_saturday_sleep_mode_end_time', @@ -289,7 +289,7 @@ # name: test_litter_robot_5_all_entities[time.test_saturday_sleep_mode_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Saturday sleep mode start time', + : 'Test Saturday sleep mode start time', }), 'context': , 'entity_id': 'time.test_saturday_sleep_mode_start_time', @@ -339,7 +339,7 @@ # name: test_litter_robot_5_all_entities[time.test_sunday_sleep_mode_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Sunday sleep mode end time', + : 'Test Sunday sleep mode end time', }), 'context': , 'entity_id': 'time.test_sunday_sleep_mode_end_time', @@ -389,7 +389,7 @@ # name: test_litter_robot_5_all_entities[time.test_sunday_sleep_mode_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Sunday sleep mode start time', + : 'Test Sunday sleep mode start time', }), 'context': , 'entity_id': 'time.test_sunday_sleep_mode_start_time', @@ -439,7 +439,7 @@ # name: test_litter_robot_5_all_entities[time.test_thursday_sleep_mode_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Thursday sleep mode end time', + : 'Test Thursday sleep mode end time', }), 'context': , 'entity_id': 'time.test_thursday_sleep_mode_end_time', @@ -489,7 +489,7 @@ # name: test_litter_robot_5_all_entities[time.test_thursday_sleep_mode_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Thursday sleep mode start time', + : 'Test Thursday sleep mode start time', }), 'context': , 'entity_id': 'time.test_thursday_sleep_mode_start_time', @@ -539,7 +539,7 @@ # name: test_litter_robot_5_all_entities[time.test_tuesday_sleep_mode_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Tuesday sleep mode end time', + : 'Test Tuesday sleep mode end time', }), 'context': , 'entity_id': 'time.test_tuesday_sleep_mode_end_time', @@ -589,7 +589,7 @@ # name: test_litter_robot_5_all_entities[time.test_tuesday_sleep_mode_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Tuesday sleep mode start time', + : 'Test Tuesday sleep mode start time', }), 'context': , 'entity_id': 'time.test_tuesday_sleep_mode_start_time', @@ -639,7 +639,7 @@ # name: test_litter_robot_5_all_entities[time.test_wednesday_sleep_mode_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Wednesday sleep mode end time', + : 'Test Wednesday sleep mode end time', }), 'context': , 'entity_id': 'time.test_wednesday_sleep_mode_end_time', @@ -689,7 +689,7 @@ # name: test_litter_robot_5_all_entities[time.test_wednesday_sleep_mode_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Wednesday sleep mode start time', + : 'Test Wednesday sleep mode start time', }), 'context': , 'entity_id': 'time.test_wednesday_sleep_mode_start_time', diff --git a/tests/components/lojack/snapshots/test_device_tracker.ambr b/tests/components/lojack/snapshots/test_device_tracker.ambr index 1ae87b52027..00885d4ddaf 100644 --- a/tests/components/lojack/snapshots/test_device_tracker.ambr +++ b/tests/components/lojack/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_all_entities[device_tracker.2021_honda_accord-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '2021 Honda Accord', + : '2021 Honda Accord', : 10, : list([ ]), diff --git a/tests/components/lunatone/snapshots/test_light.ambr b/tests/components/lunatone/snapshots/test_light.ambr index c96d1b884bf..76c573f8fb3 100644 --- a/tests/components/lunatone/snapshots/test_light.ambr +++ b/tests/components/lunatone/snapshots/test_light.ambr @@ -43,14 +43,14 @@ # name: test_setup[light.dali_line_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, + : True, : None, : None, - 'friendly_name': 'DALI Line 0', + : 'DALI Line 0', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dali_line_0', @@ -104,14 +104,14 @@ # name: test_setup[light.dali_line_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, + : True, : None, : None, - 'friendly_name': 'DALI Line 1', + : 'DALI Line 1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dali_line_1', @@ -166,11 +166,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Device 1', + : 'Device 1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.device_1', @@ -226,11 +226,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Device 2', + : 'Device 2', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.device_2', @@ -289,7 +289,7 @@ : None, : None, : None, - 'friendly_name': 'Device 3', + : 'Device 3', : None, : 10000, : 1000, @@ -297,7 +297,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -354,13 +354,13 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Device 4', + : 'Device 4', : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -417,14 +417,14 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Device 5', + : 'Device 5', : None, : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/lunatone/snapshots/test_sensor.ambr b/tests/components/lunatone/snapshots/test_sensor.ambr index f058f0acd4b..bfe20008e04 100644 --- a/tests/components/lunatone/snapshots/test_sensor.ambr +++ b/tests/components/lunatone/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_setup[sensor.dali_line_0_a02_sensor_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'DALI Line 0 - A0² Sensor 3', + : 'temperature', + : 'DALI Line 0 - A0² Sensor 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dali_line_0_a02_sensor_3', @@ -102,10 +102,10 @@ # name: test_setup[sensor.test_sensor_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Sensor 1', + : 'temperature', + : 'Test Sensor 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_1', @@ -157,10 +157,10 @@ # name: test_setup[sensor.test_sensor_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test Sensor 2', + : 'humidity', + : 'Test Sensor 2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_sensor_2', diff --git a/tests/components/lutron/snapshots/test_binary_sensor.ambr b/tests/components/lutron/snapshots/test_binary_sensor.ambr index 34128ece11c..f2b0e596ca1 100644 --- a/tests/components/lutron/snapshots/test_binary_sensor.ambr +++ b/tests/components/lutron/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_setup[binary_sensor.test_area_test_occupancy_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Test Occupancy Occupancy', + : 'occupancy', + : 'Test Occupancy Occupancy', 'lutron_integration_id': 5, }), 'context': , diff --git a/tests/components/lutron/snapshots/test_cover.ambr b/tests/components/lutron/snapshots/test_cover.ambr index b1bae69c5dd..b337e0c53ad 100644 --- a/tests/components/lutron/snapshots/test_cover.ambr +++ b/tests/components/lutron/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'friendly_name': 'Test Cover', + : 'Test Cover', : True, 'lutron_integration_id': 3, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_area_test_cover', diff --git a/tests/components/lutron/snapshots/test_event.ambr b/tests/components/lutron/snapshots/test_event.ambr index 86b40344af2..978a8cea00b 100644 --- a/tests/components/lutron/snapshots/test_event.ambr +++ b/tests/components/lutron/snapshots/test_event.ambr @@ -47,7 +47,7 @@ : list([ , ]), - 'friendly_name': 'Test Keypad Test Button', + : 'Test Keypad Test Button', }), 'context': , 'entity_id': 'event.test_keypad_test_button', diff --git a/tests/components/lutron/snapshots/test_fan.ambr b/tests/components/lutron/snapshots/test_fan.ambr index b533ac5cc80..772d6ebc93a 100644 --- a/tests/components/lutron/snapshots/test_fan.ambr +++ b/tests/components/lutron/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_fan_setup[fan.test_area_test_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fan', + : 'Test Fan', : 0, : 33.333333333333336, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.test_area_test_fan', diff --git a/tests/components/lutron/snapshots/test_light.ambr b/tests/components/lutron/snapshots/test_light.ambr index 369a680f36e..a831127ac29 100644 --- a/tests/components/lutron/snapshots/test_light.ambr +++ b/tests/components/lutron/snapshots/test_light.ambr @@ -45,12 +45,12 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Test Light', + : 'Test Light', 'lutron_integration_id': 1, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_area_test_light', diff --git a/tests/components/lutron/snapshots/test_scene.ambr b/tests/components/lutron/snapshots/test_scene.ambr index 1a31bb6c6fc..55918fbbaca 100644 --- a/tests/components/lutron/snapshots/test_scene.ambr +++ b/tests/components/lutron/snapshots/test_scene.ambr @@ -39,7 +39,7 @@ # name: test_scene_setup[scene.test_keypad_test_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Keypad Test Button', + : 'Test Keypad Test Button', }), 'context': , 'entity_id': 'scene.test_keypad_test_button', diff --git a/tests/components/lutron/snapshots/test_select.ambr b/tests/components/lutron/snapshots/test_select.ambr index 9ab4a0ef081..5fd8f161d49 100644 --- a/tests/components/lutron/snapshots/test_select.ambr +++ b/tests/components/lutron/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_led_select_setup[select.test_keypad_test_button_led-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Keypad Test Button LED', + : 'Test Keypad Test Button LED', : list([ 'off', 'on', diff --git a/tests/components/lutron/snapshots/test_switch.ambr b/tests/components/lutron/snapshots/test_switch.ambr index 486a5dda5f0..e62dca4101b 100644 --- a/tests/components/lutron/snapshots/test_switch.ambr +++ b/tests/components/lutron/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_setup[switch.test_area_test_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Switch', + : 'Test Switch', 'lutron_integration_id': 2, }), 'context': , @@ -90,7 +90,7 @@ # name: test_switch_setup[switch.test_keypad_test_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Keypad Test Button', + : 'Test Keypad Test Button', 'keypad': 'Test Keypad', 'led': 'Test LED', 'scene': 'Test Button', diff --git a/tests/components/madvr/snapshots/test_binary_sensor.ambr b/tests/components/madvr/snapshots/test_binary_sensor.ambr index 0a0a68ca8dc..5a66ea753bb 100644 --- a/tests/components/madvr/snapshots/test_binary_sensor.ambr +++ b/tests/components/madvr/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor_setup[binary_sensor.madvr_envy_hdr_flag-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy HDR flag', + : 'madVR Envy HDR flag', }), 'context': , 'entity_id': 'binary_sensor.madvr_envy_hdr_flag', @@ -89,7 +89,7 @@ # name: test_binary_sensor_setup[binary_sensor.madvr_envy_outgoing_hdr_flag-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Outgoing HDR flag', + : 'madVR Envy Outgoing HDR flag', }), 'context': , 'entity_id': 'binary_sensor.madvr_envy_outgoing_hdr_flag', @@ -139,7 +139,7 @@ # name: test_binary_sensor_setup[binary_sensor.madvr_envy_power_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Power state', + : 'madVR Envy Power state', }), 'context': , 'entity_id': 'binary_sensor.madvr_envy_power_state', @@ -189,7 +189,7 @@ # name: test_binary_sensor_setup[binary_sensor.madvr_envy_signal_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Signal state', + : 'madVR Envy Signal state', }), 'context': , 'entity_id': 'binary_sensor.madvr_envy_signal_state', diff --git a/tests/components/madvr/snapshots/test_remote.ambr b/tests/components/madvr/snapshots/test_remote.ambr index 919665c4aae..a5b28f501c4 100644 --- a/tests/components/madvr/snapshots/test_remote.ambr +++ b/tests/components/madvr/snapshots/test_remote.ambr @@ -39,8 +39,8 @@ # name: test_remote_setup[remote.madvr_envy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy', - 'supported_features': , + : 'madVR Envy', + : , }), 'context': , 'entity_id': 'remote.madvr_envy', diff --git a/tests/components/madvr/snapshots/test_sensor.ambr b/tests/components/madvr/snapshots/test_sensor.ambr index b7c47667216..77da3e100dd 100644 --- a/tests/components/madvr/snapshots/test_sensor.ambr +++ b/tests/components/madvr/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_aspect_decimal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Aspect decimal', + : 'madVR Envy Aspect decimal', }), 'context': , 'entity_id': 'sensor.madvr_envy_aspect_decimal', @@ -89,7 +89,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_aspect_integer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Aspect integer', + : 'madVR Envy Aspect integer', }), 'context': , 'entity_id': 'sensor.madvr_envy_aspect_integer', @@ -139,7 +139,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_aspect_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Aspect name', + : 'madVR Envy Aspect name', }), 'context': , 'entity_id': 'sensor.madvr_envy_aspect_name', @@ -189,7 +189,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_aspect_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Aspect resolution', + : 'madVR Envy Aspect resolution', }), 'context': , 'entity_id': 'sensor.madvr_envy_aspect_resolution', @@ -244,10 +244,10 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_cpu_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'madVR Envy CPU temperature', + : 'temperature', + : 'madVR Envy CPU temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madvr_envy_cpu_temperature', @@ -302,10 +302,10 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_gpu_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'madVR Envy GPU temperature', + : 'temperature', + : 'madVR Envy GPU temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madvr_envy_gpu_temperature', @@ -360,10 +360,10 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_hdmi_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'madVR Envy HDMI temperature', + : 'temperature', + : 'madVR Envy HDMI temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madvr_envy_hdmi_temperature', @@ -418,8 +418,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_aspect_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Incoming aspect ratio', + : 'enum', + : 'madVR Envy Incoming aspect ratio', : list([ '16:9', '4:3', @@ -479,8 +479,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_bit_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Incoming bit depth', + : 'enum', + : 'madVR Envy Incoming bit depth', : list([ '8bit', '10bit', @@ -540,8 +540,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_black_levels-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Incoming black levels', + : 'enum', + : 'madVR Envy Incoming black levels', : list([ 'TV', 'PC', @@ -602,8 +602,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_color_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Incoming color space', + : 'enum', + : 'madVR Envy Incoming color space', : list([ 'RGB', '444', @@ -669,8 +669,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_colorimetry-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Incoming colorimetry', + : 'enum', + : 'madVR Envy Incoming colorimetry', : list([ 'SDR', 'HDR10', @@ -729,7 +729,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_frame_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Incoming frame rate', + : 'madVR Envy Incoming frame rate', }), 'context': , 'entity_id': 'sensor.madvr_envy_incoming_frame_rate', @@ -779,7 +779,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Incoming resolution', + : 'madVR Envy Incoming resolution', }), 'context': , 'entity_id': 'sensor.madvr_envy_incoming_resolution', @@ -834,8 +834,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_incoming_signal_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Incoming signal type', + : 'enum', + : 'madVR Envy Incoming signal type', : list([ '2D', '3D', @@ -894,10 +894,10 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_mainboard_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'madVR Envy Mainboard temperature', + : 'temperature', + : 'madVR Envy Mainboard temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madvr_envy_mainboard_temperature', @@ -947,7 +947,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_masking_decimal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Masking decimal', + : 'madVR Envy Masking decimal', }), 'context': , 'entity_id': 'sensor.madvr_envy_masking_decimal', @@ -997,7 +997,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_masking_integer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Masking integer', + : 'madVR Envy Masking integer', }), 'context': , 'entity_id': 'sensor.madvr_envy_masking_integer', @@ -1047,7 +1047,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_masking_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Masking resolution', + : 'madVR Envy Masking resolution', }), 'context': , 'entity_id': 'sensor.madvr_envy_masking_resolution', @@ -1103,8 +1103,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_outgoing_bit_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Outgoing bit depth', + : 'enum', + : 'madVR Envy Outgoing bit depth', : list([ '8bit', '10bit', @@ -1164,8 +1164,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_outgoing_black_levels-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Outgoing black levels', + : 'enum', + : 'madVR Envy Outgoing black levels', : list([ 'TV', 'PC', @@ -1226,8 +1226,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_outgoing_color_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Outgoing color space', + : 'enum', + : 'madVR Envy Outgoing color space', : list([ 'RGB', '444', @@ -1293,8 +1293,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_outgoing_colorimetry-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Outgoing colorimetry', + : 'enum', + : 'madVR Envy Outgoing colorimetry', : list([ 'SDR', 'HDR10', @@ -1353,7 +1353,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_outgoing_frame_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Outgoing frame rate', + : 'madVR Envy Outgoing frame rate', }), 'context': , 'entity_id': 'sensor.madvr_envy_outgoing_frame_rate', @@ -1403,7 +1403,7 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_outgoing_resolution-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'madVR Envy Outgoing resolution', + : 'madVR Envy Outgoing resolution', }), 'context': , 'entity_id': 'sensor.madvr_envy_outgoing_resolution', @@ -1458,8 +1458,8 @@ # name: test_sensor_setup_and_states[sensor.madvr_envy_outgoing_signal_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'madVR Envy Outgoing signal type', + : 'enum', + : 'madVR Envy Outgoing signal type', : list([ '2D', '3D', diff --git a/tests/components/marantz_infrared/snapshots/test_button.ambr b/tests/components/marantz_infrared/snapshots/test_button.ambr index cbd0757a16a..51014d7f9ff 100644 --- a/tests/components/marantz_infrared/snapshots/test_button.ambr +++ b/tests/components/marantz_infrared/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.marantz_pm6006_integrated_amplifier_loudness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Marantz PM6006 Integrated Amplifier Loudness', + : 'Marantz PM6006 Integrated Amplifier Loudness', }), 'context': , 'entity_id': 'button.marantz_pm6006_integrated_amplifier_loudness', @@ -89,7 +89,7 @@ # name: test_entities[button.marantz_pm6006_integrated_amplifier_source_direct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Marantz PM6006 Integrated Amplifier Source direct', + : 'Marantz PM6006 Integrated Amplifier Source direct', }), 'context': , 'entity_id': 'button.marantz_pm6006_integrated_amplifier_source_direct', @@ -139,7 +139,7 @@ # name: test_entities[button.marantz_pm6006_integrated_amplifier_speaker_a_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Marantz PM6006 Integrated Amplifier Speaker A/B', + : 'Marantz PM6006 Integrated Amplifier Speaker A/B', }), 'context': , 'entity_id': 'button.marantz_pm6006_integrated_amplifier_speaker_a_b', diff --git a/tests/components/marantz_infrared/snapshots/test_media_player.ambr b/tests/components/marantz_infrared/snapshots/test_media_player.ambr index 97c9564313f..83242ad5da2 100644 --- a/tests/components/marantz_infrared/snapshots/test_media_player.ambr +++ b/tests/components/marantz_infrared/snapshots/test_media_player.ambr @@ -49,9 +49,9 @@ # name: test_entities[pm6006_integrated_amplifier][media_player.marantz_pm6006_integrated_amplifier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'receiver', - 'friendly_name': 'Marantz PM6006 Integrated Amplifier', + : True, + : 'receiver', + : 'Marantz PM6006 Integrated Amplifier', : list([ 'cd', 'coax', @@ -61,7 +61,7 @@ 'recorder', 'tuner', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.marantz_pm6006_integrated_amplifier', @@ -112,10 +112,10 @@ # name: test_entities[sr_7000_receiver][media_player.marantz_sr_7000_receiver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'receiver', - 'friendly_name': 'Marantz SR-7000 Receiver', - 'supported_features': , + : True, + : 'receiver', + : 'Marantz SR-7000 Receiver', + : , }), 'context': , 'entity_id': 'media_player.marantz_sr_7000_receiver', diff --git a/tests/components/mastodon/snapshots/test_binary_sensor.ambr b/tests/components/mastodon/snapshots/test_binary_sensor.ambr index 4a6a06d6e51..6c97976b9eb 100644 --- a/tests/components/mastodon/snapshots/test_binary_sensor.ambr +++ b/tests/components/mastodon/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_bot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Bot', + : 'Mastodon @trwnh@mastodon.social Bot', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_bot', @@ -89,7 +89,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_discoverable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Discoverable', + : 'Mastodon @trwnh@mastodon.social Discoverable', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_discoverable', @@ -139,7 +139,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_indexable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Indexable', + : 'Mastodon @trwnh@mastodon.social Indexable', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_indexable', @@ -189,7 +189,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_limited-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Limited', + : 'Mastodon @trwnh@mastodon.social Limited', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_limited', @@ -239,7 +239,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_locked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Locked', + : 'Mastodon @trwnh@mastodon.social Locked', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_locked', @@ -289,7 +289,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_memorial-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Memorial', + : 'Mastodon @trwnh@mastodon.social Memorial', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_memorial', @@ -339,7 +339,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_moved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Moved', + : 'Mastodon @trwnh@mastodon.social Moved', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_moved', @@ -389,7 +389,7 @@ # name: test_binary_sensors[binary_sensor.mastodon_trwnh_mastodon_social_suspended-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Suspended', + : 'Mastodon @trwnh@mastodon.social Suspended', }), 'context': , 'entity_id': 'binary_sensor.mastodon_trwnh_mastodon_social_suspended', diff --git a/tests/components/mastodon/snapshots/test_sensor.ambr b/tests/components/mastodon/snapshots/test_sensor.ambr index 9a7279556ac..20abaf9b64c 100644 --- a/tests/components/mastodon/snapshots/test_sensor.ambr +++ b/tests/components/mastodon/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensors[sensor.mastodon_trwnh_mastodon_social_followers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Followers', + : 'Mastodon @trwnh@mastodon.social Followers', : , - 'unit_of_measurement': 'accounts', + : 'accounts', }), 'context': , 'entity_id': 'sensor.mastodon_trwnh_mastodon_social_followers', @@ -95,9 +95,9 @@ # name: test_sensors[sensor.mastodon_trwnh_mastodon_social_following-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Following', + : 'Mastodon @trwnh@mastodon.social Following', : , - 'unit_of_measurement': 'accounts', + : 'accounts', }), 'context': , 'entity_id': 'sensor.mastodon_trwnh_mastodon_social_following', @@ -147,8 +147,8 @@ # name: test_sensors[sensor.mastodon_trwnh_mastodon_social_last_post-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mastodon @trwnh@mastodon.social Last post', + : 'timestamp', + : 'Mastodon @trwnh@mastodon.social Last post', }), 'context': , 'entity_id': 'sensor.mastodon_trwnh_mastodon_social_last_post', @@ -200,9 +200,9 @@ # name: test_sensors[sensor.mastodon_trwnh_mastodon_social_posts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mastodon @trwnh@mastodon.social Posts', + : 'Mastodon @trwnh@mastodon.social Posts', : , - 'unit_of_measurement': 'posts', + : 'posts', }), 'context': , 'entity_id': 'sensor.mastodon_trwnh_mastodon_social_posts', @@ -255,8 +255,8 @@ 'bio': '

i have approximate knowledge of many things. perpetual student. (nb/ace/they)

xmpp/email: a@trwnh.com
trwnh.com
help me live:
- donate.stripe.com/4gwcPCaMpcQ1
- liberapay.com/trwnh

notes:
- my triggers are moths and glitter
- i have all notifs except mentions turned off, so please interact if you wanna be friends! i literally will not notice otherwise
- dm me if i did something wrong, so i can improve
- purest person on fedi, do not lewd in my presence

', 'created': datetime.date(2016, 11, 23), 'display_name': 'infinite love ⴳ', - 'entity_picture': 'https://files.mastodon.social/accounts/avatars/000/014/715/original/051c958388818705.png', - 'friendly_name': 'Mastodon @trwnh@mastodon.social Username', + : 'https://files.mastodon.social/accounts/avatars/000/014/715/original/051c958388818705.png', + : 'Mastodon @trwnh@mastodon.social Username', }), 'context': , 'entity_id': 'sensor.mastodon_trwnh_mastodon_social_username', diff --git a/tests/components/matter/snapshots/test_binary_sensor.ambr b/tests/components/matter/snapshots/test_binary_sensor.ambr index efc83eed307..4e55d95fca8 100644 --- a/tests/components/matter/snapshots/test_binary_sensor.ambr +++ b/tests/components/matter/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[aqara_door_window_p2][binary_sensor.aqara_door_and_window_sensor_p2_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Aqara Door and Window Sensor P2 Door', + : 'door', + : 'Aqara Door and Window Sensor P2 Door', }), 'context': , 'entity_id': 'binary_sensor.aqara_door_and_window_sensor_p2_door', @@ -90,8 +90,8 @@ # name: test_binary_sensors[aqara_motion_p2][binary_sensor.aqara_motion_and_light_sensor_p2_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Occupancy', + : 'occupancy', + : 'Aqara Motion and Light Sensor P2 Occupancy', }), 'context': , 'entity_id': 'binary_sensor.aqara_motion_and_light_sensor_p2_occupancy', @@ -141,8 +141,8 @@ # name: test_binary_sensors[aqara_multi_state_p100][binary_sensor.multi_state_sensor_p100_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Multi-State Sensor P100 Door', + : 'door', + : 'Multi-State Sensor P100 Door', }), 'context': , 'entity_id': 'binary_sensor.multi_state_sensor_p100_door', @@ -192,8 +192,8 @@ # name: test_binary_sensors[aqara_presence_fp300][binary_sensor.presence_multi_sensor_fp300_1_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Occupancy', + : 'occupancy', + : 'Presence Multi-Sensor FP300 1 Occupancy', }), 'context': , 'entity_id': 'binary_sensor.presence_multi_sensor_fp300_1_occupancy', @@ -243,7 +243,7 @@ # name: test_binary_sensors[aqara_u200][binary_sensor.aqara_smart_lock_u200_actuator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Smart Lock U200 Actuator', + : 'Aqara Smart Lock U200 Actuator', }), 'context': , 'entity_id': 'binary_sensor.aqara_smart_lock_u200_actuator', @@ -293,8 +293,8 @@ # name: test_binary_sensors[eve_contact_sensor][binary_sensor.eve_door_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Eve Door Door', + : 'door', + : 'Eve Door Door', }), 'context': , 'entity_id': 'binary_sensor.eve_door_door', @@ -344,8 +344,8 @@ # name: test_binary_sensors[eve_shutter][binary_sensor.eve_shutter_switch_20eci1701_configuration_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Configuration status', + : 'problem', + : 'Eve Shutter Switch 20ECI1701 Configuration status', }), 'context': , 'entity_id': 'binary_sensor.eve_shutter_switch_20eci1701_configuration_status', @@ -395,7 +395,7 @@ # name: test_binary_sensors[eve_thermo_v4][binary_sensor.eve_thermo_20ebp1701_local_temperature_remote_sensing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20EBP1701 Local temperature remote sensing', + : 'Eve Thermo 20EBP1701 Local temperature remote sensing', }), 'context': , 'entity_id': 'binary_sensor.eve_thermo_20ebp1701_local_temperature_remote_sensing', @@ -445,7 +445,7 @@ # name: test_binary_sensors[eve_thermo_v5][binary_sensor.eve_thermo_20ecd1701_local_temperature_remote_sensing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20ECD1701 Local temperature remote sensing', + : 'Eve Thermo 20ECD1701 Local temperature remote sensing', }), 'context': , 'entity_id': 'binary_sensor.eve_thermo_20ecd1701_local_temperature_remote_sensing', @@ -495,8 +495,8 @@ # name: test_binary_sensors[heiman_co_sensor][binary_sensor.smart_co_sensor_battery_alert-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smart CO sensor Battery alert', + : 'battery', + : 'Smart CO sensor Battery alert', }), 'context': , 'entity_id': 'binary_sensor.smart_co_sensor_battery_alert', @@ -546,8 +546,8 @@ # name: test_binary_sensors[heiman_co_sensor][binary_sensor.smart_co_sensor_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Smart CO sensor Carbon monoxide', + : 'carbon_monoxide', + : 'Smart CO sensor Carbon monoxide', }), 'context': , 'entity_id': 'binary_sensor.smart_co_sensor_carbon_monoxide', @@ -597,8 +597,8 @@ # name: test_binary_sensors[heiman_co_sensor][binary_sensor.smart_co_sensor_end_of_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Smart CO sensor End of service', + : 'problem', + : 'Smart CO sensor End of service', }), 'context': , 'entity_id': 'binary_sensor.smart_co_sensor_end_of_service', @@ -648,8 +648,8 @@ # name: test_binary_sensors[heiman_co_sensor][binary_sensor.smart_co_sensor_hardware_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Smart CO sensor Hardware fault', + : 'problem', + : 'Smart CO sensor Hardware fault', }), 'context': , 'entity_id': 'binary_sensor.smart_co_sensor_hardware_fault', @@ -699,7 +699,7 @@ # name: test_binary_sensors[heiman_co_sensor][binary_sensor.smart_co_sensor_muted-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart CO sensor Muted', + : 'Smart CO sensor Muted', }), 'context': , 'entity_id': 'binary_sensor.smart_co_sensor_muted', @@ -749,8 +749,8 @@ # name: test_binary_sensors[heiman_co_sensor][binary_sensor.smart_co_sensor_test_in_progress-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Smart CO sensor Test in progress', + : 'running', + : 'Smart CO sensor Test in progress', }), 'context': , 'entity_id': 'binary_sensor.smart_co_sensor_test_in_progress', @@ -800,8 +800,8 @@ # name: test_binary_sensors[heiman_motion_sensor_m1][binary_sensor.smart_motion_sensor_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Smart motion sensor Occupancy', + : 'occupancy', + : 'Smart motion sensor Occupancy', }), 'context': , 'entity_id': 'binary_sensor.smart_motion_sensor_occupancy', @@ -851,8 +851,8 @@ # name: test_binary_sensors[heiman_smoke_detector][binary_sensor.smoke_sensor_battery_alert-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smoke sensor Battery alert', + : 'battery', + : 'Smoke sensor Battery alert', }), 'context': , 'entity_id': 'binary_sensor.smoke_sensor_battery_alert', @@ -902,8 +902,8 @@ # name: test_binary_sensors[heiman_smoke_detector][binary_sensor.smoke_sensor_end_of_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Smoke sensor End of service', + : 'problem', + : 'Smoke sensor End of service', }), 'context': , 'entity_id': 'binary_sensor.smoke_sensor_end_of_service', @@ -953,8 +953,8 @@ # name: test_binary_sensors[heiman_smoke_detector][binary_sensor.smoke_sensor_hardware_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Smoke sensor Hardware fault', + : 'problem', + : 'Smoke sensor Hardware fault', }), 'context': , 'entity_id': 'binary_sensor.smoke_sensor_hardware_fault', @@ -1004,7 +1004,7 @@ # name: test_binary_sensors[heiman_smoke_detector][binary_sensor.smoke_sensor_muted-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke sensor Muted', + : 'Smoke sensor Muted', }), 'context': , 'entity_id': 'binary_sensor.smoke_sensor_muted', @@ -1054,8 +1054,8 @@ # name: test_binary_sensors[heiman_smoke_detector][binary_sensor.smoke_sensor_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Smoke sensor Smoke', + : 'smoke', + : 'Smoke sensor Smoke', }), 'context': , 'entity_id': 'binary_sensor.smoke_sensor_smoke', @@ -1105,8 +1105,8 @@ # name: test_binary_sensors[heiman_smoke_detector][binary_sensor.smoke_sensor_test_in_progress-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Smoke sensor Test in progress', + : 'running', + : 'Smoke sensor Test in progress', }), 'context': , 'entity_id': 'binary_sensor.smoke_sensor_test_in_progress', @@ -1156,8 +1156,8 @@ # name: test_binary_sensors[longan_link_thermostat][binary_sensor.longan_link_hvac_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Longan link HVAC Occupancy', + : 'occupancy', + : 'Longan link HVAC Occupancy', }), 'context': , 'entity_id': 'binary_sensor.longan_link_hvac_occupancy', @@ -1207,7 +1207,7 @@ # name: test_binary_sensors[mock_door_lock][binary_sensor.mock_door_lock_actuator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Actuator', + : 'Mock Door Lock Actuator', }), 'context': , 'entity_id': 'binary_sensor.mock_door_lock_actuator', @@ -1257,8 +1257,8 @@ # name: test_binary_sensors[mock_door_lock][binary_sensor.mock_door_lock_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Door Lock Battery', + : 'battery', + : 'Mock Door Lock Battery', }), 'context': , 'entity_id': 'binary_sensor.mock_door_lock_battery', @@ -1308,7 +1308,7 @@ # name: test_binary_sensors[mock_door_lock_with_unbolt][binary_sensor.mock_door_lock_with_unbolt_actuator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Actuator', + : 'Mock Door Lock with unbolt Actuator', }), 'context': , 'entity_id': 'binary_sensor.mock_door_lock_with_unbolt_actuator', @@ -1358,8 +1358,8 @@ # name: test_binary_sensors[mock_door_lock_with_unbolt][binary_sensor.mock_door_lock_with_unbolt_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Door Lock with unbolt Battery', + : 'battery', + : 'Mock Door Lock with unbolt Battery', }), 'context': , 'entity_id': 'binary_sensor.mock_door_lock_with_unbolt_battery', @@ -1409,8 +1409,8 @@ # name: test_binary_sensors[mock_door_lock_with_unbolt][binary_sensor.mock_door_lock_with_unbolt_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Mock Door Lock with unbolt Door', + : 'door', + : 'Mock Door Lock with unbolt Door', }), 'context': , 'entity_id': 'binary_sensor.mock_door_lock_with_unbolt_door', @@ -1460,8 +1460,8 @@ # name: test_binary_sensors[mock_leak_sensor][binary_sensor.water_leak_detector_water_leak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Water Leak Detector Water leak', + : 'moisture', + : 'Water Leak Detector Water leak', }), 'context': , 'entity_id': 'binary_sensor.water_leak_detector_water_leak', @@ -1511,7 +1511,7 @@ # name: test_binary_sensors[mock_lock][binary_sensor.mock_lock_actuator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Actuator', + : 'Mock Lock Actuator', }), 'context': , 'entity_id': 'binary_sensor.mock_lock_actuator', @@ -1561,8 +1561,8 @@ # name: test_binary_sensors[mock_lock][binary_sensor.mock_lock_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Lock Battery', + : 'battery', + : 'Mock Lock Battery', }), 'context': , 'entity_id': 'binary_sensor.mock_lock_battery', @@ -1612,8 +1612,8 @@ # name: test_binary_sensors[mock_lock][binary_sensor.mock_lock_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Mock Lock Door', + : 'door', + : 'Mock Lock Door', }), 'context': , 'entity_id': 'binary_sensor.mock_lock_door', @@ -1663,8 +1663,8 @@ # name: test_binary_sensors[mock_occupancy_sensor][binary_sensor.mock_occupancy_sensor_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Mock Occupancy Sensor Occupancy', + : 'occupancy', + : 'Mock Occupancy Sensor Occupancy', }), 'context': , 'entity_id': 'binary_sensor.mock_occupancy_sensor_occupancy', @@ -1714,8 +1714,8 @@ # name: test_binary_sensors[mock_occupancy_sensor_pir][binary_sensor.mock_pir_occupancy_sensor_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Mock PIR Occupancy Sensor Occupancy', + : 'occupancy', + : 'Mock PIR Occupancy Sensor Occupancy', }), 'context': , 'entity_id': 'binary_sensor.mock_pir_occupancy_sensor_occupancy', @@ -1765,8 +1765,8 @@ # name: test_binary_sensors[mock_onoff_light_alt_name][binary_sensor.mock_onoff_light_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Mock OnOff Light Occupancy', + : 'occupancy', + : 'Mock OnOff Light Occupancy', }), 'context': , 'entity_id': 'binary_sensor.mock_onoff_light_occupancy', @@ -1816,8 +1816,8 @@ # name: test_binary_sensors[mock_onoff_light_no_name][binary_sensor.mock_light_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Mock Light Occupancy', + : 'occupancy', + : 'Mock Light Occupancy', }), 'context': , 'entity_id': 'binary_sensor.mock_light_occupancy', @@ -1867,8 +1867,8 @@ # name: test_binary_sensors[mock_pump][binary_sensor.mock_pump_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Pump Problem', + : 'problem', + : 'Mock Pump Problem', }), 'context': , 'entity_id': 'binary_sensor.mock_pump_problem', @@ -1918,8 +1918,8 @@ # name: test_binary_sensors[mock_pump][binary_sensor.mock_pump_running-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Mock Pump Running', + : 'running', + : 'Mock Pump Running', }), 'context': , 'entity_id': 'binary_sensor.mock_pump_running', @@ -1969,7 +1969,7 @@ # name: test_binary_sensors[mock_thermostat][binary_sensor.mock_thermostat_local_temperature_remote_sensing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Thermostat Local temperature remote sensing', + : 'Mock Thermostat Local temperature remote sensing', }), 'context': , 'entity_id': 'binary_sensor.mock_thermostat_local_temperature_remote_sensing', @@ -2019,7 +2019,7 @@ # name: test_binary_sensors[mock_thermostat][binary_sensor.mock_thermostat_occupancy_remote_sensing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Thermostat Occupancy remote sensing', + : 'Mock Thermostat Occupancy remote sensing', }), 'context': , 'entity_id': 'binary_sensor.mock_thermostat_occupancy_remote_sensing', @@ -2069,7 +2069,7 @@ # name: test_binary_sensors[mock_thermostat][binary_sensor.mock_thermostat_outdoor_temperature_remote_sensing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Thermostat Outdoor temperature remote sensing', + : 'Mock Thermostat Outdoor temperature remote sensing', }), 'context': , 'entity_id': 'binary_sensor.mock_thermostat_outdoor_temperature_remote_sensing', @@ -2119,8 +2119,8 @@ # name: test_binary_sensors[mock_valve][binary_sensor.mock_valve_general_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Valve General fault', + : 'problem', + : 'Mock Valve General fault', }), 'context': , 'entity_id': 'binary_sensor.mock_valve_general_fault', @@ -2170,8 +2170,8 @@ # name: test_binary_sensors[mock_valve][binary_sensor.mock_valve_valve_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Valve Valve blocked', + : 'problem', + : 'Mock Valve Valve blocked', }), 'context': , 'entity_id': 'binary_sensor.mock_valve_valve_blocked', @@ -2221,8 +2221,8 @@ # name: test_binary_sensors[mock_valve][binary_sensor.mock_valve_valve_leaking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Valve Valve leaking', + : 'problem', + : 'Mock Valve Valve leaking', }), 'context': , 'entity_id': 'binary_sensor.mock_valve_valve_leaking', @@ -2272,8 +2272,8 @@ # name: test_binary_sensors[mock_window_covering_full][binary_sensor.mock_full_window_covering_configuration_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Full Window Covering Configuration status', + : 'problem', + : 'Mock Full Window Covering Configuration status', }), 'context': , 'entity_id': 'binary_sensor.mock_full_window_covering_configuration_status', @@ -2323,8 +2323,8 @@ # name: test_binary_sensors[mock_window_covering_lift][binary_sensor.mock_lift_window_covering_configuration_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Lift Window Covering Configuration status', + : 'problem', + : 'Mock Lift Window Covering Configuration status', }), 'context': , 'entity_id': 'binary_sensor.mock_lift_window_covering_configuration_status', @@ -2374,8 +2374,8 @@ # name: test_binary_sensors[mock_window_covering_pa_lift][binary_sensor.longan_link_wncv_da01_configuration_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Longan link WNCV DA01 Configuration status', + : 'problem', + : 'Longan link WNCV DA01 Configuration status', }), 'context': , 'entity_id': 'binary_sensor.longan_link_wncv_da01_configuration_status', @@ -2425,8 +2425,8 @@ # name: test_binary_sensors[mock_window_covering_pa_tilt][binary_sensor.mock_pa_tilt_window_covering_configuration_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock PA Tilt Window Covering Configuration status', + : 'problem', + : 'Mock PA Tilt Window Covering Configuration status', }), 'context': , 'entity_id': 'binary_sensor.mock_pa_tilt_window_covering_configuration_status', @@ -2476,8 +2476,8 @@ # name: test_binary_sensors[mock_window_covering_tilt][binary_sensor.mock_tilt_window_covering_configuration_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Tilt Window Covering Configuration status', + : 'problem', + : 'Mock Tilt Window Covering Configuration status', }), 'context': , 'entity_id': 'binary_sensor.mock_tilt_window_covering_configuration_status', @@ -2527,7 +2527,7 @@ # name: test_binary_sensors[secuyou_smart_lock][binary_sensor.secuyou_smart_lock_actuator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock Actuator', + : 'Secuyou Smart Lock Actuator', }), 'context': , 'entity_id': 'binary_sensor.secuyou_smart_lock_actuator', @@ -2577,8 +2577,8 @@ # name: test_binary_sensors[silabs_dishwasher][binary_sensor.dishwasher_door_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dishwasher Door alarm', + : 'problem', + : 'Dishwasher Door alarm', }), 'context': , 'entity_id': 'binary_sensor.dishwasher_door_alarm', @@ -2628,8 +2628,8 @@ # name: test_binary_sensors[silabs_dishwasher][binary_sensor.dishwasher_inflow_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dishwasher Inflow alarm', + : 'problem', + : 'Dishwasher Inflow alarm', }), 'context': , 'entity_id': 'binary_sensor.dishwasher_inflow_alarm', @@ -2679,8 +2679,8 @@ # name: test_binary_sensors[silabs_evse_charging][binary_sensor.evse_charger_supply_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'evse Charger supply state', + : 'running', + : 'evse Charger supply state', }), 'context': , 'entity_id': 'binary_sensor.evse_charger_supply_state', @@ -2730,8 +2730,8 @@ # name: test_binary_sensors[silabs_evse_charging][binary_sensor.evse_charging_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'evse Charging status', + : 'battery_charging', + : 'evse Charging status', }), 'context': , 'entity_id': 'binary_sensor.evse_charging_status', @@ -2781,8 +2781,8 @@ # name: test_binary_sensors[silabs_evse_charging][binary_sensor.evse_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'evse Plug', + : 'plug', + : 'evse Plug', }), 'context': , 'entity_id': 'binary_sensor.evse_plug', @@ -2832,8 +2832,8 @@ # name: test_binary_sensors[silabs_refrigerator][binary_sensor.refrigerator_door_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Refrigerator Door alarm', + : 'problem', + : 'Refrigerator Door alarm', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_door_alarm', @@ -2883,7 +2883,7 @@ # name: test_binary_sensors[silabs_water_heater][binary_sensor.water_heater_boost_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Heater Boost state', + : 'Water Heater Boost state', }), 'context': , 'entity_id': 'binary_sensor.water_heater_boost_state', @@ -2933,8 +2933,8 @@ # name: test_binary_sensors[zemismart_mt25b][binary_sensor.zemismart_mt25b_roller_motor_configuration_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zemismart MT25B Roller Motor Configuration status', + : 'problem', + : 'Zemismart MT25B Roller Motor Configuration status', }), 'context': , 'entity_id': 'binary_sensor.zemismart_mt25b_roller_motor_configuration_status', diff --git a/tests/components/matter/snapshots/test_button.ambr b/tests/components/matter/snapshots/test_button.ambr index 561dd52871d..b109b89381a 100644 --- a/tests/components/matter/snapshots/test_button.ambr +++ b/tests/components/matter/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_buttons[aqara_door_window_p2][button.aqara_door_and_window_sensor_p2_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Aqara Door and Window Sensor P2 Identify', + : 'identify', + : 'Aqara Door and Window Sensor P2 Identify', }), 'context': , 'entity_id': 'button.aqara_door_and_window_sensor_p2_identify', @@ -90,8 +90,8 @@ # name: test_buttons[aqara_motion_p2][button.aqara_motion_and_light_sensor_p2_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Identify (1)', + : 'identify', + : 'Aqara Motion and Light Sensor P2 Identify (1)', }), 'context': , 'entity_id': 'button.aqara_motion_and_light_sensor_p2_identify_1', @@ -141,8 +141,8 @@ # name: test_buttons[aqara_motion_p2][button.aqara_motion_and_light_sensor_p2_identify_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Identify (2)', + : 'identify', + : 'Aqara Motion and Light Sensor P2 Identify (2)', }), 'context': , 'entity_id': 'button.aqara_motion_and_light_sensor_p2_identify_2', @@ -192,8 +192,8 @@ # name: test_buttons[aqara_multi_state_p100][button.multi_state_sensor_p100_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Multi-State Sensor P100 Identify', + : 'identify', + : 'Multi-State Sensor P100 Identify', }), 'context': , 'entity_id': 'button.multi_state_sensor_p100_identify', @@ -243,8 +243,8 @@ # name: test_buttons[aqara_presence_fp300][button.presence_multi_sensor_fp300_1_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Identify (1)', + : 'identify', + : 'Presence Multi-Sensor FP300 1 Identify (1)', }), 'context': , 'entity_id': 'button.presence_multi_sensor_fp300_1_identify_1', @@ -294,8 +294,8 @@ # name: test_buttons[aqara_presence_fp300][button.presence_multi_sensor_fp300_1_identify_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Identify (2)', + : 'identify', + : 'Presence Multi-Sensor FP300 1 Identify (2)', }), 'context': , 'entity_id': 'button.presence_multi_sensor_fp300_1_identify_2', @@ -345,8 +345,8 @@ # name: test_buttons[aqara_presence_fp300][button.presence_multi_sensor_fp300_1_identify_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Identify (3)', + : 'identify', + : 'Presence Multi-Sensor FP300 1 Identify (3)', }), 'context': , 'entity_id': 'button.presence_multi_sensor_fp300_1_identify_3', @@ -396,8 +396,8 @@ # name: test_buttons[aqara_presence_fp300][button.presence_multi_sensor_fp300_1_identify_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Identify (4)', + : 'identify', + : 'Presence Multi-Sensor FP300 1 Identify (4)', }), 'context': , 'entity_id': 'button.presence_multi_sensor_fp300_1_identify_4', @@ -447,8 +447,8 @@ # name: test_buttons[aqara_sensor_w100][button.climate_sensor_w100_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Climate Sensor W100 Identify (1)', + : 'identify', + : 'Climate Sensor W100 Identify (1)', }), 'context': , 'entity_id': 'button.climate_sensor_w100_identify_1', @@ -498,8 +498,8 @@ # name: test_buttons[aqara_sensor_w100][button.climate_sensor_w100_identify_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Climate Sensor W100 Identify (2)', + : 'identify', + : 'Climate Sensor W100 Identify (2)', }), 'context': , 'entity_id': 'button.climate_sensor_w100_identify_2', @@ -549,8 +549,8 @@ # name: test_buttons[aqara_sensor_w100][button.climate_sensor_w100_identify_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Climate Sensor W100 Identify (3)', + : 'identify', + : 'Climate Sensor W100 Identify (3)', }), 'context': , 'entity_id': 'button.climate_sensor_w100_identify_3', @@ -600,8 +600,8 @@ # name: test_buttons[aqara_sensor_w100][button.climate_sensor_w100_identify_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Climate Sensor W100 Identify (4)', + : 'identify', + : 'Climate Sensor W100 Identify (4)', }), 'context': , 'entity_id': 'button.climate_sensor_w100_identify_4', @@ -651,8 +651,8 @@ # name: test_buttons[aqara_sensor_w100][button.climate_sensor_w100_identify_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Climate Sensor W100 Identify (5)', + : 'identify', + : 'Climate Sensor W100 Identify (5)', }), 'context': , 'entity_id': 'button.climate_sensor_w100_identify_5', @@ -702,8 +702,8 @@ # name: test_buttons[aqara_thermostat_w500][button.floor_heating_thermostat_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Floor Heating Thermostat Identify (1)', + : 'identify', + : 'Floor Heating Thermostat Identify (1)', }), 'context': , 'entity_id': 'button.floor_heating_thermostat_identify_1', @@ -753,8 +753,8 @@ # name: test_buttons[aqara_thermostat_w500][button.floor_heating_thermostat_identify_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Floor Heating Thermostat Identify (2)', + : 'identify', + : 'Floor Heating Thermostat Identify (2)', }), 'context': , 'entity_id': 'button.floor_heating_thermostat_identify_2', @@ -804,8 +804,8 @@ # name: test_buttons[aqara_u200][button.aqara_smart_lock_u200_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Aqara Smart Lock U200 Identify', + : 'identify', + : 'Aqara Smart Lock U200 Identify', }), 'context': , 'entity_id': 'button.aqara_smart_lock_u200_identify', @@ -855,8 +855,8 @@ # name: test_buttons[color_temperature_light][button.mock_color_temperature_light_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Color Temperature Light Identify', + : 'identify', + : 'Mock Color Temperature Light Identify', }), 'context': , 'entity_id': 'button.mock_color_temperature_light_identify', @@ -906,8 +906,8 @@ # name: test_buttons[eberle_ute3000][button.connected_thermostat_ute_3000_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Connected Thermostat UTE 3000 Identify', + : 'identify', + : 'Connected Thermostat UTE 3000 Identify', }), 'context': , 'entity_id': 'button.connected_thermostat_ute_3000_identify', @@ -957,8 +957,8 @@ # name: test_buttons[ecovacs_deebot][button.ecodeebot_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'ecodeebot Identify', + : 'identify', + : 'ecodeebot Identify', }), 'context': , 'entity_id': 'button.ecodeebot_identify', @@ -1008,8 +1008,8 @@ # name: test_buttons[eufy_vacuum_omni_e28][button.2bavs_ab6031x_44pe_identify_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': '2BAVS-AB6031X-44PE Identify (0)', + : 'identify', + : '2BAVS-AB6031X-44PE Identify (0)', }), 'context': , 'entity_id': 'button.2bavs_ab6031x_44pe_identify_0', @@ -1059,8 +1059,8 @@ # name: test_buttons[eufy_vacuum_omni_e28][button.2bavs_ab6031x_44pe_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': '2BAVS-AB6031X-44PE Identify (1)', + : 'identify', + : '2BAVS-AB6031X-44PE Identify (1)', }), 'context': , 'entity_id': 'button.2bavs_ab6031x_44pe_identify_1', @@ -1110,8 +1110,8 @@ # name: test_buttons[eve_contact_sensor][button.eve_door_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Door Identify', + : 'identify', + : 'Eve Door Identify', }), 'context': , 'entity_id': 'button.eve_door_identify', @@ -1161,8 +1161,8 @@ # name: test_buttons[eve_energy_20ecn4101][button.eve_energy_20ecn4101_identify_bottom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Energy 20ECN4101 Identify (bottom)', + : 'identify', + : 'Eve Energy 20ECN4101 Identify (bottom)', }), 'context': , 'entity_id': 'button.eve_energy_20ecn4101_identify_bottom', @@ -1212,8 +1212,8 @@ # name: test_buttons[eve_energy_20ecn4101][button.eve_energy_20ecn4101_identify_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Energy 20ECN4101 Identify (top)', + : 'identify', + : 'Eve Energy 20ECN4101 Identify (top)', }), 'context': , 'entity_id': 'button.eve_energy_20ecn4101_identify_top', @@ -1263,8 +1263,8 @@ # name: test_buttons[eve_energy_plug][button.eve_energy_plug_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Energy Plug Identify', + : 'identify', + : 'Eve Energy Plug Identify', }), 'context': , 'entity_id': 'button.eve_energy_plug_identify', @@ -1314,8 +1314,8 @@ # name: test_buttons[eve_energy_plug_patched][button.eve_energy_plug_patched_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Energy Plug Patched Identify', + : 'identify', + : 'Eve Energy Plug Patched Identify', }), 'context': , 'entity_id': 'button.eve_energy_plug_patched_identify', @@ -1365,8 +1365,8 @@ # name: test_buttons[eve_shutter][button.eve_shutter_switch_20eci1701_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Identify', + : 'identify', + : 'Eve Shutter Switch 20ECI1701 Identify', }), 'context': , 'entity_id': 'button.eve_shutter_switch_20eci1701_identify', @@ -1416,8 +1416,8 @@ # name: test_buttons[eve_thermo_v4][button.eve_thermo_20ebp1701_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Thermo 20EBP1701 Identify', + : 'identify', + : 'Eve Thermo 20EBP1701 Identify', }), 'context': , 'entity_id': 'button.eve_thermo_20ebp1701_identify', @@ -1467,8 +1467,8 @@ # name: test_buttons[eve_thermo_v5][button.eve_thermo_20ecd1701_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Thermo 20ECD1701 Identify', + : 'identify', + : 'Eve Thermo 20ECD1701 Identify', }), 'context': , 'entity_id': 'button.eve_thermo_20ecd1701_identify', @@ -1518,8 +1518,8 @@ # name: test_buttons[eve_weather_sensor][button.eve_weather_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Weather Identify (1)', + : 'identify', + : 'Eve Weather Identify (1)', }), 'context': , 'entity_id': 'button.eve_weather_identify_1', @@ -1569,8 +1569,8 @@ # name: test_buttons[eve_weather_sensor][button.eve_weather_identify_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Eve Weather Identify (2)', + : 'identify', + : 'Eve Weather Identify (2)', }), 'context': , 'entity_id': 'button.eve_weather_identify_2', @@ -1620,8 +1620,8 @@ # name: test_buttons[extended_color_light][button.mock_extended_color_light_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Extended Color Light Identify', + : 'identify', + : 'Mock Extended Color Light Identify', }), 'context': , 'entity_id': 'button.mock_extended_color_light_identify', @@ -1671,8 +1671,8 @@ # name: test_buttons[haojai_switch][button.hjmt_6b_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'HJMT-6B Identify (1)', + : 'identify', + : 'HJMT-6B Identify (1)', }), 'context': , 'entity_id': 'button.hjmt_6b_identify_1', @@ -1722,8 +1722,8 @@ # name: test_buttons[heiman_co_sensor][button.smart_co_sensor_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Smart CO sensor Identify', + : 'identify', + : 'Smart CO sensor Identify', }), 'context': , 'entity_id': 'button.smart_co_sensor_identify', @@ -1773,7 +1773,7 @@ # name: test_buttons[heiman_co_sensor][button.smart_co_sensor_self_test-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart CO sensor Self-test', + : 'Smart CO sensor Self-test', }), 'context': , 'entity_id': 'button.smart_co_sensor_self_test', @@ -1823,8 +1823,8 @@ # name: test_buttons[heiman_motion_sensor_m1][button.smart_motion_sensor_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Smart motion sensor Identify (1)', + : 'identify', + : 'Smart motion sensor Identify (1)', }), 'context': , 'entity_id': 'button.smart_motion_sensor_identify_1', @@ -1874,8 +1874,8 @@ # name: test_buttons[heiman_smoke_detector][button.smoke_sensor_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Smoke sensor Identify', + : 'identify', + : 'Smoke sensor Identify', }), 'context': , 'entity_id': 'button.smoke_sensor_identify', @@ -1925,7 +1925,7 @@ # name: test_buttons[heiman_smoke_detector][button.smoke_sensor_self_test-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke sensor Self-test', + : 'Smoke sensor Self-test', }), 'context': , 'entity_id': 'button.smoke_sensor_self_test', @@ -1975,7 +1975,7 @@ # name: test_buttons[heiman_smoke_detector][button.smoke_sensor_temporary_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke sensor Temporary mute', + : 'Smoke sensor Temporary mute', }), 'context': , 'entity_id': 'button.smoke_sensor_temporary_mute', @@ -2025,8 +2025,8 @@ # name: test_buttons[ikea_air_quality_monitor][button.alpstuga_air_quality_monitor_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'ALPSTUGA air quality monitor Identify', + : 'identify', + : 'ALPSTUGA air quality monitor Identify', }), 'context': , 'entity_id': 'button.alpstuga_air_quality_monitor_identify', @@ -2076,8 +2076,8 @@ # name: test_buttons[inovelli_vtm30][button.white_series_onoff_switch_identify_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'White Series OnOff Switch Identify (Load Control)', + : 'identify', + : 'White Series OnOff Switch Identify (Load Control)', }), 'context': , 'entity_id': 'button.white_series_onoff_switch_identify_load_control', @@ -2127,8 +2127,8 @@ # name: test_buttons[inovelli_vtm31][button.inovelli_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Inovelli Identify (1)', + : 'identify', + : 'Inovelli Identify (1)', }), 'context': , 'entity_id': 'button.inovelli_identify_1', @@ -2178,8 +2178,8 @@ # name: test_buttons[inovelli_vtm31][button.inovelli_identify_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Inovelli Identify (2)', + : 'identify', + : 'Inovelli Identify (2)', }), 'context': , 'entity_id': 'button.inovelli_identify_2', @@ -2229,8 +2229,8 @@ # name: test_buttons[inovelli_vtm31][button.inovelli_identify_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Inovelli Identify (6)', + : 'identify', + : 'Inovelli Identify (6)', }), 'context': , 'entity_id': 'button.inovelli_identify_6', @@ -2280,8 +2280,8 @@ # name: test_buttons[inovelli_vtm31][button.inovelli_identify_config-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Inovelli Identify (Config)', + : 'identify', + : 'Inovelli Identify (Config)', }), 'context': , 'entity_id': 'button.inovelli_identify_config', @@ -2331,8 +2331,8 @@ # name: test_buttons[inovelli_vtm31][button.inovelli_identify_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Inovelli Identify (Down)', + : 'identify', + : 'Inovelli Identify (Down)', }), 'context': , 'entity_id': 'button.inovelli_identify_down', @@ -2382,8 +2382,8 @@ # name: test_buttons[inovelli_vtm31][button.inovelli_identify_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Inovelli Identify (Up)', + : 'identify', + : 'Inovelli Identify (Up)', }), 'context': , 'entity_id': 'button.inovelli_identify_up', @@ -2433,8 +2433,8 @@ # name: test_buttons[longan_link_thermostat][button.longan_link_hvac_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Longan link HVAC Identify', + : 'identify', + : 'Longan link HVAC Identify', }), 'context': , 'entity_id': 'button.longan_link_hvac_identify', @@ -2484,7 +2484,7 @@ # name: test_buttons[mock_air_purifier][button.mock_air_purifier_reset_filter_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Air Purifier Reset filter condition', + : 'Mock Air Purifier Reset filter condition', }), 'context': , 'entity_id': 'button.mock_air_purifier_reset_filter_condition', @@ -2534,7 +2534,7 @@ # name: test_buttons[mock_air_purifier][button.mock_air_purifier_reset_filter_condition_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Air Purifier Reset filter condition', + : 'Mock Air Purifier Reset filter condition', }), 'context': , 'entity_id': 'button.mock_air_purifier_reset_filter_condition_2', @@ -2584,8 +2584,8 @@ # name: test_buttons[mock_dimmable_plugin_unit][button.dimmable_plugin_unit_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Dimmable Plugin Unit Identify', + : 'identify', + : 'Dimmable Plugin Unit Identify', }), 'context': , 'entity_id': 'button.dimmable_plugin_unit_identify', @@ -2635,7 +2635,7 @@ # name: test_buttons[mock_extractor_hood][button.mock_extractor_hood_reset_filter_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extractor hood Reset filter condition', + : 'Mock Extractor hood Reset filter condition', }), 'context': , 'entity_id': 'button.mock_extractor_hood_reset_filter_condition', @@ -2685,7 +2685,7 @@ # name: test_buttons[mock_extractor_hood][button.mock_extractor_hood_reset_filter_condition_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extractor hood Reset filter condition', + : 'Mock Extractor hood Reset filter condition', }), 'context': , 'entity_id': 'button.mock_extractor_hood_reset_filter_condition_2', @@ -2735,8 +2735,8 @@ # name: test_buttons[mock_fan][button.mocked_fan_switch_identify_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mocked Fan Switch Identify (Fan)', + : 'identify', + : 'Mocked Fan Switch Identify (Fan)', }), 'context': , 'entity_id': 'button.mocked_fan_switch_identify_fan', @@ -2786,7 +2786,7 @@ # name: test_buttons[mock_laundry_dryer][button.mock_laundrydryer_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Laundrydryer Pause', + : 'Mock Laundrydryer Pause', }), 'context': , 'entity_id': 'button.mock_laundrydryer_pause', @@ -2836,7 +2836,7 @@ # name: test_buttons[mock_laundry_dryer][button.mock_laundrydryer_resume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Laundrydryer Resume', + : 'Mock Laundrydryer Resume', }), 'context': , 'entity_id': 'button.mock_laundrydryer_resume', @@ -2886,7 +2886,7 @@ # name: test_buttons[mock_laundry_dryer][button.mock_laundrydryer_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Laundrydryer Start', + : 'Mock Laundrydryer Start', }), 'context': , 'entity_id': 'button.mock_laundrydryer_start', @@ -2936,7 +2936,7 @@ # name: test_buttons[mock_laundry_dryer][button.mock_laundrydryer_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Laundrydryer Stop', + : 'Mock Laundrydryer Stop', }), 'context': , 'entity_id': 'button.mock_laundrydryer_stop', @@ -2986,8 +2986,8 @@ # name: test_buttons[mock_lock][button.mock_lock_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Lock Identify', + : 'identify', + : 'Mock Lock Identify', }), 'context': , 'entity_id': 'button.mock_lock_identify', @@ -3037,7 +3037,7 @@ # name: test_buttons[mock_microwave_oven][button.mock_microwave_oven_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Microwave Oven Pause', + : 'Mock Microwave Oven Pause', }), 'context': , 'entity_id': 'button.mock_microwave_oven_pause', @@ -3087,7 +3087,7 @@ # name: test_buttons[mock_microwave_oven][button.mock_microwave_oven_resume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Microwave Oven Resume', + : 'Mock Microwave Oven Resume', }), 'context': , 'entity_id': 'button.mock_microwave_oven_resume', @@ -3137,7 +3137,7 @@ # name: test_buttons[mock_microwave_oven][button.mock_microwave_oven_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Microwave Oven Start', + : 'Mock Microwave Oven Start', }), 'context': , 'entity_id': 'button.mock_microwave_oven_start', @@ -3187,7 +3187,7 @@ # name: test_buttons[mock_microwave_oven][button.mock_microwave_oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Microwave Oven Stop', + : 'Mock Microwave Oven Stop', }), 'context': , 'entity_id': 'button.mock_microwave_oven_stop', @@ -3237,8 +3237,8 @@ # name: test_buttons[mock_occupancy_sensor][button.mock_occupancy_sensor_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Occupancy Sensor Identify', + : 'identify', + : 'Mock Occupancy Sensor Identify', }), 'context': , 'entity_id': 'button.mock_occupancy_sensor_identify', @@ -3288,8 +3288,8 @@ # name: test_buttons[mock_occupancy_sensor_pir][button.mock_pir_occupancy_sensor_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock PIR Occupancy Sensor Identify', + : 'identify', + : 'Mock PIR Occupancy Sensor Identify', }), 'context': , 'entity_id': 'button.mock_pir_occupancy_sensor_identify', @@ -3339,8 +3339,8 @@ # name: test_buttons[mock_on_off_plugin_unit][button.mock_onoffpluginunit_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock OnOffPluginUnit Identify', + : 'identify', + : 'Mock OnOffPluginUnit Identify', }), 'context': , 'entity_id': 'button.mock_onoffpluginunit_identify', @@ -3390,8 +3390,8 @@ # name: test_buttons[mock_switch_unit][button.mock_switchunit_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock SwitchUnit Identify', + : 'identify', + : 'Mock SwitchUnit Identify', }), 'context': , 'entity_id': 'button.mock_switchunit_identify', @@ -3441,8 +3441,8 @@ # name: test_buttons[mock_temperature_sensor][button.mock_temperature_sensor_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Temperature Sensor Identify', + : 'identify', + : 'Mock Temperature Sensor Identify', }), 'context': , 'entity_id': 'button.mock_temperature_sensor_identify', @@ -3492,8 +3492,8 @@ # name: test_buttons[mock_thermostat][button.mock_thermostat_identify_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Thermostat Identify (0)', + : 'identify', + : 'Mock Thermostat Identify (0)', }), 'context': , 'entity_id': 'button.mock_thermostat_identify_0', @@ -3543,8 +3543,8 @@ # name: test_buttons[mock_thermostat][button.mock_thermostat_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Mock Thermostat Identify (1)', + : 'identify', + : 'Mock Thermostat Identify (1)', }), 'context': , 'entity_id': 'button.mock_thermostat_identify_1', @@ -3594,8 +3594,8 @@ # name: test_buttons[mock_window_covering_pa_lift][button.longan_link_wncv_da01_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Longan link WNCV DA01 Identify', + : 'identify', + : 'Longan link WNCV DA01 Identify', }), 'context': , 'entity_id': 'button.longan_link_wncv_da01_identify', @@ -3645,8 +3645,8 @@ # name: test_buttons[onoff_light_with_levelcontrol_present][button.d215s_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'D215S Identify', + : 'identify', + : 'D215S Identify', }), 'context': , 'entity_id': 'button.d215s_identify', @@ -3696,8 +3696,8 @@ # name: test_buttons[resideo_x2s_thermostat][button.x2s_smart_thermostat_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'X2S Smart Thermostat Identify', + : 'identify', + : 'X2S Smart Thermostat Identify', }), 'context': , 'entity_id': 'button.x2s_smart_thermostat_identify', @@ -3747,8 +3747,8 @@ # name: test_buttons[roborock_saros_10][button.robotic_vacuum_cleaner_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Robotic Vacuum Cleaner Identify', + : 'identify', + : 'Robotic Vacuum Cleaner Identify', }), 'context': , 'entity_id': 'button.robotic_vacuum_cleaner_identify', @@ -3798,8 +3798,8 @@ # name: test_buttons[secuyou_smart_lock][button.secuyou_smart_lock_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Secuyou Smart Lock Identify', + : 'identify', + : 'Secuyou Smart Lock Identify', }), 'context': , 'entity_id': 'button.secuyou_smart_lock_identify', @@ -3849,8 +3849,8 @@ # name: test_buttons[silabs_dishwasher][button.dishwasher_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Dishwasher Identify', + : 'identify', + : 'Dishwasher Identify', }), 'context': , 'entity_id': 'button.dishwasher_identify', @@ -3900,7 +3900,7 @@ # name: test_buttons[silabs_dishwasher][button.dishwasher_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Pause', + : 'Dishwasher Pause', }), 'context': , 'entity_id': 'button.dishwasher_pause', @@ -3950,7 +3950,7 @@ # name: test_buttons[silabs_dishwasher][button.dishwasher_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Start', + : 'Dishwasher Start', }), 'context': , 'entity_id': 'button.dishwasher_start', @@ -4000,7 +4000,7 @@ # name: test_buttons[silabs_dishwasher][button.dishwasher_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Stop', + : 'Dishwasher Stop', }), 'context': , 'entity_id': 'button.dishwasher_stop', @@ -4050,8 +4050,8 @@ # name: test_buttons[silabs_fan][button.sl_fan_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'SL_Fan Identify', + : 'identify', + : 'SL_Fan Identify', }), 'context': , 'entity_id': 'button.sl_fan_identify', @@ -4101,8 +4101,8 @@ # name: test_buttons[silabs_laundrywasher][button.laundrywasher_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'LaundryWasher Identify', + : 'identify', + : 'LaundryWasher Identify', }), 'context': , 'entity_id': 'button.laundrywasher_identify', @@ -4152,7 +4152,7 @@ # name: test_buttons[silabs_laundrywasher][button.laundrywasher_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Pause', + : 'LaundryWasher Pause', }), 'context': , 'entity_id': 'button.laundrywasher_pause', @@ -4202,7 +4202,7 @@ # name: test_buttons[silabs_laundrywasher][button.laundrywasher_resume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Resume', + : 'LaundryWasher Resume', }), 'context': , 'entity_id': 'button.laundrywasher_resume', @@ -4252,7 +4252,7 @@ # name: test_buttons[silabs_laundrywasher][button.laundrywasher_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Start', + : 'LaundryWasher Start', }), 'context': , 'entity_id': 'button.laundrywasher_start', @@ -4302,7 +4302,7 @@ # name: test_buttons[silabs_laundrywasher][button.laundrywasher_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Stop', + : 'LaundryWasher Stop', }), 'context': , 'entity_id': 'button.laundrywasher_stop', @@ -4352,8 +4352,8 @@ # name: test_buttons[silabs_light_switch][button.light_switch_example_identify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Light switch example Identify (1)', + : 'identify', + : 'Light switch example Identify (1)', }), 'context': , 'entity_id': 'button.light_switch_example_identify_1', @@ -4403,8 +4403,8 @@ # name: test_buttons[silabs_range_hood][button.sl_rangehood_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'SL-RangeHood Identify', + : 'identify', + : 'SL-RangeHood Identify', }), 'context': , 'entity_id': 'button.sl_rangehood_identify', @@ -4454,8 +4454,8 @@ # name: test_buttons[silabs_refrigerator][button.refrigerator_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Refrigerator Identify', + : 'identify', + : 'Refrigerator Identify', }), 'context': , 'entity_id': 'button.refrigerator_identify', @@ -4505,7 +4505,7 @@ # name: test_buttons[silabs_water_heater][button.water_heater_cancel_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Heater Cancel boost', + : 'Water Heater Cancel boost', }), 'context': , 'entity_id': 'button.water_heater_cancel_boost', @@ -4555,8 +4555,8 @@ # name: test_buttons[tado_smart_radiator_thermostat_x][button.smart_radiator_thermostat_x_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Smart Radiator Thermostat X Identify', + : 'identify', + : 'Smart Radiator Thermostat X Identify', }), 'context': , 'entity_id': 'button.smart_radiator_thermostat_x_identify', @@ -4606,8 +4606,8 @@ # name: test_buttons[yandex_smart_socket][button.yndx_00540_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'YNDX-00540 Identify', + : 'identify', + : 'YNDX-00540 Identify', }), 'context': , 'entity_id': 'button.yndx_00540_identify', diff --git a/tests/components/matter/snapshots/test_climate.ambr b/tests/components/matter/snapshots/test_climate.ambr index d6c5c5c8644..758e8c9a945 100644 --- a/tests/components/matter/snapshots/test_climate.ambr +++ b/tests/components/matter/snapshots/test_climate.ambr @@ -47,14 +47,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.2, - 'friendly_name': 'Floor Heating Thermostat', + : 'Floor Heating Thermostat', : list([ , , ]), : 35.0, : 5.0, - 'supported_features': , + : , : 20.5, }), 'context': , @@ -113,14 +113,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.5, - 'friendly_name': 'Connected Thermostat UTE 3000', + : 'Connected Thermostat UTE 3000', : list([ , , ]), : 30.0, : 5.0, - 'supported_features': , + : , : 22.5, }), 'context': , @@ -179,14 +179,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'Eve Thermo 20EBP1701', + : 'Eve Thermo 20EBP1701', : list([ , , ]), : 30.0, : 10.0, - 'supported_features': , + : , : 17.0, }), 'context': , @@ -255,7 +255,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 16.2, - 'friendly_name': 'Eve Thermo 20ECD1701', + : 'Eve Thermo 20ECD1701', : list([ , , @@ -273,7 +273,7 @@ 'Eco', 'none', ]), - 'supported_features': , + : , : 17.5, }), 'context': , @@ -334,7 +334,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 28.3, - 'friendly_name': 'Longan link HVAC', + : 'Longan link HVAC', : list([ , , @@ -343,7 +343,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : None, : None, : None, @@ -404,14 +404,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Mock Air Purifier', + : 'Mock Air Purifier', : list([ , , ]), : 30.0, : 5.0, - 'supported_features': , + : , : 20.0, }), 'context': , @@ -474,7 +474,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Room AirConditioner', + : 'Room AirConditioner', : list([ , , @@ -485,7 +485,7 @@ ]), : 32.0, : 16.0, - 'supported_features': , + : , : 20.0, }), 'context': , @@ -551,7 +551,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.0, - 'friendly_name': 'Mock Thermostat', + : 'Mock Thermostat', : , : list([ , @@ -567,7 +567,7 @@ 'away', 'none', ]), - 'supported_features': , + : , : 26.0, : 20.0, : None, @@ -630,7 +630,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.6, - 'friendly_name': 'X2S Smart Thermostat', + : 'X2S Smart Thermostat', : list([ , , @@ -639,7 +639,7 @@ ]), : 32.2, : 4.4, - 'supported_features': , + : , : 21.7, }), 'context': , @@ -699,14 +699,14 @@ 'attributes': ReadOnlyDict({ : 74.92, : 20.9, - 'friendly_name': 'Smart Radiator Thermostat X', + : 'Smart Radiator Thermostat X', : list([ , , ]), : 30.0, : 5.0, - 'supported_features': , + : , : 18.0, }), 'context': , diff --git a/tests/components/matter/snapshots/test_cover.ambr b/tests/components/matter/snapshots/test_cover.ambr index 82bfbb5cf14..1f322b6d5d9 100644 --- a/tests/components/matter/snapshots/test_cover.ambr +++ b/tests/components/matter/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shade', - 'friendly_name': 'Eve Shutter Switch 20ECI1701', + : 'shade', + : 'Eve Shutter Switch 20ECI1701', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.eve_shutter_switch_20eci1701', @@ -95,10 +95,10 @@ 'attributes': ReadOnlyDict({ : 100, : 100, - 'device_class': 'awning', - 'friendly_name': 'Mock Full Window Covering', + : 'awning', + : 'Mock Full Window Covering', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.mock_full_window_covering', @@ -148,10 +148,10 @@ # name: test_covers[mock_window_covering_lift][cover.mock_lift_window_covering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'awning', - 'friendly_name': 'Mock Lift Window Covering', + : 'awning', + : 'Mock Lift Window Covering', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.mock_lift_window_covering', @@ -202,10 +202,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 51, - 'device_class': 'shade', - 'friendly_name': 'Longan link WNCV DA01', + : 'shade', + : 'Longan link WNCV DA01', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.longan_link_wncv_da01', @@ -256,10 +256,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Mock PA Tilt Window Covering', + : 'blind', + : 'Mock PA Tilt Window Covering', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.mock_pa_tilt_window_covering', @@ -309,10 +309,10 @@ # name: test_covers[mock_window_covering_tilt][cover.mock_tilt_window_covering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'blind', - 'friendly_name': 'Mock Tilt Window Covering', + : 'blind', + : 'Mock Tilt Window Covering', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.mock_tilt_window_covering', @@ -363,10 +363,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shade', - 'friendly_name': 'Zemismart MT25B Roller Motor', + : 'shade', + : 'Zemismart MT25B Roller Motor', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.zemismart_mt25b_roller_motor', diff --git a/tests/components/matter/snapshots/test_event.ambr b/tests/components/matter/snapshots/test_event.ambr index 833115e7547..0ec4e27fff8 100644 --- a/tests/components/matter/snapshots/test_event.ambr +++ b/tests/components/matter/snapshots/test_event.ambr @@ -46,7 +46,7 @@ # name: test_events[aqara_sensor_w100][event.climate_sensor_w100_button_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -54,7 +54,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Climate Sensor W100 Button (3)', + : 'Climate Sensor W100 Button (3)', }), 'context': , 'entity_id': 'event.climate_sensor_w100_button_3', @@ -111,7 +111,7 @@ # name: test_events[aqara_sensor_w100][event.climate_sensor_w100_button_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -119,7 +119,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Climate Sensor W100 Button (4)', + : 'Climate Sensor W100 Button (4)', }), 'context': , 'entity_id': 'event.climate_sensor_w100_button_4', @@ -176,7 +176,7 @@ # name: test_events[aqara_sensor_w100][event.climate_sensor_w100_button_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -184,7 +184,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Climate Sensor W100 Button (5)', + : 'Climate Sensor W100 Button (5)', }), 'context': , 'entity_id': 'event.climate_sensor_w100_button_5', @@ -241,7 +241,7 @@ # name: test_events[haojai_switch][event.hjmt_6b_button_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -249,7 +249,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'HJMT-6B Button (1)', + : 'HJMT-6B Button (1)', }), 'context': , 'entity_id': 'event.hjmt_6b_button_1', @@ -306,7 +306,7 @@ # name: test_events[haojai_switch][event.hjmt_6b_button_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -314,7 +314,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'HJMT-6B Button (2)', + : 'HJMT-6B Button (2)', }), 'context': , 'entity_id': 'event.hjmt_6b_button_2', @@ -371,7 +371,7 @@ # name: test_events[haojai_switch][event.hjmt_6b_button_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -379,7 +379,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'HJMT-6B Button (3)', + : 'HJMT-6B Button (3)', }), 'context': , 'entity_id': 'event.hjmt_6b_button_3', @@ -436,7 +436,7 @@ # name: test_events[haojai_switch][event.hjmt_6b_button_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -444,7 +444,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'HJMT-6B Button (4)', + : 'HJMT-6B Button (4)', }), 'context': , 'entity_id': 'event.hjmt_6b_button_4', @@ -501,7 +501,7 @@ # name: test_events[haojai_switch][event.hjmt_6b_button_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -509,7 +509,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'HJMT-6B Button (5)', + : 'HJMT-6B Button (5)', }), 'context': , 'entity_id': 'event.hjmt_6b_button_5', @@ -566,7 +566,7 @@ # name: test_events[haojai_switch][event.hjmt_6b_button_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -574,7 +574,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'HJMT-6B Button (6)', + : 'HJMT-6B Button (6)', }), 'context': , 'entity_id': 'event.hjmt_6b_button_6', @@ -631,7 +631,7 @@ # name: test_events[ikea_bilresa_dual_button][event.bilresa_dual_button_button_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -639,7 +639,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'BILRESA dual button Button (1)', + : 'BILRESA dual button Button (1)', }), 'context': , 'entity_id': 'event.bilresa_dual_button_button_1', @@ -696,7 +696,7 @@ # name: test_events[ikea_bilresa_dual_button][event.bilresa_dual_button_button_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -704,7 +704,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'BILRESA dual button Button (2)', + : 'BILRESA dual button Button (2)', }), 'context': , 'entity_id': 'event.bilresa_dual_button_button_2', @@ -765,7 +765,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -777,7 +777,7 @@ 'multi_press_7', 'multi_press_8', ]), - 'friendly_name': 'BILRESA scroll wheel Button (1)', + : 'BILRESA scroll wheel Button (1)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_1', @@ -838,7 +838,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -850,7 +850,7 @@ 'multi_press_7', 'multi_press_8', ]), - 'friendly_name': 'BILRESA scroll wheel Button (2)', + : 'BILRESA scroll wheel Button (2)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_2', @@ -908,7 +908,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -917,7 +917,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'BILRESA scroll wheel Button (3)', + : 'BILRESA scroll wheel Button (3)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_3', @@ -978,7 +978,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -990,7 +990,7 @@ 'multi_press_7', 'multi_press_8', ]), - 'friendly_name': 'BILRESA scroll wheel Button (4)', + : 'BILRESA scroll wheel Button (4)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_4', @@ -1051,7 +1051,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1063,7 +1063,7 @@ 'multi_press_7', 'multi_press_8', ]), - 'friendly_name': 'BILRESA scroll wheel Button (5)', + : 'BILRESA scroll wheel Button (5)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_5', @@ -1121,7 +1121,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1130,7 +1130,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'BILRESA scroll wheel Button (6)', + : 'BILRESA scroll wheel Button (6)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_6', @@ -1191,7 +1191,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1203,7 +1203,7 @@ 'multi_press_7', 'multi_press_8', ]), - 'friendly_name': 'BILRESA scroll wheel Button (7)', + : 'BILRESA scroll wheel Button (7)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_7', @@ -1264,7 +1264,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1276,7 +1276,7 @@ 'multi_press_7', 'multi_press_8', ]), - 'friendly_name': 'BILRESA scroll wheel Button (8)', + : 'BILRESA scroll wheel Button (8)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_8', @@ -1334,7 +1334,7 @@ # name: test_events[ikea_scroll_wheel][event.bilresa_scroll_wheel_button_9-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1343,7 +1343,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'BILRESA scroll wheel Button (9)', + : 'BILRESA scroll wheel Button (9)', }), 'context': , 'entity_id': 'event.bilresa_scroll_wheel_button_9', @@ -1403,7 +1403,7 @@ # name: test_events[inovelli_vtm30][event.white_series_onoff_switch_button_config-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1414,7 +1414,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'White Series OnOff Switch Button (Config)', + : 'White Series OnOff Switch Button (Config)', }), 'context': , 'entity_id': 'event.white_series_onoff_switch_button_config', @@ -1474,7 +1474,7 @@ # name: test_events[inovelli_vtm30][event.white_series_onoff_switch_button_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1485,7 +1485,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'White Series OnOff Switch Button (Down)', + : 'White Series OnOff Switch Button (Down)', }), 'context': , 'entity_id': 'event.white_series_onoff_switch_button_down', @@ -1545,7 +1545,7 @@ # name: test_events[inovelli_vtm30][event.white_series_onoff_switch_button_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1556,7 +1556,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'White Series OnOff Switch Button (Up)', + : 'White Series OnOff Switch Button (Up)', }), 'context': , 'entity_id': 'event.white_series_onoff_switch_button_up', @@ -1616,7 +1616,7 @@ # name: test_events[inovelli_vtm31][event.inovelli_button_config-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1627,7 +1627,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Inovelli Button (Config)', + : 'Inovelli Button (Config)', }), 'context': , 'entity_id': 'event.inovelli_button_config', @@ -1687,7 +1687,7 @@ # name: test_events[inovelli_vtm31][event.inovelli_button_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1698,7 +1698,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Inovelli Button (Down)', + : 'Inovelli Button (Down)', }), 'context': , 'entity_id': 'event.inovelli_button_down', @@ -1758,7 +1758,7 @@ # name: test_events[inovelli_vtm31][event.inovelli_button_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1769,7 +1769,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Inovelli Button (Up)', + : 'Inovelli Button (Up)', }), 'context': , 'entity_id': 'event.inovelli_button_up', @@ -1826,7 +1826,7 @@ # name: test_events[mock_generic_switch][event.mock_generic_switch_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'initial_press', @@ -1834,7 +1834,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Mock Generic Switch Button', + : 'Mock Generic Switch Button', }), 'context': , 'entity_id': 'event.mock_generic_switch_button', @@ -1891,7 +1891,7 @@ # name: test_events[mock_generic_switch_multi][event.mock_generic_switch_button_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1899,7 +1899,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Mock Generic Switch Button (1)', + : 'Mock Generic Switch Button (1)', }), 'context': , 'entity_id': 'event.mock_generic_switch_button_1', @@ -1958,7 +1958,7 @@ # name: test_events[mock_generic_switch_multi][event.mock_generic_switch_button_fancy_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'multi_press_1', @@ -1968,7 +1968,7 @@ 'long_press', 'long_release', ]), - 'friendly_name': 'Mock Generic Switch Button (Fancy Button)', + : 'Mock Generic Switch Button (Fancy Button)', }), 'context': , 'entity_id': 'event.mock_generic_switch_button_fancy_button', @@ -2023,13 +2023,13 @@ # name: test_events[silabs_light_switch][event.light_switch_example_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'initial_press', 'short_release', ]), - 'friendly_name': 'Light switch example Button', + : 'Light switch example Button', }), 'context': , 'entity_id': 'event.light_switch_example_button', diff --git a/tests/components/matter/snapshots/test_fan.ambr b/tests/components/matter/snapshots/test_fan.ambr index c26e9fcaec3..8a32d1cf547 100644 --- a/tests/components/matter/snapshots/test_fan.ambr +++ b/tests/components/matter/snapshots/test_fan.ambr @@ -46,7 +46,7 @@ # name: test_fans[longan_link_thermostat][fan.longan_link_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Longan link HVAC', + : 'Longan link HVAC', : 0, : 1.0, : None, @@ -56,7 +56,7 @@ 'high', 'auto', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.longan_link_hvac', @@ -116,7 +116,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'forward', - 'friendly_name': 'Mock Air Purifier', + : 'Mock Air Purifier', : False, : None, : 10.0, @@ -129,7 +129,7 @@ 'natural_wind', 'sleep_wind', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.mock_air_purifier', @@ -185,7 +185,7 @@ # name: test_fans[mock_extractor_hood][fan.mock_extractor_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extractor hood', + : 'Mock Extractor hood', : 0, : 1.0, : None, @@ -194,7 +194,7 @@ 'medium', 'high', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.mock_extractor_hood', @@ -253,7 +253,7 @@ # name: test_fans[mock_fan][fan.mocked_fan_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mocked Fan Switch', + : 'Mocked Fan Switch', : 0, : 33.333333333333336, : None, @@ -265,7 +265,7 @@ 'natural_wind', 'sleep_wind', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.mocked_fan_switch', @@ -323,7 +323,7 @@ # name: test_fans[mock_room_airconditioner][fan.room_airconditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Room AirConditioner', + : 'Room AirConditioner', : 0, : 33.333333333333336, : None, @@ -334,7 +334,7 @@ 'auto', 'sleep_wind', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.room_airconditioner', @@ -394,7 +394,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'forward', - 'friendly_name': 'SL_Fan', + : 'SL_Fan', : False, : 30, : 10.0, @@ -407,7 +407,7 @@ 'natural_wind', 'sleep_wind', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.sl_fan', @@ -463,7 +463,7 @@ # name: test_fans[silabs_range_hood][fan.sl_rangehood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL-RangeHood', + : 'SL-RangeHood', : 0, : 1.0, : None, @@ -472,7 +472,7 @@ 'medium', 'high', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.sl_rangehood', diff --git a/tests/components/matter/snapshots/test_light.ambr b/tests/components/matter/snapshots/test_light.ambr index 0cc236f9d0c..bff458afd1a 100644 --- a/tests/components/matter/snapshots/test_light.ambr +++ b/tests/components/matter/snapshots/test_light.ambr @@ -48,7 +48,7 @@ : 128, : , : 3521, - 'friendly_name': 'Mock Color Temperature Light', + : 'Mock Color Temperature Light', : tuple( 27.152, 44.32, @@ -63,7 +63,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.452, 0.373, @@ -128,7 +128,7 @@ : 128, : , : None, - 'friendly_name': 'Mock Extended Color Light', + : 'Mock Extended Color Light', : tuple( 51.024, 20.079, @@ -145,7 +145,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.362, 0.373, @@ -210,7 +210,7 @@ : None, : None, : None, - 'friendly_name': 'White Series OnOff Switch Light (RGB Indicator)', + : 'White Series OnOff Switch Light (RGB Indicator)', : None, : 1000000, : 15, @@ -220,7 +220,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -277,11 +277,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Inovelli Light (1)', + : 'Inovelli Light (1)', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.inovelli_light_1', @@ -342,7 +342,7 @@ : None, : None, : None, - 'friendly_name': 'Inovelli Light (6)', + : 'Inovelli Light (6)', : None, : 6535, : 2000, @@ -352,7 +352,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -409,11 +409,11 @@ 'attributes': ReadOnlyDict({ : 51, : , - 'friendly_name': 'Mock Dimmable Light', + : 'Mock Dimmable Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_dimmable_light', @@ -469,11 +469,11 @@ 'attributes': ReadOnlyDict({ : 255, : , - 'friendly_name': 'Dimmable Plugin Unit', + : 'Dimmable Plugin Unit', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmable_plugin_unit', @@ -527,11 +527,11 @@ # name: test_lights[mock_mounted_dimmable_load_control_fixture][light.mock_mounted_dimmable_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Mounted dimmable load control', + : 'Mock Mounted dimmable load control', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_mounted_dimmable_load_control', @@ -586,11 +586,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Mock OnOff Light', + : 'Mock OnOff Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mock_onoff_light', @@ -651,7 +651,7 @@ : None, : , : None, - 'friendly_name': 'Mock OnOff Light', + : 'Mock OnOff Light', : None, : 6535, : 2000, @@ -661,7 +661,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -723,7 +723,7 @@ : None, : , : None, - 'friendly_name': 'Mock Light', + : 'Mock Light', : None, : 6535, : 2000, @@ -733,7 +733,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -789,11 +789,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'D215S', + : 'D215S', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.d215s', @@ -848,11 +848,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'SL-RangeHood', + : 'SL-RangeHood', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.sl_rangehood', diff --git a/tests/components/matter/snapshots/test_lock.ambr b/tests/components/matter/snapshots/test_lock.ambr index 11935d18337..76f791a1225 100644 --- a/tests/components/matter/snapshots/test_lock.ambr +++ b/tests/components/matter/snapshots/test_lock.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Unknown', - 'friendly_name': 'Aqara Smart Lock U200', - 'supported_features': , + : 'Aqara Smart Lock U200', + : , }), 'context': , 'entity_id': 'lock.aqara_smart_lock_u200', @@ -92,8 +92,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Unknown', - 'friendly_name': 'Mock Door Lock', - 'supported_features': , + : 'Mock Door Lock', + : , }), 'context': , 'entity_id': 'lock.mock_door_lock', @@ -144,8 +144,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Unknown', - 'friendly_name': 'Mock Door Lock with unbolt', - 'supported_features': , + : 'Mock Door Lock with unbolt', + : , }), 'context': , 'entity_id': 'lock.mock_door_lock_with_unbolt', @@ -196,8 +196,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Unknown', - 'friendly_name': 'Mock Lock', - 'supported_features': , + : 'Mock Lock', + : , }), 'context': , 'entity_id': 'lock.mock_lock', @@ -248,8 +248,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'Unknown', - 'friendly_name': 'Secuyou Smart Lock', - 'supported_features': , + : 'Secuyou Smart Lock', + : , }), 'context': , 'entity_id': 'lock.secuyou_smart_lock', diff --git a/tests/components/matter/snapshots/test_number.ambr b/tests/components/matter/snapshots/test_number.ambr index 8581f8f3b59..31f9a90d872 100644 --- a/tests/components/matter/snapshots/test_number.ambr +++ b/tests/components/matter/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_numbers[aqara_door_window_p2][number.aqara_door_and_window_sensor_p2_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Door and Window Sensor P2 Sensitivity', + : 'Aqara Door and Window Sensor P2 Sensitivity', : 3, : 1, : , @@ -103,12 +103,12 @@ # name: test_numbers[aqara_motion_p2][number.aqara_motion_and_light_sensor_p2_hold_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Motion and Light Sensor P2 Hold time', + : 'Aqara Motion and Light Sensor P2 Hold time', : 65534, : 1, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.aqara_motion_and_light_sensor_p2_hold_time', @@ -163,7 +163,7 @@ # name: test_numbers[aqara_motion_p2][number.aqara_motion_and_light_sensor_p2_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Motion and Light Sensor P2 Sensitivity', + : 'Aqara Motion and Light Sensor P2 Sensitivity', : 3, : 1, : , @@ -222,7 +222,7 @@ # name: test_numbers[aqara_multi_state_p100][number.multi_state_sensor_p100_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Multi-State Sensor P100 Sensitivity', + : 'Multi-State Sensor P100 Sensitivity', : 10, : 1, : , @@ -281,12 +281,12 @@ # name: test_numbers[aqara_presence_fp300][number.presence_multi_sensor_fp300_1_hold_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence Multi-Sensor FP300 1 Hold time', + : 'Presence Multi-Sensor FP300 1 Hold time', : 65534, : 1, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.presence_multi_sensor_fp300_1_hold_time', @@ -341,7 +341,7 @@ # name: test_numbers[aqara_presence_fp300][number.presence_multi_sensor_fp300_1_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence Multi-Sensor FP300 1 Sensitivity', + : 'Presence Multi-Sensor FP300 1 Sensitivity', : 3, : 1, : , @@ -400,12 +400,12 @@ # name: test_numbers[aqara_thermostat_w500][number.floor_heating_thermostat_occupied_setback-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Floor Heating Thermostat Occupied setback', + : 'Floor Heating Thermostat Occupied setback', : 3.0, : 0.5, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.floor_heating_thermostat_occupied_setback', @@ -460,13 +460,13 @@ # name: test_numbers[aqara_thermostat_w500][number.floor_heating_thermostat_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Floor Heating Thermostat Temperature offset', + : 'temperature', + : 'Floor Heating Thermostat Temperature offset', : 25, : -25, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.floor_heating_thermostat_temperature_offset', @@ -521,12 +521,12 @@ # name: test_numbers[aqara_u200][number.aqara_smart_lock_u200_user_code_temporary_disable_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Smart Lock U200 User code temporary disable time', + : 'Aqara Smart Lock U200 User code temporary disable time', : 255, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.aqara_smart_lock_u200_user_code_temporary_disable_time', @@ -581,7 +581,7 @@ # name: test_numbers[aqara_u200][number.aqara_smart_lock_u200_wrong_code_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Smart Lock U200 Wrong code limit', + : 'Aqara Smart Lock U200 Wrong code limit', : 255, : 1, : , @@ -640,7 +640,7 @@ # name: test_numbers[color_temperature_light][number.mock_color_temperature_light_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Color Temperature Light On level', + : 'Mock Color Temperature Light On level', : 255, : 0, : , @@ -699,7 +699,7 @@ # name: test_numbers[color_temperature_light][number.mock_color_temperature_light_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Color Temperature Light Power-on level', + : 'Mock Color Temperature Light Power-on level', : 255, : 0, : , @@ -758,13 +758,13 @@ # name: test_numbers[eve_thermo_v4][number.eve_thermo_20ebp1701_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Eve Thermo 20EBP1701 Temperature offset', + : 'temperature', + : 'Eve Thermo 20EBP1701 Temperature offset', : 50, : -50, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.eve_thermo_20ebp1701_temperature_offset', @@ -819,13 +819,13 @@ # name: test_numbers[eve_thermo_v5][number.eve_thermo_20ecd1701_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Eve Thermo 20ECD1701 Temperature offset', + : 'temperature', + : 'Eve Thermo 20ECD1701 Temperature offset', : 50, : -50, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.eve_thermo_20ecd1701_temperature_offset', @@ -880,13 +880,13 @@ # name: test_numbers[eve_weather_sensor][number.eve_weather_altitude_above_sea_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Eve Weather Altitude above sea level', + : 'distance', + : 'Eve Weather Altitude above sea level', : 9000, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.eve_weather_altitude_above_sea_level', @@ -941,7 +941,7 @@ # name: test_numbers[extended_color_light][number.mock_extended_color_light_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extended Color Light On level', + : 'Mock Extended Color Light On level', : 255, : 0, : , @@ -1000,7 +1000,7 @@ # name: test_numbers[extended_color_light][number.mock_extended_color_light_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extended Color Light Power-on level', + : 'Mock Extended Color Light Power-on level', : 255, : 0, : , @@ -1059,12 +1059,12 @@ # name: test_numbers[heiman_motion_sensor_m1][number.smart_motion_sensor_hold_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart motion sensor Hold time', + : 'Smart motion sensor Hold time', : 65534, : 1, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.smart_motion_sensor_hold_time', @@ -1119,7 +1119,7 @@ # name: test_numbers[heiman_motion_sensor_m1][number.smart_motion_sensor_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart motion sensor Sensitivity', + : 'Smart motion sensor Sensitivity', : 3, : 1, : , @@ -1178,7 +1178,7 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_led_off_intensity_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch LED off intensity (Load Control)', + : 'White Series OnOff Switch LED off intensity (Load Control)', : 75, : 0, : , @@ -1237,7 +1237,7 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_led_on_intensity_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch LED on intensity (Load Control)', + : 'White Series OnOff Switch LED on intensity (Load Control)', : 75, : 0, : , @@ -1296,12 +1296,12 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_off_transition_time_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Off transition time (Load Control)', + : 'White Series OnOff Switch Off transition time (Load Control)', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.white_series_onoff_switch_off_transition_time_load_control', @@ -1356,7 +1356,7 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_on_level_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch On level (Load Control)', + : 'White Series OnOff Switch On level (Load Control)', : 255, : 0, : , @@ -1415,7 +1415,7 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_on_level_rgb_indicator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch On level (RGB Indicator)', + : 'White Series OnOff Switch On level (RGB Indicator)', : 255, : 0, : , @@ -1474,12 +1474,12 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_on_off_transition_time_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch On/Off transition time (Load Control)', + : 'White Series OnOff Switch On/Off transition time (Load Control)', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.white_series_onoff_switch_on_off_transition_time_load_control', @@ -1534,12 +1534,12 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_on_off_transition_time_rgb_indicator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch On/Off transition time (RGB Indicator)', + : 'White Series OnOff Switch On/Off transition time (RGB Indicator)', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.white_series_onoff_switch_on_off_transition_time_rgb_indicator', @@ -1594,12 +1594,12 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_on_transition_time_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch On transition time (Load Control)', + : 'White Series OnOff Switch On transition time (Load Control)', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.white_series_onoff_switch_on_transition_time_load_control', @@ -1654,7 +1654,7 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_power_on_level_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Power-on level (Load Control)', + : 'White Series OnOff Switch Power-on level (Load Control)', : 255, : 0, : , @@ -1713,7 +1713,7 @@ # name: test_numbers[inovelli_vtm30][number.white_series_onoff_switch_power_on_level_rgb_indicator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Power-on level (RGB Indicator)', + : 'White Series OnOff Switch Power-on level (RGB Indicator)', : 255, : 0, : , @@ -1772,12 +1772,12 @@ # name: test_numbers[inovelli_vtm31][number.inovelli_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Off transition time', + : 'Inovelli Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.inovelli_off_transition_time', @@ -1832,7 +1832,7 @@ # name: test_numbers[inovelli_vtm31][number.inovelli_on_level_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli On level (1)', + : 'Inovelli On level (1)', : 255, : 0, : , @@ -1891,7 +1891,7 @@ # name: test_numbers[inovelli_vtm31][number.inovelli_on_level_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli On level (6)', + : 'Inovelli On level (6)', : 255, : 0, : , @@ -1950,12 +1950,12 @@ # name: test_numbers[inovelli_vtm31][number.inovelli_on_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli On/Off transition time', + : 'Inovelli On/Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.inovelli_on_off_transition_time', @@ -2010,12 +2010,12 @@ # name: test_numbers[inovelli_vtm31][number.inovelli_on_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli On transition time', + : 'Inovelli On transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.inovelli_on_transition_time', @@ -2070,7 +2070,7 @@ # name: test_numbers[inovelli_vtm31][number.inovelli_power_on_level_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Power-on level (1)', + : 'Inovelli Power-on level (1)', : 255, : 0, : , @@ -2129,7 +2129,7 @@ # name: test_numbers[inovelli_vtm31][number.inovelli_power_on_level_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Power-on level (6)', + : 'Inovelli Power-on level (6)', : 255, : 0, : , @@ -2188,12 +2188,12 @@ # name: test_numbers[mock_dimmable_light][number.mock_dimmable_light_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light Off transition time', + : 'Mock Dimmable Light Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_dimmable_light_off_transition_time', @@ -2248,7 +2248,7 @@ # name: test_numbers[mock_dimmable_light][number.mock_dimmable_light_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light On level', + : 'Mock Dimmable Light On level', : 255, : 0, : , @@ -2307,12 +2307,12 @@ # name: test_numbers[mock_dimmable_light][number.mock_dimmable_light_on_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light On/Off transition time', + : 'Mock Dimmable Light On/Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_dimmable_light_on_off_transition_time', @@ -2367,12 +2367,12 @@ # name: test_numbers[mock_dimmable_light][number.mock_dimmable_light_on_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light On transition time', + : 'Mock Dimmable Light On transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_dimmable_light_on_transition_time', @@ -2427,7 +2427,7 @@ # name: test_numbers[mock_dimmable_light][number.mock_dimmable_light_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light Power-on level', + : 'Mock Dimmable Light Power-on level', : 255, : 0, : , @@ -2486,7 +2486,7 @@ # name: test_numbers[mock_dimmable_plugin_unit][number.dimmable_plugin_unit_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dimmable Plugin Unit On level', + : 'Dimmable Plugin Unit On level', : 255, : 0, : , @@ -2545,12 +2545,12 @@ # name: test_numbers[mock_dimmable_plugin_unit][number.dimmable_plugin_unit_on_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dimmable Plugin Unit On/Off transition time', + : 'Dimmable Plugin Unit On/Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.dimmable_plugin_unit_on_off_transition_time', @@ -2605,7 +2605,7 @@ # name: test_numbers[mock_dimmable_plugin_unit][number.dimmable_plugin_unit_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dimmable Plugin Unit Power-on level', + : 'Dimmable Plugin Unit Power-on level', : 255, : 0, : , @@ -2664,12 +2664,12 @@ # name: test_numbers[mock_door_lock][number.mock_door_lock_auto_relock_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Auto-relock time', + : 'Mock Door Lock Auto-relock time', : 65534, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_door_lock_auto_relock_time', @@ -2724,12 +2724,12 @@ # name: test_numbers[mock_door_lock][number.mock_door_lock_user_code_temporary_disable_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock User code temporary disable time', + : 'Mock Door Lock User code temporary disable time', : 255, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_door_lock_user_code_temporary_disable_time', @@ -2784,7 +2784,7 @@ # name: test_numbers[mock_door_lock][number.mock_door_lock_wrong_code_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Wrong code limit', + : 'Mock Door Lock Wrong code limit', : 255, : 1, : , @@ -2843,12 +2843,12 @@ # name: test_numbers[mock_door_lock_with_unbolt][number.mock_door_lock_with_unbolt_auto_relock_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Auto-relock time', + : 'Mock Door Lock with unbolt Auto-relock time', : 65534, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_door_lock_with_unbolt_auto_relock_time', @@ -2903,12 +2903,12 @@ # name: test_numbers[mock_door_lock_with_unbolt][number.mock_door_lock_with_unbolt_user_code_temporary_disable_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt User code temporary disable time', + : 'Mock Door Lock with unbolt User code temporary disable time', : 255, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_door_lock_with_unbolt_user_code_temporary_disable_time', @@ -2963,7 +2963,7 @@ # name: test_numbers[mock_door_lock_with_unbolt][number.mock_door_lock_with_unbolt_wrong_code_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Wrong code limit', + : 'Mock Door Lock with unbolt Wrong code limit', : 255, : 1, : , @@ -3022,12 +3022,12 @@ # name: test_numbers[mock_lock][number.mock_lock_auto_relock_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Auto-relock time', + : 'Mock Lock Auto-relock time', : 65534, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_lock_auto_relock_time', @@ -3082,12 +3082,12 @@ # name: test_numbers[mock_lock][number.mock_lock_user_code_temporary_disable_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock User code temporary disable time', + : 'Mock Lock User code temporary disable time', : 255, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_lock_user_code_temporary_disable_time', @@ -3142,7 +3142,7 @@ # name: test_numbers[mock_lock][number.mock_lock_wrong_code_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Wrong code limit', + : 'Mock Lock Wrong code limit', : 255, : 1, : , @@ -3201,13 +3201,13 @@ # name: test_numbers[mock_microwave_oven][number.mock_microwave_oven_cooking_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Microwave Oven Cooking time', + : 'duration', + : 'Mock Microwave Oven Cooking time', : 86400, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_microwave_oven_cooking_time', @@ -3262,7 +3262,7 @@ # name: test_numbers[mock_mounted_dimmable_load_control_fixture][number.mock_mounted_dimmable_load_control_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Mounted dimmable load control On level', + : 'Mock Mounted dimmable load control On level', : 255, : 0, : , @@ -3321,7 +3321,7 @@ # name: test_numbers[mock_mounted_dimmable_load_control_fixture][number.mock_mounted_dimmable_load_control_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Mounted dimmable load control Power-on level', + : 'Mock Mounted dimmable load control Power-on level', : 255, : 0, : , @@ -3380,12 +3380,12 @@ # name: test_numbers[mock_occupancy_sensor_pir][number.mock_pir_occupancy_sensor_detection_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock PIR Occupancy Sensor Detection delay', + : 'Mock PIR Occupancy Sensor Detection delay', : 65534, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_pir_occupancy_sensor_detection_delay', @@ -3440,7 +3440,7 @@ # name: test_numbers[mock_occupancy_sensor_pir][number.mock_pir_occupancy_sensor_detection_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock PIR Occupancy Sensor Detection threshold', + : 'Mock PIR Occupancy Sensor Detection threshold', : 254, : 1, : , @@ -3499,12 +3499,12 @@ # name: test_numbers[mock_occupancy_sensor_pir][number.mock_pir_occupancy_sensor_hold_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock PIR Occupancy Sensor Hold time', + : 'Mock PIR Occupancy Sensor Hold time', : 65534, : 1, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_pir_occupancy_sensor_hold_time', @@ -3559,12 +3559,12 @@ # name: test_numbers[mock_on_off_plugin_unit][number.mock_onoffpluginunit_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOffPluginUnit Off transition time', + : 'Mock OnOffPluginUnit Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_onoffpluginunit_off_transition_time', @@ -3619,7 +3619,7 @@ # name: test_numbers[mock_on_off_plugin_unit][number.mock_onoffpluginunit_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOffPluginUnit On level', + : 'Mock OnOffPluginUnit On level', : 255, : 0, : , @@ -3678,12 +3678,12 @@ # name: test_numbers[mock_on_off_plugin_unit][number.mock_onoffpluginunit_on_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOffPluginUnit On/Off transition time', + : 'Mock OnOffPluginUnit On/Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_onoffpluginunit_on_off_transition_time', @@ -3738,12 +3738,12 @@ # name: test_numbers[mock_on_off_plugin_unit][number.mock_onoffpluginunit_on_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOffPluginUnit On transition time', + : 'Mock OnOffPluginUnit On transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_onoffpluginunit_on_transition_time', @@ -3798,7 +3798,7 @@ # name: test_numbers[mock_on_off_plugin_unit][number.mock_onoffpluginunit_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOffPluginUnit Power-on level', + : 'Mock OnOffPluginUnit Power-on level', : 255, : 0, : , @@ -3857,12 +3857,12 @@ # name: test_numbers[mock_onoff_light_alt_name][number.mock_onoff_light_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light Off transition time', + : 'Mock OnOff Light Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_onoff_light_off_transition_time', @@ -3917,7 +3917,7 @@ # name: test_numbers[mock_onoff_light_alt_name][number.mock_onoff_light_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light On level', + : 'Mock OnOff Light On level', : 255, : 0, : , @@ -3976,12 +3976,12 @@ # name: test_numbers[mock_onoff_light_alt_name][number.mock_onoff_light_on_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light On/Off transition time', + : 'Mock OnOff Light On/Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_onoff_light_on_off_transition_time', @@ -4036,12 +4036,12 @@ # name: test_numbers[mock_onoff_light_alt_name][number.mock_onoff_light_on_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light On transition time', + : 'Mock OnOff Light On transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_onoff_light_on_transition_time', @@ -4096,7 +4096,7 @@ # name: test_numbers[mock_onoff_light_alt_name][number.mock_onoff_light_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light Power-on level', + : 'Mock OnOff Light Power-on level', : 255, : 0, : , @@ -4155,12 +4155,12 @@ # name: test_numbers[mock_onoff_light_no_name][number.mock_light_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Light Off transition time', + : 'Mock Light Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_light_off_transition_time', @@ -4215,7 +4215,7 @@ # name: test_numbers[mock_onoff_light_no_name][number.mock_light_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Light On level', + : 'Mock Light On level', : 255, : 0, : , @@ -4274,12 +4274,12 @@ # name: test_numbers[mock_onoff_light_no_name][number.mock_light_on_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Light On/Off transition time', + : 'Mock Light On/Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_light_on_off_transition_time', @@ -4334,12 +4334,12 @@ # name: test_numbers[mock_onoff_light_no_name][number.mock_light_on_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Light On transition time', + : 'Mock Light On transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_light_on_transition_time', @@ -4394,7 +4394,7 @@ # name: test_numbers[mock_onoff_light_no_name][number.mock_light_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Light Power-on level', + : 'Mock Light Power-on level', : 255, : 0, : , @@ -4453,12 +4453,12 @@ # name: test_numbers[mock_oven][number.mock_oven_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Oven Temperature setpoint', + : 'Mock Oven Temperature setpoint', : 288.0, : 76.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_oven_temperature_setpoint', @@ -4513,7 +4513,7 @@ # name: test_numbers[mock_pump][number.mock_pump_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Pump On level', + : 'Mock Pump On level', : 255, : 0, : , @@ -4572,12 +4572,12 @@ # name: test_numbers[mock_pump][number.mock_pump_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Pump Setpoint', + : 'Mock Pump Setpoint', : 100, : 0.5, : , : 0.5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_pump_setpoint', @@ -4632,12 +4632,12 @@ # name: test_numbers[mock_speaker][number.mock_speaker_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock speaker Volume', + : 'Mock speaker Volume', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mock_speaker_volume', @@ -4692,13 +4692,13 @@ # name: test_numbers[mock_thermostat][number.mock_thermostat_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Thermostat Temperature offset', + : 'temperature', + : 'Mock Thermostat Temperature offset', : 25, : -25, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_thermostat_temperature_offset', @@ -4753,12 +4753,12 @@ # name: test_numbers[mock_valve][number.mock_valve_default_open_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Valve Default open duration', + : 'Mock Valve Default open duration', : 65534, : 1, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.mock_valve_default_open_duration', @@ -4813,7 +4813,7 @@ # name: test_numbers[onoff_light_with_levelcontrol_present][number.d215s_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D215S On level', + : 'D215S On level', : 255, : 0, : , @@ -4872,12 +4872,12 @@ # name: test_numbers[onoff_light_with_levelcontrol_present][number.d215s_on_off_transition_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D215S On/Off transition time', + : 'D215S On/Off transition time', : 65534, : 0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.d215s_on_off_transition_time', @@ -4932,7 +4932,7 @@ # name: test_numbers[onoff_light_with_levelcontrol_present][number.d215s_power_on_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D215S Power-on level', + : 'D215S Power-on level', : 255, : 0, : , @@ -4991,12 +4991,12 @@ # name: test_numbers[secuyou_smart_lock][number.secuyou_smart_lock_auto_relock_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock Auto-relock time', + : 'Secuyou Smart Lock Auto-relock time', : 65534, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.secuyou_smart_lock_auto_relock_time', @@ -5051,12 +5051,12 @@ # name: test_numbers[secuyou_smart_lock][number.secuyou_smart_lock_user_code_temporary_disable_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock User code temporary disable time', + : 'Secuyou Smart Lock User code temporary disable time', : 255, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.secuyou_smart_lock_user_code_temporary_disable_time', @@ -5111,7 +5111,7 @@ # name: test_numbers[secuyou_smart_lock][number.secuyou_smart_lock_wrong_code_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock Wrong code limit', + : 'Secuyou Smart Lock Wrong code limit', : 255, : 1, : , @@ -5170,12 +5170,12 @@ # name: test_numbers[silabs_laundrywasher][number.laundrywasher_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Temperature setpoint', + : 'LaundryWasher Temperature setpoint', : 0.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.laundrywasher_temperature_setpoint', @@ -5230,12 +5230,12 @@ # name: test_numbers[silabs_refrigerator][number.refrigerator_temperature_setpoint_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Temperature setpoint (2)', + : 'Refrigerator Temperature setpoint (2)', : -15.0, : -18.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.refrigerator_temperature_setpoint_2', @@ -5290,12 +5290,12 @@ # name: test_numbers[silabs_refrigerator][number.refrigerator_temperature_setpoint_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Temperature setpoint (3)', + : 'Refrigerator Temperature setpoint (3)', : 4.0, : 1.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.refrigerator_temperature_setpoint_3', diff --git a/tests/components/matter/snapshots/test_select.ambr b/tests/components/matter/snapshots/test_select.ambr index 6233399e579..c8b94335a94 100644 --- a/tests/components/matter/snapshots/test_select.ambr +++ b/tests/components/matter/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_selects[aqara_thermostat_w500][select.floor_heating_thermostat_temperature_display_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Floor Heating Thermostat Temperature display mode', + : 'Floor Heating Thermostat Temperature display mode', : list([ 'Celsius', 'Fahrenheit', @@ -103,7 +103,7 @@ # name: test_selects[aqara_u200][select.aqara_smart_lock_u200_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Smart Lock U200 Operating mode', + : 'Aqara Smart Lock U200 Operating mode', : list([ 'normal', 'no_remote_lock_unlock', @@ -163,7 +163,7 @@ # name: test_selects[color_temperature_light][select.mock_color_temperature_light_lighting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Color Temperature Light Lighting', + : 'Mock Color Temperature Light Lighting', : list([ 'Dark', 'Medium', @@ -225,7 +225,7 @@ # name: test_selects[color_temperature_light][select.mock_color_temperature_light_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Color Temperature Light Power-on behavior', + : 'Mock Color Temperature Light Power-on behavior', : list([ 'on', 'off', @@ -287,7 +287,7 @@ # name: test_selects[ecovacs_deebot][select.ecodeebot_clean_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ecodeebot Clean mode', + : 'ecodeebot Clean mode', : list([ 'Vacuum & Mop', 'Vacuum-Only', @@ -353,7 +353,7 @@ # name: test_selects[eufy_vacuum_omni_e28][select.2bavs_ab6031x_44pe_clean_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '2BAVS-AB6031X-44PE Clean mode', + : '2BAVS-AB6031X-44PE Clean mode', : list([ 'Auto Mop & Vacuum', 'Auto Vacuum', @@ -420,7 +420,7 @@ # name: test_selects[eve_energy_20ecn4101][select.eve_energy_20ecn4101_power_on_behavior_bottom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy 20ECN4101 Power-on behavior (bottom)', + : 'Eve Energy 20ECN4101 Power-on behavior (bottom)', : list([ 'on', 'off', @@ -483,7 +483,7 @@ # name: test_selects[eve_energy_20ecn4101][select.eve_energy_20ecn4101_power_on_behavior_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy 20ECN4101 Power-on behavior (top)', + : 'Eve Energy 20ECN4101 Power-on behavior (top)', : list([ 'on', 'off', @@ -546,7 +546,7 @@ # name: test_selects[eve_energy_plug][select.eve_energy_plug_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Power-on behavior', + : 'Eve Energy Plug Power-on behavior', : list([ 'on', 'off', @@ -609,7 +609,7 @@ # name: test_selects[eve_energy_plug_patched][select.eve_energy_plug_patched_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Patched Power-on behavior', + : 'Eve Energy Plug Patched Power-on behavior', : list([ 'on', 'off', @@ -670,7 +670,7 @@ # name: test_selects[eve_thermo_v4][select.eve_thermo_20ebp1701_temperature_display_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20EBP1701 Temperature display mode', + : 'Eve Thermo 20EBP1701 Temperature display mode', : list([ 'Celsius', 'Fahrenheit', @@ -729,7 +729,7 @@ # name: test_selects[eve_thermo_v5][select.eve_thermo_20ecd1701_temperature_display_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20ECD1701 Temperature display mode', + : 'Eve Thermo 20ECD1701 Temperature display mode', : list([ 'Celsius', 'Fahrenheit', @@ -789,7 +789,7 @@ # name: test_selects[extended_color_light][select.mock_extended_color_light_lighting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extended Color Light Lighting', + : 'Mock Extended Color Light Lighting', : list([ 'Dark', 'Medium', @@ -851,7 +851,7 @@ # name: test_selects[extended_color_light][select.mock_extended_color_light_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extended Color Light Power-on behavior', + : 'Mock Extended Color Light Power-on behavior', : list([ 'on', 'off', @@ -918,7 +918,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_button_press_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Button Press Delay', + : 'White Series OnOff Switch Button Press Delay', : list([ 'No Delay', '300ms', @@ -996,7 +996,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_dimming_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Dimming Speed', + : 'White Series OnOff Switch Dimming Speed', : list([ 'Instant', '500ms', @@ -1079,7 +1079,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_led_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch LED Color', + : 'White Series OnOff Switch LED Color', : list([ 'Red', 'Orange', @@ -1164,7 +1164,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_led_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch LED Effect', + : 'White Series OnOff Switch LED Effect', : list([ 'Solid', 'Fast Blink', @@ -1238,7 +1238,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_local_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Local Protection', + : 'White Series OnOff Switch Local Protection', : list([ 'Local Protection Disable', 'Local Protection Enable', @@ -1297,7 +1297,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_local_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Local Timer', + : 'White Series OnOff Switch Local Timer', : list([ 'Local Timer Disable', 'Local Timer Enable', @@ -1358,7 +1358,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_power_on_behavior_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Power-on behavior (Load Control)', + : 'White Series OnOff Switch Power-on behavior (Load Control)', : list([ 'on', 'off', @@ -1421,7 +1421,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_power_on_behavior_rgb_indicator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Power-on behavior (RGB Indicator)', + : 'White Series OnOff Switch Power-on behavior (RGB Indicator)', : list([ 'on', 'off', @@ -1482,7 +1482,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_smart_bulb_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Smart Bulb Mode', + : 'White Series OnOff Switch Smart Bulb Mode', : list([ 'Smart Bulb Disable', 'Smart Bulb Enable', @@ -1543,7 +1543,7 @@ # name: test_selects[inovelli_vtm30][select.white_series_onoff_switch_switch_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Switch Mode', + : 'White Series OnOff Switch Switch Mode', : list([ 'On/Off+Single', 'On/Off+AUX', @@ -1604,7 +1604,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_dimming_edge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Dimming Edge', + : 'Inovelli Dimming Edge', : list([ 'Leading', 'Trailing', @@ -1676,7 +1676,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_dimming_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Dimming Speed', + : 'Inovelli Dimming Speed', : list([ 'Instant', '500ms', @@ -1759,7 +1759,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_led_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli LED Color', + : 'Inovelli LED Color', : list([ 'Red', 'Orange', @@ -1831,7 +1831,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_power_on_behavior_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Power-on behavior (1)', + : 'Inovelli Power-on behavior (1)', : list([ 'on', 'off', @@ -1894,7 +1894,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_power_on_behavior_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Power-on behavior (6)', + : 'Inovelli Power-on behavior (6)', : list([ 'on', 'off', @@ -1955,7 +1955,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Relay', + : 'Inovelli Relay', : list([ 'Relay Click Enable', 'Relay Click Disable', @@ -2014,7 +2014,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_smart_bulb_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Smart Bulb Mode', + : 'Inovelli Smart Bulb Mode', : list([ 'Smart Bulb Disable', 'Smart Bulb Enable', @@ -2078,7 +2078,7 @@ # name: test_selects[inovelli_vtm31][select.inovelli_switch_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Switch Mode', + : 'Inovelli Switch Mode', : list([ 'OnOff+Single', 'OnOff+Dumb', @@ -2142,7 +2142,7 @@ # name: test_selects[longan_link_thermostat][select.longan_link_hvac_temperature_display_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Longan link HVAC Temperature display mode', + : 'Longan link HVAC Temperature display mode', : list([ 'Celsius', 'Fahrenheit', @@ -2202,7 +2202,7 @@ # name: test_selects[mock_cooktop][select.mock_cooktop_temperature_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Cooktop Temperature level', + : 'Mock Cooktop Temperature level', : list([ 'Low', 'Medium', @@ -2273,7 +2273,7 @@ # name: test_selects[mock_dimmable_light][select.mock_dimmable_light_led_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light LED Color', + : 'Mock Dimmable Light LED Color', : list([ 'Red', 'Orange', @@ -2345,7 +2345,7 @@ # name: test_selects[mock_dimmable_light][select.mock_dimmable_light_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light Power-on behavior', + : 'Mock Dimmable Light Power-on behavior', : list([ 'on', 'off', @@ -2408,7 +2408,7 @@ # name: test_selects[mock_dimmable_plugin_unit][select.dimmable_plugin_unit_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dimmable Plugin Unit Power-on behavior', + : 'Dimmable Plugin Unit Power-on behavior', : list([ 'on', 'off', @@ -2469,7 +2469,7 @@ # name: test_selects[mock_door_lock][select.mock_door_lock_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Operating mode', + : 'Mock Door Lock Operating mode', : list([ 'normal', 'no_remote_lock_unlock', @@ -2530,7 +2530,7 @@ # name: test_selects[mock_door_lock][select.mock_door_lock_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Power-on behavior', + : 'Mock Door Lock Power-on behavior', : list([ 'on', 'off', @@ -2593,7 +2593,7 @@ # name: test_selects[mock_door_lock][select.mock_door_lock_sound_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Sound volume', + : 'Mock Door Lock Sound volume', : list([ 'silent', 'low', @@ -2654,7 +2654,7 @@ # name: test_selects[mock_door_lock_with_unbolt][select.mock_door_lock_with_unbolt_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Operating mode', + : 'Mock Door Lock with unbolt Operating mode', : list([ 'normal', 'no_remote_lock_unlock', @@ -2715,7 +2715,7 @@ # name: test_selects[mock_door_lock_with_unbolt][select.mock_door_lock_with_unbolt_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Power-on behavior', + : 'Mock Door Lock with unbolt Power-on behavior', : list([ 'on', 'off', @@ -2778,7 +2778,7 @@ # name: test_selects[mock_door_lock_with_unbolt][select.mock_door_lock_with_unbolt_sound_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Sound volume', + : 'Mock Door Lock with unbolt Sound volume', : list([ 'silent', 'low', @@ -2840,7 +2840,7 @@ # name: test_selects[mock_laundry_dryer][select.mock_laundrydryer_temperature_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Laundrydryer Temperature level', + : 'Mock Laundrydryer Temperature level', : list([ 'Low', 'Medium', @@ -2900,7 +2900,7 @@ # name: test_selects[mock_lock][select.mock_lock_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Operating mode', + : 'Mock Lock Operating mode', : list([ 'normal', 'no_remote_lock_unlock', @@ -2961,7 +2961,7 @@ # name: test_selects[mock_lock][select.mock_lock_sound_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Sound volume', + : 'Mock Lock Sound volume', : list([ 'silent', 'low', @@ -3030,7 +3030,7 @@ # name: test_selects[mock_microwave_oven][select.mock_microwave_oven_power_level_w-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Microwave Oven Power level (W)', + : 'Mock Microwave Oven Power level (W)', : list([ '100', '200', @@ -3099,7 +3099,7 @@ # name: test_selects[mock_mounted_dimmable_load_control_fixture][select.mock_mounted_dimmable_load_control_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Mounted dimmable load control Power-on behavior', + : 'Mock Mounted dimmable load control Power-on behavior', : list([ 'on', 'off', @@ -3162,7 +3162,7 @@ # name: test_selects[mock_on_off_plugin_unit][select.mock_onoffpluginunit_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOffPluginUnit Power-on behavior', + : 'Mock OnOffPluginUnit Power-on behavior', : list([ 'on', 'off', @@ -3225,7 +3225,7 @@ # name: test_selects[mock_onoff_light][select.mock_onoff_light_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light Power-on behavior', + : 'Mock OnOff Light Power-on behavior', : list([ 'on', 'off', @@ -3288,7 +3288,7 @@ # name: test_selects[mock_onoff_light_alt_name][select.mock_onoff_light_power_on_behavior_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light Power-on behavior', + : 'Mock OnOff Light Power-on behavior', : list([ 'on', 'off', @@ -3351,7 +3351,7 @@ # name: test_selects[mock_onoff_light_no_name][select.mock_light_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Light Power-on behavior', + : 'Mock Light Power-on behavior', : list([ 'on', 'off', @@ -3419,7 +3419,7 @@ # name: test_selects[mock_oven][select.mock_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Oven Mode', + : 'Mock Oven Mode', : list([ 'Bake', 'Convection', @@ -3486,7 +3486,7 @@ # name: test_selects[mock_oven][select.mock_oven_temperature_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Oven Temperature level', + : 'Mock Oven Temperature level', : list([ 'Low', 'Medium', @@ -3548,7 +3548,7 @@ # name: test_selects[mock_pump][select.mock_pump_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Pump mode', + : 'Mock Pump mode', : list([ 'normal', 'minimum', @@ -3611,7 +3611,7 @@ # name: test_selects[mock_switch_unit][select.mock_switchunit_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock SwitchUnit Power-on behavior', + : 'Mock SwitchUnit Power-on behavior', : list([ 'on', 'off', @@ -3672,7 +3672,7 @@ # name: test_selects[mock_thermostat][select.mock_thermostat_temperature_display_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Thermostat Temperature display mode', + : 'Mock Thermostat Temperature display mode', : list([ 'Celsius', 'Fahrenheit', @@ -3734,7 +3734,7 @@ # name: test_selects[mock_vacuum_cleaner][select.mock_vacuum_clean_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Vacuum Clean mode', + : 'Mock Vacuum Clean mode', : list([ 'Quick', 'Auto', @@ -3798,7 +3798,7 @@ # name: test_selects[onoff_light_with_levelcontrol_present][select.d215s_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D215S Power-on behavior', + : 'D215S Power-on behavior', : list([ 'on', 'off', @@ -3866,7 +3866,7 @@ # name: test_selects[roborock_saros_10][select.robotic_vacuum_cleaner_clean_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robotic Vacuum Cleaner Clean mode', + : 'Robotic Vacuum Cleaner Clean mode', : list([ 'Quiet, Vacuum Only', 'Auto, Vacuum Only', @@ -3933,7 +3933,7 @@ # name: test_selects[secuyou_smart_lock][select.secuyou_smart_lock_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock Operating mode', + : 'Secuyou Smart Lock Operating mode', : list([ 'normal', 'privacy', @@ -3996,7 +3996,7 @@ # name: test_selects[silabs_evse_charging][select.evse_energy_management_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'evse Energy management mode', + : 'evse Energy management mode', : list([ 'No energy management (forecast only)', 'Device optimizes (no local or grid control)', @@ -4060,7 +4060,7 @@ # name: test_selects[silabs_evse_charging][select.evse_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'evse Mode', + : 'evse Mode', : list([ 'Manual', 'Auto-scheduled', @@ -4121,7 +4121,7 @@ # name: test_selects[silabs_laundrywasher][select.laundrywasher_number_of_rinses-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Number of rinses', + : 'LaundryWasher Number of rinses', : list([ 'off', 'normal', @@ -4182,7 +4182,7 @@ # name: test_selects[silabs_laundrywasher][select.laundrywasher_spin_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Spin speed', + : 'LaundryWasher Spin speed', : list([ 'Off', 'Low', @@ -4244,7 +4244,7 @@ # name: test_selects[silabs_laundrywasher][select.laundrywasher_temperature_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Temperature level', + : 'LaundryWasher Temperature level', : list([ 'Cold', 'Colors', @@ -4306,7 +4306,7 @@ # name: test_selects[silabs_range_hood][select.sl_rangehood_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL-RangeHood Power-on behavior', + : 'SL-RangeHood Power-on behavior', : list([ 'on', 'off', @@ -4368,7 +4368,7 @@ # name: test_selects[silabs_refrigerator][select.refrigerator_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Mode', + : 'Refrigerator Mode', : list([ 'Normal', 'Rapid Cool', @@ -4431,7 +4431,7 @@ # name: test_selects[silabs_water_heater][select.water_heater_energy_management_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Heater Energy management mode', + : 'Water Heater Energy management mode', : list([ 'No energy management (forecast only)', 'Device optimizes (no local or grid control)', @@ -4496,7 +4496,7 @@ # name: test_selects[switchbot_k11_plus][select.k11_clean_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'K11+ Clean mode', + : 'K11+ Clean mode', : list([ 'Quick', 'Auto', @@ -4560,7 +4560,7 @@ # name: test_selects[yandex_smart_socket][select.yndx_00540_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'YNDX-00540 Power-on behavior', + : 'YNDX-00540 Power-on behavior', : list([ 'on', 'off', diff --git a/tests/components/matter/snapshots/test_sensor.ambr b/tests/components/matter/snapshots/test_sensor.ambr index d91241209f0..0b0041679f7 100644 --- a/tests/components/matter/snapshots/test_sensor.ambr +++ b/tests/components/matter/snapshots/test_sensor.ambr @@ -48,8 +48,8 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'lightfi-aq1-air-quality-sensor Air quality', + : 'enum', + : 'lightfi-aq1-air-quality-sensor Air quality', : list([ 'extremely_poor', 'very_poor', @@ -109,10 +109,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'lightfi-aq1-air-quality-sensor Carbon dioxide', + : 'carbon_dioxide', + : 'lightfi-aq1-air-quality-sensor Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_carbon_dioxide', @@ -164,10 +164,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'lightfi-aq1-air-quality-sensor Humidity', + : 'humidity', + : 'lightfi-aq1-air-quality-sensor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_humidity', @@ -219,10 +219,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'nitrogen_dioxide', - 'friendly_name': 'lightfi-aq1-air-quality-sensor Nitrogen dioxide', + : 'nitrogen_dioxide', + : 'lightfi-aq1-air-quality-sensor Nitrogen dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_nitrogen_dioxide', @@ -274,10 +274,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'lightfi-aq1-air-quality-sensor PM1', + : 'pm1', + : 'lightfi-aq1-air-quality-sensor PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_pm1', @@ -329,10 +329,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'lightfi-aq1-air-quality-sensor PM10', + : 'pm10', + : 'lightfi-aq1-air-quality-sensor PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_pm10', @@ -384,10 +384,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'lightfi-aq1-air-quality-sensor PM2.5', + : 'pm25', + : 'lightfi-aq1-air-quality-sensor PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_pm2_5', @@ -439,9 +439,9 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_radon_concentration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'lightfi-aq1-air-quality-sensor Radon concentration', + : 'lightfi-aq1-air-quality-sensor Radon concentration', : , - 'unit_of_measurement': 'Bq/m³', + : 'Bq/m³', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_radon_concentration', @@ -493,7 +493,7 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'lightfi-aq1-air-quality-sensor Reboot count', + : 'lightfi-aq1-air-quality-sensor Reboot count', : , }), 'context': , @@ -549,10 +549,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'lightfi-aq1-air-quality-sensor Temperature', + : 'temperature', + : 'lightfi-aq1-air-quality-sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_temperature', @@ -604,10 +604,10 @@ # name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'lightfi-aq1-air-quality-sensor Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'lightfi-aq1-air-quality-sensor Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.lightfi_aq1_air_quality_sensor_volatile_organic_compounds_parts', @@ -659,10 +659,10 @@ # name: test_sensors[aqara_door_window_p2][sensor.aqara_door_and_window_sensor_p2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Aqara Door and Window Sensor P2 Battery', + : 'battery', + : 'Aqara Door and Window Sensor P2 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aqara_door_and_window_sensor_p2_battery', @@ -712,7 +712,7 @@ # name: test_sensors[aqara_door_window_p2][sensor.aqara_door_and_window_sensor_p2_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Door and Window Sensor P2 Battery type', + : 'Aqara Door and Window Sensor P2 Battery type', }), 'context': , 'entity_id': 'sensor.aqara_door_and_window_sensor_p2_battery_type', @@ -770,10 +770,10 @@ # name: test_sensors[aqara_door_window_p2][sensor.aqara_door_and_window_sensor_p2_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Aqara Door and Window Sensor P2 Battery voltage', + : 'voltage', + : 'Aqara Door and Window Sensor P2 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aqara_door_and_window_sensor_p2_battery_voltage', @@ -833,8 +833,8 @@ # name: test_sensors[aqara_door_window_p2][sensor.aqara_door_and_window_sensor_p2_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aqara Door and Window Sensor P2 Boot reason', + : 'enum', + : 'Aqara Door and Window Sensor P2 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -895,7 +895,7 @@ # name: test_sensors[aqara_door_window_p2][sensor.aqara_door_and_window_sensor_p2_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Door and Window Sensor P2 Reboot count', + : 'Aqara Door and Window Sensor P2 Reboot count', : , }), 'context': , @@ -946,8 +946,8 @@ # name: test_sensors[aqara_door_window_p2][sensor.aqara_door_and_window_sensor_p2_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Aqara Door and Window Sensor P2 Uptime', + : 'uptime', + : 'Aqara Door and Window Sensor P2 Uptime', }), 'context': , 'entity_id': 'sensor.aqara_door_and_window_sensor_p2_uptime', @@ -999,10 +999,10 @@ # name: test_sensors[aqara_motion_p2][sensor.aqara_motion_and_light_sensor_p2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Battery', + : 'battery', + : 'Aqara Motion and Light Sensor P2 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aqara_motion_and_light_sensor_p2_battery', @@ -1052,7 +1052,7 @@ # name: test_sensors[aqara_motion_p2][sensor.aqara_motion_and_light_sensor_p2_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Motion and Light Sensor P2 Battery type', + : 'Aqara Motion and Light Sensor P2 Battery type', }), 'context': , 'entity_id': 'sensor.aqara_motion_and_light_sensor_p2_battery_type', @@ -1110,10 +1110,10 @@ # name: test_sensors[aqara_motion_p2][sensor.aqara_motion_and_light_sensor_p2_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Battery voltage', + : 'voltage', + : 'Aqara Motion and Light Sensor P2 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aqara_motion_and_light_sensor_p2_battery_voltage', @@ -1173,8 +1173,8 @@ # name: test_sensors[aqara_motion_p2][sensor.aqara_motion_and_light_sensor_p2_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Boot reason', + : 'enum', + : 'Aqara Motion and Light Sensor P2 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -1235,10 +1235,10 @@ # name: test_sensors[aqara_motion_p2][sensor.aqara_motion_and_light_sensor_p2_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Illuminance', + : 'illuminance', + : 'Aqara Motion and Light Sensor P2 Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.aqara_motion_and_light_sensor_p2_illuminance', @@ -1290,7 +1290,7 @@ # name: test_sensors[aqara_motion_p2][sensor.aqara_motion_and_light_sensor_p2_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Motion and Light Sensor P2 Reboot count', + : 'Aqara Motion and Light Sensor P2 Reboot count', : , }), 'context': , @@ -1341,8 +1341,8 @@ # name: test_sensors[aqara_motion_p2][sensor.aqara_motion_and_light_sensor_p2_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Aqara Motion and Light Sensor P2 Uptime', + : 'uptime', + : 'Aqara Motion and Light Sensor P2 Uptime', }), 'context': , 'entity_id': 'sensor.aqara_motion_and_light_sensor_p2_uptime', @@ -1394,10 +1394,10 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Multi-State Sensor P100 Battery', + : 'battery', + : 'Multi-State Sensor P100 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.multi_state_sensor_p100_battery', @@ -1447,7 +1447,7 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Multi-State Sensor P100 Battery type', + : 'Multi-State Sensor P100 Battery type', }), 'context': , 'entity_id': 'sensor.multi_state_sensor_p100_battery_type', @@ -1505,10 +1505,10 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Multi-State Sensor P100 Battery voltage', + : 'voltage', + : 'Multi-State Sensor P100 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.multi_state_sensor_p100_battery_voltage', @@ -1568,8 +1568,8 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Multi-State Sensor P100 Boot reason', + : 'enum', + : 'Multi-State Sensor P100 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -1630,7 +1630,7 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Multi-State Sensor P100 Reboot count', + : 'Multi-State Sensor P100 Reboot count', : , }), 'context': , @@ -1681,7 +1681,7 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Multi-State Sensor P100 Thread channel', + : 'Multi-State Sensor P100 Thread channel', }), 'context': , 'entity_id': 'sensor.multi_state_sensor_p100_thread_channel', @@ -1731,7 +1731,7 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Multi-State Sensor P100 Thread network name', + : 'Multi-State Sensor P100 Thread network name', }), 'context': , 'entity_id': 'sensor.multi_state_sensor_p100_thread_network_name', @@ -1792,8 +1792,8 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Multi-State Sensor P100 Thread routing role', + : 'enum', + : 'Multi-State Sensor P100 Thread routing role', : list([ 'unspecified', 'unassigned', @@ -1853,8 +1853,8 @@ # name: test_sensors[aqara_multi_state_p100][sensor.multi_state_sensor_p100_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Multi-State Sensor P100 Uptime', + : 'uptime', + : 'Multi-State Sensor P100 Uptime', }), 'context': , 'entity_id': 'sensor.multi_state_sensor_p100_uptime', @@ -1906,10 +1906,10 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Battery', + : 'battery', + : 'Presence Multi-Sensor FP300 1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_battery', @@ -1959,7 +1959,7 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence Multi-Sensor FP300 1 Battery type', + : 'Presence Multi-Sensor FP300 1 Battery type', }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_battery_type', @@ -2017,10 +2017,10 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Battery voltage', + : 'voltage', + : 'Presence Multi-Sensor FP300 1 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_battery_voltage', @@ -2080,8 +2080,8 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Boot reason', + : 'enum', + : 'Presence Multi-Sensor FP300 1 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -2142,10 +2142,10 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Humidity', + : 'humidity', + : 'Presence Multi-Sensor FP300 1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_humidity', @@ -2197,10 +2197,10 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Illuminance', + : 'illuminance', + : 'Presence Multi-Sensor FP300 1 Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_illuminance', @@ -2252,7 +2252,7 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence Multi-Sensor FP300 1 Reboot count', + : 'Presence Multi-Sensor FP300 1 Reboot count', : , }), 'context': , @@ -2308,10 +2308,10 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Temperature', + : 'temperature', + : 'Presence Multi-Sensor FP300 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_temperature', @@ -2361,7 +2361,7 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence Multi-Sensor FP300 1 Thread channel', + : 'Presence Multi-Sensor FP300 1 Thread channel', }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_thread_channel', @@ -2411,7 +2411,7 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Presence Multi-Sensor FP300 1 Thread network name', + : 'Presence Multi-Sensor FP300 1 Thread network name', }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_thread_network_name', @@ -2472,8 +2472,8 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Thread routing role', + : 'enum', + : 'Presence Multi-Sensor FP300 1 Thread routing role', : list([ 'unspecified', 'unassigned', @@ -2533,8 +2533,8 @@ # name: test_sensors[aqara_presence_fp300][sensor.presence_multi_sensor_fp300_1_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Presence Multi-Sensor FP300 1 Uptime', + : 'uptime', + : 'Presence Multi-Sensor FP300 1 Uptime', }), 'context': , 'entity_id': 'sensor.presence_multi_sensor_fp300_1_uptime', @@ -2586,10 +2586,10 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Climate Sensor W100 Battery', + : 'battery', + : 'Climate Sensor W100 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_battery', @@ -2639,7 +2639,7 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Climate Sensor W100 Battery type', + : 'Climate Sensor W100 Battery type', }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_battery_type', @@ -2697,10 +2697,10 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Climate Sensor W100 Battery voltage', + : 'voltage', + : 'Climate Sensor W100 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_battery_voltage', @@ -2760,8 +2760,8 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Climate Sensor W100 Boot reason', + : 'enum', + : 'Climate Sensor W100 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -2822,7 +2822,7 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_current_switch_position_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Climate Sensor W100 Current switch position (3)', + : 'Climate Sensor W100 Current switch position (3)', : , }), 'context': , @@ -2875,7 +2875,7 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_current_switch_position_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Climate Sensor W100 Current switch position (4)', + : 'Climate Sensor W100 Current switch position (4)', : , }), 'context': , @@ -2928,7 +2928,7 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_current_switch_position_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Climate Sensor W100 Current switch position (5)', + : 'Climate Sensor W100 Current switch position (5)', : , }), 'context': , @@ -2981,10 +2981,10 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Climate Sensor W100 Humidity', + : 'humidity', + : 'Climate Sensor W100 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_humidity', @@ -3036,7 +3036,7 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Climate Sensor W100 Reboot count', + : 'Climate Sensor W100 Reboot count', : , }), 'context': , @@ -3092,10 +3092,10 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Climate Sensor W100 Temperature', + : 'temperature', + : 'Climate Sensor W100 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_temperature', @@ -3145,7 +3145,7 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Climate Sensor W100 Thread channel', + : 'Climate Sensor W100 Thread channel', }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_thread_channel', @@ -3195,7 +3195,7 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Climate Sensor W100 Thread network name', + : 'Climate Sensor W100 Thread network name', }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_thread_network_name', @@ -3256,8 +3256,8 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Climate Sensor W100 Thread routing role', + : 'enum', + : 'Climate Sensor W100 Thread routing role', : list([ 'unspecified', 'unassigned', @@ -3317,8 +3317,8 @@ # name: test_sensors[aqara_sensor_w100][sensor.climate_sensor_w100_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Climate Sensor W100 Uptime', + : 'uptime', + : 'Climate Sensor W100 Uptime', }), 'context': , 'entity_id': 'sensor.climate_sensor_w100_uptime', @@ -3376,10 +3376,10 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Floor Heating Thermostat Active current', + : 'current', + : 'Floor Heating Thermostat Active current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.floor_heating_thermostat_active_current', @@ -3439,8 +3439,8 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Floor Heating Thermostat Boot reason', + : 'enum', + : 'Floor Heating Thermostat Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -3507,10 +3507,10 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Floor Heating Thermostat Energy', + : 'energy', + : 'Floor Heating Thermostat Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.floor_heating_thermostat_energy', @@ -3562,10 +3562,10 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Floor Heating Thermostat Humidity', + : 'humidity', + : 'Floor Heating Thermostat Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.floor_heating_thermostat_humidity', @@ -3617,7 +3617,7 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Floor Heating Thermostat Reboot count', + : 'Floor Heating Thermostat Reboot count', : , }), 'context': , @@ -3673,10 +3673,10 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Floor Heating Thermostat Temperature', + : 'temperature', + : 'Floor Heating Thermostat Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.floor_heating_thermostat_temperature', @@ -3726,7 +3726,7 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Floor Heating Thermostat Thread channel', + : 'Floor Heating Thermostat Thread channel', }), 'context': , 'entity_id': 'sensor.floor_heating_thermostat_thread_channel', @@ -3776,7 +3776,7 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Floor Heating Thermostat Thread network name', + : 'Floor Heating Thermostat Thread network name', }), 'context': , 'entity_id': 'sensor.floor_heating_thermostat_thread_network_name', @@ -3837,8 +3837,8 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Floor Heating Thermostat Thread routing role', + : 'enum', + : 'Floor Heating Thermostat Thread routing role', : list([ 'unspecified', 'unassigned', @@ -3898,8 +3898,8 @@ # name: test_sensors[aqara_thermostat_w500][sensor.floor_heating_thermostat_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Floor Heating Thermostat Uptime', + : 'uptime', + : 'Floor Heating Thermostat Uptime', }), 'context': , 'entity_id': 'sensor.floor_heating_thermostat_uptime', @@ -3951,10 +3951,10 @@ # name: test_sensors[aqara_u200][sensor.aqara_smart_lock_u200_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Aqara Smart Lock U200 Battery', + : 'battery', + : 'Aqara Smart Lock U200 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aqara_smart_lock_u200_battery', @@ -4012,10 +4012,10 @@ # name: test_sensors[aqara_u200][sensor.aqara_smart_lock_u200_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Aqara Smart Lock U200 Battery voltage', + : 'voltage', + : 'Aqara Smart Lock U200 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aqara_smart_lock_u200_battery_voltage', @@ -4075,8 +4075,8 @@ # name: test_sensors[aqara_u200][sensor.aqara_smart_lock_u200_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aqara Smart Lock U200 Boot reason', + : 'enum', + : 'Aqara Smart Lock U200 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -4137,7 +4137,7 @@ # name: test_sensors[aqara_u200][sensor.aqara_smart_lock_u200_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aqara Smart Lock U200 Reboot count', + : 'Aqara Smart Lock U200 Reboot count', : , }), 'context': , @@ -4188,8 +4188,8 @@ # name: test_sensors[aqara_u200][sensor.aqara_smart_lock_u200_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Aqara Smart Lock U200 Uptime', + : 'uptime', + : 'Aqara Smart Lock U200 Uptime', }), 'context': , 'entity_id': 'sensor.aqara_smart_lock_u200_uptime', @@ -4241,7 +4241,7 @@ # name: test_sensors[atios_knx_bridge][sensor.atios_knx_bridge_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Atios KNX Bridge Reboot count', + : 'Atios KNX Bridge Reboot count', : , }), 'context': , @@ -4292,8 +4292,8 @@ # name: test_sensors[atios_knx_bridge][sensor.atios_knx_bridge_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Atios KNX Bridge Uptime', + : 'uptime', + : 'Atios KNX Bridge Uptime', }), 'context': , 'entity_id': 'sensor.atios_knx_bridge_uptime', @@ -4351,10 +4351,10 @@ # name: test_sensors[atios_knx_bridge][sensor.electricity_monitor_ac_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Electricity Monitor (AC) Energy', + : 'energy', + : 'Electricity Monitor (AC) Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.electricity_monitor_ac_energy', @@ -4412,10 +4412,10 @@ # name: test_sensors[atios_knx_bridge][sensor.electricity_monitor_ac_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Electricity Monitor (AC) Power', + : 'power', + : 'Electricity Monitor (AC) Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.electricity_monitor_ac_power', @@ -4475,8 +4475,8 @@ # name: test_sensors[color_temperature_light][sensor.mock_color_temperature_light_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Color Temperature Light Boot reason', + : 'enum', + : 'Mock Color Temperature Light Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -4537,7 +4537,7 @@ # name: test_sensors[color_temperature_light][sensor.mock_color_temperature_light_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Color Temperature Light Reboot count', + : 'Mock Color Temperature Light Reboot count', : , }), 'context': , @@ -4588,8 +4588,8 @@ # name: test_sensors[color_temperature_light][sensor.mock_color_temperature_light_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Color Temperature Light Uptime', + : 'uptime', + : 'Mock Color Temperature Light Uptime', }), 'context': , 'entity_id': 'sensor.mock_color_temperature_light_uptime', @@ -4639,8 +4639,8 @@ # name: test_sensors[eberle_ute3000][sensor.connected_thermostat_ute_3000_heating_demand-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Connected Thermostat UTE 3000 Heating demand', - 'unit_of_measurement': '%', + : 'Connected Thermostat UTE 3000 Heating demand', + : '%', }), 'context': , 'entity_id': 'sensor.connected_thermostat_ute_3000_heating_demand', @@ -4692,7 +4692,7 @@ # name: test_sensors[eberle_ute3000][sensor.connected_thermostat_ute_3000_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Connected Thermostat UTE 3000 Reboot count', + : 'Connected Thermostat UTE 3000 Reboot count', : , }), 'context': , @@ -4748,10 +4748,10 @@ # name: test_sensors[eberle_ute3000][sensor.connected_thermostat_ute_3000_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Connected Thermostat UTE 3000 Temperature', + : 'temperature', + : 'Connected Thermostat UTE 3000 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.connected_thermostat_ute_3000_temperature', @@ -4803,10 +4803,10 @@ # name: test_sensors[eberle_ute3000][sensor.connected_thermostat_ute_3000_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Connected Thermostat UTE 3000 Wi-Fi RSSI', + : 'signal_strength', + : 'Connected Thermostat UTE 3000 Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.connected_thermostat_ute_3000_wi_fi_rssi', @@ -4858,10 +4858,10 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'ecodeebot Battery', + : 'battery', + : 'ecodeebot Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ecodeebot_battery', @@ -4917,8 +4917,8 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_battery_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ecodeebot Battery charge state', + : 'enum', + : 'ecodeebot Battery charge state', : list([ 'not_charging', 'charging', @@ -4983,8 +4983,8 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ecodeebot Boot reason', + : 'enum', + : 'ecodeebot Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -5076,8 +5076,8 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_current_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ecodeebot Current phase', + : 'enum', + : 'ecodeebot Current phase', : list([ 'Return', 'Goto', @@ -5181,8 +5181,8 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ecodeebot Operational error', + : 'enum', + : 'ecodeebot Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -5263,8 +5263,8 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ecodeebot Operational state', + : 'enum', + : 'ecodeebot Operational state', : list([ 'stopped', 'running', @@ -5325,7 +5325,7 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ecodeebot Reboot count', + : 'ecodeebot Reboot count', : , }), 'context': , @@ -5384,10 +5384,10 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_time_to_full_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'ecodeebot Time to full charge', + : 'duration', + : 'ecodeebot Time to full charge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodeebot_time_to_full_charge', @@ -5437,8 +5437,8 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'ecodeebot Uptime', + : 'uptime', + : 'ecodeebot Uptime', }), 'context': , 'entity_id': 'sensor.ecodeebot_uptime', @@ -5490,10 +5490,10 @@ # name: test_sensors[ecovacs_deebot][sensor.ecodeebot_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'ecodeebot Wi-Fi RSSI', + : 'signal_strength', + : 'ecodeebot Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.ecodeebot_wi_fi_rssi', @@ -5545,10 +5545,10 @@ # name: test_sensors[eufy_vacuum_omni_e28][sensor.2bavs_ab6031x_44pe_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': '2BAVS-AB6031X-44PE Battery', + : 'battery', + : '2BAVS-AB6031X-44PE Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.2bavs_ab6031x_44pe_battery', @@ -5604,8 +5604,8 @@ # name: test_sensors[eufy_vacuum_omni_e28][sensor.2bavs_ab6031x_44pe_battery_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '2BAVS-AB6031X-44PE Battery charge state', + : 'enum', + : '2BAVS-AB6031X-44PE Battery charge state', : list([ 'not_charging', 'charging', @@ -5670,8 +5670,8 @@ # name: test_sensors[eufy_vacuum_omni_e28][sensor.2bavs_ab6031x_44pe_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '2BAVS-AB6031X-44PE Boot reason', + : 'enum', + : '2BAVS-AB6031X-44PE Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -5752,8 +5752,8 @@ # name: test_sensors[eufy_vacuum_omni_e28][sensor.2bavs_ab6031x_44pe_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '2BAVS-AB6031X-44PE Operational error', + : 'enum', + : '2BAVS-AB6031X-44PE Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -5834,8 +5834,8 @@ # name: test_sensors[eufy_vacuum_omni_e28][sensor.2bavs_ab6031x_44pe_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '2BAVS-AB6031X-44PE Operational state', + : 'enum', + : '2BAVS-AB6031X-44PE Operational state', : list([ 'stopped', 'running', @@ -5896,7 +5896,7 @@ # name: test_sensors[eufy_vacuum_omni_e28][sensor.2bavs_ab6031x_44pe_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '2BAVS-AB6031X-44PE Reboot count', + : '2BAVS-AB6031X-44PE Reboot count', : , }), 'context': , @@ -5947,8 +5947,8 @@ # name: test_sensors[eufy_vacuum_omni_e28][sensor.2bavs_ab6031x_44pe_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': '2BAVS-AB6031X-44PE Uptime', + : 'uptime', + : '2BAVS-AB6031X-44PE Uptime', }), 'context': , 'entity_id': 'sensor.2bavs_ab6031x_44pe_uptime', @@ -6000,10 +6000,10 @@ # name: test_sensors[eve_contact_sensor][sensor.eve_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Eve Door Battery', + : 'battery', + : 'Eve Door Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.eve_door_battery', @@ -6061,10 +6061,10 @@ # name: test_sensors[eve_contact_sensor][sensor.eve_door_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Eve Door Battery voltage', + : 'voltage', + : 'Eve Door Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_door_battery_voltage', @@ -6116,7 +6116,7 @@ # name: test_sensors[eve_contact_sensor][sensor.eve_door_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Door Reboot count', + : 'Eve Door Reboot count', : , }), 'context': , @@ -6167,7 +6167,7 @@ # name: test_sensors[eve_contact_sensor][sensor.eve_door_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Door Thread channel', + : 'Eve Door Thread channel', }), 'context': , 'entity_id': 'sensor.eve_door_thread_channel', @@ -6217,7 +6217,7 @@ # name: test_sensors[eve_contact_sensor][sensor.eve_door_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Door Thread network name', + : 'Eve Door Thread network name', }), 'context': , 'entity_id': 'sensor.eve_door_thread_network_name', @@ -6278,8 +6278,8 @@ # name: test_sensors[eve_contact_sensor][sensor.eve_door_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Door Thread routing role', + : 'enum', + : 'Eve Door Thread routing role', : list([ 'unspecified', 'unassigned', @@ -6339,8 +6339,8 @@ # name: test_sensors[eve_contact_sensor][sensor.eve_door_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Door Uptime', + : 'uptime', + : 'Eve Door Uptime', }), 'context': , 'entity_id': 'sensor.eve_door_uptime', @@ -6395,10 +6395,10 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_current_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Eve Energy 20ECN4101 Current (top)', + : 'current', + : 'Eve Energy 20ECN4101 Current (top)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_20ecn4101_current_top', @@ -6453,10 +6453,10 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_energy_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eve Energy 20ECN4101 Energy (top)', + : 'energy', + : 'Eve Energy 20ECN4101 Energy (top)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_20ecn4101_energy_top', @@ -6511,10 +6511,10 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_power_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Eve Energy 20ECN4101 Power (top)', + : 'power', + : 'Eve Energy 20ECN4101 Power (top)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_20ecn4101_power_top', @@ -6566,7 +6566,7 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy 20ECN4101 Reboot count', + : 'Eve Energy 20ECN4101 Reboot count', : , }), 'context': , @@ -6617,7 +6617,7 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy 20ECN4101 Thread channel', + : 'Eve Energy 20ECN4101 Thread channel', }), 'context': , 'entity_id': 'sensor.eve_energy_20ecn4101_thread_channel', @@ -6667,7 +6667,7 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy 20ECN4101 Thread network name', + : 'Eve Energy 20ECN4101 Thread network name', }), 'context': , 'entity_id': 'sensor.eve_energy_20ecn4101_thread_network_name', @@ -6728,8 +6728,8 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Energy 20ECN4101 Thread routing role', + : 'enum', + : 'Eve Energy 20ECN4101 Thread routing role', : list([ 'unspecified', 'unassigned', @@ -6789,8 +6789,8 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Energy 20ECN4101 Uptime', + : 'uptime', + : 'Eve Energy 20ECN4101 Uptime', }), 'context': , 'entity_id': 'sensor.eve_energy_20ecn4101_uptime', @@ -6845,10 +6845,10 @@ # name: test_sensors[eve_energy_20ecn4101][sensor.eve_energy_20ecn4101_voltage_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Eve Energy 20ECN4101 Voltage (top)', + : 'voltage', + : 'Eve Energy 20ECN4101 Voltage (top)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_20ecn4101_voltage_top', @@ -6903,10 +6903,10 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Eve Energy Plug Current', + : 'current', + : 'Eve Energy Plug Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_current', @@ -6961,10 +6961,10 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eve Energy Plug Energy', + : 'energy', + : 'Eve Energy Plug Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_energy', @@ -7019,10 +7019,10 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Eve Energy Plug Power', + : 'power', + : 'Eve Energy Plug Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_power', @@ -7074,7 +7074,7 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Reboot count', + : 'Eve Energy Plug Reboot count', : , }), 'context': , @@ -7125,7 +7125,7 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Thread channel', + : 'Eve Energy Plug Thread channel', }), 'context': , 'entity_id': 'sensor.eve_energy_plug_thread_channel', @@ -7175,7 +7175,7 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Thread network name', + : 'Eve Energy Plug Thread network name', }), 'context': , 'entity_id': 'sensor.eve_energy_plug_thread_network_name', @@ -7236,8 +7236,8 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Energy Plug Thread routing role', + : 'enum', + : 'Eve Energy Plug Thread routing role', : list([ 'unspecified', 'unassigned', @@ -7297,8 +7297,8 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Energy Plug Uptime', + : 'uptime', + : 'Eve Energy Plug Uptime', }), 'context': , 'entity_id': 'sensor.eve_energy_plug_uptime', @@ -7353,10 +7353,10 @@ # name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Eve Energy Plug Voltage', + : 'voltage', + : 'Eve Energy Plug Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_voltage', @@ -7414,10 +7414,10 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Eve Energy Plug Patched Active current', + : 'current', + : 'Eve Energy Plug Patched Active current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_patched_active_current', @@ -7475,10 +7475,10 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eve Energy Plug Patched Energy', + : 'energy', + : 'Eve Energy Plug Patched Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_patched_energy', @@ -7536,10 +7536,10 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Eve Energy Plug Patched Power', + : 'power', + : 'Eve Energy Plug Patched Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_patched_power', @@ -7591,7 +7591,7 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Patched Reboot count', + : 'Eve Energy Plug Patched Reboot count', : , }), 'context': , @@ -7642,7 +7642,7 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Patched Thread channel', + : 'Eve Energy Plug Patched Thread channel', }), 'context': , 'entity_id': 'sensor.eve_energy_plug_patched_thread_channel', @@ -7692,7 +7692,7 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Patched Thread network name', + : 'Eve Energy Plug Patched Thread network name', }), 'context': , 'entity_id': 'sensor.eve_energy_plug_patched_thread_network_name', @@ -7753,8 +7753,8 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Energy Plug Patched Thread routing role', + : 'enum', + : 'Eve Energy Plug Patched Thread routing role', : list([ 'unspecified', 'unassigned', @@ -7814,8 +7814,8 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Energy Plug Patched Uptime', + : 'uptime', + : 'Eve Energy Plug Patched Uptime', }), 'context': , 'entity_id': 'sensor.eve_energy_plug_patched_uptime', @@ -7873,10 +7873,10 @@ # name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Eve Energy Plug Patched Voltage', + : 'voltage', + : 'Eve Energy Plug Patched Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_energy_plug_patched_voltage', @@ -7928,7 +7928,7 @@ # name: test_sensors[eve_shutter][sensor.eve_shutter_switch_20eci1701_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Reboot count', + : 'Eve Shutter Switch 20ECI1701 Reboot count', : , }), 'context': , @@ -7979,8 +7979,8 @@ # name: test_sensors[eve_shutter][sensor.eve_shutter_switch_20eci1701_target_opening_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Target opening position', - 'unit_of_measurement': '%', + : 'Eve Shutter Switch 20ECI1701 Target opening position', + : '%', }), 'context': , 'entity_id': 'sensor.eve_shutter_switch_20eci1701_target_opening_position', @@ -8030,7 +8030,7 @@ # name: test_sensors[eve_shutter][sensor.eve_shutter_switch_20eci1701_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Thread channel', + : 'Eve Shutter Switch 20ECI1701 Thread channel', }), 'context': , 'entity_id': 'sensor.eve_shutter_switch_20eci1701_thread_channel', @@ -8080,7 +8080,7 @@ # name: test_sensors[eve_shutter][sensor.eve_shutter_switch_20eci1701_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Thread network name', + : 'Eve Shutter Switch 20ECI1701 Thread network name', }), 'context': , 'entity_id': 'sensor.eve_shutter_switch_20eci1701_thread_network_name', @@ -8141,8 +8141,8 @@ # name: test_sensors[eve_shutter][sensor.eve_shutter_switch_20eci1701_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Thread routing role', + : 'enum', + : 'Eve Shutter Switch 20ECI1701 Thread routing role', : list([ 'unspecified', 'unassigned', @@ -8202,8 +8202,8 @@ # name: test_sensors[eve_shutter][sensor.eve_shutter_switch_20eci1701_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Uptime', + : 'uptime', + : 'Eve Shutter Switch 20ECI1701 Uptime', }), 'context': , 'entity_id': 'sensor.eve_shutter_switch_20eci1701_uptime', @@ -8255,10 +8255,10 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Eve Thermo 20EBP1701 Battery', + : 'battery', + : 'Eve Thermo 20EBP1701 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ebp1701_battery', @@ -8316,10 +8316,10 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Eve Thermo 20EBP1701 Battery voltage', + : 'voltage', + : 'Eve Thermo 20EBP1701 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_thermo_20ebp1701_battery_voltage', @@ -8371,7 +8371,7 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20EBP1701 Reboot count', + : 'Eve Thermo 20EBP1701 Reboot count', : , }), 'context': , @@ -8427,10 +8427,10 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Eve Thermo 20EBP1701 Temperature', + : 'temperature', + : 'Eve Thermo 20EBP1701 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_thermo_20ebp1701_temperature', @@ -8480,7 +8480,7 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20EBP1701 Thread channel', + : 'Eve Thermo 20EBP1701 Thread channel', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ebp1701_thread_channel', @@ -8530,7 +8530,7 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20EBP1701 Thread network name', + : 'Eve Thermo 20EBP1701 Thread network name', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ebp1701_thread_network_name', @@ -8591,8 +8591,8 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Thermo 20EBP1701 Thread routing role', + : 'enum', + : 'Eve Thermo 20EBP1701 Thread routing role', : list([ 'unspecified', 'unassigned', @@ -8652,8 +8652,8 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Thermo 20EBP1701 Uptime', + : 'uptime', + : 'Eve Thermo 20EBP1701 Uptime', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ebp1701_uptime', @@ -8703,8 +8703,8 @@ # name: test_sensors[eve_thermo_v4][sensor.eve_thermo_20ebp1701_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20EBP1701 Valve position', - 'unit_of_measurement': '%', + : 'Eve Thermo 20EBP1701 Valve position', + : '%', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ebp1701_valve_position', @@ -8756,10 +8756,10 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Eve Thermo 20ECD1701 Battery', + : 'battery', + : 'Eve Thermo 20ECD1701 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ecd1701_battery', @@ -8811,7 +8811,7 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20ECD1701 Reboot count', + : 'Eve Thermo 20ECD1701 Reboot count', : , }), 'context': , @@ -8867,10 +8867,10 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Eve Thermo 20ECD1701 Temperature', + : 'temperature', + : 'Eve Thermo 20ECD1701 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_thermo_20ecd1701_temperature', @@ -8920,7 +8920,7 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20ECD1701 Thread channel', + : 'Eve Thermo 20ECD1701 Thread channel', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ecd1701_thread_channel', @@ -8970,7 +8970,7 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20ECD1701 Thread network name', + : 'Eve Thermo 20ECD1701 Thread network name', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ecd1701_thread_network_name', @@ -9031,8 +9031,8 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Thermo 20ECD1701 Thread routing role', + : 'enum', + : 'Eve Thermo 20ECD1701 Thread routing role', : list([ 'unspecified', 'unassigned', @@ -9092,8 +9092,8 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Thermo 20ECD1701 Uptime', + : 'uptime', + : 'Eve Thermo 20ECD1701 Uptime', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ecd1701_uptime', @@ -9143,8 +9143,8 @@ # name: test_sensors[eve_thermo_v5][sensor.eve_thermo_20ecd1701_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20ECD1701 Valve position', - 'unit_of_measurement': '%', + : 'Eve Thermo 20ECD1701 Valve position', + : '%', }), 'context': , 'entity_id': 'sensor.eve_thermo_20ecd1701_valve_position', @@ -9196,10 +9196,10 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Eve Weather Battery', + : 'battery', + : 'Eve Weather Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.eve_weather_battery', @@ -9257,10 +9257,10 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Eve Weather Battery voltage', + : 'voltage', + : 'Eve Weather Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_weather_battery_voltage', @@ -9312,10 +9312,10 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Eve Weather Humidity', + : 'humidity', + : 'Eve Weather Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.eve_weather_humidity', @@ -9370,10 +9370,10 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Eve Weather Pressure', + : 'pressure', + : 'Eve Weather Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_weather_pressure', @@ -9425,7 +9425,7 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Weather Reboot count', + : 'Eve Weather Reboot count', : , }), 'context': , @@ -9481,10 +9481,10 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Eve Weather Temperature', + : 'temperature', + : 'Eve Weather Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eve_weather_temperature', @@ -9534,7 +9534,7 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Weather Thread channel', + : 'Eve Weather Thread channel', }), 'context': , 'entity_id': 'sensor.eve_weather_thread_channel', @@ -9584,7 +9584,7 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Weather Thread network name', + : 'Eve Weather Thread network name', }), 'context': , 'entity_id': 'sensor.eve_weather_thread_network_name', @@ -9645,8 +9645,8 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Weather Thread routing role', + : 'enum', + : 'Eve Weather Thread routing role', : list([ 'unspecified', 'unassigned', @@ -9706,8 +9706,8 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Eve Weather Uptime', + : 'uptime', + : 'Eve Weather Uptime', }), 'context': , 'entity_id': 'sensor.eve_weather_uptime', @@ -9764,8 +9764,8 @@ # name: test_sensors[eve_weather_sensor][sensor.eve_weather_weather_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eve Weather Weather trend', + : 'enum', + : 'Eve Weather Weather trend', : list([ 'sunny', 'cloudy', @@ -9831,8 +9831,8 @@ # name: test_sensors[extended_color_light][sensor.mock_extended_color_light_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Extended Color Light Boot reason', + : 'enum', + : 'Mock Extended Color Light Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -9893,7 +9893,7 @@ # name: test_sensors[extended_color_light][sensor.mock_extended_color_light_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extended Color Light Reboot count', + : 'Mock Extended Color Light Reboot count', : , }), 'context': , @@ -9944,8 +9944,8 @@ # name: test_sensors[extended_color_light][sensor.mock_extended_color_light_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Extended Color Light Uptime', + : 'uptime', + : 'Mock Extended Color Light Uptime', }), 'context': , 'entity_id': 'sensor.mock_extended_color_light_uptime', @@ -9997,10 +9997,10 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'HJMT-6B Battery', + : 'battery', + : 'HJMT-6B Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hjmt_6b_battery', @@ -10058,10 +10058,10 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'HJMT-6B Battery voltage', + : 'voltage', + : 'HJMT-6B Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hjmt_6b_battery_voltage', @@ -10121,8 +10121,8 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'HJMT-6B Boot reason', + : 'enum', + : 'HJMT-6B Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -10183,7 +10183,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Current switch position (1)', + : 'HJMT-6B Current switch position (1)', : , }), 'context': , @@ -10236,7 +10236,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Current switch position (2)', + : 'HJMT-6B Current switch position (2)', : , }), 'context': , @@ -10289,7 +10289,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Current switch position (3)', + : 'HJMT-6B Current switch position (3)', : , }), 'context': , @@ -10342,7 +10342,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Current switch position (4)', + : 'HJMT-6B Current switch position (4)', : , }), 'context': , @@ -10395,7 +10395,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Current switch position (5)', + : 'HJMT-6B Current switch position (5)', : , }), 'context': , @@ -10448,7 +10448,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Current switch position (6)', + : 'HJMT-6B Current switch position (6)', : , }), 'context': , @@ -10501,7 +10501,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Reboot count', + : 'HJMT-6B Reboot count', : , }), 'context': , @@ -10552,7 +10552,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Thread channel', + : 'HJMT-6B Thread channel', }), 'context': , 'entity_id': 'sensor.hjmt_6b_thread_channel', @@ -10602,7 +10602,7 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HJMT-6B Thread network name', + : 'HJMT-6B Thread network name', }), 'context': , 'entity_id': 'sensor.hjmt_6b_thread_network_name', @@ -10663,8 +10663,8 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'HJMT-6B Thread routing role', + : 'enum', + : 'HJMT-6B Thread routing role', : list([ 'unspecified', 'unassigned', @@ -10724,8 +10724,8 @@ # name: test_sensors[haojai_switch][sensor.hjmt_6b_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'HJMT-6B Uptime', + : 'uptime', + : 'HJMT-6B Uptime', }), 'context': , 'entity_id': 'sensor.hjmt_6b_uptime', @@ -10777,10 +10777,10 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smart CO sensor Battery', + : 'battery', + : 'Smart CO sensor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smart_co_sensor_battery', @@ -10830,7 +10830,7 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart CO sensor Battery type', + : 'Smart CO sensor Battery type', }), 'context': , 'entity_id': 'sensor.smart_co_sensor_battery_type', @@ -10888,10 +10888,10 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart CO sensor Battery voltage', + : 'voltage', + : 'Smart CO sensor Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_co_sensor_battery_voltage', @@ -10943,10 +10943,10 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Smart CO sensor Carbon monoxide', + : 'carbon_monoxide', + : 'Smart CO sensor Carbon monoxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.smart_co_sensor_carbon_monoxide', @@ -10998,7 +10998,7 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart CO sensor Reboot count', + : 'Smart CO sensor Reboot count', : , }), 'context': , @@ -11049,7 +11049,7 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart CO sensor Thread channel', + : 'Smart CO sensor Thread channel', }), 'context': , 'entity_id': 'sensor.smart_co_sensor_thread_channel', @@ -11099,7 +11099,7 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart CO sensor Thread network name', + : 'Smart CO sensor Thread network name', }), 'context': , 'entity_id': 'sensor.smart_co_sensor_thread_network_name', @@ -11160,8 +11160,8 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart CO sensor Thread routing role', + : 'enum', + : 'Smart CO sensor Thread routing role', : list([ 'unspecified', 'unassigned', @@ -11229,10 +11229,10 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Smart CO sensor Time remaining', + : 'duration', + : 'Smart CO sensor Time remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_co_sensor_time_remaining', @@ -11282,8 +11282,8 @@ # name: test_sensors[heiman_co_sensor][sensor.smart_co_sensor_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Smart CO sensor Uptime', + : 'uptime', + : 'Smart CO sensor Uptime', }), 'context': , 'entity_id': 'sensor.smart_co_sensor_uptime', @@ -11335,10 +11335,10 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smart motion sensor Battery', + : 'battery', + : 'Smart motion sensor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_battery', @@ -11388,7 +11388,7 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart motion sensor Battery type', + : 'Smart motion sensor Battery type', }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_battery_type', @@ -11446,10 +11446,10 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart motion sensor Battery voltage', + : 'voltage', + : 'Smart motion sensor Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_battery_voltage', @@ -11501,10 +11501,10 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Smart motion sensor Illuminance', + : 'illuminance', + : 'Smart motion sensor Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_illuminance', @@ -11556,7 +11556,7 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart motion sensor Reboot count', + : 'Smart motion sensor Reboot count', : , }), 'context': , @@ -11607,7 +11607,7 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart motion sensor Thread channel', + : 'Smart motion sensor Thread channel', }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_thread_channel', @@ -11657,7 +11657,7 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart motion sensor Thread network name', + : 'Smart motion sensor Thread network name', }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_thread_network_name', @@ -11718,8 +11718,8 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart motion sensor Thread routing role', + : 'enum', + : 'Smart motion sensor Thread routing role', : list([ 'unspecified', 'unassigned', @@ -11787,10 +11787,10 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Smart motion sensor Time remaining', + : 'duration', + : 'Smart motion sensor Time remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_time_remaining', @@ -11840,8 +11840,8 @@ # name: test_sensors[heiman_motion_sensor_m1][sensor.smart_motion_sensor_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Smart motion sensor Uptime', + : 'uptime', + : 'Smart motion sensor Uptime', }), 'context': , 'entity_id': 'sensor.smart_motion_sensor_uptime', @@ -11893,10 +11893,10 @@ # name: test_sensors[heiman_smoke_detector][sensor.smoke_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smoke sensor Battery', + : 'battery', + : 'Smoke sensor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smoke_sensor_battery', @@ -11946,7 +11946,7 @@ # name: test_sensors[heiman_smoke_detector][sensor.smoke_sensor_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke sensor Battery type', + : 'Smoke sensor Battery type', }), 'context': , 'entity_id': 'sensor.smoke_sensor_battery_type', @@ -12004,10 +12004,10 @@ # name: test_sensors[heiman_smoke_detector][sensor.smoke_sensor_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smoke sensor Battery voltage', + : 'voltage', + : 'Smoke sensor Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smoke_sensor_battery_voltage', @@ -12067,8 +12067,8 @@ # name: test_sensors[heiman_smoke_detector][sensor.smoke_sensor_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smoke sensor Boot reason', + : 'enum', + : 'Smoke sensor Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -12129,7 +12129,7 @@ # name: test_sensors[heiman_smoke_detector][sensor.smoke_sensor_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke sensor Reboot count', + : 'Smoke sensor Reboot count', : , }), 'context': , @@ -12180,8 +12180,8 @@ # name: test_sensors[heiman_smoke_detector][sensor.smoke_sensor_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Smoke sensor Uptime', + : 'uptime', + : 'Smoke sensor Uptime', }), 'context': , 'entity_id': 'sensor.smoke_sensor_uptime', @@ -12240,8 +12240,8 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ALPSTUGA air quality monitor Air quality', + : 'enum', + : 'ALPSTUGA air quality monitor Air quality', : list([ 'extremely_poor', 'very_poor', @@ -12309,8 +12309,8 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ALPSTUGA air quality monitor Boot reason', + : 'enum', + : 'ALPSTUGA air quality monitor Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -12371,10 +12371,10 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'ALPSTUGA air quality monitor Carbon dioxide', + : 'carbon_dioxide', + : 'ALPSTUGA air quality monitor Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.alpstuga_air_quality_monitor_carbon_dioxide', @@ -12426,10 +12426,10 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'ALPSTUGA air quality monitor Humidity', + : 'humidity', + : 'ALPSTUGA air quality monitor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.alpstuga_air_quality_monitor_humidity', @@ -12481,10 +12481,10 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'ALPSTUGA air quality monitor PM2.5', + : 'pm25', + : 'ALPSTUGA air quality monitor PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.alpstuga_air_quality_monitor_pm2_5', @@ -12536,7 +12536,7 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ALPSTUGA air quality monitor Reboot count', + : 'ALPSTUGA air quality monitor Reboot count', : , }), 'context': , @@ -12592,10 +12592,10 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'ALPSTUGA air quality monitor Temperature', + : 'temperature', + : 'ALPSTUGA air quality monitor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.alpstuga_air_quality_monitor_temperature', @@ -12645,7 +12645,7 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ALPSTUGA air quality monitor Thread channel', + : 'ALPSTUGA air quality monitor Thread channel', }), 'context': , 'entity_id': 'sensor.alpstuga_air_quality_monitor_thread_channel', @@ -12695,7 +12695,7 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ALPSTUGA air quality monitor Thread network name', + : 'ALPSTUGA air quality monitor Thread network name', }), 'context': , 'entity_id': 'sensor.alpstuga_air_quality_monitor_thread_network_name', @@ -12756,8 +12756,8 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ALPSTUGA air quality monitor Thread routing role', + : 'enum', + : 'ALPSTUGA air quality monitor Thread routing role', : list([ 'unspecified', 'unassigned', @@ -12817,8 +12817,8 @@ # name: test_sensors[ikea_air_quality_monitor][sensor.alpstuga_air_quality_monitor_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'ALPSTUGA air quality monitor Uptime', + : 'uptime', + : 'ALPSTUGA air quality monitor Uptime', }), 'context': , 'entity_id': 'sensor.alpstuga_air_quality_monitor_uptime', @@ -12870,10 +12870,10 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'BILRESA dual button Battery', + : 'battery', + : 'BILRESA dual button Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bilresa_dual_button_battery', @@ -12923,7 +12923,7 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA dual button Battery type', + : 'BILRESA dual button Battery type', }), 'context': , 'entity_id': 'sensor.bilresa_dual_button_battery_type', @@ -12981,10 +12981,10 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'BILRESA dual button Battery voltage', + : 'voltage', + : 'BILRESA dual button Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bilresa_dual_button_battery_voltage', @@ -13036,7 +13036,7 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_current_switch_position_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA dual button Current switch position (1)', + : 'BILRESA dual button Current switch position (1)', : , }), 'context': , @@ -13089,7 +13089,7 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_current_switch_position_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA dual button Current switch position (2)', + : 'BILRESA dual button Current switch position (2)', : , }), 'context': , @@ -13142,7 +13142,7 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA dual button Reboot count', + : 'BILRESA dual button Reboot count', : , }), 'context': , @@ -13193,7 +13193,7 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA dual button Thread channel', + : 'BILRESA dual button Thread channel', }), 'context': , 'entity_id': 'sensor.bilresa_dual_button_thread_channel', @@ -13243,7 +13243,7 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA dual button Thread network name', + : 'BILRESA dual button Thread network name', }), 'context': , 'entity_id': 'sensor.bilresa_dual_button_thread_network_name', @@ -13304,8 +13304,8 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'BILRESA dual button Thread routing role', + : 'enum', + : 'BILRESA dual button Thread routing role', : list([ 'unspecified', 'unassigned', @@ -13365,8 +13365,8 @@ # name: test_sensors[ikea_bilresa_dual_button][sensor.bilresa_dual_button_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'BILRESA dual button Uptime', + : 'uptime', + : 'BILRESA dual button Uptime', }), 'context': , 'entity_id': 'sensor.bilresa_dual_button_uptime', @@ -13418,10 +13418,10 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'BILRESA scroll wheel Battery', + : 'battery', + : 'BILRESA scroll wheel Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bilresa_scroll_wheel_battery', @@ -13471,7 +13471,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_battery_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Battery type', + : 'BILRESA scroll wheel Battery type', }), 'context': , 'entity_id': 'sensor.bilresa_scroll_wheel_battery_type', @@ -13529,10 +13529,10 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'BILRESA scroll wheel Battery voltage', + : 'voltage', + : 'BILRESA scroll wheel Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bilresa_scroll_wheel_battery_voltage', @@ -13584,7 +13584,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (1)', + : 'BILRESA scroll wheel Current switch position (1)', : , }), 'context': , @@ -13637,7 +13637,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (2)', + : 'BILRESA scroll wheel Current switch position (2)', : , }), 'context': , @@ -13690,7 +13690,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (3)', + : 'BILRESA scroll wheel Current switch position (3)', : , }), 'context': , @@ -13743,7 +13743,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (4)', + : 'BILRESA scroll wheel Current switch position (4)', : , }), 'context': , @@ -13796,7 +13796,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (5)', + : 'BILRESA scroll wheel Current switch position (5)', : , }), 'context': , @@ -13849,7 +13849,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (6)', + : 'BILRESA scroll wheel Current switch position (6)', : , }), 'context': , @@ -13902,7 +13902,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (7)', + : 'BILRESA scroll wheel Current switch position (7)', : , }), 'context': , @@ -13955,7 +13955,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (8)', + : 'BILRESA scroll wheel Current switch position (8)', : , }), 'context': , @@ -14008,7 +14008,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_current_switch_position_9-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Current switch position (9)', + : 'BILRESA scroll wheel Current switch position (9)', : , }), 'context': , @@ -14061,7 +14061,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Reboot count', + : 'BILRESA scroll wheel Reboot count', : , }), 'context': , @@ -14112,7 +14112,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Thread channel', + : 'BILRESA scroll wheel Thread channel', }), 'context': , 'entity_id': 'sensor.bilresa_scroll_wheel_thread_channel', @@ -14162,7 +14162,7 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BILRESA scroll wheel Thread network name', + : 'BILRESA scroll wheel Thread network name', }), 'context': , 'entity_id': 'sensor.bilresa_scroll_wheel_thread_network_name', @@ -14223,8 +14223,8 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'BILRESA scroll wheel Thread routing role', + : 'enum', + : 'BILRESA scroll wheel Thread routing role', : list([ 'unspecified', 'unassigned', @@ -14284,8 +14284,8 @@ # name: test_sensors[ikea_scroll_wheel][sensor.bilresa_scroll_wheel_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'BILRESA scroll wheel Uptime', + : 'uptime', + : 'BILRESA scroll wheel Uptime', }), 'context': , 'entity_id': 'sensor.bilresa_scroll_wheel_uptime', @@ -14343,10 +14343,10 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'White Series OnOff Switch Active current', + : 'current', + : 'White Series OnOff Switch Active current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_active_current', @@ -14406,8 +14406,8 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'White Series OnOff Switch Boot reason', + : 'enum', + : 'White Series OnOff Switch Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -14468,7 +14468,7 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_current_switch_position_config-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Current switch position (Config)', + : 'White Series OnOff Switch Current switch position (Config)', : , }), 'context': , @@ -14521,7 +14521,7 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_current_switch_position_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Current switch position (Down)', + : 'White Series OnOff Switch Current switch position (Down)', : , }), 'context': , @@ -14574,7 +14574,7 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_current_switch_position_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Current switch position (Up)', + : 'White Series OnOff Switch Current switch position (Up)', : , }), 'context': , @@ -14633,10 +14633,10 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'White Series OnOff Switch Energy', + : 'energy', + : 'White Series OnOff Switch Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_energy', @@ -14688,10 +14688,10 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'White Series OnOff Switch Humidity', + : 'humidity', + : 'White Series OnOff Switch Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_humidity', @@ -14749,10 +14749,10 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'White Series OnOff Switch Power', + : 'power', + : 'White Series OnOff Switch Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_power', @@ -14804,7 +14804,7 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Reboot count', + : 'White Series OnOff Switch Reboot count', : , }), 'context': , @@ -14860,10 +14860,10 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'White Series OnOff Switch Temperature', + : 'temperature', + : 'White Series OnOff Switch Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_temperature', @@ -14913,7 +14913,7 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Thread channel', + : 'White Series OnOff Switch Thread channel', }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_thread_channel', @@ -14963,7 +14963,7 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Series OnOff Switch Thread network name', + : 'White Series OnOff Switch Thread network name', }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_thread_network_name', @@ -15024,8 +15024,8 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'White Series OnOff Switch Thread routing role', + : 'enum', + : 'White Series OnOff Switch Thread routing role', : list([ 'unspecified', 'unassigned', @@ -15085,8 +15085,8 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'White Series OnOff Switch Uptime', + : 'uptime', + : 'White Series OnOff Switch Uptime', }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_uptime', @@ -15144,10 +15144,10 @@ # name: test_sensors[inovelli_vtm30][sensor.white_series_onoff_switch_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'White Series OnOff Switch Voltage', + : 'voltage', + : 'White Series OnOff Switch Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.white_series_onoff_switch_voltage', @@ -15207,8 +15207,8 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inovelli Boot reason', + : 'enum', + : 'Inovelli Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -15269,7 +15269,7 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_current_switch_position_config-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Current switch position (Config)', + : 'Inovelli Current switch position (Config)', : , }), 'context': , @@ -15322,7 +15322,7 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_current_switch_position_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Current switch position (Down)', + : 'Inovelli Current switch position (Down)', : , }), 'context': , @@ -15375,7 +15375,7 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_current_switch_position_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Current switch position (Up)', + : 'Inovelli Current switch position (Up)', : , }), 'context': , @@ -15428,7 +15428,7 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Reboot count', + : 'Inovelli Reboot count', : , }), 'context': , @@ -15479,7 +15479,7 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Thread channel', + : 'Inovelli Thread channel', }), 'context': , 'entity_id': 'sensor.inovelli_thread_channel', @@ -15529,7 +15529,7 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inovelli Thread network name', + : 'Inovelli Thread network name', }), 'context': , 'entity_id': 'sensor.inovelli_thread_network_name', @@ -15590,8 +15590,8 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inovelli Thread routing role', + : 'enum', + : 'Inovelli Thread routing role', : list([ 'unspecified', 'unassigned', @@ -15651,8 +15651,8 @@ # name: test_sensors[inovelli_vtm31][sensor.inovelli_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Inovelli Uptime', + : 'uptime', + : 'Inovelli Uptime', }), 'context': , 'entity_id': 'sensor.inovelli_uptime', @@ -15712,8 +15712,8 @@ # name: test_sensors[longan_link_thermostat][sensor.longan_link_hvac_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Longan link HVAC Boot reason', + : 'enum', + : 'Longan link HVAC Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -15777,10 +15777,10 @@ # name: test_sensors[longan_link_thermostat][sensor.longan_link_hvac_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Longan link HVAC Outdoor temperature', + : 'temperature', + : 'Longan link HVAC Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.longan_link_hvac_outdoor_temperature', @@ -15832,7 +15832,7 @@ # name: test_sensors[longan_link_thermostat][sensor.longan_link_hvac_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Longan link HVAC Reboot count', + : 'Longan link HVAC Reboot count', : , }), 'context': , @@ -15888,10 +15888,10 @@ # name: test_sensors[longan_link_thermostat][sensor.longan_link_hvac_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Longan link HVAC Temperature', + : 'temperature', + : 'Longan link HVAC Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.longan_link_hvac_temperature', @@ -15941,8 +15941,8 @@ # name: test_sensors[longan_link_thermostat][sensor.longan_link_hvac_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Longan link HVAC Uptime', + : 'uptime', + : 'Longan link HVAC Uptime', }), 'context': , 'entity_id': 'sensor.longan_link_hvac_uptime', @@ -15994,10 +15994,10 @@ # name: test_sensors[longan_link_thermostat][sensor.longan_link_hvac_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Longan link HVAC Wi-Fi RSSI', + : 'signal_strength', + : 'Longan link HVAC Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.longan_link_hvac_wi_fi_rssi', @@ -16049,9 +16049,9 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_activated_carbon_filter_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Air Purifier Activated carbon filter condition', + : 'Mock Air Purifier Activated carbon filter condition', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_activated_carbon_filter_condition', @@ -16110,8 +16110,8 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Air Purifier Air quality', + : 'enum', + : 'Mock Air Purifier Air quality', : list([ 'extremely_poor', 'very_poor', @@ -16179,8 +16179,8 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Air Purifier Boot reason', + : 'enum', + : 'Mock Air Purifier Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -16241,10 +16241,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Mock Air Purifier Carbon dioxide', + : 'carbon_dioxide', + : 'Mock Air Purifier Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_carbon_dioxide', @@ -16296,10 +16296,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Mock Air Purifier Carbon monoxide', + : 'carbon_monoxide', + : 'Mock Air Purifier Carbon monoxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_carbon_monoxide', @@ -16351,9 +16351,9 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_hepa_filter_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Air Purifier HEPA filter condition', + : 'Mock Air Purifier HEPA filter condition', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_hepa_filter_condition', @@ -16405,10 +16405,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Mock Air Purifier Humidity', + : 'humidity', + : 'Mock Air Purifier Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_humidity', @@ -16460,10 +16460,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'nitrogen_dioxide', - 'friendly_name': 'Mock Air Purifier Nitrogen dioxide', + : 'nitrogen_dioxide', + : 'Mock Air Purifier Nitrogen dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_nitrogen_dioxide', @@ -16515,10 +16515,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ozone', - 'friendly_name': 'Mock Air Purifier Ozone', + : 'ozone', + : 'Mock Air Purifier Ozone', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_ozone', @@ -16570,10 +16570,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Mock Air Purifier PM1', + : 'pm1', + : 'Mock Air Purifier PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_pm1', @@ -16625,10 +16625,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Mock Air Purifier PM10', + : 'pm10', + : 'Mock Air Purifier PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_pm10', @@ -16680,10 +16680,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Mock Air Purifier PM2.5', + : 'pm25', + : 'Mock Air Purifier PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_pm2_5', @@ -16735,9 +16735,9 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_radon_concentration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Air Purifier Radon concentration', + : 'Mock Air Purifier Radon concentration', : , - 'unit_of_measurement': 'Bq/m³', + : 'Bq/m³', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_radon_concentration', @@ -16789,7 +16789,7 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Air Purifier Reboot count', + : 'Mock Air Purifier Reboot count', : , }), 'context': , @@ -16845,10 +16845,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Air Purifier Temperature', + : 'temperature', + : 'Mock Air Purifier Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_air_purifier_temperature', @@ -16903,10 +16903,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Air Purifier Temperature', + : 'temperature', + : 'Mock Air Purifier Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_air_purifier_temperature_2', @@ -16963,8 +16963,8 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_tvoc_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Air Purifier TVOC level', + : 'enum', + : 'Mock Air Purifier TVOC level', : list([ 'low', 'medium', @@ -17020,8 +17020,8 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Air Purifier Uptime', + : 'uptime', + : 'Mock Air Purifier Uptime', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_uptime', @@ -17073,10 +17073,10 @@ # name: test_sensors[mock_air_purifier][sensor.mock_air_purifier_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'Mock Air Purifier Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'Mock Air Purifier Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.mock_air_purifier_volatile_organic_compounds_parts', @@ -17134,10 +17134,10 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Mock Battery Storage Active current', + : 'current', + : 'Mock Battery Storage Active current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_battery_storage_active_current', @@ -17195,8 +17195,8 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_appliance_energy_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Battery Storage Appliance energy state', + : 'enum', + : 'Mock Battery Storage Appliance energy state', : list([ 'offline', 'online', @@ -17255,10 +17255,10 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Mock Battery Storage Battery', + : 'battery', + : 'Mock Battery Storage Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_battery_storage_battery', @@ -17316,10 +17316,10 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Mock Battery Storage Battery voltage', + : 'voltage', + : 'Mock Battery Storage Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_battery_storage_battery_voltage', @@ -17376,8 +17376,8 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_energy_optimization_opt_out-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Battery Storage Energy optimization opt-out', + : 'enum', + : 'Mock Battery Storage Energy optimization opt-out', : list([ 'no_opt_out', 'local_opt_out', @@ -17441,10 +17441,10 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Mock Battery Storage Power', + : 'power', + : 'Mock Battery Storage Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_battery_storage_power', @@ -17496,7 +17496,7 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Battery Storage Reboot count', + : 'Mock Battery Storage Reboot count', : , }), 'context': , @@ -17555,10 +17555,10 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Battery Storage Time remaining', + : 'duration', + : 'Mock Battery Storage Time remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_battery_storage_time_remaining', @@ -17616,10 +17616,10 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_time_to_full_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Mock Battery Storage Time to full charge', + : 'duration', + : 'Mock Battery Storage Time to full charge', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_battery_storage_time_to_full_charge', @@ -17669,8 +17669,8 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Battery Storage Uptime', + : 'uptime', + : 'Mock Battery Storage Uptime', }), 'context': , 'entity_id': 'sensor.mock_battery_storage_uptime', @@ -17728,10 +17728,10 @@ # name: test_sensors[mock_battery_storage][sensor.mock_battery_storage_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Mock Battery Storage Voltage', + : 'voltage', + : 'Mock Battery Storage Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_battery_storage_voltage', @@ -17791,8 +17791,8 @@ # name: test_sensors[mock_cooktop][sensor.mock_cooktop_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Cooktop Boot reason', + : 'enum', + : 'Mock Cooktop Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -17853,7 +17853,7 @@ # name: test_sensors[mock_cooktop][sensor.mock_cooktop_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Cooktop Reboot count', + : 'Mock Cooktop Reboot count', : , }), 'context': , @@ -17909,10 +17909,10 @@ # name: test_sensors[mock_cooktop][sensor.mock_cooktop_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Cooktop Temperature', + : 'temperature', + : 'Mock Cooktop Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_cooktop_temperature', @@ -17962,8 +17962,8 @@ # name: test_sensors[mock_cooktop][sensor.mock_cooktop_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Cooktop Uptime', + : 'uptime', + : 'Mock Cooktop Uptime', }), 'context': , 'entity_id': 'sensor.mock_cooktop_uptime', @@ -18023,8 +18023,8 @@ # name: test_sensors[mock_dimmable_light][sensor.mock_dimmable_light_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Dimmable Light Boot reason', + : 'enum', + : 'Mock Dimmable Light Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -18085,7 +18085,7 @@ # name: test_sensors[mock_dimmable_light][sensor.mock_dimmable_light_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Dimmable Light Reboot count', + : 'Mock Dimmable Light Reboot count', : , }), 'context': , @@ -18136,8 +18136,8 @@ # name: test_sensors[mock_dimmable_light][sensor.mock_dimmable_light_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Dimmable Light Uptime', + : 'uptime', + : 'Mock Dimmable Light Uptime', }), 'context': , 'entity_id': 'sensor.mock_dimmable_light_uptime', @@ -18189,10 +18189,10 @@ # name: test_sensors[mock_dimmable_light][sensor.mock_dimmable_light_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock Dimmable Light Wi-Fi RSSI', + : 'signal_strength', + : 'Mock Dimmable Light Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_dimmable_light_wi_fi_rssi', @@ -18252,8 +18252,8 @@ # name: test_sensors[mock_dimmable_plugin_unit][sensor.dimmable_plugin_unit_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dimmable Plugin Unit Boot reason', + : 'enum', + : 'Dimmable Plugin Unit Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -18314,7 +18314,7 @@ # name: test_sensors[mock_dimmable_plugin_unit][sensor.dimmable_plugin_unit_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dimmable Plugin Unit Reboot count', + : 'Dimmable Plugin Unit Reboot count', : , }), 'context': , @@ -18365,8 +18365,8 @@ # name: test_sensors[mock_dimmable_plugin_unit][sensor.dimmable_plugin_unit_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Dimmable Plugin Unit Uptime', + : 'uptime', + : 'Dimmable Plugin Unit Uptime', }), 'context': , 'entity_id': 'sensor.dimmable_plugin_unit_uptime', @@ -18418,10 +18418,10 @@ # name: test_sensors[mock_dimmable_plugin_unit][sensor.dimmable_plugin_unit_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Dimmable Plugin Unit Wi-Fi RSSI', + : 'signal_strength', + : 'Dimmable Plugin Unit Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.dimmable_plugin_unit_wi_fi_rssi', @@ -18481,8 +18481,8 @@ # name: test_sensors[mock_door_lock][sensor.mock_door_lock_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Door Lock Boot reason', + : 'enum', + : 'Mock Door Lock Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -18543,7 +18543,7 @@ # name: test_sensors[mock_door_lock][sensor.mock_door_lock_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Reboot count', + : 'Mock Door Lock Reboot count', : , }), 'context': , @@ -18594,8 +18594,8 @@ # name: test_sensors[mock_door_lock][sensor.mock_door_lock_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Door Lock Uptime', + : 'uptime', + : 'Mock Door Lock Uptime', }), 'context': , 'entity_id': 'sensor.mock_door_lock_uptime', @@ -18655,8 +18655,8 @@ # name: test_sensors[mock_door_lock_with_unbolt][sensor.mock_door_lock_with_unbolt_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Door Lock with unbolt Boot reason', + : 'enum', + : 'Mock Door Lock with unbolt Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -18717,7 +18717,7 @@ # name: test_sensors[mock_door_lock_with_unbolt][sensor.mock_door_lock_with_unbolt_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Reboot count', + : 'Mock Door Lock with unbolt Reboot count', : , }), 'context': , @@ -18768,8 +18768,8 @@ # name: test_sensors[mock_door_lock_with_unbolt][sensor.mock_door_lock_with_unbolt_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Door Lock with unbolt Uptime', + : 'uptime', + : 'Mock Door Lock with unbolt Uptime', }), 'context': , 'entity_id': 'sensor.mock_door_lock_with_unbolt_uptime', @@ -18821,9 +18821,9 @@ # name: test_sensors[mock_extractor_hood][sensor.mock_extractor_hood_activated_carbon_filter_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extractor hood Activated carbon filter condition', + : 'Mock Extractor hood Activated carbon filter condition', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_extractor_hood_activated_carbon_filter_condition', @@ -18883,8 +18883,8 @@ # name: test_sensors[mock_extractor_hood][sensor.mock_extractor_hood_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Extractor hood Boot reason', + : 'enum', + : 'Mock Extractor hood Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -18945,9 +18945,9 @@ # name: test_sensors[mock_extractor_hood][sensor.mock_extractor_hood_hepa_filter_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extractor hood HEPA filter condition', + : 'Mock Extractor hood HEPA filter condition', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_extractor_hood_hepa_filter_condition', @@ -18999,7 +18999,7 @@ # name: test_sensors[mock_extractor_hood][sensor.mock_extractor_hood_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Extractor hood Reboot count', + : 'Mock Extractor hood Reboot count', : , }), 'context': , @@ -19050,8 +19050,8 @@ # name: test_sensors[mock_extractor_hood][sensor.mock_extractor_hood_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Extractor hood Uptime', + : 'uptime', + : 'Mock Extractor hood Uptime', }), 'context': , 'entity_id': 'sensor.mock_extractor_hood_uptime', @@ -19111,8 +19111,8 @@ # name: test_sensors[mock_fan][sensor.mocked_fan_switch_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mocked Fan Switch Boot reason', + : 'enum', + : 'Mocked Fan Switch Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -19173,7 +19173,7 @@ # name: test_sensors[mock_fan][sensor.mocked_fan_switch_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mocked Fan Switch Reboot count', + : 'Mocked Fan Switch Reboot count', : , }), 'context': , @@ -19224,7 +19224,7 @@ # name: test_sensors[mock_fan][sensor.mocked_fan_switch_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mocked Fan Switch Thread channel', + : 'Mocked Fan Switch Thread channel', }), 'context': , 'entity_id': 'sensor.mocked_fan_switch_thread_channel', @@ -19274,7 +19274,7 @@ # name: test_sensors[mock_fan][sensor.mocked_fan_switch_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mocked Fan Switch Thread network name', + : 'Mocked Fan Switch Thread network name', }), 'context': , 'entity_id': 'sensor.mocked_fan_switch_thread_network_name', @@ -19335,8 +19335,8 @@ # name: test_sensors[mock_fan][sensor.mocked_fan_switch_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mocked Fan Switch Thread routing role', + : 'enum', + : 'Mocked Fan Switch Thread routing role', : list([ 'unspecified', 'unassigned', @@ -19396,8 +19396,8 @@ # name: test_sensors[mock_fan][sensor.mocked_fan_switch_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mocked Fan Switch Uptime', + : 'uptime', + : 'Mocked Fan Switch Uptime', }), 'context': , 'entity_id': 'sensor.mocked_fan_switch_uptime', @@ -19449,9 +19449,9 @@ # name: test_sensors[mock_flow_sensor][sensor.mock_flow_sensor_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Flow Sensor Flow', + : 'Mock Flow Sensor Flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_flow_sensor_flow', @@ -19503,7 +19503,7 @@ # name: test_sensors[mock_generic_switch][sensor.mock_generic_switch_current_switch_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Generic Switch Current switch position', + : 'Mock Generic Switch Current switch position', : , }), 'context': , @@ -19556,7 +19556,7 @@ # name: test_sensors[mock_generic_switch_multi][sensor.mock_generic_switch_current_switch_position_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Generic Switch Current switch position (1)', + : 'Mock Generic Switch Current switch position (1)', : , }), 'context': , @@ -19609,7 +19609,7 @@ # name: test_sensors[mock_generic_switch_multi][sensor.mock_generic_switch_current_switch_position_fancy_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Generic Switch Current switch position (Fancy Button)', + : 'Mock Generic Switch Current switch position (Fancy Button)', : , }), 'context': , @@ -19662,10 +19662,10 @@ # name: test_sensors[mock_humidity_sensor][sensor.mock_humidity_sensor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Mock Humidity Sensor Humidity', + : 'humidity', + : 'Mock Humidity Sensor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_humidity_sensor_humidity', @@ -19725,8 +19725,8 @@ # name: test_sensors[mock_laundry_dryer][sensor.mock_laundrydryer_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Laundrydryer Boot reason', + : 'enum', + : 'Mock Laundrydryer Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -19791,8 +19791,8 @@ # name: test_sensors[mock_laundry_dryer][sensor.mock_laundrydryer_current_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Laundrydryer Current phase', + : 'enum', + : 'Mock Laundrydryer Current phase', : list([ 'pre-soak', 'rinse', @@ -19854,8 +19854,8 @@ # name: test_sensors[mock_laundry_dryer][sensor.mock_laundrydryer_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Laundrydryer Operational error', + : 'enum', + : 'Mock Laundrydryer Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -19918,8 +19918,8 @@ # name: test_sensors[mock_laundry_dryer][sensor.mock_laundrydryer_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Laundrydryer Operational state', + : 'enum', + : 'Mock Laundrydryer Operational state', : list([ 'stopped', 'running', @@ -19977,7 +19977,7 @@ # name: test_sensors[mock_laundry_dryer][sensor.mock_laundrydryer_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Laundrydryer Reboot count', + : 'Mock Laundrydryer Reboot count', : , }), 'context': , @@ -20028,8 +20028,8 @@ # name: test_sensors[mock_laundry_dryer][sensor.mock_laundrydryer_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Laundrydryer Uptime', + : 'uptime', + : 'Mock Laundrydryer Uptime', }), 'context': , 'entity_id': 'sensor.mock_laundrydryer_uptime', @@ -20081,7 +20081,7 @@ # name: test_sensors[mock_leak_sensor][sensor.water_leak_detector_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Leak Detector Reboot count', + : 'Water Leak Detector Reboot count', : , }), 'context': , @@ -20132,8 +20132,8 @@ # name: test_sensors[mock_leak_sensor][sensor.water_leak_detector_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Water Leak Detector Uptime', + : 'uptime', + : 'Water Leak Detector Uptime', }), 'context': , 'entity_id': 'sensor.water_leak_detector_uptime', @@ -20185,10 +20185,10 @@ # name: test_sensors[mock_light_sensor][sensor.mock_light_sensor_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Mock Light Sensor Illuminance', + : 'illuminance', + : 'Mock Light Sensor Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.mock_light_sensor_illuminance', @@ -20248,8 +20248,8 @@ # name: test_sensors[mock_lock][sensor.mock_lock_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Lock Boot reason', + : 'enum', + : 'Mock Lock Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -20310,7 +20310,7 @@ # name: test_sensors[mock_lock][sensor.mock_lock_door_closed_events-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Door closed events', + : 'Mock Lock Door closed events', : , }), 'context': , @@ -20363,7 +20363,7 @@ # name: test_sensors[mock_lock][sensor.mock_lock_door_open_events-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Door open events', + : 'Mock Lock Door open events', : , }), 'context': , @@ -20416,7 +20416,7 @@ # name: test_sensors[mock_lock][sensor.mock_lock_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Reboot count', + : 'Mock Lock Reboot count', : , }), 'context': , @@ -20467,8 +20467,8 @@ # name: test_sensors[mock_lock][sensor.mock_lock_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Lock Uptime', + : 'uptime', + : 'Mock Lock Uptime', }), 'context': , 'entity_id': 'sensor.mock_lock_uptime', @@ -20528,8 +20528,8 @@ # name: test_sensors[mock_microwave_oven][sensor.mock_microwave_oven_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Microwave Oven Boot reason', + : 'enum', + : 'Mock Microwave Oven Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -20588,8 +20588,8 @@ # name: test_sensors[mock_microwave_oven][sensor.mock_microwave_oven_estimated_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Microwave Oven Estimated end time', + : 'timestamp', + : 'Mock Microwave Oven Estimated end time', }), 'context': , 'entity_id': 'sensor.mock_microwave_oven_estimated_end_time', @@ -20646,8 +20646,8 @@ # name: test_sensors[mock_microwave_oven][sensor.mock_microwave_oven_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Microwave Oven Operational error', + : 'enum', + : 'Mock Microwave Oven Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -20710,8 +20710,8 @@ # name: test_sensors[mock_microwave_oven][sensor.mock_microwave_oven_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Microwave Oven Operational state', + : 'enum', + : 'Mock Microwave Oven Operational state', : list([ 'stopped', 'running', @@ -20769,7 +20769,7 @@ # name: test_sensors[mock_microwave_oven][sensor.mock_microwave_oven_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Microwave Oven Reboot count', + : 'Mock Microwave Oven Reboot count', : , }), 'context': , @@ -20820,8 +20820,8 @@ # name: test_sensors[mock_microwave_oven][sensor.mock_microwave_oven_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Microwave Oven Uptime', + : 'uptime', + : 'Mock Microwave Oven Uptime', }), 'context': , 'entity_id': 'sensor.mock_microwave_oven_uptime', @@ -20881,8 +20881,8 @@ # name: test_sensors[mock_mounted_dimmable_load_control_fixture][sensor.mock_mounted_dimmable_load_control_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Mounted dimmable load control Boot reason', + : 'enum', + : 'Mock Mounted dimmable load control Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -20943,7 +20943,7 @@ # name: test_sensors[mock_mounted_dimmable_load_control_fixture][sensor.mock_mounted_dimmable_load_control_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Mounted dimmable load control Reboot count', + : 'Mock Mounted dimmable load control Reboot count', : , }), 'context': , @@ -20994,8 +20994,8 @@ # name: test_sensors[mock_mounted_dimmable_load_control_fixture][sensor.mock_mounted_dimmable_load_control_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Mounted dimmable load control Uptime', + : 'uptime', + : 'Mock Mounted dimmable load control Uptime', }), 'context': , 'entity_id': 'sensor.mock_mounted_dimmable_load_control_uptime', @@ -21055,8 +21055,8 @@ # name: test_sensors[mock_onoff_light][sensor.mock_onoff_light_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock OnOff Light Boot reason', + : 'enum', + : 'Mock OnOff Light Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -21117,7 +21117,7 @@ # name: test_sensors[mock_onoff_light][sensor.mock_onoff_light_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light Reboot count', + : 'Mock OnOff Light Reboot count', : , }), 'context': , @@ -21168,8 +21168,8 @@ # name: test_sensors[mock_onoff_light][sensor.mock_onoff_light_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock OnOff Light Uptime', + : 'uptime', + : 'Mock OnOff Light Uptime', }), 'context': , 'entity_id': 'sensor.mock_onoff_light_uptime', @@ -21221,10 +21221,10 @@ # name: test_sensors[mock_onoff_light][sensor.mock_onoff_light_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock OnOff Light Wi-Fi RSSI', + : 'signal_strength', + : 'Mock OnOff Light Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_onoff_light_wi_fi_rssi', @@ -21284,8 +21284,8 @@ # name: test_sensors[mock_onoff_light_alt_name][sensor.mock_onoff_light_boot_reason_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock OnOff Light Boot reason', + : 'enum', + : 'Mock OnOff Light Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -21346,7 +21346,7 @@ # name: test_sensors[mock_onoff_light_alt_name][sensor.mock_onoff_light_reboot_count_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock OnOff Light Reboot count', + : 'Mock OnOff Light Reboot count', : , }), 'context': , @@ -21397,8 +21397,8 @@ # name: test_sensors[mock_onoff_light_alt_name][sensor.mock_onoff_light_uptime_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock OnOff Light Uptime', + : 'uptime', + : 'Mock OnOff Light Uptime', }), 'context': , 'entity_id': 'sensor.mock_onoff_light_uptime_2', @@ -21450,10 +21450,10 @@ # name: test_sensors[mock_onoff_light_alt_name][sensor.mock_onoff_light_wi_fi_rssi_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock OnOff Light Wi-Fi RSSI', + : 'signal_strength', + : 'Mock OnOff Light Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_onoff_light_wi_fi_rssi_2', @@ -21513,8 +21513,8 @@ # name: test_sensors[mock_onoff_light_no_name][sensor.mock_light_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Light Boot reason', + : 'enum', + : 'Mock Light Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -21575,7 +21575,7 @@ # name: test_sensors[mock_onoff_light_no_name][sensor.mock_light_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Light Reboot count', + : 'Mock Light Reboot count', : , }), 'context': , @@ -21626,8 +21626,8 @@ # name: test_sensors[mock_onoff_light_no_name][sensor.mock_light_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Light Uptime', + : 'uptime', + : 'Mock Light Uptime', }), 'context': , 'entity_id': 'sensor.mock_light_uptime', @@ -21679,10 +21679,10 @@ # name: test_sensors[mock_onoff_light_no_name][sensor.mock_light_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock Light Wi-Fi RSSI', + : 'signal_strength', + : 'Mock Light Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_light_wi_fi_rssi', @@ -21742,8 +21742,8 @@ # name: test_sensors[mock_oven][sensor.mock_oven_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Oven Boot reason', + : 'enum', + : 'Mock Oven Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -21808,8 +21808,8 @@ # name: test_sensors[mock_oven][sensor.mock_oven_current_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Oven Current phase', + : 'enum', + : 'Mock Oven Current phase', : list([ 'pre-heating', 'pre-heated', @@ -21870,8 +21870,8 @@ # name: test_sensors[mock_oven][sensor.mock_oven_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Oven Operational state', + : 'enum', + : 'Mock Oven Operational state', : list([ 'stopped', 'running', @@ -21928,7 +21928,7 @@ # name: test_sensors[mock_oven][sensor.mock_oven_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Oven Reboot count', + : 'Mock Oven Reboot count', : , }), 'context': , @@ -21984,10 +21984,10 @@ # name: test_sensors[mock_oven][sensor.mock_oven_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Oven Temperature (2)', + : 'temperature', + : 'Mock Oven Temperature (2)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_oven_temperature_2', @@ -22042,10 +22042,10 @@ # name: test_sensors[mock_oven][sensor.mock_oven_temperature_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Oven Temperature (4)', + : 'temperature', + : 'Mock Oven Temperature (4)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_oven_temperature_4', @@ -22095,8 +22095,8 @@ # name: test_sensors[mock_oven][sensor.mock_oven_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Oven Uptime', + : 'uptime', + : 'Mock Oven Uptime', }), 'context': , 'entity_id': 'sensor.mock_oven_uptime', @@ -22151,10 +22151,10 @@ # name: test_sensors[mock_pressure_sensor][sensor.mock_pressure_sensor_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Mock Pressure Sensor Pressure', + : 'pressure', + : 'Mock Pressure Sensor Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_pressure_sensor_pressure', @@ -22213,8 +22213,8 @@ # name: test_sensors[mock_pump][sensor.mock_pump_control_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Pump Control mode', + : 'enum', + : 'Mock Pump Control mode', : list([ 'constant_speed', 'constant_pressure', @@ -22274,9 +22274,9 @@ # name: test_sensors[mock_pump][sensor.mock_pump_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Pump Flow', + : 'Mock Pump Flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_pump_flow', @@ -22331,10 +22331,10 @@ # name: test_sensors[mock_pump][sensor.mock_pump_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Mock Pump Pressure', + : 'pressure', + : 'Mock Pump Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_pump_pressure', @@ -22386,7 +22386,7 @@ # name: test_sensors[mock_pump][sensor.mock_pump_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Pump Reboot count', + : 'Mock Pump Reboot count', : , }), 'context': , @@ -22439,9 +22439,9 @@ # name: test_sensors[mock_pump][sensor.mock_pump_rotation_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Pump Rotation speed', + : 'Mock Pump Rotation speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.mock_pump_rotation_speed', @@ -22496,10 +22496,10 @@ # name: test_sensors[mock_pump][sensor.mock_pump_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Pump Temperature', + : 'temperature', + : 'Mock Pump Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_pump_temperature', @@ -22549,8 +22549,8 @@ # name: test_sensors[mock_pump][sensor.mock_pump_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Pump Uptime', + : 'uptime', + : 'Mock Pump Uptime', }), 'context': , 'entity_id': 'sensor.mock_pump_uptime', @@ -22602,7 +22602,7 @@ # name: test_sensors[mock_room_airconditioner][sensor.room_airconditioner_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Room AirConditioner Reboot count', + : 'Room AirConditioner Reboot count', : , }), 'context': , @@ -22658,10 +22658,10 @@ # name: test_sensors[mock_room_airconditioner][sensor.room_airconditioner_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Room AirConditioner Temperature', + : 'temperature', + : 'Room AirConditioner Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.room_airconditioner_temperature', @@ -22713,10 +22713,10 @@ # name: test_sensors[mock_soil_sensor][sensor.mock_soil_sensor_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Mock Soil Sensor Moisture', + : 'moisture', + : 'Mock Soil Sensor Moisture', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mock_soil_sensor_moisture', @@ -22774,10 +22774,10 @@ # name: test_sensors[mock_solar_inverter][sensor.mock_solar_inverter_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Mock solar inverter Active current', + : 'current', + : 'Mock solar inverter Active current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_solar_inverter_active_current', @@ -22837,8 +22837,8 @@ # name: test_sensors[mock_solar_inverter][sensor.mock_solar_inverter_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock solar inverter Boot reason', + : 'enum', + : 'Mock solar inverter Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -22905,10 +22905,10 @@ # name: test_sensors[mock_solar_inverter][sensor.mock_solar_inverter_energy_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Mock solar inverter Energy exported', + : 'energy', + : 'Mock solar inverter Energy exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_solar_inverter_energy_exported', @@ -22966,10 +22966,10 @@ # name: test_sensors[mock_solar_inverter][sensor.mock_solar_inverter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Mock solar inverter Power', + : 'power', + : 'Mock solar inverter Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_solar_inverter_power', @@ -23021,7 +23021,7 @@ # name: test_sensors[mock_solar_inverter][sensor.mock_solar_inverter_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock solar inverter Reboot count', + : 'Mock solar inverter Reboot count', : , }), 'context': , @@ -23072,8 +23072,8 @@ # name: test_sensors[mock_solar_inverter][sensor.mock_solar_inverter_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock solar inverter Uptime', + : 'uptime', + : 'Mock solar inverter Uptime', }), 'context': , 'entity_id': 'sensor.mock_solar_inverter_uptime', @@ -23131,10 +23131,10 @@ # name: test_sensors[mock_solar_inverter][sensor.mock_solar_inverter_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Mock solar inverter Voltage', + : 'voltage', + : 'Mock solar inverter Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_solar_inverter_voltage', @@ -23186,7 +23186,7 @@ # name: test_sensors[mock_speaker][sensor.mock_speaker_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock speaker Reboot count', + : 'Mock speaker Reboot count', : , }), 'context': , @@ -23237,8 +23237,8 @@ # name: test_sensors[mock_speaker][sensor.mock_speaker_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock speaker Uptime', + : 'uptime', + : 'Mock speaker Uptime', }), 'context': , 'entity_id': 'sensor.mock_speaker_uptime', @@ -23293,10 +23293,10 @@ # name: test_sensors[mock_temperature_sensor][sensor.mock_temperature_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Temperature Sensor Temperature', + : 'temperature', + : 'Mock Temperature Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_temperature_sensor_temperature', @@ -23356,8 +23356,8 @@ # name: test_sensors[mock_thermostat][sensor.mock_thermostat_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Thermostat Boot reason', + : 'enum', + : 'Mock Thermostat Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -23416,8 +23416,8 @@ # name: test_sensors[mock_thermostat][sensor.mock_thermostat_heating_demand-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Thermostat Heating demand', - 'unit_of_measurement': '%', + : 'Mock Thermostat Heating demand', + : '%', }), 'context': , 'entity_id': 'sensor.mock_thermostat_heating_demand', @@ -23472,10 +23472,10 @@ # name: test_sensors[mock_thermostat][sensor.mock_thermostat_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Thermostat Outdoor temperature', + : 'temperature', + : 'Mock Thermostat Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_thermostat_outdoor_temperature', @@ -23527,7 +23527,7 @@ # name: test_sensors[mock_thermostat][sensor.mock_thermostat_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Thermostat Reboot count', + : 'Mock Thermostat Reboot count', : , }), 'context': , @@ -23583,10 +23583,10 @@ # name: test_sensors[mock_thermostat][sensor.mock_thermostat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Thermostat Temperature', + : 'temperature', + : 'Mock Thermostat Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_thermostat_temperature', @@ -23636,8 +23636,8 @@ # name: test_sensors[mock_thermostat][sensor.mock_thermostat_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Thermostat Uptime', + : 'uptime', + : 'Mock Thermostat Uptime', }), 'context': , 'entity_id': 'sensor.mock_thermostat_uptime', @@ -23697,8 +23697,8 @@ # name: test_sensors[mock_vacuum_cleaner][sensor.mock_vacuum_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Vacuum Boot reason', + : 'enum', + : 'Mock Vacuum Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -23757,8 +23757,8 @@ # name: test_sensors[mock_vacuum_cleaner][sensor.mock_vacuum_estimated_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Vacuum Estimated end time', + : 'timestamp', + : 'Mock Vacuum Estimated end time', }), 'context': , 'entity_id': 'sensor.mock_vacuum_estimated_end_time', @@ -23830,8 +23830,8 @@ # name: test_sensors[mock_vacuum_cleaner][sensor.mock_vacuum_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Vacuum Operational error', + : 'enum', + : 'Mock Vacuum Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -23912,8 +23912,8 @@ # name: test_sensors[mock_vacuum_cleaner][sensor.mock_vacuum_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Vacuum Operational state', + : 'enum', + : 'Mock Vacuum Operational state', : list([ 'stopped', 'running', @@ -23974,7 +23974,7 @@ # name: test_sensors[mock_vacuum_cleaner][sensor.mock_vacuum_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Vacuum Reboot count', + : 'Mock Vacuum Reboot count', : , }), 'context': , @@ -24025,8 +24025,8 @@ # name: test_sensors[mock_vacuum_cleaner][sensor.mock_vacuum_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Vacuum Uptime', + : 'uptime', + : 'Mock Vacuum Uptime', }), 'context': , 'entity_id': 'sensor.mock_vacuum_uptime', @@ -24076,8 +24076,8 @@ # name: test_sensors[mock_valve][sensor.mock_valve_auto_close_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Valve Auto-close time', + : 'timestamp', + : 'Mock Valve Auto-close time', }), 'context': , 'entity_id': 'sensor.mock_valve_auto_close_time', @@ -24137,8 +24137,8 @@ # name: test_sensors[mock_valve][sensor.mock_valve_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Valve Boot reason', + : 'enum', + : 'Mock Valve Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -24199,7 +24199,7 @@ # name: test_sensors[mock_valve][sensor.mock_valve_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Valve Reboot count', + : 'Mock Valve Reboot count', : , }), 'context': , @@ -24250,8 +24250,8 @@ # name: test_sensors[mock_valve][sensor.mock_valve_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Mock Valve Uptime', + : 'uptime', + : 'Mock Valve Uptime', }), 'context': , 'entity_id': 'sensor.mock_valve_uptime', @@ -24303,7 +24303,7 @@ # name: test_sensors[mock_window_covering_full][sensor.mock_full_window_covering_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Full Window Covering Reboot count', + : 'Mock Full Window Covering Reboot count', : , }), 'context': , @@ -24354,8 +24354,8 @@ # name: test_sensors[mock_window_covering_full][sensor.mock_full_window_covering_target_opening_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Full Window Covering Target opening position', - 'unit_of_measurement': '%', + : 'Mock Full Window Covering Target opening position', + : '%', }), 'context': , 'entity_id': 'sensor.mock_full_window_covering_target_opening_position', @@ -24407,10 +24407,10 @@ # name: test_sensors[mock_window_covering_full][sensor.mock_full_window_covering_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock Full Window Covering Wi-Fi RSSI', + : 'signal_strength', + : 'Mock Full Window Covering Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_full_window_covering_wi_fi_rssi', @@ -24462,7 +24462,7 @@ # name: test_sensors[mock_window_covering_lift][sensor.mock_lift_window_covering_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lift Window Covering Reboot count', + : 'Mock Lift Window Covering Reboot count', : , }), 'context': , @@ -24515,10 +24515,10 @@ # name: test_sensors[mock_window_covering_lift][sensor.mock_lift_window_covering_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock Lift Window Covering Wi-Fi RSSI', + : 'signal_strength', + : 'Mock Lift Window Covering Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_lift_window_covering_wi_fi_rssi', @@ -24578,8 +24578,8 @@ # name: test_sensors[mock_window_covering_pa_lift][sensor.longan_link_wncv_da01_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Longan link WNCV DA01 Boot reason', + : 'enum', + : 'Longan link WNCV DA01 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -24640,7 +24640,7 @@ # name: test_sensors[mock_window_covering_pa_lift][sensor.longan_link_wncv_da01_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Longan link WNCV DA01 Reboot count', + : 'Longan link WNCV DA01 Reboot count', : , }), 'context': , @@ -24691,8 +24691,8 @@ # name: test_sensors[mock_window_covering_pa_lift][sensor.longan_link_wncv_da01_target_opening_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Longan link WNCV DA01 Target opening position', - 'unit_of_measurement': '%', + : 'Longan link WNCV DA01 Target opening position', + : '%', }), 'context': , 'entity_id': 'sensor.longan_link_wncv_da01_target_opening_position', @@ -24742,8 +24742,8 @@ # name: test_sensors[mock_window_covering_pa_lift][sensor.longan_link_wncv_da01_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Longan link WNCV DA01 Uptime', + : 'uptime', + : 'Longan link WNCV DA01 Uptime', }), 'context': , 'entity_id': 'sensor.longan_link_wncv_da01_uptime', @@ -24795,10 +24795,10 @@ # name: test_sensors[mock_window_covering_pa_lift][sensor.longan_link_wncv_da01_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Longan link WNCV DA01 Wi-Fi RSSI', + : 'signal_strength', + : 'Longan link WNCV DA01 Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.longan_link_wncv_da01_wi_fi_rssi', @@ -24850,7 +24850,7 @@ # name: test_sensors[mock_window_covering_pa_tilt][sensor.mock_pa_tilt_window_covering_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock PA Tilt Window Covering Reboot count', + : 'Mock PA Tilt Window Covering Reboot count', : , }), 'context': , @@ -24903,10 +24903,10 @@ # name: test_sensors[mock_window_covering_pa_tilt][sensor.mock_pa_tilt_window_covering_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock PA Tilt Window Covering Wi-Fi RSSI', + : 'signal_strength', + : 'Mock PA Tilt Window Covering Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_pa_tilt_window_covering_wi_fi_rssi', @@ -24958,7 +24958,7 @@ # name: test_sensors[mock_window_covering_tilt][sensor.mock_tilt_window_covering_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Tilt Window Covering Reboot count', + : 'Mock Tilt Window Covering Reboot count', : , }), 'context': , @@ -25011,10 +25011,10 @@ # name: test_sensors[mock_window_covering_tilt][sensor.mock_tilt_window_covering_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Mock Tilt Window Covering Wi-Fi RSSI', + : 'signal_strength', + : 'Mock Tilt Window Covering Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.mock_tilt_window_covering_wi_fi_rssi', @@ -25074,8 +25074,8 @@ # name: test_sensors[onoff_light_with_levelcontrol_present][sensor.d215s_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'D215S Boot reason', + : 'enum', + : 'D215S Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -25136,7 +25136,7 @@ # name: test_sensors[onoff_light_with_levelcontrol_present][sensor.d215s_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D215S Reboot count', + : 'D215S Reboot count', : , }), 'context': , @@ -25187,8 +25187,8 @@ # name: test_sensors[onoff_light_with_levelcontrol_present][sensor.d215s_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'D215S Uptime', + : 'uptime', + : 'D215S Uptime', }), 'context': , 'entity_id': 'sensor.d215s_uptime', @@ -25240,10 +25240,10 @@ # name: test_sensors[onoff_light_with_levelcontrol_present][sensor.d215s_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'D215S Wi-Fi RSSI', + : 'signal_strength', + : 'D215S Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.d215s_wi_fi_rssi', @@ -25295,7 +25295,7 @@ # name: test_sensors[resideo_x2s_thermostat][sensor.x2s_smart_thermostat_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'X2S Smart Thermostat Reboot count', + : 'X2S Smart Thermostat Reboot count', : , }), 'context': , @@ -25351,10 +25351,10 @@ # name: test_sensors[resideo_x2s_thermostat][sensor.x2s_smart_thermostat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'X2S Smart Thermostat Temperature', + : 'temperature', + : 'X2S Smart Thermostat Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.x2s_smart_thermostat_temperature', @@ -25404,8 +25404,8 @@ # name: test_sensors[resideo_x2s_thermostat][sensor.x2s_smart_thermostat_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'X2S Smart Thermostat Uptime', + : 'uptime', + : 'X2S Smart Thermostat Uptime', }), 'context': , 'entity_id': 'sensor.x2s_smart_thermostat_uptime', @@ -25457,10 +25457,10 @@ # name: test_sensors[roborock_saros_10][sensor.robotic_vacuum_cleaner_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Robotic Vacuum Cleaner Battery', + : 'battery', + : 'Robotic Vacuum Cleaner Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.robotic_vacuum_cleaner_battery', @@ -25516,8 +25516,8 @@ # name: test_sensors[roborock_saros_10][sensor.robotic_vacuum_cleaner_battery_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robotic Vacuum Cleaner Battery charge state', + : 'enum', + : 'Robotic Vacuum Cleaner Battery charge state', : list([ 'not_charging', 'charging', @@ -25594,8 +25594,8 @@ # name: test_sensors[roborock_saros_10][sensor.robotic_vacuum_cleaner_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robotic Vacuum Cleaner Operational error', + : 'enum', + : 'Robotic Vacuum Cleaner Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -25676,8 +25676,8 @@ # name: test_sensors[roborock_saros_10][sensor.robotic_vacuum_cleaner_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robotic Vacuum Cleaner Operational state', + : 'enum', + : 'Robotic Vacuum Cleaner Operational state', : list([ 'stopped', 'running', @@ -25738,7 +25738,7 @@ # name: test_sensors[roborock_saros_10][sensor.robotic_vacuum_cleaner_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robotic Vacuum Cleaner Reboot count', + : 'Robotic Vacuum Cleaner Reboot count', : , }), 'context': , @@ -25789,8 +25789,8 @@ # name: test_sensors[roborock_saros_10][sensor.robotic_vacuum_cleaner_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Robotic Vacuum Cleaner Uptime', + : 'uptime', + : 'Robotic Vacuum Cleaner Uptime', }), 'context': , 'entity_id': 'sensor.robotic_vacuum_cleaner_uptime', @@ -25850,8 +25850,8 @@ # name: test_sensors[secuyou_smart_lock][sensor.secuyou_smart_lock_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Secuyou Smart Lock Boot reason', + : 'enum', + : 'Secuyou Smart Lock Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -25912,7 +25912,7 @@ # name: test_sensors[secuyou_smart_lock][sensor.secuyou_smart_lock_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock Reboot count', + : 'Secuyou Smart Lock Reboot count', : , }), 'context': , @@ -25963,7 +25963,7 @@ # name: test_sensors[secuyou_smart_lock][sensor.secuyou_smart_lock_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock Thread channel', + : 'Secuyou Smart Lock Thread channel', }), 'context': , 'entity_id': 'sensor.secuyou_smart_lock_thread_channel', @@ -26013,7 +26013,7 @@ # name: test_sensors[secuyou_smart_lock][sensor.secuyou_smart_lock_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Secuyou Smart Lock Thread network name', + : 'Secuyou Smart Lock Thread network name', }), 'context': , 'entity_id': 'sensor.secuyou_smart_lock_thread_network_name', @@ -26074,8 +26074,8 @@ # name: test_sensors[secuyou_smart_lock][sensor.secuyou_smart_lock_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Secuyou Smart Lock Thread routing role', + : 'enum', + : 'Secuyou Smart Lock Thread routing role', : list([ 'unspecified', 'unassigned', @@ -26135,8 +26135,8 @@ # name: test_sensors[secuyou_smart_lock][sensor.secuyou_smart_lock_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Secuyou Smart Lock Uptime', + : 'uptime', + : 'Secuyou Smart Lock Uptime', }), 'context': , 'entity_id': 'sensor.secuyou_smart_lock_uptime', @@ -26196,8 +26196,8 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher Boot reason', + : 'enum', + : 'Dishwasher Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -26264,10 +26264,10 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_effective_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Dishwasher Effective current', + : 'current', + : 'Dishwasher Effective current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_effective_current', @@ -26325,10 +26325,10 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_effective_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Dishwasher Effective voltage', + : 'voltage', + : 'Dishwasher Effective voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_effective_voltage', @@ -26386,10 +26386,10 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher Energy', + : 'energy', + : 'Dishwasher Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_energy', @@ -26446,8 +26446,8 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher Operational error', + : 'enum', + : 'Dishwasher Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -26511,8 +26511,8 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher Operational state', + : 'enum', + : 'Dishwasher Operational state', : list([ 'stopped', 'running', @@ -26577,10 +26577,10 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dishwasher Power', + : 'power', + : 'Dishwasher Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_power', @@ -26632,7 +26632,7 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Reboot count', + : 'Dishwasher Reboot count', : , }), 'context': , @@ -26683,7 +26683,7 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Thread channel', + : 'Dishwasher Thread channel', }), 'context': , 'entity_id': 'sensor.dishwasher_thread_channel', @@ -26733,7 +26733,7 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Thread network name', + : 'Dishwasher Thread network name', }), 'context': , 'entity_id': 'sensor.dishwasher_thread_network_name', @@ -26794,8 +26794,8 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher Thread routing role', + : 'enum', + : 'Dishwasher Thread routing role', : list([ 'unspecified', 'unassigned', @@ -26855,8 +26855,8 @@ # name: test_sensors[silabs_dishwasher][sensor.dishwasher_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Dishwasher Uptime', + : 'uptime', + : 'Dishwasher Uptime', }), 'context': , 'entity_id': 'sensor.dishwasher_uptime', @@ -26914,10 +26914,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse Active current', + : 'current', + : 'evse Active current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_active_current', @@ -26975,10 +26975,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_apparent_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse Apparent current', + : 'current', + : 'evse Apparent current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_apparent_current', @@ -27036,10 +27036,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'evse Apparent power', + : 'apparent_power', + : 'evse Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_apparent_power', @@ -27097,8 +27097,8 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_appliance_energy_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'evse Appliance energy state', + : 'enum', + : 'evse Appliance energy state', : list([ 'offline', 'online', @@ -27163,10 +27163,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_circuit_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse Circuit capacity', + : 'current', + : 'evse Circuit capacity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_circuit_capacity', @@ -27224,10 +27224,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_effective_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse Effective current', + : 'current', + : 'evse Effective current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_effective_current', @@ -27285,10 +27285,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_effective_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'evse Effective voltage', + : 'voltage', + : 'evse Effective voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_effective_voltage', @@ -27346,10 +27346,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'evse Energy', + : 'energy', + : 'evse Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_energy', @@ -27407,10 +27407,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_energy_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'evse Energy exported', + : 'energy', + : 'evse Energy exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_energy_exported', @@ -27467,8 +27467,8 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_energy_optimization_opt_out-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'evse Energy optimization opt-out', + : 'enum', + : 'evse Energy optimization opt-out', : list([ 'no_opt_out', 'local_opt_out', @@ -27543,8 +27543,8 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_fault_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'evse Fault state', + : 'enum', + : 'evse Fault state', : list([ 'no_error', 'meter_failure', @@ -27620,10 +27620,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_max_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse Max charge current', + : 'current', + : 'evse Max charge current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_max_charge_current', @@ -27681,10 +27681,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_min_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse Min charge current', + : 'current', + : 'evse Min charge current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_min_charge_current', @@ -27742,10 +27742,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_reactive_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse Reactive current', + : 'current', + : 'evse Reactive current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_reactive_current', @@ -27803,10 +27803,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'evse Reactive power', + : 'reactive_power', + : 'evse Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_reactive_power', @@ -27858,7 +27858,7 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'evse Reboot count', + : 'evse Reboot count', : , }), 'context': , @@ -27911,10 +27911,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'evse State of charge', + : 'battery', + : 'evse State of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.evse_state_of_charge', @@ -27964,8 +27964,8 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'evse Uptime', + : 'uptime', + : 'evse Uptime', }), 'context': , 'entity_id': 'sensor.evse_uptime', @@ -28023,10 +28023,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_user_max_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'evse User max charge current', + : 'current', + : 'evse User max charge current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_user_max_charge_current', @@ -28084,10 +28084,10 @@ # name: test_sensors[silabs_evse_charging][sensor.evse_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'evse Voltage', + : 'voltage', + : 'evse Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_voltage', @@ -28147,8 +28147,8 @@ # name: test_sensors[silabs_fan][sensor.sl_fan_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SL_Fan Boot reason', + : 'enum', + : 'SL_Fan Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -28209,7 +28209,7 @@ # name: test_sensors[silabs_fan][sensor.sl_fan_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL_Fan Reboot count', + : 'SL_Fan Reboot count', : , }), 'context': , @@ -28260,7 +28260,7 @@ # name: test_sensors[silabs_fan][sensor.sl_fan_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL_Fan Thread channel', + : 'SL_Fan Thread channel', }), 'context': , 'entity_id': 'sensor.sl_fan_thread_channel', @@ -28310,7 +28310,7 @@ # name: test_sensors[silabs_fan][sensor.sl_fan_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL_Fan Thread network name', + : 'SL_Fan Thread network name', }), 'context': , 'entity_id': 'sensor.sl_fan_thread_network_name', @@ -28371,8 +28371,8 @@ # name: test_sensors[silabs_fan][sensor.sl_fan_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SL_Fan Thread routing role', + : 'enum', + : 'SL_Fan Thread routing role', : list([ 'unspecified', 'unassigned', @@ -28432,8 +28432,8 @@ # name: test_sensors[silabs_fan][sensor.sl_fan_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'SL_Fan Uptime', + : 'uptime', + : 'SL_Fan Uptime', }), 'context': , 'entity_id': 'sensor.sl_fan_uptime', @@ -28493,8 +28493,8 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'LaundryWasher Boot reason', + : 'enum', + : 'LaundryWasher Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -28559,8 +28559,8 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_current_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'LaundryWasher Current phase', + : 'enum', + : 'LaundryWasher Current phase', : list([ 'pre-soak', 'rinse', @@ -28623,10 +28623,10 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_effective_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'LaundryWasher Effective current', + : 'current', + : 'LaundryWasher Effective current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.laundrywasher_effective_current', @@ -28684,10 +28684,10 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_effective_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'LaundryWasher Effective voltage', + : 'voltage', + : 'LaundryWasher Effective voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.laundrywasher_effective_voltage', @@ -28745,10 +28745,10 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'LaundryWasher Energy', + : 'energy', + : 'LaundryWasher Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.laundrywasher_energy', @@ -28805,8 +28805,8 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'LaundryWasher Operational error', + : 'enum', + : 'LaundryWasher Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -28869,8 +28869,8 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'LaundryWasher Operational state', + : 'enum', + : 'LaundryWasher Operational state', : list([ 'stopped', 'running', @@ -28934,10 +28934,10 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'LaundryWasher Power', + : 'power', + : 'LaundryWasher Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.laundrywasher_power', @@ -28989,7 +28989,7 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Reboot count', + : 'LaundryWasher Reboot count', : , }), 'context': , @@ -29040,7 +29040,7 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Thread channel', + : 'LaundryWasher Thread channel', }), 'context': , 'entity_id': 'sensor.laundrywasher_thread_channel', @@ -29090,7 +29090,7 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LaundryWasher Thread network name', + : 'LaundryWasher Thread network name', }), 'context': , 'entity_id': 'sensor.laundrywasher_thread_network_name', @@ -29151,8 +29151,8 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'LaundryWasher Thread routing role', + : 'enum', + : 'LaundryWasher Thread routing role', : list([ 'unspecified', 'unassigned', @@ -29212,8 +29212,8 @@ # name: test_sensors[silabs_laundrywasher][sensor.laundrywasher_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'LaundryWasher Uptime', + : 'uptime', + : 'LaundryWasher Uptime', }), 'context': , 'entity_id': 'sensor.laundrywasher_uptime', @@ -29273,8 +29273,8 @@ # name: test_sensors[silabs_light_switch][sensor.light_switch_example_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Light switch example Boot reason', + : 'enum', + : 'Light switch example Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -29335,7 +29335,7 @@ # name: test_sensors[silabs_light_switch][sensor.light_switch_example_current_switch_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light switch example Current switch position', + : 'Light switch example Current switch position', : , }), 'context': , @@ -29388,7 +29388,7 @@ # name: test_sensors[silabs_light_switch][sensor.light_switch_example_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light switch example Reboot count', + : 'Light switch example Reboot count', : , }), 'context': , @@ -29439,7 +29439,7 @@ # name: test_sensors[silabs_light_switch][sensor.light_switch_example_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light switch example Thread channel', + : 'Light switch example Thread channel', }), 'context': , 'entity_id': 'sensor.light_switch_example_thread_channel', @@ -29489,7 +29489,7 @@ # name: test_sensors[silabs_light_switch][sensor.light_switch_example_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light switch example Thread network name', + : 'Light switch example Thread network name', }), 'context': , 'entity_id': 'sensor.light_switch_example_thread_network_name', @@ -29550,8 +29550,8 @@ # name: test_sensors[silabs_light_switch][sensor.light_switch_example_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Light switch example Thread routing role', + : 'enum', + : 'Light switch example Thread routing role', : list([ 'unspecified', 'unassigned', @@ -29611,8 +29611,8 @@ # name: test_sensors[silabs_light_switch][sensor.light_switch_example_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Light switch example Uptime', + : 'uptime', + : 'Light switch example Uptime', }), 'context': , 'entity_id': 'sensor.light_switch_example_uptime', @@ -29672,8 +29672,8 @@ # name: test_sensors[silabs_range_hood][sensor.sl_rangehood_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SL-RangeHood Boot reason', + : 'enum', + : 'SL-RangeHood Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -29734,7 +29734,7 @@ # name: test_sensors[silabs_range_hood][sensor.sl_rangehood_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL-RangeHood Reboot count', + : 'SL-RangeHood Reboot count', : , }), 'context': , @@ -29785,7 +29785,7 @@ # name: test_sensors[silabs_range_hood][sensor.sl_rangehood_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL-RangeHood Thread channel', + : 'SL-RangeHood Thread channel', }), 'context': , 'entity_id': 'sensor.sl_rangehood_thread_channel', @@ -29835,7 +29835,7 @@ # name: test_sensors[silabs_range_hood][sensor.sl_rangehood_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SL-RangeHood Thread network name', + : 'SL-RangeHood Thread network name', }), 'context': , 'entity_id': 'sensor.sl_rangehood_thread_network_name', @@ -29896,8 +29896,8 @@ # name: test_sensors[silabs_range_hood][sensor.sl_rangehood_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SL-RangeHood Thread routing role', + : 'enum', + : 'SL-RangeHood Thread routing role', : list([ 'unspecified', 'unassigned', @@ -29957,8 +29957,8 @@ # name: test_sensors[silabs_range_hood][sensor.sl_rangehood_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'SL-RangeHood Uptime', + : 'uptime', + : 'SL-RangeHood Uptime', }), 'context': , 'entity_id': 'sensor.sl_rangehood_uptime', @@ -30018,8 +30018,8 @@ # name: test_sensors[silabs_refrigerator][sensor.refrigerator_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Refrigerator Boot reason', + : 'enum', + : 'Refrigerator Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -30080,7 +30080,7 @@ # name: test_sensors[silabs_refrigerator][sensor.refrigerator_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Reboot count', + : 'Refrigerator Reboot count', : , }), 'context': , @@ -30131,7 +30131,7 @@ # name: test_sensors[silabs_refrigerator][sensor.refrigerator_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Thread channel', + : 'Refrigerator Thread channel', }), 'context': , 'entity_id': 'sensor.refrigerator_thread_channel', @@ -30181,7 +30181,7 @@ # name: test_sensors[silabs_refrigerator][sensor.refrigerator_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Thread network name', + : 'Refrigerator Thread network name', }), 'context': , 'entity_id': 'sensor.refrigerator_thread_network_name', @@ -30242,8 +30242,8 @@ # name: test_sensors[silabs_refrigerator][sensor.refrigerator_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Refrigerator Thread routing role', + : 'enum', + : 'Refrigerator Thread routing role', : list([ 'unspecified', 'unassigned', @@ -30303,8 +30303,8 @@ # name: test_sensors[silabs_refrigerator][sensor.refrigerator_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Refrigerator Uptime', + : 'uptime', + : 'Refrigerator Uptime', }), 'context': , 'entity_id': 'sensor.refrigerator_uptime', @@ -30362,10 +30362,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_active_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Water Heater Active current', + : 'current', + : 'Water Heater Active current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_active_current', @@ -30423,10 +30423,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_apparent_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Water Heater Apparent current', + : 'current', + : 'Water Heater Apparent current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_apparent_current', @@ -30484,10 +30484,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Water Heater Apparent power', + : 'apparent_power', + : 'Water Heater Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_apparent_power', @@ -30545,8 +30545,8 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_appliance_energy_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Water Heater Appliance energy state', + : 'enum', + : 'Water Heater Appliance energy state', : list([ 'offline', 'online', @@ -30611,10 +30611,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_effective_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Water Heater Effective current', + : 'current', + : 'Water Heater Effective current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_effective_current', @@ -30672,10 +30672,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_effective_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Water Heater Effective voltage', + : 'voltage', + : 'Water Heater Effective voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_effective_voltage', @@ -30733,10 +30733,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Water Heater Energy', + : 'energy', + : 'Water Heater Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_energy', @@ -30793,8 +30793,8 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_energy_optimization_opt_out-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Water Heater Energy optimization opt-out', + : 'enum', + : 'Water Heater Energy optimization opt-out', : list([ 'no_opt_out', 'local_opt_out', @@ -30852,9 +30852,9 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_hot_water_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Heater Hot water level', + : 'Water Heater Hot water level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.water_heater_hot_water_level', @@ -30912,10 +30912,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Water Heater Power', + : 'power', + : 'Water Heater Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_power', @@ -30973,10 +30973,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_reactive_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Water Heater Reactive current', + : 'current', + : 'Water Heater Reactive current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_reactive_current', @@ -31034,10 +31034,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Water Heater Reactive power', + : 'reactive_power', + : 'Water Heater Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_reactive_power', @@ -31089,7 +31089,7 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Heater Reboot count', + : 'Water Heater Reboot count', : , }), 'context': , @@ -31148,10 +31148,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_required_heating_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Water Heater Required heating energy', + : 'energy', + : 'Water Heater Required heating energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_required_heating_energy', @@ -31206,10 +31206,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_tank_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Water Heater Tank volume', + : 'volume_storage', + : 'Water Heater Tank volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_tank_volume', @@ -31259,8 +31259,8 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Water Heater Uptime', + : 'uptime', + : 'Water Heater Uptime', }), 'context': , 'entity_id': 'sensor.water_heater_uptime', @@ -31318,10 +31318,10 @@ # name: test_sensors[silabs_water_heater][sensor.water_heater_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Water Heater Voltage', + : 'voltage', + : 'Water Heater Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_heater_voltage', @@ -31381,8 +31381,8 @@ # name: test_sensors[switchbot_k11_plus][sensor.k11_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'K11+ Boot reason', + : 'enum', + : 'K11+ Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -31463,8 +31463,8 @@ # name: test_sensors[switchbot_k11_plus][sensor.k11_operational_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'K11+ Operational error', + : 'enum', + : 'K11+ Operational error', : list([ 'no_error', 'unable_to_start_or_resume', @@ -31545,8 +31545,8 @@ # name: test_sensors[switchbot_k11_plus][sensor.k11_operational_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'K11+ Operational state', + : 'enum', + : 'K11+ Operational state', : list([ 'stopped', 'running', @@ -31607,7 +31607,7 @@ # name: test_sensors[switchbot_k11_plus][sensor.k11_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'K11+ Reboot count', + : 'K11+ Reboot count', : , }), 'context': , @@ -31658,8 +31658,8 @@ # name: test_sensors[switchbot_k11_plus][sensor.k11_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'K11+ Uptime', + : 'uptime', + : 'K11+ Uptime', }), 'context': , 'entity_id': 'sensor.k11_uptime', @@ -31719,8 +31719,8 @@ # name: test_sensors[tado_smart_radiator_thermostat_x][sensor.smart_radiator_thermostat_x_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Radiator Thermostat X Boot reason', + : 'enum', + : 'Smart Radiator Thermostat X Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -31781,10 +31781,10 @@ # name: test_sensors[tado_smart_radiator_thermostat_x][sensor.smart_radiator_thermostat_x_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Smart Radiator Thermostat X Humidity', + : 'humidity', + : 'Smart Radiator Thermostat X Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smart_radiator_thermostat_x_humidity', @@ -31836,7 +31836,7 @@ # name: test_sensors[tado_smart_radiator_thermostat_x][sensor.smart_radiator_thermostat_x_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Radiator Thermostat X Reboot count', + : 'Smart Radiator Thermostat X Reboot count', : , }), 'context': , @@ -31892,10 +31892,10 @@ # name: test_sensors[tado_smart_radiator_thermostat_x][sensor.smart_radiator_thermostat_x_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Smart Radiator Thermostat X Temperature', + : 'temperature', + : 'Smart Radiator Thermostat X Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_radiator_thermostat_x_temperature', @@ -31945,8 +31945,8 @@ # name: test_sensors[tado_smart_radiator_thermostat_x][sensor.smart_radiator_thermostat_x_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Smart Radiator Thermostat X Uptime', + : 'uptime', + : 'Smart Radiator Thermostat X Uptime', }), 'context': , 'entity_id': 'sensor.smart_radiator_thermostat_x_uptime', @@ -32006,8 +32006,8 @@ # name: test_sensors[yandex_smart_socket][sensor.yndx_00540_boot_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'YNDX-00540 Boot reason', + : 'enum', + : 'YNDX-00540 Boot reason', : list([ 'unspecified', 'power_on_reboot', @@ -32071,10 +32071,10 @@ # name: test_sensors[yandex_smart_socket][sensor.yndx_00540_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'YNDX-00540 Current', + : 'current', + : 'YNDX-00540 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yndx_00540_current', @@ -32129,10 +32129,10 @@ # name: test_sensors[yandex_smart_socket][sensor.yndx_00540_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'YNDX-00540 Power', + : 'power', + : 'YNDX-00540 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yndx_00540_power', @@ -32184,7 +32184,7 @@ # name: test_sensors[yandex_smart_socket][sensor.yndx_00540_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'YNDX-00540 Reboot count', + : 'YNDX-00540 Reboot count', : , }), 'context': , @@ -32235,8 +32235,8 @@ # name: test_sensors[yandex_smart_socket][sensor.yndx_00540_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'YNDX-00540 Uptime', + : 'uptime', + : 'YNDX-00540 Uptime', }), 'context': , 'entity_id': 'sensor.yndx_00540_uptime', @@ -32291,10 +32291,10 @@ # name: test_sensors[yandex_smart_socket][sensor.yndx_00540_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'YNDX-00540 Voltage', + : 'voltage', + : 'YNDX-00540 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yndx_00540_voltage', @@ -32346,10 +32346,10 @@ # name: test_sensors[yandex_smart_socket][sensor.yndx_00540_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'YNDX-00540 Wi-Fi RSSI', + : 'signal_strength', + : 'YNDX-00540 Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.yndx_00540_wi_fi_rssi', @@ -32401,10 +32401,10 @@ # name: test_sensors[zemismart_mt25b][sensor.zemismart_mt25b_roller_motor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zemismart MT25B Roller Motor Battery', + : 'battery', + : 'Zemismart MT25B Roller Motor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.zemismart_mt25b_roller_motor_battery', @@ -32460,8 +32460,8 @@ # name: test_sensors[zemismart_mt25b][sensor.zemismart_mt25b_roller_motor_battery_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Zemismart MT25B Roller Motor Battery charge state', + : 'enum', + : 'Zemismart MT25B Roller Motor Battery charge state', : list([ 'not_charging', 'charging', @@ -32524,10 +32524,10 @@ # name: test_sensors[zemismart_mt25b][sensor.zemismart_mt25b_roller_motor_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Zemismart MT25B Roller Motor Battery voltage', + : 'voltage', + : 'Zemismart MT25B Roller Motor Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.zemismart_mt25b_roller_motor_battery_voltage', @@ -32579,7 +32579,7 @@ # name: test_sensors[zemismart_mt25b][sensor.zemismart_mt25b_roller_motor_reboot_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zemismart MT25B Roller Motor Reboot count', + : 'Zemismart MT25B Roller Motor Reboot count', : , }), 'context': , @@ -32630,7 +32630,7 @@ # name: test_sensors[zemismart_mt25b][sensor.zemismart_mt25b_roller_motor_thread_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zemismart MT25B Roller Motor Thread channel', + : 'Zemismart MT25B Roller Motor Thread channel', }), 'context': , 'entity_id': 'sensor.zemismart_mt25b_roller_motor_thread_channel', @@ -32680,7 +32680,7 @@ # name: test_sensors[zemismart_mt25b][sensor.zemismart_mt25b_roller_motor_thread_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zemismart MT25B Roller Motor Thread network name', + : 'Zemismart MT25B Roller Motor Thread network name', }), 'context': , 'entity_id': 'sensor.zemismart_mt25b_roller_motor_thread_network_name', @@ -32741,8 +32741,8 @@ # name: test_sensors[zemismart_mt25b][sensor.zemismart_mt25b_roller_motor_thread_routing_role-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Zemismart MT25B Roller Motor Thread routing role', + : 'enum', + : 'Zemismart MT25B Roller Motor Thread routing role', : list([ 'unspecified', 'unassigned', diff --git a/tests/components/matter/snapshots/test_siren.ambr b/tests/components/matter/snapshots/test_siren.ambr index 57277b49c84..0ca8375194c 100644 --- a/tests/components/matter/snapshots/test_siren.ambr +++ b/tests/components/matter/snapshots/test_siren.ambr @@ -39,8 +39,8 @@ # name: test_sirens[heiman_smoke_detector][siren.smoke_sensor_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke sensor Siren', - 'supported_features': , + : 'Smoke sensor Siren', + : , }), 'context': , 'entity_id': 'siren.smoke_sensor_siren', diff --git a/tests/components/matter/snapshots/test_switch.ambr b/tests/components/matter/snapshots/test_switch.ambr index c5d3446c64a..822daaf06f4 100644 --- a/tests/components/matter/snapshots/test_switch.ambr +++ b/tests/components/matter/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[eve_energy_20ecn4101][switch.eve_energy_20ecn4101_child_lock_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy 20ECN4101 Child lock (top)', + : 'Eve Energy 20ECN4101 Child lock (top)', }), 'context': , 'entity_id': 'switch.eve_energy_20ecn4101_child_lock_top', @@ -89,8 +89,8 @@ # name: test_switches[eve_energy_20ecn4101][switch.eve_energy_20ecn4101_switch_bottom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Eve Energy 20ECN4101 Switch (bottom)', + : 'outlet', + : 'Eve Energy 20ECN4101 Switch (bottom)', }), 'context': , 'entity_id': 'switch.eve_energy_20ecn4101_switch_bottom', @@ -140,8 +140,8 @@ # name: test_switches[eve_energy_20ecn4101][switch.eve_energy_20ecn4101_switch_top-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Eve Energy 20ECN4101 Switch (top)', + : 'outlet', + : 'Eve Energy 20ECN4101 Switch (top)', }), 'context': , 'entity_id': 'switch.eve_energy_20ecn4101_switch_top', @@ -191,8 +191,8 @@ # name: test_switches[eve_energy_plug][switch.eve_energy_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Eve Energy Plug', + : 'outlet', + : 'Eve Energy Plug', }), 'context': , 'entity_id': 'switch.eve_energy_plug', @@ -242,7 +242,7 @@ # name: test_switches[eve_energy_plug][switch.eve_energy_plug_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Child lock', + : 'Eve Energy Plug Child lock', }), 'context': , 'entity_id': 'switch.eve_energy_plug_child_lock', @@ -292,8 +292,8 @@ # name: test_switches[eve_energy_plug_patched][switch.eve_energy_plug_patched-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Eve Energy Plug Patched', + : 'outlet', + : 'Eve Energy Plug Patched', }), 'context': , 'entity_id': 'switch.eve_energy_plug_patched', @@ -343,7 +343,7 @@ # name: test_switches[eve_energy_plug_patched][switch.eve_energy_plug_patched_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Energy Plug Patched Child lock', + : 'Eve Energy Plug Patched Child lock', }), 'context': , 'entity_id': 'switch.eve_energy_plug_patched_child_lock', @@ -393,7 +393,7 @@ # name: test_switches[eve_shutter][switch.eve_shutter_switch_20eci1701_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Shutter Switch 20ECI1701 Child lock', + : 'Eve Shutter Switch 20ECI1701 Child lock', }), 'context': , 'entity_id': 'switch.eve_shutter_switch_20eci1701_child_lock', @@ -443,7 +443,7 @@ # name: test_switches[eve_thermo_v4][switch.eve_thermo_20ebp1701_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20EBP1701 Child lock', + : 'Eve Thermo 20EBP1701 Child lock', }), 'context': , 'entity_id': 'switch.eve_thermo_20ebp1701_child_lock', @@ -493,7 +493,7 @@ # name: test_switches[eve_thermo_v5][switch.eve_thermo_20ecd1701_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eve Thermo 20ECD1701 Child lock', + : 'Eve Thermo 20ECD1701 Child lock', }), 'context': , 'entity_id': 'switch.eve_thermo_20ecd1701_child_lock', @@ -543,8 +543,8 @@ # name: test_switches[ikea_air_quality_monitor][switch.alpstuga_air_quality_monitor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'ALPSTUGA air quality monitor', + : 'outlet', + : 'ALPSTUGA air quality monitor', }), 'context': , 'entity_id': 'switch.alpstuga_air_quality_monitor', @@ -594,8 +594,8 @@ # name: test_switches[inovelli_vtm30][switch.white_series_onoff_switch_switch_load_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'White Series OnOff Switch Switch (Load Control)', + : 'outlet', + : 'White Series OnOff Switch Switch (Load Control)', }), 'context': , 'entity_id': 'switch.white_series_onoff_switch_switch_load_control', @@ -645,8 +645,8 @@ # name: test_switches[longan_link_thermostat][switch.longan_link_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Longan link HVAC', + : 'outlet', + : 'Longan link HVAC', }), 'context': , 'entity_id': 'switch.longan_link_hvac', @@ -696,8 +696,8 @@ # name: test_switches[mock_cooktop][switch.mock_cooktop_power_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Cooktop Power (1)', + : 'switch', + : 'Mock Cooktop Power (1)', }), 'context': , 'entity_id': 'switch.mock_cooktop_power_1', @@ -747,8 +747,8 @@ # name: test_switches[mock_cooktop][switch.mock_cooktop_power_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Cooktop Power (2)', + : 'switch', + : 'Mock Cooktop Power (2)', }), 'context': , 'entity_id': 'switch.mock_cooktop_power_2', @@ -798,8 +798,8 @@ # name: test_switches[mock_door_lock][switch.mock_door_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Mock Door Lock', + : 'outlet', + : 'Mock Door Lock', }), 'context': , 'entity_id': 'switch.mock_door_lock', @@ -849,7 +849,7 @@ # name: test_switches[mock_door_lock][switch.mock_door_lock_privacy_mode_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock Privacy mode button', + : 'Mock Door Lock Privacy mode button', }), 'context': , 'entity_id': 'switch.mock_door_lock_privacy_mode_button', @@ -899,8 +899,8 @@ # name: test_switches[mock_door_lock_with_unbolt][switch.mock_door_lock_with_unbolt-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Mock Door Lock with unbolt', + : 'outlet', + : 'Mock Door Lock with unbolt', }), 'context': , 'entity_id': 'switch.mock_door_lock_with_unbolt', @@ -950,7 +950,7 @@ # name: test_switches[mock_door_lock_with_unbolt][switch.mock_door_lock_with_unbolt_privacy_mode_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Door Lock with unbolt Privacy mode button', + : 'Mock Door Lock with unbolt Privacy mode button', }), 'context': , 'entity_id': 'switch.mock_door_lock_with_unbolt_privacy_mode_button', @@ -1000,8 +1000,8 @@ # name: test_switches[mock_laundry_dryer][switch.mock_laundrydryer_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Laundrydryer Power', + : 'switch', + : 'Mock Laundrydryer Power', }), 'context': , 'entity_id': 'switch.mock_laundrydryer_power', @@ -1051,7 +1051,7 @@ # name: test_switches[mock_lock][switch.mock_lock_privacy_mode_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Lock Privacy mode button', + : 'Mock Lock Privacy mode button', }), 'context': , 'entity_id': 'switch.mock_lock_privacy_mode_button', @@ -1101,8 +1101,8 @@ # name: test_switches[mock_on_off_plugin_unit][switch.mock_onoffpluginunit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Mock OnOffPluginUnit', + : 'outlet', + : 'Mock OnOffPluginUnit', }), 'context': , 'entity_id': 'switch.mock_onoffpluginunit', @@ -1152,8 +1152,8 @@ # name: test_switches[mock_oven][switch.mock_oven_power_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Oven Power (3)', + : 'switch', + : 'Mock Oven Power (3)', }), 'context': , 'entity_id': 'switch.mock_oven_power_3', @@ -1203,8 +1203,8 @@ # name: test_switches[mock_oven][switch.mock_oven_power_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Oven Power (4)', + : 'switch', + : 'Mock Oven Power (4)', }), 'context': , 'entity_id': 'switch.mock_oven_power_4', @@ -1254,8 +1254,8 @@ # name: test_switches[mock_pump][switch.mock_pump_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Pump Power', + : 'switch', + : 'Mock Pump Power', }), 'context': , 'entity_id': 'switch.mock_pump_power', @@ -1305,8 +1305,8 @@ # name: test_switches[mock_room_airconditioner][switch.room_airconditioner_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Room AirConditioner Power', + : 'switch', + : 'Room AirConditioner Power', }), 'context': , 'entity_id': 'switch.room_airconditioner_power', @@ -1356,7 +1356,7 @@ # name: test_switches[mock_speaker][switch.mock_speaker_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock speaker Mute', + : 'Mock speaker Mute', }), 'context': , 'entity_id': 'switch.mock_speaker_mute', @@ -1406,8 +1406,8 @@ # name: test_switches[mock_switch_unit][switch.mock_switchunit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Mock SwitchUnit', + : 'outlet', + : 'Mock SwitchUnit', }), 'context': , 'entity_id': 'switch.mock_switchunit', @@ -1457,7 +1457,7 @@ # name: test_switches[silabs_evse_charging][switch.evse_enable_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'evse Enable charging', + : 'evse Enable charging', }), 'context': , 'entity_id': 'switch.evse_enable_charging', @@ -1507,8 +1507,8 @@ # name: test_switches[silabs_refrigerator][switch.refrigerator_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Refrigerator Power', + : 'switch', + : 'Refrigerator Power', }), 'context': , 'entity_id': 'switch.refrigerator_power', @@ -1558,8 +1558,8 @@ # name: test_switches[yandex_smart_socket][switch.yndx_00540-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'YNDX-00540', + : 'outlet', + : 'YNDX-00540', }), 'context': , 'entity_id': 'switch.yndx_00540', diff --git a/tests/components/matter/snapshots/test_vacuum.ambr b/tests/components/matter/snapshots/test_vacuum.ambr index b2f2f2892f6..d2ac2c64340 100644 --- a/tests/components/matter/snapshots/test_vacuum.ambr +++ b/tests/components/matter/snapshots/test_vacuum.ambr @@ -39,8 +39,8 @@ # name: test_vacuum[ecovacs_deebot][vacuum.ecodeebot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ecodeebot', - 'supported_features': , + : 'ecodeebot', + : , }), 'context': , 'entity_id': 'vacuum.ecodeebot', @@ -90,8 +90,8 @@ # name: test_vacuum[eufy_vacuum_omni_e28][vacuum.2bavs_ab6031x_44pe-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '2BAVS-AB6031X-44PE', - 'supported_features': , + : '2BAVS-AB6031X-44PE', + : , }), 'context': , 'entity_id': 'vacuum.2bavs_ab6031x_44pe', @@ -141,8 +141,8 @@ # name: test_vacuum[mock_vacuum_cleaner][vacuum.mock_vacuum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Vacuum', - 'supported_features': , + : 'Mock Vacuum', + : , }), 'context': , 'entity_id': 'vacuum.mock_vacuum', @@ -192,8 +192,8 @@ # name: test_vacuum[roborock_saros_10][vacuum.robotic_vacuum_cleaner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robotic Vacuum Cleaner', - 'supported_features': , + : 'Robotic Vacuum Cleaner', + : , }), 'context': , 'entity_id': 'vacuum.robotic_vacuum_cleaner', @@ -243,8 +243,8 @@ # name: test_vacuum[switchbot_k11_plus][vacuum.k11-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'K11+', - 'supported_features': , + : 'K11+', + : , }), 'context': , 'entity_id': 'vacuum.k11', diff --git a/tests/components/matter/snapshots/test_valve.ambr b/tests/components/matter/snapshots/test_valve.ambr index e949453af05..3d5a8f6104f 100644 --- a/tests/components/matter/snapshots/test_valve.ambr +++ b/tests/components/matter/snapshots/test_valve.ambr @@ -39,10 +39,10 @@ # name: test_valves[mock_valve][mock_valve][valve.mock_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Mock Valve', + : 'water', + : 'Mock Valve', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.mock_valve', diff --git a/tests/components/matter/snapshots/test_water_heater.ambr b/tests/components/matter/snapshots/test_water_heater.ambr index 76227fb58bd..49c8482b425 100644 --- a/tests/components/matter/snapshots/test_water_heater.ambr +++ b/tests/components/matter/snapshots/test_water_heater.ambr @@ -48,7 +48,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50, - 'friendly_name': 'Water Heater', + : 'Water Heater', : 65, : 40, : list([ @@ -57,7 +57,7 @@ 'off', ]), : 'eco', - 'supported_features': , + : , : None, : None, : 65, diff --git a/tests/components/mealie/snapshots/test_calendar.ambr b/tests/components/mealie/snapshots/test_calendar.ambr index 26fd31a8cc6..fc252c48ecc 100644 --- a/tests/components/mealie/snapshots/test_calendar.ambr +++ b/tests/components/mealie/snapshots/test_calendar.ambr @@ -176,7 +176,7 @@ : True, : 'The BEST Roast Chicken recipe is simple, budget friendly, and gives you a tender, mouth-watering chicken full of flavor! Served with roasted vegetables, this recipe is simple enough for any cook!', : '2024-01-24 00:00:00', - 'friendly_name': 'Mealie Breakfast', + : 'Mealie Breakfast', : '', : 'Roast Chicken', : '2024-01-23 00:00:00', @@ -232,7 +232,7 @@ : True, : 'Delicious Greek turkey meatballs with lemon orzo, tender veggies, and a creamy feta yogurt sauce. These healthy baked Greek turkey meatballs are filled with tons of wonderful herbs and make the perfect protein-packed weeknight meal!', : '2024-01-24 00:00:00', - 'friendly_name': 'Mealie Dessert', + : 'Mealie Dessert', : '', : 'Greek Turkey Meatballs with Lemon Orzo & Creamy Feta Yogurt Sauce', : '2024-01-23 00:00:00', @@ -288,7 +288,7 @@ : True, : 'Dineren met de boys', : '2024-01-22 00:00:00', - 'friendly_name': 'Mealie Dinner', + : 'Mealie Dinner', : '', : 'Aquavite', : '2024-01-21 00:00:00', @@ -344,7 +344,7 @@ : True, : 'Einfacher Nudelauflauf mit Brokkoli, Sahnesauce und extra Käse. Dieses vegetarische 5 Zutaten Rezept ist super schnell gemacht und SO gut!', : '2024-01-23 00:00:00', - 'friendly_name': 'Mealie Drink', + : 'Mealie Drink', : '', : 'Einfacher Nudelauflauf mit Brokkoli', : '2024-01-22 00:00:00', @@ -400,7 +400,7 @@ : True, : 'This All-American beef stew recipe includes tender beef coated in a rich, intense sauce and vegetables that bring complementary texture and flavor.', : '2024-01-23 00:00:00', - 'friendly_name': 'Mealie Lunch', + : 'Mealie Lunch', : '', : 'All-American Beef Stew Recipe', : '2024-01-22 00:00:00', @@ -456,7 +456,7 @@ : True, : 'Einfacher Nudelauflauf mit Brokkoli, Sahnesauce und extra Käse. Dieses vegetarische 5 Zutaten Rezept ist super schnell gemacht und SO gut!', : '2024-01-24 00:00:00', - 'friendly_name': 'Mealie Side', + : 'Mealie Side', : '', : 'Einfacher Nudelauflauf mit Brokkoli', : '2024-01-23 00:00:00', @@ -512,7 +512,7 @@ : True, : 'Avis aux nostalgiques des années 1980, la mousse de saumon est de retour dans une présentation adaptée au goût du jour. On utilise une technique sans faille : un saumon frais cuit au micro-ondes et mélangé au robot avec du fromage à la crème et de la crème sure. On obtient ainsi une texture onctueuse à tartiner, qui n’a rien à envier aux préparations gélatineuses d’antan !', : '2024-01-23 00:00:00', - 'friendly_name': 'Mealie Snack', + : 'Mealie Snack', : '', : 'Mousse de saumon', : '2024-01-22 00:00:00', diff --git a/tests/components/mealie/snapshots/test_sensor.ambr b/tests/components/mealie/snapshots/test_sensor.ambr index ac97ac7a814..6e12d4f8710 100644 --- a/tests/components/mealie/snapshots/test_sensor.ambr +++ b/tests/components/mealie/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_entities[sensor.mealie_categories-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Categories', + : 'Mealie Categories', : , - 'unit_of_measurement': 'categories', + : 'categories', }), 'context': , 'entity_id': 'sensor.mealie_categories', @@ -95,9 +95,9 @@ # name: test_entities[sensor.mealie_recipes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Recipes', + : 'Mealie Recipes', : , - 'unit_of_measurement': 'recipes', + : 'recipes', }), 'context': , 'entity_id': 'sensor.mealie_recipes', @@ -149,9 +149,9 @@ # name: test_entities[sensor.mealie_tags-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Tags', + : 'Mealie Tags', : , - 'unit_of_measurement': 'tags', + : 'tags', }), 'context': , 'entity_id': 'sensor.mealie_tags', @@ -203,9 +203,9 @@ # name: test_entities[sensor.mealie_tools-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Tools', + : 'Mealie Tools', : , - 'unit_of_measurement': 'tools', + : 'tools', }), 'context': , 'entity_id': 'sensor.mealie_tools', @@ -257,9 +257,9 @@ # name: test_entities[sensor.mealie_users-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Users', + : 'Mealie Users', : , - 'unit_of_measurement': 'users', + : 'users', }), 'context': , 'entity_id': 'sensor.mealie_users', diff --git a/tests/components/mealie/snapshots/test_todo.ambr b/tests/components/mealie/snapshots/test_todo.ambr index b52b38e6c7e..886de424471 100644 --- a/tests/components/mealie/snapshots/test_todo.ambr +++ b/tests/components/mealie/snapshots/test_todo.ambr @@ -39,8 +39,8 @@ # name: test_entities[todo.mealie_freezer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Freezer', - 'supported_features': , + : 'Mealie Freezer', + : , }), 'context': , 'entity_id': 'todo.mealie_freezer', @@ -90,8 +90,8 @@ # name: test_entities[todo.mealie_special_groceries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Special groceries', - 'supported_features': , + : 'Mealie Special groceries', + : , }), 'context': , 'entity_id': 'todo.mealie_special_groceries', @@ -141,8 +141,8 @@ # name: test_entities[todo.mealie_supermarket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mealie Supermarket', - 'supported_features': , + : 'Mealie Supermarket', + : , }), 'context': , 'entity_id': 'todo.mealie_supermarket', diff --git a/tests/components/meater/snapshots/test_sensor.ambr b/tests/components/meater/snapshots/test_sensor.ambr index e28e3fc0544..2676cd1269d 100644 --- a/tests/components/meater/snapshots/test_sensor.ambr +++ b/tests/components/meater/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_entities[sensor.meater_probe_40a72384_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Meater Probe 40a72384 Ambient temperature', + : 'temperature', + : 'Meater Probe 40a72384 Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meater_probe_40a72384_ambient_temperature', @@ -109,8 +109,8 @@ # name: test_entities[sensor.meater_probe_40a72384_cook_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Meater Probe 40a72384 Cook state', + : 'enum', + : 'Meater Probe 40a72384 Cook state', : list([ 'not_started', 'configured', @@ -171,7 +171,7 @@ # name: test_entities[sensor.meater_probe_40a72384_cooking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Meater Probe 40a72384 Cooking', + : 'Meater Probe 40a72384 Cooking', }), 'context': , 'entity_id': 'sensor.meater_probe_40a72384_cooking', @@ -226,10 +226,10 @@ # name: test_entities[sensor.meater_probe_40a72384_internal_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Meater Probe 40a72384 Internal temperature', + : 'temperature', + : 'Meater Probe 40a72384 Internal temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meater_probe_40a72384_internal_temperature', @@ -284,10 +284,10 @@ # name: test_entities[sensor.meater_probe_40a72384_peak_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Meater Probe 40a72384 Peak temperature', + : 'temperature', + : 'Meater Probe 40a72384 Peak temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meater_probe_40a72384_peak_temperature', @@ -342,10 +342,10 @@ # name: test_entities[sensor.meater_probe_40a72384_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Meater Probe 40a72384 Target temperature', + : 'temperature', + : 'Meater Probe 40a72384 Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meater_probe_40a72384_target_temperature', @@ -395,8 +395,8 @@ # name: test_entities[sensor.meater_probe_40a72384_time_elapsed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Meater Probe 40a72384 Time elapsed', + : 'timestamp', + : 'Meater Probe 40a72384 Time elapsed', }), 'context': , 'entity_id': 'sensor.meater_probe_40a72384_time_elapsed', @@ -446,8 +446,8 @@ # name: test_entities[sensor.meater_probe_40a72384_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Meater Probe 40a72384 Time remaining', + : 'timestamp', + : 'Meater Probe 40a72384 Time remaining', }), 'context': , 'entity_id': 'sensor.meater_probe_40a72384_time_remaining', diff --git a/tests/components/melcloud/snapshots/test_binary_sensor.ambr b/tests/components/melcloud/snapshots/test_binary_sensor.ambr index 65c26b02a24..af2cbafc091 100644 --- a/tests/components/melcloud/snapshots/test_binary_sensor.ambr +++ b/tests/components/melcloud/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[binary_sensor.ecodan_3_way_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ecodan 3-way valve', + : 'Ecodan 3-way valve', }), 'context': , 'entity_id': 'binary_sensor.ecodan_3_way_valve', @@ -89,8 +89,8 @@ # name: test_all_entities[binary_sensor.ecodan_boiler-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Ecodan Boiler', + : 'running', + : 'Ecodan Boiler', }), 'context': , 'entity_id': 'binary_sensor.ecodan_boiler', @@ -140,8 +140,8 @@ # name: test_all_entities[binary_sensor.ecodan_booster_heater_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Ecodan Booster heater 1', + : 'running', + : 'Ecodan Booster heater 1', }), 'context': , 'entity_id': 'binary_sensor.ecodan_booster_heater_1', @@ -191,8 +191,8 @@ # name: test_all_entities[binary_sensor.ecodan_immersion_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Ecodan Immersion heater', + : 'running', + : 'Ecodan Immersion heater', }), 'context': , 'entity_id': 'binary_sensor.ecodan_immersion_heater', @@ -242,8 +242,8 @@ # name: test_all_entities[binary_sensor.ecodan_water_pump_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Ecodan Water pump 1', + : 'running', + : 'Ecodan Water pump 1', }), 'context': , 'entity_id': 'binary_sensor.ecodan_water_pump_1', @@ -293,8 +293,8 @@ # name: test_all_entities[binary_sensor.ecodan_water_pump_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Ecodan Water pump 2', + : 'running', + : 'Ecodan Water pump 2', }), 'context': , 'entity_id': 'binary_sensor.ecodan_water_pump_2', diff --git a/tests/components/melcloud/snapshots/test_sensor.ambr b/tests/components/melcloud/snapshots/test_sensor.ambr index 11be1ab70d1..bf6052203b6 100644 --- a/tests/components/melcloud/snapshots/test_sensor.ambr +++ b/tests/components/melcloud/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.ecodan_boiler_flow_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Boiler flow temperature', + : 'temperature', + : 'Ecodan Boiler flow temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_boiler_flow_temperature', @@ -102,10 +102,10 @@ # name: test_all_entities[sensor.ecodan_boiler_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Boiler return temperature', + : 'temperature', + : 'Ecodan Boiler return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_boiler_return_temperature', @@ -160,10 +160,10 @@ # name: test_all_entities[sensor.ecodan_condensing_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Condensing temperature', + : 'temperature', + : 'Ecodan Condensing temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_condensing_temperature', @@ -218,10 +218,10 @@ # name: test_all_entities[sensor.ecodan_daily_cooling_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ecodan Daily cooling energy consumed', + : 'energy', + : 'Ecodan Daily cooling energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_daily_cooling_energy_consumed', @@ -276,10 +276,10 @@ # name: test_all_entities[sensor.ecodan_daily_cooling_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ecodan Daily cooling energy produced', + : 'energy', + : 'Ecodan Daily cooling energy produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_daily_cooling_energy_produced', @@ -334,10 +334,10 @@ # name: test_all_entities[sensor.ecodan_daily_heating_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ecodan Daily heating energy consumed', + : 'energy', + : 'Ecodan Daily heating energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_daily_heating_energy_consumed', @@ -392,10 +392,10 @@ # name: test_all_entities[sensor.ecodan_daily_heating_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ecodan Daily heating energy produced', + : 'energy', + : 'Ecodan Daily heating energy produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_daily_heating_energy_produced', @@ -450,10 +450,10 @@ # name: test_all_entities[sensor.ecodan_daily_hot_water_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ecodan Daily hot water energy consumed', + : 'energy', + : 'Ecodan Daily hot water energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_daily_hot_water_energy_consumed', @@ -508,10 +508,10 @@ # name: test_all_entities[sensor.ecodan_daily_hot_water_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ecodan Daily hot water energy produced', + : 'energy', + : 'Ecodan Daily hot water energy produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_daily_hot_water_energy_produced', @@ -566,9 +566,9 @@ # name: test_all_entities[sensor.ecodan_demand_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ecodan Demand percentage', + : 'Ecodan Demand percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ecodan_demand_percentage', @@ -621,9 +621,9 @@ # name: test_all_entities[sensor.ecodan_energy_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Ecodan Energy produced', - 'unit_of_measurement': , + : 'power', + : 'Ecodan Energy produced', + : , }), 'context': , 'entity_id': 'sensor.ecodan_energy_produced', @@ -678,10 +678,10 @@ # name: test_all_entities[sensor.ecodan_flow_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Flow temperature', + : 'temperature', + : 'Ecodan Flow temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_flow_temperature', @@ -736,10 +736,10 @@ # name: test_all_entities[sensor.ecodan_heat_pump_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Ecodan Heat pump frequency', + : 'frequency', + : 'Ecodan Heat pump frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_heat_pump_frequency', @@ -794,10 +794,10 @@ # name: test_all_entities[sensor.ecodan_mixing_tank_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Mixing tank temperature', + : 'temperature', + : 'Ecodan Mixing tank temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_mixing_tank_temperature', @@ -852,10 +852,10 @@ # name: test_all_entities[sensor.ecodan_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Outside temperature', + : 'temperature', + : 'Ecodan Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_outside_temperature', @@ -910,10 +910,10 @@ # name: test_all_entities[sensor.ecodan_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Return temperature', + : 'temperature', + : 'Ecodan Return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_return_temperature', @@ -963,9 +963,9 @@ # name: test_all_entities[sensor.ecodan_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Ecodan Signal strength', - 'unit_of_measurement': 'dBm', + : 'signal_strength', + : 'Ecodan Signal strength', + : 'dBm', }), 'context': , 'entity_id': 'sensor.ecodan_signal_strength', @@ -1020,10 +1020,10 @@ # name: test_all_entities[sensor.ecodan_tank_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Tank temperature', + : 'temperature', + : 'Ecodan Tank temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_tank_temperature', @@ -1078,10 +1078,10 @@ # name: test_all_entities[sensor.ecodan_zone_1_flow_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Zone 1 Flow temperature', + : 'temperature', + : 'Ecodan Zone 1 Flow temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_zone_1_flow_temperature', @@ -1136,10 +1136,10 @@ # name: test_all_entities[sensor.ecodan_zone_1_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Zone 1 Return temperature', + : 'temperature', + : 'Ecodan Zone 1 Return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_zone_1_return_temperature', @@ -1194,10 +1194,10 @@ # name: test_all_entities[sensor.ecodan_zone_1_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ecodan Zone 1 Room temperature', + : 'temperature', + : 'Ecodan Zone 1 Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ecodan_zone_1_room_temperature', diff --git a/tests/components/melcloud_home/snapshots/test_binary_sensor.ambr b/tests/components/melcloud_home/snapshots/test_binary_sensor.ambr index 57f431e9d7c..fc20fd067c7 100644 --- a/tests/components/melcloud_home/snapshots/test_binary_sensor.ambr +++ b/tests/components/melcloud_home/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.heat_pump_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Heat Pump Error', + : 'problem', + : 'Heat Pump Error', }), 'context': , 'entity_id': 'binary_sensor.heat_pump_error', @@ -90,7 +90,7 @@ # name: test_all_entities[binary_sensor.heat_pump_forced_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heat Pump Forced hot water', + : 'Heat Pump Forced hot water', }), 'context': , 'entity_id': 'binary_sensor.heat_pump_forced_hot_water', @@ -140,7 +140,7 @@ # name: test_all_entities[binary_sensor.heat_pump_holiday_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heat Pump Holiday mode', + : 'Heat Pump Holiday mode', }), 'context': , 'entity_id': 'binary_sensor.heat_pump_holiday_mode', @@ -190,7 +190,7 @@ # name: test_all_entities[binary_sensor.heat_pump_standby-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heat Pump Standby', + : 'Heat Pump Standby', }), 'context': , 'entity_id': 'binary_sensor.heat_pump_standby', @@ -240,8 +240,8 @@ # name: test_all_entities[binary_sensor.living_room_ac_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Living Room AC Error', + : 'problem', + : 'Living Room AC Error', }), 'context': , 'entity_id': 'binary_sensor.living_room_ac_error', @@ -291,7 +291,7 @@ # name: test_all_entities[binary_sensor.living_room_ac_frost_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room AC Frost protection', + : 'Living Room AC Frost protection', }), 'context': , 'entity_id': 'binary_sensor.living_room_ac_frost_protection', @@ -341,7 +341,7 @@ # name: test_all_entities[binary_sensor.living_room_ac_holiday_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room AC Holiday mode', + : 'Living Room AC Holiday mode', }), 'context': , 'entity_id': 'binary_sensor.living_room_ac_holiday_mode', @@ -391,7 +391,7 @@ # name: test_all_entities[binary_sensor.living_room_ac_overheat_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room AC Overheat protection', + : 'Living Room AC Overheat protection', }), 'context': , 'entity_id': 'binary_sensor.living_room_ac_overheat_protection', @@ -441,7 +441,7 @@ # name: test_all_entities[binary_sensor.living_room_ac_standby-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room AC Standby', + : 'Living Room AC Standby', }), 'context': , 'entity_id': 'binary_sensor.living_room_ac_standby', diff --git a/tests/components/melcloud_home/snapshots/test_climate.ambr b/tests/components/melcloud_home/snapshots/test_climate.ambr index 772636774a9..3d55e0981f4 100644 --- a/tests/components/melcloud_home/snapshots/test_climate.ambr +++ b/tests/components/melcloud_home/snapshots/test_climate.ambr @@ -48,7 +48,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Heat Pump Zone 1', + : 'Heat Pump Zone 1', : list([ , , @@ -56,7 +56,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 21.0, }), 'context': , @@ -116,7 +116,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'Heat Pump Zone 2', + : 'Heat Pump Zone 2', : list([ , , @@ -124,7 +124,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 22.0, }), 'context': , @@ -222,7 +222,7 @@ 'speed_4', 'speed_5', ]), - 'friendly_name': 'Living Room AC', + : 'Living Room AC', : list([ , , @@ -233,7 +233,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 'centre', : list([ 'auto', diff --git a/tests/components/melcloud_home/snapshots/test_sensor.ambr b/tests/components/melcloud_home/snapshots/test_sensor.ambr index 85e890a5695..85a3c4d31e2 100644 --- a/tests/components/melcloud_home/snapshots/test_sensor.ambr +++ b/tests/components/melcloud_home/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.heat_pump_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Heat Pump Signal strength', + : 'signal_strength', + : 'Heat Pump Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.heat_pump_signal_strength', @@ -99,10 +99,10 @@ # name: test_all_entities[sensor.heat_pump_tank_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heat Pump Tank water temperature', + : 'temperature', + : 'Heat Pump Tank water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_tank_water_temperature', @@ -157,10 +157,10 @@ # name: test_all_entities[sensor.heat_pump_zone_1_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heat Pump Zone 1 room temperature', + : 'temperature', + : 'Heat Pump Zone 1 room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_zone_1_room_temperature', @@ -215,10 +215,10 @@ # name: test_all_entities[sensor.heat_pump_zone_2_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heat Pump Zone 2 room temperature', + : 'temperature', + : 'Heat Pump Zone 2 room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_zone_2_room_temperature', @@ -273,10 +273,10 @@ # name: test_all_entities[sensor.living_room_ac_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living Room AC Room temperature', + : 'temperature', + : 'Living Room AC Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_ac_room_temperature', @@ -328,10 +328,10 @@ # name: test_all_entities[sensor.living_room_ac_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room AC Signal strength', + : 'signal_strength', + : 'Living Room AC Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.living_room_ac_signal_strength', diff --git a/tests/components/melcloud_home/snapshots/test_switch.ambr b/tests/components/melcloud_home/snapshots/test_switch.ambr index 1cc573e1f3f..4d3f0f73f2f 100644 --- a/tests/components/melcloud_home/snapshots/test_switch.ambr +++ b/tests/components/melcloud_home/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[switch.heat_pump_frost_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Heat Pump Frost protection', + : 'switch', + : 'Heat Pump Frost protection', }), 'context': , 'entity_id': 'switch.heat_pump_frost_protection', @@ -90,8 +90,8 @@ # name: test_all_entities[switch.heat_pump_overheat_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Heat Pump Overheat protection', + : 'switch', + : 'Heat Pump Overheat protection', }), 'context': , 'entity_id': 'switch.heat_pump_overheat_protection', @@ -141,8 +141,8 @@ # name: test_all_entities[switch.living_room_ac_frost_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Living Room AC Frost protection', + : 'switch', + : 'Living Room AC Frost protection', }), 'context': , 'entity_id': 'switch.living_room_ac_frost_protection', @@ -192,8 +192,8 @@ # name: test_all_entities[switch.living_room_ac_overheat_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Living Room AC Overheat protection', + : 'switch', + : 'Living Room AC Overheat protection', }), 'context': , 'entity_id': 'switch.living_room_ac_overheat_protection', diff --git a/tests/components/melissa/snapshots/test_climate.ambr b/tests/components/melissa/snapshots/test_climate.ambr index b9066600d1d..9846b53c1ef 100644 --- a/tests/components/melissa/snapshots/test_climate.ambr +++ b/tests/components/melissa/snapshots/test_climate.ambr @@ -11,7 +11,7 @@ 'medium', 'low', ]), - 'friendly_name': 'Melissa 12345678', + : 'Melissa 12345678', : list([ , , @@ -21,7 +21,7 @@ ]), : 30, : 16, - 'supported_features': , + : , : 1, : 16, }), diff --git a/tests/components/meteo_france/snapshots/test_sensor.ambr b/tests/components/meteo_france/snapshots/test_sensor.ambr index 36417024476..fa54e323001 100644 --- a/tests/components/meteo_france/snapshots/test_sensor.ambr +++ b/tests/components/meteo_france/snapshots/test_sensor.ambr @@ -45,9 +45,9 @@ 'Orages': 'Jaune', 'Pluie-inondation': 'Vert', 'Vent violent': 'Vert', - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz 32 Weather alert', - 'icon': 'mdi:weather-cloudy-alert', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz 32 Weather alert', + : 'mdi:weather-cloudy-alert', }), 'context': , 'entity_id': 'sensor.meteo_france_alert_for_department_74_32_weather_alert', @@ -97,10 +97,10 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_cloud_cover-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Cloud cover', - 'icon': 'mdi:weather-partly-cloudy', - 'unit_of_measurement': '%', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz Cloud cover', + : 'mdi:weather-partly-cloudy', + : '%', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_cloud_cover', @@ -150,8 +150,8 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_daily_original_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Daily original condition', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz Daily original condition', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_daily_original_condition', @@ -204,10 +204,10 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_daily_precipitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'device_class': 'precipitation', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Daily precipitation', - 'unit_of_measurement': , + : 'Data provided by Météo-France', + : 'precipitation', + : 'Météo-France forecast for city La Clusaz La Clusaz Daily precipitation', + : , }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_daily_precipitation', @@ -257,10 +257,10 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_freeze_chance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Freeze chance', - 'icon': 'mdi:snowflake', - 'unit_of_measurement': '%', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz Freeze chance', + : 'mdi:snowflake', + : '%', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_freeze_chance', @@ -312,11 +312,11 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'device_class': 'humidity', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Humidity', + : 'Data provided by Météo-France', + : 'humidity', + : 'Météo-France forecast for city La Clusaz La Clusaz Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_humidity', @@ -366,8 +366,8 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_original_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Original condition', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz Original condition', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_original_condition', @@ -422,11 +422,11 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Pressure', + : 'Data provided by Météo-France', + : 'atmospheric_pressure', + : 'Météo-France forecast for city La Clusaz La Clusaz Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_pressure', @@ -476,10 +476,10 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_rain_chance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Rain chance', - 'icon': 'mdi:weather-rainy', - 'unit_of_measurement': '%', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz Rain chance', + : 'mdi:weather-rainy', + : '%', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_rain_chance', @@ -529,10 +529,10 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_snow_chance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Snow chance', - 'icon': 'mdi:weather-snowy', - 'unit_of_measurement': '%', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz Snow chance', + : 'mdi:weather-snowy', + : '%', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_snow_chance', @@ -587,11 +587,11 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'device_class': 'temperature', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Temperature', + : 'Data provided by Météo-France', + : 'temperature', + : 'Météo-France forecast for city La Clusaz La Clusaz Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_temperature', @@ -641,10 +641,10 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_uv-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz UV', - 'icon': 'mdi:sunglasses', - 'unit_of_measurement': 'UV index', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz UV', + : 'mdi:sunglasses', + : 'UV index', }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_uv', @@ -699,12 +699,12 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_wind_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'device_class': 'wind_speed', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Wind gust', - 'icon': 'mdi:weather-windy-variant', + : 'Data provided by Météo-France', + : 'wind_speed', + : 'Météo-France forecast for city La Clusaz La Clusaz Wind gust', + : 'mdi:weather-windy-variant', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_wind_gust', @@ -759,11 +759,11 @@ # name: test_sensor[sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'device_class': 'wind_speed', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz Wind speed', + : 'Data provided by Météo-France', + : 'wind_speed', + : 'Météo-France forecast for city La Clusaz La Clusaz Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meteo_france_forecast_for_city_la_clusaz_la_clusaz_wind_speed', @@ -824,10 +824,10 @@ '5 min': 'Temps sec', '55 min': 'Temps sec', }), - 'attribution': 'Data provided by Météo-France', - 'device_class': 'timestamp', + : 'Data provided by Météo-France', + : 'timestamp', 'forecast_time_ref': '2020-05-20T17:35:00+00:00', - 'friendly_name': 'Météo-France forecast for city La Clusaz Meudon Next rain', + : 'Météo-France forecast for city La Clusaz Meudon Next rain', }), 'context': , 'entity_id': 'sensor.meteo_france_rain_for_city_la_clusaz_meudon_next_rain', diff --git a/tests/components/meteo_france/snapshots/test_weather.ambr b/tests/components/meteo_france/snapshots/test_weather.ambr index 0a035dfaa61..db1cb1d6850 100644 --- a/tests/components/meteo_france/snapshots/test_weather.ambr +++ b/tests/components/meteo_france/snapshots/test_weather.ambr @@ -39,13 +39,13 @@ # name: test_weather[weather.meteo_france_forecast_for_city_la_clusaz_la_clusaz-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Météo-France', - 'friendly_name': 'Météo-France forecast for city La Clusaz La Clusaz', + : 'Data provided by Météo-France', + : 'Météo-France forecast for city La Clusaz La Clusaz', : 75, : , : 988.7, : , - 'supported_features': , + : , : 9.1, : , : , diff --git a/tests/components/meteo_lt/snapshots/test_weather.ambr b/tests/components/meteo_lt/snapshots/test_weather.ambr index d9023e22128..6f963205a8c 100644 --- a/tests/components/meteo_lt/snapshots/test_weather.ambr +++ b/tests/components/meteo_lt/snapshots/test_weather.ambr @@ -40,14 +40,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 10.9, - 'attribution': 'Data provided by Lithuanian Hydrometeorological Service (LHMT)', + : 'Data provided by Lithuanian Hydrometeorological Service (LHMT)', : 1, - 'friendly_name': 'Vilnius', + : 'Vilnius', : 71, : , : 1033.0, : , - 'supported_features': , + : , : 10.9, : , : , diff --git a/tests/components/miele/snapshots/test_binary_sensor.ambr b/tests/components/miele/snapshots/test_binary_sensor.ambr index 39433f62962..09b9decdce4 100644 --- a/tests/components/miele/snapshots/test_binary_sensor.ambr +++ b/tests/components/miele/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.freezer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Freezer Door', + : 'door', + : 'Freezer Door', }), 'context': , 'entity_id': 'binary_sensor.freezer_door', @@ -90,7 +90,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.freezer_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Mobile start', + : 'Freezer Mobile start', }), 'context': , 'entity_id': 'binary_sensor.freezer_mobile_start', @@ -140,8 +140,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.freezer_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Freezer Notification active', + : 'problem', + : 'Freezer Notification active', }), 'context': , 'entity_id': 'binary_sensor.freezer_notification_active', @@ -191,8 +191,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.freezer_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Freezer Problem', + : 'problem', + : 'Freezer Problem', }), 'context': , 'entity_id': 'binary_sensor.freezer_problem', @@ -242,7 +242,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.freezer_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Remote control', + : 'Freezer Remote control', }), 'context': , 'entity_id': 'binary_sensor.freezer_remote_control', @@ -292,7 +292,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.freezer_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Smart grid', + : 'Freezer Smart grid', }), 'context': , 'entity_id': 'binary_sensor.freezer_smart_grid', @@ -342,7 +342,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.hood_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Mobile start', + : 'Hood Mobile start', }), 'context': , 'entity_id': 'binary_sensor.hood_mobile_start', @@ -392,8 +392,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.hood_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Hood Notification active', + : 'problem', + : 'Hood Notification active', }), 'context': , 'entity_id': 'binary_sensor.hood_notification_active', @@ -443,8 +443,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.hood_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Hood Problem', + : 'problem', + : 'Hood Problem', }), 'context': , 'entity_id': 'binary_sensor.hood_problem', @@ -494,7 +494,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.hood_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Remote control', + : 'Hood Remote control', }), 'context': , 'entity_id': 'binary_sensor.hood_remote_control', @@ -544,7 +544,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.hood_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Smart grid', + : 'Hood Smart grid', }), 'context': , 'entity_id': 'binary_sensor.hood_smart_grid', @@ -594,8 +594,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.oven_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Oven Door', + : 'door', + : 'Oven Door', }), 'context': , 'entity_id': 'binary_sensor.oven_door', @@ -645,7 +645,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.oven_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Mobile start', + : 'Oven Mobile start', }), 'context': , 'entity_id': 'binary_sensor.oven_mobile_start', @@ -695,8 +695,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.oven_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Oven Notification active', + : 'problem', + : 'Oven Notification active', }), 'context': , 'entity_id': 'binary_sensor.oven_notification_active', @@ -746,8 +746,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.oven_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Oven Problem', + : 'problem', + : 'Oven Problem', }), 'context': , 'entity_id': 'binary_sensor.oven_problem', @@ -797,7 +797,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.oven_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Remote control', + : 'Oven Remote control', }), 'context': , 'entity_id': 'binary_sensor.oven_remote_control', @@ -847,7 +847,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.oven_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Smart grid', + : 'Oven Smart grid', }), 'context': , 'entity_id': 'binary_sensor.oven_smart_grid', @@ -897,8 +897,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.refrigerator_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Refrigerator Door', + : 'door', + : 'Refrigerator Door', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_door', @@ -948,7 +948,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.refrigerator_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Mobile start', + : 'Refrigerator Mobile start', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_mobile_start', @@ -998,8 +998,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.refrigerator_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Refrigerator Notification active', + : 'problem', + : 'Refrigerator Notification active', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_notification_active', @@ -1049,8 +1049,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.refrigerator_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Refrigerator Problem', + : 'problem', + : 'Refrigerator Problem', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_problem', @@ -1100,7 +1100,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.refrigerator_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Remote control', + : 'Refrigerator Remote control', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_remote_control', @@ -1150,7 +1150,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.refrigerator_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Smart grid', + : 'Refrigerator Smart grid', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_smart_grid', @@ -1200,8 +1200,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.washing_machine_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Washing machine Door', + : 'door', + : 'Washing machine Door', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_door', @@ -1251,7 +1251,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.washing_machine_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Mobile start', + : 'Washing machine Mobile start', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_mobile_start', @@ -1301,8 +1301,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.washing_machine_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Washing machine Notification active', + : 'problem', + : 'Washing machine Notification active', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_notification_active', @@ -1352,8 +1352,8 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.washing_machine_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Washing machine Problem', + : 'problem', + : 'Washing machine Problem', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_problem', @@ -1403,7 +1403,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.washing_machine_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Remote control', + : 'Washing machine Remote control', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_remote_control', @@ -1453,7 +1453,7 @@ # name: test_binary_sensor_states[platforms0][binary_sensor.washing_machine_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Smart grid', + : 'Washing machine Smart grid', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_smart_grid', @@ -1503,8 +1503,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.freezer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Freezer Door', + : 'door', + : 'Freezer Door', }), 'context': , 'entity_id': 'binary_sensor.freezer_door', @@ -1554,7 +1554,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.freezer_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Mobile start', + : 'Freezer Mobile start', }), 'context': , 'entity_id': 'binary_sensor.freezer_mobile_start', @@ -1604,8 +1604,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.freezer_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Freezer Notification active', + : 'problem', + : 'Freezer Notification active', }), 'context': , 'entity_id': 'binary_sensor.freezer_notification_active', @@ -1655,8 +1655,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.freezer_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Freezer Problem', + : 'problem', + : 'Freezer Problem', }), 'context': , 'entity_id': 'binary_sensor.freezer_problem', @@ -1706,7 +1706,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.freezer_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Remote control', + : 'Freezer Remote control', }), 'context': , 'entity_id': 'binary_sensor.freezer_remote_control', @@ -1756,7 +1756,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.freezer_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Smart grid', + : 'Freezer Smart grid', }), 'context': , 'entity_id': 'binary_sensor.freezer_smart_grid', @@ -1806,7 +1806,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.hood_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Mobile start', + : 'Hood Mobile start', }), 'context': , 'entity_id': 'binary_sensor.hood_mobile_start', @@ -1856,8 +1856,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.hood_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Hood Notification active', + : 'problem', + : 'Hood Notification active', }), 'context': , 'entity_id': 'binary_sensor.hood_notification_active', @@ -1907,8 +1907,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.hood_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Hood Problem', + : 'problem', + : 'Hood Problem', }), 'context': , 'entity_id': 'binary_sensor.hood_problem', @@ -1958,7 +1958,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.hood_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Remote control', + : 'Hood Remote control', }), 'context': , 'entity_id': 'binary_sensor.hood_remote_control', @@ -2008,7 +2008,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.hood_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Smart grid', + : 'Hood Smart grid', }), 'context': , 'entity_id': 'binary_sensor.hood_smart_grid', @@ -2058,8 +2058,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.oven_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Oven Door', + : 'door', + : 'Oven Door', }), 'context': , 'entity_id': 'binary_sensor.oven_door', @@ -2109,7 +2109,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.oven_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Mobile start', + : 'Oven Mobile start', }), 'context': , 'entity_id': 'binary_sensor.oven_mobile_start', @@ -2159,8 +2159,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.oven_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Oven Notification active', + : 'problem', + : 'Oven Notification active', }), 'context': , 'entity_id': 'binary_sensor.oven_notification_active', @@ -2210,8 +2210,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.oven_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Oven Problem', + : 'problem', + : 'Oven Problem', }), 'context': , 'entity_id': 'binary_sensor.oven_problem', @@ -2261,7 +2261,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.oven_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Remote control', + : 'Oven Remote control', }), 'context': , 'entity_id': 'binary_sensor.oven_remote_control', @@ -2311,7 +2311,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.oven_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Smart grid', + : 'Oven Smart grid', }), 'context': , 'entity_id': 'binary_sensor.oven_smart_grid', @@ -2361,8 +2361,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.refrigerator_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Refrigerator Door', + : 'door', + : 'Refrigerator Door', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_door', @@ -2412,7 +2412,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.refrigerator_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Mobile start', + : 'Refrigerator Mobile start', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_mobile_start', @@ -2462,8 +2462,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.refrigerator_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Refrigerator Notification active', + : 'problem', + : 'Refrigerator Notification active', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_notification_active', @@ -2513,8 +2513,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.refrigerator_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Refrigerator Problem', + : 'problem', + : 'Refrigerator Problem', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_problem', @@ -2564,7 +2564,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.refrigerator_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Remote control', + : 'Refrigerator Remote control', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_remote_control', @@ -2614,7 +2614,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.refrigerator_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Smart grid', + : 'Refrigerator Smart grid', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_smart_grid', @@ -2664,8 +2664,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.washing_machine_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Washing machine Door', + : 'door', + : 'Washing machine Door', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_door', @@ -2715,7 +2715,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.washing_machine_mobile_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Mobile start', + : 'Washing machine Mobile start', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_mobile_start', @@ -2765,8 +2765,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.washing_machine_notification_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Washing machine Notification active', + : 'problem', + : 'Washing machine Notification active', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_notification_active', @@ -2816,8 +2816,8 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.washing_machine_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Washing machine Problem', + : 'problem', + : 'Washing machine Problem', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_problem', @@ -2867,7 +2867,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.washing_machine_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Remote control', + : 'Washing machine Remote control', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_remote_control', @@ -2917,7 +2917,7 @@ # name: test_binary_sensor_states_api_push[platforms0][binary_sensor.washing_machine_smart_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Smart grid', + : 'Washing machine Smart grid', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_smart_grid', diff --git a/tests/components/miele/snapshots/test_button.ambr b/tests/components/miele/snapshots/test_button.ambr index b582e18ffc3..4f2b63f8c17 100644 --- a/tests/components/miele/snapshots/test_button.ambr +++ b/tests/components/miele/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_states[platforms0][button.hood_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Stop', + : 'Hood Stop', }), 'context': , 'entity_id': 'button.hood_stop', @@ -89,7 +89,7 @@ # name: test_button_states[platforms0][button.oven_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Start', + : 'Oven Start', }), 'context': , 'entity_id': 'button.oven_start', @@ -139,7 +139,7 @@ # name: test_button_states[platforms0][button.oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Stop', + : 'Oven Stop', }), 'context': , 'entity_id': 'button.oven_stop', @@ -189,7 +189,7 @@ # name: test_button_states[platforms0][button.washing_machine_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Pause', + : 'Washing machine Pause', }), 'context': , 'entity_id': 'button.washing_machine_pause', @@ -239,7 +239,7 @@ # name: test_button_states[platforms0][button.washing_machine_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Start', + : 'Washing machine Start', }), 'context': , 'entity_id': 'button.washing_machine_start', @@ -289,7 +289,7 @@ # name: test_button_states[platforms0][button.washing_machine_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Stop', + : 'Washing machine Stop', }), 'context': , 'entity_id': 'button.washing_machine_stop', @@ -339,7 +339,7 @@ # name: test_button_states_api_push[platforms0][button.hood_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Stop', + : 'Hood Stop', }), 'context': , 'entity_id': 'button.hood_stop', @@ -389,7 +389,7 @@ # name: test_button_states_api_push[platforms0][button.oven_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Start', + : 'Oven Start', }), 'context': , 'entity_id': 'button.oven_start', @@ -439,7 +439,7 @@ # name: test_button_states_api_push[platforms0][button.oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Stop', + : 'Oven Stop', }), 'context': , 'entity_id': 'button.oven_stop', @@ -489,7 +489,7 @@ # name: test_button_states_api_push[platforms0][button.washing_machine_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Pause', + : 'Washing machine Pause', }), 'context': , 'entity_id': 'button.washing_machine_pause', @@ -539,7 +539,7 @@ # name: test_button_states_api_push[platforms0][button.washing_machine_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Start', + : 'Washing machine Start', }), 'context': , 'entity_id': 'button.washing_machine_start', @@ -589,7 +589,7 @@ # name: test_button_states_api_push[platforms0][button.washing_machine_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Stop', + : 'Washing machine Stop', }), 'context': , 'entity_id': 'button.washing_machine_stop', diff --git a/tests/components/miele/snapshots/test_climate.ambr b/tests/components/miele/snapshots/test_climate.ambr index 6d0a009c4e6..a0075fb92dd 100644 --- a/tests/components/miele/snapshots/test_climate.ambr +++ b/tests/components/miele/snapshots/test_climate.ambr @@ -47,13 +47,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : -18, - 'friendly_name': 'Freezer', + : 'Freezer', : list([ , ]), : -14, : -28, - 'supported_features': , + : , : 1.0, : -18, }), @@ -113,13 +113,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 4, - 'friendly_name': 'Refrigerator', + : 'Refrigerator', : list([ , ]), : -14, : -28, - 'supported_features': , + : , : 1.0, : 4, }), @@ -179,13 +179,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : -18, - 'friendly_name': 'Freezer', + : 'Freezer', : list([ , ]), : -13, : -27, - 'supported_features': , + : , : 1.0, : -18, }), @@ -245,13 +245,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 4, - 'friendly_name': 'Refrigerator', + : 'Refrigerator', : list([ , ]), : 9, : 1, - 'supported_features': , + : , : 1.0, : 4, }), @@ -311,13 +311,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : -18, - 'friendly_name': 'Fridge freezer Freezer', + : 'Fridge freezer Freezer', : list([ , ]), : -14, : -28, - 'supported_features': , + : , : 1.0, : -18, }), @@ -377,13 +377,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Fridge freezer Freezer', + : 'Fridge freezer Freezer', : list([ , ]), : -14, : -28, - 'supported_features': , + : , : 1.0, : None, }), @@ -443,13 +443,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 4, - 'friendly_name': 'Fridge freezer Refrigerator', + : 'Fridge freezer Refrigerator', : list([ , ]), : 9, : 1, - 'supported_features': , + : , : 1.0, : 4, }), @@ -509,13 +509,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Fridge freezer Refrigerator', + : 'Fridge freezer Refrigerator', : list([ , ]), : 9, : 1, - 'supported_features': , + : , : 1.0, : None, }), @@ -575,13 +575,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : -28, - 'friendly_name': 'Fridge freezer Zone 3', + : 'Fridge freezer Zone 3', : list([ , ]), : -15, : -30, - 'supported_features': , + : , : 1.0, : -25, }), @@ -641,13 +641,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Fridge freezer Zone 3', + : 'Fridge freezer Zone 3', : list([ , ]), : -15, : -30, - 'supported_features': , + : , : 1.0, : None, }), @@ -707,13 +707,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : -18, - 'friendly_name': 'Fridge freezer Freezer', + : 'Fridge freezer Freezer', : list([ , ]), : 35, : 7, - 'supported_features': , + : , : 1.0, : -18, }), @@ -773,13 +773,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Fridge freezer Freezer', + : 'Fridge freezer Freezer', : list([ , ]), : 35, : 7, - 'supported_features': , + : , : 1.0, : None, }), @@ -839,13 +839,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 4, - 'friendly_name': 'Fridge freezer Refrigerator', + : 'Fridge freezer Refrigerator', : list([ , ]), : 35, : 7, - 'supported_features': , + : , : 1.0, : 4, }), @@ -905,13 +905,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Fridge freezer Refrigerator', + : 'Fridge freezer Refrigerator', : list([ , ]), : 35, : 7, - 'supported_features': , + : , : 1.0, : None, }), @@ -971,13 +971,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : -28, - 'friendly_name': 'Fridge freezer Zone 3', + : 'Fridge freezer Zone 3', : list([ , ]), : 35, : 7, - 'supported_features': , + : , : 1.0, : -25, }), @@ -1037,13 +1037,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Fridge freezer Zone 3', + : 'Fridge freezer Zone 3', : list([ , ]), : 35, : 7, - 'supported_features': , + : , : 1.0, : None, }), diff --git a/tests/components/miele/snapshots/test_fan.ambr b/tests/components/miele/snapshots/test_fan.ambr index 0c77049d29e..ee496d984dc 100644 --- a/tests/components/miele/snapshots/test_fan.ambr +++ b/tests/components/miele/snapshots/test_fan.ambr @@ -40,8 +40,8 @@ # name: test_fan_states[fan_devices.json-platforms0][fan.hob_with_extraction_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hob with extraction Fan', - 'supported_features': , + : 'Hob with extraction Fan', + : , }), 'context': , 'entity_id': 'fan.hob_with_extraction_fan', @@ -92,8 +92,8 @@ # name: test_fan_states[fan_devices.json-platforms0][fan.hob_with_extraction_fan_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hob with extraction Fan', - 'supported_features': , + : 'Hob with extraction Fan', + : , }), 'context': , 'entity_id': 'fan.hob_with_extraction_fan_2', @@ -145,12 +145,12 @@ # name: test_fan_states[fan_devices.json-platforms0][fan.hood_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Fan', + : 'Hood Fan', : 0, : 25.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.hood_fan', @@ -202,12 +202,12 @@ # name: test_fan_states_api_push[platforms0][fan.hood_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Fan', + : 'Hood Fan', : 0, : 25.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.hood_fan', diff --git a/tests/components/miele/snapshots/test_light.ambr b/tests/components/miele/snapshots/test_light.ambr index 4a7cd2f36ec..0d4396bc38f 100644 --- a/tests/components/miele/snapshots/test_light.ambr +++ b/tests/components/miele/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Hood Ambient light', + : 'Hood Ambient light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.hood_ambient_light', @@ -103,11 +103,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Hood Light', + : 'Hood Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.hood_light', @@ -162,11 +162,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Oven Light', + : 'Oven Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.oven_light', @@ -221,11 +221,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Hood Ambient light', + : 'Hood Ambient light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.hood_ambient_light', @@ -280,11 +280,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Hood Light', + : 'Hood Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.hood_light', @@ -339,11 +339,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Oven Light', + : 'Oven Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.oven_light', diff --git a/tests/components/miele/snapshots/test_select.ambr b/tests/components/miele/snapshots/test_select.ambr index da1390b076f..1225daf8f7a 100644 --- a/tests/components/miele/snapshots/test_select.ambr +++ b/tests/components/miele/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_select_states[platforms0-freezer][select.freezer_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Mode', + : 'Freezer Mode', : list([ 'normal', 'sabbath', @@ -103,7 +103,7 @@ # name: test_select_states[platforms0-freezer][select.refrigerator_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Mode', + : 'Refrigerator Mode', : list([ 'normal', 'sabbath', diff --git a/tests/components/miele/snapshots/test_sensor.ambr b/tests/components/miele/snapshots/test_sensor.ambr index 28e2d7025fe..2bba3f40d7e 100644 --- a/tests/components/miele/snapshots/test_sensor.ambr +++ b/tests/components/miele/snapshots/test_sensor.ambr @@ -61,9 +61,9 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.coffee_system-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Coffee system', - 'icon': 'mdi:coffee-maker', + : 'enum', + : 'Coffee system', + : 'mdi:coffee-maker', : list([ 'autocleaning', 'failure', @@ -136,7 +136,7 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.coffee_system_degreasing_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Coffee system Degreasing cycles', + : 'Coffee system Degreasing cycles', : , }), 'context': , @@ -189,7 +189,7 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.coffee_system_descaling_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Coffee system Descaling cycles', + : 'Coffee system Descaling cycles', : , }), 'context': , @@ -242,7 +242,7 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.coffee_system_milk_pipework_cleaning_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Coffee system Milk pipework cleaning cycles', + : 'Coffee system Milk pipework cleaning cycles', : , }), 'context': , @@ -329,8 +329,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.coffee_system_program-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Coffee system Program', + : 'enum', + : 'Coffee system Program', : list([ 'appliance_rinse', 'appliance_settings', @@ -431,8 +431,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.coffee_system_program_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Coffee system Program phase', + : 'enum', + : 'Coffee system Program phase', : list([ '2nd_espresso', '2nd_grinding', @@ -503,8 +503,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.coffee_system_program_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Coffee system Program type', + : 'enum', + : 'Coffee system Program type', : list([ 'automatic_program', 'maintenance_program', @@ -560,8 +560,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.powerdisk_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PowerDisk level', - 'unit_of_measurement': '%', + : 'PowerDisk level', + : '%', }), 'context': , 'entity_id': 'sensor.powerdisk_level', @@ -611,8 +611,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.rinse_aid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rinse aid level', - 'unit_of_measurement': '%', + : 'Rinse aid level', + : '%', }), 'context': , 'entity_id': 'sensor.rinse_aid_level', @@ -662,8 +662,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.salt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salt level', - 'unit_of_measurement': '%', + : 'Salt level', + : '%', }), 'context': , 'entity_id': 'sensor.salt_level', @@ -713,8 +713,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level', @@ -764,8 +764,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.twindos_1_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level_2', @@ -815,8 +815,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level', @@ -866,8 +866,8 @@ # name: test_coffee_system_sensor_states[platforms0-coffee_system.json][sensor.twindos_2_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level_2', @@ -919,7 +919,7 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.degreasing_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Degreasing cycles', + : 'Degreasing cycles', : , }), 'context': , @@ -972,7 +972,7 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.descaling_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Descaling cycles', + : 'Descaling cycles', : , }), 'context': , @@ -1045,9 +1045,9 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction', - 'icon': 'mdi:pot-steam-outline', + : 'enum', + : 'Hob with extraction', + : 'mdi:pot-steam-outline', : list([ 'autocleaning', 'failure', @@ -1140,9 +1140,9 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction', - 'icon': 'mdi:pot-steam-outline', + : 'enum', + : 'Hob with extraction', + : 'mdi:pot-steam-outline', : list([ 'autocleaning', 'failure', @@ -1238,8 +1238,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 1', + : 'enum', + : 'Hob with extraction Plate 1', : list([ 'plate_step_0', 'plate_step_1', @@ -1338,8 +1338,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 1', + : 'enum', + : 'Hob with extraction Plate 1', : list([ 'plate_step_0', 'plate_step_1', @@ -1438,8 +1438,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 2', + : 'enum', + : 'Hob with extraction Plate 2', : list([ 'plate_step_0', 'plate_step_1', @@ -1538,8 +1538,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_2_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 2', + : 'enum', + : 'Hob with extraction Plate 2', : list([ 'plate_step_0', 'plate_step_1', @@ -1638,8 +1638,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 3', + : 'enum', + : 'Hob with extraction Plate 3', : list([ 'plate_step_0', 'plate_step_1', @@ -1738,8 +1738,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_3_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 3', + : 'enum', + : 'Hob with extraction Plate 3', : list([ 'plate_step_0', 'plate_step_1', @@ -1838,8 +1838,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 4', + : 'enum', + : 'Hob with extraction Plate 4', : list([ 'plate_step_0', 'plate_step_1', @@ -1938,8 +1938,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_4_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 4', + : 'enum', + : 'Hob with extraction Plate 4', : list([ 'plate_step_0', 'plate_step_1', @@ -2038,8 +2038,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hob_with_extraction_plate_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hob with extraction Plate 5', + : 'enum', + : 'Hob with extraction Plate 5', : list([ 'plate_step_0', 'plate_step_1', @@ -2135,9 +2135,9 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hood', - 'icon': 'mdi:turbine', + : 'enum', + : 'Hood', + : 'mdi:turbine', : list([ 'autocleaning', 'failure', @@ -2210,7 +2210,7 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.milk_pipework_cleaning_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Milk pipework cleaning cycles', + : 'Milk pipework cleaning cycles', : , }), 'context': , @@ -2261,8 +2261,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.powerdisk_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PowerDisk level', - 'unit_of_measurement': '%', + : 'PowerDisk level', + : '%', }), 'context': , 'entity_id': 'sensor.powerdisk_level', @@ -2312,8 +2312,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.rinse_aid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rinse aid level', - 'unit_of_measurement': '%', + : 'Rinse aid level', + : '%', }), 'context': , 'entity_id': 'sensor.rinse_aid_level', @@ -2363,8 +2363,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.salt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salt level', - 'unit_of_measurement': '%', + : 'Salt level', + : '%', }), 'context': , 'entity_id': 'sensor.salt_level', @@ -2414,8 +2414,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level', @@ -2465,8 +2465,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.twindos_1_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level_2', @@ -2516,8 +2516,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level', @@ -2567,8 +2567,8 @@ # name: test_fan_hob_sensor_states[platforms0-fan_devices.json][sensor.twindos_2_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level_2', @@ -2620,7 +2620,7 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.degreasing_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Degreasing cycles', + : 'Degreasing cycles', : , }), 'context': , @@ -2673,7 +2673,7 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.descaling_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Descaling cycles', + : 'Descaling cycles', : , }), 'context': , @@ -2746,9 +2746,9 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.fridge_freezer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Fridge freezer', - 'icon': 'mdi:fridge-outline', + : 'enum', + : 'Fridge freezer', + : 'mdi:fridge-outline', : list([ 'autocleaning', 'failure', @@ -2841,9 +2841,9 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.fridge_freezer_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Fridge freezer', - 'icon': 'mdi:fridge-outline', + : 'enum', + : 'Fridge freezer', + : 'mdi:fridge-outline', : list([ 'autocleaning', 'failure', @@ -2919,10 +2919,10 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.fridge_freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Fridge freezer Temperature', + : 'temperature', + : 'Fridge freezer Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fridge_freezer_temperature', @@ -2977,10 +2977,10 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.fridge_freezer_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Fridge freezer Temperature', + : 'temperature', + : 'Fridge freezer Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fridge_freezer_temperature_2', @@ -3035,10 +3035,10 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.fridge_freezer_temperature_zone_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Fridge freezer Temperature zone 2', + : 'temperature', + : 'Fridge freezer Temperature zone 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.fridge_freezer_temperature_zone_2', @@ -3090,7 +3090,7 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.milk_pipework_cleaning_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Milk pipework cleaning cycles', + : 'Milk pipework cleaning cycles', : , }), 'context': , @@ -3141,8 +3141,8 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.powerdisk_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PowerDisk level', - 'unit_of_measurement': '%', + : 'PowerDisk level', + : '%', }), 'context': , 'entity_id': 'sensor.powerdisk_level', @@ -3192,8 +3192,8 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.rinse_aid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rinse aid level', - 'unit_of_measurement': '%', + : 'Rinse aid level', + : '%', }), 'context': , 'entity_id': 'sensor.rinse_aid_level', @@ -3243,8 +3243,8 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.salt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salt level', - 'unit_of_measurement': '%', + : 'Salt level', + : '%', }), 'context': , 'entity_id': 'sensor.salt_level', @@ -3294,8 +3294,8 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level', @@ -3345,8 +3345,8 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.twindos_1_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level_2', @@ -3396,8 +3396,8 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level', @@ -3447,8 +3447,8 @@ # name: test_fridge_freezer_sensor_states[platforms0-fridge_freezer.json][sensor.twindos_2_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level_2', @@ -3500,7 +3500,7 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.degreasing_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Degreasing cycles', + : 'Degreasing cycles', : , }), 'context': , @@ -3553,7 +3553,7 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.descaling_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Descaling cycles', + : 'Descaling cycles', : , }), 'context': , @@ -3626,9 +3626,9 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.kdma7774_app2_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'KDMA7774 | APP2-2', - 'icon': 'mdi:pot-steam-outline', + : 'enum', + : 'KDMA7774 | APP2-2', + : 'mdi:pot-steam-outline', : list([ 'autocleaning', 'failure', @@ -3724,8 +3724,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.kdma7774_app2_2_plate_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'KDMA7774 | APP2-2 Plate 1', + : 'enum', + : 'KDMA7774 | APP2-2 Plate 1', : list([ 'plate_step_0', 'plate_step_1', @@ -3824,8 +3824,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.kdma7774_app2_2_plate_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'KDMA7774 | APP2-2 Plate 2', + : 'enum', + : 'KDMA7774 | APP2-2 Plate 2', : list([ 'plate_step_0', 'plate_step_1', @@ -3924,8 +3924,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.kdma7774_app2_2_plate_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'KDMA7774 | APP2-2 Plate 3', + : 'enum', + : 'KDMA7774 | APP2-2 Plate 3', : list([ 'plate_step_0', 'plate_step_1', @@ -4024,8 +4024,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.kdma7774_app2_2_plate_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'KDMA7774 | APP2-2 Plate 4', + : 'enum', + : 'KDMA7774 | APP2-2 Plate 4', : list([ 'plate_step_0', 'plate_step_1', @@ -4124,8 +4124,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.kdma7774_app2_2_plate_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'KDMA7774 | APP2-2 Plate 5', + : 'enum', + : 'KDMA7774 | APP2-2 Plate 5', : list([ 'plate_step_0', 'plate_step_1', @@ -4201,7 +4201,7 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.milk_pipework_cleaning_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Milk pipework cleaning cycles', + : 'Milk pipework cleaning cycles', : , }), 'context': , @@ -4252,8 +4252,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.powerdisk_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PowerDisk level', - 'unit_of_measurement': '%', + : 'PowerDisk level', + : '%', }), 'context': , 'entity_id': 'sensor.powerdisk_level', @@ -4303,8 +4303,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.rinse_aid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rinse aid level', - 'unit_of_measurement': '%', + : 'Rinse aid level', + : '%', }), 'context': , 'entity_id': 'sensor.rinse_aid_level', @@ -4354,8 +4354,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.salt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salt level', - 'unit_of_measurement': '%', + : 'Salt level', + : '%', }), 'context': , 'entity_id': 'sensor.salt_level', @@ -4405,8 +4405,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level', @@ -4456,8 +4456,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.twindos_1_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level_2', @@ -4507,8 +4507,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level', @@ -4558,8 +4558,8 @@ # name: test_hob_sensor_states[platforms0-hob.json][sensor.twindos_2_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level_2', @@ -4611,7 +4611,7 @@ # name: test_sensor_states[platforms0][sensor.degreasing_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Degreasing cycles', + : 'Degreasing cycles', : , }), 'context': , @@ -4664,7 +4664,7 @@ # name: test_sensor_states[platforms0][sensor.descaling_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Descaling cycles', + : 'Descaling cycles', : , }), 'context': , @@ -4737,9 +4737,9 @@ # name: test_sensor_states[platforms0][sensor.freezer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Freezer', - 'icon': 'mdi:fridge-industrial-outline', + : 'enum', + : 'Freezer', + : 'mdi:fridge-industrial-outline', : list([ 'autocleaning', 'failure', @@ -4815,10 +4815,10 @@ # name: test_sensor_states[platforms0][sensor.freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Freezer Temperature', + : 'temperature', + : 'Freezer Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.freezer_temperature', @@ -4890,9 +4890,9 @@ # name: test_sensor_states[platforms0][sensor.hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hood', - 'icon': 'mdi:turbine', + : 'enum', + : 'Hood', + : 'mdi:turbine', : list([ 'autocleaning', 'failure', @@ -4965,7 +4965,7 @@ # name: test_sensor_states[platforms0][sensor.milk_pipework_cleaning_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Milk pipework cleaning cycles', + : 'Milk pipework cleaning cycles', : , }), 'context': , @@ -5038,9 +5038,9 @@ # name: test_sensor_states[platforms0][sensor.oven-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven', - 'icon': 'mdi:chef-hat', + : 'enum', + : 'Oven', + : 'mdi:chef-hat', : list([ 'autocleaning', 'failure', @@ -5116,10 +5116,10 @@ # name: test_sensor_states[platforms0][sensor.oven_core_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Core temperature', + : 'temperature', + : 'Oven Core temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_core_temperature', @@ -5172,9 +5172,9 @@ # name: test_sensor_states[platforms0][sensor.oven_elapsed_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Oven Elapsed time', - 'unit_of_measurement': , + : 'duration', + : 'Oven Elapsed time', + : , }), 'context': , 'entity_id': 'sensor.oven_elapsed_time', @@ -5224,8 +5224,8 @@ # name: test_sensor_states[platforms0][sensor.oven_finish-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Oven Finish', + : 'timestamp', + : 'Oven Finish', }), 'context': , 'entity_id': 'sensor.oven_finish', @@ -5855,8 +5855,8 @@ # name: test_sensor_states[platforms0][sensor.oven_program-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Program', + : 'enum', + : 'Oven Program', : list([ 'airfry', 'almond_macaroons_1_tray', @@ -6497,8 +6497,8 @@ # name: test_sensor_states[platforms0][sensor.oven_program_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Program phase', + : 'enum', + : 'Oven Program phase', : list([ 'cooling_down', 'energy_save', @@ -6566,8 +6566,8 @@ # name: test_sensor_states[platforms0][sensor.oven_program_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Program type', + : 'enum', + : 'Oven Program type', : list([ 'automatic_program', 'maintenance_program', @@ -6626,9 +6626,9 @@ # name: test_sensor_states[platforms0][sensor.oven_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Oven Remaining time', - 'unit_of_measurement': , + : 'duration', + : 'Oven Remaining time', + : , }), 'context': , 'entity_id': 'sensor.oven_remaining_time', @@ -6678,8 +6678,8 @@ # name: test_sensor_states[platforms0][sensor.oven_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Oven Start', + : 'timestamp', + : 'Oven Start', }), 'context': , 'entity_id': 'sensor.oven_start', @@ -6735,9 +6735,9 @@ # name: test_sensor_states[platforms0][sensor.oven_start_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Oven Start in', - 'unit_of_measurement': , + : 'duration', + : 'Oven Start in', + : , }), 'context': , 'entity_id': 'sensor.oven_start_in', @@ -6792,10 +6792,10 @@ # name: test_sensor_states[platforms0][sensor.oven_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Target temperature', + : 'temperature', + : 'Oven Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_target_temperature', @@ -6850,10 +6850,10 @@ # name: test_sensor_states[platforms0][sensor.oven_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Temperature', + : 'temperature', + : 'Oven Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_temperature', @@ -6903,8 +6903,8 @@ # name: test_sensor_states[platforms0][sensor.powerdisk_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PowerDisk level', - 'unit_of_measurement': '%', + : 'PowerDisk level', + : '%', }), 'context': , 'entity_id': 'sensor.powerdisk_level', @@ -6976,9 +6976,9 @@ # name: test_sensor_states[platforms0][sensor.refrigerator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Refrigerator', - 'icon': 'mdi:fridge-industrial-outline', + : 'enum', + : 'Refrigerator', + : 'mdi:fridge-industrial-outline', : list([ 'autocleaning', 'failure', @@ -7054,10 +7054,10 @@ # name: test_sensor_states[platforms0][sensor.refrigerator_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator Temperature', + : 'temperature', + : 'Refrigerator Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_temperature', @@ -7107,8 +7107,8 @@ # name: test_sensor_states[platforms0][sensor.rinse_aid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rinse aid level', - 'unit_of_measurement': '%', + : 'Rinse aid level', + : '%', }), 'context': , 'entity_id': 'sensor.rinse_aid_level', @@ -7158,8 +7158,8 @@ # name: test_sensor_states[platforms0][sensor.salt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salt level', - 'unit_of_measurement': '%', + : 'Salt level', + : '%', }), 'context': , 'entity_id': 'sensor.salt_level', @@ -7209,8 +7209,8 @@ # name: test_sensor_states[platforms0][sensor.twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level', @@ -7260,8 +7260,8 @@ # name: test_sensor_states[platforms0][sensor.twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level', @@ -7333,9 +7333,9 @@ # name: test_sensor_states[platforms0][sensor.washing_machine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine', - 'icon': 'mdi:washing-machine', + : 'enum', + : 'Washing machine', + : 'mdi:washing-machine', : list([ 'autocleaning', 'failure', @@ -7409,9 +7409,9 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_elapsed_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Washing machine Elapsed time', - 'unit_of_measurement': , + : 'duration', + : 'Washing machine Elapsed time', + : , }), 'context': , 'entity_id': 'sensor.washing_machine_elapsed_time', @@ -7466,10 +7466,10 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washing machine Energy consumption', + : 'energy', + : 'Washing machine Energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_energy_consumption', @@ -7519,8 +7519,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_energy_forecast-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Energy forecast', - 'unit_of_measurement': '%', + : 'Washing machine Energy forecast', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_energy_forecast', @@ -7570,8 +7570,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_finish-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washing machine Finish', + : 'timestamp', + : 'Washing machine Finish', }), 'context': , 'entity_id': 'sensor.washing_machine_finish', @@ -7672,8 +7672,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_program-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine Program', + : 'enum', + : 'Washing machine Program', : list([ 'automatic_plus', 'bed_linen', @@ -7799,8 +7799,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_program_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine Program phase', + : 'enum', + : 'Washing machine Program phase', : list([ 'anti_crease', 'automatic_start', @@ -7882,8 +7882,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_program_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine Program type', + : 'enum', + : 'Washing machine Program type', : list([ 'automatic_program', 'maintenance_program', @@ -7942,9 +7942,9 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Washing machine Remaining time', - 'unit_of_measurement': , + : 'duration', + : 'Washing machine Remaining time', + : , }), 'context': , 'entity_id': 'sensor.washing_machine_remaining_time', @@ -7994,8 +7994,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_spin_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Spin speed', - 'unit_of_measurement': 'rpm', + : 'Washing machine Spin speed', + : 'rpm', }), 'context': , 'entity_id': 'sensor.washing_machine_spin_speed', @@ -8045,8 +8045,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washing machine Start', + : 'timestamp', + : 'Washing machine Start', }), 'context': , 'entity_id': 'sensor.washing_machine_start', @@ -8102,9 +8102,9 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_start_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Washing machine Start in', - 'unit_of_measurement': , + : 'duration', + : 'Washing machine Start in', + : , }), 'context': , 'entity_id': 'sensor.washing_machine_start_in', @@ -8159,10 +8159,10 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Washing machine Target temperature', + : 'temperature', + : 'Washing machine Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_target_temperature', @@ -8212,8 +8212,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine TwinDos 1 level', - 'unit_of_measurement': '%', + : 'Washing machine TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_twindos_1_level', @@ -8263,8 +8263,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine TwinDos 2 level', - 'unit_of_measurement': '%', + : 'Washing machine TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_twindos_2_level', @@ -8319,10 +8319,10 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_water_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Washing machine Water consumption', + : 'water', + : 'Washing machine Water consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_water_consumption', @@ -8372,8 +8372,8 @@ # name: test_sensor_states[platforms0][sensor.washing_machine_water_forecast-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Water forecast', - 'unit_of_measurement': '%', + : 'Washing machine Water forecast', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_water_forecast', @@ -8425,7 +8425,7 @@ # name: test_sensor_states_api_push[platforms0][sensor.degreasing_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Degreasing cycles', + : 'Degreasing cycles', : , }), 'context': , @@ -8478,7 +8478,7 @@ # name: test_sensor_states_api_push[platforms0][sensor.descaling_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Descaling cycles', + : 'Descaling cycles', : , }), 'context': , @@ -8551,9 +8551,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.freezer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Freezer', - 'icon': 'mdi:fridge-industrial-outline', + : 'enum', + : 'Freezer', + : 'mdi:fridge-industrial-outline', : list([ 'autocleaning', 'failure', @@ -8629,10 +8629,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Freezer Temperature', + : 'temperature', + : 'Freezer Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.freezer_temperature', @@ -8704,9 +8704,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hood', - 'icon': 'mdi:turbine', + : 'enum', + : 'Hood', + : 'mdi:turbine', : list([ 'autocleaning', 'failure', @@ -8779,7 +8779,7 @@ # name: test_sensor_states_api_push[platforms0][sensor.milk_pipework_cleaning_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Milk pipework cleaning cycles', + : 'Milk pipework cleaning cycles', : , }), 'context': , @@ -8852,9 +8852,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven', - 'icon': 'mdi:chef-hat', + : 'enum', + : 'Oven', + : 'mdi:chef-hat', : list([ 'autocleaning', 'failure', @@ -8930,10 +8930,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_core_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Core temperature', + : 'temperature', + : 'Oven Core temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_core_temperature', @@ -8986,9 +8986,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_elapsed_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Oven Elapsed time', - 'unit_of_measurement': , + : 'duration', + : 'Oven Elapsed time', + : , }), 'context': , 'entity_id': 'sensor.oven_elapsed_time', @@ -9038,8 +9038,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_finish-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Oven Finish', + : 'timestamp', + : 'Oven Finish', }), 'context': , 'entity_id': 'sensor.oven_finish', @@ -9669,8 +9669,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_program-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Program', + : 'enum', + : 'Oven Program', : list([ 'airfry', 'almond_macaroons_1_tray', @@ -10311,8 +10311,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_program_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Program phase', + : 'enum', + : 'Oven Program phase', : list([ 'cooling_down', 'energy_save', @@ -10380,8 +10380,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_program_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Program type', + : 'enum', + : 'Oven Program type', : list([ 'automatic_program', 'maintenance_program', @@ -10440,9 +10440,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Oven Remaining time', - 'unit_of_measurement': , + : 'duration', + : 'Oven Remaining time', + : , }), 'context': , 'entity_id': 'sensor.oven_remaining_time', @@ -10492,8 +10492,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Oven Start', + : 'timestamp', + : 'Oven Start', }), 'context': , 'entity_id': 'sensor.oven_start', @@ -10549,9 +10549,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_start_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Oven Start in', - 'unit_of_measurement': , + : 'duration', + : 'Oven Start in', + : , }), 'context': , 'entity_id': 'sensor.oven_start_in', @@ -10606,10 +10606,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Target temperature', + : 'temperature', + : 'Oven Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_target_temperature', @@ -10664,10 +10664,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.oven_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Temperature', + : 'temperature', + : 'Oven Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_temperature', @@ -10717,8 +10717,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.powerdisk_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PowerDisk level', - 'unit_of_measurement': '%', + : 'PowerDisk level', + : '%', }), 'context': , 'entity_id': 'sensor.powerdisk_level', @@ -10790,9 +10790,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.refrigerator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Refrigerator', - 'icon': 'mdi:fridge-industrial-outline', + : 'enum', + : 'Refrigerator', + : 'mdi:fridge-industrial-outline', : list([ 'autocleaning', 'failure', @@ -10868,10 +10868,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.refrigerator_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator Temperature', + : 'temperature', + : 'Refrigerator Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_temperature', @@ -10921,8 +10921,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.rinse_aid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rinse aid level', - 'unit_of_measurement': '%', + : 'Rinse aid level', + : '%', }), 'context': , 'entity_id': 'sensor.rinse_aid_level', @@ -10972,8 +10972,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.salt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salt level', - 'unit_of_measurement': '%', + : 'Salt level', + : '%', }), 'context': , 'entity_id': 'sensor.salt_level', @@ -11023,8 +11023,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level', @@ -11074,8 +11074,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level', @@ -11147,9 +11147,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine', - 'icon': 'mdi:washing-machine', + : 'enum', + : 'Washing machine', + : 'mdi:washing-machine', : list([ 'autocleaning', 'failure', @@ -11223,9 +11223,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_elapsed_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Washing machine Elapsed time', - 'unit_of_measurement': , + : 'duration', + : 'Washing machine Elapsed time', + : , }), 'context': , 'entity_id': 'sensor.washing_machine_elapsed_time', @@ -11280,10 +11280,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washing machine Energy consumption', + : 'energy', + : 'Washing machine Energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_energy_consumption', @@ -11333,8 +11333,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_energy_forecast-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Energy forecast', - 'unit_of_measurement': '%', + : 'Washing machine Energy forecast', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_energy_forecast', @@ -11384,8 +11384,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_finish-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washing machine Finish', + : 'timestamp', + : 'Washing machine Finish', }), 'context': , 'entity_id': 'sensor.washing_machine_finish', @@ -11486,8 +11486,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_program-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine Program', + : 'enum', + : 'Washing machine Program', : list([ 'automatic_plus', 'bed_linen', @@ -11613,8 +11613,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_program_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine Program phase', + : 'enum', + : 'Washing machine Program phase', : list([ 'anti_crease', 'automatic_start', @@ -11696,8 +11696,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_program_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing machine Program type', + : 'enum', + : 'Washing machine Program type', : list([ 'automatic_program', 'maintenance_program', @@ -11756,9 +11756,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Washing machine Remaining time', - 'unit_of_measurement': , + : 'duration', + : 'Washing machine Remaining time', + : , }), 'context': , 'entity_id': 'sensor.washing_machine_remaining_time', @@ -11808,8 +11808,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_spin_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Spin speed', - 'unit_of_measurement': 'rpm', + : 'Washing machine Spin speed', + : 'rpm', }), 'context': , 'entity_id': 'sensor.washing_machine_spin_speed', @@ -11859,8 +11859,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washing machine Start', + : 'timestamp', + : 'Washing machine Start', }), 'context': , 'entity_id': 'sensor.washing_machine_start', @@ -11916,9 +11916,9 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_start_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Washing machine Start in', - 'unit_of_measurement': , + : 'duration', + : 'Washing machine Start in', + : , }), 'context': , 'entity_id': 'sensor.washing_machine_start_in', @@ -11973,10 +11973,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Washing machine Target temperature', + : 'temperature', + : 'Washing machine Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_target_temperature', @@ -12026,8 +12026,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine TwinDos 1 level', - 'unit_of_measurement': '%', + : 'Washing machine TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_twindos_1_level', @@ -12077,8 +12077,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine TwinDos 2 level', - 'unit_of_measurement': '%', + : 'Washing machine TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_twindos_2_level', @@ -12133,10 +12133,10 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_water_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Washing machine Water consumption', + : 'water', + : 'Washing machine Water consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_water_consumption', @@ -12186,8 +12186,8 @@ # name: test_sensor_states_api_push[platforms0][sensor.washing_machine_water_forecast-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Water forecast', - 'unit_of_measurement': '%', + : 'Washing machine Water forecast', + : '%', }), 'context': , 'entity_id': 'sensor.washing_machine_water_forecast', @@ -12239,7 +12239,7 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.degreasing_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Degreasing cycles', + : 'Degreasing cycles', : , }), 'context': , @@ -12292,7 +12292,7 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.descaling_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Descaling cycles', + : 'Descaling cycles', : , }), 'context': , @@ -12345,7 +12345,7 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.milk_pipework_cleaning_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Milk pipework cleaning cycles', + : 'Milk pipework cleaning cycles', : , }), 'context': , @@ -12396,8 +12396,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.powerdisk_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PowerDisk level', - 'unit_of_measurement': '%', + : 'PowerDisk level', + : '%', }), 'context': , 'entity_id': 'sensor.powerdisk_level', @@ -12447,8 +12447,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.rinse_aid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rinse aid level', - 'unit_of_measurement': '%', + : 'Rinse aid level', + : '%', }), 'context': , 'entity_id': 'sensor.rinse_aid_level', @@ -12520,9 +12520,9 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot vacuum cleaner', - 'icon': 'mdi:robot-vacuum', + : 'enum', + : 'Robot vacuum cleaner', + : 'mdi:robot-vacuum', : list([ 'autocleaning', 'failure', @@ -12593,9 +12593,9 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Robot vacuum cleaner Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Robot vacuum cleaner Battery', + : '%', }), 'context': , 'entity_id': 'sensor.robot_vacuum_cleaner_battery', @@ -12648,9 +12648,9 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner_elapsed_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Robot vacuum cleaner Elapsed time', - 'unit_of_measurement': , + : 'duration', + : 'Robot vacuum cleaner Elapsed time', + : , }), 'context': , 'entity_id': 'sensor.robot_vacuum_cleaner_elapsed_time', @@ -12700,8 +12700,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner_finish-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Robot vacuum cleaner Finish', + : 'timestamp', + : 'Robot vacuum cleaner Finish', }), 'context': , 'entity_id': 'sensor.robot_vacuum_cleaner_finish', @@ -12759,8 +12759,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner_program-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot vacuum cleaner Program', + : 'enum', + : 'Robot vacuum cleaner Program', : list([ 'auto', 'no_program', @@ -12824,8 +12824,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner_program_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot vacuum cleaner Program type', + : 'enum', + : 'Robot vacuum cleaner Program type', : list([ 'automatic_program', 'maintenance_program', @@ -12884,9 +12884,9 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Robot vacuum cleaner Remaining time', - 'unit_of_measurement': , + : 'duration', + : 'Robot vacuum cleaner Remaining time', + : , }), 'context': , 'entity_id': 'sensor.robot_vacuum_cleaner_remaining_time', @@ -12936,8 +12936,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.robot_vacuum_cleaner_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Robot vacuum cleaner Start', + : 'timestamp', + : 'Robot vacuum cleaner Start', }), 'context': , 'entity_id': 'sensor.robot_vacuum_cleaner_start', @@ -12987,8 +12987,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.salt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salt level', - 'unit_of_measurement': '%', + : 'Salt level', + : '%', }), 'context': , 'entity_id': 'sensor.salt_level', @@ -13038,8 +13038,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.twindos_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level', @@ -13089,8 +13089,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.twindos_1_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 1 level', - 'unit_of_measurement': '%', + : 'TwinDos 1 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_1_level_2', @@ -13140,8 +13140,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.twindos_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level', @@ -13191,8 +13191,8 @@ # name: test_vacuum_sensor_states[platforms0-vacuum_device.json][sensor.twindos_2_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TwinDos 2 level', - 'unit_of_measurement': '%', + : 'TwinDos 2 level', + : '%', }), 'context': , 'entity_id': 'sensor.twindos_2_level_2', diff --git a/tests/components/miele/snapshots/test_switch.ambr b/tests/components/miele/snapshots/test_switch.ambr index 8e78d86a14b..937fa1b4298 100644 --- a/tests/components/miele/snapshots/test_switch.ambr +++ b/tests/components/miele/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_states[platforms0][switch.freezer_superfreezing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Superfreezing', + : 'Freezer Superfreezing', }), 'context': , 'entity_id': 'switch.freezer_superfreezing', @@ -89,7 +89,7 @@ # name: test_switch_states[platforms0][switch.hood_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Power', + : 'Hood Power', }), 'context': , 'entity_id': 'switch.hood_power', @@ -139,7 +139,7 @@ # name: test_switch_states[platforms0][switch.oven_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Power', + : 'Oven Power', }), 'context': , 'entity_id': 'switch.oven_power', @@ -189,7 +189,7 @@ # name: test_switch_states[platforms0][switch.refrigerator_supercooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Supercooling', + : 'Refrigerator Supercooling', }), 'context': , 'entity_id': 'switch.refrigerator_supercooling', @@ -239,7 +239,7 @@ # name: test_switch_states[platforms0][switch.washing_machine_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Power', + : 'Washing machine Power', }), 'context': , 'entity_id': 'switch.washing_machine_power', @@ -289,7 +289,7 @@ # name: test_switch_states_api_push[platforms0][switch.freezer_superfreezing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Freezer Superfreezing', + : 'Freezer Superfreezing', }), 'context': , 'entity_id': 'switch.freezer_superfreezing', @@ -339,7 +339,7 @@ # name: test_switch_states_api_push[platforms0][switch.hood_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hood Power', + : 'Hood Power', }), 'context': , 'entity_id': 'switch.hood_power', @@ -389,7 +389,7 @@ # name: test_switch_states_api_push[platforms0][switch.oven_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Power', + : 'Oven Power', }), 'context': , 'entity_id': 'switch.oven_power', @@ -439,7 +439,7 @@ # name: test_switch_states_api_push[platforms0][switch.refrigerator_supercooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Supercooling', + : 'Refrigerator Supercooling', }), 'context': , 'entity_id': 'switch.refrigerator_supercooling', @@ -489,7 +489,7 @@ # name: test_switch_states_api_push[platforms0][switch.washing_machine_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing machine Power', + : 'Washing machine Power', }), 'context': , 'entity_id': 'switch.washing_machine_power', diff --git a/tests/components/miele/snapshots/test_vacuum.ambr b/tests/components/miele/snapshots/test_vacuum.ambr index dd03b918fea..348a2c39eaa 100644 --- a/tests/components/miele/snapshots/test_vacuum.ambr +++ b/tests/components/miele/snapshots/test_vacuum.ambr @@ -51,8 +51,8 @@ 'turbo', 'silent', ]), - 'friendly_name': 'Robot vacuum cleaner', - 'supported_features': , + : 'Robot vacuum cleaner', + : , }), 'context': , 'entity_id': 'vacuum.robot_vacuum_cleaner', @@ -114,8 +114,8 @@ 'turbo', 'silent', ]), - 'friendly_name': 'Robot vacuum cleaner', - 'supported_features': , + : 'Robot vacuum cleaner', + : , }), 'context': , 'entity_id': 'vacuum.robot_vacuum_cleaner', diff --git a/tests/components/minecraft_server/snapshots/test_binary_sensor.ambr b/tests/components/minecraft_server/snapshots/test_binary_sensor.ambr index df95e712430..e68ad8f70f6 100644 --- a/tests/components/minecraft_server/snapshots/test_binary_sensor.ambr +++ b/tests/components/minecraft_server/snapshots/test_binary_sensor.ambr @@ -2,8 +2,8 @@ # name: test_binary_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'mc.dummyserver.com:25566 Status', + : 'connectivity', + : 'mc.dummyserver.com:25566 Status', }), 'context': , 'entity_id': 'binary_sensor.mc_dummyserver_com_25566_status', @@ -16,8 +16,8 @@ # name: test_binary_sensor[java_mock_config_entry-JavaServer-async_lookup-status_response0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'mc.dummyserver.com:25566 Status', + : 'connectivity', + : 'mc.dummyserver.com:25566 Status', }), 'context': , 'entity_id': 'binary_sensor.mc_dummyserver_com_25566_status', @@ -30,8 +30,8 @@ # name: test_binary_sensor[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'mc.dummyserver.com:25566 Status', + : 'connectivity', + : 'mc.dummyserver.com:25566 Status', }), 'context': , 'entity_id': 'binary_sensor.mc_dummyserver_com_25566_status', @@ -44,8 +44,8 @@ # name: test_binary_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'mc.dummyserver.com:25566 Status', + : 'connectivity', + : 'mc.dummyserver.com:25566 Status', }), 'context': , 'entity_id': 'binary_sensor.mc_dummyserver_com_25566_status', @@ -58,8 +58,8 @@ # name: test_binary_sensor_update[java_mock_config_entry-JavaServer-async_lookup-status_response0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'mc.dummyserver.com:25566 Status', + : 'connectivity', + : 'mc.dummyserver.com:25566 Status', }), 'context': , 'entity_id': 'binary_sensor.mc_dummyserver_com_25566_status', @@ -72,8 +72,8 @@ # name: test_binary_sensor_update[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'mc.dummyserver.com:25566 Status', + : 'connectivity', + : 'mc.dummyserver.com:25566 Status', }), 'context': , 'entity_id': 'binary_sensor.mc_dummyserver_com_25566_status', diff --git a/tests/components/minecraft_server/snapshots/test_sensor.ambr b/tests/components/minecraft_server/snapshots/test_sensor.ambr index 5a6e8ad515a..d744ee22af1 100644 --- a/tests/components/minecraft_server/snapshots/test_sensor.ambr +++ b/tests/components/minecraft_server/snapshots/test_sensor.ambr @@ -2,8 +2,8 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Latency', - 'unit_of_measurement': , + : 'mc.dummyserver.com:25566 Latency', + : , }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_latency', @@ -16,8 +16,8 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players online', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players online', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_online', @@ -30,8 +30,8 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players max', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players max', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_max', @@ -44,7 +44,7 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 World message', + : 'mc.dummyserver.com:25566 World message', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_world_message', @@ -57,7 +57,7 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Version', + : 'mc.dummyserver.com:25566 Version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_version', @@ -70,7 +70,7 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Protocol version', + : 'mc.dummyserver.com:25566 Protocol version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_protocol_version', @@ -83,7 +83,7 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Map name', + : 'mc.dummyserver.com:25566 Map name', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_map_name', @@ -96,7 +96,7 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Game mode', + : 'mc.dummyserver.com:25566 Game mode', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_game_mode', @@ -109,7 +109,7 @@ # name: test_sensor[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].8 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Edition', + : 'mc.dummyserver.com:25566 Edition', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_edition', @@ -122,8 +122,8 @@ # name: test_sensor[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Latency', - 'unit_of_measurement': , + : 'mc.dummyserver.com:25566 Latency', + : , }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_latency', @@ -136,13 +136,13 @@ # name: test_sensor[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players online', + : 'mc.dummyserver.com:25566 Players online', 'players_list': list([ 'Player 1', 'Player 2', 'Player 3', ]), - 'unit_of_measurement': 'players', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_online', @@ -155,8 +155,8 @@ # name: test_sensor[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players max', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players max', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_max', @@ -169,7 +169,7 @@ # name: test_sensor[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 World message', + : 'mc.dummyserver.com:25566 World message', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_world_message', @@ -182,7 +182,7 @@ # name: test_sensor[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Version', + : 'mc.dummyserver.com:25566 Version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_version', @@ -195,7 +195,7 @@ # name: test_sensor[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Protocol version', + : 'mc.dummyserver.com:25566 Protocol version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_protocol_version', @@ -208,8 +208,8 @@ # name: test_sensor[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Latency', - 'unit_of_measurement': , + : 'mc.dummyserver.com:25566 Latency', + : , }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_latency', @@ -222,8 +222,8 @@ # name: test_sensor[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players online', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players online', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_online', @@ -236,8 +236,8 @@ # name: test_sensor[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players max', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players max', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_max', @@ -250,7 +250,7 @@ # name: test_sensor[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 World message', + : 'mc.dummyserver.com:25566 World message', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_world_message', @@ -263,7 +263,7 @@ # name: test_sensor[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Version', + : 'mc.dummyserver.com:25566 Version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_version', @@ -276,7 +276,7 @@ # name: test_sensor[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Protocol version', + : 'mc.dummyserver.com:25566 Protocol version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_protocol_version', @@ -289,8 +289,8 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Latency', - 'unit_of_measurement': , + : 'mc.dummyserver.com:25566 Latency', + : , }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_latency', @@ -303,8 +303,8 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players online', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players online', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_online', @@ -317,8 +317,8 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players max', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players max', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_max', @@ -331,7 +331,7 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 World message', + : 'mc.dummyserver.com:25566 World message', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_world_message', @@ -344,7 +344,7 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Version', + : 'mc.dummyserver.com:25566 Version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_version', @@ -357,7 +357,7 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Protocol version', + : 'mc.dummyserver.com:25566 Protocol version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_protocol_version', @@ -370,7 +370,7 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Map name', + : 'mc.dummyserver.com:25566 Map name', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_map_name', @@ -383,7 +383,7 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Game mode', + : 'mc.dummyserver.com:25566 Game mode', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_game_mode', @@ -396,7 +396,7 @@ # name: test_sensor_update[bedrock_mock_config_entry-BedrockServer-lookup-status_response1-entity_ids1].8 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Edition', + : 'mc.dummyserver.com:25566 Edition', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_edition', @@ -409,8 +409,8 @@ # name: test_sensor_update[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Latency', - 'unit_of_measurement': , + : 'mc.dummyserver.com:25566 Latency', + : , }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_latency', @@ -423,13 +423,13 @@ # name: test_sensor_update[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players online', + : 'mc.dummyserver.com:25566 Players online', 'players_list': list([ 'Player 1', 'Player 2', 'Player 3', ]), - 'unit_of_measurement': 'players', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_online', @@ -442,8 +442,8 @@ # name: test_sensor_update[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players max', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players max', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_max', @@ -456,7 +456,7 @@ # name: test_sensor_update[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 World message', + : 'mc.dummyserver.com:25566 World message', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_world_message', @@ -469,7 +469,7 @@ # name: test_sensor_update[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Version', + : 'mc.dummyserver.com:25566 Version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_version', @@ -482,7 +482,7 @@ # name: test_sensor_update[java_mock_config_entry-JavaServer-async_lookup-status_response0-entity_ids0].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Protocol version', + : 'mc.dummyserver.com:25566 Protocol version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_protocol_version', @@ -495,8 +495,8 @@ # name: test_sensor_update[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Latency', - 'unit_of_measurement': , + : 'mc.dummyserver.com:25566 Latency', + : , }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_latency', @@ -509,8 +509,8 @@ # name: test_sensor_update[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players online', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players online', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_online', @@ -523,8 +523,8 @@ # name: test_sensor_update[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Players max', - 'unit_of_measurement': 'players', + : 'mc.dummyserver.com:25566 Players max', + : 'players', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_players_max', @@ -537,7 +537,7 @@ # name: test_sensor_update[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 World message', + : 'mc.dummyserver.com:25566 World message', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_world_message', @@ -550,7 +550,7 @@ # name: test_sensor_update[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Version', + : 'mc.dummyserver.com:25566 Version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_version', @@ -563,7 +563,7 @@ # name: test_sensor_update[legacy_java_mock_config_entry-LegacyServer-async_lookup-status_response2-entity_ids2].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mc.dummyserver.com:25566 Protocol version', + : 'mc.dummyserver.com:25566 Protocol version', }), 'context': , 'entity_id': 'sensor.mc_dummyserver_com_25566_protocol_version', diff --git a/tests/components/mitsubishi_comfort/snapshots/test_climate.ambr b/tests/components/mitsubishi_comfort/snapshots/test_climate.ambr index de8f772a81f..2a956b0e587 100644 --- a/tests/components/mitsubishi_comfort/snapshots/test_climate.ambr +++ b/tests/components/mitsubishi_comfort/snapshots/test_climate.ambr @@ -68,7 +68,7 @@ 'low', 'auto', ]), - 'friendly_name': 'Living Room', + : 'Living Room', : , : list([ , @@ -80,7 +80,7 @@ ]), : 30.0, : 18.0, - 'supported_features': , + : , : 'auto', : list([ 'horizontal', diff --git a/tests/components/mobile_app/snapshots/test_notify.ambr b/tests/components/mobile_app/snapshots/test_notify.ambr index 432cfcf835e..34f27b79029 100644 --- a/tests/components/mobile_app/snapshots/test_notify.ambr +++ b/tests/components/mobile_app/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.test-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test', - 'supported_features': , + : 'Test', + : , }), 'context': , 'entity_id': 'notify.test', diff --git a/tests/components/moehlenhoff_alpha2/snapshots/test_binary_sensor.ambr b/tests/components/moehlenhoff_alpha2/snapshots/test_binary_sensor.ambr index ff69d8c27aa..d3cc1930c14 100644 --- a/tests/components/moehlenhoff_alpha2/snapshots/test_binary_sensor.ambr +++ b/tests/components/moehlenhoff_alpha2/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.buro_io_device_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Büro IO device 1 battery', + : 'battery', + : 'Büro IO device 1 battery', }), 'context': , 'entity_id': 'binary_sensor.buro_io_device_1_battery', diff --git a/tests/components/moehlenhoff_alpha2/snapshots/test_button.ambr b/tests/components/moehlenhoff_alpha2/snapshots/test_button.ambr index 46d3d58d32c..c9f66804229 100644 --- a/tests/components/moehlenhoff_alpha2/snapshots/test_button.ambr +++ b/tests/components/moehlenhoff_alpha2/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button.sync_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sync time', + : 'Sync time', }), 'context': , 'entity_id': 'button.sync_time', diff --git a/tests/components/moehlenhoff_alpha2/snapshots/test_climate.ambr b/tests/components/moehlenhoff_alpha2/snapshots/test_climate.ambr index 7f819eb2936..c1ca37a2b3d 100644 --- a/tests/components/moehlenhoff_alpha2/snapshots/test_climate.ambr +++ b/tests/components/moehlenhoff_alpha2/snapshots/test_climate.ambr @@ -53,7 +53,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.1, - 'friendly_name': 'Büro', + : 'Büro', : , : list([ , @@ -67,7 +67,7 @@ 'day', 'night', ]), - 'supported_features': , + : , : 0.2, : 21.0, }), diff --git a/tests/components/moehlenhoff_alpha2/snapshots/test_sensor.ambr b/tests/components/moehlenhoff_alpha2/snapshots/test_sensor.ambr index 332c8531f37..02379a7e1e2 100644 --- a/tests/components/moehlenhoff_alpha2/snapshots/test_sensor.ambr +++ b/tests/components/moehlenhoff_alpha2/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[sensor.buro_heat_control_1_valve_opening-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Büro heat control 1 valve opening', - 'unit_of_measurement': '%', + : 'Büro heat control 1 valve opening', + : '%', }), 'context': , 'entity_id': 'sensor.buro_heat_control_1_valve_opening', diff --git a/tests/components/monarch_money/snapshots/test_sensor.ambr b/tests/components/monarch_money/snapshots/test_sensor.ambr index 44e5306c556..a73e71086dd 100644 --- a/tests/components/monarch_money/snapshots/test_sensor.ambr +++ b/tests/components/monarch_money/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.cashflow_expense_year_to_date-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Cashflow Expense year to date', + : 'monetary', + : 'Cashflow Expense year to date', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.cashflow_expense_year_to_date', @@ -96,10 +96,10 @@ # name: test_all_entities[sensor.cashflow_income_year_to_date-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Cashflow Income year to date', + : 'monetary', + : 'Cashflow Income year to date', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.cashflow_income_year_to_date', @@ -152,8 +152,8 @@ # name: test_all_entities[sensor.cashflow_savings_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cashflow Savings rate', - 'unit_of_measurement': '%', + : 'Cashflow Savings rate', + : '%', }), 'context': , 'entity_id': 'sensor.cashflow_savings_rate', @@ -205,10 +205,10 @@ # name: test_all_entities[sensor.cashflow_savings_year_to_date-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Cashflow Savings year to date', + : 'monetary', + : 'Cashflow Savings year to date', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.cashflow_savings_year_to_date', @@ -260,11 +260,11 @@ # name: test_all_entities[sensor.manual_entry_wallet_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via Manual entry', - 'device_class': 'monetary', - 'friendly_name': 'Manual entry Wallet Balance', + : 'Data provided by Monarch Money API via Manual entry', + : 'monetary', + : 'Manual entry Wallet Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.manual_entry_wallet_balance', @@ -314,9 +314,9 @@ # name: test_all_entities[sensor.manual_entry_wallet_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via Manual entry', - 'device_class': 'timestamp', - 'friendly_name': 'Manual entry Wallet Data age', + : 'Data provided by Monarch Money API via Manual entry', + : 'timestamp', + : 'Manual entry Wallet Data age', }), 'context': , 'entity_id': 'sensor.manual_entry_wallet_data_age', @@ -368,12 +368,12 @@ # name: test_all_entities[sensor.rando_bank_checking_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'monetary', - 'entity_picture': 'data:image/png;base64,base64Nonce', - 'friendly_name': 'Rando Bank Checking Balance', + : 'Data provided by Monarch Money API via PLAID', + : 'monetary', + : 'data:image/png;base64,base64Nonce', + : 'Rando Bank Checking Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.rando_bank_checking_balance', @@ -423,9 +423,9 @@ # name: test_all_entities[sensor.rando_bank_checking_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'timestamp', - 'friendly_name': 'Rando Bank Checking Data age', + : 'Data provided by Monarch Money API via PLAID', + : 'timestamp', + : 'Rando Bank Checking Data age', }), 'context': , 'entity_id': 'sensor.rando_bank_checking_data_age', @@ -477,12 +477,12 @@ # name: test_all_entities[sensor.rando_brokerage_brokerage_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'monetary', - 'entity_picture': 'base64Nonce', - 'friendly_name': 'Rando Brokerage Brokerage Balance', + : 'Data provided by Monarch Money API via PLAID', + : 'monetary', + : 'base64Nonce', + : 'Rando Brokerage Brokerage Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.rando_brokerage_brokerage_balance', @@ -532,9 +532,9 @@ # name: test_all_entities[sensor.rando_brokerage_brokerage_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'timestamp', - 'friendly_name': 'Rando Brokerage Brokerage Data age', + : 'Data provided by Monarch Money API via PLAID', + : 'timestamp', + : 'Rando Brokerage Brokerage Data age', }), 'context': , 'entity_id': 'sensor.rando_brokerage_brokerage_data_age', @@ -586,12 +586,12 @@ # name: test_all_entities[sensor.rando_credit_credit_card_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via FINICITY', - 'device_class': 'monetary', - 'entity_picture': 'data:image/png;base64,base64Nonce', - 'friendly_name': 'Rando Credit Credit Card Balance', + : 'Data provided by Monarch Money API via FINICITY', + : 'monetary', + : 'data:image/png;base64,base64Nonce', + : 'Rando Credit Credit Card Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.rando_credit_credit_card_balance', @@ -641,9 +641,9 @@ # name: test_all_entities[sensor.rando_credit_credit_card_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via FINICITY', - 'device_class': 'timestamp', - 'friendly_name': 'Rando Credit Credit Card Data age', + : 'Data provided by Monarch Money API via FINICITY', + : 'timestamp', + : 'Rando Credit Credit Card Data age', }), 'context': , 'entity_id': 'sensor.rando_credit_credit_card_data_age', @@ -695,12 +695,12 @@ # name: test_all_entities[sensor.rando_employer_investments_401_k_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via FINICITY', - 'device_class': 'monetary', - 'entity_picture': 'data:image/png;base64,base64Nonce', - 'friendly_name': 'Rando Employer Investments 401.k Balance', + : 'Data provided by Monarch Money API via FINICITY', + : 'monetary', + : 'data:image/png;base64,base64Nonce', + : 'Rando Employer Investments 401.k Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.rando_employer_investments_401_k_balance', @@ -750,9 +750,9 @@ # name: test_all_entities[sensor.rando_employer_investments_401_k_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via FINICITY', - 'device_class': 'timestamp', - 'friendly_name': 'Rando Employer Investments 401.k Data age', + : 'Data provided by Monarch Money API via FINICITY', + : 'timestamp', + : 'Rando Employer Investments 401.k Data age', }), 'context': , 'entity_id': 'sensor.rando_employer_investments_401_k_data_age', @@ -804,12 +804,12 @@ # name: test_all_entities[sensor.rando_investments_roth_ira_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'monetary', - 'entity_picture': 'data:image/png;base64,base64Nonce', - 'friendly_name': 'Rando Investments Roth IRA Balance', + : 'Data provided by Monarch Money API via PLAID', + : 'monetary', + : 'data:image/png;base64,base64Nonce', + : 'Rando Investments Roth IRA Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.rando_investments_roth_ira_balance', @@ -859,9 +859,9 @@ # name: test_all_entities[sensor.rando_investments_roth_ira_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'timestamp', - 'friendly_name': 'Rando Investments Roth IRA Data age', + : 'Data provided by Monarch Money API via PLAID', + : 'timestamp', + : 'Rando Investments Roth IRA Data age', }), 'context': , 'entity_id': 'sensor.rando_investments_roth_ira_data_age', @@ -913,12 +913,12 @@ # name: test_all_entities[sensor.rando_mortgage_mortgage_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'monetary', - 'entity_picture': 'data:image/png;base64,base64Nonce', - 'friendly_name': 'Rando Mortgage Mortgage Balance', + : 'Data provided by Monarch Money API via PLAID', + : 'monetary', + : 'data:image/png;base64,base64Nonce', + : 'Rando Mortgage Mortgage Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.rando_mortgage_mortgage_balance', @@ -968,9 +968,9 @@ # name: test_all_entities[sensor.rando_mortgage_mortgage_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via PLAID', - 'device_class': 'timestamp', - 'friendly_name': 'Rando Mortgage Mortgage Data age', + : 'Data provided by Monarch Money API via PLAID', + : 'timestamp', + : 'Rando Mortgage Mortgage Data age', }), 'context': , 'entity_id': 'sensor.rando_mortgage_mortgage_data_age', @@ -1020,9 +1020,9 @@ # name: test_all_entities[sensor.vinaudit_2050_toyota_rav8_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via Manual entry', - 'device_class': 'timestamp', - 'friendly_name': 'VinAudit 2050 Toyota RAV8 Data age', + : 'Data provided by Monarch Money API via Manual entry', + : 'timestamp', + : 'VinAudit 2050 Toyota RAV8 Data age', }), 'context': , 'entity_id': 'sensor.vinaudit_2050_toyota_rav8_data_age', @@ -1074,12 +1074,12 @@ # name: test_all_entities[sensor.vinaudit_2050_toyota_rav8_value-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via Manual entry', - 'device_class': 'monetary', - 'entity_picture': 'https://api.monarchmoney.com/cdn-cgi/image/width=128/images/institution/159427559853802644', - 'friendly_name': 'VinAudit 2050 Toyota RAV8 Value', + : 'Data provided by Monarch Money API via Manual entry', + : 'monetary', + : 'https://api.monarchmoney.com/cdn-cgi/image/width=128/images/institution/159427559853802644', + : 'VinAudit 2050 Toyota RAV8 Value', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.vinaudit_2050_toyota_rav8_value', @@ -1131,12 +1131,12 @@ # name: test_all_entities[sensor.zillow_house_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via Manual entry', - 'device_class': 'monetary', - 'entity_picture': 'data:image/png;base64,base64Nonce', - 'friendly_name': 'Zillow House Balance', + : 'Data provided by Monarch Money API via Manual entry', + : 'monetary', + : 'data:image/png;base64,base64Nonce', + : 'Zillow House Balance', : , - 'unit_of_measurement': '$', + : '$', }), 'context': , 'entity_id': 'sensor.zillow_house_balance', @@ -1186,9 +1186,9 @@ # name: test_all_entities[sensor.zillow_house_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monarch Money API via Manual entry', - 'device_class': 'timestamp', - 'friendly_name': 'Zillow House Data age', + : 'Data provided by Monarch Money API via Manual entry', + : 'timestamp', + : 'Zillow House Data age', }), 'context': , 'entity_id': 'sensor.zillow_house_data_age', diff --git a/tests/components/monzo/snapshots/test_sensor.ambr b/tests/components/monzo/snapshots/test_sensor.ambr index 353c78da038..1b18c259412 100644 --- a/tests/components/monzo/snapshots/test_sensor.ambr +++ b/tests/components/monzo/snapshots/test_sensor.ambr @@ -42,10 +42,10 @@ # name: test_all_entities[sensor.current_account_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monzo', - 'device_class': 'monetary', - 'friendly_name': 'Current Account Balance', - 'unit_of_measurement': 'GBP', + : 'Data provided by Monzo', + : 'monetary', + : 'Current Account Balance', + : 'GBP', }), 'context': , 'entity_id': 'sensor.current_account_balance', @@ -98,10 +98,10 @@ # name: test_all_entities[sensor.current_account_total_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monzo', - 'device_class': 'monetary', - 'friendly_name': 'Current Account Total balance', - 'unit_of_measurement': 'GBP', + : 'Data provided by Monzo', + : 'monetary', + : 'Current Account Total balance', + : 'GBP', }), 'context': , 'entity_id': 'sensor.current_account_total_balance', @@ -154,10 +154,10 @@ # name: test_all_entities[sensor.flex_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monzo', - 'device_class': 'monetary', - 'friendly_name': 'Flex Balance', - 'unit_of_measurement': 'GBP', + : 'Data provided by Monzo', + : 'monetary', + : 'Flex Balance', + : 'GBP', }), 'context': , 'entity_id': 'sensor.flex_balance', @@ -210,10 +210,10 @@ # name: test_all_entities[sensor.flex_total_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monzo', - 'device_class': 'monetary', - 'friendly_name': 'Flex Total balance', - 'unit_of_measurement': 'GBP', + : 'Data provided by Monzo', + : 'monetary', + : 'Flex Total balance', + : 'GBP', }), 'context': , 'entity_id': 'sensor.flex_total_balance', @@ -266,10 +266,10 @@ # name: test_all_entities[sensor.savings_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Monzo', - 'device_class': 'monetary', - 'friendly_name': 'Savings Balance', - 'unit_of_measurement': 'GBP', + : 'Data provided by Monzo', + : 'monetary', + : 'Savings Balance', + : 'GBP', }), 'context': , 'entity_id': 'sensor.savings_balance', diff --git a/tests/components/mta/snapshots/test_sensor.ambr b/tests/components/mta/snapshots/test_sensor.ambr index 5ef3bf60568..0649764453b 100644 --- a/tests/components/mta/snapshots/test_sensor.ambr +++ b/tests/components/mta/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_next_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'M15 - 1 Av/E 79 St Next arrival', + : 'timestamp', + : 'M15 - 1 Av/E 79 St Next arrival', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_next_arrival', @@ -90,7 +90,7 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_next_arrival_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'M15 - 1 Av/E 79 St Next arrival destination', + : 'M15 - 1 Av/E 79 St Next arrival destination', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_next_arrival_destination', @@ -140,7 +140,7 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_next_arrival_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'M15 - 1 Av/E 79 St Next arrival route', + : 'M15 - 1 Av/E 79 St Next arrival route', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_next_arrival_route', @@ -190,8 +190,8 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_second_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'M15 - 1 Av/E 79 St Second arrival', + : 'timestamp', + : 'M15 - 1 Av/E 79 St Second arrival', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_second_arrival', @@ -241,7 +241,7 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_second_arrival_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'M15 - 1 Av/E 79 St Second arrival destination', + : 'M15 - 1 Av/E 79 St Second arrival destination', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_second_arrival_destination', @@ -291,7 +291,7 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_second_arrival_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'M15 - 1 Av/E 79 St Second arrival route', + : 'M15 - 1 Av/E 79 St Second arrival route', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_second_arrival_route', @@ -341,8 +341,8 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_third_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'M15 - 1 Av/E 79 St Third arrival', + : 'timestamp', + : 'M15 - 1 Av/E 79 St Third arrival', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_third_arrival', @@ -392,7 +392,7 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_third_arrival_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'M15 - 1 Av/E 79 St Third arrival destination', + : 'M15 - 1 Av/E 79 St Third arrival destination', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_third_arrival_destination', @@ -442,7 +442,7 @@ # name: test_bus_sensor[sensor.m15_1_av_e_79_st_third_arrival_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'M15 - 1 Av/E 79 St Third arrival route', + : 'M15 - 1 Av/E 79 St Third arrival route', }), 'context': , 'entity_id': 'sensor.m15_1_av_e_79_st_third_arrival_route', @@ -492,8 +492,8 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_next_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '1 - Times Sq - 42 St (N direction) Next arrival', + : 'timestamp', + : '1 - Times Sq - 42 St (N direction) Next arrival', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_next_arrival', @@ -543,7 +543,7 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_next_arrival_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1 - Times Sq - 42 St (N direction) Next arrival destination', + : '1 - Times Sq - 42 St (N direction) Next arrival destination', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_next_arrival_destination', @@ -593,7 +593,7 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_next_arrival_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1 - Times Sq - 42 St (N direction) Next arrival route', + : '1 - Times Sq - 42 St (N direction) Next arrival route', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_next_arrival_route', @@ -643,8 +643,8 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_second_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '1 - Times Sq - 42 St (N direction) Second arrival', + : 'timestamp', + : '1 - Times Sq - 42 St (N direction) Second arrival', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_second_arrival', @@ -694,7 +694,7 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_second_arrival_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1 - Times Sq - 42 St (N direction) Second arrival destination', + : '1 - Times Sq - 42 St (N direction) Second arrival destination', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_second_arrival_destination', @@ -744,7 +744,7 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_second_arrival_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1 - Times Sq - 42 St (N direction) Second arrival route', + : '1 - Times Sq - 42 St (N direction) Second arrival route', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_second_arrival_route', @@ -794,8 +794,8 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_third_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '1 - Times Sq - 42 St (N direction) Third arrival', + : 'timestamp', + : '1 - Times Sq - 42 St (N direction) Third arrival', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_third_arrival', @@ -845,7 +845,7 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_third_arrival_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1 - Times Sq - 42 St (N direction) Third arrival destination', + : '1 - Times Sq - 42 St (N direction) Third arrival destination', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_third_arrival_destination', @@ -895,7 +895,7 @@ # name: test_subway_sensor[sensor.1_times_sq_42_st_n_direction_third_arrival_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '1 - Times Sq - 42 St (N direction) Third arrival route', + : '1 - Times Sq - 42 St (N direction) Third arrival route', }), 'context': , 'entity_id': 'sensor.1_times_sq_42_st_n_direction_third_arrival_route', diff --git a/tests/components/music_assistant/snapshots/test_button.ambr b/tests/components/music_assistant/snapshots/test_button.ambr index 89e2b422805..e87ed9481c6 100644 --- a/tests/components/music_assistant/snapshots/test_button.ambr +++ b/tests/components/music_assistant/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_entities[button.my_super_test_player_2_favorite_current_song-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Super Test Player 2 Favorite current song', + : 'My Super Test Player 2 Favorite current song', }), 'context': , 'entity_id': 'button.my_super_test_player_2_favorite_current_song', @@ -89,7 +89,7 @@ # name: test_button_entities[button.test_group_player_1_favorite_current_song-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Group Player 1 Favorite current song', + : 'Test Group Player 1 Favorite current song', }), 'context': , 'entity_id': 'button.test_group_player_1_favorite_current_song', @@ -139,7 +139,7 @@ # name: test_button_entities[button.test_player_1_favorite_current_song-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Player 1 Favorite current song', + : 'Test Player 1 Favorite current song', }), 'context': , 'entity_id': 'button.test_player_1_favorite_current_song', diff --git a/tests/components/music_assistant/snapshots/test_media_player.ambr b/tests/components/music_assistant/snapshots/test_media_player.ambr index 055e5a0a57d..95810a6612e 100644 --- a/tests/components/music_assistant/snapshots/test_media_player.ambr +++ b/tests/components/music_assistant/snapshots/test_media_player.ambr @@ -42,12 +42,12 @@ 'attributes': ReadOnlyDict({ 'active_queue': None, : 'spotify', - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'My Super Test Player 2', + : 'My Super Test Player 2', : list([ ]), - 'icon': 'mdi:speaker', + : 'mdi:speaker', : False, 'mass_player_type': 'player', : 'Test Album', @@ -58,7 +58,7 @@ : 0, : 'Test Track', : 'Spotify Connect', - 'supported_features': , + : , : 0.2, }), 'context': , @@ -112,14 +112,14 @@ 'attributes': ReadOnlyDict({ 'active_queue': 'test_group_player_1', : 'music_assistant', - 'device_class': 'speaker', + : 'speaker', : None, - 'friendly_name': 'Test Group Player 1', + : 'Test Group Player 1', : list([ 'media_player.test_player_1', 'media_player.my_super_test_player_2', ]), - 'icon': 'mdi:speaker-multiple', + : 'mdi:speaker-multiple', : False, 'mass_player_type': 'group', : 'Use Your Illusion I', @@ -132,7 +132,7 @@ : 'November Rain', : , : True, - 'supported_features': , + : , : 0.06, }), 'context': , @@ -193,11 +193,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'active_queue': '00:00:00:00:00:01', - 'device_class': 'speaker', - 'friendly_name': 'Test Player 1', + : 'speaker', + : 'Test Player 1', : list([ ]), - 'icon': 'mdi:speaker', + : 'mdi:speaker', 'mass_player_type': 'player', : list([ 'munich_translation', @@ -207,7 +207,7 @@ 'Music Assistant Queue', 'Line-In', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.test_player_1', diff --git a/tests/components/music_assistant/snapshots/test_number.ambr b/tests/components/music_assistant/snapshots/test_number.ambr index cf8b49c7c54..c4282276d9d 100644 --- a/tests/components/music_assistant/snapshots/test_number.ambr +++ b/tests/components/music_assistant/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_number_entities[number.test_player_1_bass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Player 1 Bass', + : 'Test Player 1 Bass', : 10.0, : -10.0, : , @@ -103,7 +103,7 @@ # name: test_number_entities[number.test_player_1_treble-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Player 1 Treble', + : 'Test Player 1 Treble', : 10, : -10, : , diff --git a/tests/components/music_assistant/snapshots/test_select.ambr b/tests/components/music_assistant/snapshots/test_select.ambr index aaa79b5f8db..e3347d1e165 100644 --- a/tests/components/music_assistant/snapshots/test_select.ambr +++ b/tests/components/music_assistant/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select_entities[select.test_player_1_link_audio_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Player 1 Link audio delay', + : 'Test Player 1 Link audio delay', : list([ 'audio_sync_translation', 'balanced_translation', diff --git a/tests/components/music_assistant/snapshots/test_switch.ambr b/tests/components/music_assistant/snapshots/test_switch.ambr index 7b9332fa4d1..cd34e7fe446 100644 --- a/tests/components/music_assistant/snapshots/test_switch.ambr +++ b/tests/components/music_assistant/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.test_player_1_enhancer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Player 1 Enhancer', + : 'Test Player 1 Enhancer', }), 'context': , 'entity_id': 'switch.test_player_1_enhancer', diff --git a/tests/components/music_assistant/snapshots/test_text.ambr b/tests/components/music_assistant/snapshots/test_text.ambr index c0c717739fc..8b11954fc8b 100644 --- a/tests/components/music_assistant/snapshots/test_text.ambr +++ b/tests/components/music_assistant/snapshots/test_text.ambr @@ -44,7 +44,7 @@ # name: test_text_entities[text.test_player_1_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Player 1 Network name', + : 'Test Player 1 Network name', : 255, : 0, : , diff --git a/tests/components/myneomitis/snapshots/test_climate.ambr b/tests/components/myneomitis/snapshots/test_climate.ambr index 9491552953f..63daea572dd 100644 --- a/tests/components/myneomitis/snapshots/test_climate.ambr +++ b/tests/components/myneomitis/snapshots/test_climate.ambr @@ -55,7 +55,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'Climate Device', + : 'Climate Device', : list([ , , @@ -72,7 +72,7 @@ 'antifrost', 'standby', ]), - 'supported_features': , + : , : 22.0, }), 'context': , diff --git a/tests/components/myneomitis/snapshots/test_select.ambr b/tests/components/myneomitis/snapshots/test_select.ambr index 6ef7b1963bf..a97c37f3ad6 100644 --- a/tests/components/myneomitis/snapshots/test_select.ambr +++ b/tests/components/myneomitis/snapshots/test_select.ambr @@ -52,7 +52,7 @@ # name: test_entities[select.pilote_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pilote Device', + : 'Pilote Device', : list([ 'comfort', 'eco', @@ -120,7 +120,7 @@ # name: test_entities[select.relais_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Relais Device', + : 'Relais Device', : list([ 'on', 'off', @@ -180,7 +180,7 @@ # name: test_entities[select.ufh_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'UFH Device', + : 'UFH Device', : list([ 'heating', 'cooling', diff --git a/tests/components/myuplink/snapshots/test_binary_sensor.ambr b/tests/components/myuplink/snapshots/test_binary_sensor.ambr index 3d218f3dbed..ceaecef8f47 100644 --- a/tests/components/myuplink/snapshots/test_binary_sensor.ambr +++ b/tests/components/myuplink/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_states[binary_sensor.gotham_city_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Gotham City Alarm', + : 'problem', + : 'Gotham City Alarm', }), 'context': , 'entity_id': 'binary_sensor.gotham_city_alarm', @@ -90,8 +90,8 @@ # name: test_binary_sensor_states[binary_sensor.gotham_city_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Gotham City Connectivity', + : 'connectivity', + : 'Gotham City Connectivity', }), 'context': , 'entity_id': 'binary_sensor.gotham_city_connectivity', @@ -141,8 +141,8 @@ # name: test_binary_sensor_states[binary_sensor.gotham_city_connectivity_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Gotham City Connectivity', + : 'connectivity', + : 'Gotham City Connectivity', }), 'context': , 'entity_id': 'binary_sensor.gotham_city_connectivity_2', @@ -192,7 +192,7 @@ # name: test_binary_sensor_states[binary_sensor.gotham_city_extern_adjustment_climate_system_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Extern. adjust\xadment climate system 1', + : 'Gotham City Extern. adjust\xadment climate system 1', }), 'context': , 'entity_id': 'binary_sensor.gotham_city_extern_adjustment_climate_system_1', @@ -242,7 +242,7 @@ # name: test_binary_sensor_states[binary_sensor.gotham_city_extern_adjustment_climate_system_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Extern. adjust\xadment climate system 1', + : 'Gotham City Extern. adjust\xadment climate system 1', }), 'context': , 'entity_id': 'binary_sensor.gotham_city_extern_adjustment_climate_system_1_2', @@ -292,7 +292,7 @@ # name: test_binary_sensor_states[binary_sensor.gotham_city_pump_heating_medium_gp1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Pump: Heating medium (GP1)', + : 'Gotham City Pump: Heating medium (GP1)', }), 'context': , 'entity_id': 'binary_sensor.gotham_city_pump_heating_medium_gp1', @@ -342,7 +342,7 @@ # name: test_binary_sensor_states[binary_sensor.gotham_city_pump_heating_medium_gp1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Pump: Heating medium (GP1)', + : 'Gotham City Pump: Heating medium (GP1)', }), 'context': , 'entity_id': 'binary_sensor.gotham_city_pump_heating_medium_gp1_2', diff --git a/tests/components/myuplink/snapshots/test_number.ambr b/tests/components/myuplink/snapshots/test_number.ambr index 9132f796c1c..a5bc647399b 100644 --- a/tests/components/myuplink/snapshots/test_number.ambr +++ b/tests/components/myuplink/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_states[platforms0][number.gotham_city_degree_minutes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Degree minutes', + : 'Gotham City Degree minutes', : 3000.0, : -3000.0, : , : 0.1, - 'unit_of_measurement': 'DM', + : 'DM', }), 'context': , 'entity_id': 'number.gotham_city_degree_minutes', @@ -104,12 +104,12 @@ # name: test_number_states[platforms0][number.gotham_city_degree_minutes_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Degree minutes', + : 'Gotham City Degree minutes', : 3000.0, : -3000.0, : , : 0.1, - 'unit_of_measurement': 'DM', + : 'DM', }), 'context': , 'entity_id': 'number.gotham_city_degree_minutes_2', @@ -164,7 +164,7 @@ # name: test_number_states[platforms0][number.gotham_city_heating_offset_climate_system_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Heating offset climate system 1', + : 'Gotham City Heating offset climate system 1', : 10.0, : -10.0, : , @@ -223,7 +223,7 @@ # name: test_number_states[platforms0][number.gotham_city_heating_offset_climate_system_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Heating offset climate system 1', + : 'Gotham City Heating offset climate system 1', : 10.0, : -10.0, : , @@ -282,7 +282,7 @@ # name: test_number_states[platforms0][number.gotham_city_room_sensor_set_point_value_heating_climate_system_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Room sensor set point value heating climate system 1', + : 'Gotham City Room sensor set point value heating climate system 1', : 35.0, : 5.0, : , @@ -341,7 +341,7 @@ # name: test_number_states[platforms0][number.gotham_city_room_sensor_set_point_value_heating_climate_system_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Room sensor set point value heating climate system 1', + : 'Gotham City Room sensor set point value heating climate system 1', : 35.0, : 5.0, : , @@ -400,12 +400,12 @@ # name: test_number_states[platforms0][number.gotham_city_start_diff_additional_heat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City start diff additional heat', + : 'Gotham City start diff additional heat', : 2000.0, : 100.0, : , : 10.0, - 'unit_of_measurement': 'DM', + : 'DM', }), 'context': , 'entity_id': 'number.gotham_city_start_diff_additional_heat', @@ -460,12 +460,12 @@ # name: test_number_states[platforms0][number.gotham_city_start_diff_additional_heat_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City start diff additional heat', + : 'Gotham City start diff additional heat', : 2000.0, : 100.0, : , : 10.0, - 'unit_of_measurement': 'DM', + : 'DM', }), 'context': , 'entity_id': 'number.gotham_city_start_diff_additional_heat_2', diff --git a/tests/components/myuplink/snapshots/test_select.ambr b/tests/components/myuplink/snapshots/test_select.ambr index fee9f93752f..2de29f656f6 100644 --- a/tests/components/myuplink/snapshots/test_select.ambr +++ b/tests/components/myuplink/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_select_states[platforms0][select.gotham_city_comfort_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City comfort mode', + : 'Gotham City comfort mode', : list([ 'Smart control', 'Economy', @@ -109,7 +109,7 @@ # name: test_select_states[platforms0][select.gotham_city_comfort_mode_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City comfort mode', + : 'Gotham City comfort mode', : list([ 'Smart control', 'Economy', diff --git a/tests/components/myuplink/snapshots/test_sensor.ambr b/tests/components/myuplink/snapshots/test_sensor.ambr index 3c40b5e2037..97a666f3298 100644 --- a/tests/components/myuplink/snapshots/test_sensor.ambr +++ b/tests/components/myuplink/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_states[sensor.gotham_city_average_outdoor_temp_bt1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Average outdoor temp (BT1)', + : 'temperature', + : 'Gotham City Average outdoor temp (BT1)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_average_outdoor_temp_bt1', @@ -102,10 +102,10 @@ # name: test_sensor_states[sensor.gotham_city_average_outdoor_temp_bt1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Average outdoor temp (BT1)', + : 'temperature', + : 'Gotham City Average outdoor temp (BT1)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_average_outdoor_temp_bt1_2', @@ -160,10 +160,10 @@ # name: test_sensor_states[sensor.gotham_city_calculated_supply_climate_system_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Calculated supply climate system 1', + : 'temperature', + : 'Gotham City Calculated supply climate system 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_calculated_supply_climate_system_1', @@ -218,10 +218,10 @@ # name: test_sensor_states[sensor.gotham_city_calculated_supply_climate_system_1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Calculated supply climate system 1', + : 'temperature', + : 'Gotham City Calculated supply climate system 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_calculated_supply_climate_system_1_2', @@ -276,10 +276,10 @@ # name: test_sensor_states[sensor.gotham_city_condenser_bt12-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Condenser (BT12)', + : 'temperature', + : 'Gotham City Condenser (BT12)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_condenser_bt12', @@ -334,10 +334,10 @@ # name: test_sensor_states[sensor.gotham_city_condenser_bt12_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Condenser (BT12)', + : 'temperature', + : 'Gotham City Condenser (BT12)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_condenser_bt12_2', @@ -392,10 +392,10 @@ # name: test_sensor_states[sensor.gotham_city_current_be1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gotham City Current (BE1)', + : 'current', + : 'Gotham City Current (BE1)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_be1', @@ -450,10 +450,10 @@ # name: test_sensor_states[sensor.gotham_city_current_be1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gotham City Current (BE1)', + : 'current', + : 'Gotham City Current (BE1)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_be1_2', @@ -508,10 +508,10 @@ # name: test_sensor_states[sensor.gotham_city_current_be2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gotham City Current (BE2)', + : 'current', + : 'Gotham City Current (BE2)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_be2', @@ -566,10 +566,10 @@ # name: test_sensor_states[sensor.gotham_city_current_be2_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gotham City Current (BE2)', + : 'current', + : 'Gotham City Current (BE2)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_be2_2', @@ -624,10 +624,10 @@ # name: test_sensor_states[sensor.gotham_city_current_be3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gotham City Current (BE3)', + : 'current', + : 'Gotham City Current (BE3)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_be3', @@ -682,10 +682,10 @@ # name: test_sensor_states[sensor.gotham_city_current_be3_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Gotham City Current (BE3)', + : 'current', + : 'Gotham City Current (BE3)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_be3_2', @@ -740,10 +740,10 @@ # name: test_sensor_states[sensor.gotham_city_current_compressor_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Gotham City Current compressor frequency', + : 'frequency', + : 'Gotham City Current compressor frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_compressor_frequency', @@ -798,10 +798,10 @@ # name: test_sensor_states[sensor.gotham_city_current_compressor_frequency_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Gotham City Current compressor frequency', + : 'frequency', + : 'Gotham City Current compressor frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_compressor_frequency_2', @@ -851,7 +851,7 @@ # name: test_sensor_states[sensor.gotham_city_current_fan_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Current fan mode', + : 'Gotham City Current fan mode', }), 'context': , 'entity_id': 'sensor.gotham_city_current_fan_mode', @@ -901,7 +901,7 @@ # name: test_sensor_states[sensor.gotham_city_current_fan_mode_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Current fan mode', + : 'Gotham City Current fan mode', }), 'context': , 'entity_id': 'sensor.gotham_city_current_fan_mode_2', @@ -951,8 +951,8 @@ # name: test_sensor_states[sensor.gotham_city_current_hot_water_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Current hot water mode', - 'unit_of_measurement': '', + : 'Gotham City Current hot water mode', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_current_hot_water_mode', @@ -1002,8 +1002,8 @@ # name: test_sensor_states[sensor.gotham_city_current_hot_water_mode_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Current hot water mode', - 'unit_of_measurement': '', + : 'Gotham City Current hot water mode', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_current_hot_water_mode_2', @@ -1058,10 +1058,10 @@ # name: test_sensor_states[sensor.gotham_city_current_outd_temp_bt1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Current outd temp (BT1)', + : 'temperature', + : 'Gotham City Current outd temp (BT1)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_outd_temp_bt1', @@ -1116,10 +1116,10 @@ # name: test_sensor_states[sensor.gotham_city_current_outd_temp_bt1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Current outd temp (BT1)', + : 'temperature', + : 'Gotham City Current outd temp (BT1)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_current_outd_temp_bt1_2', @@ -1169,8 +1169,8 @@ # name: test_sensor_states[sensor.gotham_city_decrease_from_reference_value-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Decrease from reference value', - 'unit_of_measurement': '%', + : 'Gotham City Decrease from reference value', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_decrease_from_reference_value', @@ -1220,8 +1220,8 @@ # name: test_sensor_states[sensor.gotham_city_decrease_from_reference_value_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Decrease from reference value', - 'unit_of_measurement': '%', + : 'Gotham City Decrease from reference value', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_decrease_from_reference_value_2', @@ -1276,10 +1276,10 @@ # name: test_sensor_states[sensor.gotham_city_defrosting_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Gotham City Defrosting time', + : 'duration', + : 'Gotham City Defrosting time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_defrosting_time', @@ -1334,10 +1334,10 @@ # name: test_sensor_states[sensor.gotham_city_defrosting_time_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Gotham City Defrosting time', + : 'duration', + : 'Gotham City Defrosting time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_defrosting_time_2', @@ -1387,8 +1387,8 @@ # name: test_sensor_states[sensor.gotham_city_degree_minutes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Degree minutes', - 'unit_of_measurement': '', + : 'Gotham City Degree minutes', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_degree_minutes', @@ -1438,8 +1438,8 @@ # name: test_sensor_states[sensor.gotham_city_degree_minutes_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Degree minutes', - 'unit_of_measurement': '', + : 'Gotham City Degree minutes', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_degree_minutes_2', @@ -1489,8 +1489,8 @@ # name: test_sensor_states[sensor.gotham_city_desired_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Desired humidity', - 'unit_of_measurement': '%', + : 'Gotham City Desired humidity', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_desired_humidity', @@ -1540,8 +1540,8 @@ # name: test_sensor_states[sensor.gotham_city_desired_humidity_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Desired humidity', - 'unit_of_measurement': '%', + : 'Gotham City Desired humidity', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_desired_humidity_2', @@ -1591,8 +1591,8 @@ # name: test_sensor_states[sensor.gotham_city_desired_humidity_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Desired humidity', - 'unit_of_measurement': '%', + : 'Gotham City Desired humidity', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_desired_humidity_3', @@ -1642,8 +1642,8 @@ # name: test_sensor_states[sensor.gotham_city_desired_humidity_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Desired humidity', - 'unit_of_measurement': '%', + : 'Gotham City Desired humidity', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_desired_humidity_4', @@ -1698,10 +1698,10 @@ # name: test_sensor_states[sensor.gotham_city_discharge_bt14-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Discharge (BT14)', + : 'temperature', + : 'Gotham City Discharge (BT14)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_discharge_bt14', @@ -1756,10 +1756,10 @@ # name: test_sensor_states[sensor.gotham_city_discharge_bt14_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Discharge (BT14)', + : 'temperature', + : 'Gotham City Discharge (BT14)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_discharge_bt14_2', @@ -1814,10 +1814,10 @@ # name: test_sensor_states[sensor.gotham_city_dt_inverter_exh_air_bt20-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City dT Inverter - exh air (BT20)', + : 'temperature', + : 'Gotham City dT Inverter - exh air (BT20)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_dt_inverter_exh_air_bt20', @@ -1872,10 +1872,10 @@ # name: test_sensor_states[sensor.gotham_city_dt_inverter_exh_air_bt20_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City dT Inverter - exh air (BT20)', + : 'temperature', + : 'Gotham City dT Inverter - exh air (BT20)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_dt_inverter_exh_air_bt20_2', @@ -1930,10 +1930,10 @@ # name: test_sensor_states[sensor.gotham_city_evaporator_bt16-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Evaporator (BT16)', + : 'temperature', + : 'Gotham City Evaporator (BT16)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_evaporator_bt16', @@ -1988,10 +1988,10 @@ # name: test_sensor_states[sensor.gotham_city_evaporator_bt16_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Evaporator (BT16)', + : 'temperature', + : 'Gotham City Evaporator (BT16)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_evaporator_bt16_2', @@ -2046,10 +2046,10 @@ # name: test_sensor_states[sensor.gotham_city_exhaust_air_bt20-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Exhaust air (BT20)', + : 'temperature', + : 'Gotham City Exhaust air (BT20)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_exhaust_air_bt20', @@ -2104,10 +2104,10 @@ # name: test_sensor_states[sensor.gotham_city_exhaust_air_bt20_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Exhaust air (BT20)', + : 'temperature', + : 'Gotham City Exhaust air (BT20)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_exhaust_air_bt20_2', @@ -2162,10 +2162,10 @@ # name: test_sensor_states[sensor.gotham_city_extract_air_bt21-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Extract air (BT21)', + : 'temperature', + : 'Gotham City Extract air (BT21)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_extract_air_bt21', @@ -2220,10 +2220,10 @@ # name: test_sensor_states[sensor.gotham_city_extract_air_bt21_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Extract air (BT21)', + : 'temperature', + : 'Gotham City Extract air (BT21)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_extract_air_bt21_2', @@ -2273,8 +2273,8 @@ # name: test_sensor_states[sensor.gotham_city_heating_medium_pump_speed_gp1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Heating medium pump speed (GP1)', - 'unit_of_measurement': '%', + : 'Gotham City Heating medium pump speed (GP1)', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_heating_medium_pump_speed_gp1', @@ -2324,8 +2324,8 @@ # name: test_sensor_states[sensor.gotham_city_heating_medium_pump_speed_gp1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Heating medium pump speed (GP1)', - 'unit_of_measurement': '%', + : 'Gotham City Heating medium pump speed (GP1)', + : '%', }), 'context': , 'entity_id': 'sensor.gotham_city_heating_medium_pump_speed_gp1_2', @@ -2380,10 +2380,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_charge_current_value_bt12_bt63-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water: charge current value ((BT12 | BT63))', + : 'temperature', + : 'Gotham City Hot water: charge current value ((BT12 | BT63))', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_charge_current_value_bt12_bt63', @@ -2438,10 +2438,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_charge_current_value_bt12_bt63_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water: charge current value ((BT12 | BT63))', + : 'temperature', + : 'Gotham City Hot water: charge current value ((BT12 | BT63))', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_charge_current_value_bt12_bt63_2', @@ -2496,10 +2496,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_charge_set_point_value-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water: charge set point value', + : 'temperature', + : 'Gotham City Hot water: charge set point value', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_charge_set_point_value', @@ -2554,10 +2554,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_charge_set_point_value_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water: charge set point value', + : 'temperature', + : 'Gotham City Hot water: charge set point value', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_charge_set_point_value_2', @@ -2612,10 +2612,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_charging_bt6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water charging (BT6)', + : 'temperature', + : 'Gotham City Hot water charging (BT6)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_charging_bt6', @@ -2670,10 +2670,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_charging_bt6_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water charging (BT6)', + : 'temperature', + : 'Gotham City Hot water charging (BT6)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_charging_bt6_2', @@ -2728,10 +2728,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_top_bt7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water top (BT7)', + : 'temperature', + : 'Gotham City Hot water top (BT7)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_top_bt7', @@ -2786,10 +2786,10 @@ # name: test_sensor_states[sensor.gotham_city_hot_water_top_bt7_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Hot water top (BT7)', + : 'temperature', + : 'Gotham City Hot water top (BT7)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_hot_water_top_bt7_2', @@ -2849,8 +2849,8 @@ # name: test_sensor_states[sensor.gotham_city_int_elec_add_heat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gotham City Int elec add heat', + : 'enum', + : 'Gotham City Int elec add heat', : list([ 'Alarm', 'Alarm', @@ -2919,8 +2919,8 @@ # name: test_sensor_states[sensor.gotham_city_int_elec_add_heat_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gotham City Int elec add heat', + : 'enum', + : 'Gotham City Int elec add heat', : list([ 'Alarm', 'Alarm', @@ -2979,7 +2979,7 @@ # name: test_sensor_states[sensor.gotham_city_int_elec_add_heat_raw-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Int elec add heat raw', + : 'Gotham City Int elec add heat raw', }), 'context': , 'entity_id': 'sensor.gotham_city_int_elec_add_heat_raw', @@ -3029,7 +3029,7 @@ # name: test_sensor_states[sensor.gotham_city_int_elec_add_heat_raw_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Int elec add heat raw', + : 'Gotham City Int elec add heat raw', }), 'context': , 'entity_id': 'sensor.gotham_city_int_elec_add_heat_raw_2', @@ -3084,10 +3084,10 @@ # name: test_sensor_states[sensor.gotham_city_inverter_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Inverter temperature', + : 'temperature', + : 'Gotham City Inverter temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_inverter_temperature', @@ -3142,10 +3142,10 @@ # name: test_sensor_states[sensor.gotham_city_inverter_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Inverter temperature', + : 'temperature', + : 'Gotham City Inverter temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_inverter_temperature_2', @@ -3200,10 +3200,10 @@ # name: test_sensor_states[sensor.gotham_city_liquid_line_bt15-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Liquid line (BT15)', + : 'temperature', + : 'Gotham City Liquid line (BT15)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_liquid_line_bt15', @@ -3258,10 +3258,10 @@ # name: test_sensor_states[sensor.gotham_city_liquid_line_bt15_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Liquid line (BT15)', + : 'temperature', + : 'Gotham City Liquid line (BT15)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_liquid_line_bt15_2', @@ -3316,10 +3316,10 @@ # name: test_sensor_states[sensor.gotham_city_max_compressor_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Gotham City Max compressor frequency', + : 'frequency', + : 'Gotham City Max compressor frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_max_compressor_frequency', @@ -3374,10 +3374,10 @@ # name: test_sensor_states[sensor.gotham_city_max_compressor_frequency_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Gotham City Max compressor frequency', + : 'frequency', + : 'Gotham City Max compressor frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_max_compressor_frequency_2', @@ -3432,10 +3432,10 @@ # name: test_sensor_states[sensor.gotham_city_min_compressor_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Gotham City Min compressor frequency', + : 'frequency', + : 'Gotham City Min compressor frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_min_compressor_frequency', @@ -3490,10 +3490,10 @@ # name: test_sensor_states[sensor.gotham_city_min_compressor_frequency_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Gotham City Min compressor frequency', + : 'frequency', + : 'Gotham City Min compressor frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_min_compressor_frequency_2', @@ -3548,10 +3548,10 @@ # name: test_sensor_states[sensor.gotham_city_oil_temperature_bt29-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Oil temperature (BT29)', + : 'temperature', + : 'Gotham City Oil temperature (BT29)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_oil_temperature_bt29', @@ -3606,10 +3606,10 @@ # name: test_sensor_states[sensor.gotham_city_oil_temperature_bt29_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Oil temperature (BT29)', + : 'temperature', + : 'Gotham City Oil temperature (BT29)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_oil_temperature_bt29_2', @@ -3664,10 +3664,10 @@ # name: test_sensor_states[sensor.gotham_city_oil_temperature_ep15_bt29-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Oil temperature (EP15-BT29)', + : 'temperature', + : 'Gotham City Oil temperature (EP15-BT29)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_oil_temperature_ep15_bt29', @@ -3722,10 +3722,10 @@ # name: test_sensor_states[sensor.gotham_city_oil_temperature_ep15_bt29_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Oil temperature (EP15-BT29)', + : 'temperature', + : 'Gotham City Oil temperature (EP15-BT29)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_oil_temperature_ep15_bt29_2', @@ -3785,8 +3785,8 @@ # name: test_sensor_states[sensor.gotham_city_priority-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gotham City Priority', + : 'enum', + : 'Gotham City Priority', : list([ 'Off', 'Hot water', @@ -3855,8 +3855,8 @@ # name: test_sensor_states[sensor.gotham_city_priority_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gotham City Priority', + : 'enum', + : 'Gotham City Priority', : list([ 'Off', 'Hot water', @@ -3915,7 +3915,7 @@ # name: test_sensor_states[sensor.gotham_city_priority_raw-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Prior\xadity raw', + : 'Gotham City Prior\xadity raw', }), 'context': , 'entity_id': 'sensor.gotham_city_priority_raw', @@ -3965,7 +3965,7 @@ # name: test_sensor_states[sensor.gotham_city_priority_raw_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Prior\xadity raw', + : 'Gotham City Prior\xadity raw', }), 'context': , 'entity_id': 'sensor.gotham_city_priority_raw_2', @@ -4015,8 +4015,8 @@ # name: test_sensor_states[sensor.gotham_city_r_start_diff_additional_heat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City r start diff additional heat', - 'unit_of_measurement': 'DM', + : 'Gotham City r start diff additional heat', + : 'DM', }), 'context': , 'entity_id': 'sensor.gotham_city_r_start_diff_additional_heat', @@ -4066,8 +4066,8 @@ # name: test_sensor_states[sensor.gotham_city_r_start_diff_additional_heat_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City r start diff additional heat', - 'unit_of_measurement': 'DM', + : 'Gotham City r start diff additional heat', + : 'DM', }), 'context': , 'entity_id': 'sensor.gotham_city_r_start_diff_additional_heat_2', @@ -4122,10 +4122,10 @@ # name: test_sensor_states[sensor.gotham_city_reference_air_speed_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Gotham City Reference, air speed sensor', + : 'volume_flow_rate', + : 'Gotham City Reference, air speed sensor', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_reference_air_speed_sensor', @@ -4180,10 +4180,10 @@ # name: test_sensor_states[sensor.gotham_city_reference_air_speed_sensor_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Gotham City Reference, air speed sensor', + : 'volume_flow_rate', + : 'Gotham City Reference, air speed sensor', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_reference_air_speed_sensor_2', @@ -4238,10 +4238,10 @@ # name: test_sensor_states[sensor.gotham_city_return_line_bt3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Return line (BT3)', + : 'temperature', + : 'Gotham City Return line (BT3)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_return_line_bt3', @@ -4296,10 +4296,10 @@ # name: test_sensor_states[sensor.gotham_city_return_line_bt3_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Return line (BT3)', + : 'temperature', + : 'Gotham City Return line (BT3)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_return_line_bt3_2', @@ -4354,10 +4354,10 @@ # name: test_sensor_states[sensor.gotham_city_return_line_bt62-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Return line (BT62)', + : 'temperature', + : 'Gotham City Return line (BT62)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_return_line_bt62', @@ -4412,10 +4412,10 @@ # name: test_sensor_states[sensor.gotham_city_return_line_bt62_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Return line (BT62)', + : 'temperature', + : 'Gotham City Return line (BT62)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_return_line_bt62_2', @@ -4470,10 +4470,10 @@ # name: test_sensor_states[sensor.gotham_city_room_temperature_bt50-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Room temperature (BT50)', + : 'temperature', + : 'Gotham City Room temperature (BT50)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_room_temperature_bt50', @@ -4528,10 +4528,10 @@ # name: test_sensor_states[sensor.gotham_city_room_temperature_bt50_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Room temperature (BT50)', + : 'temperature', + : 'Gotham City Room temperature (BT50)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_room_temperature_bt50_2', @@ -4588,8 +4588,8 @@ # name: test_sensor_states[sensor.gotham_city_status_compressor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gotham City Status compressor', + : 'enum', + : 'Gotham City Status compressor', : list([ 'Off', 'Starts', @@ -4652,8 +4652,8 @@ # name: test_sensor_states[sensor.gotham_city_status_compressor_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Gotham City Status compressor', + : 'enum', + : 'Gotham City Status compressor', : list([ 'Off', 'Starts', @@ -4709,7 +4709,7 @@ # name: test_sensor_states[sensor.gotham_city_status_compressor_raw-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Status com\xadpressor raw', + : 'Gotham City Status com\xadpressor raw', }), 'context': , 'entity_id': 'sensor.gotham_city_status_compressor_raw', @@ -4759,7 +4759,7 @@ # name: test_sensor_states[sensor.gotham_city_status_compressor_raw_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Status com\xadpressor raw', + : 'Gotham City Status com\xadpressor raw', }), 'context': , 'entity_id': 'sensor.gotham_city_status_compressor_raw_2', @@ -4814,10 +4814,10 @@ # name: test_sensor_states[sensor.gotham_city_suction_gas_bt17-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Suction gas (BT17)', + : 'temperature', + : 'Gotham City Suction gas (BT17)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_suction_gas_bt17', @@ -4872,10 +4872,10 @@ # name: test_sensor_states[sensor.gotham_city_suction_gas_bt17_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Suction gas (BT17)', + : 'temperature', + : 'Gotham City Suction gas (BT17)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_suction_gas_bt17_2', @@ -4930,10 +4930,10 @@ # name: test_sensor_states[sensor.gotham_city_supply_line_bt2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Supply line (BT2)', + : 'temperature', + : 'Gotham City Supply line (BT2)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_supply_line_bt2', @@ -4988,10 +4988,10 @@ # name: test_sensor_states[sensor.gotham_city_supply_line_bt2_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Supply line (BT2)', + : 'temperature', + : 'Gotham City Supply line (BT2)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_supply_line_bt2_2', @@ -5046,10 +5046,10 @@ # name: test_sensor_states[sensor.gotham_city_supply_line_bt61-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Supply line (BT61)', + : 'temperature', + : 'Gotham City Supply line (BT61)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_supply_line_bt61', @@ -5104,10 +5104,10 @@ # name: test_sensor_states[sensor.gotham_city_supply_line_bt61_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Gotham City Supply line (BT61)', + : 'temperature', + : 'Gotham City Supply line (BT61)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gotham_city_supply_line_bt61_2', @@ -5157,8 +5157,8 @@ # name: test_sensor_states[sensor.gotham_city_time_factor_add_heat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Time factor add heat', - 'unit_of_measurement': '', + : 'Gotham City Time factor add heat', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_time_factor_add_heat', @@ -5208,8 +5208,8 @@ # name: test_sensor_states[sensor.gotham_city_time_factor_add_heat_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Time factor add heat', - 'unit_of_measurement': '', + : 'Gotham City Time factor add heat', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_time_factor_add_heat_2', @@ -5259,8 +5259,8 @@ # name: test_sensor_states[sensor.gotham_city_value_air_velocity_sensor_bs1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Value, air velocity sensor (BS1)', - 'unit_of_measurement': '', + : 'Gotham City Value, air velocity sensor (BS1)', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_value_air_velocity_sensor_bs1', @@ -5310,8 +5310,8 @@ # name: test_sensor_states[sensor.gotham_city_value_air_velocity_sensor_bs1_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Value, air velocity sensor (BS1)', - 'unit_of_measurement': '', + : 'Gotham City Value, air velocity sensor (BS1)', + : '', }), 'context': , 'entity_id': 'sensor.gotham_city_value_air_velocity_sensor_bs1_2', diff --git a/tests/components/myuplink/snapshots/test_switch.ambr b/tests/components/myuplink/snapshots/test_switch.ambr index a29e9f97d39..b233c42859f 100644 --- a/tests/components/myuplink/snapshots/test_switch.ambr +++ b/tests/components/myuplink/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_states[platforms0][switch.gotham_city_increased_ventilation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City In\xadcreased venti\xadlation', + : 'Gotham City In\xadcreased venti\xadlation', }), 'context': , 'entity_id': 'switch.gotham_city_increased_ventilation', @@ -89,7 +89,7 @@ # name: test_switch_states[platforms0][switch.gotham_city_increased_ventilation_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City In\xadcreased venti\xadlation', + : 'Gotham City In\xadcreased venti\xadlation', }), 'context': , 'entity_id': 'switch.gotham_city_increased_ventilation_2', @@ -139,7 +139,7 @@ # name: test_switch_states[platforms0][switch.gotham_city_temporary_lux-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Tempo\xadrary lux', + : 'Gotham City Tempo\xadrary lux', }), 'context': , 'entity_id': 'switch.gotham_city_temporary_lux', @@ -189,7 +189,7 @@ # name: test_switch_states[platforms0][switch.gotham_city_temporary_lux_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gotham City Tempo\xadrary lux', + : 'Gotham City Tempo\xadrary lux', }), 'context': , 'entity_id': 'switch.gotham_city_temporary_lux_2', diff --git a/tests/components/nam/snapshots/test_sensor.ambr b/tests/components/nam/snapshots/test_sensor.ambr index 4d550faf240..dca5d936fce 100644 --- a/tests/components/nam/snapshots/test_sensor.ambr +++ b/tests/components/nam/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bh1750_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Nettigo Air Monitor BH1750 illuminance', + : 'illuminance', + : 'Nettigo Air Monitor BH1750 illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bh1750_illuminance', @@ -102,10 +102,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bme280_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Nettigo Air Monitor BME280 humidity', + : 'humidity', + : 'Nettigo Air Monitor BME280 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bme280_humidity', @@ -160,10 +160,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bme280_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Nettigo Air Monitor BME280 pressure', + : 'pressure', + : 'Nettigo Air Monitor BME280 pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bme280_pressure', @@ -218,10 +218,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bme280_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nettigo Air Monitor BME280 temperature', + : 'temperature', + : 'Nettigo Air Monitor BME280 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bme280_temperature', @@ -276,10 +276,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bmp180_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Nettigo Air Monitor BMP180 pressure', + : 'pressure', + : 'Nettigo Air Monitor BMP180 pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bmp180_pressure', @@ -334,10 +334,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bmp180_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nettigo Air Monitor BMP180 temperature', + : 'temperature', + : 'Nettigo Air Monitor BMP180 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bmp180_temperature', @@ -392,10 +392,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bmp280_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Nettigo Air Monitor BMP280 pressure', + : 'pressure', + : 'Nettigo Air Monitor BMP280 pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bmp280_pressure', @@ -450,10 +450,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_bmp280_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nettigo Air Monitor BMP280 temperature', + : 'temperature', + : 'Nettigo Air Monitor BMP280 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_bmp280_temperature', @@ -508,10 +508,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_dht22_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Nettigo Air Monitor DHT22 humidity', + : 'humidity', + : 'Nettigo Air Monitor DHT22 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_dht22_humidity', @@ -566,10 +566,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_dht22_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nettigo Air Monitor DHT22 temperature', + : 'temperature', + : 'Nettigo Air Monitor DHT22 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_dht22_temperature', @@ -624,10 +624,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_ds18b20_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nettigo Air Monitor DS18B20 temperature', + : 'temperature', + : 'Nettigo Air Monitor DS18B20 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_ds18b20_temperature', @@ -682,10 +682,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_heca_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Nettigo Air Monitor HECA humidity', + : 'humidity', + : 'Nettigo Air Monitor HECA humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_heca_humidity', @@ -740,10 +740,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_heca_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nettigo Air Monitor HECA temperature', + : 'temperature', + : 'Nettigo Air Monitor HECA temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_heca_temperature', @@ -798,10 +798,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_mh_z14a_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Nettigo Air Monitor MH-Z14A carbon dioxide', + : 'carbon_dioxide', + : 'Nettigo Air Monitor MH-Z14A carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_mh_z14a_carbon_dioxide', @@ -851,7 +851,7 @@ # name: test_sensor[sensor.nettigo_air_monitor_pmsx003_common_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nettigo Air Monitor PMSx003 common air quality index', + : 'Nettigo Air Monitor PMSx003 common air quality index', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_pmsx003_common_air_quality_index', @@ -909,8 +909,8 @@ # name: test_sensor[sensor.nettigo_air_monitor_pmsx003_common_air_quality_index_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Nettigo Air Monitor PMSx003 common air quality index level', + : 'enum', + : 'Nettigo Air Monitor PMSx003 common air quality index level', : list([ 'very_low', 'low', @@ -972,10 +972,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_pmsx003_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Nettigo Air Monitor PMSx003 PM1', + : 'pm1', + : 'Nettigo Air Monitor PMSx003 PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_pmsx003_pm1', @@ -1030,10 +1030,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_pmsx003_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Nettigo Air Monitor PMSx003 PM10', + : 'pm10', + : 'Nettigo Air Monitor PMSx003 PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_pmsx003_pm10', @@ -1088,10 +1088,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_pmsx003_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Nettigo Air Monitor PMSx003 PM2.5', + : 'pm25', + : 'Nettigo Air Monitor PMSx003 PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_pmsx003_pm2_5', @@ -1141,7 +1141,7 @@ # name: test_sensor[sensor.nettigo_air_monitor_sds011_common_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nettigo Air Monitor SDS011 common air quality index', + : 'Nettigo Air Monitor SDS011 common air quality index', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sds011_common_air_quality_index', @@ -1199,8 +1199,8 @@ # name: test_sensor[sensor.nettigo_air_monitor_sds011_common_air_quality_index_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Nettigo Air Monitor SDS011 common air quality index level', + : 'enum', + : 'Nettigo Air Monitor SDS011 common air quality index level', : list([ 'very_low', 'low', @@ -1262,10 +1262,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sds011_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Nettigo Air Monitor SDS011 PM10', + : 'pm10', + : 'Nettigo Air Monitor SDS011 PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sds011_pm10', @@ -1320,10 +1320,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sds011_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Nettigo Air Monitor SDS011 PM2.5', + : 'pm25', + : 'Nettigo Air Monitor SDS011 PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sds011_pm2_5', @@ -1378,10 +1378,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sht3x_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Nettigo Air Monitor SHT3X humidity', + : 'humidity', + : 'Nettigo Air Monitor SHT3X humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sht3x_humidity', @@ -1436,10 +1436,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sht3x_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Nettigo Air Monitor SHT3X temperature', + : 'temperature', + : 'Nettigo Air Monitor SHT3X temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sht3x_temperature', @@ -1494,10 +1494,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Nettigo Air Monitor Signal strength', + : 'signal_strength', + : 'Nettigo Air Monitor Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_signal_strength', @@ -1547,7 +1547,7 @@ # name: test_sensor[sensor.nettigo_air_monitor_sps30_common_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nettigo Air Monitor SPS30 common air quality index', + : 'Nettigo Air Monitor SPS30 common air quality index', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sps30_common_air_quality_index', @@ -1605,8 +1605,8 @@ # name: test_sensor[sensor.nettigo_air_monitor_sps30_common_air_quality_index_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Nettigo Air Monitor SPS30 common air quality index level', + : 'enum', + : 'Nettigo Air Monitor SPS30 common air quality index level', : list([ 'very_low', 'low', @@ -1668,10 +1668,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sps30_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Nettigo Air Monitor SPS30 PM1', + : 'pm1', + : 'Nettigo Air Monitor SPS30 PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sps30_pm1', @@ -1726,10 +1726,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sps30_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Nettigo Air Monitor SPS30 PM10', + : 'pm10', + : 'Nettigo Air Monitor SPS30 PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sps30_pm10', @@ -1784,10 +1784,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sps30_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Nettigo Air Monitor SPS30 PM2.5', + : 'pm25', + : 'Nettigo Air Monitor SPS30 PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sps30_pm2_5', @@ -1842,10 +1842,10 @@ # name: test_sensor[sensor.nettigo_air_monitor_sps30_pm4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm4', - 'friendly_name': 'Nettigo Air Monitor SPS30 PM4', + : 'pm4', + : 'Nettigo Air Monitor SPS30 PM4', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_sps30_pm4', @@ -1895,8 +1895,8 @@ # name: test_sensor[sensor.nettigo_air_monitor_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Nettigo Air Monitor Uptime', + : 'uptime', + : 'Nettigo Air Monitor Uptime', }), 'context': , 'entity_id': 'sensor.nettigo_air_monitor_uptime', diff --git a/tests/components/nanoleaf/snapshots/test_light.ambr b/tests/components/nanoleaf/snapshots/test_light.ambr index 78a3297d225..56920280a6e 100644 --- a/tests/components/nanoleaf/snapshots/test_light.ambr +++ b/tests/components/nanoleaf/snapshots/test_light.ambr @@ -60,7 +60,7 @@ 'Sunset', 'Nemo', ]), - 'friendly_name': 'Nanoleaf', + : 'Nanoleaf', : None, : 4500, : 1200, @@ -69,7 +69,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/nederlandse_spoorwegen/snapshots/test_binary_sensor.ambr b/tests/components/nederlandse_spoorwegen/snapshots/test_binary_sensor.ambr index ef68e181322..1694fd02ddd 100644 --- a/tests/components/nederlandse_spoorwegen/snapshots/test_binary_sensor.ambr +++ b/tests/components/nederlandse_spoorwegen/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[binary_sensor.to_home_arrival_delayed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Arrival delayed', + : 'Data provided by NS', + : 'To home Arrival delayed', }), 'context': , 'entity_id': 'binary_sensor.to_home_arrival_delayed', @@ -90,8 +90,8 @@ # name: test_binary_sensor[binary_sensor.to_home_departure_delayed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Departure delayed', + : 'Data provided by NS', + : 'To home Departure delayed', }), 'context': , 'entity_id': 'binary_sensor.to_home_departure_delayed', @@ -141,8 +141,8 @@ # name: test_binary_sensor[binary_sensor.to_home_going-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Going', + : 'Data provided by NS', + : 'To home Going', }), 'context': , 'entity_id': 'binary_sensor.to_home_going', @@ -192,8 +192,8 @@ # name: test_binary_sensor[binary_sensor.to_work_arrival_delayed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Arrival delayed', + : 'Data provided by NS', + : 'To work Arrival delayed', }), 'context': , 'entity_id': 'binary_sensor.to_work_arrival_delayed', @@ -243,8 +243,8 @@ # name: test_binary_sensor[binary_sensor.to_work_departure_delayed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Departure delayed', + : 'Data provided by NS', + : 'To work Departure delayed', }), 'context': , 'entity_id': 'binary_sensor.to_work_departure_delayed', @@ -294,8 +294,8 @@ # name: test_binary_sensor[binary_sensor.to_work_going-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Going', + : 'Data provided by NS', + : 'To work Going', }), 'context': , 'entity_id': 'binary_sensor.to_work_going', diff --git a/tests/components/nederlandse_spoorwegen/snapshots/test_sensor.ambr b/tests/components/nederlandse_spoorwegen/snapshots/test_sensor.ambr index 39bb5830d22..510fdd88600 100644 --- a/tests/components/nederlandse_spoorwegen/snapshots/test_sensor.ambr +++ b/tests/components/nederlandse_spoorwegen/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensor[sensor.to_home_actual_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Actual arrival platform', + : 'Data provided by NS', + : 'To home Actual arrival platform', }), 'context': , 'entity_id': 'sensor.to_home_actual_arrival_platform', @@ -90,9 +90,9 @@ # name: test_sensor[sensor.to_home_actual_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Actual arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Actual arrival time', }), 'context': , 'entity_id': 'sensor.to_home_actual_arrival_time', @@ -142,8 +142,8 @@ # name: test_sensor[sensor.to_home_actual_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Actual departure platform', + : 'Data provided by NS', + : 'To home Actual departure platform', }), 'context': , 'entity_id': 'sensor.to_home_actual_departure_platform', @@ -193,9 +193,9 @@ # name: test_sensor[sensor.to_home_actual_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Actual departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Actual departure time', }), 'context': , 'entity_id': 'sensor.to_home_actual_departure_time', @@ -250,14 +250,14 @@ 'arrival_platform_planned': '12', 'arrival_time_actual': '18:37', 'arrival_time_planned': '18:37', - 'attribution': 'Data provided by NS', + : 'Data provided by NS', 'departure_delay': True, 'departure_platform_actual': '4', 'departure_platform_planned': '4', 'departure_time_actual': '16:35', 'departure_time_planned': '16:34', - 'device_class': 'timestamp', - 'friendly_name': 'To home Departure', + : 'timestamp', + : 'To home Departure', 'going': True, 'next': '16:46', 'remarks': None, @@ -318,9 +318,9 @@ # name: test_sensor[sensor.to_home_next_departure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Next departure', + : 'Data provided by NS', + : 'timestamp', + : 'To home Next departure', }), 'context': , 'entity_id': 'sensor.to_home_next_departure', @@ -370,8 +370,8 @@ # name: test_sensor[sensor.to_home_planned_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Planned arrival platform', + : 'Data provided by NS', + : 'To home Planned arrival platform', }), 'context': , 'entity_id': 'sensor.to_home_planned_arrival_platform', @@ -421,9 +421,9 @@ # name: test_sensor[sensor.to_home_planned_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Planned arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Planned arrival time', }), 'context': , 'entity_id': 'sensor.to_home_planned_arrival_time', @@ -473,8 +473,8 @@ # name: test_sensor[sensor.to_home_planned_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Planned departure platform', + : 'Data provided by NS', + : 'To home Planned departure platform', }), 'context': , 'entity_id': 'sensor.to_home_planned_departure_platform', @@ -524,9 +524,9 @@ # name: test_sensor[sensor.to_home_planned_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Planned departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Planned departure time', }), 'context': , 'entity_id': 'sensor.to_home_planned_departure_time', @@ -576,8 +576,8 @@ # name: test_sensor[sensor.to_home_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Route', + : 'Data provided by NS', + : 'To home Route', }), 'context': , 'entity_id': 'sensor.to_home_route', @@ -632,9 +632,9 @@ # name: test_sensor[sensor.to_home_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'enum', - 'friendly_name': 'To home Status', + : 'Data provided by NS', + : 'enum', + : 'To home Status', : list([ 'normal', 'cancelled', @@ -688,8 +688,8 @@ # name: test_sensor[sensor.to_home_transfers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Transfers', + : 'Data provided by NS', + : 'To home Transfers', }), 'context': , 'entity_id': 'sensor.to_home_transfers', @@ -739,8 +739,8 @@ # name: test_sensor[sensor.to_work_actual_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Actual arrival platform', + : 'Data provided by NS', + : 'To work Actual arrival platform', }), 'context': , 'entity_id': 'sensor.to_work_actual_arrival_platform', @@ -790,9 +790,9 @@ # name: test_sensor[sensor.to_work_actual_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Actual arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Actual arrival time', }), 'context': , 'entity_id': 'sensor.to_work_actual_arrival_time', @@ -842,8 +842,8 @@ # name: test_sensor[sensor.to_work_actual_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Actual departure platform', + : 'Data provided by NS', + : 'To work Actual departure platform', }), 'context': , 'entity_id': 'sensor.to_work_actual_departure_platform', @@ -893,9 +893,9 @@ # name: test_sensor[sensor.to_work_actual_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Actual departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Actual departure time', }), 'context': , 'entity_id': 'sensor.to_work_actual_departure_time', @@ -950,14 +950,14 @@ 'arrival_platform_planned': '12', 'arrival_time_actual': '18:37', 'arrival_time_planned': '18:37', - 'attribution': 'Data provided by NS', + : 'Data provided by NS', 'departure_delay': True, 'departure_platform_actual': '4', 'departure_platform_planned': '4', 'departure_time_actual': '16:35', 'departure_time_planned': '16:34', - 'device_class': 'timestamp', - 'friendly_name': 'To work Departure', + : 'timestamp', + : 'To work Departure', 'going': True, 'next': '16:46', 'remarks': None, @@ -1018,9 +1018,9 @@ # name: test_sensor[sensor.to_work_next_departure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Next departure', + : 'Data provided by NS', + : 'timestamp', + : 'To work Next departure', }), 'context': , 'entity_id': 'sensor.to_work_next_departure', @@ -1070,8 +1070,8 @@ # name: test_sensor[sensor.to_work_planned_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Planned arrival platform', + : 'Data provided by NS', + : 'To work Planned arrival platform', }), 'context': , 'entity_id': 'sensor.to_work_planned_arrival_platform', @@ -1121,9 +1121,9 @@ # name: test_sensor[sensor.to_work_planned_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Planned arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Planned arrival time', }), 'context': , 'entity_id': 'sensor.to_work_planned_arrival_time', @@ -1173,8 +1173,8 @@ # name: test_sensor[sensor.to_work_planned_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Planned departure platform', + : 'Data provided by NS', + : 'To work Planned departure platform', }), 'context': , 'entity_id': 'sensor.to_work_planned_departure_platform', @@ -1224,9 +1224,9 @@ # name: test_sensor[sensor.to_work_planned_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Planned departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Planned departure time', }), 'context': , 'entity_id': 'sensor.to_work_planned_departure_time', @@ -1276,8 +1276,8 @@ # name: test_sensor[sensor.to_work_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Route', + : 'Data provided by NS', + : 'To work Route', }), 'context': , 'entity_id': 'sensor.to_work_route', @@ -1332,9 +1332,9 @@ # name: test_sensor[sensor.to_work_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'enum', - 'friendly_name': 'To work Status', + : 'Data provided by NS', + : 'enum', + : 'To work Status', : list([ 'normal', 'cancelled', @@ -1388,8 +1388,8 @@ # name: test_sensor[sensor.to_work_transfers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Transfers', + : 'Data provided by NS', + : 'To work Transfers', }), 'context': , 'entity_id': 'sensor.to_work_transfers', @@ -1439,8 +1439,8 @@ # name: test_single_trip_sensor[sensor.to_home_actual_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Actual arrival platform', + : 'Data provided by NS', + : 'To home Actual arrival platform', }), 'context': , 'entity_id': 'sensor.to_home_actual_arrival_platform', @@ -1490,9 +1490,9 @@ # name: test_single_trip_sensor[sensor.to_home_actual_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Actual arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Actual arrival time', }), 'context': , 'entity_id': 'sensor.to_home_actual_arrival_time', @@ -1542,8 +1542,8 @@ # name: test_single_trip_sensor[sensor.to_home_actual_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Actual departure platform', + : 'Data provided by NS', + : 'To home Actual departure platform', }), 'context': , 'entity_id': 'sensor.to_home_actual_departure_platform', @@ -1593,9 +1593,9 @@ # name: test_single_trip_sensor[sensor.to_home_actual_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Actual departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Actual departure time', }), 'context': , 'entity_id': 'sensor.to_home_actual_departure_time', @@ -1650,14 +1650,14 @@ 'arrival_platform_planned': '13', 'arrival_time_actual': '18:45', 'arrival_time_planned': '18:45', - 'attribution': 'Data provided by NS', + : 'Data provided by NS', 'departure_delay': True, 'departure_platform_actual': '4', 'departure_platform_planned': '4', 'departure_time_actual': '16:35', 'departure_time_planned': '16:34', - 'device_class': 'timestamp', - 'friendly_name': 'To home Departure', + : 'timestamp', + : 'To home Departure', 'going': True, 'next': None, 'remarks': None, @@ -1718,9 +1718,9 @@ # name: test_single_trip_sensor[sensor.to_home_next_departure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Next departure', + : 'Data provided by NS', + : 'timestamp', + : 'To home Next departure', }), 'context': , 'entity_id': 'sensor.to_home_next_departure', @@ -1770,8 +1770,8 @@ # name: test_single_trip_sensor[sensor.to_home_planned_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Planned arrival platform', + : 'Data provided by NS', + : 'To home Planned arrival platform', }), 'context': , 'entity_id': 'sensor.to_home_planned_arrival_platform', @@ -1821,9 +1821,9 @@ # name: test_single_trip_sensor[sensor.to_home_planned_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Planned arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Planned arrival time', }), 'context': , 'entity_id': 'sensor.to_home_planned_arrival_time', @@ -1873,8 +1873,8 @@ # name: test_single_trip_sensor[sensor.to_home_planned_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Planned departure platform', + : 'Data provided by NS', + : 'To home Planned departure platform', }), 'context': , 'entity_id': 'sensor.to_home_planned_departure_platform', @@ -1924,9 +1924,9 @@ # name: test_single_trip_sensor[sensor.to_home_planned_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To home Planned departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To home Planned departure time', }), 'context': , 'entity_id': 'sensor.to_home_planned_departure_time', @@ -1976,8 +1976,8 @@ # name: test_single_trip_sensor[sensor.to_home_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Route', + : 'Data provided by NS', + : 'To home Route', }), 'context': , 'entity_id': 'sensor.to_home_route', @@ -2032,9 +2032,9 @@ # name: test_single_trip_sensor[sensor.to_home_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'enum', - 'friendly_name': 'To home Status', + : 'Data provided by NS', + : 'enum', + : 'To home Status', : list([ 'normal', 'cancelled', @@ -2088,8 +2088,8 @@ # name: test_single_trip_sensor[sensor.to_home_transfers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To home Transfers', + : 'Data provided by NS', + : 'To home Transfers', }), 'context': , 'entity_id': 'sensor.to_home_transfers', @@ -2139,8 +2139,8 @@ # name: test_single_trip_sensor[sensor.to_work_actual_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Actual arrival platform', + : 'Data provided by NS', + : 'To work Actual arrival platform', }), 'context': , 'entity_id': 'sensor.to_work_actual_arrival_platform', @@ -2190,9 +2190,9 @@ # name: test_single_trip_sensor[sensor.to_work_actual_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Actual arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Actual arrival time', }), 'context': , 'entity_id': 'sensor.to_work_actual_arrival_time', @@ -2242,8 +2242,8 @@ # name: test_single_trip_sensor[sensor.to_work_actual_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Actual departure platform', + : 'Data provided by NS', + : 'To work Actual departure platform', }), 'context': , 'entity_id': 'sensor.to_work_actual_departure_platform', @@ -2293,9 +2293,9 @@ # name: test_single_trip_sensor[sensor.to_work_actual_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Actual departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Actual departure time', }), 'context': , 'entity_id': 'sensor.to_work_actual_departure_time', @@ -2350,14 +2350,14 @@ 'arrival_platform_planned': '13', 'arrival_time_actual': '18:45', 'arrival_time_planned': '18:45', - 'attribution': 'Data provided by NS', + : 'Data provided by NS', 'departure_delay': True, 'departure_platform_actual': '4', 'departure_platform_planned': '4', 'departure_time_actual': '16:35', 'departure_time_planned': '16:34', - 'device_class': 'timestamp', - 'friendly_name': 'To work Departure', + : 'timestamp', + : 'To work Departure', 'going': True, 'next': None, 'remarks': None, @@ -2418,9 +2418,9 @@ # name: test_single_trip_sensor[sensor.to_work_next_departure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Next departure', + : 'Data provided by NS', + : 'timestamp', + : 'To work Next departure', }), 'context': , 'entity_id': 'sensor.to_work_next_departure', @@ -2470,8 +2470,8 @@ # name: test_single_trip_sensor[sensor.to_work_planned_arrival_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Planned arrival platform', + : 'Data provided by NS', + : 'To work Planned arrival platform', }), 'context': , 'entity_id': 'sensor.to_work_planned_arrival_platform', @@ -2521,9 +2521,9 @@ # name: test_single_trip_sensor[sensor.to_work_planned_arrival_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Planned arrival time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Planned arrival time', }), 'context': , 'entity_id': 'sensor.to_work_planned_arrival_time', @@ -2573,8 +2573,8 @@ # name: test_single_trip_sensor[sensor.to_work_planned_departure_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Planned departure platform', + : 'Data provided by NS', + : 'To work Planned departure platform', }), 'context': , 'entity_id': 'sensor.to_work_planned_departure_platform', @@ -2624,9 +2624,9 @@ # name: test_single_trip_sensor[sensor.to_work_planned_departure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'timestamp', - 'friendly_name': 'To work Planned departure time', + : 'Data provided by NS', + : 'timestamp', + : 'To work Planned departure time', }), 'context': , 'entity_id': 'sensor.to_work_planned_departure_time', @@ -2676,8 +2676,8 @@ # name: test_single_trip_sensor[sensor.to_work_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Route', + : 'Data provided by NS', + : 'To work Route', }), 'context': , 'entity_id': 'sensor.to_work_route', @@ -2732,9 +2732,9 @@ # name: test_single_trip_sensor[sensor.to_work_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'device_class': 'enum', - 'friendly_name': 'To work Status', + : 'Data provided by NS', + : 'enum', + : 'To work Status', : list([ 'normal', 'cancelled', @@ -2788,8 +2788,8 @@ # name: test_single_trip_sensor[sensor.to_work_transfers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by NS', - 'friendly_name': 'To work Transfers', + : 'Data provided by NS', + : 'To work Transfers', }), 'context': , 'entity_id': 'sensor.to_work_transfers', diff --git a/tests/components/netatmo/snapshots/test_binary_sensor.ambr b/tests/components/netatmo/snapshots/test_binary_sensor.ambr index b4f9787be56..c0080ae9663 100644 --- a/tests/components/netatmo/snapshots/test_binary_sensor.ambr +++ b/tests/components/netatmo/snapshots/test_binary_sensor.ambr @@ -39,9 +39,9 @@ # name: test_entity[binary_sensor.baby_bedroom_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Baby Bedroom Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Baby Bedroom Connectivity', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -93,9 +93,9 @@ # name: test_entity[binary_sensor.bedroom_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Bedroom Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Bedroom Connectivity', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -147,9 +147,9 @@ # name: test_entity[binary_sensor.kitchen_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Kitchen Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Kitchen Connectivity', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -201,9 +201,9 @@ # name: test_entity[binary_sensor.livingroom_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Livingroom Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Livingroom Connectivity', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -255,9 +255,9 @@ # name: test_entity[binary_sensor.parents_bedroom_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Parents Bedroom Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Parents Bedroom Connectivity', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -309,9 +309,9 @@ # name: test_entity[binary_sensor.villa_bathroom_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Villa Bathroom Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Villa Bathroom Connectivity', }), 'context': , 'entity_id': 'binary_sensor.villa_bathroom_connectivity', @@ -361,9 +361,9 @@ # name: test_entity[binary_sensor.villa_bedroom_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Villa Bedroom Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Villa Bedroom Connectivity', }), 'context': , 'entity_id': 'binary_sensor.villa_bedroom_connectivity', @@ -413,9 +413,9 @@ # name: test_entity[binary_sensor.villa_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Villa Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Villa Connectivity', 'latitude': 46.123456, 'longitude': 6.1234567, }), @@ -467,9 +467,9 @@ # name: test_entity[binary_sensor.villa_garden_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Villa Garden Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Villa Garden Connectivity', }), 'context': , 'entity_id': 'binary_sensor.villa_garden_connectivity', @@ -519,9 +519,9 @@ # name: test_entity[binary_sensor.villa_outdoor_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Villa Outdoor Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Villa Outdoor Connectivity', }), 'context': , 'entity_id': 'binary_sensor.villa_outdoor_connectivity', @@ -571,9 +571,9 @@ # name: test_entity[binary_sensor.villa_rain_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Villa Rain Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Villa Rain Connectivity', }), 'context': , 'entity_id': 'binary_sensor.villa_rain_connectivity', @@ -623,9 +623,9 @@ # name: test_entity[binary_sensor.window_hall_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'connectivity', - 'friendly_name': 'Window Hall Connectivity', + : 'Data provided by Netatmo', + : 'connectivity', + : 'Window Hall Connectivity', }), 'context': , 'entity_id': 'binary_sensor.window_hall_connectivity', @@ -675,9 +675,9 @@ # name: test_entity[binary_sensor.window_hall_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'window', - 'friendly_name': 'Window Hall Window', + : 'Data provided by Netatmo', + : 'window', + : 'Window Hall Window', }), 'context': , 'entity_id': 'binary_sensor.window_hall_window', diff --git a/tests/components/netatmo/snapshots/test_button.ambr b/tests/components/netatmo/snapshots/test_button.ambr index a1728fbccbd..944c1ec21f5 100644 --- a/tests/components/netatmo/snapshots/test_button.ambr +++ b/tests/components/netatmo/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_entity[button.bubendorff_blind_preferred_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Bubendorff blind Preferred position', + : 'Data provided by Netatmo', + : 'Bubendorff blind Preferred position', }), 'context': , 'entity_id': 'button.bubendorff_blind_preferred_position', @@ -90,8 +90,8 @@ # name: test_entity[button.entrance_blinds_preferred_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Entrance Blinds Preferred position', + : 'Data provided by Netatmo', + : 'Entrance Blinds Preferred position', }), 'context': , 'entity_id': 'button.entrance_blinds_preferred_position', diff --git a/tests/components/netatmo/snapshots/test_camera.ambr b/tests/components/netatmo/snapshots/test_camera.ambr index 3f86cace553..781ce900189 100644 --- a/tests/components/netatmo/snapshots/test_camera.ambr +++ b/tests/components/netatmo/snapshots/test_camera.ambr @@ -41,10 +41,10 @@ 'attributes': ReadOnlyDict({ : '1caab5c3b3', 'alim_status': 2, - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 'Netatmo', - 'entity_picture': '/api/camera_proxy/camera.front?token=1caab5c3b3', - 'friendly_name': 'Front', + : '/api/camera_proxy/camera.front?token=1caab5c3b3', + : 'Front', 'id': '12:34:56:10:b9:0e', 'is_local': False, 'light_state': None, @@ -52,7 +52,7 @@ 'monitoring': True, : True, 'sd_status': 4, - 'supported_features': , + : , 'vpn_url': 'https://prodvpn-eu-6.netatmo.net/10.20.30.41/333333333333/444444444444,,', }), 'context': , @@ -105,10 +105,10 @@ 'attributes': ReadOnlyDict({ : '1caab5c3b3', 'alim_status': 2, - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 'Netatmo', - 'entity_picture': '/api/camera_proxy/camera.hall?token=1caab5c3b3', - 'friendly_name': 'Hall', + : '/api/camera_proxy/camera.hall?token=1caab5c3b3', + : 'Hall', 'id': '12:34:56:00:f1:62', 'is_local': True, 'light_state': None, @@ -116,7 +116,7 @@ 'monitoring': True, : True, 'sd_status': 4, - 'supported_features': , + : , 'vpn_url': 'https://prodvpn-eu-2.netatmo.net/restricted/10.255.123.45/609e27de5699fb18147ab47d06846631/MTRPn_BeWCav5RBq4U1OMDruTW4dkQ0NuMwNDAw11g,,', }), 'context': , @@ -169,17 +169,17 @@ 'attributes': ReadOnlyDict({ : '1caab5c3b3', 'alim_status': 2, - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 'Netatmo', - 'entity_picture': '/api/camera_proxy/camera.netatmo_doorbell?token=1caab5c3b3', - 'friendly_name': 'Netatmo-Doorbell', + : '/api/camera_proxy/camera.netatmo_doorbell?token=1caab5c3b3', + : 'Netatmo-Doorbell', 'id': '12:34:56:10:f1:66', 'is_local': False, 'light_state': None, 'local_url': None, 'monitoring': True, 'sd_status': 4, - 'supported_features': , + : , 'vpn_url': 'https://prodvpn-eu-6.netatmo.net/10.20.30.40/1111111111111/2222222222222,,', }), 'context': , diff --git a/tests/components/netatmo/snapshots/test_climate.ambr b/tests/components/netatmo/snapshots/test_climate.ambr index bd7aa89e634..abdcfe9af23 100644 --- a/tests/components/netatmo/snapshots/test_climate.ambr +++ b/tests/components/netatmo/snapshots/test_climate.ambr @@ -53,8 +53,8 @@ # name: test_entity[climate.bureau_bureau-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Bureau', + : 'Data provided by Netatmo', + : 'Bureau', : list([ , , @@ -67,7 +67,7 @@ 'frost_guard', 'schedule', ]), - 'supported_features': , + : , : 0.5, }), 'context': , @@ -132,9 +132,9 @@ # name: test_entity[climate.cocina_cocina-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 27, - 'friendly_name': 'Cocina', + : 'Cocina', 'heating_power_request': 0, : , : list([ @@ -152,7 +152,7 @@ ]), 'selected_schedule': 'Default', 'selected_schedule_id': '591b54a2764ff4d50d8b5795', - 'supported_features': , + : , : 0.5, : 7, }), @@ -218,9 +218,9 @@ # name: test_entity[climate.corridor_corridor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 22, - 'friendly_name': 'Corridor', + : 'Corridor', : , : list([ , @@ -237,7 +237,7 @@ ]), 'selected_schedule': 'Default', 'selected_schedule_id': '591b54a2764ff4d50d8b5795', - 'supported_features': , + : , : 0.5, : 22, }), @@ -303,9 +303,9 @@ # name: test_entity[climate.entrada_entrada-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 24.5, - 'friendly_name': 'Entrada', + : 'Entrada', 'heating_power_request': 0, : , : list([ @@ -323,7 +323,7 @@ ]), 'selected_schedule': 'Default', 'selected_schedule_id': '591b54a2764ff4d50d8b5795', - 'supported_features': , + : , : 0.5, : 7, }), @@ -390,9 +390,9 @@ # name: test_entity[climate.livingroom_livingroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 19.8, - 'friendly_name': 'Livingroom', + : 'Livingroom', : , : list([ , @@ -410,7 +410,7 @@ ]), 'selected_schedule': 'Default', 'selected_schedule_id': '591b54a2764ff4d50d8b5795', - 'supported_features': , + : , : 0.5, : 12, }), diff --git a/tests/components/netatmo/snapshots/test_cover.ambr b/tests/components/netatmo/snapshots/test_cover.ambr index 12a165b04ce..25564df3e20 100644 --- a/tests/components/netatmo/snapshots/test_cover.ambr +++ b/tests/components/netatmo/snapshots/test_cover.ambr @@ -39,12 +39,12 @@ # name: test_entity[cover.bubendorff_blind-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 0, - 'device_class': 'shutter', - 'friendly_name': 'Bubendorff blind', + : 'shutter', + : 'Bubendorff blind', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.bubendorff_blind', @@ -94,12 +94,12 @@ # name: test_entity[cover.entrance_blinds-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : 0, - 'device_class': 'shutter', - 'friendly_name': 'Entrance Blinds', + : 'shutter', + : 'Entrance Blinds', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.entrance_blinds', diff --git a/tests/components/netatmo/snapshots/test_fan.ambr b/tests/components/netatmo/snapshots/test_fan.ambr index ffbbeb3b579..ad1e5d85f3e 100644 --- a/tests/components/netatmo/snapshots/test_fan.ambr +++ b/tests/components/netatmo/snapshots/test_fan.ambr @@ -44,14 +44,14 @@ # name: test_entity[fan.centralized_ventilation_controler-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Centralized ventilation controler', + : 'Data provided by Netatmo', + : 'Centralized ventilation controler', : 'slow', : list([ 'slow', 'fast', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.centralized_ventilation_controler', diff --git a/tests/components/netatmo/snapshots/test_light.ambr b/tests/components/netatmo/snapshots/test_light.ambr index cfa144de119..89e1815443f 100644 --- a/tests/components/netatmo/snapshots/test_light.ambr +++ b/tests/components/netatmo/snapshots/test_light.ambr @@ -43,13 +43,13 @@ # name: test_entity[light.bathroom_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : None, - 'friendly_name': 'Bathroom light', + : 'Bathroom light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.bathroom_light', @@ -103,12 +103,12 @@ # name: test_entity[light.front-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Front', + : 'Data provided by Netatmo', + : 'Front', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.front', @@ -162,14 +162,14 @@ # name: test_entity[light.unknown_00_11_22_33_00_11_45_fe-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', + : 'Data provided by Netatmo', : None, : None, - 'friendly_name': 'Unknown 00:11:22:33:00:11:45:fe', + : 'Unknown 00:11:22:33:00:11:45:fe', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.unknown_00_11_22_33_00_11_45_fe', diff --git a/tests/components/netatmo/snapshots/test_select.ambr b/tests/components/netatmo/snapshots/test_select.ambr index 1ef6c9037f7..8c36a106f7e 100644 --- a/tests/components/netatmo/snapshots/test_select.ambr +++ b/tests/components/netatmo/snapshots/test_select.ambr @@ -44,8 +44,8 @@ # name: test_entity[select.myhome-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'MYHOME', + : 'Data provided by Netatmo', + : 'MYHOME', : list([ 'Default', 'Winter', diff --git a/tests/components/netatmo/snapshots/test_sensor.ambr b/tests/components/netatmo/snapshots/test_sensor.ambr index 8e52519ba54..b3a7dc9fb71 100644 --- a/tests/components/netatmo/snapshots/test_sensor.ambr +++ b/tests/components/netatmo/snapshots/test_sensor.ambr @@ -47,13 +47,13 @@ # name: test_entity[sensor.baby_bedroom_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Baby Bedroom Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Baby Bedroom Atmospheric pressure', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.baby_bedroom_atmospheric_pressure', @@ -105,13 +105,13 @@ # name: test_entity[sensor.baby_bedroom_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Baby Bedroom Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Baby Bedroom Carbon dioxide', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.baby_bedroom_carbon_dioxide', @@ -169,9 +169,9 @@ # name: test_entity[sensor.baby_bedroom_health_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'enum', - 'friendly_name': 'Baby Bedroom Health index', + : 'Data provided by Netatmo', + : 'enum', + : 'Baby Bedroom Health index', 'latitude': 13.377726, 'longitude': 52.516263, : list([ @@ -232,13 +232,13 @@ # name: test_entity[sensor.baby_bedroom_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Baby Bedroom Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Baby Bedroom Humidity', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.baby_bedroom_humidity', @@ -293,13 +293,13 @@ # name: test_entity[sensor.baby_bedroom_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'sound_pressure', - 'friendly_name': 'Baby Bedroom Noise', + : 'Data provided by Netatmo', + : 'sound_pressure', + : 'Baby Bedroom Noise', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.baby_bedroom_noise', @@ -349,8 +349,8 @@ # name: test_entity[sensor.baby_bedroom_pressure_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Baby Bedroom Pressure trend', + : 'Data provided by Netatmo', + : 'Baby Bedroom Pressure trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -402,8 +402,8 @@ # name: test_entity[sensor.baby_bedroom_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Baby Bedroom Reachability', + : 'Data provided by Netatmo', + : 'Baby Bedroom Reachability', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -460,13 +460,13 @@ # name: test_entity[sensor.baby_bedroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Baby Bedroom Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Baby Bedroom Temperature', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.baby_bedroom_temperature', @@ -516,8 +516,8 @@ # name: test_entity[sensor.baby_bedroom_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Baby Bedroom Temperature trend', + : 'Data provided by Netatmo', + : 'Baby Bedroom Temperature trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -569,8 +569,8 @@ # name: test_entity[sensor.baby_bedroom_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Baby Bedroom Wi-Fi strength', + : 'Data provided by Netatmo', + : 'Baby Bedroom Wi-Fi strength', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -630,11 +630,11 @@ # name: test_entity[sensor.bedroom_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Bedroom Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Bedroom Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bedroom_atmospheric_pressure', @@ -686,11 +686,11 @@ # name: test_entity[sensor.bedroom_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Bedroom Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Bedroom Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.bedroom_carbon_dioxide', @@ -748,9 +748,9 @@ # name: test_entity[sensor.bedroom_health_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'enum', - 'friendly_name': 'Bedroom Health index', + : 'Data provided by Netatmo', + : 'enum', + : 'Bedroom Health index', : list([ 'healthy', 'fine', @@ -809,11 +809,11 @@ # name: test_entity[sensor.bedroom_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Bedroom Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Bedroom Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bedroom_humidity', @@ -868,11 +868,11 @@ # name: test_entity[sensor.bedroom_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'sound_pressure', - 'friendly_name': 'Bedroom Noise', + : 'Data provided by Netatmo', + : 'sound_pressure', + : 'Bedroom Noise', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bedroom_noise', @@ -922,8 +922,8 @@ # name: test_entity[sensor.bedroom_pressure_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Bedroom Pressure trend', + : 'Data provided by Netatmo', + : 'Bedroom Pressure trend', }), 'context': , 'entity_id': 'sensor.bedroom_pressure_trend', @@ -973,8 +973,8 @@ # name: test_entity[sensor.bedroom_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Bedroom Reachability', + : 'Data provided by Netatmo', + : 'Bedroom Reachability', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -1031,11 +1031,11 @@ # name: test_entity[sensor.bedroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Bedroom Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Bedroom Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bedroom_temperature', @@ -1085,8 +1085,8 @@ # name: test_entity[sensor.bedroom_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Bedroom Temperature trend', + : 'Data provided by Netatmo', + : 'Bedroom Temperature trend', }), 'context': , 'entity_id': 'sensor.bedroom_temperature_trend', @@ -1136,8 +1136,8 @@ # name: test_entity[sensor.bedroom_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Bedroom Wi-Fi strength', + : 'Data provided by Netatmo', + : 'Bedroom Wi-Fi strength', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -1191,11 +1191,11 @@ # name: test_entity[sensor.bureau_modulate_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Bureau Modulate Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Bureau Modulate Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bureau_modulate_battery', @@ -1245,8 +1245,8 @@ # name: test_entity[sensor.cold_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Cold water', + : 'Data provided by Netatmo', + : 'Cold water', }), 'context': , 'entity_id': 'sensor.cold_water', @@ -1296,8 +1296,8 @@ # name: test_entity[sensor.consumption_meter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Consumption meter', + : 'Data provided by Netatmo', + : 'Consumption meter', }), 'context': , 'entity_id': 'sensor.consumption_meter', @@ -1352,11 +1352,11 @@ # name: test_entity[sensor.consumption_meter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'power', - 'friendly_name': 'Consumption meter Power', + : 'Data provided by Netatmo', + : 'power', + : 'Consumption meter Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.consumption_meter_power', @@ -1408,11 +1408,11 @@ # name: test_entity[sensor.corridor_corridor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Corridor Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Corridor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.corridor_corridor_humidity', @@ -1462,8 +1462,8 @@ # name: test_entity[sensor.ecocompteur-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Écocompteur', + : 'Data provided by Netatmo', + : 'Écocompteur', }), 'context': , 'entity_id': 'sensor.ecocompteur', @@ -1513,8 +1513,8 @@ # name: test_entity[sensor.gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Gas', + : 'Data provided by Netatmo', + : 'Gas', }), 'context': , 'entity_id': 'sensor.gas', @@ -1572,13 +1572,13 @@ # name: test_entity[sensor.home_avg_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Home avg Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Home avg Atmospheric pressure', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_avg_atmospheric_pressure', @@ -1630,13 +1630,13 @@ # name: test_entity[sensor.home_avg_gust_angle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Home avg Gust angle', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Home avg Gust angle', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.home_avg_gust_angle', @@ -1691,13 +1691,13 @@ # name: test_entity[sensor.home_avg_gust_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Home avg Gust strength', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Home avg Gust strength', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_avg_gust_strength', @@ -1749,13 +1749,13 @@ # name: test_entity[sensor.home_avg_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Home avg Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Home avg Humidity', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_avg_humidity', @@ -1810,13 +1810,13 @@ # name: test_entity[sensor.home_avg_precipitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home avg Precipitation', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home avg Precipitation', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_avg_precipitation', @@ -1871,13 +1871,13 @@ # name: test_entity[sensor.home_avg_precipitation_last_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home avg Precipitation last hour', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home avg Precipitation last hour', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_avg_precipitation_last_hour', @@ -1932,13 +1932,13 @@ # name: test_entity[sensor.home_avg_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home avg Precipitation today', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home avg Precipitation today', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_avg_precipitation_today', @@ -1993,13 +1993,13 @@ # name: test_entity[sensor.home_avg_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Home avg Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Home avg Temperature', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_avg_temperature', @@ -2051,13 +2051,13 @@ # name: test_entity[sensor.home_avg_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Home avg Wind direction', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Home avg Wind direction', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.home_avg_wind_direction', @@ -2112,13 +2112,13 @@ # name: test_entity[sensor.home_avg_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Home avg Wind speed', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Home avg Wind speed', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_avg_wind_speed', @@ -2176,13 +2176,13 @@ # name: test_entity[sensor.home_max_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Home max Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Home max Atmospheric pressure', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_max_atmospheric_pressure', @@ -2234,13 +2234,13 @@ # name: test_entity[sensor.home_max_gust_angle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Home max Gust angle', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Home max Gust angle', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.home_max_gust_angle', @@ -2295,13 +2295,13 @@ # name: test_entity[sensor.home_max_gust_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Home max Gust strength', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Home max Gust strength', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_max_gust_strength', @@ -2353,13 +2353,13 @@ # name: test_entity[sensor.home_max_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Home max Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Home max Humidity', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_max_humidity', @@ -2414,13 +2414,13 @@ # name: test_entity[sensor.home_max_precipitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home max Precipitation', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home max Precipitation', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_max_precipitation', @@ -2475,13 +2475,13 @@ # name: test_entity[sensor.home_max_precipitation_last_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home max Precipitation last hour', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home max Precipitation last hour', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_max_precipitation_last_hour', @@ -2536,13 +2536,13 @@ # name: test_entity[sensor.home_max_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home max Precipitation today', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home max Precipitation today', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_max_precipitation_today', @@ -2597,13 +2597,13 @@ # name: test_entity[sensor.home_max_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Home max Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Home max Temperature', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_max_temperature', @@ -2655,13 +2655,13 @@ # name: test_entity[sensor.home_max_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Home max Wind direction', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Home max Wind direction', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.home_max_wind_direction', @@ -2716,13 +2716,13 @@ # name: test_entity[sensor.home_max_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Home max Wind speed', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Home max Wind speed', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_max_wind_speed', @@ -2780,13 +2780,13 @@ # name: test_entity[sensor.home_min_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Home min Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Home min Atmospheric pressure', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_min_atmospheric_pressure', @@ -2838,13 +2838,13 @@ # name: test_entity[sensor.home_min_gust_angle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Home min Gust angle', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Home min Gust angle', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.home_min_gust_angle', @@ -2899,13 +2899,13 @@ # name: test_entity[sensor.home_min_gust_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Home min Gust strength', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Home min Gust strength', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_min_gust_strength', @@ -2957,13 +2957,13 @@ # name: test_entity[sensor.home_min_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Home min Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Home min Humidity', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_min_humidity', @@ -3018,13 +3018,13 @@ # name: test_entity[sensor.home_min_precipitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home min Precipitation', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home min Precipitation', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_min_precipitation', @@ -3079,13 +3079,13 @@ # name: test_entity[sensor.home_min_precipitation_last_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home min Precipitation last hour', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home min Precipitation last hour', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_min_precipitation_last_hour', @@ -3140,13 +3140,13 @@ # name: test_entity[sensor.home_min_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Home min Precipitation today', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Home min Precipitation today', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_min_precipitation_today', @@ -3201,13 +3201,13 @@ # name: test_entity[sensor.home_min_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Home min Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Home min Temperature', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_min_temperature', @@ -3259,13 +3259,13 @@ # name: test_entity[sensor.home_min_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Home min Wind direction', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Home min Wind direction', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.home_min_wind_direction', @@ -3320,13 +3320,13 @@ # name: test_entity[sensor.home_min_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Home min Wind speed', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Home min Wind speed', 'latitude': 32.17901225, 'longitude': -117.17901225, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_min_wind_speed', @@ -3376,8 +3376,8 @@ # name: test_entity[sensor.hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Hot water', + : 'Data provided by Netatmo', + : 'Hot water', }), 'context': , 'entity_id': 'sensor.hot_water', @@ -3435,13 +3435,13 @@ # name: test_entity[sensor.kitchen_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Kitchen Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Kitchen Atmospheric pressure', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_atmospheric_pressure', @@ -3493,13 +3493,13 @@ # name: test_entity[sensor.kitchen_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Kitchen Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Kitchen Carbon dioxide', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.kitchen_carbon_dioxide', @@ -3557,9 +3557,9 @@ # name: test_entity[sensor.kitchen_health_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'enum', - 'friendly_name': 'Kitchen Health index', + : 'Data provided by Netatmo', + : 'enum', + : 'Kitchen Health index', 'latitude': 13.377726, 'longitude': 52.516263, : list([ @@ -3620,13 +3620,13 @@ # name: test_entity[sensor.kitchen_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Kitchen Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Kitchen Humidity', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kitchen_humidity', @@ -3681,13 +3681,13 @@ # name: test_entity[sensor.kitchen_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'sound_pressure', - 'friendly_name': 'Kitchen Noise', + : 'Data provided by Netatmo', + : 'sound_pressure', + : 'Kitchen Noise', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_noise', @@ -3737,8 +3737,8 @@ # name: test_entity[sensor.kitchen_pressure_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Kitchen Pressure trend', + : 'Data provided by Netatmo', + : 'Kitchen Pressure trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -3790,8 +3790,8 @@ # name: test_entity[sensor.kitchen_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Kitchen Reachability', + : 'Data provided by Netatmo', + : 'Kitchen Reachability', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -3848,13 +3848,13 @@ # name: test_entity[sensor.kitchen_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Kitchen Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Kitchen Temperature', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_temperature', @@ -3904,8 +3904,8 @@ # name: test_entity[sensor.kitchen_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Kitchen Temperature trend', + : 'Data provided by Netatmo', + : 'Kitchen Temperature trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -3957,8 +3957,8 @@ # name: test_entity[sensor.kitchen_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Kitchen Wi-Fi strength', + : 'Data provided by Netatmo', + : 'Kitchen Wi-Fi strength', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -4010,8 +4010,8 @@ # name: test_entity[sensor.line_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Line 1', + : 'Data provided by Netatmo', + : 'Line 1', }), 'context': , 'entity_id': 'sensor.line_1', @@ -4061,8 +4061,8 @@ # name: test_entity[sensor.line_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Line 2', + : 'Data provided by Netatmo', + : 'Line 2', }), 'context': , 'entity_id': 'sensor.line_2', @@ -4112,8 +4112,8 @@ # name: test_entity[sensor.line_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Line 3', + : 'Data provided by Netatmo', + : 'Line 3', }), 'context': , 'entity_id': 'sensor.line_3', @@ -4163,8 +4163,8 @@ # name: test_entity[sensor.line_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Line 4', + : 'Data provided by Netatmo', + : 'Line 4', }), 'context': , 'entity_id': 'sensor.line_4', @@ -4214,8 +4214,8 @@ # name: test_entity[sensor.line_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Line 5', + : 'Data provided by Netatmo', + : 'Line 5', }), 'context': , 'entity_id': 'sensor.line_5', @@ -4273,13 +4273,13 @@ # name: test_entity[sensor.livingroom_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Livingroom Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Livingroom Atmospheric pressure', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.livingroom_atmospheric_pressure', @@ -4331,11 +4331,11 @@ # name: test_entity[sensor.livingroom_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Livingroom Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Livingroom Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.livingroom_battery', @@ -4387,13 +4387,13 @@ # name: test_entity[sensor.livingroom_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Livingroom Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Livingroom Carbon dioxide', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.livingroom_carbon_dioxide', @@ -4451,9 +4451,9 @@ # name: test_entity[sensor.livingroom_health_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'enum', - 'friendly_name': 'Livingroom Health index', + : 'Data provided by Netatmo', + : 'enum', + : 'Livingroom Health index', 'latitude': 13.377726, 'longitude': 52.516263, : list([ @@ -4514,13 +4514,13 @@ # name: test_entity[sensor.livingroom_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Livingroom Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Livingroom Humidity', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.livingroom_humidity', @@ -4575,13 +4575,13 @@ # name: test_entity[sensor.livingroom_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'sound_pressure', - 'friendly_name': 'Livingroom Noise', + : 'Data provided by Netatmo', + : 'sound_pressure', + : 'Livingroom Noise', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.livingroom_noise', @@ -4631,8 +4631,8 @@ # name: test_entity[sensor.livingroom_pressure_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Livingroom Pressure trend', + : 'Data provided by Netatmo', + : 'Livingroom Pressure trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -4684,8 +4684,8 @@ # name: test_entity[sensor.livingroom_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Livingroom Reachability', + : 'Data provided by Netatmo', + : 'Livingroom Reachability', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -4742,13 +4742,13 @@ # name: test_entity[sensor.livingroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Livingroom Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Livingroom Temperature', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.livingroom_temperature', @@ -4798,8 +4798,8 @@ # name: test_entity[sensor.livingroom_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Livingroom Temperature trend', + : 'Data provided by Netatmo', + : 'Livingroom Temperature trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -4851,8 +4851,8 @@ # name: test_entity[sensor.livingroom_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Livingroom Wi-Fi strength', + : 'Data provided by Netatmo', + : 'Livingroom Wi-Fi strength', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -4912,13 +4912,13 @@ # name: test_entity[sensor.parents_bedroom_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Parents Bedroom Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Parents Bedroom Atmospheric pressure', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.parents_bedroom_atmospheric_pressure', @@ -4970,13 +4970,13 @@ # name: test_entity[sensor.parents_bedroom_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Parents Bedroom Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Parents Bedroom Carbon dioxide', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.parents_bedroom_carbon_dioxide', @@ -5034,9 +5034,9 @@ # name: test_entity[sensor.parents_bedroom_health_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'enum', - 'friendly_name': 'Parents Bedroom Health index', + : 'Data provided by Netatmo', + : 'enum', + : 'Parents Bedroom Health index', 'latitude': 13.377726, 'longitude': 52.516263, : list([ @@ -5097,13 +5097,13 @@ # name: test_entity[sensor.parents_bedroom_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Parents Bedroom Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Parents Bedroom Humidity', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.parents_bedroom_humidity', @@ -5158,13 +5158,13 @@ # name: test_entity[sensor.parents_bedroom_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'sound_pressure', - 'friendly_name': 'Parents Bedroom Noise', + : 'Data provided by Netatmo', + : 'sound_pressure', + : 'Parents Bedroom Noise', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.parents_bedroom_noise', @@ -5214,8 +5214,8 @@ # name: test_entity[sensor.parents_bedroom_pressure_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Parents Bedroom Pressure trend', + : 'Data provided by Netatmo', + : 'Parents Bedroom Pressure trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -5267,8 +5267,8 @@ # name: test_entity[sensor.parents_bedroom_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Parents Bedroom Reachability', + : 'Data provided by Netatmo', + : 'Parents Bedroom Reachability', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -5325,13 +5325,13 @@ # name: test_entity[sensor.parents_bedroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Parents Bedroom Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Parents Bedroom Temperature', 'latitude': 13.377726, 'longitude': 52.516263, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.parents_bedroom_temperature', @@ -5381,8 +5381,8 @@ # name: test_entity[sensor.parents_bedroom_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Parents Bedroom Temperature trend', + : 'Data provided by Netatmo', + : 'Parents Bedroom Temperature trend', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -5434,8 +5434,8 @@ # name: test_entity[sensor.parents_bedroom_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Parents Bedroom Wi-Fi strength', + : 'Data provided by Netatmo', + : 'Parents Bedroom Wi-Fi strength', 'latitude': 13.377726, 'longitude': 52.516263, }), @@ -5487,8 +5487,8 @@ # name: test_entity[sensor.prise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Prise', + : 'Data provided by Netatmo', + : 'Prise', }), 'context': , 'entity_id': 'sensor.prise', @@ -5543,11 +5543,11 @@ # name: test_entity[sensor.prise_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'power', - 'friendly_name': 'Prise Power', + : 'Data provided by Netatmo', + : 'power', + : 'Prise Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.prise_power', @@ -5597,8 +5597,8 @@ # name: test_entity[sensor.total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Total', + : 'Data provided by Netatmo', + : 'Total', }), 'context': , 'entity_id': 'sensor.total', @@ -5650,11 +5650,11 @@ # name: test_entity[sensor.valve1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Valve1 Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Valve1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.valve1_battery', @@ -5706,11 +5706,11 @@ # name: test_entity[sensor.valve2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Valve2 Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Valve2 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.valve2_battery', @@ -5768,13 +5768,13 @@ # name: test_entity[sensor.villa_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Villa Atmospheric pressure', + : 'Data provided by Netatmo', + : 'atmospheric_pressure', + : 'Villa Atmospheric pressure', 'latitude': 46.123456, 'longitude': 6.1234567, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_atmospheric_pressure', @@ -5826,11 +5826,11 @@ # name: test_entity[sensor.villa_bathroom_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Villa Bathroom Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Villa Bathroom Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_bathroom_battery', @@ -5882,11 +5882,11 @@ # name: test_entity[sensor.villa_bathroom_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Villa Bathroom Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Villa Bathroom Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.villa_bathroom_carbon_dioxide', @@ -5938,11 +5938,11 @@ # name: test_entity[sensor.villa_bathroom_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Villa Bathroom Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Villa Bathroom Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_bathroom_humidity', @@ -5992,8 +5992,8 @@ # name: test_entity[sensor.villa_bathroom_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Bathroom Reachability', + : 'Data provided by Netatmo', + : 'Villa Bathroom Reachability', }), 'context': , 'entity_id': 'sensor.villa_bathroom_reachability', @@ -6043,8 +6043,8 @@ # name: test_entity[sensor.villa_bathroom_rf_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Bathroom RF strength', + : 'Data provided by Netatmo', + : 'Villa Bathroom RF strength', }), 'context': , 'entity_id': 'sensor.villa_bathroom_rf_strength', @@ -6099,11 +6099,11 @@ # name: test_entity[sensor.villa_bathroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Villa Bathroom Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Villa Bathroom Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_bathroom_temperature', @@ -6153,8 +6153,8 @@ # name: test_entity[sensor.villa_bathroom_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Bathroom Temperature trend', + : 'Data provided by Netatmo', + : 'Villa Bathroom Temperature trend', }), 'context': , 'entity_id': 'sensor.villa_bathroom_temperature_trend', @@ -6206,11 +6206,11 @@ # name: test_entity[sensor.villa_bedroom_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Villa Bedroom Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Villa Bedroom Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_bedroom_battery', @@ -6262,11 +6262,11 @@ # name: test_entity[sensor.villa_bedroom_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Villa Bedroom Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Villa Bedroom Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.villa_bedroom_carbon_dioxide', @@ -6318,11 +6318,11 @@ # name: test_entity[sensor.villa_bedroom_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Villa Bedroom Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Villa Bedroom Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_bedroom_humidity', @@ -6372,8 +6372,8 @@ # name: test_entity[sensor.villa_bedroom_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Bedroom Reachability', + : 'Data provided by Netatmo', + : 'Villa Bedroom Reachability', }), 'context': , 'entity_id': 'sensor.villa_bedroom_reachability', @@ -6423,8 +6423,8 @@ # name: test_entity[sensor.villa_bedroom_rf_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Bedroom RF strength', + : 'Data provided by Netatmo', + : 'Villa Bedroom RF strength', }), 'context': , 'entity_id': 'sensor.villa_bedroom_rf_strength', @@ -6479,11 +6479,11 @@ # name: test_entity[sensor.villa_bedroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Villa Bedroom Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Villa Bedroom Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_bedroom_temperature', @@ -6533,8 +6533,8 @@ # name: test_entity[sensor.villa_bedroom_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Bedroom Temperature trend', + : 'Data provided by Netatmo', + : 'Villa Bedroom Temperature trend', }), 'context': , 'entity_id': 'sensor.villa_bedroom_temperature_trend', @@ -6586,13 +6586,13 @@ # name: test_entity[sensor.villa_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Villa Carbon dioxide', + : 'Data provided by Netatmo', + : 'carbon_dioxide', + : 'Villa Carbon dioxide', 'latitude': 46.123456, 'longitude': 6.1234567, : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.villa_carbon_dioxide', @@ -6644,11 +6644,11 @@ # name: test_entity[sensor.villa_garden_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Villa Garden Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Villa Garden Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_garden_battery', @@ -6700,11 +6700,11 @@ # name: test_entity[sensor.villa_garden_gust_angle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Villa Garden Gust angle', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Villa Garden Gust angle', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.villa_garden_gust_angle', @@ -6765,9 +6765,9 @@ # name: test_entity[sensor.villa_garden_gust_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'enum', - 'friendly_name': 'Villa Garden Gust direction', + : 'Data provided by Netatmo', + : 'enum', + : 'Villa Garden Gust direction', : list([ 'n', 'ne', @@ -6832,11 +6832,11 @@ # name: test_entity[sensor.villa_garden_gust_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Villa Garden Gust strength', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Villa Garden Gust strength', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_garden_gust_strength', @@ -6886,8 +6886,8 @@ # name: test_entity[sensor.villa_garden_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Garden Reachability', + : 'Data provided by Netatmo', + : 'Villa Garden Reachability', }), 'context': , 'entity_id': 'sensor.villa_garden_reachability', @@ -6937,8 +6937,8 @@ # name: test_entity[sensor.villa_garden_rf_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Garden RF strength', + : 'Data provided by Netatmo', + : 'Villa Garden RF strength', }), 'context': , 'entity_id': 'sensor.villa_garden_rf_strength', @@ -6990,11 +6990,11 @@ # name: test_entity[sensor.villa_garden_wind_angle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_direction', - 'friendly_name': 'Villa Garden Wind angle', + : 'Data provided by Netatmo', + : 'wind_direction', + : 'Villa Garden Wind angle', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.villa_garden_wind_angle', @@ -7055,9 +7055,9 @@ # name: test_entity[sensor.villa_garden_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'enum', - 'friendly_name': 'Villa Garden Wind direction', + : 'Data provided by Netatmo', + : 'enum', + : 'Villa Garden Wind direction', : list([ 'n', 'ne', @@ -7122,11 +7122,11 @@ # name: test_entity[sensor.villa_garden_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'wind_speed', - 'friendly_name': 'Villa Garden Wind speed', + : 'Data provided by Netatmo', + : 'wind_speed', + : 'Villa Garden Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_garden_wind_speed', @@ -7178,13 +7178,13 @@ # name: test_entity[sensor.villa_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Villa Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Villa Humidity', 'latitude': 46.123456, 'longitude': 6.1234567, : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_humidity', @@ -7239,13 +7239,13 @@ # name: test_entity[sensor.villa_noise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'sound_pressure', - 'friendly_name': 'Villa Noise', + : 'Data provided by Netatmo', + : 'sound_pressure', + : 'Villa Noise', 'latitude': 46.123456, 'longitude': 6.1234567, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_noise', @@ -7297,11 +7297,11 @@ # name: test_entity[sensor.villa_outdoor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Villa Outdoor Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Villa Outdoor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_outdoor_battery', @@ -7353,11 +7353,11 @@ # name: test_entity[sensor.villa_outdoor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'humidity', - 'friendly_name': 'Villa Outdoor Humidity', + : 'Data provided by Netatmo', + : 'humidity', + : 'Villa Outdoor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_outdoor_humidity', @@ -7407,8 +7407,8 @@ # name: test_entity[sensor.villa_outdoor_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Outdoor Reachability', + : 'Data provided by Netatmo', + : 'Villa Outdoor Reachability', }), 'context': , 'entity_id': 'sensor.villa_outdoor_reachability', @@ -7458,8 +7458,8 @@ # name: test_entity[sensor.villa_outdoor_rf_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Outdoor RF strength', + : 'Data provided by Netatmo', + : 'Villa Outdoor RF strength', }), 'context': , 'entity_id': 'sensor.villa_outdoor_rf_strength', @@ -7514,11 +7514,11 @@ # name: test_entity[sensor.villa_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Villa Outdoor Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Villa Outdoor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_outdoor_temperature', @@ -7568,8 +7568,8 @@ # name: test_entity[sensor.villa_outdoor_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Outdoor Temperature trend', + : 'Data provided by Netatmo', + : 'Villa Outdoor Temperature trend', }), 'context': , 'entity_id': 'sensor.villa_outdoor_temperature_trend', @@ -7619,8 +7619,8 @@ # name: test_entity[sensor.villa_pressure_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Pressure trend', + : 'Data provided by Netatmo', + : 'Villa Pressure trend', 'latitude': 46.123456, 'longitude': 6.1234567, }), @@ -7674,11 +7674,11 @@ # name: test_entity[sensor.villa_rain_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Villa Rain Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Villa Rain Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.villa_rain_battery', @@ -7733,11 +7733,11 @@ # name: test_entity[sensor.villa_rain_precipitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Villa Rain Precipitation', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Villa Rain Precipitation', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_rain_precipitation', @@ -7792,11 +7792,11 @@ # name: test_entity[sensor.villa_rain_precipitation_last_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Villa Rain Precipitation last hour', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Villa Rain Precipitation last hour', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_rain_precipitation_last_hour', @@ -7851,11 +7851,11 @@ # name: test_entity[sensor.villa_rain_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'precipitation', - 'friendly_name': 'Villa Rain Precipitation today', + : 'Data provided by Netatmo', + : 'precipitation', + : 'Villa Rain Precipitation today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_rain_precipitation_today', @@ -7905,8 +7905,8 @@ # name: test_entity[sensor.villa_rain_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Rain Reachability', + : 'Data provided by Netatmo', + : 'Villa Rain Reachability', }), 'context': , 'entity_id': 'sensor.villa_rain_reachability', @@ -7956,8 +7956,8 @@ # name: test_entity[sensor.villa_rain_rf_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Rain RF strength', + : 'Data provided by Netatmo', + : 'Villa Rain RF strength', }), 'context': , 'entity_id': 'sensor.villa_rain_rf_strength', @@ -8007,8 +8007,8 @@ # name: test_entity[sensor.villa_reachability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Reachability', + : 'Data provided by Netatmo', + : 'Villa Reachability', 'latitude': 46.123456, 'longitude': 6.1234567, }), @@ -8065,13 +8065,13 @@ # name: test_entity[sensor.villa_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'temperature', - 'friendly_name': 'Villa Temperature', + : 'Data provided by Netatmo', + : 'temperature', + : 'Villa Temperature', 'latitude': 46.123456, 'longitude': 6.1234567, : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.villa_temperature', @@ -8121,8 +8121,8 @@ # name: test_entity[sensor.villa_temperature_trend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Temperature trend', + : 'Data provided by Netatmo', + : 'Villa Temperature trend', 'latitude': 46.123456, 'longitude': 6.1234567, }), @@ -8174,8 +8174,8 @@ # name: test_entity[sensor.villa_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Villa Wi-Fi strength', + : 'Data provided by Netatmo', + : 'Villa Wi-Fi strength', 'latitude': 46.123456, 'longitude': 6.1234567, }), @@ -8229,11 +8229,11 @@ # name: test_entity[sensor.window_hall_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'device_class': 'battery', - 'friendly_name': 'Window Hall Battery', + : 'Data provided by Netatmo', + : 'battery', + : 'Window Hall Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.window_hall_battery', @@ -8283,8 +8283,8 @@ # name: test_entity[sensor.window_hall_rf_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Window Hall RF strength', + : 'Data provided by Netatmo', + : 'Window Hall RF strength', }), 'context': , 'entity_id': 'sensor.window_hall_rf_strength', diff --git a/tests/components/netatmo/snapshots/test_switch.ambr b/tests/components/netatmo/snapshots/test_switch.ambr index ee59d985990..39558ce352e 100644 --- a/tests/components/netatmo/snapshots/test_switch.ambr +++ b/tests/components/netatmo/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_entity[switch.prise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Netatmo', - 'friendly_name': 'Prise', + : 'Data provided by Netatmo', + : 'Prise', }), 'context': , 'entity_id': 'switch.prise', diff --git a/tests/components/netgear_lte/snapshots/test_binary_sensor.ambr b/tests/components/netgear_lte/snapshots/test_binary_sensor.ambr index 7ff30fb5cbc..9f001b4c8ce 100644 --- a/tests/components/netgear_lte/snapshots/test_binary_sensor.ambr +++ b/tests/components/netgear_lte/snapshots/test_binary_sensor.ambr @@ -2,8 +2,8 @@ # name: test_binary_sensors[binary_sensor.netgear_lm1200_mobile_connected] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Netgear LM1200 Mobile connected', + : 'connectivity', + : 'Netgear LM1200 Mobile connected', }), 'context': , 'entity_id': 'binary_sensor.netgear_lm1200_mobile_connected', @@ -16,7 +16,7 @@ # name: test_binary_sensors[binary_sensor.netgear_lm1200_roaming] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Roaming', + : 'Netgear LM1200 Roaming', }), 'context': , 'entity_id': 'binary_sensor.netgear_lm1200_roaming', @@ -29,8 +29,8 @@ # name: test_binary_sensors[binary_sensor.netgear_lm1200_wire_connected] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Netgear LM1200 Wire connected', + : 'connectivity', + : 'Netgear LM1200 Wire connected', }), 'context': , 'entity_id': 'binary_sensor.netgear_lm1200_wire_connected', diff --git a/tests/components/netgear_lte/snapshots/test_sensor.ambr b/tests/components/netgear_lte/snapshots/test_sensor.ambr index cbeb0bf5b9a..2fb11951538 100644 --- a/tests/components/netgear_lte/snapshots/test_sensor.ambr +++ b/tests/components/netgear_lte/snapshots/test_sensor.ambr @@ -2,7 +2,7 @@ # name: test_sensors[sensor.netgear_lm1200_cell_id] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Cell ID', + : 'Netgear LM1200 Cell ID', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_cell_id', @@ -15,7 +15,7 @@ # name: test_sensors[sensor.netgear_lm1200_connection_text] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Connection text', + : 'Netgear LM1200 Connection text', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_connection_text', @@ -28,7 +28,7 @@ # name: test_sensors[sensor.netgear_lm1200_connection_type] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Connection type', + : 'Netgear LM1200 Connection type', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_connection_type', @@ -41,7 +41,7 @@ # name: test_sensors[sensor.netgear_lm1200_current_band] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Current band', + : 'Netgear LM1200 Current band', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_current_band', @@ -54,8 +54,8 @@ # name: test_sensors[sensor.netgear_lm1200_radio_quality] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Radio quality', - 'unit_of_measurement': '%', + : 'Netgear LM1200 Radio quality', + : '%', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_radio_quality', @@ -68,7 +68,7 @@ # name: test_sensors[sensor.netgear_lm1200_register_network_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Register network display', + : 'Netgear LM1200 Register network display', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_register_network_display', @@ -81,9 +81,9 @@ # name: test_sensors[sensor.netgear_lm1200_rx_level] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Netgear LM1200 Rx level', - 'unit_of_measurement': 'dBm', + : 'signal_strength', + : 'Netgear LM1200 Rx level', + : 'dBm', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_rx_level', @@ -96,7 +96,7 @@ # name: test_sensors[sensor.netgear_lm1200_service_type] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Service type', + : 'Netgear LM1200 Service type', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_service_type', @@ -109,8 +109,8 @@ # name: test_sensors[sensor.netgear_lm1200_sms] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 SMS', - 'unit_of_measurement': 'unread', + : 'Netgear LM1200 SMS', + : 'unread', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_sms', @@ -123,8 +123,8 @@ # name: test_sensors[sensor.netgear_lm1200_sms_total] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 SMS total', - 'unit_of_measurement': 'messages', + : 'Netgear LM1200 SMS total', + : 'messages', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_sms_total', @@ -137,9 +137,9 @@ # name: test_sensors[sensor.netgear_lm1200_tx_level] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Netgear LM1200 Tx level', - 'unit_of_measurement': 'dBm', + : 'signal_strength', + : 'Netgear LM1200 Tx level', + : 'dBm', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_tx_level', @@ -152,7 +152,7 @@ # name: test_sensors[sensor.netgear_lm1200_upstream] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Netgear LM1200 Upstream', + : 'Netgear LM1200 Upstream', }), 'context': , 'entity_id': 'sensor.netgear_lm1200_upstream', @@ -165,9 +165,9 @@ # name: test_sensors[sensor.netgear_lm1200_usage] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Netgear LM1200 Usage', - 'unit_of_measurement': , + : 'data_size', + : 'Netgear LM1200 Usage', + : , }), 'context': , 'entity_id': 'sensor.netgear_lm1200_usage', diff --git a/tests/components/nextcloud/snapshots/test_binary_sensor.ambr b/tests/components/nextcloud/snapshots/test_binary_sensor.ambr index f09546b98a5..7ff0ce6c0f1 100644 --- a/tests/components/nextcloud/snapshots/test_binary_sensor.ambr +++ b/tests/components/nextcloud/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_async_setup_entry[binary_sensor.my_nc_url_local_avatars_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Avatars enabled', + : 'my.nc_url.local Avatars enabled', }), 'context': , 'entity_id': 'binary_sensor.my_nc_url_local_avatars_enabled', @@ -89,7 +89,7 @@ # name: test_async_setup_entry[binary_sensor.my_nc_url_local_debug_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Debug enabled', + : 'my.nc_url.local Debug enabled', }), 'context': , 'entity_id': 'binary_sensor.my_nc_url_local_debug_enabled', @@ -139,7 +139,7 @@ # name: test_async_setup_entry[binary_sensor.my_nc_url_local_filelocking_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Filelocking enabled', + : 'my.nc_url.local Filelocking enabled', }), 'context': , 'entity_id': 'binary_sensor.my_nc_url_local_filelocking_enabled', @@ -189,7 +189,7 @@ # name: test_async_setup_entry[binary_sensor.my_nc_url_local_jit_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local JIT active', + : 'my.nc_url.local JIT active', }), 'context': , 'entity_id': 'binary_sensor.my_nc_url_local_jit_active', @@ -239,7 +239,7 @@ # name: test_async_setup_entry[binary_sensor.my_nc_url_local_jit_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local JIT enabled', + : 'my.nc_url.local JIT enabled', }), 'context': , 'entity_id': 'binary_sensor.my_nc_url_local_jit_enabled', @@ -289,7 +289,7 @@ # name: test_async_setup_entry[binary_sensor.my_nc_url_local_previews_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Previews enabled', + : 'my.nc_url.local Previews enabled', }), 'context': , 'entity_id': 'binary_sensor.my_nc_url_local_previews_enabled', diff --git a/tests/components/nextcloud/snapshots/test_sensor.ambr b/tests/components/nextcloud/snapshots/test_sensor.ambr index f3d00403411..fe5b5b4d543 100644 --- a/tests/components/nextcloud/snapshots/test_sensor.ambr +++ b/tests/components/nextcloud/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_active_users_last_5_minutes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of active users last 5 minutes', + : 'my.nc_url.local Amount of active users last 5 minutes', : , }), 'context': , @@ -94,7 +94,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_active_users_last_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of active users last day', + : 'my.nc_url.local Amount of active users last day', : , }), 'context': , @@ -147,7 +147,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_active_users_last_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of active users last hour', + : 'my.nc_url.local Amount of active users last hour', : , }), 'context': , @@ -200,7 +200,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_files-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of files', + : 'my.nc_url.local Amount of files', : , }), 'context': , @@ -253,7 +253,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_group_shares-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of group shares', + : 'my.nc_url.local Amount of group shares', : , }), 'context': , @@ -306,7 +306,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_link_shares-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of link shares', + : 'my.nc_url.local Amount of link shares', : , }), 'context': , @@ -359,7 +359,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_local_storages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of local storages', + : 'my.nc_url.local Amount of local storages', : , }), 'context': , @@ -412,7 +412,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_mail_shares-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of mail shares', + : 'my.nc_url.local Amount of mail shares', : , }), 'context': , @@ -465,7 +465,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_other_storages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of other storages', + : 'my.nc_url.local Amount of other storages', : , }), 'context': , @@ -518,7 +518,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_passwordless_link_shares-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of passwordless link shares', + : 'my.nc_url.local Amount of passwordless link shares', : , }), 'context': , @@ -571,7 +571,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_room_shares-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of room shares', + : 'my.nc_url.local Amount of room shares', : , }), 'context': , @@ -624,7 +624,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_shares-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of shares', + : 'my.nc_url.local Amount of shares', : , }), 'context': , @@ -677,7 +677,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_shares_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of shares received', + : 'my.nc_url.local Amount of shares received', : , }), 'context': , @@ -730,7 +730,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_shares_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of shares sent', + : 'my.nc_url.local Amount of shares sent', : , }), 'context': , @@ -783,7 +783,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_storages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of storages', + : 'my.nc_url.local Amount of storages', : , }), 'context': , @@ -836,7 +836,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_storages_at_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of storages at home', + : 'my.nc_url.local Amount of storages at home', : , }), 'context': , @@ -889,7 +889,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_user-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of user', + : 'my.nc_url.local Amount of user', : , }), 'context': , @@ -942,7 +942,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_amount_of_user_shares-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Amount of user shares', + : 'my.nc_url.local Amount of user shares', : , }), 'context': , @@ -995,7 +995,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_apps_installed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Apps installed', + : 'my.nc_url.local Apps installed', : , }), 'context': , @@ -1048,7 +1048,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_expunges-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache expunges', + : 'my.nc_url.local Cache expunges', : , }), 'context': , @@ -1099,7 +1099,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache memory', + : 'my.nc_url.local Cache memory', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_cache_memory', @@ -1155,9 +1155,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_memory_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Cache memory size', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Cache memory size', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_cache_memory_size', @@ -1209,7 +1209,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_entries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache number of entries', + : 'my.nc_url.local Cache number of entries', : , }), 'context': , @@ -1262,7 +1262,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_hits-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache number of hits', + : 'my.nc_url.local Cache number of hits', : , }), 'context': , @@ -1315,7 +1315,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_inserts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache number of inserts', + : 'my.nc_url.local Cache number of inserts', : , }), 'context': , @@ -1368,7 +1368,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_misses-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache number of misses', + : 'my.nc_url.local Cache number of misses', : , }), 'context': , @@ -1421,7 +1421,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_slots-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache number of slots', + : 'my.nc_url.local Cache number of slots', : , }), 'context': , @@ -1472,8 +1472,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'my.nc_url.local Cache start time', + : 'timestamp', + : 'my.nc_url.local Cache start time', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_cache_start_time', @@ -1523,7 +1523,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cache_ttl-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Cache TTL', + : 'my.nc_url.local Cache TTL', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_cache_ttl', @@ -1576,8 +1576,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cpu_load_last_15_minutes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local CPU load last 15 minutes', - 'unit_of_measurement': 'load', + : 'my.nc_url.local CPU load last 15 minutes', + : 'load', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_cpu_load_last_15_minutes', @@ -1630,8 +1630,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cpu_load_last_1_minute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local CPU load last 1 minute', - 'unit_of_measurement': 'load', + : 'my.nc_url.local CPU load last 1 minute', + : 'load', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_cpu_load_last_1_minute', @@ -1684,8 +1684,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_cpu_load_last_5_minutes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local CPU load last 5 minutes', - 'unit_of_measurement': 'load', + : 'my.nc_url.local CPU load last 5 minutes', + : 'load', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_cpu_load_last_5_minutes', @@ -1741,9 +1741,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_database_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Database size', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Database size', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_database_size', @@ -1793,7 +1793,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_database_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Database type', + : 'my.nc_url.local Database type', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_database_type', @@ -1843,7 +1843,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_database_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Database version', + : 'my.nc_url.local Database version', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_database_version', @@ -1899,9 +1899,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_free_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Free memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Free memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_free_memory', @@ -1957,9 +1957,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_free_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Free space', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Free space', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_free_space', @@ -2015,9 +2015,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_free_swap_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Free swap memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Free swap memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_free_swap_memory', @@ -2073,9 +2073,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_interned_buffer_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Interned buffer size', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Interned buffer size', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_interned_buffer_size', @@ -2131,9 +2131,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_interned_free_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Interned free memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Interned free memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_interned_free_memory', @@ -2185,7 +2185,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_interned_number_of_strings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Interned number of strings', + : 'my.nc_url.local Interned number of strings', : , }), 'context': , @@ -2242,9 +2242,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_interned_used_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Interned used memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Interned used memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_interned_used_memory', @@ -2300,9 +2300,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_jit_buffer_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local JIT buffer free', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local JIT buffer free', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_jit_buffer_free', @@ -2358,9 +2358,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_jit_buffer_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local JIT buffer size', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local JIT buffer size', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_jit_buffer_size', @@ -2410,7 +2410,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_jit_kind-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local JIT kind', + : 'my.nc_url.local JIT kind', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_jit_kind', @@ -2460,7 +2460,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_jit_opt_flags-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local JIT opt flags', + : 'my.nc_url.local JIT opt flags', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_jit_opt_flags', @@ -2510,7 +2510,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_jit_opt_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local JIT opt level', + : 'my.nc_url.local JIT opt level', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_jit_opt_level', @@ -2562,9 +2562,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_blacklist_miss_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache blacklist miss ratio', + : 'my.nc_url.local Opcache blacklist miss ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_blacklist_miss_ratio', @@ -2616,7 +2616,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_blacklist_misses-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache blacklist misses', + : 'my.nc_url.local Opcache blacklist misses', : , }), 'context': , @@ -2669,7 +2669,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_cached_keys-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache cached keys', + : 'my.nc_url.local Opcache cached keys', : , }), 'context': , @@ -2722,7 +2722,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_cached_scripts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache cached scripts', + : 'my.nc_url.local Opcache cached scripts', : , }), 'context': , @@ -2776,8 +2776,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_current_wasted_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache current wasted percentage', - 'unit_of_measurement': '%', + : 'my.nc_url.local Opcache current wasted percentage', + : '%', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_current_wasted_percentage', @@ -2833,9 +2833,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_free_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Opcache free memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Opcache free memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_free_memory', @@ -2887,7 +2887,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_hash_restarts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache hash restarts', + : 'my.nc_url.local Opcache hash restarts', : , }), 'context': , @@ -2941,8 +2941,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_hit_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache hit rate', - 'unit_of_measurement': '%', + : 'my.nc_url.local Opcache hit rate', + : '%', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_hit_rate', @@ -2994,7 +2994,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_hits-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache hits', + : 'my.nc_url.local Opcache hits', : , }), 'context': , @@ -3045,8 +3045,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_last_restart_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'my.nc_url.local Opcache last restart time', + : 'timestamp', + : 'my.nc_url.local Opcache last restart time', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_last_restart_time', @@ -3098,7 +3098,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_manual_restarts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache manual restarts', + : 'my.nc_url.local Opcache manual restarts', : , }), 'context': , @@ -3151,7 +3151,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_max_cached_keys-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache max cached keys', + : 'my.nc_url.local Opcache max cached keys', : , }), 'context': , @@ -3204,7 +3204,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_misses-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache misses', + : 'my.nc_url.local Opcache misses', : , }), 'context': , @@ -3257,7 +3257,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_out_of_memory_restarts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Opcache out of memory restarts', + : 'my.nc_url.local Opcache out of memory restarts', : , }), 'context': , @@ -3308,8 +3308,8 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'my.nc_url.local Opcache start time', + : 'timestamp', + : 'my.nc_url.local Opcache start time', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_start_time', @@ -3365,9 +3365,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_used_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Opcache used memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Opcache used memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_used_memory', @@ -3423,9 +3423,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_opcache_wasted_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Opcache wasted memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Opcache wasted memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_opcache_wasted_memory', @@ -3478,9 +3478,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_php_max_execution_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'my.nc_url.local PHP max execution time', - 'unit_of_measurement': , + : 'duration', + : 'my.nc_url.local PHP max execution time', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_php_max_execution_time', @@ -3536,9 +3536,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_php_memory_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local PHP memory limit', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local PHP memory limit', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_php_memory_limit', @@ -3594,9 +3594,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_php_upload_maximum_filesize-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local PHP upload maximum filesize', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local PHP upload maximum filesize', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_php_upload_maximum_filesize', @@ -3646,7 +3646,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_php_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local PHP version', + : 'my.nc_url.local PHP version', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_php_version', @@ -3702,9 +3702,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_sma_available_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local SMA available memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local SMA available memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_sma_available_memory', @@ -3756,7 +3756,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_sma_number_of_segments-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local SMA number of segments', + : 'my.nc_url.local SMA number of segments', : , }), 'context': , @@ -3813,9 +3813,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_sma_segment_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local SMA segment size', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local SMA segment size', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_sma_segment_size', @@ -3865,7 +3865,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_system_memcache_distributed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local System memcache distributed', + : 'my.nc_url.local System memcache distributed', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_system_memcache_distributed', @@ -3915,7 +3915,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_system_memcache_local-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local System memcache local', + : 'my.nc_url.local System memcache local', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_system_memcache_local', @@ -3965,7 +3965,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_system_memcache_locking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local System memcache locking', + : 'my.nc_url.local System memcache locking', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_system_memcache_locking', @@ -4015,7 +4015,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_system_theme-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local System theme', + : 'my.nc_url.local System theme', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_system_theme', @@ -4065,7 +4065,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_system_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local System version', + : 'my.nc_url.local System version', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_system_version', @@ -4121,9 +4121,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_total_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Total memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Total memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_total_memory', @@ -4179,9 +4179,9 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_total_swap_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my.nc_url.local Total swap memory', - 'unit_of_measurement': , + : 'data_size', + : 'my.nc_url.local Total swap memory', + : , }), 'context': , 'entity_id': 'sensor.my_nc_url_local_total_swap_memory', @@ -4233,7 +4233,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_updates_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Updates available', + : 'my.nc_url.local Updates available', : , }), 'context': , @@ -4284,7 +4284,7 @@ # name: test_async_setup_entry[sensor.my_nc_url_local_webserver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my.nc_url.local Webserver', + : 'my.nc_url.local Webserver', }), 'context': , 'entity_id': 'sensor.my_nc_url_local_webserver', diff --git a/tests/components/nextcloud/snapshots/test_update.ambr b/tests/components/nextcloud/snapshots/test_update.ambr index 173d7095390..1c8f73d62d6 100644 --- a/tests/components/nextcloud/snapshots/test_update.ambr +++ b/tests/components/nextcloud/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/nextcloud/icon.png', - 'friendly_name': 'my.nc_url.local', + : '/api/brands/integration/nextcloud/icon.png', + : 'my.nc_url.local', : False, : '28.0.4.1', : '28.0.4.1', : None, : 'https://nextcloud.com/changelog/#28-0-4', : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/nextdns/snapshots/test_binary_sensor.ambr b/tests/components/nextdns/snapshots/test_binary_sensor.ambr index d0637c74a1f..1084bb10b46 100644 --- a/tests/components/nextdns/snapshots/test_binary_sensor.ambr +++ b/tests/components/nextdns/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[binary_sensor.fake_profile_device_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Fake Profile Device connection status', + : 'connectivity', + : 'Fake Profile Device connection status', }), 'context': , 'entity_id': 'binary_sensor.fake_profile_device_connection_status', @@ -90,8 +90,8 @@ # name: test_binary_sensor[binary_sensor.fake_profile_device_profile_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Fake Profile Device profile connection status', + : 'connectivity', + : 'Fake Profile Device profile connection status', }), 'context': , 'entity_id': 'binary_sensor.fake_profile_device_profile_connection_status', diff --git a/tests/components/nextdns/snapshots/test_button.ambr b/tests/components/nextdns/snapshots/test_button.ambr index e3046bfdd74..35a49a6bb7c 100644 --- a/tests/components/nextdns/snapshots/test_button.ambr +++ b/tests/components/nextdns/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button[button.fake_profile_clear_logs-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Clear logs', + : 'Fake Profile Clear logs', }), 'context': , 'entity_id': 'button.fake_profile_clear_logs', diff --git a/tests/components/nextdns/snapshots/test_sensor.ambr b/tests/components/nextdns/snapshots/test_sensor.ambr index 2f70decf58c..783fbb68536 100644 --- a/tests/components/nextdns/snapshots/test_sensor.ambr +++ b/tests/components/nextdns/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_http_3_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-HTTP/3 queries', + : 'Fake Profile DNS-over-HTTP/3 queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_http_3_queries', @@ -95,9 +95,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_http_3_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-HTTP/3 queries ratio', + : 'Fake Profile DNS-over-HTTP/3 queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_http_3_queries_ratio', @@ -149,9 +149,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_https_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-HTTPS queries', + : 'Fake Profile DNS-over-HTTPS queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_https_queries', @@ -203,9 +203,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_https_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-HTTPS queries ratio', + : 'Fake Profile DNS-over-HTTPS queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_https_queries_ratio', @@ -257,9 +257,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_quic_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-QUIC queries', + : 'Fake Profile DNS-over-QUIC queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_quic_queries', @@ -311,9 +311,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_quic_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-QUIC queries ratio', + : 'Fake Profile DNS-over-QUIC queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_quic_queries_ratio', @@ -365,9 +365,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_tls_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-TLS queries', + : 'Fake Profile DNS-over-TLS queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_tls_queries', @@ -419,9 +419,9 @@ # name: test_sensor[sensor.fake_profile_dns_over_tls_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS-over-TLS queries ratio', + : 'Fake Profile DNS-over-TLS queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_over_tls_queries_ratio', @@ -473,9 +473,9 @@ # name: test_sensor[sensor.fake_profile_dns_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS queries', + : 'Fake Profile DNS queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_queries', @@ -527,9 +527,9 @@ # name: test_sensor[sensor.fake_profile_dns_queries_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS queries blocked', + : 'Fake Profile DNS queries blocked', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_queries_blocked', @@ -581,9 +581,9 @@ # name: test_sensor[sensor.fake_profile_dns_queries_blocked_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS queries blocked ratio', + : 'Fake Profile DNS queries blocked ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_queries_blocked_ratio', @@ -635,9 +635,9 @@ # name: test_sensor[sensor.fake_profile_dns_queries_relayed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS queries relayed', + : 'Fake Profile DNS queries relayed', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dns_queries_relayed', @@ -689,9 +689,9 @@ # name: test_sensor[sensor.fake_profile_dnssec_not_validated_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNSSEC not validated queries', + : 'Fake Profile DNSSEC not validated queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dnssec_not_validated_queries', @@ -743,9 +743,9 @@ # name: test_sensor[sensor.fake_profile_dnssec_validated_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNSSEC validated queries', + : 'Fake Profile DNSSEC validated queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_dnssec_validated_queries', @@ -797,9 +797,9 @@ # name: test_sensor[sensor.fake_profile_dnssec_validated_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNSSEC validated queries ratio', + : 'Fake Profile DNSSEC validated queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_dnssec_validated_queries_ratio', @@ -851,9 +851,9 @@ # name: test_sensor[sensor.fake_profile_encrypted_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Encrypted queries', + : 'Fake Profile Encrypted queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_encrypted_queries', @@ -905,9 +905,9 @@ # name: test_sensor[sensor.fake_profile_encrypted_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Encrypted queries ratio', + : 'Fake Profile Encrypted queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_encrypted_queries_ratio', @@ -959,9 +959,9 @@ # name: test_sensor[sensor.fake_profile_ipv4_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile IPv4 queries', + : 'Fake Profile IPv4 queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_ipv4_queries', @@ -1013,9 +1013,9 @@ # name: test_sensor[sensor.fake_profile_ipv6_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile IPv6 queries', + : 'Fake Profile IPv6 queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_ipv6_queries', @@ -1067,9 +1067,9 @@ # name: test_sensor[sensor.fake_profile_ipv6_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile IPv6 queries ratio', + : 'Fake Profile IPv6 queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_ipv6_queries_ratio', @@ -1121,9 +1121,9 @@ # name: test_sensor[sensor.fake_profile_tcp_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile TCP queries', + : 'Fake Profile TCP queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_tcp_queries', @@ -1175,9 +1175,9 @@ # name: test_sensor[sensor.fake_profile_tcp_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile TCP queries ratio', + : 'Fake Profile TCP queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_tcp_queries_ratio', @@ -1229,9 +1229,9 @@ # name: test_sensor[sensor.fake_profile_udp_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile UDP queries', + : 'Fake Profile UDP queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_udp_queries', @@ -1283,9 +1283,9 @@ # name: test_sensor[sensor.fake_profile_udp_queries_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile UDP queries ratio', + : 'Fake Profile UDP queries ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fake_profile_udp_queries_ratio', @@ -1337,9 +1337,9 @@ # name: test_sensor[sensor.fake_profile_unencrypted_queries-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Unencrypted queries', + : 'Fake Profile Unencrypted queries', : , - 'unit_of_measurement': 'queries', + : 'queries', }), 'context': , 'entity_id': 'sensor.fake_profile_unencrypted_queries', diff --git a/tests/components/nextdns/snapshots/test_switch.ambr b/tests/components/nextdns/snapshots/test_switch.ambr index 73ca59c2a12..e880bcee146 100644 --- a/tests/components/nextdns/snapshots/test_switch.ambr +++ b/tests/components/nextdns/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch[switch.fake_profile_ai_driven_threat_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile AI-Driven threat detection', + : 'Fake Profile AI-Driven threat detection', }), 'context': , 'entity_id': 'switch.fake_profile_ai_driven_threat_detection', @@ -89,7 +89,7 @@ # name: test_switch[switch.fake_profile_allow_affiliate_tracking_links-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Allow affiliate & tracking links', + : 'Fake Profile Allow affiliate & tracking links', }), 'context': , 'entity_id': 'switch.fake_profile_allow_affiliate_tracking_links', @@ -139,7 +139,7 @@ # name: test_switch[switch.fake_profile_anonymized_edns_client_subnet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Anonymized EDNS client subnet', + : 'Fake Profile Anonymized EDNS client subnet', }), 'context': , 'entity_id': 'switch.fake_profile_anonymized_edns_client_subnet', @@ -189,7 +189,7 @@ # name: test_switch[switch.fake_profile_block_9gag-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block 9GAG', + : 'Fake Profile Block 9GAG', }), 'context': , 'entity_id': 'switch.fake_profile_block_9gag', @@ -239,7 +239,7 @@ # name: test_switch[switch.fake_profile_block_amazon-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Amazon', + : 'Fake Profile Block Amazon', }), 'context': , 'entity_id': 'switch.fake_profile_block_amazon', @@ -289,7 +289,7 @@ # name: test_switch[switch.fake_profile_block_bereal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block BeReal', + : 'Fake Profile Block BeReal', }), 'context': , 'entity_id': 'switch.fake_profile_block_bereal', @@ -339,7 +339,7 @@ # name: test_switch[switch.fake_profile_block_blizzard-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Blizzard', + : 'Fake Profile Block Blizzard', }), 'context': , 'entity_id': 'switch.fake_profile_block_blizzard', @@ -389,7 +389,7 @@ # name: test_switch[switch.fake_profile_block_bypass_methods-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block bypass methods', + : 'Fake Profile Block bypass methods', }), 'context': , 'entity_id': 'switch.fake_profile_block_bypass_methods', @@ -439,7 +439,7 @@ # name: test_switch[switch.fake_profile_block_chatgpt-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block ChatGPT', + : 'Fake Profile Block ChatGPT', }), 'context': , 'entity_id': 'switch.fake_profile_block_chatgpt', @@ -489,7 +489,7 @@ # name: test_switch[switch.fake_profile_block_child_sexual_abuse_material-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block child sexual abuse material', + : 'Fake Profile Block child sexual abuse material', }), 'context': , 'entity_id': 'switch.fake_profile_block_child_sexual_abuse_material', @@ -539,7 +539,7 @@ # name: test_switch[switch.fake_profile_block_dailymotion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Dailymotion', + : 'Fake Profile Block Dailymotion', }), 'context': , 'entity_id': 'switch.fake_profile_block_dailymotion', @@ -589,7 +589,7 @@ # name: test_switch[switch.fake_profile_block_dating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block dating', + : 'Fake Profile Block dating', }), 'context': , 'entity_id': 'switch.fake_profile_block_dating', @@ -639,7 +639,7 @@ # name: test_switch[switch.fake_profile_block_discord-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Discord', + : 'Fake Profile Block Discord', }), 'context': , 'entity_id': 'switch.fake_profile_block_discord', @@ -689,7 +689,7 @@ # name: test_switch[switch.fake_profile_block_disguised_third_party_trackers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block disguised third-party trackers', + : 'Fake Profile Block disguised third-party trackers', }), 'context': , 'entity_id': 'switch.fake_profile_block_disguised_third_party_trackers', @@ -739,7 +739,7 @@ # name: test_switch[switch.fake_profile_block_disney_plus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Disney Plus', + : 'Fake Profile Block Disney Plus', }), 'context': , 'entity_id': 'switch.fake_profile_block_disney_plus', @@ -789,7 +789,7 @@ # name: test_switch[switch.fake_profile_block_dynamic_dns_hostnames-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block dynamic DNS hostnames', + : 'Fake Profile Block dynamic DNS hostnames', }), 'context': , 'entity_id': 'switch.fake_profile_block_dynamic_dns_hostnames', @@ -839,7 +839,7 @@ # name: test_switch[switch.fake_profile_block_ebay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block eBay', + : 'Fake Profile Block eBay', }), 'context': , 'entity_id': 'switch.fake_profile_block_ebay', @@ -889,7 +889,7 @@ # name: test_switch[switch.fake_profile_block_facebook-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Facebook', + : 'Fake Profile Block Facebook', }), 'context': , 'entity_id': 'switch.fake_profile_block_facebook', @@ -939,7 +939,7 @@ # name: test_switch[switch.fake_profile_block_fortnite-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Fortnite', + : 'Fake Profile Block Fortnite', }), 'context': , 'entity_id': 'switch.fake_profile_block_fortnite', @@ -989,7 +989,7 @@ # name: test_switch[switch.fake_profile_block_gambling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block gambling', + : 'Fake Profile Block gambling', }), 'context': , 'entity_id': 'switch.fake_profile_block_gambling', @@ -1039,7 +1039,7 @@ # name: test_switch[switch.fake_profile_block_google_chat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Google Chat', + : 'Fake Profile Block Google Chat', }), 'context': , 'entity_id': 'switch.fake_profile_block_google_chat', @@ -1089,7 +1089,7 @@ # name: test_switch[switch.fake_profile_block_hbo_max-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block HBO Max', + : 'Fake Profile Block HBO Max', }), 'context': , 'entity_id': 'switch.fake_profile_block_hbo_max', @@ -1139,7 +1139,7 @@ # name: test_switch[switch.fake_profile_block_hulu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Hulu', + : 'Fake Profile Block Hulu', }), 'context': , 'entity_id': 'switch.fake_profile_block_hulu', @@ -1189,7 +1189,7 @@ # name: test_switch[switch.fake_profile_block_imgur-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Imgur', + : 'Fake Profile Block Imgur', }), 'context': , 'entity_id': 'switch.fake_profile_block_imgur', @@ -1239,7 +1239,7 @@ # name: test_switch[switch.fake_profile_block_instagram-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Instagram', + : 'Fake Profile Block Instagram', }), 'context': , 'entity_id': 'switch.fake_profile_block_instagram', @@ -1289,7 +1289,7 @@ # name: test_switch[switch.fake_profile_block_league_of_legends-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block League of Legends', + : 'Fake Profile Block League of Legends', }), 'context': , 'entity_id': 'switch.fake_profile_block_league_of_legends', @@ -1339,7 +1339,7 @@ # name: test_switch[switch.fake_profile_block_mastodon-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Mastodon', + : 'Fake Profile Block Mastodon', }), 'context': , 'entity_id': 'switch.fake_profile_block_mastodon', @@ -1389,7 +1389,7 @@ # name: test_switch[switch.fake_profile_block_messenger-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Messenger', + : 'Fake Profile Block Messenger', }), 'context': , 'entity_id': 'switch.fake_profile_block_messenger', @@ -1439,7 +1439,7 @@ # name: test_switch[switch.fake_profile_block_minecraft-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Minecraft', + : 'Fake Profile Block Minecraft', }), 'context': , 'entity_id': 'switch.fake_profile_block_minecraft', @@ -1489,7 +1489,7 @@ # name: test_switch[switch.fake_profile_block_netflix-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Netflix', + : 'Fake Profile Block Netflix', }), 'context': , 'entity_id': 'switch.fake_profile_block_netflix', @@ -1539,7 +1539,7 @@ # name: test_switch[switch.fake_profile_block_newly_registered_domains-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block newly registered domains', + : 'Fake Profile Block newly registered domains', }), 'context': , 'entity_id': 'switch.fake_profile_block_newly_registered_domains', @@ -1589,7 +1589,7 @@ # name: test_switch[switch.fake_profile_block_online_gaming-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block online gaming', + : 'Fake Profile Block online gaming', }), 'context': , 'entity_id': 'switch.fake_profile_block_online_gaming', @@ -1639,7 +1639,7 @@ # name: test_switch[switch.fake_profile_block_page-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block page', + : 'Fake Profile Block page', }), 'context': , 'entity_id': 'switch.fake_profile_block_page', @@ -1689,7 +1689,7 @@ # name: test_switch[switch.fake_profile_block_parked_domains-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block parked domains', + : 'Fake Profile Block parked domains', }), 'context': , 'entity_id': 'switch.fake_profile_block_parked_domains', @@ -1739,7 +1739,7 @@ # name: test_switch[switch.fake_profile_block_pinterest-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Pinterest', + : 'Fake Profile Block Pinterest', }), 'context': , 'entity_id': 'switch.fake_profile_block_pinterest', @@ -1789,7 +1789,7 @@ # name: test_switch[switch.fake_profile_block_piracy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block piracy', + : 'Fake Profile Block piracy', }), 'context': , 'entity_id': 'switch.fake_profile_block_piracy', @@ -1839,7 +1839,7 @@ # name: test_switch[switch.fake_profile_block_playstation_network-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block PlayStation Network', + : 'Fake Profile Block PlayStation Network', }), 'context': , 'entity_id': 'switch.fake_profile_block_playstation_network', @@ -1889,7 +1889,7 @@ # name: test_switch[switch.fake_profile_block_porn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block porn', + : 'Fake Profile Block porn', }), 'context': , 'entity_id': 'switch.fake_profile_block_porn', @@ -1939,7 +1939,7 @@ # name: test_switch[switch.fake_profile_block_prime_video-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Prime Video', + : 'Fake Profile Block Prime Video', }), 'context': , 'entity_id': 'switch.fake_profile_block_prime_video', @@ -1989,7 +1989,7 @@ # name: test_switch[switch.fake_profile_block_reddit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Reddit', + : 'Fake Profile Block Reddit', }), 'context': , 'entity_id': 'switch.fake_profile_block_reddit', @@ -2039,7 +2039,7 @@ # name: test_switch[switch.fake_profile_block_roblox-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Roblox', + : 'Fake Profile Block Roblox', }), 'context': , 'entity_id': 'switch.fake_profile_block_roblox', @@ -2089,7 +2089,7 @@ # name: test_switch[switch.fake_profile_block_signal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Signal', + : 'Fake Profile Block Signal', }), 'context': , 'entity_id': 'switch.fake_profile_block_signal', @@ -2139,7 +2139,7 @@ # name: test_switch[switch.fake_profile_block_skype-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Skype', + : 'Fake Profile Block Skype', }), 'context': , 'entity_id': 'switch.fake_profile_block_skype', @@ -2189,7 +2189,7 @@ # name: test_switch[switch.fake_profile_block_snapchat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Snapchat', + : 'Fake Profile Block Snapchat', }), 'context': , 'entity_id': 'switch.fake_profile_block_snapchat', @@ -2239,7 +2239,7 @@ # name: test_switch[switch.fake_profile_block_social_networks-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block social networks', + : 'Fake Profile Block social networks', }), 'context': , 'entity_id': 'switch.fake_profile_block_social_networks', @@ -2289,7 +2289,7 @@ # name: test_switch[switch.fake_profile_block_spotify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Spotify', + : 'Fake Profile Block Spotify', }), 'context': , 'entity_id': 'switch.fake_profile_block_spotify', @@ -2339,7 +2339,7 @@ # name: test_switch[switch.fake_profile_block_steam-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Steam', + : 'Fake Profile Block Steam', }), 'context': , 'entity_id': 'switch.fake_profile_block_steam', @@ -2389,7 +2389,7 @@ # name: test_switch[switch.fake_profile_block_telegram-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Telegram', + : 'Fake Profile Block Telegram', }), 'context': , 'entity_id': 'switch.fake_profile_block_telegram', @@ -2439,7 +2439,7 @@ # name: test_switch[switch.fake_profile_block_tiktok-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block TikTok', + : 'Fake Profile Block TikTok', }), 'context': , 'entity_id': 'switch.fake_profile_block_tiktok', @@ -2489,7 +2489,7 @@ # name: test_switch[switch.fake_profile_block_tinder-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Tinder', + : 'Fake Profile Block Tinder', }), 'context': , 'entity_id': 'switch.fake_profile_block_tinder', @@ -2539,7 +2539,7 @@ # name: test_switch[switch.fake_profile_block_tumblr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Tumblr', + : 'Fake Profile Block Tumblr', }), 'context': , 'entity_id': 'switch.fake_profile_block_tumblr', @@ -2589,7 +2589,7 @@ # name: test_switch[switch.fake_profile_block_twitch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Twitch', + : 'Fake Profile Block Twitch', }), 'context': , 'entity_id': 'switch.fake_profile_block_twitch', @@ -2639,7 +2639,7 @@ # name: test_switch[switch.fake_profile_block_video_streaming-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block video streaming', + : 'Fake Profile Block video streaming', }), 'context': , 'entity_id': 'switch.fake_profile_block_video_streaming', @@ -2689,7 +2689,7 @@ # name: test_switch[switch.fake_profile_block_vimeo-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Vimeo', + : 'Fake Profile Block Vimeo', }), 'context': , 'entity_id': 'switch.fake_profile_block_vimeo', @@ -2739,7 +2739,7 @@ # name: test_switch[switch.fake_profile_block_vk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block VK', + : 'Fake Profile Block VK', }), 'context': , 'entity_id': 'switch.fake_profile_block_vk', @@ -2789,7 +2789,7 @@ # name: test_switch[switch.fake_profile_block_whatsapp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block WhatsApp', + : 'Fake Profile Block WhatsApp', }), 'context': , 'entity_id': 'switch.fake_profile_block_whatsapp', @@ -2839,7 +2839,7 @@ # name: test_switch[switch.fake_profile_block_x_formerly_twitter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block X (formerly Twitter)', + : 'Fake Profile Block X (formerly Twitter)', }), 'context': , 'entity_id': 'switch.fake_profile_block_x_formerly_twitter', @@ -2889,7 +2889,7 @@ # name: test_switch[switch.fake_profile_block_xbox_network-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Xbox Network', + : 'Fake Profile Block Xbox Network', }), 'context': , 'entity_id': 'switch.fake_profile_block_xbox_network', @@ -2939,7 +2939,7 @@ # name: test_switch[switch.fake_profile_block_youtube-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block YouTube', + : 'Fake Profile Block YouTube', }), 'context': , 'entity_id': 'switch.fake_profile_block_youtube', @@ -2989,7 +2989,7 @@ # name: test_switch[switch.fake_profile_block_zoom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Block Zoom', + : 'Fake Profile Block Zoom', }), 'context': , 'entity_id': 'switch.fake_profile_block_zoom', @@ -3039,7 +3039,7 @@ # name: test_switch[switch.fake_profile_bypass_age_verification-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Bypass age verification', + : 'Fake Profile Bypass age verification', }), 'context': , 'entity_id': 'switch.fake_profile_bypass_age_verification', @@ -3089,7 +3089,7 @@ # name: test_switch[switch.fake_profile_cache_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Cache boost', + : 'Fake Profile Cache boost', }), 'context': , 'entity_id': 'switch.fake_profile_cache_boost', @@ -3139,7 +3139,7 @@ # name: test_switch[switch.fake_profile_cname_flattening-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile CNAME flattening', + : 'Fake Profile CNAME flattening', }), 'context': , 'entity_id': 'switch.fake_profile_cname_flattening', @@ -3189,7 +3189,7 @@ # name: test_switch[switch.fake_profile_cryptojacking_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Cryptojacking protection', + : 'Fake Profile Cryptojacking protection', }), 'context': , 'entity_id': 'switch.fake_profile_cryptojacking_protection', @@ -3239,7 +3239,7 @@ # name: test_switch[switch.fake_profile_dns_rebinding_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile DNS rebinding protection', + : 'Fake Profile DNS rebinding protection', }), 'context': , 'entity_id': 'switch.fake_profile_dns_rebinding_protection', @@ -3289,7 +3289,7 @@ # name: test_switch[switch.fake_profile_domain_generation_algorithms_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Domain generation algorithms protection', + : 'Fake Profile Domain generation algorithms protection', }), 'context': , 'entity_id': 'switch.fake_profile_domain_generation_algorithms_protection', @@ -3339,7 +3339,7 @@ # name: test_switch[switch.fake_profile_force_safesearch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Force SafeSearch', + : 'Fake Profile Force SafeSearch', }), 'context': , 'entity_id': 'switch.fake_profile_force_safesearch', @@ -3389,7 +3389,7 @@ # name: test_switch[switch.fake_profile_force_youtube_restricted_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Force YouTube restricted mode', + : 'Fake Profile Force YouTube restricted mode', }), 'context': , 'entity_id': 'switch.fake_profile_force_youtube_restricted_mode', @@ -3439,7 +3439,7 @@ # name: test_switch[switch.fake_profile_google_safe_browsing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Google safe browsing', + : 'Fake Profile Google safe browsing', }), 'context': , 'entity_id': 'switch.fake_profile_google_safe_browsing', @@ -3489,7 +3489,7 @@ # name: test_switch[switch.fake_profile_idn_homograph_attacks_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile IDN homograph attacks protection', + : 'Fake Profile IDN homograph attacks protection', }), 'context': , 'entity_id': 'switch.fake_profile_idn_homograph_attacks_protection', @@ -3539,7 +3539,7 @@ # name: test_switch[switch.fake_profile_logs-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Logs', + : 'Fake Profile Logs', }), 'context': , 'entity_id': 'switch.fake_profile_logs', @@ -3589,7 +3589,7 @@ # name: test_switch[switch.fake_profile_threat_intelligence_feeds-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Threat intelligence feeds', + : 'Fake Profile Threat intelligence feeds', }), 'context': , 'entity_id': 'switch.fake_profile_threat_intelligence_feeds', @@ -3639,7 +3639,7 @@ # name: test_switch[switch.fake_profile_typosquatting_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Typosquatting protection', + : 'Fake Profile Typosquatting protection', }), 'context': , 'entity_id': 'switch.fake_profile_typosquatting_protection', @@ -3689,7 +3689,7 @@ # name: test_switch[switch.fake_profile_web3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake Profile Web3', + : 'Fake Profile Web3', }), 'context': , 'entity_id': 'switch.fake_profile_web3', diff --git a/tests/components/nfandroidtv/snapshots/test_notify.ambr b/tests/components/nfandroidtv/snapshots/test_notify.ambr index e0c6fcf12aa..29e6cd40c08 100644 --- a/tests/components/nfandroidtv/snapshots/test_notify.ambr +++ b/tests/components/nfandroidtv/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.android_tv_fire_tv_1_2_3_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Android TV / Fire TV (1.2.3.4)', - 'supported_features': , + : 'Android TV / Fire TV (1.2.3.4)', + : , }), 'context': , 'entity_id': 'notify.android_tv_fire_tv_1_2_3_4', diff --git a/tests/components/nibe_heatpump/snapshots/test_binary_sensor.ambr b/tests/components/nibe_heatpump/snapshots/test_binary_sensor.ambr index 3e92982c09e..5e0fe8b546d 100644 --- a/tests/components/nibe_heatpump/snapshots/test_binary_sensor.ambr +++ b/tests/components/nibe_heatpump/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_update[Model.F1255-49239-OFF][binary_sensor.eb101_installed_49239-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1255 EB101 Installed', + : 'F1255 EB101 Installed', }), 'context': , 'entity_id': 'binary_sensor.eb101_installed_49239', @@ -89,7 +89,7 @@ # name: test_update[Model.F1255-49239-ON][binary_sensor.eb101_installed_49239-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1255 EB101 Installed', + : 'F1255 EB101 Installed', }), 'context': , 'entity_id': 'binary_sensor.eb101_installed_49239', diff --git a/tests/components/nibe_heatpump/snapshots/test_climate.ambr b/tests/components/nibe_heatpump/snapshots/test_climate.ambr index e15636c8f7b..6f755faadca 100644 --- a/tests/components/nibe_heatpump/snapshots/test_climate.ambr +++ b/tests/components/nibe_heatpump/snapshots/test_climate.ambr @@ -3,7 +3,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -12,7 +12,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -29,7 +29,7 @@ # name: test_active_accessory[Model.F1155-s2-climate.f1155_climate_system_s2][unavailable (not supported)] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : list([ , , @@ -37,7 +37,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 0.5, }), 'context': , @@ -52,7 +52,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S3', + : 'F1155 Climate System S3', : , : list([ , @@ -61,7 +61,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -78,7 +78,7 @@ # name: test_active_accessory[Model.F1155-s3-climate.f1155_climate_system_s3][unavailable (not supported)] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1155 Climate System S3', + : 'F1155 Climate System S3', : list([ , , @@ -86,7 +86,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 0.5, }), 'context': , @@ -101,7 +101,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -110,7 +110,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -128,7 +128,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -137,7 +137,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -155,7 +155,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -164,7 +164,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -182,7 +182,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -191,7 +191,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -209,7 +209,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -218,7 +218,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -236,7 +236,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -245,7 +245,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -263,7 +263,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -272,7 +272,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -290,7 +290,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F1155 Climate System S2', + : 'F1155 Climate System S2', : , : list([ , @@ -299,7 +299,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -317,7 +317,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -325,7 +325,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : 21.0, : 0.5, @@ -343,7 +343,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -351,7 +351,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -369,7 +369,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -377,7 +377,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -395,7 +395,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -403,7 +403,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : 21.0, : 0.5, @@ -421,7 +421,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -429,7 +429,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : 21.0, : 0.5, @@ -447,7 +447,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -455,7 +455,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : 21.0, : 0.5, @@ -473,7 +473,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -481,7 +481,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -499,7 +499,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'F730 Climate System S1', + : 'F730 Climate System S1', : , : list([ , @@ -507,7 +507,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -525,7 +525,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -534,7 +534,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -552,7 +552,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -561,7 +561,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -579,7 +579,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -588,7 +588,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -606,7 +606,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -615,7 +615,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -633,7 +633,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -642,7 +642,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -660,7 +660,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -669,7 +669,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 30.0, : 21.0, : 0.5, @@ -687,7 +687,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -696,7 +696,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, @@ -714,7 +714,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'S320 Climate System S1', + : 'S320 Climate System S1', : , : list([ , @@ -723,7 +723,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : None, : None, : 0.5, diff --git a/tests/components/nibe_heatpump/snapshots/test_coordinator.ambr b/tests/components/nibe_heatpump/snapshots/test_coordinator.ambr index a39feb27267..c02b8277e5b 100644 --- a/tests/components/nibe_heatpump/snapshots/test_coordinator.ambr +++ b/tests/components/nibe_heatpump/snapshots/test_coordinator.ambr @@ -2,7 +2,7 @@ # name: test_invalid_coil[Sensor is available] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -19,7 +19,7 @@ # name: test_invalid_coil[Sensor is not available] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -36,7 +36,7 @@ # name: test_partial_refresh[1. Sensor is available] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -53,12 +53,12 @@ # name: test_partial_refresh[2. Sensor is not available] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Min supply climate system 1', + : 'S320 Min supply climate system 1', : 80.0, : 5.0, : , : 0.1, - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'number.min_supply_climate_system_1_40035', @@ -74,7 +74,7 @@ # name: test_pushed_update[1. initial values] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -91,7 +91,7 @@ # name: test_pushed_update[2. pushed values] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -108,7 +108,7 @@ # name: test_pushed_update[3. seeded values] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -125,7 +125,7 @@ # name: test_pushed_update[4. final values] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , diff --git a/tests/components/nibe_heatpump/snapshots/test_number.ambr b/tests/components/nibe_heatpump/snapshots/test_number.ambr index bdc4560201f..aa6bc808cad 100644 --- a/tests/components/nibe_heatpump/snapshots/test_number.ambr +++ b/tests/components/nibe_heatpump/snapshots/test_number.ambr @@ -2,12 +2,12 @@ # name: test_set_value_same StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1155 Room sensor setpoint S1', + : 'F1155 Room sensor setpoint S1', : 30.0, : 5.0, : , : 0.1, - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'number.room_sensor_setpoint_s1_47398', @@ -20,7 +20,7 @@ # name: test_update[Model.F1155-47011-number.heat_offset_s1_47011--10] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1155 Heat Offset S1', + : 'F1155 Heat Offset S1', : 10.0, : -10.0, : , @@ -37,7 +37,7 @@ # name: test_update[Model.F1155-47011-number.heat_offset_s1_47011-10] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1155 Heat Offset S1', + : 'F1155 Heat Offset S1', : 10.0, : -10.0, : , @@ -57,12 +57,12 @@ # name: test_update[Model.F750-47062-number.hw_charge_offset_47062--10] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F750 HW charge offset', + : 'F750 HW charge offset', : 12.7, : -12.8, : , : 0.1, - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'number.hw_charge_offset_47062', @@ -75,12 +75,12 @@ # name: test_update[Model.F750-47062-number.hw_charge_offset_47062-10] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F750 HW charge offset', + : 'F750 HW charge offset', : 12.7, : -12.8, : , : 0.1, - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'number.hw_charge_offset_47062', @@ -93,12 +93,12 @@ # name: test_update[Model.F750-47062-number.hw_charge_offset_47062-None] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F750 HW charge offset', + : 'F750 HW charge offset', : 12.7, : -12.8, : , : 0.1, - 'unit_of_measurement': '°C', + : '°C', }), 'context': , 'entity_id': 'number.hw_charge_offset_47062', @@ -111,7 +111,7 @@ # name: test_update[Model.S320-40031-number.heating_offset_climate_system_1_40031--10] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -128,7 +128,7 @@ # name: test_update[Model.S320-40031-number.heating_offset_climate_system_1_40031-10] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , @@ -145,7 +145,7 @@ # name: test_update[Model.S320-40031-number.heating_offset_climate_system_1_40031-None] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'S320 Heating offset climate system 1', + : 'S320 Heating offset climate system 1', : 10.0, : -10.0, : , diff --git a/tests/components/nibe_heatpump/snapshots/test_switch.ambr b/tests/components/nibe_heatpump/snapshots/test_switch.ambr index 66965351d16..5b331e0425c 100644 --- a/tests/components/nibe_heatpump/snapshots/test_switch.ambr +++ b/tests/components/nibe_heatpump/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_update[Model.F1255-48043-ACTIVE][switch.holiday_activated_48043-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1255 Holiday - Activated', + : 'F1255 Holiday - Activated', }), 'context': , 'entity_id': 'switch.holiday_activated_48043', @@ -89,7 +89,7 @@ # name: test_update[Model.F1255-48043-INACTIVE][switch.holiday_activated_48043-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1255 Holiday - Activated', + : 'F1255 Holiday - Activated', }), 'context': , 'entity_id': 'switch.holiday_activated_48043', @@ -139,7 +139,7 @@ # name: test_update[Model.F1255-48071-OFF][switch.flm_1_accessory_48071-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1255 FLM 1 accessory', + : 'F1255 FLM 1 accessory', }), 'context': , 'entity_id': 'switch.flm_1_accessory_48071', @@ -189,7 +189,7 @@ # name: test_update[Model.F1255-48071-ON][switch.flm_1_accessory_48071-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'F1255 FLM 1 accessory', + : 'F1255 FLM 1 accessory', }), 'context': , 'entity_id': 'switch.flm_1_accessory_48071', diff --git a/tests/components/nice_go/snapshots/test_cover.ambr b/tests/components/nice_go/snapshots/test_cover.ambr index 4504256bee8..c1c8875f5ed 100644 --- a/tests/components/nice_go/snapshots/test_cover.ambr +++ b/tests/components/nice_go/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_covers[cover.test_garage_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Test Garage 1', + : 'garage', + : 'Test Garage 1', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_garage_1', @@ -92,10 +92,10 @@ # name: test_covers[cover.test_garage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Test Garage 2', + : 'garage', + : 'Test Garage 2', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_garage_2', @@ -145,10 +145,10 @@ # name: test_covers[cover.test_garage_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gate', - 'friendly_name': 'Test Garage 3', + : 'gate', + : 'Test Garage 3', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_garage_3', @@ -198,10 +198,10 @@ # name: test_covers[cover.test_garage_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Test Garage 4', + : 'garage', + : 'Test Garage 4', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_garage_4', diff --git a/tests/components/nice_go/snapshots/test_init.ambr b/tests/components/nice_go/snapshots/test_init.ambr index c2a2164510c..c61cb5a3c3f 100644 --- a/tests/components/nice_go/snapshots/test_init.ambr +++ b/tests/components/nice_go/snapshots/test_init.ambr @@ -2,10 +2,10 @@ # name: test_on_data_none_parsed StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Test Garage 1', + : 'garage', + : 'Test Garage 1', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_garage_1', diff --git a/tests/components/nice_go/snapshots/test_light.ambr b/tests/components/nice_go/snapshots/test_light.ambr index 48f22f561be..1c6fed47c96 100644 --- a/tests/components/nice_go/snapshots/test_light.ambr +++ b/tests/components/nice_go/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Test Garage 1 Light', + : 'Test Garage 1 Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_garage_1_light', @@ -103,11 +103,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Test Garage 2 Light', + : 'Test Garage 2 Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_garage_2_light', diff --git a/tests/components/niko_home_control/snapshots/test_climate.ambr b/tests/components/niko_home_control/snapshots/test_climate.ambr index 8e3454ae6bb..69287df6d53 100644 --- a/tests/components/niko_home_control/snapshots/test_climate.ambr +++ b/tests/components/niko_home_control/snapshots/test_climate.ambr @@ -56,7 +56,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 180, - 'friendly_name': 'thermostat', + : 'thermostat', : list([ , , @@ -73,7 +73,7 @@ 'prog2', 'prog3', ]), - 'supported_features': , + : , : 200, }), 'context': , diff --git a/tests/components/niko_home_control/snapshots/test_cover.ambr b/tests/components/niko_home_control/snapshots/test_cover.ambr index 8c8d511857e..c2aec92a84b 100644 --- a/tests/components/niko_home_control/snapshots/test_cover.ambr +++ b/tests/components/niko_home_control/snapshots/test_cover.ambr @@ -39,9 +39,9 @@ # name: test_cover[cover.room_cover-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'cover', + : 'cover', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.room_cover', diff --git a/tests/components/niko_home_control/snapshots/test_light.ambr b/tests/components/niko_home_control/snapshots/test_light.ambr index 67fb7051539..1727e81f26c 100644 --- a/tests/components/niko_home_control/snapshots/test_light.ambr +++ b/tests/components/niko_home_control/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : 100, : , - 'friendly_name': 'dimmable light', + : 'dimmable light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.room_dimmable_light', @@ -104,11 +104,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'light', + : 'light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.room_light', diff --git a/tests/components/niko_home_control/snapshots/test_scene.ambr b/tests/components/niko_home_control/snapshots/test_scene.ambr index 7198a8b1a2e..eceb20f2e2d 100644 --- a/tests/components/niko_home_control/snapshots/test_scene.ambr +++ b/tests/components/niko_home_control/snapshots/test_scene.ambr @@ -39,7 +39,7 @@ # name: test_entities[scene.room_scene-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'scene', + : 'scene', }), 'context': , 'entity_id': 'scene.room_scene', diff --git a/tests/components/nina/snapshots/test_binary_sensor.ambr b/tests/components/nina/snapshots/test_binary_sensor.ambr index 7dd2415ba5e..d5106b345b7 100644 --- a/tests/components/nina/snapshots/test_binary_sensor.ambr +++ b/tests/components/nina/snapshots/test_binary_sensor.ambr @@ -41,9 +41,9 @@ 'attributes': ReadOnlyDict({ 'affected_areas': 'Gemeinde Oberreichenbach, Gemeinde Neuweiler, Stadt Nagold, Stadt Neubulach, Gemeinde Schömberg, Gemeinde Simmersfeld, Gemeinde Simmozheim, Gemeinde Rohrdorf, Gemeinde Ostelsheim, Gemeinde Ebhausen, Gemeinde Egenhausen, Gemeinde Dobel, Stadt Bad Liebenzell, Stadt Solingen, Stadt Haiterbach, Stadt Bad Herrenalb, Gemeinde Höfen an der Enz, Gemeinde Gechingen, Gemeinde Enzklösterle, Gemeinde Gutach (Schwarzwaldbahn) und 3392 weitere.', 'description': 'Es treten Sturmböen mit Geschwindigkeiten zwischen 70 km/h (20m/s, 38kn, Bft 8) und 85 km/h (24m/s, 47kn, Bft 9) aus westlicher Richtung auf. In Schauernähe sowie in exponierten Lagen muss mit schweren Sturmböen bis 90 km/h (25m/s, 48kn, Bft 10) gerechnet werden.', - 'device_class': 'safety', + : 'safety', 'expires': '3021-11-22T05:19:00+01:00', - 'friendly_name': 'Aach Warning 1', + : 'Aach Warning 1', 'headline': 'Ausfall Notruf 112', 'id': 'mow.DE-NW-BN-SE030-20201014-30-000', 'recommended_actions': 'ACHTUNG! Hinweis auf mögliche Gefahren: Es können zum Beispiel einzelne Äste herabstürzen. Achte besonders auf herabfallende Gegenstände.', @@ -101,8 +101,8 @@ # name: test_binary_sensors[binary_sensor.aach_warning_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Aach Warning 2', + : 'safety', + : 'Aach Warning 2', }), 'context': , 'entity_id': 'binary_sensor.aach_warning_2', @@ -152,8 +152,8 @@ # name: test_binary_sensors[binary_sensor.aach_warning_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Aach Warning 3', + : 'safety', + : 'Aach Warning 3', }), 'context': , 'entity_id': 'binary_sensor.aach_warning_3', @@ -203,8 +203,8 @@ # name: test_binary_sensors[binary_sensor.aach_warning_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Aach Warning 4', + : 'safety', + : 'Aach Warning 4', }), 'context': , 'entity_id': 'binary_sensor.aach_warning_4', @@ -254,8 +254,8 @@ # name: test_binary_sensors[binary_sensor.aach_warning_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Aach Warning 5', + : 'safety', + : 'Aach Warning 5', }), 'context': , 'entity_id': 'binary_sensor.aach_warning_5', diff --git a/tests/components/nina/snapshots/test_sensor.ambr b/tests/components/nina/snapshots/test_sensor.ambr index 21ad2528cf7..55e975e3f26 100644 --- a/tests/components/nina/snapshots/test_sensor.ambr +++ b/tests/components/nina/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensors[sensor.aach_affected_areas_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Affected areas 1', + : 'Aach Affected areas 1', }), 'context': , 'entity_id': 'sensor.aach_affected_areas_1', @@ -89,7 +89,7 @@ # name: test_sensors[sensor.aach_affected_areas_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Affected areas 2', + : 'Aach Affected areas 2', }), 'context': , 'entity_id': 'sensor.aach_affected_areas_2', @@ -139,7 +139,7 @@ # name: test_sensors[sensor.aach_affected_areas_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Affected areas 3', + : 'Aach Affected areas 3', }), 'context': , 'entity_id': 'sensor.aach_affected_areas_3', @@ -189,7 +189,7 @@ # name: test_sensors[sensor.aach_affected_areas_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Affected areas 4', + : 'Aach Affected areas 4', }), 'context': , 'entity_id': 'sensor.aach_affected_areas_4', @@ -239,7 +239,7 @@ # name: test_sensors[sensor.aach_affected_areas_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Affected areas 5', + : 'Aach Affected areas 5', }), 'context': , 'entity_id': 'sensor.aach_affected_areas_5', @@ -289,8 +289,8 @@ # name: test_sensors[sensor.aach_expires_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Expires 1', + : 'timestamp', + : 'Aach Expires 1', }), 'context': , 'entity_id': 'sensor.aach_expires_1', @@ -340,8 +340,8 @@ # name: test_sensors[sensor.aach_expires_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Expires 2', + : 'timestamp', + : 'Aach Expires 2', }), 'context': , 'entity_id': 'sensor.aach_expires_2', @@ -391,8 +391,8 @@ # name: test_sensors[sensor.aach_expires_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Expires 3', + : 'timestamp', + : 'Aach Expires 3', }), 'context': , 'entity_id': 'sensor.aach_expires_3', @@ -442,8 +442,8 @@ # name: test_sensors[sensor.aach_expires_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Expires 4', + : 'timestamp', + : 'Aach Expires 4', }), 'context': , 'entity_id': 'sensor.aach_expires_4', @@ -493,8 +493,8 @@ # name: test_sensors[sensor.aach_expires_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Expires 5', + : 'timestamp', + : 'Aach Expires 5', }), 'context': , 'entity_id': 'sensor.aach_expires_5', @@ -544,7 +544,7 @@ # name: test_sensors[sensor.aach_headline_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Headline 1', + : 'Aach Headline 1', }), 'context': , 'entity_id': 'sensor.aach_headline_1', @@ -594,7 +594,7 @@ # name: test_sensors[sensor.aach_headline_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Headline 2', + : 'Aach Headline 2', }), 'context': , 'entity_id': 'sensor.aach_headline_2', @@ -644,7 +644,7 @@ # name: test_sensors[sensor.aach_headline_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Headline 3', + : 'Aach Headline 3', }), 'context': , 'entity_id': 'sensor.aach_headline_3', @@ -694,7 +694,7 @@ # name: test_sensors[sensor.aach_headline_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Headline 4', + : 'Aach Headline 4', }), 'context': , 'entity_id': 'sensor.aach_headline_4', @@ -744,7 +744,7 @@ # name: test_sensors[sensor.aach_headline_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Headline 5', + : 'Aach Headline 5', }), 'context': , 'entity_id': 'sensor.aach_headline_5', @@ -794,7 +794,7 @@ # name: test_sensors[sensor.aach_more_information_url_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach More information URL 1', + : 'Aach More information URL 1', }), 'context': , 'entity_id': 'sensor.aach_more_information_url_1', @@ -844,7 +844,7 @@ # name: test_sensors[sensor.aach_more_information_url_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach More information URL 2', + : 'Aach More information URL 2', }), 'context': , 'entity_id': 'sensor.aach_more_information_url_2', @@ -894,7 +894,7 @@ # name: test_sensors[sensor.aach_more_information_url_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach More information URL 3', + : 'Aach More information URL 3', }), 'context': , 'entity_id': 'sensor.aach_more_information_url_3', @@ -944,7 +944,7 @@ # name: test_sensors[sensor.aach_more_information_url_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach More information URL 4', + : 'Aach More information URL 4', }), 'context': , 'entity_id': 'sensor.aach_more_information_url_4', @@ -994,7 +994,7 @@ # name: test_sensors[sensor.aach_more_information_url_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach More information URL 5', + : 'Aach More information URL 5', }), 'context': , 'entity_id': 'sensor.aach_more_information_url_5', @@ -1044,7 +1044,7 @@ # name: test_sensors[sensor.aach_sender_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Sender 1', + : 'Aach Sender 1', }), 'context': , 'entity_id': 'sensor.aach_sender_1', @@ -1094,7 +1094,7 @@ # name: test_sensors[sensor.aach_sender_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Sender 2', + : 'Aach Sender 2', }), 'context': , 'entity_id': 'sensor.aach_sender_2', @@ -1144,7 +1144,7 @@ # name: test_sensors[sensor.aach_sender_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Sender 3', + : 'Aach Sender 3', }), 'context': , 'entity_id': 'sensor.aach_sender_3', @@ -1194,7 +1194,7 @@ # name: test_sensors[sensor.aach_sender_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Sender 4', + : 'Aach Sender 4', }), 'context': , 'entity_id': 'sensor.aach_sender_4', @@ -1244,7 +1244,7 @@ # name: test_sensors[sensor.aach_sender_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aach Sender 5', + : 'Aach Sender 5', }), 'context': , 'entity_id': 'sensor.aach_sender_5', @@ -1294,8 +1294,8 @@ # name: test_sensors[sensor.aach_sent_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Sent 1', + : 'timestamp', + : 'Aach Sent 1', }), 'context': , 'entity_id': 'sensor.aach_sent_1', @@ -1345,8 +1345,8 @@ # name: test_sensors[sensor.aach_sent_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Sent 2', + : 'timestamp', + : 'Aach Sent 2', }), 'context': , 'entity_id': 'sensor.aach_sent_2', @@ -1396,8 +1396,8 @@ # name: test_sensors[sensor.aach_sent_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Sent 3', + : 'timestamp', + : 'Aach Sent 3', }), 'context': , 'entity_id': 'sensor.aach_sent_3', @@ -1447,8 +1447,8 @@ # name: test_sensors[sensor.aach_sent_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Sent 4', + : 'timestamp', + : 'Aach Sent 4', }), 'context': , 'entity_id': 'sensor.aach_sent_4', @@ -1498,8 +1498,8 @@ # name: test_sensors[sensor.aach_sent_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Sent 5', + : 'timestamp', + : 'Aach Sent 5', }), 'context': , 'entity_id': 'sensor.aach_sent_5', @@ -1557,8 +1557,8 @@ # name: test_sensors[sensor.aach_severity_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aach Severity 1', + : 'enum', + : 'Aach Severity 1', : list([ 'extreme', 'severe', @@ -1623,8 +1623,8 @@ # name: test_sensors[sensor.aach_severity_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aach Severity 2', + : 'enum', + : 'Aach Severity 2', : list([ 'extreme', 'severe', @@ -1689,8 +1689,8 @@ # name: test_sensors[sensor.aach_severity_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aach Severity 3', + : 'enum', + : 'Aach Severity 3', : list([ 'extreme', 'severe', @@ -1755,8 +1755,8 @@ # name: test_sensors[sensor.aach_severity_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aach Severity 4', + : 'enum', + : 'Aach Severity 4', : list([ 'extreme', 'severe', @@ -1821,8 +1821,8 @@ # name: test_sensors[sensor.aach_severity_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Aach Severity 5', + : 'enum', + : 'Aach Severity 5', : list([ 'extreme', 'severe', @@ -1879,8 +1879,8 @@ # name: test_sensors[sensor.aach_start_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Start 1', + : 'timestamp', + : 'Aach Start 1', }), 'context': , 'entity_id': 'sensor.aach_start_1', @@ -1930,8 +1930,8 @@ # name: test_sensors[sensor.aach_start_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Start 2', + : 'timestamp', + : 'Aach Start 2', }), 'context': , 'entity_id': 'sensor.aach_start_2', @@ -1981,8 +1981,8 @@ # name: test_sensors[sensor.aach_start_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Start 3', + : 'timestamp', + : 'Aach Start 3', }), 'context': , 'entity_id': 'sensor.aach_start_3', @@ -2032,8 +2032,8 @@ # name: test_sensors[sensor.aach_start_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Start 4', + : 'timestamp', + : 'Aach Start 4', }), 'context': , 'entity_id': 'sensor.aach_start_4', @@ -2083,8 +2083,8 @@ # name: test_sensors[sensor.aach_start_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Aach Start 5', + : 'timestamp', + : 'Aach Start 5', }), 'context': , 'entity_id': 'sensor.aach_start_5', diff --git a/tests/components/nintendo_parental_controls/snapshots/test_number.ambr b/tests/components/nintendo_parental_controls/snapshots/test_number.ambr index 3a16bb495b5..331b49fc5c8 100644 --- a/tests/components/nintendo_parental_controls/snapshots/test_number.ambr +++ b/tests/components/nintendo_parental_controls/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number[number.home_assistant_test_max_screentime_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Assistant Test Max screentime today', + : 'Home Assistant Test Max screentime today', : 360, : -1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.home_assistant_test_max_screentime_today', diff --git a/tests/components/nintendo_parental_controls/snapshots/test_select.ambr b/tests/components/nintendo_parental_controls/snapshots/test_select.ambr index 94539dd4772..d9b4360a7b9 100644 --- a/tests/components/nintendo_parental_controls/snapshots/test_select.ambr +++ b/tests/components/nintendo_parental_controls/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_select[select.home_assistant_test_restriction_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Assistant Test Restriction mode', + : 'Home Assistant Test Restriction mode', : list([ 'daily', 'each_day_of_the_week', diff --git a/tests/components/nintendo_parental_controls/snapshots/test_sensor.ambr b/tests/components/nintendo_parental_controls/snapshots/test_sensor.ambr index fc3caf3c23f..53eb95ada40 100644 --- a/tests/components/nintendo_parental_controls/snapshots/test_sensor.ambr +++ b/tests/components/nintendo_parental_controls/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.home_assistant_test_extended_screen_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Home Assistant Test Extended screen time', + : 'duration', + : 'Home Assistant Test Extended screen time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_assistant_test_extended_screen_time', @@ -102,11 +102,11 @@ # name: test_sensor[sensor.home_assistant_test_ha_gamer_used_screen_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'entity_picture': 'http://localhost/image.png', - 'friendly_name': 'Home Assistant Test HA Gamer used screen time', + : 'duration', + : 'http://localhost/image.png', + : 'Home Assistant Test HA Gamer used screen time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_assistant_test_ha_gamer_used_screen_time', @@ -161,10 +161,10 @@ # name: test_sensor[sensor.home_assistant_test_screen_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Home Assistant Test Screen time remaining', + : 'duration', + : 'Home Assistant Test Screen time remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_assistant_test_screen_time_remaining', @@ -219,10 +219,10 @@ # name: test_sensor[sensor.home_assistant_test_used_screen_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Home Assistant Test Used screen time', + : 'duration', + : 'Home Assistant Test Used screen time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_assistant_test_used_screen_time', diff --git a/tests/components/nintendo_parental_controls/snapshots/test_switch.ambr b/tests/components/nintendo_parental_controls/snapshots/test_switch.ambr index c5093c7c758..dbe46268af7 100644 --- a/tests/components/nintendo_parental_controls/snapshots/test_switch.ambr +++ b/tests/components/nintendo_parental_controls/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch[switch.home_assistant_test_suspend_software-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Home Assistant Test Suspend software', + : 'switch', + : 'Home Assistant Test Suspend software', }), 'context': , 'entity_id': 'switch.home_assistant_test_suspend_software', diff --git a/tests/components/nintendo_parental_controls/snapshots/test_time.ambr b/tests/components/nintendo_parental_controls/snapshots/test_time.ambr index f682f6db279..7130907792a 100644 --- a/tests/components/nintendo_parental_controls/snapshots/test_time.ambr +++ b/tests/components/nintendo_parental_controls/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_time[time.home_assistant_test_bedtime_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Assistant Test Bedtime alarm', + : 'Home Assistant Test Bedtime alarm', }), 'context': , 'entity_id': 'time.home_assistant_test_bedtime_alarm', @@ -89,7 +89,7 @@ # name: test_time[time.home_assistant_test_bedtime_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Assistant Test Bedtime end time', + : 'Home Assistant Test Bedtime end time', }), 'context': , 'entity_id': 'time.home_assistant_test_bedtime_end_time', diff --git a/tests/components/nobo_hub/snapshots/test_climate.ambr b/tests/components/nobo_hub/snapshots/test_climate.ambr index fa42e402969..d84199b95f1 100644 --- a/tests/components/nobo_hub/snapshots/test_climate.ambr +++ b/tests/components/nobo_hub/snapshots/test_climate.ambr @@ -54,7 +54,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'Living room', + : 'Living room', : list([ , , @@ -68,7 +68,7 @@ 'eco', 'away', ]), - 'supported_features': , + : , : 21, : 17, : 1, diff --git a/tests/components/nobo_hub/snapshots/test_select.ambr b/tests/components/nobo_hub/snapshots/test_select.ambr index 9292daa1f20..7c77c834a0c 100644 --- a/tests/components/nobo_hub/snapshots/test_select.ambr +++ b/tests/components/nobo_hub/snapshots/test_select.ambr @@ -43,7 +43,7 @@ # name: test_select_entities[select.living_room_living_room_week_profile-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room Week profile', + : 'Living room Week profile', : list([ 'Default', ]), @@ -103,8 +103,8 @@ # name: test_select_entities[select.my_eco_hub_global_override-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'nobo_hub__override', - 'friendly_name': 'My Eco Hub Global override', + : 'nobo_hub__override', + : 'My Eco Hub Global override', : list([ 'none', 'away', diff --git a/tests/components/nobo_hub/snapshots/test_sensor.ambr b/tests/components/nobo_hub/snapshots/test_sensor.ambr index 4245bfcd9fd..91b8f405122 100644 --- a/tests/components/nobo_hub/snapshots/test_sensor.ambr +++ b/tests/components/nobo_hub/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_entities[sensor.living_room_floor_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Floor sensor Temperature', + : 'temperature', + : 'Floor sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_floor_sensor_temperature', diff --git a/tests/components/nordpool/snapshots/test_binary_sensor.ambr b/tests/components/nordpool/snapshots/test_binary_sensor.ambr index db1aae72763..72c24af1a26 100644 --- a/tests/components/nordpool/snapshots/test_binary_sensor.ambr +++ b/tests/components/nordpool/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor_off[load_platforms0][binary_sensor.nord_pool_se3_tomorrow_price_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Tomorrow price available', + : 'Nord Pool SE3 Tomorrow price available', }), 'context': , 'entity_id': 'binary_sensor.nord_pool_se3_tomorrow_price_available', @@ -89,7 +89,7 @@ # name: test_binary_sensor_off[load_platforms0][binary_sensor.nord_pool_se4_tomorrow_price_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Tomorrow price available', + : 'Nord Pool SE4 Tomorrow price available', }), 'context': , 'entity_id': 'binary_sensor.nord_pool_se4_tomorrow_price_available', @@ -139,7 +139,7 @@ # name: test_binary_sensor_on[load_platforms0][binary_sensor.nord_pool_se3_tomorrow_price_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Tomorrow price available', + : 'Nord Pool SE3 Tomorrow price available', }), 'context': , 'entity_id': 'binary_sensor.nord_pool_se3_tomorrow_price_available', @@ -189,7 +189,7 @@ # name: test_binary_sensor_on[load_platforms0][binary_sensor.nord_pool_se4_tomorrow_price_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Tomorrow price available', + : 'Nord Pool SE4 Tomorrow price available', }), 'context': , 'entity_id': 'binary_sensor.nord_pool_se4_tomorrow_price_available', diff --git a/tests/components/nordpool/snapshots/test_sensor.ambr b/tests/components/nordpool/snapshots/test_sensor.ambr index 5ae92f69ce5..00a265ac8a3 100644 --- a/tests/components/nordpool/snapshots/test_sensor.ambr +++ b/tests/components/nordpool/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_currency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Currency', + : 'Nord Pool SE3 Currency', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_currency', @@ -94,9 +94,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_current_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Current price', + : 'Nord Pool SE3 Current price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_current_price', @@ -151,9 +151,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_daily_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Daily average', + : 'Nord Pool SE3 Daily average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_daily_average', @@ -205,7 +205,7 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_exchange_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Exchange rate', + : 'Nord Pool SE3 Exchange rate', : , }), 'context': , @@ -260,9 +260,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'end': '2025-10-01T17:15:00+00:00', - 'friendly_name': 'Nord Pool SE3 Highest price', + : 'Nord Pool SE3 Highest price', 'start': '2025-10-01T17:00:00+00:00', - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_highest_price', @@ -312,8 +312,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_last_updated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE3 Last updated', + : 'timestamp', + : 'Nord Pool SE3 Last updated', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_last_updated', @@ -367,9 +367,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'end': '2025-10-01T02:15:00+00:00', - 'friendly_name': 'Nord Pool SE3 Lowest price', + : 'Nord Pool SE3 Lowest price', 'start': '2025-10-01T02:00:00+00:00', - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_lowest_price', @@ -422,8 +422,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_next_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Next price', - 'unit_of_measurement': 'SEK/kWh', + : 'Nord Pool SE3 Next price', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_next_price', @@ -478,9 +478,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_1_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Off-peak 1 average', + : 'Nord Pool SE3 Off-peak 1 average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_1_average', @@ -535,9 +535,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_1_highest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Off-peak 1 highest price', + : 'Nord Pool SE3 Off-peak 1 highest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_1_highest_price', @@ -592,9 +592,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_1_lowest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Off-peak 1 lowest price', + : 'Nord Pool SE3 Off-peak 1 lowest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_1_lowest_price', @@ -644,8 +644,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_1_time_from-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE3 Off-peak 1 time from', + : 'timestamp', + : 'Nord Pool SE3 Off-peak 1 time from', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_1_time_from', @@ -695,8 +695,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_1_time_until-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE3 Off-peak 1 time until', + : 'timestamp', + : 'Nord Pool SE3 Off-peak 1 time until', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_1_time_until', @@ -751,9 +751,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_2_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Off-peak 2 average', + : 'Nord Pool SE3 Off-peak 2 average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_2_average', @@ -808,9 +808,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_2_highest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Off-peak 2 highest price', + : 'Nord Pool SE3 Off-peak 2 highest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_2_highest_price', @@ -865,9 +865,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_2_lowest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Off-peak 2 lowest price', + : 'Nord Pool SE3 Off-peak 2 lowest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_2_lowest_price', @@ -917,8 +917,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_2_time_from-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE3 Off-peak 2 time from', + : 'timestamp', + : 'Nord Pool SE3 Off-peak 2 time from', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_2_time_from', @@ -968,8 +968,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_off_peak_2_time_until-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE3 Off-peak 2 time until', + : 'timestamp', + : 'Nord Pool SE3 Off-peak 2 time until', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_off_peak_2_time_until', @@ -1024,9 +1024,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_peak_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Peak average', + : 'Nord Pool SE3 Peak average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_peak_average', @@ -1081,9 +1081,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_peak_highest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Peak highest price', + : 'Nord Pool SE3 Peak highest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_peak_highest_price', @@ -1138,9 +1138,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_peak_lowest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Peak lowest price', + : 'Nord Pool SE3 Peak lowest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_peak_lowest_price', @@ -1190,8 +1190,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_peak_time_from-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE3 Peak time from', + : 'timestamp', + : 'Nord Pool SE3 Peak time from', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_peak_time_from', @@ -1241,8 +1241,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_peak_time_until-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE3 Peak time until', + : 'timestamp', + : 'Nord Pool SE3 Peak time until', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_peak_time_until', @@ -1295,8 +1295,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se3_previous_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE3 Previous price', - 'unit_of_measurement': 'SEK/kWh', + : 'Nord Pool SE3 Previous price', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se3_previous_price', @@ -1346,7 +1346,7 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_currency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Currency', + : 'Nord Pool SE4 Currency', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_currency', @@ -1401,9 +1401,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_current_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Current price', + : 'Nord Pool SE4 Current price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_current_price', @@ -1458,9 +1458,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_daily_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Daily average', + : 'Nord Pool SE4 Daily average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_daily_average', @@ -1512,7 +1512,7 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_exchange_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Exchange rate', + : 'Nord Pool SE4 Exchange rate', : , }), 'context': , @@ -1567,9 +1567,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'end': '2025-10-01T17:15:00+00:00', - 'friendly_name': 'Nord Pool SE4 Highest price', + : 'Nord Pool SE4 Highest price', 'start': '2025-10-01T17:00:00+00:00', - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_highest_price', @@ -1619,8 +1619,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_last_updated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE4 Last updated', + : 'timestamp', + : 'Nord Pool SE4 Last updated', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_last_updated', @@ -1674,9 +1674,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'end': '2025-10-01T18:15:00+00:00', - 'friendly_name': 'Nord Pool SE4 Lowest price', + : 'Nord Pool SE4 Lowest price', 'start': '2025-10-01T18:00:00+00:00', - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_lowest_price', @@ -1729,8 +1729,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_next_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Next price', - 'unit_of_measurement': 'SEK/kWh', + : 'Nord Pool SE4 Next price', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_next_price', @@ -1785,9 +1785,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_1_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Off-peak 1 average', + : 'Nord Pool SE4 Off-peak 1 average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_1_average', @@ -1842,9 +1842,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_1_highest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Off-peak 1 highest price', + : 'Nord Pool SE4 Off-peak 1 highest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_1_highest_price', @@ -1899,9 +1899,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_1_lowest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Off-peak 1 lowest price', + : 'Nord Pool SE4 Off-peak 1 lowest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_1_lowest_price', @@ -1951,8 +1951,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_1_time_from-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE4 Off-peak 1 time from', + : 'timestamp', + : 'Nord Pool SE4 Off-peak 1 time from', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_1_time_from', @@ -2002,8 +2002,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_1_time_until-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE4 Off-peak 1 time until', + : 'timestamp', + : 'Nord Pool SE4 Off-peak 1 time until', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_1_time_until', @@ -2058,9 +2058,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_2_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Off-peak 2 average', + : 'Nord Pool SE4 Off-peak 2 average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_2_average', @@ -2115,9 +2115,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_2_highest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Off-peak 2 highest price', + : 'Nord Pool SE4 Off-peak 2 highest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_2_highest_price', @@ -2172,9 +2172,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_2_lowest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Off-peak 2 lowest price', + : 'Nord Pool SE4 Off-peak 2 lowest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_2_lowest_price', @@ -2224,8 +2224,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_2_time_from-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE4 Off-peak 2 time from', + : 'timestamp', + : 'Nord Pool SE4 Off-peak 2 time from', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_2_time_from', @@ -2275,8 +2275,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_off_peak_2_time_until-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE4 Off-peak 2 time until', + : 'timestamp', + : 'Nord Pool SE4 Off-peak 2 time until', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_off_peak_2_time_until', @@ -2331,9 +2331,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_peak_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Peak average', + : 'Nord Pool SE4 Peak average', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_peak_average', @@ -2388,9 +2388,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_peak_highest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Peak highest price', + : 'Nord Pool SE4 Peak highest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_peak_highest_price', @@ -2445,9 +2445,9 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_peak_lowest_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Peak lowest price', + : 'Nord Pool SE4 Peak lowest price', : , - 'unit_of_measurement': 'SEK/kWh', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_peak_lowest_price', @@ -2497,8 +2497,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_peak_time_from-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE4 Peak time from', + : 'timestamp', + : 'Nord Pool SE4 Peak time from', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_peak_time_from', @@ -2548,8 +2548,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_peak_time_until-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Nord Pool SE4 Peak time until', + : 'timestamp', + : 'Nord Pool SE4 Peak time until', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_peak_time_until', @@ -2602,8 +2602,8 @@ # name: test_sensor[load_platforms0][sensor.nord_pool_se4_previous_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nord Pool SE4 Previous price', - 'unit_of_measurement': 'SEK/kWh', + : 'Nord Pool SE4 Previous price', + : 'SEK/kWh', }), 'context': , 'entity_id': 'sensor.nord_pool_se4_previous_price', diff --git a/tests/components/nrgkick/snapshots/test_binary_sensor.ambr b/tests/components/nrgkick/snapshots/test_binary_sensor.ambr index 14d4d0f647a..15852371ca0 100644 --- a/tests/components/nrgkick/snapshots/test_binary_sensor.ambr +++ b/tests/components/nrgkick/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor_entities[binary_sensor.nrgkick_test_charge_permitted-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Charge permitted', + : 'NRGkick Test Charge permitted', }), 'context': , 'entity_id': 'binary_sensor.nrgkick_test_charge_permitted', diff --git a/tests/components/nrgkick/snapshots/test_device_tracker.ambr b/tests/components/nrgkick/snapshots/test_device_tracker.ambr index c6a18b17a8d..fee6fa604b8 100644 --- a/tests/components/nrgkick/snapshots/test_device_tracker.ambr +++ b/tests/components/nrgkick/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker_entities[device_tracker.nrgkick_test_gps_tracker-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test GPS tracker', + : 'NRGkick Test GPS tracker', : 1.5, : list([ ]), diff --git a/tests/components/nrgkick/snapshots/test_number.ambr b/tests/components/nrgkick/snapshots/test_number.ambr index 51746526067..e0a8c21e4d2 100644 --- a/tests/components/nrgkick/snapshots/test_number.ambr +++ b/tests/components/nrgkick/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number_entities[number.nrgkick_test_charging_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test Charging current', + : 'current', + : 'NRGkick Test Charging current', : 32.0, : 6, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.nrgkick_test_charging_current', @@ -105,13 +105,13 @@ # name: test_number_entities[number.nrgkick_test_energy_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'NRGkick Test Energy limit', + : 'energy', + : 'NRGkick Test Energy limit', : 100000, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.nrgkick_test_energy_limit', @@ -166,7 +166,7 @@ # name: test_number_entities[number.nrgkick_test_phase_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Phase count', + : 'NRGkick Test Phase count', : 3.0, : 1, : , diff --git a/tests/components/nrgkick/snapshots/test_sensor.ambr b/tests/components/nrgkick/snapshots/test_sensor.ambr index ec9b2c52d8f..d51e2ad5d8f 100644 --- a/tests/components/nrgkick/snapshots/test_sensor.ambr +++ b/tests/components/nrgkick/snapshots/test_sensor.ambr @@ -46,8 +46,8 @@ # name: test_sensor_entities[sensor.nrgkick_test_cellular_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NRGkick Test Cellular mode', + : 'enum', + : 'NRGkick Test Cellular mode', : list([ 'no_service', 'gsm', @@ -103,7 +103,7 @@ # name: test_sensor_entities[sensor.nrgkick_test_cellular_operator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Cellular operator', + : 'NRGkick Test Cellular operator', }), 'context': , 'entity_id': 'sensor.nrgkick_test_cellular_operator', @@ -155,10 +155,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_cellular_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'NRGkick Test Cellular signal strength', + : 'signal_strength', + : 'NRGkick Test Cellular signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.nrgkick_test_cellular_signal_strength', @@ -213,9 +213,9 @@ # name: test_sensor_entities[sensor.nrgkick_test_charge_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Charge count', + : 'NRGkick Test Charge count', : , - 'unit_of_measurement': 'cycles', + : 'cycles', }), 'context': , 'entity_id': 'sensor.nrgkick_test_charge_count', @@ -273,10 +273,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_charged_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'NRGkick Test Charged energy', + : 'energy', + : 'NRGkick Test Charged energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_charged_energy', @@ -331,10 +331,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_charging_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test Charging current', + : 'current', + : 'NRGkick Test Charging current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_charging_current', @@ -386,9 +386,9 @@ # name: test_sensor_entities[sensor.nrgkick_test_charging_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Charging rate', + : 'NRGkick Test Charging rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_charging_rate', @@ -443,10 +443,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_charging_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'NRGkick Test Charging voltage', + : 'voltage', + : 'NRGkick Test Charging voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_charging_voltage', @@ -501,10 +501,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_connector_l1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'NRGkick Test Connector L1 temperature', + : 'temperature', + : 'NRGkick Test Connector L1 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_connector_l1_temperature', @@ -559,10 +559,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_connector_l2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'NRGkick Test Connector L2 temperature', + : 'temperature', + : 'NRGkick Test Connector L2 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_connector_l2_temperature', @@ -617,10 +617,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_connector_l3_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'NRGkick Test Connector L3 temperature', + : 'temperature', + : 'NRGkick Test Connector L3 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_connector_l3_temperature', @@ -675,10 +675,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_connector_max_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test Connector max current', + : 'current', + : 'NRGkick Test Connector max current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_connector_max_current', @@ -728,7 +728,7 @@ # name: test_sensor_entities[sensor.nrgkick_test_connector_phase_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Connector phase count', + : 'NRGkick Test Connector phase count', }), 'context': , 'entity_id': 'sensor.nrgkick_test_connector_phase_count', @@ -778,7 +778,7 @@ # name: test_sensor_entities[sensor.nrgkick_test_connector_serial-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Connector serial', + : 'NRGkick Test Connector serial', }), 'context': , 'entity_id': 'sensor.nrgkick_test_connector_serial', @@ -836,8 +836,8 @@ # name: test_sensor_entities[sensor.nrgkick_test_connector_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NRGkick Test Connector type', + : 'enum', + : 'NRGkick Test Connector type', : list([ 'cee', 'domestic', @@ -899,10 +899,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_domestic_plug_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'NRGkick Test Domestic plug 1 temperature', + : 'temperature', + : 'NRGkick Test Domestic plug 1 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_domestic_plug_1_temperature', @@ -957,10 +957,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_domestic_plug_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'NRGkick Test Domestic plug 2 temperature', + : 'temperature', + : 'NRGkick Test Domestic plug 2 temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_domestic_plug_2_temperature', @@ -1044,8 +1044,8 @@ # name: test_sensor_entities[sensor.nrgkick_test_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NRGkick Test Error', + : 'enum', + : 'NRGkick Test Error', : list([ 'no_error', 'general_error', @@ -1133,10 +1133,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_grid_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'NRGkick Test Grid frequency', + : 'frequency', + : 'NRGkick Test Grid frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_grid_frequency', @@ -1191,10 +1191,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_grid_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'NRGkick Test Grid voltage', + : 'voltage', + : 'NRGkick Test Grid voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_grid_voltage', @@ -1249,10 +1249,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_housing_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'NRGkick Test Housing temperature', + : 'temperature', + : 'NRGkick Test Housing temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_housing_temperature', @@ -1307,10 +1307,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l1_active_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'NRGkick Test L1 active power', + : 'power', + : 'NRGkick Test L1 active power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l1_active_power', @@ -1365,10 +1365,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l1_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'NRGkick Test L1 apparent power', + : 'apparent_power', + : 'NRGkick Test L1 apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l1_apparent_power', @@ -1423,10 +1423,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test L1 current', + : 'current', + : 'NRGkick Test L1 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l1_current', @@ -1478,10 +1478,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l1_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'NRGkick Test L1 power factor', + : 'power_factor', + : 'NRGkick Test L1 power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nrgkick_test_l1_power_factor', @@ -1536,10 +1536,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l1_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'NRGkick Test L1 reactive power', + : 'reactive_power', + : 'NRGkick Test L1 reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l1_reactive_power', @@ -1594,10 +1594,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'NRGkick Test L1 voltage', + : 'voltage', + : 'NRGkick Test L1 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l1_voltage', @@ -1652,10 +1652,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l2_active_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'NRGkick Test L2 active power', + : 'power', + : 'NRGkick Test L2 active power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l2_active_power', @@ -1710,10 +1710,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l2_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'NRGkick Test L2 apparent power', + : 'apparent_power', + : 'NRGkick Test L2 apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l2_apparent_power', @@ -1768,10 +1768,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test L2 current', + : 'current', + : 'NRGkick Test L2 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l2_current', @@ -1823,10 +1823,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l2_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'NRGkick Test L2 power factor', + : 'power_factor', + : 'NRGkick Test L2 power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nrgkick_test_l2_power_factor', @@ -1881,10 +1881,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l2_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'NRGkick Test L2 reactive power', + : 'reactive_power', + : 'NRGkick Test L2 reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l2_reactive_power', @@ -1939,10 +1939,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'NRGkick Test L2 voltage', + : 'voltage', + : 'NRGkick Test L2 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l2_voltage', @@ -1997,10 +1997,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l3_active_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'NRGkick Test L3 active power', + : 'power', + : 'NRGkick Test L3 active power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l3_active_power', @@ -2055,10 +2055,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l3_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'NRGkick Test L3 apparent power', + : 'apparent_power', + : 'NRGkick Test L3 apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l3_apparent_power', @@ -2113,10 +2113,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l3_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test L3 current', + : 'current', + : 'NRGkick Test L3 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l3_current', @@ -2168,10 +2168,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l3_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'NRGkick Test L3 power factor', + : 'power_factor', + : 'NRGkick Test L3 power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nrgkick_test_l3_power_factor', @@ -2226,10 +2226,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l3_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'NRGkick Test L3 reactive power', + : 'reactive_power', + : 'NRGkick Test L3 reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l3_reactive_power', @@ -2284,10 +2284,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_l3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'NRGkick Test L3 voltage', + : 'voltage', + : 'NRGkick Test L3 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_l3_voltage', @@ -2342,10 +2342,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_neutral_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test Neutral current', + : 'current', + : 'NRGkick Test Neutral current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_neutral_current', @@ -2400,10 +2400,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_peak_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'NRGkick Test Peak power', + : 'power', + : 'NRGkick Test Peak power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_peak_power', @@ -2458,10 +2458,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_powerflow_grid_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'NRGkick Test Powerflow grid frequency', + : 'frequency', + : 'NRGkick Test Powerflow grid frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_powerflow_grid_frequency', @@ -2516,10 +2516,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_rated_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'NRGkick Test Rated current', + : 'current', + : 'NRGkick Test Rated current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_rated_current', @@ -2578,8 +2578,8 @@ # name: test_sensor_entities[sensor.nrgkick_test_rcd_trigger-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NRGkick Test RCD trigger', + : 'enum', + : 'NRGkick Test RCD trigger', : list([ 'no_fault', 'ac_30ma_fault', @@ -2639,10 +2639,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'NRGkick Test Signal strength', + : 'signal_strength', + : 'NRGkick Test Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.nrgkick_test_signal_strength', @@ -2692,7 +2692,7 @@ # name: test_sensor_entities[sensor.nrgkick_test_ssid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test SSID', + : 'NRGkick Test SSID', }), 'context': , 'entity_id': 'sensor.nrgkick_test_ssid', @@ -2750,8 +2750,8 @@ # name: test_sensor_entities[sensor.nrgkick_test_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NRGkick Test Status', + : 'enum', + : 'NRGkick Test Status', : list([ 'standby', 'connected', @@ -2813,10 +2813,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_total_active_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'NRGkick Test Total active power', + : 'power', + : 'NRGkick Test Total active power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_total_active_power', @@ -2871,10 +2871,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_total_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'NRGkick Test Total apparent power', + : 'apparent_power', + : 'NRGkick Test Total apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_total_apparent_power', @@ -2932,10 +2932,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_total_charged_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'NRGkick Test Total charged energy', + : 'energy', + : 'NRGkick Test Total charged energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_total_charged_energy', @@ -2987,10 +2987,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_total_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'NRGkick Test Total power factor', + : 'power_factor', + : 'NRGkick Test Total power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nrgkick_test_total_power_factor', @@ -3045,10 +3045,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_total_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'NRGkick Test Total reactive power', + : 'reactive_power', + : 'NRGkick Test Total reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_total_reactive_power', @@ -3106,10 +3106,10 @@ # name: test_sensor_entities[sensor.nrgkick_test_vehicle_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'NRGkick Test Vehicle charging time', + : 'duration', + : 'NRGkick Test Vehicle charging time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.nrgkick_test_vehicle_charging_time', @@ -3159,8 +3159,8 @@ # name: test_sensor_entities[sensor.nrgkick_test_vehicle_connected_since-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'NRGkick Test Vehicle connected since', + : 'timestamp', + : 'NRGkick Test Vehicle connected since', }), 'context': , 'entity_id': 'sensor.nrgkick_test_vehicle_connected_since', @@ -3225,8 +3225,8 @@ # name: test_sensor_entities[sensor.nrgkick_test_warning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'NRGkick Test Warning', + : 'enum', + : 'NRGkick Test Warning', : list([ 'no_warning', 'no_pe', diff --git a/tests/components/nrgkick/snapshots/test_switch.ambr b/tests/components/nrgkick/snapshots/test_switch.ambr index 1031ce3a1d7..60e93b1a7cd 100644 --- a/tests/components/nrgkick/snapshots/test_switch.ambr +++ b/tests/components/nrgkick/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.nrgkick_test_charging_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NRGkick Test Charging enabled', + : 'NRGkick Test Charging enabled', }), 'context': , 'entity_id': 'switch.nrgkick_test_charging_enabled', diff --git a/tests/components/ntfy/snapshots/test_event.ambr b/tests/components/ntfy/snapshots/test_event.ambr index b20af514151..66d792f7ea5 100644 --- a/tests/components/ntfy/snapshots/test_event.ambr +++ b/tests/components/ntfy/snapshots/test_event.ambr @@ -48,14 +48,14 @@ 'attachment': None, 'click': 'https://example.com/', 'content_type': None, - 'entity_picture': 'https://example.com/icon.png', + : 'https://example.com/icon.png', 'event': , : 'Title: Hello', : list([ 'Title: Hello', ]), 'expires': HAFakeDatetime(2025, 3, 29, 5, 58, 46, tzinfo=datetime.timezone.utc), - 'friendly_name': 'mytopic', + : 'mytopic', 'icon': 'https://example.com/icon.png', 'id': 'h6Y2hKA5sy0U', 'message': 'Hello', diff --git a/tests/components/ntfy/snapshots/test_notify.ambr b/tests/components/ntfy/snapshots/test_notify.ambr index 59310180278..ac3b8da045c 100644 --- a/tests/components/ntfy/snapshots/test_notify.ambr +++ b/tests/components/ntfy/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.mytopic-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mytopic', - 'supported_features': , + : 'mytopic', + : , }), 'context': , 'entity_id': 'notify.mytopic', diff --git a/tests/components/ntfy/snapshots/test_sensor.ambr b/tests/components/ntfy/snapshots/test_sensor.ambr index 742c54f4945..e62982a6f7b 100644 --- a/tests/components/ntfy/snapshots/test_sensor.ambr +++ b/tests/components/ntfy/snapshots/test_sensor.ambr @@ -45,9 +45,9 @@ # name: test_setup[sensor.ntfy_sh_attachment_bandwidth_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ntfy.sh Attachment bandwidth limit', - 'unit_of_measurement': , + : 'data_size', + : 'ntfy.sh Attachment bandwidth limit', + : , }), 'context': , 'entity_id': 'sensor.ntfy_sh_attachment_bandwidth_limit', @@ -103,9 +103,9 @@ # name: test_setup[sensor.ntfy_sh_attachment_expiry_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'ntfy.sh Attachment expiry duration', - 'unit_of_measurement': , + : 'duration', + : 'ntfy.sh Attachment expiry duration', + : , }), 'context': , 'entity_id': 'sensor.ntfy_sh_attachment_expiry_duration', @@ -161,9 +161,9 @@ # name: test_setup[sensor.ntfy_sh_attachment_file_size_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ntfy.sh Attachment file size limit', - 'unit_of_measurement': , + : 'data_size', + : 'ntfy.sh Attachment file size limit', + : , }), 'context': , 'entity_id': 'sensor.ntfy_sh_attachment_file_size_limit', @@ -219,9 +219,9 @@ # name: test_setup[sensor.ntfy_sh_attachment_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ntfy.sh Attachment storage', - 'unit_of_measurement': , + : 'data_size', + : 'ntfy.sh Attachment storage', + : , }), 'context': , 'entity_id': 'sensor.ntfy_sh_attachment_storage', @@ -277,9 +277,9 @@ # name: test_setup[sensor.ntfy_sh_attachment_storage_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ntfy.sh Attachment storage limit', - 'unit_of_measurement': , + : 'data_size', + : 'ntfy.sh Attachment storage limit', + : , }), 'context': , 'entity_id': 'sensor.ntfy_sh_attachment_storage_limit', @@ -335,9 +335,9 @@ # name: test_setup[sensor.ntfy_sh_attachment_storage_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ntfy.sh Attachment storage remaining', - 'unit_of_measurement': , + : 'data_size', + : 'ntfy.sh Attachment storage remaining', + : , }), 'context': , 'entity_id': 'sensor.ntfy_sh_attachment_storage_remaining', @@ -387,8 +387,8 @@ # name: test_setup[sensor.ntfy_sh_email_usage_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Email usage limit', - 'unit_of_measurement': 'emails', + : 'ntfy.sh Email usage limit', + : 'emails', }), 'context': , 'entity_id': 'sensor.ntfy_sh_email_usage_limit', @@ -438,8 +438,8 @@ # name: test_setup[sensor.ntfy_sh_emails_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Emails remaining', - 'unit_of_measurement': 'emails', + : 'ntfy.sh Emails remaining', + : 'emails', }), 'context': , 'entity_id': 'sensor.ntfy_sh_emails_remaining', @@ -489,8 +489,8 @@ # name: test_setup[sensor.ntfy_sh_emails_sent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Emails sent', - 'unit_of_measurement': 'emails', + : 'ntfy.sh Emails sent', + : 'emails', }), 'context': , 'entity_id': 'sensor.ntfy_sh_emails_sent', @@ -546,9 +546,9 @@ # name: test_setup[sensor.ntfy_sh_messages_expiry_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'ntfy.sh Messages expiry duration', - 'unit_of_measurement': , + : 'duration', + : 'ntfy.sh Messages expiry duration', + : , }), 'context': , 'entity_id': 'sensor.ntfy_sh_messages_expiry_duration', @@ -598,8 +598,8 @@ # name: test_setup[sensor.ntfy_sh_messages_published-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Messages published', - 'unit_of_measurement': 'messages', + : 'ntfy.sh Messages published', + : 'messages', }), 'context': , 'entity_id': 'sensor.ntfy_sh_messages_published', @@ -649,8 +649,8 @@ # name: test_setup[sensor.ntfy_sh_messages_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Messages remaining', - 'unit_of_measurement': 'messages', + : 'ntfy.sh Messages remaining', + : 'messages', }), 'context': , 'entity_id': 'sensor.ntfy_sh_messages_remaining', @@ -700,8 +700,8 @@ # name: test_setup[sensor.ntfy_sh_messages_usage_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Messages usage limit', - 'unit_of_measurement': 'messages', + : 'ntfy.sh Messages usage limit', + : 'messages', }), 'context': , 'entity_id': 'sensor.ntfy_sh_messages_usage_limit', @@ -751,8 +751,8 @@ # name: test_setup[sensor.ntfy_sh_phone_calls_made-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Phone calls made', - 'unit_of_measurement': 'calls', + : 'ntfy.sh Phone calls made', + : 'calls', }), 'context': , 'entity_id': 'sensor.ntfy_sh_phone_calls_made', @@ -802,8 +802,8 @@ # name: test_setup[sensor.ntfy_sh_phone_calls_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Phone calls remaining', - 'unit_of_measurement': 'calls', + : 'ntfy.sh Phone calls remaining', + : 'calls', }), 'context': , 'entity_id': 'sensor.ntfy_sh_phone_calls_remaining', @@ -853,8 +853,8 @@ # name: test_setup[sensor.ntfy_sh_phone_calls_usage_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Phone calls usage limit', - 'unit_of_measurement': 'calls', + : 'ntfy.sh Phone calls usage limit', + : 'calls', }), 'context': , 'entity_id': 'sensor.ntfy_sh_phone_calls_usage_limit', @@ -904,8 +904,8 @@ # name: test_setup[sensor.ntfy_sh_reserved_topics-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Reserved topics', - 'unit_of_measurement': 'topics', + : 'ntfy.sh Reserved topics', + : 'topics', }), 'context': , 'entity_id': 'sensor.ntfy_sh_reserved_topics', @@ -955,8 +955,8 @@ # name: test_setup[sensor.ntfy_sh_reserved_topics_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Reserved topics limit', - 'unit_of_measurement': 'topics', + : 'ntfy.sh Reserved topics limit', + : 'topics', }), 'context': , 'entity_id': 'sensor.ntfy_sh_reserved_topics_limit', @@ -1006,8 +1006,8 @@ # name: test_setup[sensor.ntfy_sh_reserved_topics_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Reserved topics remaining', - 'unit_of_measurement': 'topics', + : 'ntfy.sh Reserved topics remaining', + : 'topics', }), 'context': , 'entity_id': 'sensor.ntfy_sh_reserved_topics_remaining', @@ -1057,7 +1057,7 @@ # name: test_setup[sensor.ntfy_sh_subscription_tier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ntfy.sh Subscription tier', + : 'ntfy.sh Subscription tier', }), 'context': , 'entity_id': 'sensor.ntfy_sh_subscription_tier', diff --git a/tests/components/ntfy/snapshots/test_update.ambr b/tests/components/ntfy/snapshots/test_update.ambr index c7daa4181d7..41285acd915 100644 --- a/tests/components/ntfy/snapshots/test_update.ambr +++ b/tests/components/ntfy/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/ntfy/icon.png', - 'friendly_name': 'ntfy.example ntfy version', + : '/api/brands/integration/ntfy/icon.png', + : 'ntfy.example ntfy version', : False, : '2.17.0', : '2.17.0', : None, : 'https://github.com/binwiederhier/ntfy/releases/tag/v2.17.0', : None, - 'supported_features': , + : , : 'ntfy v2.17.0', : None, }), diff --git a/tests/components/nuki/snapshots/test_binary_sensor.ambr b/tests/components/nuki/snapshots/test_binary_sensor.ambr index 30e581ef24f..7b1fc2867e0 100644 --- a/tests/components/nuki/snapshots/test_binary_sensor.ambr +++ b/tests/components/nuki/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.community_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Community door Battery', + : 'battery', + : 'Community door Battery', }), 'context': , 'entity_id': 'binary_sensor.community_door_battery', @@ -90,7 +90,7 @@ # name: test_binary_sensors[binary_sensor.community_door_ring_action-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Community door Ring Action', + : 'Community door Ring Action', }), 'context': , 'entity_id': 'binary_sensor.community_door_ring_action', @@ -140,8 +140,8 @@ # name: test_binary_sensors[binary_sensor.home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Home', + : 'door', + : 'Home', }), 'context': , 'entity_id': 'binary_sensor.home', @@ -191,8 +191,8 @@ # name: test_binary_sensors[binary_sensor.home_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Home Battery', + : 'battery', + : 'Home Battery', }), 'context': , 'entity_id': 'binary_sensor.home_battery', @@ -242,8 +242,8 @@ # name: test_binary_sensors[binary_sensor.home_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Home Charging', + : 'battery_charging', + : 'Home Charging', }), 'context': , 'entity_id': 'binary_sensor.home_charging', diff --git a/tests/components/nuki/snapshots/test_lock.ambr b/tests/components/nuki/snapshots/test_lock.ambr index c706ed33933..1c42f7ef38e 100644 --- a/tests/components/nuki/snapshots/test_lock.ambr +++ b/tests/components/nuki/snapshots/test_lock.ambr @@ -39,8 +39,8 @@ # name: test_locks[lock.community_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Community door', - 'supported_features': , + : 'Community door', + : , }), 'context': , 'entity_id': 'lock.community_door', @@ -90,8 +90,8 @@ # name: test_locks[lock.home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home', - 'supported_features': , + : 'Home', + : , }), 'context': , 'entity_id': 'lock.home', diff --git a/tests/components/nuki/snapshots/test_sensor.ambr b/tests/components/nuki/snapshots/test_sensor.ambr index 37f5c99e56a..1b251317dcf 100644 --- a/tests/components/nuki/snapshots/test_sensor.ambr +++ b/tests/components/nuki/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.home_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Home Battery', + : 'battery', + : 'Home Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_battery', diff --git a/tests/components/nyt_games/snapshots/test_sensor.ambr b/tests/components/nyt_games/snapshots/test_sensor.ambr index fcd7abe27db..7d54cc10833 100644 --- a/tests/components/nyt_games/snapshots/test_sensor.ambr +++ b/tests/components/nyt_games/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.connections_current_streak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Connections Current streak', + : 'duration', + : 'Connections Current streak', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.connections_current_streak', @@ -102,10 +102,10 @@ # name: test_all_entities[sensor.connections_highest_streak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Connections Highest streak', + : 'duration', + : 'Connections Highest streak', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.connections_highest_streak', @@ -155,8 +155,8 @@ # name: test_all_entities[sensor.connections_last_played-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Connections Last played', + : 'date', + : 'Connections Last played', }), 'context': , 'entity_id': 'sensor.connections_last_played', @@ -208,9 +208,9 @@ # name: test_all_entities[sensor.connections_played-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Connections Played', + : 'Connections Played', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.connections_played', @@ -262,9 +262,9 @@ # name: test_all_entities[sensor.connections_won-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Connections Won', + : 'Connections Won', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.connections_won', @@ -316,9 +316,9 @@ # name: test_all_entities[sensor.spelling_bee_played-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Spelling Bee Played', + : 'Spelling Bee Played', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.spelling_bee_played', @@ -370,9 +370,9 @@ # name: test_all_entities[sensor.spelling_bee_total_pangrams_found-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Spelling Bee Total pangrams found', + : 'Spelling Bee Total pangrams found', : , - 'unit_of_measurement': 'pangrams', + : 'pangrams', }), 'context': , 'entity_id': 'sensor.spelling_bee_total_pangrams_found', @@ -424,9 +424,9 @@ # name: test_all_entities[sensor.spelling_bee_total_words_found-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Spelling Bee Total words found', + : 'Spelling Bee Total words found', : , - 'unit_of_measurement': 'words', + : 'words', }), 'context': , 'entity_id': 'sensor.spelling_bee_total_words_found', @@ -481,10 +481,10 @@ # name: test_all_entities[sensor.wordle_current_streak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Wordle Current streak', + : 'duration', + : 'Wordle Current streak', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wordle_current_streak', @@ -539,10 +539,10 @@ # name: test_all_entities[sensor.wordle_highest_streak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Wordle Highest streak', + : 'duration', + : 'Wordle Highest streak', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wordle_highest_streak', @@ -594,9 +594,9 @@ # name: test_all_entities[sensor.wordle_played-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wordle Played', + : 'Wordle Played', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.wordle_played', @@ -648,9 +648,9 @@ # name: test_all_entities[sensor.wordle_won-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wordle Won', + : 'Wordle Won', : , - 'unit_of_measurement': 'games', + : 'games', }), 'context': , 'entity_id': 'sensor.wordle_won', diff --git a/tests/components/octoprint/snapshots/test_number.ambr b/tests/components/octoprint/snapshots/test_number.ambr index bc061b60171..e42e73b308b 100644 --- a/tests/components/octoprint/snapshots/test_number.ambr +++ b/tests/components/octoprint/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_numbers[printer0][number.octoprint_bed_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OctoPrint Bed temperature', + : 'temperature', + : 'OctoPrint Bed temperature', : 300, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.octoprint_bed_temperature', @@ -105,13 +105,13 @@ # name: test_numbers[printer0][number.octoprint_extruder_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OctoPrint Extruder 1 temperature', + : 'temperature', + : 'OctoPrint Extruder 1 temperature', : 300, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.octoprint_extruder_1_temperature', @@ -166,13 +166,13 @@ # name: test_numbers[printer0][number.octoprint_extruder_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OctoPrint Extruder temperature', + : 'temperature', + : 'OctoPrint Extruder temperature', : 300, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.octoprint_extruder_temperature', diff --git a/tests/components/ohme/snapshots/test_button.ambr b/tests/components/ohme/snapshots/test_button.ambr index 0ad25901f1b..404aa861dd8 100644 --- a/tests/components/ohme/snapshots/test_button.ambr +++ b/tests/components/ohme/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button.ohme_home_pro_approve_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Approve charge', + : 'Ohme Home Pro Approve charge', }), 'context': , 'entity_id': 'button.ohme_home_pro_approve_charge', diff --git a/tests/components/ohme/snapshots/test_number.ambr b/tests/components/ohme/snapshots/test_number.ambr index 790202aad14..0bffc79a22d 100644 --- a/tests/components/ohme/snapshots/test_number.ambr +++ b/tests/components/ohme/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_numbers[number.ohme_home_pro_preconditioning_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Preconditioning duration', + : 'Ohme Home Pro Preconditioning duration', : 60, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ohme_home_pro_preconditioning_duration', @@ -104,12 +104,12 @@ # name: test_numbers[number.ohme_home_pro_state_of_charge_input-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro State of charge input', + : 'Ohme Home Pro State of charge input', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.ohme_home_pro_state_of_charge_input', @@ -164,12 +164,12 @@ # name: test_numbers[number.ohme_home_pro_target_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Target percentage', + : 'Ohme Home Pro Target percentage', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.ohme_home_pro_target_percentage', diff --git a/tests/components/ohme/snapshots/test_select.ambr b/tests/components/ohme/snapshots/test_select.ambr index ec491d06c28..78600e51038 100644 --- a/tests/components/ohme/snapshots/test_select.ambr +++ b/tests/components/ohme/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_selects[select.ohme_home_pro_charge_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Charge mode', + : 'Ohme Home Pro Charge mode', : list([ 'smart_charge', 'max_charge', @@ -105,7 +105,7 @@ # name: test_selects[select.ohme_home_pro_vehicle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Vehicle', + : 'Ohme Home Pro Vehicle', : list([ 'Nissan Leaf', 'Tesla Model 3', diff --git a/tests/components/ohme/snapshots/test_sensor.ambr b/tests/components/ohme/snapshots/test_sensor.ambr index c6fd5136f76..a4e0ece1162 100644 --- a/tests/components/ohme/snapshots/test_sensor.ambr +++ b/tests/components/ohme/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensors[sensor.ohme_home_pro_charge_slots-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Charge slots', + : 'Ohme Home Pro Charge slots', }), 'context': , 'entity_id': 'sensor.ohme_home_pro_charge_slots', @@ -94,10 +94,10 @@ # name: test_sensors[sensor.ohme_home_pro_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Ohme Home Pro Current', + : 'current', + : 'Ohme Home Pro Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ohme_home_pro_current', @@ -155,10 +155,10 @@ # name: test_sensors[sensor.ohme_home_pro_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ohme Home Pro Energy', + : 'energy', + : 'Ohme Home Pro Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ohme_home_pro_energy', @@ -216,10 +216,10 @@ # name: test_sensors[sensor.ohme_home_pro_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Ohme Home Pro Power', + : 'power', + : 'Ohme Home Pro Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ohme_home_pro_power', @@ -278,8 +278,8 @@ # name: test_sensors[sensor.ohme_home_pro_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Ohme Home Pro Status', + : 'enum', + : 'Ohme Home Pro Status', : list([ 'unplugged', 'pending_approval', @@ -342,10 +342,10 @@ # name: test_sensors[sensor.ohme_home_pro_vehicle_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Ohme Home Pro Vehicle battery', + : 'battery', + : 'Ohme Home Pro Vehicle battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ohme_home_pro_vehicle_battery', @@ -400,10 +400,10 @@ # name: test_sensors[sensor.ohme_home_pro_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Ohme Home Pro Voltage', + : 'voltage', + : 'Ohme Home Pro Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ohme_home_pro_voltage', diff --git a/tests/components/ohme/snapshots/test_switch.ambr b/tests/components/ohme/snapshots/test_switch.ambr index 5640d51455d..a9061b813c7 100644 --- a/tests/components/ohme/snapshots/test_switch.ambr +++ b/tests/components/ohme/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.ohme_home_pro_lock_buttons-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Lock buttons', + : 'Ohme Home Pro Lock buttons', }), 'context': , 'entity_id': 'switch.ohme_home_pro_lock_buttons', @@ -89,7 +89,7 @@ # name: test_switches[switch.ohme_home_pro_price_cap-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Price cap', + : 'Ohme Home Pro Price cap', }), 'context': , 'entity_id': 'switch.ohme_home_pro_price_cap', @@ -139,7 +139,7 @@ # name: test_switches[switch.ohme_home_pro_require_approval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Require approval', + : 'Ohme Home Pro Require approval', }), 'context': , 'entity_id': 'switch.ohme_home_pro_require_approval', @@ -189,7 +189,7 @@ # name: test_switches[switch.ohme_home_pro_sleep_when_inactive-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Sleep when inactive', + : 'Ohme Home Pro Sleep when inactive', }), 'context': , 'entity_id': 'switch.ohme_home_pro_sleep_when_inactive', @@ -239,7 +239,7 @@ # name: test_switches[switch.ohme_home_pro_solar_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Solar boost', + : 'Ohme Home Pro Solar boost', }), 'context': , 'entity_id': 'switch.ohme_home_pro_solar_boost', diff --git a/tests/components/ohme/snapshots/test_time.ambr b/tests/components/ohme/snapshots/test_time.ambr index 7540f0e35bd..115e6d668dd 100644 --- a/tests/components/ohme/snapshots/test_time.ambr +++ b/tests/components/ohme/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_time[time.ohme_home_pro_target_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ohme Home Pro Target time', + : 'Ohme Home Pro Target time', }), 'context': , 'entity_id': 'time.ohme_home_pro_target_time', diff --git a/tests/components/omnilogic/snapshots/test_sensor.ambr b/tests/components/omnilogic/snapshots/test_sensor.ambr index 848a60c667a..1090f9a972a 100644 --- a/tests/components/omnilogic/snapshots/test_sensor.ambr +++ b/tests/components/omnilogic/snapshots/test_sensor.ambr @@ -42,11 +42,11 @@ # name: test_sensors[sensor.scrubbed_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SCRUBBED Air Temperature', + : 'temperature', + : 'SCRUBBED Air Temperature', 'hayward_temperature': '70', 'hayward_unit_of_measure': , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.scrubbed_air_temperature', @@ -99,11 +99,11 @@ # name: test_sensors[sensor.scrubbed_spa_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SCRUBBED Spa Water Temperature', + : 'temperature', + : 'SCRUBBED Spa Water Temperature', 'hayward_temperature': '71', 'hayward_unit_of_measure': , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.scrubbed_spa_water_temperature', diff --git a/tests/components/omnilogic/snapshots/test_switch.ambr b/tests/components/omnilogic/snapshots/test_switch.ambr index e3858a66e95..ad78067ccc8 100644 --- a/tests/components/omnilogic/snapshots/test_switch.ambr +++ b/tests/components/omnilogic/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.scrubbed_spa_filter_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SCRUBBED Spa Filter Pump ', + : 'SCRUBBED Spa Filter Pump ', }), 'context': , 'entity_id': 'switch.scrubbed_spa_filter_pump', @@ -89,7 +89,7 @@ # name: test_switches[switch.scrubbed_spa_spa_jets-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SCRUBBED Spa Spa Jets ', + : 'SCRUBBED Spa Spa Jets ', }), 'context': , 'entity_id': 'switch.scrubbed_spa_spa_jets', diff --git a/tests/components/ondilo_ico/snapshots/test_sensor.ambr b/tests/components/ondilo_ico/snapshots/test_sensor.ambr index 92d537acdc1..6d6153ff605 100644 --- a/tests/components/ondilo_ico/snapshots/test_sensor.ambr +++ b/tests/components/ondilo_ico/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.pool_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pool 1 Battery', + : 'battery', + : 'Pool 1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pool_1_battery', @@ -96,9 +96,9 @@ # name: test_sensors[sensor.pool_1_oxydo_reduction_potential-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 1 Oxydo reduction potential', + : 'Pool 1 Oxydo reduction potential', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pool_1_oxydo_reduction_potential', @@ -150,8 +150,8 @@ # name: test_sensors[sensor.pool_1_ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Pool 1 pH', + : 'ph', + : 'Pool 1 pH', : , }), 'context': , @@ -204,9 +204,9 @@ # name: test_sensors[sensor.pool_1_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 1 RSSI', + : 'Pool 1 RSSI', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pool_1_rssi', @@ -258,9 +258,9 @@ # name: test_sensors[sensor.pool_1_salt-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 1 Salt', + : 'Pool 1 Salt', : , - 'unit_of_measurement': 'mg/L', + : 'mg/L', }), 'context': , 'entity_id': 'sensor.pool_1_salt', @@ -312,9 +312,9 @@ # name: test_sensors[sensor.pool_1_tds-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 1 TDS', + : 'Pool 1 TDS', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.pool_1_tds', @@ -369,10 +369,10 @@ # name: test_sensors[sensor.pool_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pool 1 Temperature', + : 'temperature', + : 'Pool 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pool_1_temperature', @@ -424,10 +424,10 @@ # name: test_sensors[sensor.pool_2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pool 2 Battery', + : 'battery', + : 'Pool 2 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pool_2_battery', @@ -479,9 +479,9 @@ # name: test_sensors[sensor.pool_2_oxydo_reduction_potential-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 2 Oxydo reduction potential', + : 'Pool 2 Oxydo reduction potential', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pool_2_oxydo_reduction_potential', @@ -533,8 +533,8 @@ # name: test_sensors[sensor.pool_2_ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Pool 2 pH', + : 'ph', + : 'Pool 2 pH', : , }), 'context': , @@ -587,9 +587,9 @@ # name: test_sensors[sensor.pool_2_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 2 RSSI', + : 'Pool 2 RSSI', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pool_2_rssi', @@ -641,9 +641,9 @@ # name: test_sensors[sensor.pool_2_salt-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 2 Salt', + : 'Pool 2 Salt', : , - 'unit_of_measurement': 'mg/L', + : 'mg/L', }), 'context': , 'entity_id': 'sensor.pool_2_salt', @@ -695,9 +695,9 @@ # name: test_sensors[sensor.pool_2_tds-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool 2 TDS', + : 'Pool 2 TDS', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.pool_2_tds', @@ -752,10 +752,10 @@ # name: test_sensors[sensor.pool_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pool 2 Temperature', + : 'temperature', + : 'Pool 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pool_2_temperature', diff --git a/tests/components/onedrive/snapshots/test_sensor.ambr b/tests/components/onedrive/snapshots/test_sensor.ambr index 908b8c03754..0ceaa5204f2 100644 --- a/tests/components/onedrive/snapshots/test_sensor.ambr +++ b/tests/components/onedrive/snapshots/test_sensor.ambr @@ -46,8 +46,8 @@ # name: test_sensors[sensor.my_drive_drive_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'My Drive Drive state', + : 'enum', + : 'My Drive Drive state', : list([ 'normal', 'nearing', @@ -109,9 +109,9 @@ # name: test_sensors[sensor.my_drive_remaining_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'My Drive Remaining storage', - 'unit_of_measurement': , + : 'data_size', + : 'My Drive Remaining storage', + : , }), 'context': , 'entity_id': 'sensor.my_drive_remaining_storage', @@ -167,9 +167,9 @@ # name: test_sensors[sensor.my_drive_total_available_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'My Drive Total available storage', - 'unit_of_measurement': , + : 'data_size', + : 'My Drive Total available storage', + : , }), 'context': , 'entity_id': 'sensor.my_drive_total_available_storage', @@ -225,9 +225,9 @@ # name: test_sensors[sensor.my_drive_used_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'My Drive Used storage', - 'unit_of_measurement': , + : 'data_size', + : 'My Drive Used storage', + : , }), 'context': , 'entity_id': 'sensor.my_drive_used_storage', diff --git a/tests/components/onedrive_for_business/snapshots/test_sensor.ambr b/tests/components/onedrive_for_business/snapshots/test_sensor.ambr index 0adbcf59c73..f9dabd518c1 100644 --- a/tests/components/onedrive_for_business/snapshots/test_sensor.ambr +++ b/tests/components/onedrive_for_business/snapshots/test_sensor.ambr @@ -46,8 +46,8 @@ # name: test_sensors[sensor.my_drive_drive_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'My Drive Drive state', + : 'enum', + : 'My Drive Drive state', : list([ 'normal', 'nearing', @@ -109,9 +109,9 @@ # name: test_sensors[sensor.my_drive_remaining_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'My Drive Remaining storage', - 'unit_of_measurement': , + : 'data_size', + : 'My Drive Remaining storage', + : , }), 'context': , 'entity_id': 'sensor.my_drive_remaining_storage', @@ -167,9 +167,9 @@ # name: test_sensors[sensor.my_drive_total_available_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'My Drive Total available storage', - 'unit_of_measurement': , + : 'data_size', + : 'My Drive Total available storage', + : , }), 'context': , 'entity_id': 'sensor.my_drive_total_available_storage', @@ -225,9 +225,9 @@ # name: test_sensors[sensor.my_drive_used_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'My Drive Used storage', - 'unit_of_measurement': , + : 'data_size', + : 'My Drive Used storage', + : , }), 'context': , 'entity_id': 'sensor.my_drive_used_storage', diff --git a/tests/components/onewire/snapshots/test_binary_sensor.ambr b/tests/components/onewire/snapshots/test_binary_sensor.ambr index ce98541bae0..9fb89e5cb36 100644 --- a/tests/components/onewire/snapshots/test_binary_sensor.ambr +++ b/tests/components/onewire/snapshots/test_binary_sensor.ambr @@ -40,7 +40,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/05.111111111111/sensed', - 'friendly_name': '05.111111111111 Sensed', + : '05.111111111111 Sensed', }), 'context': , 'entity_id': 'binary_sensor.05_111111111111_sensed', @@ -91,7 +91,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/12.111111111111/sensed.A', - 'friendly_name': '12.111111111111 Sensed A', + : '12.111111111111 Sensed A', }), 'context': , 'entity_id': 'binary_sensor.12_111111111111_sensed_a', @@ -142,7 +142,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/12.111111111111/sensed.B', - 'friendly_name': '12.111111111111 Sensed B', + : '12.111111111111 Sensed B', }), 'context': , 'entity_id': 'binary_sensor.12_111111111111_sensed_b', @@ -193,7 +193,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.0', - 'friendly_name': '29.111111111111 Sensed 0', + : '29.111111111111 Sensed 0', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_0', @@ -244,7 +244,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.1', - 'friendly_name': '29.111111111111 Sensed 1', + : '29.111111111111 Sensed 1', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_1', @@ -295,7 +295,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.2', - 'friendly_name': '29.111111111111 Sensed 2', + : '29.111111111111 Sensed 2', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_2', @@ -346,7 +346,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.3', - 'friendly_name': '29.111111111111 Sensed 3', + : '29.111111111111 Sensed 3', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_3', @@ -397,7 +397,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.4', - 'friendly_name': '29.111111111111 Sensed 4', + : '29.111111111111 Sensed 4', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_4', @@ -448,7 +448,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.5', - 'friendly_name': '29.111111111111 Sensed 5', + : '29.111111111111 Sensed 5', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_5', @@ -499,7 +499,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.6', - 'friendly_name': '29.111111111111 Sensed 6', + : '29.111111111111 Sensed 6', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_6', @@ -550,7 +550,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/sensed.7', - 'friendly_name': '29.111111111111 Sensed 7', + : '29.111111111111 Sensed 7', }), 'context': , 'entity_id': 'binary_sensor.29_111111111111_sensed_7', @@ -601,7 +601,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/3A.111111111111/sensed.A', - 'friendly_name': '3A.111111111111 Sensed A', + : '3A.111111111111 Sensed A', }), 'context': , 'entity_id': 'binary_sensor.3a_111111111111_sensed_a', @@ -652,7 +652,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/3A.111111111111/sensed.B', - 'friendly_name': '3A.111111111111 Sensed B', + : '3A.111111111111 Sensed B', }), 'context': , 'entity_id': 'binary_sensor.3a_111111111111_sensed_b', @@ -702,9 +702,9 @@ # name: test_binary_sensors[binary_sensor.ef_111111111113_hub_short_on_branch_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'device_file': '/EF.111111111113/hub/short.0', - 'friendly_name': 'EF.111111111113 Hub short on branch 0', + : 'EF.111111111113 Hub short on branch 0', }), 'context': , 'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_0', @@ -754,9 +754,9 @@ # name: test_binary_sensors[binary_sensor.ef_111111111113_hub_short_on_branch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'device_file': '/EF.111111111113/hub/short.1', - 'friendly_name': 'EF.111111111113 Hub short on branch 1', + : 'EF.111111111113 Hub short on branch 1', }), 'context': , 'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_1', @@ -806,9 +806,9 @@ # name: test_binary_sensors[binary_sensor.ef_111111111113_hub_short_on_branch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'device_file': '/EF.111111111113/hub/short.2', - 'friendly_name': 'EF.111111111113 Hub short on branch 2', + : 'EF.111111111113 Hub short on branch 2', }), 'context': , 'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_2', @@ -858,9 +858,9 @@ # name: test_binary_sensors[binary_sensor.ef_111111111113_hub_short_on_branch_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', + : 'problem', 'device_file': '/EF.111111111113/hub/short.3', - 'friendly_name': 'EF.111111111113 Hub short on branch 3', + : 'EF.111111111113 Hub short on branch 3', }), 'context': , 'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_3', diff --git a/tests/components/onewire/snapshots/test_select.ambr b/tests/components/onewire/snapshots/test_select.ambr index 323036e1832..a286e8baf42 100644 --- a/tests/components/onewire/snapshots/test_select.ambr +++ b/tests/components/onewire/snapshots/test_select.ambr @@ -47,7 +47,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/28.111111111111/tempres', - 'friendly_name': '28.111111111111 Temperature resolution', + : '28.111111111111 Temperature resolution', : list([ '9', '10', diff --git a/tests/components/onewire/snapshots/test_sensor.ambr b/tests/components/onewire/snapshots/test_sensor.ambr index 0192ba14f9e..12144a72ba3 100644 --- a/tests/components/onewire/snapshots/test_sensor.ambr +++ b/tests/components/onewire/snapshots/test_sensor.ambr @@ -44,11 +44,11 @@ # name: test_sensors[sensor.10_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/10.111111111111/temperature', - 'friendly_name': '10.111111111111 Temperature', + : '10.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.10_111111111111_temperature', @@ -103,11 +103,11 @@ # name: test_sensors[sensor.12_111111111111_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', + : 'pressure', 'device_file': '/12.111111111111/TAI8570/pressure', - 'friendly_name': '12.111111111111 Pressure', + : '12.111111111111 Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.12_111111111111_pressure', @@ -162,11 +162,11 @@ # name: test_sensors[sensor.12_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/12.111111111111/TAI8570/temperature', - 'friendly_name': '12.111111111111 Temperature', + : '12.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.12_111111111111_temperature', @@ -219,7 +219,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/1D.111111111111/counter.A', - 'friendly_name': '1D.111111111111 Counter A', + : '1D.111111111111 Counter A', : , }), 'context': , @@ -273,7 +273,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/1D.111111111111/counter.B', - 'friendly_name': '1D.111111111111 Counter B', + : '1D.111111111111 Counter B', : , }), 'context': , @@ -329,11 +329,11 @@ # name: test_sensors[sensor.20_111111111111_latest_voltage_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/latestvolt.A', - 'friendly_name': '20.111111111111 Latest voltage A', + : '20.111111111111 Latest voltage A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_latest_voltage_a', @@ -388,11 +388,11 @@ # name: test_sensors[sensor.20_111111111111_latest_voltage_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/latestvolt.B', - 'friendly_name': '20.111111111111 Latest voltage B', + : '20.111111111111 Latest voltage B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_latest_voltage_b', @@ -447,11 +447,11 @@ # name: test_sensors[sensor.20_111111111111_latest_voltage_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/latestvolt.C', - 'friendly_name': '20.111111111111 Latest voltage C', + : '20.111111111111 Latest voltage C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_latest_voltage_c', @@ -506,11 +506,11 @@ # name: test_sensors[sensor.20_111111111111_latest_voltage_d-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/latestvolt.D', - 'friendly_name': '20.111111111111 Latest voltage D', + : '20.111111111111 Latest voltage D', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_latest_voltage_d', @@ -565,11 +565,11 @@ # name: test_sensors[sensor.20_111111111111_voltage_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/volt.A', - 'friendly_name': '20.111111111111 Voltage A', + : '20.111111111111 Voltage A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_voltage_a', @@ -624,11 +624,11 @@ # name: test_sensors[sensor.20_111111111111_voltage_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/volt.B', - 'friendly_name': '20.111111111111 Voltage B', + : '20.111111111111 Voltage B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_voltage_b', @@ -683,11 +683,11 @@ # name: test_sensors[sensor.20_111111111111_voltage_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/volt.C', - 'friendly_name': '20.111111111111 Voltage C', + : '20.111111111111 Voltage C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_voltage_c', @@ -742,11 +742,11 @@ # name: test_sensors[sensor.20_111111111111_voltage_d-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/20.111111111111/volt.D', - 'friendly_name': '20.111111111111 Voltage D', + : '20.111111111111 Voltage D', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.20_111111111111_voltage_d', @@ -801,11 +801,11 @@ # name: test_sensors[sensor.22_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/22.111111111111/temperature', - 'friendly_name': '22.111111111111 Temperature', + : '22.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.22_111111111111_temperature', @@ -857,11 +857,11 @@ # name: test_sensors[sensor.26_111111111111_hih3600_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/26.111111111111/HIH3600/humidity', - 'friendly_name': '26.111111111111 HIH3600 humidity', + : '26.111111111111 HIH3600 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.26_111111111111_hih3600_humidity', @@ -913,11 +913,11 @@ # name: test_sensors[sensor.26_111111111111_hih4000_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/26.111111111111/HIH4000/humidity', - 'friendly_name': '26.111111111111 HIH4000 humidity', + : '26.111111111111 HIH4000 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.26_111111111111_hih4000_humidity', @@ -969,11 +969,11 @@ # name: test_sensors[sensor.26_111111111111_hih5030_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/26.111111111111/HIH5030/humidity', - 'friendly_name': '26.111111111111 HIH5030 humidity', + : '26.111111111111 HIH5030 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.26_111111111111_hih5030_humidity', @@ -1025,11 +1025,11 @@ # name: test_sensors[sensor.26_111111111111_htm1735_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/26.111111111111/HTM1735/humidity', - 'friendly_name': '26.111111111111 HTM1735 humidity', + : '26.111111111111 HTM1735 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.26_111111111111_htm1735_humidity', @@ -1081,11 +1081,11 @@ # name: test_sensors[sensor.26_111111111111_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/26.111111111111/humidity', - 'friendly_name': '26.111111111111 Humidity', + : '26.111111111111 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.26_111111111111_humidity', @@ -1137,11 +1137,11 @@ # name: test_sensors[sensor.26_111111111111_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', + : 'illuminance', 'device_file': '/26.111111111111/S3-R1-A/illuminance', - 'friendly_name': '26.111111111111 Illuminance', + : '26.111111111111 Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.26_111111111111_illuminance', @@ -1196,11 +1196,11 @@ # name: test_sensors[sensor.26_111111111111_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', + : 'pressure', 'device_file': '/26.111111111111/B1-R1-A/pressure', - 'friendly_name': '26.111111111111 Pressure', + : '26.111111111111 Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.26_111111111111_pressure', @@ -1255,11 +1255,11 @@ # name: test_sensors[sensor.26_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/26.111111111111/temperature', - 'friendly_name': '26.111111111111 Temperature', + : '26.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.26_111111111111_temperature', @@ -1314,11 +1314,11 @@ # name: test_sensors[sensor.26_111111111111_vad_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/26.111111111111/VAD', - 'friendly_name': '26.111111111111 VAD voltage', + : '26.111111111111 VAD voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.26_111111111111_vad_voltage', @@ -1373,11 +1373,11 @@ # name: test_sensors[sensor.26_111111111111_vdd_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/26.111111111111/VDD', - 'friendly_name': '26.111111111111 VDD voltage', + : '26.111111111111 VDD voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.26_111111111111_vdd_voltage', @@ -1432,11 +1432,11 @@ # name: test_sensors[sensor.26_111111111111_vis_voltage_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/26.111111111111/vis', - 'friendly_name': '26.111111111111 VIS voltage difference', + : '26.111111111111 VIS voltage difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.26_111111111111_vis_voltage_difference', @@ -1491,11 +1491,11 @@ # name: test_sensors[sensor.28_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/28.111111111111/temperature', - 'friendly_name': '28.111111111111 Temperature', + : '28.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.28_111111111111_temperature', @@ -1550,11 +1550,11 @@ # name: test_sensors[sensor.28_222222222222_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/28.222222222222/temperature9', - 'friendly_name': '28.222222222222 Temperature', + : '28.222222222222 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.28_222222222222_temperature', @@ -1609,11 +1609,11 @@ # name: test_sensors[sensor.28_222222222223_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/28.222222222223/temperature', - 'friendly_name': '28.222222222223 Temperature', + : '28.222222222223 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.28_222222222223_temperature', @@ -1668,11 +1668,11 @@ # name: test_sensors[sensor.30_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/30.111111111111/temperature', - 'friendly_name': '30.111111111111 Temperature', + : '30.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.30_111111111111_temperature', @@ -1727,11 +1727,11 @@ # name: test_sensors[sensor.30_111111111111_thermocouple_k_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/30.111111111111/typeK/temperature', - 'friendly_name': '30.111111111111 Thermocouple K temperature', + : '30.111111111111 Thermocouple K temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.30_111111111111_thermocouple_k_temperature', @@ -1786,11 +1786,11 @@ # name: test_sensors[sensor.30_111111111111_vis_voltage_gradient-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/30.111111111111/vis', - 'friendly_name': '30.111111111111 VIS voltage gradient', + : '30.111111111111 VIS voltage gradient', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.30_111111111111_vis_voltage_gradient', @@ -1845,11 +1845,11 @@ # name: test_sensors[sensor.30_111111111111_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/30.111111111111/volt', - 'friendly_name': '30.111111111111 Voltage', + : '30.111111111111 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.30_111111111111_voltage', @@ -1904,11 +1904,11 @@ # name: test_sensors[sensor.3b_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/3B.111111111111/temperature', - 'friendly_name': '3B.111111111111 Temperature', + : '3B.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.3b_111111111111_temperature', @@ -1963,11 +1963,11 @@ # name: test_sensors[sensor.42_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/42.111111111111/temperature', - 'friendly_name': '42.111111111111 Temperature', + : '42.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.42_111111111111_temperature', @@ -2019,11 +2019,11 @@ # name: test_sensors[sensor.7e_111111111111_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/7E.111111111111/EDS0068/humidity', - 'friendly_name': '7E.111111111111 Humidity', + : '7E.111111111111 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.7e_111111111111_humidity', @@ -2075,11 +2075,11 @@ # name: test_sensors[sensor.7e_111111111111_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', + : 'illuminance', 'device_file': '/7E.111111111111/EDS0068/light', - 'friendly_name': '7E.111111111111 Illuminance', + : '7E.111111111111 Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.7e_111111111111_illuminance', @@ -2134,11 +2134,11 @@ # name: test_sensors[sensor.7e_111111111111_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', + : 'pressure', 'device_file': '/7E.111111111111/EDS0068/pressure', - 'friendly_name': '7E.111111111111 Pressure', + : '7E.111111111111 Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.7e_111111111111_pressure', @@ -2193,11 +2193,11 @@ # name: test_sensors[sensor.7e_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/7E.111111111111/EDS0068/temperature', - 'friendly_name': '7E.111111111111 Temperature', + : '7E.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.7e_111111111111_temperature', @@ -2252,11 +2252,11 @@ # name: test_sensors[sensor.7e_222222222222_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', + : 'pressure', 'device_file': '/7E.222222222222/EDS0066/pressure', - 'friendly_name': '7E.222222222222 Pressure', + : '7E.222222222222 Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.7e_222222222222_pressure', @@ -2311,11 +2311,11 @@ # name: test_sensors[sensor.7e_222222222222_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/7E.222222222222/EDS0066/temperature', - 'friendly_name': '7E.222222222222 Temperature', + : '7E.222222222222 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.7e_222222222222_temperature', @@ -2367,11 +2367,11 @@ # name: test_sensors[sensor.7e_333333333333_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/7E.333333333333/EDS0065/humidity', - 'friendly_name': '7E.333333333333 Humidity', + : '7E.333333333333 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.7e_333333333333_humidity', @@ -2426,11 +2426,11 @@ # name: test_sensors[sensor.7e_333333333333_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/7E.333333333333/EDS0065/temperature', - 'friendly_name': '7E.333333333333 Temperature', + : '7E.333333333333 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.7e_333333333333_temperature', @@ -2482,11 +2482,11 @@ # name: test_sensors[sensor.a6_111111111111_hih3600_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/A6.111111111111/HIH3600/humidity', - 'friendly_name': 'A6.111111111111 HIH3600 humidity', + : 'A6.111111111111 HIH3600 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.a6_111111111111_hih3600_humidity', @@ -2538,11 +2538,11 @@ # name: test_sensors[sensor.a6_111111111111_hih4000_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/A6.111111111111/HIH4000/humidity', - 'friendly_name': 'A6.111111111111 HIH4000 humidity', + : 'A6.111111111111 HIH4000 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.a6_111111111111_hih4000_humidity', @@ -2594,11 +2594,11 @@ # name: test_sensors[sensor.a6_111111111111_hih5030_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/A6.111111111111/HIH5030/humidity', - 'friendly_name': 'A6.111111111111 HIH5030 humidity', + : 'A6.111111111111 HIH5030 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.a6_111111111111_hih5030_humidity', @@ -2650,11 +2650,11 @@ # name: test_sensors[sensor.a6_111111111111_htm1735_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/A6.111111111111/HTM1735/humidity', - 'friendly_name': 'A6.111111111111 HTM1735 humidity', + : 'A6.111111111111 HTM1735 humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.a6_111111111111_htm1735_humidity', @@ -2706,11 +2706,11 @@ # name: test_sensors[sensor.a6_111111111111_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/A6.111111111111/humidity', - 'friendly_name': 'A6.111111111111 Humidity', + : 'A6.111111111111 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.a6_111111111111_humidity', @@ -2762,11 +2762,11 @@ # name: test_sensors[sensor.a6_111111111111_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', + : 'illuminance', 'device_file': '/A6.111111111111/S3-R1-A/illuminance', - 'friendly_name': 'A6.111111111111 Illuminance', + : 'A6.111111111111 Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.a6_111111111111_illuminance', @@ -2821,11 +2821,11 @@ # name: test_sensors[sensor.a6_111111111111_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', + : 'pressure', 'device_file': '/A6.111111111111/B1-R1-A/pressure', - 'friendly_name': 'A6.111111111111 Pressure', + : 'A6.111111111111 Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.a6_111111111111_pressure', @@ -2880,11 +2880,11 @@ # name: test_sensors[sensor.a6_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/A6.111111111111/temperature', - 'friendly_name': 'A6.111111111111 Temperature', + : 'A6.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.a6_111111111111_temperature', @@ -2939,11 +2939,11 @@ # name: test_sensors[sensor.a6_111111111111_vad_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/A6.111111111111/VAD', - 'friendly_name': 'A6.111111111111 VAD voltage', + : 'A6.111111111111 VAD voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.a6_111111111111_vad_voltage', @@ -2998,11 +2998,11 @@ # name: test_sensors[sensor.a6_111111111111_vdd_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/A6.111111111111/VDD', - 'friendly_name': 'A6.111111111111 VDD voltage', + : 'A6.111111111111 VDD voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.a6_111111111111_vdd_voltage', @@ -3057,11 +3057,11 @@ # name: test_sensors[sensor.a6_111111111111_vis_voltage_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', + : 'voltage', 'device_file': '/A6.111111111111/vis', - 'friendly_name': 'A6.111111111111 VIS voltage difference', + : 'A6.111111111111 VIS voltage difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.a6_111111111111_vis_voltage_difference', @@ -3113,11 +3113,11 @@ # name: test_sensors[sensor.ef_111111111111_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/EF.111111111111/humidity/humidity_corrected', - 'friendly_name': 'EF.111111111111 Humidity', + : 'EF.111111111111 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ef_111111111111_humidity', @@ -3169,11 +3169,11 @@ # name: test_sensors[sensor.ef_111111111111_raw_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/EF.111111111111/humidity/humidity_raw', - 'friendly_name': 'EF.111111111111 Raw humidity', + : 'EF.111111111111 Raw humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ef_111111111111_raw_humidity', @@ -3228,11 +3228,11 @@ # name: test_sensors[sensor.ef_111111111111_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'device_file': '/EF.111111111111/humidity/temperature', - 'friendly_name': 'EF.111111111111 Temperature', + : 'EF.111111111111 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ef_111111111111_temperature', @@ -3287,11 +3287,11 @@ # name: test_sensors[sensor.ef_111111111112_moisture_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', + : 'pressure', 'device_file': '/EF.111111111112/moisture/sensor.2', - 'friendly_name': 'EF.111111111112 Moisture 2', + : 'EF.111111111112 Moisture 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ef_111111111112_moisture_2', @@ -3346,11 +3346,11 @@ # name: test_sensors[sensor.ef_111111111112_moisture_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', + : 'pressure', 'device_file': '/EF.111111111112/moisture/sensor.3', - 'friendly_name': 'EF.111111111112 Moisture 3', + : 'EF.111111111112 Moisture 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ef_111111111112_moisture_3', @@ -3402,11 +3402,11 @@ # name: test_sensors[sensor.ef_111111111112_wetness_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/EF.111111111112/moisture/sensor.0', - 'friendly_name': 'EF.111111111112 Wetness 0', + : 'EF.111111111112 Wetness 0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ef_111111111112_wetness_0', @@ -3458,11 +3458,11 @@ # name: test_sensors[sensor.ef_111111111112_wetness_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', + : 'humidity', 'device_file': '/EF.111111111112/moisture/sensor.1', - 'friendly_name': 'EF.111111111112 Wetness 1', + : 'EF.111111111112 Wetness 1', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ef_111111111112_wetness_1', diff --git a/tests/components/onewire/snapshots/test_switch.ambr b/tests/components/onewire/snapshots/test_switch.ambr index 9abb6f48a4e..ca8744d897e 100644 --- a/tests/components/onewire/snapshots/test_switch.ambr +++ b/tests/components/onewire/snapshots/test_switch.ambr @@ -40,7 +40,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/05.111111111111/PIO', - 'friendly_name': '05.111111111111 Programmed input-output', + : '05.111111111111 Programmed input-output', }), 'context': , 'entity_id': 'switch.05_111111111111_programmed_input_output', @@ -91,7 +91,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/12.111111111111/latch.A', - 'friendly_name': '12.111111111111 Latch A', + : '12.111111111111 Latch A', }), 'context': , 'entity_id': 'switch.12_111111111111_latch_a', @@ -142,7 +142,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/12.111111111111/latch.B', - 'friendly_name': '12.111111111111 Latch B', + : '12.111111111111 Latch B', }), 'context': , 'entity_id': 'switch.12_111111111111_latch_b', @@ -193,7 +193,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/12.111111111111/PIO.A', - 'friendly_name': '12.111111111111 Programmed input-output A', + : '12.111111111111 Programmed input-output A', }), 'context': , 'entity_id': 'switch.12_111111111111_programmed_input_output_a', @@ -244,7 +244,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/12.111111111111/PIO.B', - 'friendly_name': '12.111111111111 Programmed input-output B', + : '12.111111111111 Programmed input-output B', }), 'context': , 'entity_id': 'switch.12_111111111111_programmed_input_output_b', @@ -295,7 +295,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/26.111111111111/IAD', - 'friendly_name': '26.111111111111 Current A/D control', + : '26.111111111111 Current A/D control', }), 'context': , 'entity_id': 'switch.26_111111111111_current_a_d_control', @@ -346,7 +346,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.0', - 'friendly_name': '29.111111111111 Latch 0', + : '29.111111111111 Latch 0', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_0', @@ -397,7 +397,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.1', - 'friendly_name': '29.111111111111 Latch 1', + : '29.111111111111 Latch 1', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_1', @@ -448,7 +448,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.2', - 'friendly_name': '29.111111111111 Latch 2', + : '29.111111111111 Latch 2', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_2', @@ -499,7 +499,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.3', - 'friendly_name': '29.111111111111 Latch 3', + : '29.111111111111 Latch 3', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_3', @@ -550,7 +550,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.4', - 'friendly_name': '29.111111111111 Latch 4', + : '29.111111111111 Latch 4', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_4', @@ -601,7 +601,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.5', - 'friendly_name': '29.111111111111 Latch 5', + : '29.111111111111 Latch 5', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_5', @@ -652,7 +652,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.6', - 'friendly_name': '29.111111111111 Latch 6', + : '29.111111111111 Latch 6', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_6', @@ -703,7 +703,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/latch.7', - 'friendly_name': '29.111111111111 Latch 7', + : '29.111111111111 Latch 7', }), 'context': , 'entity_id': 'switch.29_111111111111_latch_7', @@ -754,7 +754,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.0', - 'friendly_name': '29.111111111111 Programmed input-output 0', + : '29.111111111111 Programmed input-output 0', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_0', @@ -805,7 +805,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.1', - 'friendly_name': '29.111111111111 Programmed input-output 1', + : '29.111111111111 Programmed input-output 1', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_1', @@ -856,7 +856,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.2', - 'friendly_name': '29.111111111111 Programmed input-output 2', + : '29.111111111111 Programmed input-output 2', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_2', @@ -907,7 +907,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.3', - 'friendly_name': '29.111111111111 Programmed input-output 3', + : '29.111111111111 Programmed input-output 3', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_3', @@ -958,7 +958,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.4', - 'friendly_name': '29.111111111111 Programmed input-output 4', + : '29.111111111111 Programmed input-output 4', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_4', @@ -1009,7 +1009,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.5', - 'friendly_name': '29.111111111111 Programmed input-output 5', + : '29.111111111111 Programmed input-output 5', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_5', @@ -1060,7 +1060,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.6', - 'friendly_name': '29.111111111111 Programmed input-output 6', + : '29.111111111111 Programmed input-output 6', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_6', @@ -1111,7 +1111,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/29.111111111111/PIO.7', - 'friendly_name': '29.111111111111 Programmed input-output 7', + : '29.111111111111 Programmed input-output 7', }), 'context': , 'entity_id': 'switch.29_111111111111_programmed_input_output_7', @@ -1162,7 +1162,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/3A.111111111111/PIO.A', - 'friendly_name': '3A.111111111111 Programmed input-output A', + : '3A.111111111111 Programmed input-output A', }), 'context': , 'entity_id': 'switch.3a_111111111111_programmed_input_output_a', @@ -1213,7 +1213,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/3A.111111111111/PIO.B', - 'friendly_name': '3A.111111111111 Programmed input-output B', + : '3A.111111111111 Programmed input-output B', }), 'context': , 'entity_id': 'switch.3a_111111111111_programmed_input_output_b', @@ -1264,7 +1264,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/A6.111111111111/IAD', - 'friendly_name': 'A6.111111111111 Current A/D control', + : 'A6.111111111111 Current A/D control', }), 'context': , 'entity_id': 'switch.a6_111111111111_current_a_d_control', @@ -1315,7 +1315,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_leaf.0', - 'friendly_name': 'EF.111111111112 Leaf sensor 0', + : 'EF.111111111112 Leaf sensor 0', }), 'context': , 'entity_id': 'switch.ef_111111111112_leaf_sensor_0', @@ -1366,7 +1366,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_leaf.1', - 'friendly_name': 'EF.111111111112 Leaf sensor 1', + : 'EF.111111111112 Leaf sensor 1', }), 'context': , 'entity_id': 'switch.ef_111111111112_leaf_sensor_1', @@ -1417,7 +1417,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_leaf.2', - 'friendly_name': 'EF.111111111112 Leaf sensor 2', + : 'EF.111111111112 Leaf sensor 2', }), 'context': , 'entity_id': 'switch.ef_111111111112_leaf_sensor_2', @@ -1468,7 +1468,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_leaf.3', - 'friendly_name': 'EF.111111111112 Leaf sensor 3', + : 'EF.111111111112 Leaf sensor 3', }), 'context': , 'entity_id': 'switch.ef_111111111112_leaf_sensor_3', @@ -1519,7 +1519,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_moisture.0', - 'friendly_name': 'EF.111111111112 Moisture sensor 0', + : 'EF.111111111112 Moisture sensor 0', }), 'context': , 'entity_id': 'switch.ef_111111111112_moisture_sensor_0', @@ -1570,7 +1570,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_moisture.1', - 'friendly_name': 'EF.111111111112 Moisture sensor 1', + : 'EF.111111111112 Moisture sensor 1', }), 'context': , 'entity_id': 'switch.ef_111111111112_moisture_sensor_1', @@ -1621,7 +1621,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_moisture.2', - 'friendly_name': 'EF.111111111112 Moisture sensor 2', + : 'EF.111111111112 Moisture sensor 2', }), 'context': , 'entity_id': 'switch.ef_111111111112_moisture_sensor_2', @@ -1672,7 +1672,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111112/moisture/is_moisture.3', - 'friendly_name': 'EF.111111111112 Moisture sensor 3', + : 'EF.111111111112 Moisture sensor 3', }), 'context': , 'entity_id': 'switch.ef_111111111112_moisture_sensor_3', @@ -1723,7 +1723,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111113/hub/branch.0', - 'friendly_name': 'EF.111111111113 Hub branch 0', + : 'EF.111111111113 Hub branch 0', }), 'context': , 'entity_id': 'switch.ef_111111111113_hub_branch_0', @@ -1774,7 +1774,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111113/hub/branch.1', - 'friendly_name': 'EF.111111111113 Hub branch 1', + : 'EF.111111111113 Hub branch 1', }), 'context': , 'entity_id': 'switch.ef_111111111113_hub_branch_1', @@ -1825,7 +1825,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111113/hub/branch.2', - 'friendly_name': 'EF.111111111113 Hub branch 2', + : 'EF.111111111113 Hub branch 2', }), 'context': , 'entity_id': 'switch.ef_111111111113_hub_branch_2', @@ -1876,7 +1876,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'device_file': '/EF.111111111113/hub/branch.3', - 'friendly_name': 'EF.111111111113 Hub branch 3', + : 'EF.111111111113 Hub branch 3', }), 'context': , 'entity_id': 'switch.ef_111111111113_hub_branch_3', diff --git a/tests/components/onkyo/snapshots/test_media_player.ambr b/tests/components/onkyo/snapshots/test_media_player.ambr index 720f88b5cc6..eddd93f66d4 100644 --- a/tests/components/onkyo/snapshots/test_media_player.ambr +++ b/tests/components/onkyo/snapshots/test_media_player.ambr @@ -51,7 +51,7 @@ 'audio_information': dict({ 'auto_phase_control_phase': 'Normal', }), - 'friendly_name': 'TX-NR7100', + : 'TX-NR7100', : False, 'preset': 1, : 'DIRECT', @@ -64,7 +64,7 @@ 'TV', 'FM Radio', ]), - 'supported_features': , + : , 'video_information': dict({ 'input_color_depth': '24bit', }), @@ -126,7 +126,7 @@ # name: test_entities[media_player.tx_nr7100_zone_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Zone 2', + : 'TX-NR7100 Zone 2', : 'Stereo', : list([ 'Stereo', @@ -136,7 +136,7 @@ 'TV', 'FM Radio', ]), - 'supported_features': , + : , : 0.625, }), 'context': , @@ -192,12 +192,12 @@ # name: test_entities[media_player.tx_nr7100_zone_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Zone 3', + : 'TX-NR7100 Zone 3', : list([ 'TV', 'FM Radio', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.tx_nr7100_zone_3', diff --git a/tests/components/onkyo/snapshots/test_switch.ambr b/tests/components/onkyo/snapshots/test_switch.ambr index bccb7d21f18..e31b3947bfa 100644 --- a/tests/components/onkyo/snapshots/test_switch.ambr +++ b/tests/components/onkyo/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.tx_nr7100_mute_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute center', + : 'TX-NR7100 Mute center', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_center', @@ -89,7 +89,7 @@ # name: test_entities[switch.tx_nr7100_mute_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute front left', + : 'TX-NR7100 Mute front left', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_front_left', @@ -139,7 +139,7 @@ # name: test_entities[switch.tx_nr7100_mute_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute front right', + : 'TX-NR7100 Mute front right', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_front_right', @@ -189,7 +189,7 @@ # name: test_entities[switch.tx_nr7100_mute_height_1_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute height 1 left', + : 'TX-NR7100 Mute height 1 left', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_height_1_left', @@ -239,7 +239,7 @@ # name: test_entities[switch.tx_nr7100_mute_height_1_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute height 1 right', + : 'TX-NR7100 Mute height 1 right', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_height_1_right', @@ -289,7 +289,7 @@ # name: test_entities[switch.tx_nr7100_mute_height_2_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute height 2 left', + : 'TX-NR7100 Mute height 2 left', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_height_2_left', @@ -339,7 +339,7 @@ # name: test_entities[switch.tx_nr7100_mute_height_2_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute height 2 right', + : 'TX-NR7100 Mute height 2 right', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_height_2_right', @@ -389,7 +389,7 @@ # name: test_entities[switch.tx_nr7100_mute_subwoofer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute subwoofer', + : 'TX-NR7100 Mute subwoofer', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_subwoofer', @@ -439,7 +439,7 @@ # name: test_entities[switch.tx_nr7100_mute_subwoofer_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute subwoofer 2', + : 'TX-NR7100 Mute subwoofer 2', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_subwoofer_2', @@ -489,7 +489,7 @@ # name: test_entities[switch.tx_nr7100_mute_surround_back_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute surround back left', + : 'TX-NR7100 Mute surround back left', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_surround_back_left', @@ -539,7 +539,7 @@ # name: test_entities[switch.tx_nr7100_mute_surround_back_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute surround back right', + : 'TX-NR7100 Mute surround back right', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_surround_back_right', @@ -589,7 +589,7 @@ # name: test_entities[switch.tx_nr7100_mute_surround_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute surround left', + : 'TX-NR7100 Mute surround left', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_surround_left', @@ -639,7 +639,7 @@ # name: test_entities[switch.tx_nr7100_mute_surround_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TX-NR7100 Mute surround right', + : 'TX-NR7100 Mute surround right', }), 'context': , 'entity_id': 'switch.tx_nr7100_mute_surround_right', diff --git a/tests/components/open_router/snapshots/test_ai_task.ambr b/tests/components/open_router/snapshots/test_ai_task.ambr index 41cc3a86dc4..9180c3e23e1 100644 --- a/tests/components/open_router/snapshots/test_ai_task.ambr +++ b/tests/components/open_router/snapshots/test_ai_task.ambr @@ -42,8 +42,8 @@ # name: test_all_entities[ai_task.gemini_1_5_pro-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gemini 1.5 Pro', - 'supported_features': , + : 'Gemini 1.5 Pro', + : , }), 'context': , 'entity_id': 'ai_task.gemini_1_5_pro', diff --git a/tests/components/open_router/snapshots/test_conversation.ambr b/tests/components/open_router/snapshots/test_conversation.ambr index 3f8ac1ccc09..bc0c50452a6 100644 --- a/tests/components/open_router/snapshots/test_conversation.ambr +++ b/tests/components/open_router/snapshots/test_conversation.ambr @@ -42,8 +42,8 @@ # name: test_all_entities[assist][conversation.gpt_3_5_turbo-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GPT-3.5 Turbo', - 'supported_features': , + : 'GPT-3.5 Turbo', + : , }), 'context': , 'entity_id': 'conversation.gpt_3_5_turbo', @@ -96,8 +96,8 @@ # name: test_all_entities[no_assist][conversation.gpt_3_5_turbo-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GPT-3.5 Turbo', - 'supported_features': , + : 'GPT-3.5 Turbo', + : , }), 'context': , 'entity_id': 'conversation.gpt_3_5_turbo', diff --git a/tests/components/opendisplay/snapshots/test_binary_sensor.ambr b/tests/components/opendisplay/snapshots/test_binary_sensor.ambr index 175246fb298..981184e45b2 100644 --- a/tests/components/opendisplay/snapshots/test_binary_sensor.ambr +++ b/tests/components/opendisplay/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_connectivity_entity[binary_sensor.opendisplay_1234_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'OpenDisplay 1234 Connectivity', + : 'connectivity', + : 'OpenDisplay 1234 Connectivity', }), 'context': , 'entity_id': 'binary_sensor.opendisplay_1234_connectivity', diff --git a/tests/components/opendisplay/snapshots/test_sensor.ambr b/tests/components/opendisplay/snapshots/test_sensor.ambr index 87b3f0a8e3c..409df9271b8 100644 --- a/tests/components/opendisplay/snapshots/test_sensor.ambr +++ b/tests/components/opendisplay/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_entities_battery_device[sensor.opendisplay_1234_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'OpenDisplay 1234 Battery', + : 'battery', + : 'OpenDisplay 1234 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.opendisplay_1234_battery', @@ -99,10 +99,10 @@ # name: test_sensor_entities_battery_device[sensor.opendisplay_1234_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'OpenDisplay 1234 Battery voltage', + : 'voltage', + : 'OpenDisplay 1234 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opendisplay_1234_battery_voltage', @@ -157,10 +157,10 @@ # name: test_sensor_entities_battery_device[sensor.opendisplay_1234_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenDisplay 1234 Temperature', + : 'temperature', + : 'OpenDisplay 1234 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opendisplay_1234_temperature', @@ -215,10 +215,10 @@ # name: test_sensor_entities_usb_device[sensor.opendisplay_1234_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenDisplay 1234 Temperature', + : 'temperature', + : 'OpenDisplay 1234 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opendisplay_1234_temperature', diff --git a/tests/components/openevse/snapshots/test_binary_sensor.ambr b/tests/components/openevse/snapshots/test_binary_sensor.ambr index 67516e25af3..e1cb2573064 100644 --- a/tests/components/openevse/snapshots/test_binary_sensor.ambr +++ b/tests/components/openevse/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_entities[binary_sensor.openevse_mock_config_divert_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config Divert active', + : 'openevse_mock_config Divert active', }), 'context': , 'entity_id': 'binary_sensor.openevse_mock_config_divert_active', @@ -89,7 +89,7 @@ # name: test_entities[binary_sensor.openevse_mock_config_ethernet_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config Ethernet connected', + : 'openevse_mock_config Ethernet connected', }), 'context': , 'entity_id': 'binary_sensor.openevse_mock_config_ethernet_connected', @@ -139,7 +139,7 @@ # name: test_entities[binary_sensor.openevse_mock_config_limit_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config Limit active', + : 'openevse_mock_config Limit active', }), 'context': , 'entity_id': 'binary_sensor.openevse_mock_config_limit_active', @@ -189,8 +189,8 @@ # name: test_entities[binary_sensor.openevse_mock_config_mqtt_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'openevse_mock_config MQTT connected', + : 'connectivity', + : 'openevse_mock_config MQTT connected', }), 'context': , 'entity_id': 'binary_sensor.openevse_mock_config_mqtt_connected', @@ -240,7 +240,7 @@ # name: test_entities[binary_sensor.openevse_mock_config_shaper_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config Shaper active', + : 'openevse_mock_config Shaper active', }), 'context': , 'entity_id': 'binary_sensor.openevse_mock_config_shaper_active', @@ -290,8 +290,8 @@ # name: test_entities[binary_sensor.openevse_mock_config_vehicle_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'openevse_mock_config Vehicle connected', + : 'plug', + : 'openevse_mock_config Vehicle connected', }), 'context': , 'entity_id': 'binary_sensor.openevse_mock_config_vehicle_connected', diff --git a/tests/components/openevse/snapshots/test_button.ambr b/tests/components/openevse/snapshots/test_button.ambr index 406e1299b6a..e5a28d21e6a 100644 --- a/tests/components/openevse/snapshots/test_button.ambr +++ b/tests/components/openevse/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_entities[button.openevse_mock_config_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'openevse_mock_config Restart', + : 'restart', + : 'openevse_mock_config Restart', }), 'context': , 'entity_id': 'button.openevse_mock_config_restart', @@ -90,8 +90,8 @@ # name: test_entities[button.openevse_mock_config_restart_wi_fi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'openevse_mock_config Restart Wi-Fi', + : 'restart', + : 'openevse_mock_config Restart Wi-Fi', }), 'context': , 'entity_id': 'button.openevse_mock_config_restart_wi_fi', diff --git a/tests/components/openevse/snapshots/test_number.ambr b/tests/components/openevse/snapshots/test_number.ambr index 19e9a0fdc15..1eef6da42da 100644 --- a/tests/components/openevse/snapshots/test_number.ambr +++ b/tests/components/openevse/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_entities[number.openevse_mock_config_charge_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'openevse_mock_config Charge rate', + : 'current', + : 'openevse_mock_config Charge rate', : 48, : 6, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.openevse_mock_config_charge_rate', diff --git a/tests/components/openevse/snapshots/test_sensor.ambr b/tests/components/openevse/snapshots/test_sensor.ambr index 61dcde57955..af153bcea94 100644 --- a/tests/components/openevse/snapshots/test_sensor.ambr +++ b/tests/components/openevse/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_entities[sensor.openevse_mock_config_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'openevse_mock_config Ambient temperature', + : 'temperature', + : 'openevse_mock_config Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_ambient_temperature', @@ -105,10 +105,10 @@ # name: test_entities[sensor.openevse_mock_config_charge_time_elapsed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'openevse_mock_config Charge time elapsed', + : 'duration', + : 'openevse_mock_config Charge time elapsed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_charge_time_elapsed', @@ -166,10 +166,10 @@ # name: test_entities[sensor.openevse_mock_config_charging_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'openevse_mock_config Charging current', + : 'current', + : 'openevse_mock_config Charging current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_charging_current', @@ -227,10 +227,10 @@ # name: test_entities[sensor.openevse_mock_config_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'openevse_mock_config Charging power', + : 'power', + : 'openevse_mock_config Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_charging_power', @@ -280,7 +280,7 @@ # name: test_entities[sensor.openevse_mock_config_charging_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config Charging status', + : 'openevse_mock_config Charging status', }), 'context': , 'entity_id': 'sensor.openevse_mock_config_charging_status', @@ -335,10 +335,10 @@ # name: test_entities[sensor.openevse_mock_config_charging_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'openevse_mock_config Charging voltage', + : 'voltage', + : 'openevse_mock_config Charging voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_charging_voltage', @@ -393,10 +393,10 @@ # name: test_entities[sensor.openevse_mock_config_current_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'openevse_mock_config Current capacity', + : 'current', + : 'openevse_mock_config Current capacity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_current_capacity', @@ -449,9 +449,9 @@ # name: test_entities[sensor.openevse_mock_config_current_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'openevse_mock_config Current limit', - 'unit_of_measurement': , + : 'current', + : 'openevse_mock_config Current limit', + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_current_limit', @@ -506,10 +506,10 @@ # name: test_entities[sensor.openevse_mock_config_current_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'openevse_mock_config Current power', + : 'power', + : 'openevse_mock_config Current power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_current_power', @@ -564,10 +564,10 @@ # name: test_entities[sensor.openevse_mock_config_daily_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'openevse_mock_config Daily energy usage', + : 'energy', + : 'openevse_mock_config Daily energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_daily_energy_usage', @@ -622,10 +622,10 @@ # name: test_entities[sensor.openevse_mock_config_esp_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'openevse_mock_config ESP temperature', + : 'temperature', + : 'openevse_mock_config ESP temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_esp_temperature', @@ -678,9 +678,9 @@ # name: test_entities[sensor.openevse_mock_config_free_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'openevse_mock_config Free memory', - 'unit_of_measurement': , + : 'data_size', + : 'openevse_mock_config Free memory', + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_free_memory', @@ -732,7 +732,7 @@ # name: test_entities[sensor.openevse_mock_config_gfci_trip_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config GFCI trip count', + : 'openevse_mock_config GFCI trip count', : , }), 'context': , @@ -788,10 +788,10 @@ # name: test_entities[sensor.openevse_mock_config_ir_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'openevse_mock_config IR temperature', + : 'temperature', + : 'openevse_mock_config IR temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_ir_temperature', @@ -844,9 +844,9 @@ # name: test_entities[sensor.openevse_mock_config_maximum_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'openevse_mock_config Maximum amperage', - 'unit_of_measurement': , + : 'current', + : 'openevse_mock_config Maximum amperage', + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_maximum_amperage', @@ -899,9 +899,9 @@ # name: test_entities[sensor.openevse_mock_config_minimum_amperage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'openevse_mock_config Minimum amperage', - 'unit_of_measurement': , + : 'current', + : 'openevse_mock_config Minimum amperage', + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_minimum_amperage', @@ -956,10 +956,10 @@ # name: test_entities[sensor.openevse_mock_config_monthly_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'openevse_mock_config Monthly energy usage', + : 'energy', + : 'openevse_mock_config Monthly energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_monthly_energy_usage', @@ -1011,7 +1011,7 @@ # name: test_entities[sensor.openevse_mock_config_no_ground_trip_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config No ground trip count', + : 'openevse_mock_config No ground trip count', : , }), 'context': , @@ -1067,10 +1067,10 @@ # name: test_entities[sensor.openevse_mock_config_rtc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'openevse_mock_config RTC temperature', + : 'temperature', + : 'openevse_mock_config RTC temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_rtc_temperature', @@ -1126,8 +1126,8 @@ # name: test_entities[sensor.openevse_mock_config_service_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'openevse_mock_config Service level', + : 'enum', + : 'openevse_mock_config Service level', : list([ 'level_1', 'level_2', @@ -1187,10 +1187,10 @@ # name: test_entities[sensor.openevse_mock_config_shaper_available_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'openevse_mock_config Shaper available current', + : 'current', + : 'openevse_mock_config Shaper available current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_shaper_available_current', @@ -1245,10 +1245,10 @@ # name: test_entities[sensor.openevse_mock_config_shaper_live_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'openevse_mock_config Shaper live power', + : 'power', + : 'openevse_mock_config Shaper live power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_shaper_live_power', @@ -1301,9 +1301,9 @@ # name: test_entities[sensor.openevse_mock_config_shaper_maximum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'openevse_mock_config Shaper maximum power', - 'unit_of_measurement': , + : 'power', + : 'openevse_mock_config Shaper maximum power', + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_shaper_maximum_power', @@ -1355,10 +1355,10 @@ # name: test_entities[sensor.openevse_mock_config_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'openevse_mock_config Signal strength', + : 'signal_strength', + : 'openevse_mock_config Signal strength', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.openevse_mock_config_signal_strength', @@ -1410,7 +1410,7 @@ # name: test_entities[sensor.openevse_mock_config_stuck_relay_trip_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'openevse_mock_config Stuck relay trip count', + : 'openevse_mock_config Stuck relay trip count', : , }), 'context': , @@ -1466,10 +1466,10 @@ # name: test_entities[sensor.openevse_mock_config_total_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'openevse_mock_config Total energy usage', + : 'energy', + : 'openevse_mock_config Total energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_total_energy_usage', @@ -1522,9 +1522,9 @@ # name: test_entities[sensor.openevse_mock_config_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'openevse_mock_config Uptime', - 'unit_of_measurement': , + : 'duration', + : 'openevse_mock_config Uptime', + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_uptime', @@ -1582,10 +1582,10 @@ # name: test_entities[sensor.openevse_mock_config_usage_this_session-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'openevse_mock_config Usage this session', + : 'energy', + : 'openevse_mock_config Usage this session', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_usage_this_session', @@ -1635,8 +1635,8 @@ # name: test_entities[sensor.openevse_mock_config_vehicle_charge_completion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'openevse_mock_config Vehicle charge completion', + : 'timestamp', + : 'openevse_mock_config Vehicle charge completion', }), 'context': , 'entity_id': 'sensor.openevse_mock_config_vehicle_charge_completion', @@ -1691,10 +1691,10 @@ # name: test_entities[sensor.openevse_mock_config_vehicle_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'openevse_mock_config Vehicle range', + : 'distance', + : 'openevse_mock_config Vehicle range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_vehicle_range', @@ -1746,10 +1746,10 @@ # name: test_entities[sensor.openevse_mock_config_vehicle_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'openevse_mock_config Vehicle state of charge', + : 'battery', + : 'openevse_mock_config Vehicle state of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.openevse_mock_config_vehicle_state_of_charge', @@ -1804,10 +1804,10 @@ # name: test_entities[sensor.openevse_mock_config_weekly_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'openevse_mock_config Weekly energy usage', + : 'energy', + : 'openevse_mock_config Weekly energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_weekly_energy_usage', @@ -1862,10 +1862,10 @@ # name: test_entities[sensor.openevse_mock_config_yearly_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'openevse_mock_config Yearly energy usage', + : 'energy', + : 'openevse_mock_config Yearly energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openevse_mock_config_yearly_energy_usage', diff --git a/tests/components/openrgb/snapshots/test_light.ambr b/tests/components/openrgb/snapshots/test_light.ambr index c04440bb473..20a8a78ead0 100644 --- a/tests/components/openrgb/snapshots/test_light.ambr +++ b/tests/components/openrgb/snapshots/test_light.ambr @@ -66,12 +66,12 @@ 'chase', 'random_flicker', ]), - 'friendly_name': 'ENE DRAM', + : 'ENE DRAM', : tuple( 0.0, 100.0, ), - 'icon': 'mdi:memory', + : 'mdi:memory', : tuple( 255, 0, @@ -80,7 +80,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.701, 0.299, diff --git a/tests/components/openrgb/snapshots/test_select.ambr b/tests/components/openrgb/snapshots/test_select.ambr index c14dec0ffbd..73dc52529af 100644 --- a/tests/components/openrgb/snapshots/test_select.ambr +++ b/tests/components/openrgb/snapshots/test_select.ambr @@ -42,7 +42,7 @@ # name: test_entities[select.test_computer_profile-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Computer Profile', + : 'Test Computer Profile', : list([ ]), }), diff --git a/tests/components/opensensemap/snapshots/test_sensor.ambr b/tests/components/opensensemap/snapshots/test_sensor.ambr index cd280e72112..b4ad88f877f 100644 --- a/tests/components/opensensemap/snapshots/test_sensor.ambr +++ b/tests/components/opensensemap/snapshots/test_sensor.ambr @@ -44,11 +44,11 @@ # name: test_sensors[sensor.test_station_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Test Station Atmospheric pressure', + : 'Data provided by openSenseMap', + : 'atmospheric_pressure', + : 'Test Station Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_station_atmospheric_pressure', @@ -100,11 +100,11 @@ # name: test_sensors[sensor.test_station_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'humidity', - 'friendly_name': 'Test Station Humidity', + : 'Data provided by openSenseMap', + : 'humidity', + : 'Test Station Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_station_humidity', @@ -156,11 +156,11 @@ # name: test_sensors[sensor.test_station_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'illuminance', - 'friendly_name': 'Test Station Illuminance', + : 'Data provided by openSenseMap', + : 'illuminance', + : 'Test Station Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.test_station_illuminance', @@ -212,11 +212,11 @@ # name: test_sensors[sensor.test_station_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'pm1', - 'friendly_name': 'Test Station PM1', + : 'Data provided by openSenseMap', + : 'pm1', + : 'Test Station PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_station_pm1', @@ -268,11 +268,11 @@ # name: test_sensors[sensor.test_station_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'pm10', - 'friendly_name': 'Test Station PM10', + : 'Data provided by openSenseMap', + : 'pm10', + : 'Test Station PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_station_pm10', @@ -324,11 +324,11 @@ # name: test_sensors[sensor.test_station_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'pm25', - 'friendly_name': 'Test Station PM2.5', + : 'Data provided by openSenseMap', + : 'pm25', + : 'Test Station PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_station_pm2_5', @@ -383,11 +383,11 @@ # name: test_sensors[sensor.test_station_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'temperature', - 'friendly_name': 'Test Station Temperature', + : 'Data provided by openSenseMap', + : 'temperature', + : 'Test Station Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_station_temperature', @@ -439,11 +439,11 @@ # name: test_sensors[sensor.test_station_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'wind_direction', - 'friendly_name': 'Test Station Wind direction', + : 'Data provided by openSenseMap', + : 'wind_direction', + : 'Test Station Wind direction', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.test_station_wind_direction', @@ -501,11 +501,11 @@ # name: test_sensors[sensor.test_station_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by openSenseMap', - 'device_class': 'wind_speed', - 'friendly_name': 'Test Station Wind speed', + : 'Data provided by openSenseMap', + : 'wind_speed', + : 'Test Station Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_station_wind_speed', diff --git a/tests/components/opensky/snapshots/test_sensor.ambr b/tests/components/opensky/snapshots/test_sensor.ambr index 9b18f75aae6..afecd7618a0 100644 --- a/tests/components/opensky/snapshots/test_sensor.ambr +++ b/tests/components/opensky/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Information provided by the OpenSky Network (https://opensky-network.org)', - 'friendly_name': 'OpenSky', + : 'Information provided by the OpenSky Network (https://opensky-network.org)', + : 'OpenSky', : , - 'unit_of_measurement': 'flights', + : 'flights', }), 'context': , 'entity_id': 'sensor.opensky', @@ -18,10 +18,10 @@ # name: test_sensor_altitude StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Information provided by the OpenSky Network (https://opensky-network.org)', - 'friendly_name': 'OpenSky', + : 'Information provided by the OpenSky Network (https://opensky-network.org)', + : 'OpenSky', : , - 'unit_of_measurement': 'flights', + : 'flights', }), 'context': , 'entity_id': 'sensor.opensky', diff --git a/tests/components/openuv/snapshots/test_binary_sensor.ambr b/tests/components/openuv/snapshots/test_binary_sensor.ambr index d04742921eb..8884bd2295e 100644 --- a/tests/components/openuv/snapshots/test_binary_sensor.ambr +++ b/tests/components/openuv/snapshots/test_binary_sensor.ambr @@ -41,7 +41,7 @@ 'attributes': ReadOnlyDict({ 'end_time': datetime.datetime(2018, 7, 30, 16, 47, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'end_uv': 3.6483, - 'friendly_name': 'OpenUV Protection window', + : 'OpenUV Protection window', 'start_time': datetime.datetime(2018, 7, 30, 9, 17, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'start_uv': 3.2509, }), @@ -58,7 +58,7 @@ 'attributes': ReadOnlyDict({ 'end_time': datetime.datetime(2018, 7, 30, 16, 47, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'end_uv': 3.6483, - 'friendly_name': 'OpenUV Protection window', + : 'OpenUV Protection window', 'start_time': datetime.datetime(2018, 7, 30, 9, 17, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'start_uv': 3.2509, }), @@ -75,7 +75,7 @@ 'attributes': ReadOnlyDict({ 'end_time': datetime.datetime(2018, 7, 30, 16, 47, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'end_uv': 3.6483, - 'friendly_name': 'OpenUV Protection window', + : 'OpenUV Protection window', 'start_time': datetime.datetime(2018, 7, 30, 9, 17, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'start_uv': 3.2509, }), @@ -92,7 +92,7 @@ 'attributes': ReadOnlyDict({ 'end_time': datetime.datetime(2018, 7, 30, 16, 47, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'end_uv': 3.6483, - 'friendly_name': 'OpenUV Protection window', + : 'OpenUV Protection window', 'start_time': datetime.datetime(2018, 7, 30, 9, 17, 49, 750000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), 'start_uv': 3.2509, }), diff --git a/tests/components/openuv/snapshots/test_sensor.ambr b/tests/components/openuv/snapshots/test_sensor.ambr index bdb83dbc514..ef7a762e113 100644 --- a/tests/components/openuv/snapshots/test_sensor.ambr +++ b/tests/components/openuv/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensors[sensor.openuv_current_ozone_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Current ozone level', + : 'OpenUV Current ozone level', : , - 'unit_of_measurement': 'du', + : 'du', }), 'context': , 'entity_id': 'sensor.openuv_current_ozone_level', @@ -95,9 +95,9 @@ # name: test_sensors[sensor.openuv_current_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Current UV index', + : 'OpenUV Current UV index', : , - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.openuv_current_uv_index', @@ -155,8 +155,8 @@ # name: test_sensors[sensor.openuv_current_uv_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'OpenUV Current UV level', + : 'enum', + : 'OpenUV Current UV level', : list([ 'extreme', 'very_high', @@ -215,10 +215,10 @@ # name: test_sensors[sensor.openuv_max_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Max UV index', + : 'OpenUV Max UV index', : , 'time': datetime.datetime(2018, 7, 30, 13, 7, 11, 505000, tzinfo=zoneinfo.ZoneInfo(key='America/Regina')), - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.openuv_max_uv_index', @@ -270,9 +270,9 @@ # name: test_sensors[sensor.openuv_skin_type_1_safe_exposure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Skin type 1 safe exposure time', + : 'OpenUV Skin type 1 safe exposure time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openuv_skin_type_1_safe_exposure_time', @@ -324,9 +324,9 @@ # name: test_sensors[sensor.openuv_skin_type_2_safe_exposure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Skin type 2 safe exposure time', + : 'OpenUV Skin type 2 safe exposure time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openuv_skin_type_2_safe_exposure_time', @@ -378,9 +378,9 @@ # name: test_sensors[sensor.openuv_skin_type_3_safe_exposure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Skin type 3 safe exposure time', + : 'OpenUV Skin type 3 safe exposure time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openuv_skin_type_3_safe_exposure_time', @@ -432,9 +432,9 @@ # name: test_sensors[sensor.openuv_skin_type_4_safe_exposure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Skin type 4 safe exposure time', + : 'OpenUV Skin type 4 safe exposure time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openuv_skin_type_4_safe_exposure_time', @@ -486,9 +486,9 @@ # name: test_sensors[sensor.openuv_skin_type_5_safe_exposure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Skin type 5 safe exposure time', + : 'OpenUV Skin type 5 safe exposure time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openuv_skin_type_5_safe_exposure_time', @@ -540,9 +540,9 @@ # name: test_sensors[sensor.openuv_skin_type_6_safe_exposure_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenUV Skin type 6 safe exposure time', + : 'OpenUV Skin type 6 safe exposure time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openuv_skin_type_6_safe_exposure_time', diff --git a/tests/components/openweathermap/snapshots/test_sensor.ambr b/tests/components/openweathermap/snapshots/test_sensor.ambr index fd486f62607..45ff321d212 100644 --- a/tests/components/openweathermap/snapshots/test_sensor.ambr +++ b/tests/components/openweathermap/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'aqi', - 'friendly_name': 'OpenWeatherMap Air quality index', + : 'Data provided by OpenWeatherMap', + : 'aqi', + : 'OpenWeatherMap Air quality index', : , }), 'context': , @@ -96,11 +96,11 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'carbon_monoxide', - 'friendly_name': 'OpenWeatherMap Carbon monoxide', + : 'Data provided by OpenWeatherMap', + : 'carbon_monoxide', + : 'OpenWeatherMap Carbon monoxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.openweathermap_carbon_monoxide', @@ -152,11 +152,11 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'nitrogen_dioxide', - 'friendly_name': 'OpenWeatherMap Nitrogen dioxide', + : 'Data provided by OpenWeatherMap', + : 'nitrogen_dioxide', + : 'OpenWeatherMap Nitrogen dioxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.openweathermap_nitrogen_dioxide', @@ -208,11 +208,11 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_nitrogen_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'nitrogen_monoxide', - 'friendly_name': 'OpenWeatherMap Nitrogen monoxide', + : 'Data provided by OpenWeatherMap', + : 'nitrogen_monoxide', + : 'OpenWeatherMap Nitrogen monoxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.openweathermap_nitrogen_monoxide', @@ -264,11 +264,11 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'ozone', - 'friendly_name': 'OpenWeatherMap Ozone', + : 'Data provided by OpenWeatherMap', + : 'ozone', + : 'OpenWeatherMap Ozone', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.openweathermap_ozone', @@ -320,11 +320,11 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'pm10', - 'friendly_name': 'OpenWeatherMap PM10', + : 'Data provided by OpenWeatherMap', + : 'pm10', + : 'OpenWeatherMap PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.openweathermap_pm10', @@ -376,11 +376,11 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'pm25', - 'friendly_name': 'OpenWeatherMap PM2.5', + : 'Data provided by OpenWeatherMap', + : 'pm25', + : 'OpenWeatherMap PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.openweathermap_pm2_5', @@ -432,11 +432,11 @@ # name: test_sensor_states[air_pollution][sensor.openweathermap_sulphur_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'sulphur_dioxide', - 'friendly_name': 'OpenWeatherMap Sulphur dioxide', + : 'Data provided by OpenWeatherMap', + : 'sulphur_dioxide', + : 'OpenWeatherMap Sulphur dioxide', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.openweathermap_sulphur_dioxide', @@ -491,11 +491,11 @@ # name: test_sensor_states[current][sensor.openweathermap_apparent_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'temperature', - 'friendly_name': 'OpenWeatherMap Apparent temperature', + : 'Data provided by OpenWeatherMap', + : 'temperature', + : 'OpenWeatherMap Apparent temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_apparent_temperature', @@ -547,10 +547,10 @@ # name: test_sensor_states[current][sensor.openweathermap_cloud_coverage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Cloud coverage', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Cloud coverage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.openweathermap_cloud_coverage', @@ -600,8 +600,8 @@ # name: test_sensor_states[current][sensor.openweathermap_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Condition', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Condition', }), 'context': , 'entity_id': 'sensor.openweathermap_condition', @@ -656,11 +656,11 @@ # name: test_sensor_states[current][sensor.openweathermap_dew_point_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'temperature', - 'friendly_name': 'OpenWeatherMap Dew point temperature', + : 'Data provided by OpenWeatherMap', + : 'temperature', + : 'OpenWeatherMap Dew point temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_dew_point_temperature', @@ -712,11 +712,11 @@ # name: test_sensor_states[current][sensor.openweathermap_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'humidity', - 'friendly_name': 'OpenWeatherMap Humidity', + : 'Data provided by OpenWeatherMap', + : 'humidity', + : 'OpenWeatherMap Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.openweathermap_humidity', @@ -766,8 +766,8 @@ # name: test_sensor_states[current][sensor.openweathermap_precipitation_kind-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Precipitation kind', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Precipitation kind', }), 'context': , 'entity_id': 'sensor.openweathermap_precipitation_kind', @@ -822,11 +822,11 @@ # name: test_sensor_states[current][sensor.openweathermap_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'pressure', - 'friendly_name': 'OpenWeatherMap Pressure', + : 'Data provided by OpenWeatherMap', + : 'pressure', + : 'OpenWeatherMap Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_pressure', @@ -881,11 +881,11 @@ # name: test_sensor_states[current][sensor.openweathermap_rain_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'OpenWeatherMap Rain intensity', + : 'Data provided by OpenWeatherMap', + : 'precipitation_intensity', + : 'OpenWeatherMap Rain intensity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_rain_intensity', @@ -940,11 +940,11 @@ # name: test_sensor_states[current][sensor.openweathermap_snow_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'OpenWeatherMap Snow intensity', + : 'Data provided by OpenWeatherMap', + : 'precipitation_intensity', + : 'OpenWeatherMap Snow intensity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_snow_intensity', @@ -999,11 +999,11 @@ # name: test_sensor_states[current][sensor.openweathermap_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'temperature', - 'friendly_name': 'OpenWeatherMap Temperature', + : 'Data provided by OpenWeatherMap', + : 'temperature', + : 'OpenWeatherMap Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_temperature', @@ -1055,10 +1055,10 @@ # name: test_sensor_states[current][sensor.openweathermap_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap UV index', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap UV index', : , - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.openweathermap_uv_index', @@ -1113,11 +1113,11 @@ # name: test_sensor_states[current][sensor.openweathermap_visibility-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'distance', - 'friendly_name': 'OpenWeatherMap Visibility', + : 'Data provided by OpenWeatherMap', + : 'distance', + : 'OpenWeatherMap Visibility', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_visibility', @@ -1167,8 +1167,8 @@ # name: test_sensor_states[current][sensor.openweathermap_weather-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Weather', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Weather', }), 'context': , 'entity_id': 'sensor.openweathermap_weather', @@ -1218,8 +1218,8 @@ # name: test_sensor_states[current][sensor.openweathermap_weather_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Weather code', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Weather code', }), 'context': , 'entity_id': 'sensor.openweathermap_weather_code', @@ -1271,11 +1271,11 @@ # name: test_sensor_states[current][sensor.openweathermap_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'wind_direction', - 'friendly_name': 'OpenWeatherMap Wind direction', + : 'Data provided by OpenWeatherMap', + : 'wind_direction', + : 'OpenWeatherMap Wind direction', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.openweathermap_wind_direction', @@ -1333,11 +1333,11 @@ # name: test_sensor_states[current][sensor.openweathermap_wind_gust_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'wind_speed', - 'friendly_name': 'OpenWeatherMap Wind gust speed', + : 'Data provided by OpenWeatherMap', + : 'wind_speed', + : 'OpenWeatherMap Wind gust speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_wind_gust_speed', @@ -1395,11 +1395,11 @@ # name: test_sensor_states[current][sensor.openweathermap_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'wind_speed', - 'friendly_name': 'OpenWeatherMap Wind speed', + : 'Data provided by OpenWeatherMap', + : 'wind_speed', + : 'OpenWeatherMap Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_wind_speed', @@ -1454,11 +1454,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_apparent_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'temperature', - 'friendly_name': 'OpenWeatherMap Apparent temperature', + : 'Data provided by OpenWeatherMap', + : 'temperature', + : 'OpenWeatherMap Apparent temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_apparent_temperature', @@ -1510,10 +1510,10 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_cloud_coverage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Cloud coverage', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Cloud coverage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.openweathermap_cloud_coverage', @@ -1563,8 +1563,8 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Condition', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Condition', }), 'context': , 'entity_id': 'sensor.openweathermap_condition', @@ -1619,11 +1619,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_dew_point_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'temperature', - 'friendly_name': 'OpenWeatherMap Dew point temperature', + : 'Data provided by OpenWeatherMap', + : 'temperature', + : 'OpenWeatherMap Dew point temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_dew_point_temperature', @@ -1675,11 +1675,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'humidity', - 'friendly_name': 'OpenWeatherMap Humidity', + : 'Data provided by OpenWeatherMap', + : 'humidity', + : 'OpenWeatherMap Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.openweathermap_humidity', @@ -1729,8 +1729,8 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_precipitation_kind-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Precipitation kind', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Precipitation kind', }), 'context': , 'entity_id': 'sensor.openweathermap_precipitation_kind', @@ -1785,11 +1785,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'pressure', - 'friendly_name': 'OpenWeatherMap Pressure', + : 'Data provided by OpenWeatherMap', + : 'pressure', + : 'OpenWeatherMap Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_pressure', @@ -1844,11 +1844,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_rain_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'OpenWeatherMap Rain intensity', + : 'Data provided by OpenWeatherMap', + : 'precipitation_intensity', + : 'OpenWeatherMap Rain intensity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_rain_intensity', @@ -1903,11 +1903,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_snow_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'precipitation_intensity', - 'friendly_name': 'OpenWeatherMap Snow intensity', + : 'Data provided by OpenWeatherMap', + : 'precipitation_intensity', + : 'OpenWeatherMap Snow intensity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_snow_intensity', @@ -1962,11 +1962,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'temperature', - 'friendly_name': 'OpenWeatherMap Temperature', + : 'Data provided by OpenWeatherMap', + : 'temperature', + : 'OpenWeatherMap Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_temperature', @@ -2018,10 +2018,10 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap UV index', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap UV index', : , - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.openweathermap_uv_index', @@ -2076,11 +2076,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_visibility-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'distance', - 'friendly_name': 'OpenWeatherMap Visibility', + : 'Data provided by OpenWeatherMap', + : 'distance', + : 'OpenWeatherMap Visibility', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_visibility', @@ -2130,8 +2130,8 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_weather-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Weather', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Weather', }), 'context': , 'entity_id': 'sensor.openweathermap_weather', @@ -2181,8 +2181,8 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_weather_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'friendly_name': 'OpenWeatherMap Weather code', + : 'Data provided by OpenWeatherMap', + : 'OpenWeatherMap Weather code', }), 'context': , 'entity_id': 'sensor.openweathermap_weather_code', @@ -2234,11 +2234,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'wind_direction', - 'friendly_name': 'OpenWeatherMap Wind direction', + : 'Data provided by OpenWeatherMap', + : 'wind_direction', + : 'OpenWeatherMap Wind direction', : , - 'unit_of_measurement': '°', + : '°', }), 'context': , 'entity_id': 'sensor.openweathermap_wind_direction', @@ -2296,11 +2296,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_wind_gust_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'wind_speed', - 'friendly_name': 'OpenWeatherMap Wind gust speed', + : 'Data provided by OpenWeatherMap', + : 'wind_speed', + : 'OpenWeatherMap Wind gust speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_wind_gust_speed', @@ -2358,11 +2358,11 @@ # name: test_sensor_states[v3.0][sensor.openweathermap_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by OpenWeatherMap', - 'device_class': 'wind_speed', - 'friendly_name': 'OpenWeatherMap Wind speed', + : 'Data provided by OpenWeatherMap', + : 'wind_speed', + : 'OpenWeatherMap Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.openweathermap_wind_speed', diff --git a/tests/components/openweathermap/snapshots/test_weather.ambr b/tests/components/openweathermap/snapshots/test_weather.ambr index a74c912d331..5fa23353805 100644 --- a/tests/components/openweathermap/snapshots/test_weather.ambr +++ b/tests/components/openweathermap/snapshots/test_weather.ambr @@ -64,10 +64,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 2.1, - 'attribution': 'Data provided by OpenWeatherMap', + : 'Data provided by OpenWeatherMap', : 75, : 4.0, - 'friendly_name': 'OpenWeatherMap', + : 'OpenWeatherMap', : 82, : , : 1000.0, @@ -130,15 +130,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 2.1, - 'attribution': 'Data provided by OpenWeatherMap', + : 'Data provided by OpenWeatherMap', : 75, : 4.0, - 'friendly_name': 'OpenWeatherMap', + : 'OpenWeatherMap', : 82, : , : 1000.0, : , - 'supported_features': , + : , : 6.8, : , : 10.0, @@ -197,15 +197,15 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 2.1, - 'attribution': 'Data provided by OpenWeatherMap', + : 'Data provided by OpenWeatherMap', : 75, : 4.0, - 'friendly_name': 'OpenWeatherMap', + : 'OpenWeatherMap', : 82, : , : 1000.0, : , - 'supported_features': , + : , : 6.8, : , : 10.0, diff --git a/tests/components/osoenergy/snapshots/test_water_heater.ambr b/tests/components/osoenergy/snapshots/test_water_heater.ambr index 871ec8499a8..082a77cacb2 100644 --- a/tests/components/osoenergy/snapshots/test_water_heater.ambr +++ b/tests/components/osoenergy/snapshots/test_water_heater.ambr @@ -44,10 +44,10 @@ 'attributes': ReadOnlyDict({ : 'off', : 60, - 'friendly_name': 'TEST DEVICE', + : 'TEST DEVICE', : 75, : 10, - 'supported_features': , + : , : 63, : 57, : 60, diff --git a/tests/components/otp/snapshots/test_sensor.ambr b/tests/components/otp/snapshots/test_sensor.ambr index 5329b03ad9e..67e5bc96b3e 100644 --- a/tests/components/otp/snapshots/test_sensor.ambr +++ b/tests/components/otp/snapshots/test_sensor.ambr @@ -2,7 +2,7 @@ # name: test_setup StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OTP Sensor', + : 'OTP Sensor', }), 'context': , 'entity_id': 'sensor.otp_sensor', diff --git a/tests/components/ouman_eh_800/snapshots/test_climate.ambr b/tests/components/ouman_eh_800/snapshots/test_climate.ambr index 8c4c6de5a3d..5c026965b27 100644 --- a/tests/components/ouman_eh_800/snapshots/test_climate.ambr +++ b/tests/components/ouman_eh_800/snapshots/test_climate.ambr @@ -53,7 +53,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'Heating circuit 1 Patterilämmitys', + : 'Heating circuit 1 Patterilämmitys', : , : list([ , @@ -67,7 +67,7 @@ 'temperature_drop', 'big_temperature_drop', ]), - 'supported_features': , + : , : 0.1, : 21.0, }), @@ -133,7 +133,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.0, - 'friendly_name': 'Heating circuit 2 Lattialämmitys', + : 'Heating circuit 2 Lattialämmitys', : , : list([ , @@ -147,7 +147,7 @@ 'temperature_drop', 'big_temperature_drop', ]), - 'supported_features': , + : , : 0.1, : 21.0, }), diff --git a/tests/components/ouman_eh_800/snapshots/test_number.ambr b/tests/components/ouman_eh_800/snapshots/test_number.ambr index 26c7e8224bf..f4976a353e3 100644 --- a/tests/components/ouman_eh_800/snapshots/test_number.ambr +++ b/tests/components/ouman_eh_800/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_big_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Big temperature drop', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Big temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_big_temperature_drop', @@ -105,13 +105,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_constant_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Constant temperature setpoint', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Constant temperature setpoint', : 95.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_constant_temperature_setpoint', @@ -166,13 +166,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_curve_0degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve 0°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve 0°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_0degc_temperature', @@ -227,13 +227,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_curve_20degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve -20°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve -20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_20degc_temperature', @@ -288,13 +288,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_curve_20degc_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve 20°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve 20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_20degc_temperature_2', @@ -349,13 +349,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_room_temperature_fine_tuning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Room temperature fine tuning', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Room temperature fine tuning', : 4.0, : -4.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_room_temperature_fine_tuning', @@ -410,13 +410,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Temperature drop', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_temperature_drop', @@ -471,13 +471,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_water_out_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Water out maximum temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Water out maximum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_water_out_maximum_temperature', @@ -532,13 +532,13 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.heating_circuit_1_patterilammitys_water_out_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Water out minimum temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Water out minimum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_water_out_minimum_temperature', @@ -593,12 +593,12 @@ # name: test_entities[number-l1_constant_temp_relay_summer_stop][number.ouman_eh_800_trend_sampling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Trend sampling interval', + : 'Ouman EH-800 Trend sampling interval', : 21600.0, : 30.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ouman_eh_800_trend_sampling_interval', @@ -653,13 +653,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_big_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Big temperature drop', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Big temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_big_temperature_drop', @@ -714,13 +714,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_curve_0degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve 0°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve 0°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_0degc_temperature', @@ -775,13 +775,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_curve_10degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve -10°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve -10°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_10degc_temperature', @@ -836,13 +836,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_curve_10degc_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve 10°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve 10°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_10degc_temperature_2', @@ -897,13 +897,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_curve_20degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve -20°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve -20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_20degc_temperature', @@ -958,13 +958,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_curve_20degc_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve 20°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve 20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_20degc_temperature_2', @@ -1019,13 +1019,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_room_temperature_fine_tuning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Room temperature fine tuning', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Room temperature fine tuning', : 4.0, : -4.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_room_temperature_fine_tuning', @@ -1080,13 +1080,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Temperature drop', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_temperature_drop', @@ -1141,13 +1141,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_water_out_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Water out maximum temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Water out maximum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_water_out_maximum_temperature', @@ -1202,13 +1202,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_1_patterilammitys_water_out_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Water out minimum temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Water out minimum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_water_out_minimum_temperature', @@ -1263,13 +1263,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_big_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Big temperature drop', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Big temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_big_temperature_drop', @@ -1324,13 +1324,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_curve_0degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve 0°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve 0°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_0degc_temperature', @@ -1385,13 +1385,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_curve_10degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve -10°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve -10°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_10degc_temperature', @@ -1446,13 +1446,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_curve_10degc_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve 10°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve 10°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_10degc_temperature_2', @@ -1507,13 +1507,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_curve_20degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve -20°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve -20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_20degc_temperature', @@ -1568,13 +1568,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_curve_20degc_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve 20°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve 20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_20degc_temperature_2', @@ -1629,13 +1629,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_room_temperature_fine_tuning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Room temperature fine tuning', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Room temperature fine tuning', : 4.0, : -4.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_room_temperature_fine_tuning', @@ -1690,13 +1690,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Temperature drop', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_temperature_drop', @@ -1751,13 +1751,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_water_out_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Water out maximum temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Water out maximum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_water_out_maximum_temperature', @@ -1812,13 +1812,13 @@ # name: test_entities[number-no_room_sensors][number.heating_circuit_2_lattialammitys_water_out_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Water out minimum temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Water out minimum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_water_out_minimum_temperature', @@ -1873,12 +1873,12 @@ # name: test_entities[number-no_room_sensors][number.ouman_eh_800_trend_sampling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Trend sampling interval', + : 'Ouman EH-800 Trend sampling interval', : 21600.0, : 30.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ouman_eh_800_trend_sampling_interval', @@ -1933,12 +1933,12 @@ # name: test_entities[number-relay_temp_difference][number.ouman_eh_800_trend_sampling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Trend sampling interval', + : 'Ouman EH-800 Trend sampling interval', : 21600.0, : 30.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ouman_eh_800_trend_sampling_interval', @@ -1993,12 +1993,12 @@ # name: test_entities[number-relay_temperature][number.ouman_eh_800_trend_sampling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Trend sampling interval', + : 'Ouman EH-800 Trend sampling interval', : 21600.0, : 30.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ouman_eh_800_trend_sampling_interval', @@ -2053,12 +2053,12 @@ # name: test_entities[number-relay_time_program][number.ouman_eh_800_trend_sampling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Trend sampling interval', + : 'Ouman EH-800 Trend sampling interval', : 21600.0, : 30.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ouman_eh_800_trend_sampling_interval', @@ -2113,12 +2113,12 @@ # name: test_entities[number-relay_valve_position][number.ouman_eh_800_trend_sampling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Trend sampling interval', + : 'Ouman EH-800 Trend sampling interval', : 21600.0, : 30.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ouman_eh_800_trend_sampling_interval', @@ -2173,13 +2173,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_big_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Big temperature drop', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Big temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_big_temperature_drop', @@ -2234,13 +2234,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_constant_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Constant temperature setpoint', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Constant temperature setpoint', : 95.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_constant_temperature_setpoint', @@ -2295,13 +2295,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_curve_0degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve 0°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve 0°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_0degc_temperature', @@ -2356,13 +2356,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_curve_20degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve -20°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve -20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_20degc_temperature', @@ -2417,13 +2417,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_curve_20degc_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve 20°C temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve 20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_curve_20degc_temperature_2', @@ -2478,13 +2478,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_room_temperature_fine_tuning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Room temperature fine tuning', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Room temperature fine tuning', : 4.0, : -4.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_room_temperature_fine_tuning', @@ -2539,13 +2539,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Temperature drop', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_temperature_drop', @@ -2600,13 +2600,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_water_out_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Water out maximum temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Water out maximum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_water_out_maximum_temperature', @@ -2661,13 +2661,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_1_patterilammitys_water_out_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Water out minimum temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Water out minimum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_1_patterilammitys_water_out_minimum_temperature', @@ -2722,13 +2722,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_big_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Big temperature drop', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Big temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_big_temperature_drop', @@ -2783,13 +2783,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_curve_0degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve 0°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve 0°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_0degc_temperature', @@ -2844,13 +2844,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_curve_20degc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve -20°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve -20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_20degc_temperature', @@ -2905,13 +2905,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_curve_20degc_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve 20°C temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve 20°C temperature', : 99.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_curve_20degc_temperature_2', @@ -2966,13 +2966,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_room_temperature_fine_tuning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Room temperature fine tuning', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Room temperature fine tuning', : 4.0, : -4.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_room_temperature_fine_tuning', @@ -3027,13 +3027,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_temperature_drop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Temperature drop', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Temperature drop', : 90.0, : 0.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_temperature_drop', @@ -3088,13 +3088,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_water_out_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Water out maximum temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Water out maximum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_water_out_maximum_temperature', @@ -3149,13 +3149,13 @@ # name: test_entities[number-room_sensors][number.heating_circuit_2_lattialammitys_water_out_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Water out minimum temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Water out minimum temperature', : 95.0, : 5.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.heating_circuit_2_lattialammitys_water_out_minimum_temperature', @@ -3210,12 +3210,12 @@ # name: test_entities[number-room_sensors][number.ouman_eh_800_trend_sampling_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Trend sampling interval', + : 'Ouman EH-800 Trend sampling interval', : 21600.0, : 30.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.ouman_eh_800_trend_sampling_interval', diff --git a/tests/components/ouman_eh_800/snapshots/test_select.ambr b/tests/components/ouman_eh_800/snapshots/test_select.ambr index 0869c4d88fb..1b3d5af17d3 100644 --- a/tests/components/ouman_eh_800/snapshots/test_select.ambr +++ b/tests/components/ouman_eh_800/snapshots/test_select.ambr @@ -48,7 +48,7 @@ # name: test_entities[select-l1_constant_temp_relay_summer_stop][select.heating_circuit_1_patterilammitys_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 1 Patterilämmitys Operation mode', + : 'Heating circuit 1 Patterilämmitys Operation mode', : list([ 'automatic', 'temperature_drop', @@ -112,7 +112,7 @@ # name: test_entities[select-l1_constant_temp_relay_summer_stop][select.ouman_eh_800_home_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Home/Away mode', + : 'Ouman EH-800 Home/Away mode', : list([ 'home', 'away', @@ -173,7 +173,7 @@ # name: test_entities[select-l1_constant_temp_relay_summer_stop][select.ouman_eh_800_pump_summer_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Pump summer stop', + : 'Ouman EH-800 Pump summer stop', : list([ 'auto', 'stop', @@ -237,7 +237,7 @@ # name: test_entities[select-no_room_sensors][select.heating_circuit_1_patterilammitys_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 1 Patterilämmitys Operation mode', + : 'Heating circuit 1 Patterilämmitys Operation mode', : list([ 'automatic', 'temperature_drop', @@ -304,7 +304,7 @@ # name: test_entities[select-no_room_sensors][select.heating_circuit_2_lattialammitys_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 2 Lattialämmitys Operation mode', + : 'Heating circuit 2 Lattialämmitys Operation mode', : list([ 'automatic', 'temperature_drop', @@ -368,7 +368,7 @@ # name: test_entities[select-no_room_sensors][select.ouman_eh_800_home_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Home/Away mode', + : 'Ouman EH-800 Home/Away mode', : list([ 'home', 'away', @@ -429,7 +429,7 @@ # name: test_entities[select-relay_temp_difference][select.ouman_eh_800_home_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Home/Away mode', + : 'Ouman EH-800 Home/Away mode', : list([ 'home', 'away', @@ -490,7 +490,7 @@ # name: test_entities[select-relay_temp_difference][select.ouman_eh_800_relay_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Relay control', + : 'Ouman EH-800 Relay control', : list([ 'auto', 'on', @@ -551,7 +551,7 @@ # name: test_entities[select-relay_temperature][select.ouman_eh_800_home_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Home/Away mode', + : 'Ouman EH-800 Home/Away mode', : list([ 'home', 'away', @@ -612,7 +612,7 @@ # name: test_entities[select-relay_temperature][select.ouman_eh_800_relay_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Relay control', + : 'Ouman EH-800 Relay control', : list([ 'auto', 'on', @@ -673,7 +673,7 @@ # name: test_entities[select-relay_time_program][select.ouman_eh_800_home_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Home/Away mode', + : 'Ouman EH-800 Home/Away mode', : list([ 'home', 'away', @@ -734,7 +734,7 @@ # name: test_entities[select-relay_time_program][select.ouman_eh_800_relay_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Relay control', + : 'Ouman EH-800 Relay control', : list([ 'auto', 'on', @@ -795,7 +795,7 @@ # name: test_entities[select-relay_valve_position][select.ouman_eh_800_home_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Home/Away mode', + : 'Ouman EH-800 Home/Away mode', : list([ 'home', 'away', @@ -856,7 +856,7 @@ # name: test_entities[select-relay_valve_position][select.ouman_eh_800_relay_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Relay control', + : 'Ouman EH-800 Relay control', : list([ 'auto', 'on', @@ -920,7 +920,7 @@ # name: test_entities[select-room_sensors][select.heating_circuit_1_patterilammitys_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 1 Patterilämmitys Operation mode', + : 'Heating circuit 1 Patterilämmitys Operation mode', : list([ 'automatic', 'temperature_drop', @@ -987,7 +987,7 @@ # name: test_entities[select-room_sensors][select.heating_circuit_2_lattialammitys_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 2 Lattialämmitys Operation mode', + : 'Heating circuit 2 Lattialämmitys Operation mode', : list([ 'automatic', 'temperature_drop', @@ -1051,7 +1051,7 @@ # name: test_entities[select-room_sensors][select.ouman_eh_800_home_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ouman EH-800 Home/Away mode', + : 'Ouman EH-800 Home/Away mode', : list([ 'home', 'away', diff --git a/tests/components/ouman_eh_800/snapshots/test_sensor.ambr b/tests/components/ouman_eh_800/snapshots/test_sensor.ambr index 05b013b75fc..ab4e80cc906 100644 --- a/tests/components/ouman_eh_800/snapshots/test_sensor.ambr +++ b/tests/components/ouman_eh_800/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_entities[sensor-l1_constant_temp_relay_summer_stop][sensor.heating_circuit_1_patterilammitys_curve_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve supply water temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_curve_supply_water_temperature', @@ -102,10 +102,10 @@ # name: test_entities[sensor-l1_constant_temp_relay_summer_stop][sensor.heating_circuit_1_patterilammitys_fine_adjustment_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Fine adjustment effect', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Fine adjustment effect', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_fine_adjustment_effect', @@ -160,10 +160,10 @@ # name: test_entities[sensor-l1_constant_temp_relay_summer_stop][sensor.heating_circuit_1_patterilammitys_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Supply water temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_supply_water_temperature', @@ -218,10 +218,10 @@ # name: test_entities[sensor-l1_constant_temp_relay_summer_stop][sensor.heating_circuit_1_patterilammitys_supply_water_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Supply water temperature setpoint', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Supply water temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_supply_water_temperature_setpoint', @@ -276,9 +276,9 @@ # name: test_entities[sensor-l1_constant_temp_relay_summer_stop][sensor.heating_circuit_1_patterilammitys_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 1 Patterilämmitys Valve position', + : 'Heating circuit 1 Patterilämmitys Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_valve_position', @@ -333,10 +333,10 @@ # name: test_entities[sensor-l1_constant_temp_relay_summer_stop][sensor.ouman_eh_800_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ouman EH-800 Outside temperature', + : 'temperature', + : 'Ouman EH-800 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ouman_eh_800_outside_temperature', @@ -391,10 +391,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_1_patterilammitys_curve_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve supply water temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_curve_supply_water_temperature', @@ -449,10 +449,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_1_patterilammitys_fine_adjustment_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Fine adjustment effect', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Fine adjustment effect', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_fine_adjustment_effect', @@ -507,10 +507,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_1_patterilammitys_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Supply water temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_supply_water_temperature', @@ -565,10 +565,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_1_patterilammitys_supply_water_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Supply water temperature setpoint', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Supply water temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_supply_water_temperature_setpoint', @@ -623,9 +623,9 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_1_patterilammitys_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 1 Patterilämmitys Valve position', + : 'Heating circuit 1 Patterilämmitys Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_valve_position', @@ -680,10 +680,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_2_lattialammitys_curve_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve supply water temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_curve_supply_water_temperature', @@ -738,10 +738,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_2_lattialammitys_delayed_outdoor_temperature_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Delayed outdoor temperature effect', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Delayed outdoor temperature effect', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_delayed_outdoor_temperature_effect', @@ -796,10 +796,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_2_lattialammitys_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Supply water temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_supply_water_temperature', @@ -854,10 +854,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_2_lattialammitys_supply_water_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Supply water temperature setpoint', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Supply water temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_supply_water_temperature_setpoint', @@ -912,9 +912,9 @@ # name: test_entities[sensor-no_room_sensors][sensor.heating_circuit_2_lattialammitys_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 2 Lattialämmitys Valve position', + : 'Heating circuit 2 Lattialämmitys Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_valve_position', @@ -969,10 +969,10 @@ # name: test_entities[sensor-no_room_sensors][sensor.ouman_eh_800_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ouman EH-800 Outside temperature', + : 'temperature', + : 'Ouman EH-800 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ouman_eh_800_outside_temperature', @@ -1027,10 +1027,10 @@ # name: test_entities[sensor-relay_temp_difference][sensor.ouman_eh_800_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ouman EH-800 Outside temperature', + : 'temperature', + : 'Ouman EH-800 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ouman_eh_800_outside_temperature', @@ -1085,10 +1085,10 @@ # name: test_entities[sensor-relay_temperature][sensor.ouman_eh_800_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ouman EH-800 Outside temperature', + : 'temperature', + : 'Ouman EH-800 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ouman_eh_800_outside_temperature', @@ -1143,10 +1143,10 @@ # name: test_entities[sensor-relay_time_program][sensor.ouman_eh_800_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ouman EH-800 Outside temperature', + : 'temperature', + : 'Ouman EH-800 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ouman_eh_800_outside_temperature', @@ -1201,10 +1201,10 @@ # name: test_entities[sensor-relay_valve_position][sensor.ouman_eh_800_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ouman EH-800 Outside temperature', + : 'temperature', + : 'Ouman EH-800 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ouman_eh_800_outside_temperature', @@ -1259,10 +1259,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_curve_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Curve supply water temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Curve supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_curve_supply_water_temperature', @@ -1317,10 +1317,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_delayed_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Delayed room temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Delayed room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_delayed_room_temperature', @@ -1375,10 +1375,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_fine_adjustment_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Fine adjustment effect', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Fine adjustment effect', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_fine_adjustment_effect', @@ -1433,10 +1433,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_room_sensor_potentiometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Room sensor potentiometer', + : 'temperature_delta', + : 'Heating circuit 1 Patterilämmitys Room sensor potentiometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_room_sensor_potentiometer', @@ -1491,10 +1491,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Room temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_room_temperature', @@ -1549,10 +1549,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_room_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Room temperature setpoint', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Room temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_room_temperature_setpoint', @@ -1607,10 +1607,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Supply water temperature', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_supply_water_temperature', @@ -1665,10 +1665,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_supply_water_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Supply water temperature setpoint', + : 'temperature', + : 'Heating circuit 1 Patterilämmitys Supply water temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_supply_water_temperature_setpoint', @@ -1723,9 +1723,9 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_1_patterilammitys_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 1 Patterilämmitys Valve position', + : 'Heating circuit 1 Patterilämmitys Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.heating_circuit_1_patterilammitys_valve_position', @@ -1780,10 +1780,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_curve_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Curve supply water temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Curve supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_curve_supply_water_temperature', @@ -1838,10 +1838,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_delayed_outdoor_temperature_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Delayed outdoor temperature effect', + : 'temperature_delta', + : 'Heating circuit 2 Lattialämmitys Delayed outdoor temperature effect', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_delayed_outdoor_temperature_effect', @@ -1896,10 +1896,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_delayed_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Delayed room temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Delayed room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_delayed_room_temperature', @@ -1954,10 +1954,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Room temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_room_temperature', @@ -2012,10 +2012,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_room_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Room temperature setpoint', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Room temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_room_temperature_setpoint', @@ -2070,10 +2070,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_supply_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Supply water temperature', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Supply water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_supply_water_temperature', @@ -2128,10 +2128,10 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_supply_water_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Supply water temperature setpoint', + : 'temperature', + : 'Heating circuit 2 Lattialämmitys Supply water temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_supply_water_temperature_setpoint', @@ -2186,9 +2186,9 @@ # name: test_entities[sensor-room_sensors][sensor.heating_circuit_2_lattialammitys_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Heating circuit 2 Lattialämmitys Valve position', + : 'Heating circuit 2 Lattialämmitys Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.heating_circuit_2_lattialammitys_valve_position', @@ -2243,10 +2243,10 @@ # name: test_entities[sensor-room_sensors][sensor.ouman_eh_800_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ouman EH-800 Outside temperature', + : 'temperature', + : 'Ouman EH-800 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ouman_eh_800_outside_temperature', diff --git a/tests/components/ouman_eh_800/snapshots/test_valve.ambr b/tests/components/ouman_eh_800/snapshots/test_valve.ambr index cebf23bc586..b54bd1905bf 100644 --- a/tests/components/ouman_eh_800/snapshots/test_valve.ambr +++ b/tests/components/ouman_eh_800/snapshots/test_valve.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'water', - 'friendly_name': 'Heating circuit 1 Patterilämmitys Valve position setpoint', + : 'water', + : 'Heating circuit 1 Patterilämmitys Valve position setpoint', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.heating_circuit_1_patterilammitys_valve_position_setpoint', @@ -94,10 +94,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'water', - 'friendly_name': 'Heating circuit 2 Lattialämmitys Valve position setpoint', + : 'water', + : 'Heating circuit 2 Lattialämmitys Valve position setpoint', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.heating_circuit_2_lattialammitys_valve_position_setpoint', diff --git a/tests/components/overkiz/snapshots/test_binary_sensor.ambr b/tests/components/overkiz/snapshots/test_binary_sensor.ambr index 6c9eb8acda3..0df8fad4896 100644 --- a/tests/components/overkiz/snapshots/test_binary_sensor.ambr +++ b/tests/components/overkiz/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][binary_sensor.my_home_patio_water_heating_energy_demand_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Patio Water Heating Energy demand status', + : 'heat', + : 'Patio Water Heating Energy demand status', }), 'context': , 'entity_id': 'binary_sensor.my_home_patio_water_heating_energy_demand_status', @@ -90,8 +90,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][binary_sensor.my_home_patio_water_heating_heating_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Patio Water Heating Heating status', + : 'heat', + : 'Patio Water Heating Heating status', }), 'context': , 'entity_id': 'binary_sensor.my_home_patio_water_heating_heating_status', @@ -141,8 +141,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][binary_sensor.maple_residence_living_room_smoke_detector_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Living Room Smoke Detector Smoke', + : 'smoke', + : 'Living Room Smoke Detector Smoke', }), 'context': , 'entity_id': 'binary_sensor.maple_residence_living_room_smoke_detector_smoke', @@ -192,8 +192,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][binary_sensor.family_wing_fenetre_garage_contact-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Fenêtre Garage Contact', + : 'door', + : 'Fenêtre Garage Contact', }), 'context': , 'entity_id': 'binary_sensor.family_wing_fenetre_garage_contact', @@ -243,8 +243,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][binary_sensor.family_wing_porte_contact-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Porte Contact', + : 'door', + : 'Porte Contact', }), 'context': , 'entity_id': 'binary_sensor.family_wing_porte_contact', @@ -294,8 +294,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][binary_sensor.kids_room_kitchen_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Kitchen Occupancy', + : 'occupancy', + : 'Kitchen Occupancy', }), 'context': , 'entity_id': 'binary_sensor.kids_room_kitchen_occupancy', @@ -345,8 +345,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][binary_sensor.living_room_hallway_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Hallway Occupancy', + : 'occupancy', + : 'Hallway Occupancy', }), 'context': , 'entity_id': 'binary_sensor.living_room_hallway_occupancy', @@ -396,8 +396,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][binary_sensor.upstairs_detecteur_fumee_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Détecteur Fumée Smoke', + : 'smoke', + : 'Détecteur Fumée Smoke', }), 'context': , 'entity_id': 'binary_sensor.upstairs_detecteur_fumee_smoke', @@ -447,8 +447,8 @@ # name: test_binary_sensor_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][binary_sensor.upstairs_entree_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Entrée Occupancy', + : 'occupancy', + : 'Entrée Occupancy', }), 'context': , 'entity_id': 'binary_sensor.upstairs_entree_occupancy', diff --git a/tests/components/overkiz/snapshots/test_button.ambr b/tests/components/overkiz/snapshots/test_button.ambr index 0acb706d453..7b96a3fced7 100644 --- a/tests/components/overkiz/snapshots/test_button.ambr +++ b/tests/components/overkiz/snapshots/test_button.ambr @@ -39,9 +39,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_garage_ceiling_light_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Garage Ceiling Light Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Garage Ceiling Light Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_garage_ceiling_light_identify', @@ -91,8 +91,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_garage_ceiling_light_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Ceiling Light Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garage Ceiling Light Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_garage_ceiling_light_start_identify', @@ -142,8 +142,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_garage_ceiling_light_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Ceiling Light Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garage Ceiling Light Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_garage_ceiling_light_stop_identify', @@ -193,9 +193,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_garden_radiator_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Garden Radiator Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Garden Radiator Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_garden_radiator_identify', @@ -245,8 +245,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_garden_radiator_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Radiator Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden Radiator Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_garden_radiator_start_identify', @@ -296,8 +296,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_garden_radiator_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Radiator Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden Radiator Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_garden_radiator_stop_identify', @@ -347,9 +347,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_hallway_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Hallway Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Hallway Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_hallway_shutter_identify', @@ -399,8 +399,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_hallway_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Shutter My position', - 'icon': 'mdi:star', + : 'Hallway Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.maple_residence_hallway_shutter_my_position', @@ -450,8 +450,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_hallway_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Hallway Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_hallway_shutter_start_identify', @@ -501,8 +501,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_hallway_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Hallway Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_hallway_shutter_stop_identify', @@ -552,8 +552,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_living_room_air_inlet_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Inlet Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Living Room Air Inlet Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_living_room_air_inlet_start_identify', @@ -603,8 +603,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_living_room_air_outlet_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Outlet Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Living Room Air Outlet Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_living_room_air_outlet_start_identify', @@ -654,8 +654,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_living_room_air_transfer_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Transfer Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Living Room Air Transfer Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_living_room_air_transfer_start_identify', @@ -705,9 +705,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_living_room_radiator_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Living Room Radiator Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Living Room Radiator Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_living_room_radiator_identify', @@ -757,8 +757,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_living_room_radiator_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Radiator Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Living Room Radiator Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_living_room_radiator_start_identify', @@ -808,8 +808,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_living_room_radiator_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Radiator Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Living Room Radiator Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_living_room_radiator_stop_identify', @@ -859,8 +859,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_living_room_smoke_detector_test-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Smoke Detector Test', - 'icon': 'mdi:smoke-detector', + : 'Living Room Smoke Detector Test', + : 'mdi:smoke-detector', }), 'context': , 'entity_id': 'button.maple_residence_living_room_smoke_detector_test', @@ -910,9 +910,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_nursery_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Nursery Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Nursery Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_nursery_shutter_identify', @@ -962,8 +962,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_nursery_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Shutter My position', - 'icon': 'mdi:star', + : 'Nursery Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.maple_residence_nursery_shutter_my_position', @@ -1013,8 +1013,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_nursery_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Nursery Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_nursery_shutter_start_identify', @@ -1064,8 +1064,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_nursery_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Nursery Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_nursery_shutter_stop_identify', @@ -1115,9 +1115,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_office_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Office Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Office Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_office_shutter_identify', @@ -1167,8 +1167,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_office_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter My position', - 'icon': 'mdi:star', + : 'Office Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.maple_residence_office_shutter_my_position', @@ -1218,8 +1218,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_office_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Office Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_office_shutter_start_identify', @@ -1269,8 +1269,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_office_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Office Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_office_shutter_stop_identify', @@ -1320,9 +1320,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_study_ceiling_light_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Study Ceiling Light Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Study Ceiling Light Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_study_ceiling_light_identify', @@ -1372,8 +1372,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_study_ceiling_light_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study Ceiling Light Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Study Ceiling Light Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_study_ceiling_light_start_identify', @@ -1423,8 +1423,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_study_ceiling_light_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study Ceiling Light Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Study Ceiling Light Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_study_ceiling_light_stop_identify', @@ -1474,9 +1474,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_study_radiator_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Study Radiator Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Study Radiator Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_study_radiator_identify', @@ -1526,8 +1526,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_study_radiator_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study Radiator Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Study Radiator Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_study_radiator_start_identify', @@ -1577,8 +1577,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_study_radiator_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study Radiator Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Study Radiator Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_study_radiator_stop_identify', @@ -1628,9 +1628,9 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_terrace_ceiling_light_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Terrace Ceiling Light Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Terrace Ceiling Light Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_terrace_ceiling_light_identify', @@ -1680,8 +1680,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_terrace_ceiling_light_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Terrace Ceiling Light Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Terrace Ceiling Light Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_terrace_ceiling_light_start_identify', @@ -1731,8 +1731,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_terrace_ceiling_light_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Terrace Ceiling Light Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Terrace Ceiling Light Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_terrace_ceiling_light_stop_identify', @@ -1782,8 +1782,8 @@ # name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.maple_residence_terrace_radiator_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Terrace Radiator Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Terrace Radiator Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.maple_residence_terrace_radiator_start_identify', @@ -1833,9 +1833,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_studio_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Studio Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Studio Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.dining_room_studio_shutter_identify', @@ -1885,8 +1885,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_studio_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Studio Shutter My position', - 'icon': 'mdi:star', + : 'Studio Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.dining_room_studio_shutter_my_position', @@ -1936,8 +1936,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_studio_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Studio Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Studio Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.dining_room_studio_shutter_start_identify', @@ -1987,8 +1987,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_studio_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Studio Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Studio Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.dining_room_studio_shutter_stop_identify', @@ -2038,9 +2038,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_dining_room_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Dining Room Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Dining Room Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.garage_dining_room_shutter_identify', @@ -2090,8 +2090,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_dining_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining Room Shutter My position', - 'icon': 'mdi:star', + : 'Dining Room Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.garage_dining_room_shutter_my_position', @@ -2141,8 +2141,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_dining_room_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining Room Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Dining Room Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.garage_dining_room_shutter_start_identify', @@ -2192,8 +2192,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_dining_room_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining Room Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Dining Room Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.garage_dining_room_shutter_stop_identify', @@ -2243,9 +2243,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_guest_room_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Guest Room Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Guest Room Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.garage_guest_room_shutter_identify', @@ -2295,8 +2295,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_guest_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Guest Room Shutter My position', - 'icon': 'mdi:star', + : 'Guest Room Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.garage_guest_room_shutter_my_position', @@ -2346,8 +2346,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_guest_room_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Guest Room Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Guest Room Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.garage_guest_room_shutter_start_identify', @@ -2397,8 +2397,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_guest_room_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Guest Room Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Guest Room Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.garage_guest_room_shutter_stop_identify', @@ -2448,9 +2448,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_bedroom_kids_room_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Kids Room Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Kids Room Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.guest_bedroom_kids_room_shutter_identify', @@ -2500,8 +2500,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_bedroom_kids_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kids Room Shutter My position', - 'icon': 'mdi:star', + : 'Kids Room Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.guest_bedroom_kids_room_shutter_my_position', @@ -2551,8 +2551,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_bedroom_kids_room_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kids Room Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Kids Room Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.guest_bedroom_kids_room_shutter_start_identify', @@ -2602,8 +2602,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_bedroom_kids_room_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kids Room Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Kids Room Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.guest_bedroom_kids_room_shutter_stop_identify', @@ -2653,9 +2653,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.home_library_garden_light_switch_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Garden Light Switch Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Garden Light Switch Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.home_library_garden_light_switch_identify', @@ -2705,8 +2705,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.home_library_garden_light_switch_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light Switch Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden Light Switch Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.home_library_garden_light_switch_start_identify', @@ -2756,8 +2756,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.home_library_garden_light_switch_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Light Switch Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden Light Switch Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.home_library_garden_light_switch_stop_identify', @@ -2807,9 +2807,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_kitchen_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Kitchen Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Kitchen Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_kitchen_shutter_identify', @@ -2859,8 +2859,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_kitchen_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Shutter My position', - 'icon': 'mdi:star', + : 'Kitchen Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.kids_room_kitchen_shutter_my_position', @@ -2910,8 +2910,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_kitchen_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Kitchen Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_kitchen_shutter_start_identify', @@ -2961,8 +2961,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_kitchen_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Kitchen Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_kitchen_shutter_stop_identify', @@ -3012,9 +3012,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_office_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Office Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Office Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_office_shutter_identify', @@ -3064,8 +3064,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_office_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter My position', - 'icon': 'mdi:star', + : 'Office Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.kids_room_office_shutter_my_position', @@ -3115,8 +3115,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_office_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Office Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_office_shutter_start_identify', @@ -3166,8 +3166,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_office_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Office Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_office_shutter_stop_identify', @@ -3217,9 +3217,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_patio_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Patio Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Patio Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_patio_shutter_identify', @@ -3269,8 +3269,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_patio_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Shutter My position', - 'icon': 'mdi:star', + : 'Patio Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.kids_room_patio_shutter_my_position', @@ -3320,8 +3320,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_patio_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Patio Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_patio_shutter_start_identify', @@ -3371,8 +3371,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_patio_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Patio Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.kids_room_patio_shutter_stop_identify', @@ -3422,9 +3422,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_bedroom_window_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Bedroom Window Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Bedroom Window Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_bedroom_window_identify', @@ -3474,8 +3474,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_bedroom_window_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Window Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Bedroom Window Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_bedroom_window_start_identify', @@ -3525,8 +3525,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_bedroom_window_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Window Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Bedroom Window Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_bedroom_window_stop_identify', @@ -3576,8 +3576,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_bioclimatic_pergola_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bioclimatic Pergola My position', - 'icon': 'mdi:star', + : 'Bioclimatic Pergola My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.living_room_bioclimatic_pergola_my_position', @@ -3627,8 +3627,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_bioclimatic_pergola_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bioclimatic Pergola Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Bioclimatic Pergola Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_bioclimatic_pergola_start_identify', @@ -3678,9 +3678,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_cyclic_garage_door_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Cyclic Garage Door Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Cyclic Garage Door Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_cyclic_garage_door_identify', @@ -3730,8 +3730,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_cyclic_garage_door_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cyclic Garage Door Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Cyclic Garage Door Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_cyclic_garage_door_start_identify', @@ -3781,8 +3781,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_cyclic_garage_door_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cyclic Garage Door Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Cyclic Garage Door Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_cyclic_garage_door_stop_identify', @@ -3832,8 +3832,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_cyclic_garage_door_toggle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cyclic Garage Door Toggle', - 'icon': 'mdi:sync', + : 'Cyclic Garage Door Toggle', + : 'mdi:sync', }), 'context': , 'entity_id': 'button.living_room_cyclic_garage_door_toggle', @@ -3883,9 +3883,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_front_door_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Front Door Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Front Door Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_front_door_identify', @@ -3935,8 +3935,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_front_door_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Front Door Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_front_door_start_identify', @@ -3986,8 +3986,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_front_door_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Front Door Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_front_door_stop_identify', @@ -4037,8 +4037,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_garage_door_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Door Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garage Door Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_garage_door_start_identify', @@ -4088,9 +4088,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_garden_gate_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Garden Gate Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Garden Gate Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_garden_gate_identify', @@ -4140,8 +4140,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_garden_gate_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Gate Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden Gate Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_garden_gate_start_identify', @@ -4191,8 +4191,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_garden_gate_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Gate Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden Gate Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_garden_gate_stop_identify', @@ -4242,9 +4242,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_main_garage_door_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Main Garage Door Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Main Garage Door Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_main_garage_door_identify', @@ -4294,8 +4294,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_main_garage_door_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Garage Door Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Main Garage Door Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_main_garage_door_start_identify', @@ -4345,8 +4345,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_main_garage_door_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Main Garage Door Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Main Garage Door Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_main_garage_door_stop_identify', @@ -4396,8 +4396,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_ogp_garage_door_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OGP Garage Door Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'OGP Garage Door Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_ogp_garage_door_start_identify', @@ -4447,8 +4447,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_ogp_gate_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OGP Gate Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'OGP Gate Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_ogp_gate_start_identify', @@ -4498,9 +4498,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_rts_garage_door_4t_toggle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'RTS Garage Door 4T Toggle', - 'icon': 'mdi:sync', + : True, + : 'RTS Garage Door 4T Toggle', + : 'mdi:sync', }), 'context': , 'entity_id': 'button.living_room_rts_garage_door_4t_toggle', @@ -4550,9 +4550,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_rts_gate_toggle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'RTS Gate Toggle', - 'icon': 'mdi:sync', + : True, + : 'RTS Gate Toggle', + : 'mdi:sync', }), 'context': , 'entity_id': 'button.living_room_rts_gate_toggle', @@ -4602,9 +4602,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_side_garage_door_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Side Garage Door Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Side Garage Door Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_side_garage_door_identify', @@ -4654,8 +4654,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_side_garage_door_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Side Garage Door Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Side Garage Door Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_side_garage_door_start_identify', @@ -4705,8 +4705,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_side_garage_door_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Side Garage Door Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Side Garage Door Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_side_garage_door_stop_identify', @@ -4756,8 +4756,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_sliding_gate_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sliding Gate Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Sliding Gate Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_sliding_gate_start_identify', @@ -4807,9 +4807,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_swinging_gate_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Swinging Gate Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Swinging Gate Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_swinging_gate_identify', @@ -4859,8 +4859,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_swinging_gate_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Swinging Gate Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Swinging Gate Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_swinging_gate_start_identify', @@ -4910,8 +4910,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_swinging_gate_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Swinging Gate Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Swinging Gate Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.living_room_swinging_gate_stop_identify', @@ -4961,8 +4961,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_swinging_gate_toggle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Swinging Gate Toggle', - 'icon': 'mdi:sync', + : 'Swinging Gate Toggle', + : 'mdi:sync', }), 'context': , 'entity_id': 'button.living_room_swinging_gate_toggle', @@ -5012,9 +5012,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_bedroom_blinds_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Bedroom Blinds Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Bedroom Blinds Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.main_bedroom_bedroom_blinds_identify', @@ -5064,8 +5064,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_bedroom_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Blinds My position', - 'icon': 'mdi:star', + : 'Bedroom Blinds My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.main_bedroom_bedroom_blinds_my_position', @@ -5115,8 +5115,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_bedroom_blinds_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Blinds Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Bedroom Blinds Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.main_bedroom_bedroom_blinds_start_identify', @@ -5166,8 +5166,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_bedroom_blinds_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Blinds Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Bedroom Blinds Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.main_bedroom_bedroom_blinds_stop_identify', @@ -5217,8 +5217,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_bedroom_venetian_blind_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Venetian Blind My position', - 'icon': 'mdi:star', + : 'Bedroom Venetian Blind My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.main_bedroom_bedroom_venetian_blind_my_position', @@ -5268,8 +5268,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_bedroom_venetian_blind_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Venetian Blind Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Bedroom Venetian Blind Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.main_bedroom_bedroom_venetian_blind_start_identify', @@ -5319,9 +5319,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_patio_light_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Patio Light Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Patio Light Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.main_bedroom_patio_light_identify', @@ -5371,8 +5371,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_patio_light_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Light Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Patio Light Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.main_bedroom_patio_light_start_identify', @@ -5422,8 +5422,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_bedroom_patio_light_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Light Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Patio Light Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.main_bedroom_patio_light_stop_identify', @@ -5473,9 +5473,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.music_room_pool_pump_on_off_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Pool Pump On&Off Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Pool Pump On&Off Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.music_room_pool_pump_on_off_identify', @@ -5525,8 +5525,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.music_room_pool_pump_on_off_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Pump On&Off Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Pool Pump On&Off Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.music_room_pool_pump_on_off_start_identify', @@ -5576,8 +5576,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.music_room_pool_pump_on_off_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Pump On&Off Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Pool Pump On&Off Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.music_room_pool_pump_on_off_stop_identify', @@ -5627,9 +5627,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_garden_house_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Garden House Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Garden House Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.office_garden_house_shutter_identify', @@ -5679,8 +5679,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_garden_house_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden House Shutter My position', - 'icon': 'mdi:star', + : 'Garden House Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.office_garden_house_shutter_my_position', @@ -5730,8 +5730,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_garden_house_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden House Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden House Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.office_garden_house_shutter_start_identify', @@ -5781,8 +5781,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_garden_house_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden House Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Garden House Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.office_garden_house_shutter_stop_identify', @@ -5832,9 +5832,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.pool_house_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Pool House Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Pool House Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.pool_house_identify', @@ -5884,8 +5884,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.pool_house_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool House Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Pool House Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.pool_house_start_identify', @@ -5935,8 +5935,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.pool_house_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool House Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Pool House Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.pool_house_stop_identify', @@ -5986,9 +5986,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.reading_nook_living_room_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Living Room Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Living Room Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.reading_nook_living_room_shutter_identify', @@ -6038,8 +6038,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.reading_nook_living_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Shutter My position', - 'icon': 'mdi:star', + : 'Living Room Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.reading_nook_living_room_shutter_my_position', @@ -6089,8 +6089,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.reading_nook_living_room_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Living Room Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.reading_nook_living_room_shutter_start_identify', @@ -6140,8 +6140,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.reading_nook_living_room_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Living Room Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.reading_nook_living_room_shutter_stop_identify', @@ -6191,9 +6191,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.willow_house_external_siren_bip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'External Siren Bip', - 'icon': 'mdi:bell-ring', + : True, + : 'External Siren Bip', + : 'mdi:bell-ring', }), 'context': , 'entity_id': 'button.willow_house_external_siren_bip', @@ -6243,9 +6243,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.willow_house_external_siren_fast_bip_sequence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'External Siren Fast bip sequence', - 'icon': 'mdi:bell-ring', + : True, + : 'External Siren Fast bip sequence', + : 'mdi:bell-ring', }), 'context': , 'entity_id': 'button.willow_house_external_siren_fast_bip_sequence', @@ -6295,9 +6295,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.willow_house_external_siren_ring-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'External Siren Ring', - 'icon': 'mdi:bell-ring', + : True, + : 'External Siren Ring', + : 'mdi:bell-ring', }), 'context': , 'entity_id': 'button.willow_house_external_siren_ring', @@ -6347,9 +6347,9 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.willow_house_protexiom_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Protexiom Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Protexiom Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.willow_house_protexiom_identify', @@ -6399,8 +6399,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.willow_house_protexiom_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Protexiom Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Protexiom Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.willow_house_protexiom_start_identify', @@ -6450,8 +6450,8 @@ # name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.willow_house_protexiom_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Protexiom Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Protexiom Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.willow_house_protexiom_stop_identify', @@ -6501,9 +6501,9 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Back Door Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Back Door Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.back_door_shutter_identify', @@ -6553,8 +6553,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Back Door Shutter My position', - 'icon': 'mdi:star', + : 'Back Door Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.back_door_shutter_my_position', @@ -6604,8 +6604,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Back Door Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Back Door Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.back_door_shutter_start_identify', @@ -6655,8 +6655,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Back Door Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Back Door Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.back_door_shutter_stop_identify', @@ -6706,9 +6706,9 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Front Door Shutter Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Front Door Shutter Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.front_door_shutter_identify', @@ -6758,8 +6758,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Shutter My position', - 'icon': 'mdi:star', + : 'Front Door Shutter My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.front_door_shutter_my_position', @@ -6809,8 +6809,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Shutter Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Front Door Shutter Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.front_door_shutter_start_identify', @@ -6860,8 +6860,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Shutter Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Front Door Shutter Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.front_door_shutter_stop_identify', @@ -6911,9 +6911,9 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Roof Window Identify', - 'icon': 'mdi:human-greeting-variant', + : 'identify', + : 'Roof Window Identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.roof_window_identify', @@ -6963,8 +6963,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roof Window My position', - 'icon': 'mdi:star', + : 'Roof Window My position', + : 'mdi:star', }), 'context': , 'entity_id': 'button.roof_window_my_position', @@ -7014,8 +7014,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roof Window Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Roof Window Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.roof_window_start_identify', @@ -7065,8 +7065,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roof Window Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Roof Window Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.roof_window_stop_identify', @@ -7116,8 +7116,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.zigbee_plug_start_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zigbee Plug Start identify', - 'icon': 'mdi:human-greeting-variant', + : 'Zigbee Plug Start identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.zigbee_plug_start_identify', @@ -7167,8 +7167,8 @@ # name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.zigbee_plug_stop_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zigbee Plug Stop identify', - 'icon': 'mdi:human-greeting-variant', + : 'Zigbee Plug Stop identify', + : 'mdi:human-greeting-variant', }), 'context': , 'entity_id': 'button.zigbee_plug_stop_identify', diff --git a/tests/components/overkiz/snapshots/test_cover.ambr b/tests/components/overkiz/snapshots/test_cover.ambr index 98ba738cc2c..a7bdf6b33a2 100644 --- a/tests/components/overkiz/snapshots/test_cover.ambr +++ b/tests/components/overkiz/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Hallway Shutter', + : 'shutter', + : 'Hallway Shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.maple_residence_hallway_shutter', @@ -94,10 +94,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Hallway Shutter Low speed', + : 'shutter', + : 'Hallway Shutter Low speed', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.maple_residence_hallway_shutter_low_speed', @@ -148,10 +148,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Nursery Shutter', + : 'shutter', + : 'Nursery Shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.maple_residence_nursery_shutter', @@ -202,10 +202,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Nursery Shutter Low speed', + : 'shutter', + : 'Nursery Shutter Low speed', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.maple_residence_nursery_shutter_low_speed', @@ -256,10 +256,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Office Shutter', + : 'shutter', + : 'Office Shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.maple_residence_office_shutter', @@ -310,10 +310,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Office Shutter Low speed', + : 'shutter', + : 'Office Shutter Low speed', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.maple_residence_office_shutter_low_speed', @@ -363,11 +363,11 @@ # name: test_cover_entities_snapshot[cloud_somfy_connexoon_rts_asia.json][cover.palm_court_jaloezie-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'blind', - 'friendly_name': 'Jaloezie', + : True, + : 'blind', + : 'Jaloezie', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.palm_court_jaloezie', @@ -417,11 +417,11 @@ # name: test_cover_entities_snapshot[cloud_somfy_connexoon_rts_asia.json][cover.palm_court_kitchen_sheer_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'blind', - 'friendly_name': 'Kitchen Sheer Screen', + : True, + : 'blind', + : 'Kitchen Sheer Screen', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.palm_court_kitchen_sheer_screen', @@ -471,11 +471,11 @@ # name: test_cover_entities_snapshot[cloud_somfy_connexoon_rts_asia.json][cover.palm_court_kitchen_shutter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'shutter', - 'friendly_name': 'Kitchen Shutter', + : True, + : 'shutter', + : 'Kitchen Shutter', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.palm_court_kitchen_shutter', @@ -525,11 +525,11 @@ # name: test_cover_entities_snapshot[cloud_somfy_connexoon_rts_asia.json][cover.palm_court_office_venetian_blind-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'blind', - 'friendly_name': 'Office Venetian Blind', + : True, + : 'blind', + : 'Office Venetian Blind', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.palm_court_office_venetian_blind', @@ -579,11 +579,11 @@ # name: test_cover_entities_snapshot[cloud_somfy_connexoon_rts_asia.json][cover.palm_court_patio_shutter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'shutter', - 'friendly_name': 'Patio Shutter', + : True, + : 'shutter', + : 'Patio Shutter', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.palm_court_patio_shutter', @@ -634,10 +634,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'window', - 'friendly_name': 'Loft Window', + : 'window', + : 'Loft Window', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.loft_loft_window', @@ -688,10 +688,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'window', - 'friendly_name': 'Studio Window', + : 'window', + : 'Studio Window', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.loft_studio_window', @@ -742,10 +742,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50, - 'device_class': 'blind', - 'friendly_name': 'Laundry Screen', + : 'blind', + : 'Laundry Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.playroom_laundry_screen', @@ -796,10 +796,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Pantry Screen', + : 'blind', + : 'Pantry Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.playroom_pantry_screen', @@ -850,10 +850,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Playroom Screen', + : 'blind', + : 'Playroom Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.playroom_playroom_screen', @@ -904,10 +904,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Workshop Screen', + : 'blind', + : 'Workshop Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.playroom_workshop_screen', @@ -958,10 +958,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Study Screen', + : 'blind', + : 'Study Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.study_study_screen', @@ -1013,10 +1013,10 @@ 'attributes': ReadOnlyDict({ : 80, : 100, - 'device_class': 'shutter', - 'friendly_name': 'Basement Roller Shutter', + : 'shutter', + : 'Basement Roller Shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.veranda_basement_roller_shutter', @@ -1068,10 +1068,10 @@ 'attributes': ReadOnlyDict({ : 0, : 100, - 'device_class': 'shutter', - 'friendly_name': 'Veranda Roller Shutter', + : 'shutter', + : 'Veranda Roller Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.veranda_veranda_roller_shutter', @@ -1122,10 +1122,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Studio Shutter', + : 'shutter', + : 'Studio Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.dining_room_studio_shutter', @@ -1176,10 +1176,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Dining Room Shutter', + : 'shutter', + : 'Dining Room Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.garage_dining_room_shutter', @@ -1230,10 +1230,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Guest Room Shutter', + : 'shutter', + : 'Guest Room Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.garage_guest_room_shutter', @@ -1284,10 +1284,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Kids Room Shutter', + : 'shutter', + : 'Kids Room Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.guest_bedroom_kids_room_shutter', @@ -1338,10 +1338,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Kitchen Shutter', + : 'shutter', + : 'Kitchen Shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kids_room_kitchen_shutter', @@ -1392,10 +1392,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Office Shutter', + : 'shutter', + : 'Office Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kids_room_office_shutter', @@ -1446,10 +1446,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Patio Shutter', + : 'shutter', + : 'Patio Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kids_room_patio_shutter', @@ -1499,10 +1499,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_basement_garage_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Basement Garage Door', + : 'garage', + : 'Basement Garage Door', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_basement_garage_door', @@ -1553,10 +1553,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'window', - 'friendly_name': 'Bedroom Window', + : 'window', + : 'Bedroom Window', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_bedroom_window', @@ -1607,10 +1607,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 11, - 'device_class': 'awning', - 'friendly_name': 'Bioclimatic Pergola', + : 'awning', + : 'Bioclimatic Pergola', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_bioclimatic_pergola', @@ -1660,10 +1660,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_cyclic_garage_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Cyclic Garage Door', + : 'garage', + : 'Cyclic Garage Door', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_cyclic_garage_door', @@ -1713,10 +1713,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_garage_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Garage Door', + : 'garage', + : 'Garage Door', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_garage_door', @@ -1766,10 +1766,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_garden_gate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gate', - 'friendly_name': 'Garden Gate', + : 'gate', + : 'Garden Gate', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_garden_gate', @@ -1820,10 +1820,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'garage', - 'friendly_name': 'Main Garage Door', + : 'garage', + : 'Main Garage Door', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_main_garage_door', @@ -1873,10 +1873,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_ogp_garage_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'OGP Garage Door', + : 'garage', + : 'OGP Garage Door', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_ogp_garage_door', @@ -1926,10 +1926,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_ogp_gate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gate', - 'friendly_name': 'OGP Gate', + : 'gate', + : 'OGP Gate', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_ogp_gate', @@ -1979,10 +1979,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_partial_garage_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Partial Garage Door', + : 'garage', + : 'Partial Garage Door', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_partial_garage_door', @@ -2033,10 +2033,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20, - 'device_class': 'awning', - 'friendly_name': 'Pergola Awning', + : 'awning', + : 'Pergola Awning', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_pergola_awning', @@ -2086,11 +2086,11 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_rts_garage_door_4t-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'garage', - 'friendly_name': 'RTS Garage Door 4T', + : True, + : 'garage', + : 'RTS Garage Door 4T', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_rts_garage_door_4t', @@ -2140,11 +2140,11 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_rts_gate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'gate', - 'friendly_name': 'RTS Gate', + : True, + : 'gate', + : 'RTS Gate', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_rts_gate', @@ -2195,10 +2195,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'garage', - 'friendly_name': 'Side Garage Door', + : 'garage', + : 'Side Garage Door', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_side_garage_door', @@ -2248,10 +2248,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_sliding_gate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gate', - 'friendly_name': 'Sliding Gate', + : 'gate', + : 'Sliding Gate', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_sliding_gate', @@ -2302,10 +2302,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'awning', - 'friendly_name': 'Somfy Pergola', + : 'awning', + : 'Somfy Pergola', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_somfy_pergola', @@ -2355,10 +2355,10 @@ # name: test_cover_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][cover.living_room_swinging_gate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gate', - 'friendly_name': 'Swinging Gate', + : 'gate', + : 'Swinging Gate', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_swinging_gate', @@ -2409,10 +2409,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Bedroom Blinds', + : 'shutter', + : 'Bedroom Blinds', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.main_bedroom_bedroom_blinds', @@ -2464,10 +2464,10 @@ 'attributes': ReadOnlyDict({ : 0, : 62, - 'device_class': 'blind', - 'friendly_name': 'Bedroom Venetian Blind', + : 'blind', + : 'Bedroom Venetian Blind', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.main_bedroom_bedroom_venetian_blind', @@ -2518,10 +2518,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Garden House Shutter', + : 'shutter', + : 'Garden House Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.office_garden_house_shutter', @@ -2572,10 +2572,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'shutter', - 'friendly_name': 'Living Room Shutter', + : 'shutter', + : 'Living Room Shutter', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.reading_nook_living_room_shutter', @@ -2626,10 +2626,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'awning', - 'friendly_name': 'Terrace Awning', + : 'awning', + : 'Terrace Awning', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.terrace_awning', @@ -2681,10 +2681,10 @@ 'attributes': ReadOnlyDict({ : 0, : 68, - 'device_class': 'blind', - 'friendly_name': 'Bathroom Blinds', + : 'blind', + : 'Bathroom Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.bathroom_blinds', @@ -2736,10 +2736,10 @@ 'attributes': ReadOnlyDict({ : 0, : 68, - 'device_class': 'blind', - 'friendly_name': 'Bedroom Blinds', + : 'blind', + : 'Bedroom Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.bedroom_blinds', @@ -2791,10 +2791,10 @@ 'attributes': ReadOnlyDict({ : 0, : 69, - 'device_class': 'blind', - 'friendly_name': 'Dining Room Blinds', + : 'blind', + : 'Dining Room Blinds', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.dining_room_blinds', @@ -2846,10 +2846,10 @@ 'attributes': ReadOnlyDict({ : 0, : 69, - 'device_class': 'blind', - 'friendly_name': 'Garage Blinds', + : 'blind', + : 'Garage Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.garage_blinds', @@ -2901,10 +2901,10 @@ 'attributes': ReadOnlyDict({ : 0, : 68, - 'device_class': 'blind', - 'friendly_name': 'Guest Room Blinds', + : 'blind', + : 'Guest Room Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.guest_room_blinds', @@ -2956,10 +2956,10 @@ 'attributes': ReadOnlyDict({ : 0, : 68, - 'device_class': 'blind', - 'friendly_name': 'Hallway Blinds', + : 'blind', + : 'Hallway Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.hallway_blinds', @@ -3011,10 +3011,10 @@ 'attributes': ReadOnlyDict({ : 0, : 68, - 'device_class': 'blind', - 'friendly_name': 'Kitchen Blinds', + : 'blind', + : 'Kitchen Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kitchen_blinds', @@ -3066,10 +3066,10 @@ 'attributes': ReadOnlyDict({ : 0, : 68, - 'device_class': 'blind', - 'friendly_name': 'Living Room Blinds', + : 'blind', + : 'Living Room Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_blinds', @@ -3121,10 +3121,10 @@ 'attributes': ReadOnlyDict({ : 0, : 68, - 'device_class': 'blind', - 'friendly_name': 'Master Bedroom Blinds', + : 'blind', + : 'Master Bedroom Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.master_bedroom_blinds', @@ -3176,10 +3176,10 @@ 'attributes': ReadOnlyDict({ : 0, : 69, - 'device_class': 'blind', - 'friendly_name': 'Nursery Blinds', + : 'blind', + : 'Nursery Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.nursery_blinds', @@ -3231,10 +3231,10 @@ 'attributes': ReadOnlyDict({ : 15, : 68, - 'device_class': 'blind', - 'friendly_name': 'Office Blinds', + : 'blind', + : 'Office Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.office_blinds', @@ -3286,10 +3286,10 @@ 'attributes': ReadOnlyDict({ : 0, : 72, - 'device_class': 'blind', - 'friendly_name': 'Study Blinds', + : 'blind', + : 'Study Blinds', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.study_blinds', @@ -3340,10 +3340,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Back Door Shutter', + : 'shutter', + : 'Back Door Shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.back_door_shutter', @@ -3394,10 +3394,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shutter', - 'friendly_name': 'Front Door Shutter', + : 'shutter', + : 'Front Door Shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.front_door_shutter', @@ -3448,10 +3448,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'window', - 'friendly_name': 'Roof Window', + : 'window', + : 'Roof Window', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.roof_window', @@ -3502,10 +3502,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'window', - 'friendly_name': 'Roof Window Low speed', + : 'window', + : 'Roof Window Low speed', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.roof_window_low_speed', @@ -3555,11 +3555,11 @@ # name: test_cover_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][cover.attic_curtain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'curtain', - 'friendly_name': 'Attic Curtain', + : True, + : 'curtain', + : 'Attic Curtain', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.attic_curtain', @@ -3610,10 +3610,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 86, - 'device_class': 'blind', - 'friendly_name': 'Conservatory Screen', + : 'blind', + : 'Conservatory Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.conservatory_screen', @@ -3664,10 +3664,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 86, - 'device_class': 'blind', - 'friendly_name': 'Library Screen', + : 'blind', + : 'Library Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.library_screen', @@ -3718,10 +3718,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'window', - 'friendly_name': 'Patio Window', + : 'window', + : 'Patio Window', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.patio_window', @@ -3772,10 +3772,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Sunroom Shades', + : 'blind', + : 'Sunroom Shades', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.sunroom_shades', @@ -3826,10 +3826,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 86, - 'device_class': 'blind', - 'friendly_name': 'Terrace Awning', + : 'blind', + : 'Terrace Awning', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.terrace_awning', @@ -3880,10 +3880,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Bedroom Screen', + : 'blind', + : 'Bedroom Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.bedroom_screen', @@ -3934,10 +3934,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Dining Room Screen', + : 'blind', + : 'Dining Room Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.dining_room_screen', @@ -3987,10 +3987,10 @@ # name: test_cover_entities_snapshot[local_somfy_tahoma_v2_europe.json][cover.garage_door_rollixo-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Garage Door Rollixo', + : 'garage', + : 'Garage Door Rollixo', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.garage_door_rollixo', @@ -4041,10 +4041,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'awning', - 'friendly_name': 'Garden Pergola', + : 'awning', + : 'Garden Pergola', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.garden_pergola', @@ -4094,11 +4094,11 @@ # name: test_cover_entities_snapshot[local_somfy_tahoma_v2_europe.json][cover.kitchen_pergola-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'awning', - 'friendly_name': 'Kitchen Pergola', + : True, + : 'awning', + : 'Kitchen Pergola', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kitchen_pergola', @@ -4148,11 +4148,11 @@ # name: test_cover_entities_snapshot[local_somfy_tahoma_v2_europe.json][cover.living_room_curtain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'curtain', - 'friendly_name': 'Living Room Curtain', + : True, + : 'curtain', + : 'Living Room Curtain', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_curtain', @@ -4204,10 +4204,10 @@ 'attributes': ReadOnlyDict({ : 0, : 100, - 'device_class': 'blind', - 'friendly_name': 'Living Room Venetian Blind', + : 'blind', + : 'Living Room Venetian Blind', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.living_room_venetian_blind', @@ -4258,10 +4258,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Office Screen', + : 'blind', + : 'Office Screen', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.office_screen', diff --git a/tests/components/overkiz/snapshots/test_fan.ambr b/tests/components/overkiz/snapshots/test_fan.ambr index a4e47379a04..086bfcd5156 100644 --- a/tests/components/overkiz/snapshots/test_fan.ambr +++ b/tests/components/overkiz/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_fan_entities_snapshot[fan.maple_residence_living_room_air_inlet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Inlet', + : 'Living Room Air Inlet', : 40, : 1.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.maple_residence_living_room_air_inlet', @@ -98,12 +98,12 @@ # name: test_fan_entities_snapshot[fan.maple_residence_living_room_air_outlet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Outlet', + : 'Living Room Air Outlet', : 0, : 1.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.maple_residence_living_room_air_outlet', @@ -155,12 +155,12 @@ # name: test_fan_entities_snapshot[fan.maple_residence_living_room_air_transfer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Transfer', + : 'Living Room Air Transfer', : 75, : 1.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.maple_residence_living_room_air_transfer', diff --git a/tests/components/overkiz/snapshots/test_light.ambr b/tests/components/overkiz/snapshots/test_light.ambr index 5c28688716d..f85d93dc1cc 100644 --- a/tests/components/overkiz/snapshots/test_light.ambr +++ b/tests/components/overkiz/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Garage Ceiling Light', + : 'Garage Ceiling Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.maple_residence_garage_ceiling_light', @@ -103,11 +103,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Study Ceiling Light', + : 'Study Ceiling Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.maple_residence_study_ceiling_light', @@ -162,11 +162,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Terrace Ceiling Light', + : 'Terrace Ceiling Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.maple_residence_terrace_ceiling_light', @@ -222,11 +222,11 @@ 'attributes': ReadOnlyDict({ : 143, : , - 'friendly_name': 'Dining Room Wall Light', + : 'Dining Room Wall Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dining_room_wall_light', @@ -282,11 +282,11 @@ 'attributes': ReadOnlyDict({ : 143, : , - 'friendly_name': 'Guest Room Ceiling Light', + : 'Guest Room Ceiling Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.guest_room_ceiling_light', @@ -342,11 +342,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Kitchen Ceiling Light', + : 'Kitchen Ceiling Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.kitchen_ceiling_light', @@ -402,11 +402,11 @@ 'attributes': ReadOnlyDict({ : 143, : , - 'friendly_name': 'Living Room Ceiling Light', + : 'Living Room Ceiling Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.living_room_ceiling_light', @@ -462,11 +462,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Hallway Light', + : 'Hallway Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.hallway_light', @@ -522,7 +522,7 @@ 'attributes': ReadOnlyDict({ : 150, : , - 'friendly_name': 'Light Terras RGB', + : 'Light Terras RGB', : tuple( 268.235, 68.0, @@ -535,7 +535,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.26, 0.131, diff --git a/tests/components/overkiz/snapshots/test_lock.ambr b/tests/components/overkiz/snapshots/test_lock.ambr index 1069532ca79..5f2983f5b50 100644 --- a/tests/components/overkiz/snapshots/test_lock.ambr +++ b/tests/components/overkiz/snapshots/test_lock.ambr @@ -39,8 +39,8 @@ # name: test_lock_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][lock.living_room_front_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door', - 'supported_features': , + : 'Front Door', + : , }), 'context': , 'entity_id': 'lock.living_room_front_door', diff --git a/tests/components/overkiz/snapshots/test_number.ambr b/tests/components/overkiz/snapshots/test_number.ambr index 386ac35192d..6fcac0d69d7 100644 --- a/tests/components/overkiz/snapshots/test_number.ambr +++ b/tests/components/overkiz/snapshots/test_number.ambr @@ -44,14 +44,14 @@ # name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_away_mode_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Patio Water Heating Away mode duration', - 'icon': 'mdi:water-boiler-off', + : 'duration', + : 'Patio Water Heating Away mode duration', + : 'mdi:water-boiler-off', : 6, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.my_home_patio_water_heating_away_mode_duration', @@ -106,14 +106,14 @@ # name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_boost_mode_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Patio Water Heating Boost mode duration', - 'icon': 'mdi:water-boiler', + : 'duration', + : 'Patio Water Heating Boost mode duration', + : 'mdi:water-boiler', : 7, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.my_home_patio_water_heating_boost_mode_duration', @@ -168,8 +168,8 @@ # name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_expected_number_of_shower-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Water Heating Expected number of shower', - 'icon': 'mdi:shower-head', + : 'Patio Water Heating Expected number of shower', + : 'mdi:shower-head', : 4, : 2, : , @@ -228,14 +228,14 @@ # name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_freeze_protection_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Water Heating Freeze protection temperature', - 'icon': 'mdi:sun-thermometer-outline', + : 'temperature', + : 'Patio Water Heating Freeze protection temperature', + : 'mdi:sun-thermometer-outline', : 15, : 5, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.my_home_patio_water_heating_freeze_protection_temperature', @@ -290,8 +290,8 @@ # name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Water Heating Target temperature', + : 'temperature', + : 'Patio Water Heating Target temperature', : 70.0, : 50.0, : , @@ -350,8 +350,8 @@ # name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_water_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Water Heating Water target temperature', + : 'temperature', + : 'Patio Water Heating Water target temperature', : 70.0, : 50.0, : , @@ -410,14 +410,14 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_garden_radiator_comfort_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Garden Radiator Comfort room temperature', - 'icon': 'mdi:home-thermometer-outline', + : 'temperature', + : 'Garden Radiator Comfort room temperature', + : 'mdi:home-thermometer-outline', : 30, : 7, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.maple_residence_garden_radiator_comfort_room_temperature', @@ -472,8 +472,8 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_hallway_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Hallway Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -532,8 +532,8 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_living_room_air_inlet_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Inlet My position', - 'icon': 'mdi:content-save-cog', + : 'Living Room Air Inlet My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -592,8 +592,8 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_living_room_air_outlet_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Outlet My position', - 'icon': 'mdi:content-save-cog', + : 'Living Room Air Outlet My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -652,8 +652,8 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_living_room_air_transfer_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Transfer My position', - 'icon': 'mdi:content-save-cog', + : 'Living Room Air Transfer My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -712,14 +712,14 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_living_room_radiator_comfort_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living Room Radiator Comfort room temperature', - 'icon': 'mdi:home-thermometer-outline', + : 'temperature', + : 'Living Room Radiator Comfort room temperature', + : 'mdi:home-thermometer-outline', : 30, : 7, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.maple_residence_living_room_radiator_comfort_room_temperature', @@ -774,8 +774,8 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_nursery_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Nursery Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -834,8 +834,8 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_office_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Office Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -894,14 +894,14 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_study_radiator_comfort_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Study Radiator Comfort room temperature', - 'icon': 'mdi:home-thermometer-outline', + : 'temperature', + : 'Study Radiator Comfort room temperature', + : 'mdi:home-thermometer-outline', : 30, : 7, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.maple_residence_study_radiator_comfort_room_temperature', @@ -956,14 +956,14 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_terrace_radiator_comfort_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Terrace Radiator Comfort room temperature', - 'icon': 'mdi:home-thermometer-outline', + : 'temperature', + : 'Terrace Radiator Comfort room temperature', + : 'mdi:home-thermometer-outline', : 30, : 7, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.maple_residence_terrace_radiator_comfort_room_temperature', @@ -1018,14 +1018,14 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_terrace_radiator_eco_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Terrace Radiator Eco room temperature', - 'icon': 'mdi:thermometer', + : 'temperature', + : 'Terrace Radiator Eco room temperature', + : 'mdi:thermometer', : 29, : 6, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.maple_residence_terrace_radiator_eco_room_temperature', @@ -1080,14 +1080,14 @@ # name: test_number_entities_snapshot[cloud_nexity_rail_din_europe.json][number.maple_residence_terrace_radiator_freeze_protection_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Terrace Radiator Freeze protection temperature', - 'icon': 'mdi:sun-thermometer-outline', + : 'temperature', + : 'Terrace Radiator Freeze protection temperature', + : 'mdi:sun-thermometer-outline', : 15, : 5, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.maple_residence_terrace_radiator_freeze_protection_temperature', @@ -1142,8 +1142,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.dining_room_studio_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Studio Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Studio Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1202,8 +1202,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.garage_dining_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining Room Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Dining Room Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1262,8 +1262,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.garage_guest_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Guest Room Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Guest Room Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1322,8 +1322,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.guest_bedroom_kids_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kids Room Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Kids Room Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1382,8 +1382,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.kids_room_kitchen_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Kitchen Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1442,8 +1442,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.kids_room_office_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Office Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1502,8 +1502,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.kids_room_patio_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Patio Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1562,8 +1562,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.main_bedroom_bedroom_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Bedroom Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1622,8 +1622,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.office_garden_house_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden House Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Garden House Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1682,8 +1682,8 @@ # name: test_number_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][number.reading_nook_living_room_shutter_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Shutter My position', - 'icon': 'mdi:content-save-cog', + : 'Living Room Shutter My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1742,8 +1742,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.bathroom_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bathroom Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Bathroom Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1802,8 +1802,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.bedroom_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Bedroom Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1862,8 +1862,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.dining_room_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining Room Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Dining Room Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1922,8 +1922,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.garage_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Garage Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -1982,8 +1982,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.guest_room_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Guest Room Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Guest Room Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -2042,8 +2042,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.hallway_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Hallway Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -2102,8 +2102,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.kitchen_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Kitchen Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -2162,8 +2162,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.living_room_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Living Room Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -2222,8 +2222,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.master_bedroom_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Master Bedroom Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Master Bedroom Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -2282,8 +2282,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.nursery_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Nursery Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -2342,8 +2342,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.office_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Office Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , @@ -2402,8 +2402,8 @@ # name: test_number_entities_snapshot[local_somfy_tahoma_switch_europe.json][number.study_blinds_my_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study Blinds My position', - 'icon': 'mdi:content-save-cog', + : 'Study Blinds My position', + : 'mdi:content-save-cog', : 100, : 0, : , diff --git a/tests/components/overkiz/snapshots/test_scene.ambr b/tests/components/overkiz/snapshots/test_scene.ambr index 93209f71145..d71ed63bd4d 100644 --- a/tests/components/overkiz/snapshots/test_scene.ambr +++ b/tests/components/overkiz/snapshots/test_scene.ambr @@ -39,7 +39,7 @@ # name: test_scene_entities_snapshot[scenarios/cozytouch.json][scene.label_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Label 1', + : 'Label 1', }), 'context': , 'entity_id': 'scene.label_1', @@ -89,7 +89,7 @@ # name: test_scene_entities_snapshot[scenarios/cozytouch.json][scene.label_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Label 2', + : 'Label 2', }), 'context': , 'entity_id': 'scene.label_2', @@ -139,7 +139,7 @@ # name: test_scene_entities_snapshot[scenarios/tahoma_switch.json][scene.i_m_arriving-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "I'm arriving", + : "I'm arriving", }), 'context': , 'entity_id': 'scene.i_m_arriving', diff --git a/tests/components/overkiz/snapshots/test_select.ambr b/tests/components/overkiz/snapshots/test_select.ambr index a9f7df56374..bfec8c3611a 100644 --- a/tests/components/overkiz/snapshots/test_select.ambr +++ b/tests/components/overkiz/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][select.living_room_garden_gate_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Gate Position', + : 'Garden Gate Position', : list([ , , @@ -106,7 +106,7 @@ # name: test_select_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][select.living_room_partial_garage_door_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Partial Garage Door Position', + : 'Partial Garage Door Position', : list([ , , @@ -167,7 +167,7 @@ # name: test_select_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][select.living_room_sliding_gate_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sliding Gate Position', + : 'Sliding Gate Position', : list([ , , @@ -233,7 +233,7 @@ # name: test_select_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][select.willow_house_protexiom_active_zones-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Protexiom Active zones', + : 'Protexiom Active zones', : list([ '', 'A', @@ -298,7 +298,7 @@ # name: test_select_entities_snapshot[local_somfy_tahoma_v2_europe.json][select.siren_memorized_simple_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren Memorized simple volume', + : 'Siren Memorized simple volume', : list([ , , diff --git a/tests/components/overkiz/snapshots/test_sensor.ambr b/tests/components/overkiz/snapshots/test_sensor.ambr index 8f073e81e19..40e332e57dd 100644 --- a/tests/components/overkiz/snapshots/test_sensor.ambr +++ b/tests/components/overkiz/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_bottom_tank_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Water Heating Bottom tank water temperature', + : 'temperature', + : 'Patio Water Heating Bottom tank water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_bottom_tank_water_temperature', @@ -102,10 +102,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_control_water_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Water Heating Control water target temperature', + : 'temperature', + : 'Patio Water Heating Control water target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_control_water_target_temperature', @@ -162,9 +162,9 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Patio Water Heating Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Patio Water Heating Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -223,9 +223,9 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_electric_booster_operating_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Patio Water Heating Electric booster operating time', - 'unit_of_measurement': , + : 'duration', + : 'Patio Water Heating Electric booster operating time', + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_electric_booster_operating_time', @@ -280,10 +280,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_electric_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Patio Water Heating Electric power consumption', + : 'power', + : 'Patio Water Heating Electric power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_electric_power_consumption', @@ -335,8 +335,8 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_expected_number_of_shower-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Water Heating Expected number of shower', - 'icon': 'mdi:shower-head', + : 'Patio Water Heating Expected number of shower', + : 'mdi:shower-head', : , }), 'context': , @@ -390,9 +390,9 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_heat_pump_operating_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Patio Water Heating Heat pump operating time', - 'unit_of_measurement': , + : 'duration', + : 'Patio Water Heating Heat pump operating time', + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_heat_pump_operating_time', @@ -447,10 +447,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_heat_pump_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Patio Water Heating Heat pump power consumption', + : 'power', + : 'Patio Water Heating Heat pump power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_heat_pump_power_consumption', @@ -505,10 +505,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_middle_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Water Heating Middle water temperature', + : 'temperature', + : 'Patio Water Heating Middle water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_middle_water_temperature', @@ -560,8 +560,8 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_number_of_shower_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Water Heating Number of shower remaining', - 'icon': 'mdi:shower-head', + : 'Patio Water Heating Number of shower remaining', + : 'mdi:shower-head', : , }), 'context': , @@ -617,10 +617,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 1', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_1', @@ -675,10 +675,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 2', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_2', @@ -733,10 +733,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 3', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_3', @@ -791,10 +791,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 4', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_4', @@ -849,10 +849,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 5', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 5', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_5', @@ -907,10 +907,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 6', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 6', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_6', @@ -965,10 +965,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 7', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 7', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_7', @@ -1023,10 +1023,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 8', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 8', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_8', @@ -1081,10 +1081,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_9-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Consumption tariff 9', + : 'energy', + : 'Patio Water Heating Office Energy Meter Consumption tariff 9', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_consumption_tariff_9', @@ -1139,10 +1139,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_office_energy_meter_electric_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Patio Water Heating Office Energy Meter Electric energy consumption', + : 'energy', + : 'Patio Water Heating Office Energy Meter Electric energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_office_energy_meter_electric_energy_consumption', @@ -1192,8 +1192,8 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_priority_lock_originator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Water Heating Priority lock originator', - 'icon': 'mdi:lock', + : 'Patio Water Heating Priority lock originator', + : 'mdi:lock', }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_priority_lock_originator', @@ -1243,9 +1243,9 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Water Heating Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Patio Water Heating Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_priority_lock_timer', @@ -1297,10 +1297,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Patio Water Heating RSSI level', + : 'signal_strength', + : 'Patio Water Heating RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_rssi_level', @@ -1355,10 +1355,10 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Water Heating Temperature', + : 'temperature', + : 'Patio Water Heating Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_temperature', @@ -1413,11 +1413,11 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_water_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Patio Water Heating Water consumption', - 'icon': 'mdi:water', + : 'water', + : 'Patio Water Heating Water consumption', + : 'mdi:water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_water_consumption', @@ -1472,11 +1472,11 @@ # name: test_sensor_entities_snapshot[cloud_atlantic_cozytouch.json][sensor.my_home_patio_water_heating_water_volume_estimation_at_40_degc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Patio Water Heating Water volume estimation at 40 °C', - 'icon': 'mdi:water', + : 'volume_storage', + : 'Patio Water Heating Water volume estimation at 40 °C', + : 'mdi:water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_patio_water_heating_water_volume_estimation_at_40_degc', @@ -1533,9 +1533,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garage_ceiling_light_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Ceiling Light Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garage Ceiling Light Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -1591,8 +1591,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garage_ceiling_light_priority_lock_originator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Ceiling Light Priority lock originator', - 'icon': 'mdi:lock', + : 'Garage Ceiling Light Priority lock originator', + : 'mdi:lock', }), 'context': , 'entity_id': 'sensor.maple_residence_garage_ceiling_light_priority_lock_originator', @@ -1642,9 +1642,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garage_ceiling_light_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Ceiling Light Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Garage Ceiling Light Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_garage_ceiling_light_priority_lock_timer', @@ -1696,10 +1696,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garage_ceiling_light_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garage Ceiling Light RSSI level', + : 'signal_strength', + : 'Garage Ceiling Light RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_garage_ceiling_light_rssi_level', @@ -1756,9 +1756,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_bathroom_temperature_sensor_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Bathroom Temperature Sensor Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garden Radiator Bathroom Temperature Sensor Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -1816,10 +1816,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_bathroom_temperature_sensor_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garden Radiator Bathroom Temperature Sensor RSSI level', + : 'signal_strength', + : 'Garden Radiator Bathroom Temperature Sensor RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_garden_radiator_bathroom_temperature_sensor_rssi_level', @@ -1876,8 +1876,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_bathroom_temperature_sensor_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Bathroom Temperature Sensor Sensor defect', + : 'enum', + : 'Garden Radiator Bathroom Temperature Sensor Sensor defect', : list([ 'dead', 'low_battery', @@ -1938,10 +1938,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_bathroom_temperature_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Garden Radiator Bathroom Temperature Sensor Temperature', + : 'temperature', + : 'Garden Radiator Bathroom Temperature Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.maple_residence_garden_radiator_bathroom_temperature_sensor_temperature', @@ -1993,10 +1993,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Garden Radiator Battery level', + : 'battery', + : 'Garden Radiator Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.maple_residence_garden_radiator_battery_level', @@ -2053,9 +2053,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garden Radiator Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -2113,10 +2113,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garden Radiator RSSI level', + : 'signal_strength', + : 'Garden Radiator RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_garden_radiator_rssi_level', @@ -2173,8 +2173,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_garden_radiator_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Sensor defect', + : 'enum', + : 'Garden Radiator Sensor defect', : list([ 'dead', 'low_battery', @@ -2237,9 +2237,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_hallway_shutter_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hallway Shutter Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Hallway Shutter Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -2295,8 +2295,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_hallway_shutter_priority_lock_originator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Shutter Priority lock originator', - 'icon': 'mdi:lock', + : 'Hallway Shutter Priority lock originator', + : 'mdi:lock', }), 'context': , 'entity_id': 'sensor.maple_residence_hallway_shutter_priority_lock_originator', @@ -2346,9 +2346,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_hallway_shutter_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Shutter Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Hallway Shutter Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_hallway_shutter_priority_lock_timer', @@ -2400,10 +2400,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_hallway_shutter_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Hallway Shutter RSSI level', + : 'signal_strength', + : 'Hallway Shutter RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_hallway_shutter_rssi_level', @@ -2453,8 +2453,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_hallway_shutter_target_closure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Shutter Target closure', - 'unit_of_measurement': '%', + : 'Hallway Shutter Target closure', + : '%', }), 'context': , 'entity_id': 'sensor.maple_residence_hallway_shutter_target_closure', @@ -2511,9 +2511,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_inlet_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Air Inlet Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Air Inlet Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -2569,9 +2569,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_inlet_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Inlet Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Living Room Air Inlet Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_air_inlet_priority_lock_timer', @@ -2623,10 +2623,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_inlet_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Air Inlet RSSI level', + : 'signal_strength', + : 'Living Room Air Inlet RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_air_inlet_rssi_level', @@ -2683,9 +2683,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_outlet_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Air Outlet Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Air Outlet Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -2741,9 +2741,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_outlet_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Outlet Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Living Room Air Outlet Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_air_outlet_priority_lock_timer', @@ -2795,10 +2795,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_outlet_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Air Outlet RSSI level', + : 'signal_strength', + : 'Living Room Air Outlet RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_air_outlet_rssi_level', @@ -2855,9 +2855,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_transfer_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Air Transfer Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Air Transfer Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -2913,9 +2913,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_transfer_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Air Transfer Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Living Room Air Transfer Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_air_transfer_priority_lock_timer', @@ -2967,10 +2967,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_air_transfer_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Air Transfer RSSI level', + : 'signal_strength', + : 'Living Room Air Transfer RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_air_transfer_rssi_level', @@ -3022,10 +3022,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Living Room Radiator Battery level', + : 'battery', + : 'Living Room Radiator Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_radiator_battery_level', @@ -3082,9 +3082,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Radiator Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Radiator Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -3142,10 +3142,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Radiator RSSI level', + : 'signal_strength', + : 'Living Room Radiator RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_radiator_rssi_level', @@ -3202,8 +3202,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Radiator Sensor defect', + : 'enum', + : 'Living Room Radiator Sensor defect', : list([ 'dead', 'low_battery', @@ -3266,9 +3266,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_study_temp_probe_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Radiator Study Temp Probe Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Radiator Study Temp Probe Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -3326,10 +3326,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_study_temp_probe_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Radiator Study Temp Probe RSSI level', + : 'signal_strength', + : 'Living Room Radiator Study Temp Probe RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_radiator_study_temp_probe_rssi_level', @@ -3386,8 +3386,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_study_temp_probe_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Radiator Study Temp Probe Sensor defect', + : 'enum', + : 'Living Room Radiator Study Temp Probe Sensor defect', : list([ 'dead', 'low_battery', @@ -3448,10 +3448,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_radiator_study_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living Room Radiator Study Temp Probe Temperature', + : 'temperature', + : 'Living Room Radiator Study Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_radiator_study_temp_probe_temperature', @@ -3508,9 +3508,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_smoke_detector_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Smoke Detector Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Smoke Detector Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -3571,9 +3571,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_smoke_detector_radio_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Smoke Detector Radio battery', - 'icon': 'mdi:battery', + : 'enum', + : 'Living Room Smoke Detector Radio battery', + : 'mdi:battery', : list([ 'low', 'normal', @@ -3629,10 +3629,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_smoke_detector_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Smoke Detector RSSI level', + : 'signal_strength', + : 'Living Room Smoke Detector RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_living_room_smoke_detector_rssi_level', @@ -3688,9 +3688,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_smoke_detector_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Smoke Detector Sensor battery', - 'icon': 'mdi:battery', + : 'enum', + : 'Living Room Smoke Detector Sensor battery', + : 'mdi:battery', : list([ 'absence', 'low', @@ -3752,8 +3752,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_smoke_detector_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Smoke Detector Sensor defect', + : 'enum', + : 'Living Room Smoke Detector Sensor defect', : list([ 'dead', 'low_battery', @@ -3814,9 +3814,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_living_room_smoke_detector_sensor_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Smoke Detector Sensor room', - 'icon': 'mdi:spray-bottle', + : 'enum', + : 'Living Room Smoke Detector Sensor room', + : 'mdi:spray-bottle', : list([ 'clean', 'dirty', @@ -3877,9 +3877,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_nursery_shutter_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Nursery Shutter Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Nursery Shutter Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -3935,8 +3935,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_nursery_shutter_priority_lock_originator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Shutter Priority lock originator', - 'icon': 'mdi:lock', + : 'Nursery Shutter Priority lock originator', + : 'mdi:lock', }), 'context': , 'entity_id': 'sensor.maple_residence_nursery_shutter_priority_lock_originator', @@ -3986,9 +3986,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_nursery_shutter_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Shutter Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Nursery Shutter Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_nursery_shutter_priority_lock_timer', @@ -4040,10 +4040,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_nursery_shutter_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Nursery Shutter RSSI level', + : 'signal_strength', + : 'Nursery Shutter RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_nursery_shutter_rssi_level', @@ -4093,8 +4093,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_nursery_shutter_target_closure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Shutter Target closure', - 'unit_of_measurement': '%', + : 'Nursery Shutter Target closure', + : '%', }), 'context': , 'entity_id': 'sensor.maple_residence_nursery_shutter_target_closure', @@ -4151,9 +4151,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_office_shutter_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Office Shutter Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Office Shutter Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -4209,8 +4209,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_office_shutter_priority_lock_originator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter Priority lock originator', - 'icon': 'mdi:lock', + : 'Office Shutter Priority lock originator', + : 'mdi:lock', }), 'context': , 'entity_id': 'sensor.maple_residence_office_shutter_priority_lock_originator', @@ -4260,9 +4260,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_office_shutter_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Office Shutter Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_office_shutter_priority_lock_timer', @@ -4314,10 +4314,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_office_shutter_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Office Shutter RSSI level', + : 'signal_strength', + : 'Office Shutter RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_office_shutter_rssi_level', @@ -4367,8 +4367,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_office_shutter_target_closure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Shutter Target closure', - 'unit_of_measurement': '%', + : 'Office Shutter Target closure', + : '%', }), 'context': , 'entity_id': 'sensor.maple_residence_office_shutter_target_closure', @@ -4425,9 +4425,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_ceiling_light_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Study Ceiling Light Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Study Ceiling Light Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -4483,8 +4483,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_ceiling_light_priority_lock_originator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study Ceiling Light Priority lock originator', - 'icon': 'mdi:lock', + : 'Study Ceiling Light Priority lock originator', + : 'mdi:lock', }), 'context': , 'entity_id': 'sensor.maple_residence_study_ceiling_light_priority_lock_originator', @@ -4534,9 +4534,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_ceiling_light_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Study Ceiling Light Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Study Ceiling Light Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_study_ceiling_light_priority_lock_timer', @@ -4588,10 +4588,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_ceiling_light_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Study Ceiling Light RSSI level', + : 'signal_strength', + : 'Study Ceiling Light RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_study_ceiling_light_rssi_level', @@ -4643,10 +4643,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Study Radiator Battery level', + : 'battery', + : 'Study Radiator Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.maple_residence_study_radiator_battery_level', @@ -4703,9 +4703,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Study Radiator Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Study Radiator Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -4768,9 +4768,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_nursery_temp_probe_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Study Radiator Nursery Temp Probe Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Study Radiator Nursery Temp Probe Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -4828,10 +4828,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_nursery_temp_probe_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Study Radiator Nursery Temp Probe RSSI level', + : 'signal_strength', + : 'Study Radiator Nursery Temp Probe RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_study_radiator_nursery_temp_probe_rssi_level', @@ -4888,8 +4888,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_nursery_temp_probe_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Study Radiator Nursery Temp Probe Sensor defect', + : 'enum', + : 'Study Radiator Nursery Temp Probe Sensor defect', : list([ 'dead', 'low_battery', @@ -4950,10 +4950,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_nursery_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Study Radiator Nursery Temp Probe Temperature', + : 'temperature', + : 'Study Radiator Nursery Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.maple_residence_study_radiator_nursery_temp_probe_temperature', @@ -5005,10 +5005,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Study Radiator RSSI level', + : 'signal_strength', + : 'Study Radiator RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_study_radiator_rssi_level', @@ -5065,8 +5065,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_study_radiator_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Study Radiator Sensor defect', + : 'enum', + : 'Study Radiator Sensor defect', : list([ 'dead', 'low_battery', @@ -5129,9 +5129,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_terrace_ceiling_light_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Terrace Ceiling Light Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Terrace Ceiling Light Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -5187,8 +5187,8 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_terrace_ceiling_light_priority_lock_originator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Terrace Ceiling Light Priority lock originator', - 'icon': 'mdi:lock', + : 'Terrace Ceiling Light Priority lock originator', + : 'mdi:lock', }), 'context': , 'entity_id': 'sensor.maple_residence_terrace_ceiling_light_priority_lock_originator', @@ -5238,9 +5238,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_terrace_ceiling_light_priority_lock_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Terrace Ceiling Light Priority lock timer', - 'icon': 'mdi:lock-clock', - 'unit_of_measurement': , + : 'Terrace Ceiling Light Priority lock timer', + : 'mdi:lock-clock', + : , }), 'context': , 'entity_id': 'sensor.maple_residence_terrace_ceiling_light_priority_lock_timer', @@ -5292,10 +5292,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_terrace_ceiling_light_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Terrace Ceiling Light RSSI level', + : 'signal_strength', + : 'Terrace Ceiling Light RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.maple_residence_terrace_ceiling_light_rssi_level', @@ -5353,9 +5353,9 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_terrace_radiator_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Terrace Radiator Battery', - 'icon': 'mdi:battery', + : 'enum', + : 'Terrace Radiator Battery', + : 'mdi:battery', : list([ 'full', 'normal', @@ -5417,10 +5417,10 @@ # name: test_sensor_entities_snapshot[cloud_nexity_rail_din_europe.json][sensor.maple_residence_terrace_radiator_garage_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Terrace Radiator Garage Temp Probe Temperature', + : 'temperature', + : 'Terrace Radiator Garage Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.maple_residence_terrace_radiator_garage_temp_probe_temperature', @@ -5470,9 +5470,9 @@ # name: test_sensor_entities_snapshot[cloud_somfy_tahoma_switch_europe.json][sensor.tahoma_switch_homekit_setup_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'TaHoma Switch HomeKit setup code', - 'icon': 'mdi:shield-home', + : True, + : 'TaHoma Switch HomeKit setup code', + : 'mdi:shield-home', }), 'context': , 'entity_id': 'sensor.tahoma_switch_homekit_setup_code', @@ -5524,10 +5524,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Attic Heater Battery level', + : 'battery', + : 'Attic Heater Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.attic_heater_battery_level', @@ -5584,9 +5584,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Attic Heater Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Attic Heater Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -5649,9 +5649,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_hallway_temperature_sensor_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Attic Heater Hallway Temperature Sensor Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Attic Heater Hallway Temperature Sensor Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -5709,10 +5709,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_hallway_temperature_sensor_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Attic Heater Hallway Temperature Sensor RSSI level', + : 'signal_strength', + : 'Attic Heater Hallway Temperature Sensor RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.attic_heater_hallway_temperature_sensor_rssi_level', @@ -5769,8 +5769,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_hallway_temperature_sensor_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Attic Heater Hallway Temperature Sensor Sensor defect', + : 'enum', + : 'Attic Heater Hallway Temperature Sensor Sensor defect', : list([ 'dead', 'low_battery', @@ -5831,10 +5831,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_hallway_temperature_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Attic Heater Hallway Temperature Sensor Temperature', + : 'temperature', + : 'Attic Heater Hallway Temperature Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.attic_heater_hallway_temperature_sensor_temperature', @@ -5886,10 +5886,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Attic Heater RSSI level', + : 'signal_strength', + : 'Attic Heater RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.attic_heater_rssi_level', @@ -5946,8 +5946,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.attic_heater_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Attic Heater Sensor defect', + : 'enum', + : 'Attic Heater Sensor defect', : list([ 'dead', 'low_battery', @@ -6010,9 +6010,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.conservatory_screen_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Conservatory Screen Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Conservatory Screen Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -6070,10 +6070,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.conservatory_screen_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Conservatory Screen RSSI level', + : 'signal_strength', + : 'Conservatory Screen RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.conservatory_screen_rssi_level', @@ -6123,8 +6123,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.conservatory_screen_target_closure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Conservatory Screen Target closure', - 'unit_of_measurement': '%', + : 'Conservatory Screen Target closure', + : '%', }), 'context': , 'entity_id': 'sensor.conservatory_screen_target_closure', @@ -6176,10 +6176,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.dining_room_thermostat_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Dining Room Thermostat Battery level', + : 'battery', + : 'Dining Room Thermostat Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dining_room_thermostat_battery_level', @@ -6236,9 +6236,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.dining_room_thermostat_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dining Room Thermostat Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Dining Room Thermostat Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -6296,10 +6296,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.dining_room_thermostat_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Dining Room Thermostat RSSI level', + : 'signal_strength', + : 'Dining Room Thermostat RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.dining_room_thermostat_rssi_level', @@ -6356,8 +6356,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.dining_room_thermostat_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dining Room Thermostat Sensor defect', + : 'enum', + : 'Dining Room Thermostat Sensor defect', : list([ 'dead', 'low_battery', @@ -6420,9 +6420,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.dining_room_wall_light_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dining Room Wall Light Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Dining Room Wall Light Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -6480,10 +6480,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.dining_room_wall_light_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Dining Room Wall Light RSSI level', + : 'signal_strength', + : 'Dining Room Wall Light RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.dining_room_wall_light_rssi_level', @@ -6540,9 +6540,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_bathroom_temp_probe_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Radiator Bathroom Temp Probe Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garage Radiator Bathroom Temp Probe Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -6600,10 +6600,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_bathroom_temp_probe_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garage Radiator Bathroom Temp Probe RSSI level', + : 'signal_strength', + : 'Garage Radiator Bathroom Temp Probe RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garage_radiator_bathroom_temp_probe_rssi_level', @@ -6660,8 +6660,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_bathroom_temp_probe_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Radiator Bathroom Temp Probe Sensor defect', + : 'enum', + : 'Garage Radiator Bathroom Temp Probe Sensor defect', : list([ 'dead', 'low_battery', @@ -6722,10 +6722,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_bathroom_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Garage Radiator Bathroom Temp Probe Temperature', + : 'temperature', + : 'Garage Radiator Bathroom Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garage_radiator_bathroom_temp_probe_temperature', @@ -6777,10 +6777,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Garage Radiator Battery level', + : 'battery', + : 'Garage Radiator Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garage_radiator_battery_level', @@ -6837,9 +6837,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Radiator Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garage Radiator Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -6897,10 +6897,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garage Radiator RSSI level', + : 'signal_strength', + : 'Garage Radiator RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garage_radiator_rssi_level', @@ -6957,8 +6957,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_radiator_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Radiator Sensor defect', + : 'enum', + : 'Garage Radiator Sensor defect', : list([ 'dead', 'low_battery', @@ -7021,9 +7021,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_bathroom_temperature_sensor_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Thermostat Bathroom Temperature Sensor Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garage Thermostat Bathroom Temperature Sensor Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -7081,10 +7081,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_bathroom_temperature_sensor_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garage Thermostat Bathroom Temperature Sensor RSSI level', + : 'signal_strength', + : 'Garage Thermostat Bathroom Temperature Sensor RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garage_thermostat_bathroom_temperature_sensor_rssi_level', @@ -7141,8 +7141,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_bathroom_temperature_sensor_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Thermostat Bathroom Temperature Sensor Sensor defect', + : 'enum', + : 'Garage Thermostat Bathroom Temperature Sensor Sensor defect', : list([ 'dead', 'low_battery', @@ -7203,10 +7203,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_bathroom_temperature_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Garage Thermostat Bathroom Temperature Sensor Temperature', + : 'temperature', + : 'Garage Thermostat Bathroom Temperature Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garage_thermostat_bathroom_temperature_sensor_temperature', @@ -7258,10 +7258,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Garage Thermostat Battery level', + : 'battery', + : 'Garage Thermostat Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garage_thermostat_battery_level', @@ -7318,9 +7318,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Thermostat Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garage Thermostat Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -7378,10 +7378,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garage Thermostat RSSI level', + : 'signal_strength', + : 'Garage Thermostat RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garage_thermostat_rssi_level', @@ -7438,8 +7438,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garage_thermostat_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garage Thermostat Sensor defect', + : 'enum', + : 'Garage Thermostat Sensor defect', : list([ 'dead', 'low_battery', @@ -7497,10 +7497,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Garden Radiator Battery level', + : 'battery', + : 'Garden Radiator Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_radiator_battery_level', @@ -7557,9 +7557,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garden Radiator Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -7622,9 +7622,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_garage_temp_probe_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Garage Temp Probe Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Garden Radiator Garage Temp Probe Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -7682,10 +7682,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_garage_temp_probe_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garden Radiator Garage Temp Probe RSSI level', + : 'signal_strength', + : 'Garden Radiator Garage Temp Probe RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garden_radiator_garage_temp_probe_rssi_level', @@ -7742,8 +7742,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_garage_temp_probe_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Garage Temp Probe Sensor defect', + : 'enum', + : 'Garden Radiator Garage Temp Probe Sensor defect', : list([ 'dead', 'low_battery', @@ -7804,10 +7804,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_garage_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Garden Radiator Garage Temp Probe Temperature', + : 'temperature', + : 'Garden Radiator Garage Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_radiator_garage_temp_probe_temperature', @@ -7859,10 +7859,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garden Radiator RSSI level', + : 'signal_strength', + : 'Garden Radiator RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garden_radiator_rssi_level', @@ -7919,8 +7919,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_radiator_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Radiator Sensor defect', + : 'enum', + : 'Garden Radiator Sensor defect', : list([ 'dead', 'low_battery', @@ -7983,9 +7983,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temp_probe_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dining Room Thermostat Garden Temp Probe Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Dining Room Thermostat Garden Temp Probe Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -8043,10 +8043,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temp_probe_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Dining Room Thermostat Garden Temp Probe RSSI level', + : 'signal_strength', + : 'Dining Room Thermostat Garden Temp Probe RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garden_temp_probe_rssi_level', @@ -8103,8 +8103,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temp_probe_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dining Room Thermostat Garden Temp Probe Sensor defect', + : 'enum', + : 'Dining Room Thermostat Garden Temp Probe Sensor defect', : list([ 'dead', 'low_battery', @@ -8165,10 +8165,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dining Room Thermostat Garden Temp Probe Temperature', + : 'temperature', + : 'Dining Room Thermostat Garden Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_temp_probe_temperature', @@ -8225,9 +8225,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temperature_sensor_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Patio Thermostat Garden Temperature Sensor Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Patio Thermostat Garden Temperature Sensor Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -8285,10 +8285,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temperature_sensor_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Patio Thermostat Garden Temperature Sensor RSSI level', + : 'signal_strength', + : 'Patio Thermostat Garden Temperature Sensor RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.garden_temperature_sensor_rssi_level', @@ -8345,8 +8345,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temperature_sensor_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Patio Thermostat Garden Temperature Sensor Sensor defect', + : 'enum', + : 'Patio Thermostat Garden Temperature Sensor Sensor defect', : list([ 'dead', 'low_battery', @@ -8407,10 +8407,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.garden_temperature_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patio Thermostat Garden Temperature Sensor Temperature', + : 'temperature', + : 'Patio Thermostat Garden Temperature Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_temperature_sensor_temperature', @@ -8467,9 +8467,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.guest_room_ceiling_light_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Guest Room Ceiling Light Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Guest Room Ceiling Light Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -8527,10 +8527,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.guest_room_ceiling_light_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Guest Room Ceiling Light RSSI level', + : 'signal_strength', + : 'Guest Room Ceiling Light RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.guest_room_ceiling_light_rssi_level', @@ -8582,10 +8582,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Hallway Radiator Battery level', + : 'battery', + : 'Hallway Radiator Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hallway_radiator_battery_level', @@ -8642,9 +8642,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hallway Radiator Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Hallway Radiator Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -8702,10 +8702,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Hallway Radiator RSSI level', + : 'signal_strength', + : 'Hallway Radiator RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.hallway_radiator_rssi_level', @@ -8762,8 +8762,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hallway Radiator Sensor defect', + : 'enum', + : 'Hallway Radiator Sensor defect', : list([ 'dead', 'low_battery', @@ -8826,9 +8826,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_terrace_temp_probe_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hallway Radiator Terrace Temp Probe Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Hallway Radiator Terrace Temp Probe Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -8886,10 +8886,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_terrace_temp_probe_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Hallway Radiator Terrace Temp Probe RSSI level', + : 'signal_strength', + : 'Hallway Radiator Terrace Temp Probe RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.hallway_radiator_terrace_temp_probe_rssi_level', @@ -8946,8 +8946,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_terrace_temp_probe_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Hallway Radiator Terrace Temp Probe Sensor defect', + : 'enum', + : 'Hallway Radiator Terrace Temp Probe Sensor defect', : list([ 'dead', 'low_battery', @@ -9008,10 +9008,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.hallway_radiator_terrace_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Hallway Radiator Terrace Temp Probe Temperature', + : 'temperature', + : 'Hallway Radiator Terrace Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hallway_radiator_terrace_temp_probe_temperature', @@ -9068,9 +9068,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.kitchen_ceiling_light_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen Ceiling Light Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Kitchen Ceiling Light Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -9128,10 +9128,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.kitchen_ceiling_light_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Kitchen Ceiling Light RSSI level', + : 'signal_strength', + : 'Kitchen Ceiling Light RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.kitchen_ceiling_light_rssi_level', @@ -9188,9 +9188,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.kitchen_temp_probe_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Thermostat Kitchen Temp Probe Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Thermostat Kitchen Temp Probe Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -9248,10 +9248,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.kitchen_temp_probe_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Thermostat Kitchen Temp Probe RSSI level', + : 'signal_strength', + : 'Living Room Thermostat Kitchen Temp Probe RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.kitchen_temp_probe_rssi_level', @@ -9308,8 +9308,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.kitchen_temp_probe_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Thermostat Kitchen Temp Probe Sensor defect', + : 'enum', + : 'Living Room Thermostat Kitchen Temp Probe Sensor defect', : list([ 'dead', 'low_battery', @@ -9370,10 +9370,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.kitchen_temp_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living Room Thermostat Kitchen Temp Probe Temperature', + : 'temperature', + : 'Living Room Thermostat Kitchen Temp Probe Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_temp_probe_temperature', @@ -9430,9 +9430,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.library_screen_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Library Screen Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Library Screen Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -9490,10 +9490,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.library_screen_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Library Screen RSSI level', + : 'signal_strength', + : 'Library Screen RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.library_screen_rssi_level', @@ -9543,8 +9543,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.library_screen_target_closure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Library Screen Target closure', - 'unit_of_measurement': '%', + : 'Library Screen Target closure', + : '%', }), 'context': , 'entity_id': 'sensor.library_screen_target_closure', @@ -9601,9 +9601,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.living_room_ceiling_light_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Ceiling Light Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Ceiling Light Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -9661,10 +9661,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.living_room_ceiling_light_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Ceiling Light RSSI level', + : 'signal_strength', + : 'Living Room Ceiling Light RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.living_room_ceiling_light_rssi_level', @@ -9716,10 +9716,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.living_room_thermostat_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Living Room Thermostat Battery level', + : 'battery', + : 'Living Room Thermostat Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_thermostat_battery_level', @@ -9776,9 +9776,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.living_room_thermostat_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Thermostat Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Living Room Thermostat Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -9836,10 +9836,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.living_room_thermostat_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Living Room Thermostat RSSI level', + : 'signal_strength', + : 'Living Room Thermostat RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.living_room_thermostat_rssi_level', @@ -9896,8 +9896,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.living_room_thermostat_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Living Room Thermostat Sensor defect', + : 'enum', + : 'Living Room Thermostat Sensor defect', : list([ 'dead', 'low_battery', @@ -9955,10 +9955,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.patio_thermostat_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Patio Thermostat Battery level', + : 'battery', + : 'Patio Thermostat Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.patio_thermostat_battery_level', @@ -10015,9 +10015,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.patio_thermostat_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Patio Thermostat Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Patio Thermostat Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -10075,10 +10075,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.patio_thermostat_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Patio Thermostat RSSI level', + : 'signal_strength', + : 'Patio Thermostat RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.patio_thermostat_rssi_level', @@ -10135,8 +10135,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.patio_thermostat_sensor_defect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Patio Thermostat Sensor defect', + : 'enum', + : 'Patio Thermostat Sensor defect', : list([ 'dead', 'low_battery', @@ -10199,9 +10199,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.patio_window_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Patio Window Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Patio Window Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -10259,10 +10259,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.patio_window_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Patio Window RSSI level', + : 'signal_strength', + : 'Patio Window RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.patio_window_rssi_level', @@ -10319,9 +10319,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.sunroom_shades_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Sunroom Shades Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Sunroom Shades Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -10379,10 +10379,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.sunroom_shades_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Sunroom Shades RSSI level', + : 'signal_strength', + : 'Sunroom Shades RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.sunroom_shades_rssi_level', @@ -10439,9 +10439,9 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.terrace_awning_discrete_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Terrace Awning Discrete RSSI level', - 'icon': 'mdi:wifi', + : 'enum', + : 'Terrace Awning Discrete RSSI level', + : 'mdi:wifi', : list([ 'verylow', 'low', @@ -10499,10 +10499,10 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.terrace_awning_rssi_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Terrace Awning RSSI level', + : 'signal_strength', + : 'Terrace Awning RSSI level', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.terrace_awning_rssi_level', @@ -10552,8 +10552,8 @@ # name: test_sensor_entities_snapshot[local_somfy_tahoma_switch_europe_3.json][sensor.terrace_awning_target_closure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Terrace Awning Target closure', - 'unit_of_measurement': '%', + : 'Terrace Awning Target closure', + : '%', }), 'context': , 'entity_id': 'sensor.terrace_awning_target_closure', diff --git a/tests/components/overkiz/snapshots/test_siren.ambr b/tests/components/overkiz/snapshots/test_siren.ambr index b130b6986d2..4568464a553 100644 --- a/tests/components/overkiz/snapshots/test_siren.ambr +++ b/tests/components/overkiz/snapshots/test_siren.ambr @@ -39,8 +39,8 @@ # name: test_siren_entities_snapshot[local_somfy_tahoma_v2_europe.json][siren.siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren', - 'supported_features': , + : 'Siren', + : , }), 'context': , 'entity_id': 'siren.siren', diff --git a/tests/components/overkiz/snapshots/test_switch.ambr b/tests/components/overkiz/snapshots/test_switch.ambr index 447d8938b1a..1fe6d83d8d1 100644 --- a/tests/components/overkiz/snapshots/test_switch.ambr +++ b/tests/components/overkiz/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch_entities_snapshot[cloud_somfy_myfox_europe.json][switch.hot_water_tank-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hot Water Tank', - 'icon': 'mdi:water-boiler', + : 'Hot Water Tank', + : 'mdi:water-boiler', }), 'context': , 'entity_id': 'switch.hot_water_tank', @@ -90,8 +90,8 @@ # name: test_switch_entities_snapshot[cloud_somfy_myfox_europe.json][switch.indoor_camera_camera_shutter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Indoor Camera Camera shutter', - 'icon': 'mdi:camera-lock', + : 'Indoor Camera Camera shutter', + : 'mdi:camera-lock', }), 'context': , 'entity_id': 'switch.indoor_camera_camera_shutter', @@ -141,8 +141,8 @@ # name: test_switch_entities_snapshot[cloud_somfy_myfox_europe.json][switch.outdoor_camera_camera_shutter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Outdoor Camera Camera shutter', - 'icon': 'mdi:camera-lock', + : 'Outdoor Camera Camera shutter', + : 'mdi:camera-lock', }), 'context': , 'entity_id': 'switch.outdoor_camera_camera_shutter', @@ -192,8 +192,8 @@ # name: test_switch_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][switch.home_library_garden_light_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Garden Light Switch', + : 'outlet', + : 'Garden Light Switch', }), 'context': , 'entity_id': 'switch.home_library_garden_light_switch', @@ -243,8 +243,8 @@ # name: test_switch_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][switch.main_bedroom_patio_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Patio Light', + : 'outlet', + : 'Patio Light', }), 'context': , 'entity_id': 'switch.main_bedroom_patio_light', @@ -294,8 +294,8 @@ # name: test_switch_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][switch.music_room_pool_pump_on_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Pool Pump On&Off', + : 'outlet', + : 'Pool Pump On&Off', }), 'context': , 'entity_id': 'switch.music_room_pool_pump_on_off', @@ -345,8 +345,8 @@ # name: test_switch_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][switch.pool_house-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool House', - 'icon': 'mdi:pool', + : 'Pool House', + : 'mdi:pool', }), 'context': , 'entity_id': 'switch.pool_house', @@ -396,9 +396,9 @@ # name: test_switch_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][switch.willow_house_external_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'External Siren', - 'icon': 'mdi:bell', + : True, + : 'External Siren', + : 'mdi:bell', }), 'context': , 'entity_id': 'switch.willow_house_external_siren', diff --git a/tests/components/overkiz/snapshots/test_water_heater.ambr b/tests/components/overkiz/snapshots/test_water_heater.ambr index 4b114da9024..44e36e1a1fa 100644 --- a/tests/components/overkiz/snapshots/test_water_heater.ambr +++ b/tests/components/overkiz/snapshots/test_water_heater.ambr @@ -49,7 +49,7 @@ 'attributes': ReadOnlyDict({ : 'off', : 64.4, - 'friendly_name': 'Patio Water Heating', + : 'Patio Water Heating', : 70.0, : 50.0, : list([ @@ -58,7 +58,7 @@ 'performance', ]), : 'manual', - 'supported_features': , + : , : None, : None, : 60.0, diff --git a/tests/components/overseerr/snapshots/test_event.ambr b/tests/components/overseerr/snapshots/test_event.ambr index 524799a0d49..f11e8d17d67 100644 --- a/tests/components/overseerr/snapshots/test_event.ambr +++ b/tests/components/overseerr/snapshots/test_event.ambr @@ -48,7 +48,7 @@ # name: test_entities[event.overseerr_last_media_event-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://image.tmdb.org/t/p/w600_and_h900_bestv2/something.jpg', + : 'https://image.tmdb.org/t/p/w600_and_h900_bestv2/something.jpg', : 'auto_approved', : list([ 'pending', @@ -58,7 +58,7 @@ 'declined', 'auto_approved', ]), - 'friendly_name': 'Overseerr Last media event', + : 'Overseerr Last media event', 'media': dict({ 'media_type': 'movie', 'status': 'pending', diff --git a/tests/components/overseerr/snapshots/test_sensor.ambr b/tests/components/overseerr/snapshots/test_sensor.ambr index 5dee92bc82b..5596ad45115 100644 --- a/tests/components/overseerr/snapshots/test_sensor.ambr +++ b/tests/components/overseerr/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_all_entities[sensor.overseerr_audio_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Audio issues', + : 'Overseerr Audio issues', : , }), 'context': , @@ -94,9 +94,9 @@ # name: test_all_entities[sensor.overseerr_available_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Available requests', + : 'Overseerr Available requests', : , - 'unit_of_measurement': 'requests', + : 'requests', }), 'context': , 'entity_id': 'sensor.overseerr_available_requests', @@ -148,7 +148,7 @@ # name: test_all_entities[sensor.overseerr_closed_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Closed issues', + : 'Overseerr Closed issues', : , }), 'context': , @@ -201,9 +201,9 @@ # name: test_all_entities[sensor.overseerr_declined_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Declined requests', + : 'Overseerr Declined requests', : , - 'unit_of_measurement': 'requests', + : 'requests', }), 'context': , 'entity_id': 'sensor.overseerr_declined_requests', @@ -255,9 +255,9 @@ # name: test_all_entities[sensor.overseerr_movie_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Movie requests', + : 'Overseerr Movie requests', : , - 'unit_of_measurement': 'requests', + : 'requests', }), 'context': , 'entity_id': 'sensor.overseerr_movie_requests', @@ -309,7 +309,7 @@ # name: test_all_entities[sensor.overseerr_open_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Open issues', + : 'Overseerr Open issues', : , }), 'context': , @@ -362,9 +362,9 @@ # name: test_all_entities[sensor.overseerr_pending_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Pending requests', + : 'Overseerr Pending requests', : , - 'unit_of_measurement': 'requests', + : 'requests', }), 'context': , 'entity_id': 'sensor.overseerr_pending_requests', @@ -416,9 +416,9 @@ # name: test_all_entities[sensor.overseerr_processing_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Processing requests', + : 'Overseerr Processing requests', : , - 'unit_of_measurement': 'requests', + : 'requests', }), 'context': , 'entity_id': 'sensor.overseerr_processing_requests', @@ -470,7 +470,7 @@ # name: test_all_entities[sensor.overseerr_subtitle_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Subtitle issues', + : 'Overseerr Subtitle issues', : , }), 'context': , @@ -523,7 +523,7 @@ # name: test_all_entities[sensor.overseerr_total_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Total issues', + : 'Overseerr Total issues', : , }), 'context': , @@ -576,9 +576,9 @@ # name: test_all_entities[sensor.overseerr_total_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Total requests', + : 'Overseerr Total requests', : , - 'unit_of_measurement': 'requests', + : 'requests', }), 'context': , 'entity_id': 'sensor.overseerr_total_requests', @@ -630,9 +630,9 @@ # name: test_all_entities[sensor.overseerr_tv_requests-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr TV requests', + : 'Overseerr TV requests', : , - 'unit_of_measurement': 'requests', + : 'requests', }), 'context': , 'entity_id': 'sensor.overseerr_tv_requests', @@ -684,7 +684,7 @@ # name: test_all_entities[sensor.overseerr_video_issues-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Overseerr Video issues', + : 'Overseerr Video issues', : , }), 'context': , diff --git a/tests/components/ovhcloud_ai_endpoints/snapshots/test_conversation.ambr b/tests/components/ovhcloud_ai_endpoints/snapshots/test_conversation.ambr index 835c1b96b7f..724b40399b8 100644 --- a/tests/components/ovhcloud_ai_endpoints/snapshots/test_conversation.ambr +++ b/tests/components/ovhcloud_ai_endpoints/snapshots/test_conversation.ambr @@ -42,8 +42,8 @@ # name: test_all_entities[assist][conversation.meta_llama_3_3_70b_instruct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Meta-Llama-3_3-70B-Instruct', - 'supported_features': , + : 'Meta-Llama-3_3-70B-Instruct', + : , }), 'context': , 'entity_id': 'conversation.meta_llama_3_3_70b_instruct', @@ -96,8 +96,8 @@ # name: test_all_entities[no_assist][conversation.meta_llama_3_3_70b_instruct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Meta-Llama-3_3-70B-Instruct', - 'supported_features': , + : 'Meta-Llama-3_3-70B-Instruct', + : , }), 'context': , 'entity_id': 'conversation.meta_llama_3_3_70b_instruct', diff --git a/tests/components/paj_gps/snapshots/test_device_tracker.ambr b/tests/components/paj_gps/snapshots/test_device_tracker.ambr index 4d5bfaf77e6..8648618b539 100644 --- a/tests/components/paj_gps/snapshots/test_device_tracker.ambr +++ b/tests/components/paj_gps/snapshots/test_device_tracker.ambr @@ -41,9 +41,9 @@ # name: test_all_entities[device_tracker.device_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 1', + : 'Device 1', : 0, - 'icon': 'mdi:map-marker', + : 'mdi:map-marker', : list([ ]), : 52.0, diff --git a/tests/components/paj_gps/snapshots/test_sensor.ambr b/tests/components/paj_gps/snapshots/test_sensor.ambr index f4a6961d4d5..a1926b9e187 100644 --- a/tests/components/paj_gps/snapshots/test_sensor.ambr +++ b/tests/components/paj_gps/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_battery_sensor_created_when_has_battery[sensor.device_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Device 1 Battery', + : 'battery', + : 'Device 1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_1_battery', @@ -102,10 +102,10 @@ # name: test_battery_sensor_created_when_has_battery[sensor.device_1_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Device 1 Speed', + : 'speed', + : 'Device 1 Speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_1_speed', diff --git a/tests/components/palazzetti/snapshots/test_button.ambr b/tests/components/palazzetti/snapshots/test_button.ambr index 3a4a7725897..b2d9c4f97a3 100644 --- a/tests/components/palazzetti/snapshots/test_button.ambr +++ b/tests/components/palazzetti/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.stove_silent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Stove Silent', + : 'Stove Silent', }), 'context': , 'entity_id': 'button.stove_silent', diff --git a/tests/components/palazzetti/snapshots/test_climate.ambr b/tests/components/palazzetti/snapshots/test_climate.ambr index f617a3cd597..91fd8317bea 100644 --- a/tests/components/palazzetti/snapshots/test_climate.ambr +++ b/tests/components/palazzetti/snapshots/test_climate.ambr @@ -67,7 +67,7 @@ 'high', 'auto', ]), - 'friendly_name': 'Stove', + : 'Stove', : , : list([ , @@ -75,7 +75,7 @@ ]), : 50, : 5, - 'supported_features': , + : , : 1.0, : 21, }), diff --git a/tests/components/palazzetti/snapshots/test_number.ambr b/tests/components/palazzetti/snapshots/test_number.ambr index 9b8eb29559c..ca46e4ac4f2 100644 --- a/tests/components/palazzetti/snapshots/test_number.ambr +++ b/tests/components/palazzetti/snapshots/test_number.ambr @@ -44,8 +44,8 @@ # name: test_all_entities[number.stove_combustion_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Stove Combustion power', + : 'power_factor', + : 'Stove Combustion power', : 5, : 1, : , @@ -104,8 +104,8 @@ # name: test_all_entities[number.stove_left_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'Stove Left fan speed', + : 'wind_speed', + : 'Stove Left fan speed', : 5, : 0, : , @@ -164,8 +164,8 @@ # name: test_all_entities[number.stove_right_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'Stove Right fan speed', + : 'wind_speed', + : 'Stove Right fan speed', : 5, : 0, : , diff --git a/tests/components/palazzetti/snapshots/test_sensor.ambr b/tests/components/palazzetti/snapshots/test_sensor.ambr index fee36ad1580..6a8eb270268 100644 --- a/tests/components/palazzetti/snapshots/test_sensor.ambr +++ b/tests/components/palazzetti/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.stove_air_outlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Stove Air outlet temperature', + : 'temperature', + : 'Stove Air outlet temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_air_outlet_temperature', @@ -102,10 +102,10 @@ # name: test_all_entities[sensor.stove_hydro_temperature_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Stove Hydro temperature 1', + : 'temperature', + : 'Stove Hydro temperature 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_hydro_temperature_1', @@ -160,10 +160,10 @@ # name: test_all_entities[sensor.stove_hydro_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Stove Hydro temperature 2', + : 'temperature', + : 'Stove Hydro temperature 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_hydro_temperature_2', @@ -218,10 +218,10 @@ # name: test_all_entities[sensor.stove_pellet_quantity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'Stove Pellet quantity', + : 'weight', + : 'Stove Pellet quantity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_pellet_quantity', @@ -276,10 +276,10 @@ # name: test_all_entities[sensor.stove_return_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Stove Return water temperature', + : 'temperature', + : 'Stove Return water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_return_water_temperature', @@ -334,10 +334,10 @@ # name: test_all_entities[sensor.stove_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Stove Room temperature', + : 'temperature', + : 'Stove Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_room_temperature', @@ -437,8 +437,8 @@ # name: test_all_entities[sensor.stove_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Stove Status', + : 'enum', + : 'Stove Status', : list([ 'off', 'off_timer', @@ -542,10 +542,10 @@ # name: test_all_entities[sensor.stove_tank_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Stove Tank water temperature', + : 'temperature', + : 'Stove Tank water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_tank_water_temperature', @@ -600,10 +600,10 @@ # name: test_all_entities[sensor.stove_wood_combustion_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Stove Wood combustion temperature', + : 'temperature', + : 'Stove Wood combustion temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stove_wood_combustion_temperature', diff --git a/tests/components/paperless_ngx/snapshots/test_sensor.ambr b/tests/components/paperless_ngx/snapshots/test_sensor.ambr index 042e4308183..9466ea70938 100644 --- a/tests/components/paperless_ngx/snapshots/test_sensor.ambr +++ b/tests/components/paperless_ngx/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_platform[sensor.paperless_ngx_available_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Paperless-ngx Available storage', + : 'data_size', + : 'Paperless-ngx Available storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.paperless_ngx_available_storage', @@ -99,9 +99,9 @@ # name: test_sensor_platform[sensor.paperless_ngx_correspondents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Paperless-ngx Correspondents', + : 'Paperless-ngx Correspondents', : , - 'unit_of_measurement': 'correspondents', + : 'correspondents', }), 'context': , 'entity_id': 'sensor.paperless_ngx_correspondents', @@ -153,9 +153,9 @@ # name: test_sensor_platform[sensor.paperless_ngx_document_types-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Paperless-ngx Document types', + : 'Paperless-ngx Document types', : , - 'unit_of_measurement': 'document types', + : 'document types', }), 'context': , 'entity_id': 'sensor.paperless_ngx_document_types', @@ -207,9 +207,9 @@ # name: test_sensor_platform[sensor.paperless_ngx_documents_in_inbox-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Paperless-ngx Documents in inbox', + : 'Paperless-ngx Documents in inbox', : , - 'unit_of_measurement': 'documents', + : 'documents', }), 'context': , 'entity_id': 'sensor.paperless_ngx_documents_in_inbox', @@ -265,8 +265,8 @@ # name: test_sensor_platform[sensor.paperless_ngx_status_celery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Paperless-ngx Status Celery', + : 'enum', + : 'Paperless-ngx Status Celery', : list([ 'ok', 'error', @@ -327,8 +327,8 @@ # name: test_sensor_platform[sensor.paperless_ngx_status_classifier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Paperless-ngx Status classifier', + : 'enum', + : 'Paperless-ngx Status classifier', : list([ 'ok', 'error', @@ -389,8 +389,8 @@ # name: test_sensor_platform[sensor.paperless_ngx_status_database-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Paperless-ngx Status database', + : 'enum', + : 'Paperless-ngx Status database', : list([ 'ok', 'error', @@ -451,8 +451,8 @@ # name: test_sensor_platform[sensor.paperless_ngx_status_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Paperless-ngx Status index', + : 'enum', + : 'Paperless-ngx Status index', : list([ 'ok', 'error', @@ -513,8 +513,8 @@ # name: test_sensor_platform[sensor.paperless_ngx_status_redis-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Paperless-ngx Status Redis', + : 'enum', + : 'Paperless-ngx Status Redis', : list([ 'ok', 'error', @@ -575,8 +575,8 @@ # name: test_sensor_platform[sensor.paperless_ngx_status_sanity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Paperless-ngx Status sanity', + : 'enum', + : 'Paperless-ngx Status sanity', : list([ 'ok', 'error', @@ -633,9 +633,9 @@ # name: test_sensor_platform[sensor.paperless_ngx_tags-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Paperless-ngx Tags', + : 'Paperless-ngx Tags', : , - 'unit_of_measurement': 'tags', + : 'tags', }), 'context': , 'entity_id': 'sensor.paperless_ngx_tags', @@ -687,9 +687,9 @@ # name: test_sensor_platform[sensor.paperless_ngx_total_characters-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Paperless-ngx Total characters', + : 'Paperless-ngx Total characters', : , - 'unit_of_measurement': 'characters', + : 'characters', }), 'context': , 'entity_id': 'sensor.paperless_ngx_total_characters', @@ -741,9 +741,9 @@ # name: test_sensor_platform[sensor.paperless_ngx_total_documents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Paperless-ngx Total documents', + : 'Paperless-ngx Total documents', : , - 'unit_of_measurement': 'documents', + : 'documents', }), 'context': , 'entity_id': 'sensor.paperless_ngx_total_documents', @@ -798,10 +798,10 @@ # name: test_sensor_platform[sensor.paperless_ngx_total_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Paperless-ngx Total storage', + : 'data_size', + : 'Paperless-ngx Total storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.paperless_ngx_total_storage', diff --git a/tests/components/paperless_ngx/snapshots/test_update.ambr b/tests/components/paperless_ngx/snapshots/test_update.ambr index 38b005e9f00..863ccf03184 100644 --- a/tests/components/paperless_ngx/snapshots/test_update.ambr +++ b/tests/components/paperless_ngx/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/paperless_ngx/icon.png', - 'friendly_name': 'Paperless-ngx Software', + : '/api/brands/integration/paperless_ngx/icon.png', + : 'Paperless-ngx Software', : False, : '2.3.0', : '2.3.0', : None, : 'https://docs.paperless-ngx.com/changelog/', : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/peblar/snapshots/test_binary_sensor.ambr b/tests/components/peblar/snapshots/test_binary_sensor.ambr index 6807c07d10b..c10fc71302d 100644 --- a/tests/components/peblar/snapshots/test_binary_sensor.ambr +++ b/tests/components/peblar/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entities[binary_sensor][binary_sensor.peblar_ev_charger_active_errors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Peblar EV Charger Active errors', + : 'problem', + : 'Peblar EV Charger Active errors', }), 'context': , 'entity_id': 'binary_sensor.peblar_ev_charger_active_errors', @@ -90,8 +90,8 @@ # name: test_entities[binary_sensor][binary_sensor.peblar_ev_charger_active_warnings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Peblar EV Charger Active warnings', + : 'problem', + : 'Peblar EV Charger Active warnings', }), 'context': , 'entity_id': 'binary_sensor.peblar_ev_charger_active_warnings', diff --git a/tests/components/peblar/snapshots/test_button.ambr b/tests/components/peblar/snapshots/test_button.ambr index dd548b59189..feceae08986 100644 --- a/tests/components/peblar/snapshots/test_button.ambr +++ b/tests/components/peblar/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_entities[button][button.peblar_ev_charger_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Peblar EV Charger Identify', + : 'identify', + : 'Peblar EV Charger Identify', }), 'context': , 'entity_id': 'button.peblar_ev_charger_identify', @@ -90,8 +90,8 @@ # name: test_entities[button][button.peblar_ev_charger_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Peblar EV Charger Restart', + : 'restart', + : 'Peblar EV Charger Restart', }), 'context': , 'entity_id': 'button.peblar_ev_charger_restart', diff --git a/tests/components/peblar/snapshots/test_number.ambr b/tests/components/peblar/snapshots/test_number.ambr index 1e0eb6c0060..0b4a99360a3 100644 --- a/tests/components/peblar/snapshots/test_number.ambr +++ b/tests/components/peblar/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_entities[number][number.peblar_ev_charger_charge_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Peblar EV Charger Charge limit', + : 'current', + : 'Peblar EV Charger Charge limit', : 16, : 6, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.peblar_ev_charger_charge_limit', diff --git a/tests/components/peblar/snapshots/test_select.ambr b/tests/components/peblar/snapshots/test_select.ambr index 439adae5997..fff965edb0a 100644 --- a/tests/components/peblar/snapshots/test_select.ambr +++ b/tests/components/peblar/snapshots/test_select.ambr @@ -47,7 +47,7 @@ # name: test_entities[select][select.peblar_ev_charger_smart_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Peblar EV Charger Smart charging', + : 'Peblar EV Charger Smart charging', : list([ 'default', 'fast_solar', diff --git a/tests/components/peblar/snapshots/test_sensor.ambr b/tests/components/peblar/snapshots/test_sensor.ambr index 25f7300ea58..e9e6141a1ed 100644 --- a/tests/components/peblar/snapshots/test_sensor.ambr +++ b/tests/components/peblar/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Peblar EV Charger Current', + : 'current', + : 'Peblar EV Charger Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_current', @@ -108,10 +108,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_current_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Peblar EV Charger Current phase 1', + : 'current', + : 'Peblar EV Charger Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_current_phase_1', @@ -169,10 +169,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_current_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Peblar EV Charger Current phase 2', + : 'current', + : 'Peblar EV Charger Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_current_phase_2', @@ -230,10 +230,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_current_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Peblar EV Charger Current phase 3', + : 'current', + : 'Peblar EV Charger Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_current_phase_3', @@ -291,10 +291,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_lifetime_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Peblar EV Charger Lifetime energy', + : 'energy', + : 'Peblar EV Charger Lifetime energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_lifetime_energy', @@ -364,8 +364,8 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_limit_source-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Peblar EV Charger Limit source', + : 'enum', + : 'Peblar EV Charger Limit source', : list([ 'charging_cable', 'current_limiter', @@ -439,10 +439,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Peblar EV Charger Power', + : 'power', + : 'Peblar EV Charger Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_power', @@ -497,10 +497,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Peblar EV Charger Power phase 1', + : 'power', + : 'Peblar EV Charger Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_power_phase_1', @@ -555,10 +555,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Peblar EV Charger Power phase 2', + : 'power', + : 'Peblar EV Charger Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_power_phase_2', @@ -613,10 +613,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Peblar EV Charger Power phase 3', + : 'power', + : 'Peblar EV Charger Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_power_phase_3', @@ -674,10 +674,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_session_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Peblar EV Charger Session energy', + : 'energy', + : 'Peblar EV Charger Session energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_session_energy', @@ -737,8 +737,8 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Peblar EV Charger State', + : 'enum', + : 'Peblar EV Charger State', : list([ 'suspended', 'charging', @@ -797,8 +797,8 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Peblar EV Charger Uptime', + : 'timestamp', + : 'Peblar EV Charger Uptime', }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_uptime', @@ -853,10 +853,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_voltage_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Peblar EV Charger Voltage phase 1', + : 'voltage', + : 'Peblar EV Charger Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_voltage_phase_1', @@ -911,10 +911,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_voltage_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Peblar EV Charger Voltage phase 2', + : 'voltage', + : 'Peblar EV Charger Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_voltage_phase_2', @@ -969,10 +969,10 @@ # name: test_entities[sensor][sensor.peblar_ev_charger_voltage_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Peblar EV Charger Voltage phase 3', + : 'voltage', + : 'Peblar EV Charger Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.peblar_ev_charger_voltage_phase_3', diff --git a/tests/components/peblar/snapshots/test_switch.ambr b/tests/components/peblar/snapshots/test_switch.ambr index c7897092530..13718a3683d 100644 --- a/tests/components/peblar/snapshots/test_switch.ambr +++ b/tests/components/peblar/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch][switch.peblar_ev_charger_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Peblar EV Charger Charge', + : 'Peblar EV Charger Charge', }), 'context': , 'entity_id': 'switch.peblar_ev_charger_charge', @@ -89,7 +89,7 @@ # name: test_entities[switch][switch.peblar_ev_charger_force_single_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Peblar EV Charger Force single phase', + : 'Peblar EV Charger Force single phase', }), 'context': , 'entity_id': 'switch.peblar_ev_charger_force_single_phase', diff --git a/tests/components/peblar/snapshots/test_update.ambr b/tests/components/peblar/snapshots/test_update.ambr index da8f244592b..4ab471edbf7 100644 --- a/tests/components/peblar/snapshots/test_update.ambr +++ b/tests/components/peblar/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/peblar/icon.png', - 'friendly_name': 'Peblar EV Charger Customization', + : '/api/brands/integration/peblar/icon.png', + : 'Peblar EV Charger Customization', : False, : 'Peblar-1.9', : 'Peblar-1.9', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -102,17 +102,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/peblar/icon.png', - 'friendly_name': 'Peblar EV Charger Firmware', + : '/api/brands/integration/peblar/icon.png', + : 'Peblar EV Charger Firmware', : False, : '1.6.1+1+WL-1', : '1.6.2+1+WL-1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/pglab/snapshots/test_sensor.ambr b/tests/components/pglab/snapshots/test_sensor.ambr index 3b7e56edf8a..51c3cb8bfee 100644 --- a/tests/components/pglab/snapshots/test_sensor.ambr +++ b/tests/components/pglab/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_sensors[mpu_voltage][initial_sensor_mpu_voltage] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test MPU voltage', + : 'voltage', + : 'test MPU voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_mpu_voltage', @@ -18,10 +18,10 @@ # name: test_sensors[mpu_voltage][updated_sensor_mpu_voltage] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test MPU voltage', + : 'voltage', + : 'test MPU voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_mpu_voltage', @@ -34,9 +34,9 @@ # name: test_sensors[run_time][initial_sensor_run_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'test Run time', - 'icon': 'mdi:progress-clock', + : 'timestamp', + : 'test Run time', + : 'mdi:progress-clock', }), 'context': , 'entity_id': 'sensor.test_run_time', @@ -49,9 +49,9 @@ # name: test_sensors[run_time][updated_sensor_run_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'test Run time', - 'icon': 'mdi:progress-clock', + : 'timestamp', + : 'test Run time', + : 'mdi:progress-clock', }), 'context': , 'entity_id': 'sensor.test_run_time', @@ -64,10 +64,10 @@ # name: test_sensors[temperature][initial_sensor_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test Temperature', + : 'temperature', + : 'test Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_temperature', @@ -80,10 +80,10 @@ # name: test_sensors[temperature][updated_sensor_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test Temperature', + : 'temperature', + : 'test Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_temperature', diff --git a/tests/components/ping/snapshots/test_binary_sensor.ambr b/tests/components/ping/snapshots/test_binary_sensor.ambr index b0b97243632..c3da54f6565 100644 --- a/tests/components/ping/snapshots/test_binary_sensor.ambr +++ b/tests/components/ping/snapshots/test_binary_sensor.ambr @@ -38,8 +38,8 @@ # name: test_setup_and_update.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': '10.10.10.10', + : 'connectivity', + : '10.10.10.10', }), 'context': , 'entity_id': 'binary_sensor.10_10_10_10', @@ -52,8 +52,8 @@ # name: test_setup_and_update.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': '10.10.10.10', + : 'connectivity', + : '10.10.10.10', }), 'context': , 'entity_id': 'binary_sensor.10_10_10_10', diff --git a/tests/components/ping/snapshots/test_sensor.ambr b/tests/components/ping/snapshots/test_sensor.ambr index 4b50a65b718..edcb2a2d1c4 100644 --- a/tests/components/ping/snapshots/test_sensor.ambr +++ b/tests/components/ping/snapshots/test_sensor.ambr @@ -43,10 +43,10 @@ # name: test_setup_and_update[jitter].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '10.10.10.10 Jitter', + : 'duration', + : '10.10.10.10 Jitter', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.10_10_10_10_jitter', @@ -97,9 +97,9 @@ # name: test_setup_and_update[packet_loss].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '10.10.10.10 Packet loss', + : '10.10.10.10 Packet loss', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.10_10_10_10_packet_loss', @@ -153,10 +153,10 @@ # name: test_setup_and_update[round_trip_time_average].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '10.10.10.10 Round-trip time average', + : 'duration', + : '10.10.10.10 Round-trip time average', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.10_10_10_10_round_trip_time_average', @@ -210,10 +210,10 @@ # name: test_setup_and_update[round_trip_time_maximum].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '10.10.10.10 Round-trip time maximum', + : 'duration', + : '10.10.10.10 Round-trip time maximum', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.10_10_10_10_round_trip_time_maximum', @@ -273,10 +273,10 @@ # name: test_setup_and_update[round_trip_time_minimum].1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '10.10.10.10 Round-trip time minimum', + : 'duration', + : '10.10.10.10 Round-trip time minimum', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.10_10_10_10_round_trip_time_minimum', diff --git a/tests/components/plaato/snapshots/test_binary_sensor.ambr b/tests/components/plaato/snapshots/test_binary_sensor.ambr index 5eb89f3b5bc..41cfffef0f0 100644 --- a/tests/components/plaato/snapshots/test_binary_sensor.ambr +++ b/tests/components/plaato/snapshots/test_binary_sensor.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'beer_name': 'Beer', - 'device_class': 'problem', - 'friendly_name': 'device_name Plaato Plaatodevicetype.Keg Device_Name Leaking', + : 'problem', + : 'device_name Plaato Plaatodevicetype.Keg Device_Name Leaking', 'keg_date': '05/24/24', 'mode': 'Co2', }), @@ -94,8 +94,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'beer_name': 'Beer', - 'device_class': 'opening', - 'friendly_name': 'device_name Plaato Plaatodevicetype.Keg Device_Name Pouring', + : 'opening', + : 'device_name Plaato Plaatodevicetype.Keg Device_Name Pouring', 'keg_date': '05/24/24', 'mode': 'Co2', }), diff --git a/tests/components/plaato/snapshots/test_sensor.ambr b/tests/components/plaato/snapshots/test_sensor.ambr index 754eb993732..e2187dc2fd9 100644 --- a/tests/components/plaato/snapshots/test_sensor.ambr +++ b/tests/components/plaato/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_alcohol_by_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Alcohol By Volume', - 'unit_of_measurement': '%', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Alcohol By Volume', + : '%', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_alcohol_by_volume', @@ -90,7 +90,7 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_batch_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Batch Volume', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Batch Volume', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_batch_volume', @@ -140,8 +140,8 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_bubbles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Bubbles', - 'unit_of_measurement': '', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Bubbles', + : '', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_bubbles', @@ -191,8 +191,8 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_bubbles_per_minute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Bubbles Per Minute', - 'unit_of_measurement': 'bpm', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Bubbles Per Minute', + : 'bpm', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_bubbles_per_minute', @@ -242,7 +242,7 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_co2_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Co2 Volume', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Co2 Volume', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_co2_volume', @@ -292,8 +292,8 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_original_gravity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Original Gravity', - 'unit_of_measurement': '', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Original Gravity', + : '', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_original_gravity', @@ -343,8 +343,8 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_specific_gravity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Specific Gravity', - 'unit_of_measurement': '', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Specific Gravity', + : '', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_specific_gravity', @@ -394,7 +394,7 @@ # name: test_sensors[Airlock][sensor.device_name_plaato_plaatodevicetype_airlock_device_name_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'device_name Plaato Plaatodevicetype.Airlock Device_Name Temperature', + : 'device_name Plaato Plaatodevicetype.Airlock Device_Name Temperature', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_airlock_device_name_temperature', @@ -445,7 +445,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'beer_name': 'Beer', - 'friendly_name': 'device_name Plaato Plaatodevicetype.Keg Device_Name Beer Left', + : 'device_name Plaato Plaatodevicetype.Keg Device_Name Beer Left', 'keg_date': '05/24/24', 'mode': 'Co2', }), @@ -498,10 +498,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'beer_name': 'Beer', - 'friendly_name': 'device_name Plaato Plaatodevicetype.Keg Device_Name Last Pour Amount', + : 'device_name Plaato Plaatodevicetype.Keg Device_Name Last Pour Amount', 'keg_date': '05/24/24', 'mode': 'Co2', - 'unit_of_measurement': 'oz', + : 'oz', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_keg_device_name_last_pour_amount', @@ -552,10 +552,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'beer_name': 'Beer', - 'friendly_name': 'device_name Plaato Plaatodevicetype.Keg Device_Name Percent Beer Left', + : 'device_name Plaato Plaatodevicetype.Keg Device_Name Percent Beer Left', 'keg_date': '05/24/24', 'mode': 'Co2', - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_keg_device_name_percent_beer_left', @@ -609,11 +609,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'beer_name': 'Beer', - 'device_class': 'temperature', - 'friendly_name': 'device_name Plaato Plaatodevicetype.Keg Device_Name Temperature', + : 'temperature', + : 'device_name Plaato Plaatodevicetype.Keg Device_Name Temperature', 'keg_date': '05/24/24', 'mode': 'Co2', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.device_name_plaato_plaatodevicetype_keg_device_name_temperature', diff --git a/tests/components/playstation_network/snapshots/test_binary_sensor.ambr b/tests/components/playstation_network/snapshots/test_binary_sensor.ambr index 8b1630b8e25..6c4d801758b 100644 --- a/tests/components/playstation_network/snapshots/test_binary_sensor.ambr +++ b/tests/components/playstation_network/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensors[binary_sensor.testuser_subscribed_to_playstation_plus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Subscribed to PlayStation Plus', + : 'testuser Subscribed to PlayStation Plus', }), 'context': , 'entity_id': 'binary_sensor.testuser_subscribed_to_playstation_plus', diff --git a/tests/components/playstation_network/snapshots/test_media_player.ambr b/tests/components/playstation_network/snapshots/test_media_player.ambr index a4584e0a0eb..a52df89aa7e 100644 --- a/tests/components/playstation_network/snapshots/test_media_player.ambr +++ b/tests/components/playstation_network/snapshots/test_media_player.ambr @@ -40,9 +40,9 @@ # name: test_media_player_psvita[presence_payload0][media_player.playstation_vita-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'friendly_name': 'PlayStation Vita', - 'supported_features': , + : 'receiver', + : 'PlayStation Vita', + : , }), 'context': , 'entity_id': 'media_player.playstation_vita', @@ -93,14 +93,14 @@ # name: test_media_player_psvita[presence_payload1][media_player.playstation_vita-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'entity_picture': 'https://image.api.playstation.com/trophy/np/NPWR03134_00_0008206095F67FD3BB385E9E00A7C9CFE6F5A4AB96/5F87A6997DD23D1C4D4CC0D1F958ED79CB905331.PNG', + : 'receiver', + : 'https://image.api.playstation.com/trophy/np/NPWR03134_00_0008206095F67FD3BB385E9E00A7C9CFE6F5A4AB96/5F87A6997DD23D1C4D4CC0D1F958ED79CB905331.PNG', : '/api/media_player_proxy/media_player.playstation_vita?token=123456789&cache=c7c916a6e18aec3d', - 'friendly_name': 'PlayStation Vita', + : 'PlayStation Vita', : 'PCSB00074_00', : , : "Assassin's Creed® III Liberation", - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.playstation_vita', @@ -151,11 +151,11 @@ # name: test_media_player_psvita[presence_payload2][media_player.playstation_vita-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', + : 'receiver', : None, - 'friendly_name': 'PlayStation Vita', + : 'PlayStation Vita', : , - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.playstation_vita', @@ -206,11 +206,11 @@ # name: test_platform[PS4_idle][media_player.playstation_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', + : 'receiver', : None, - 'friendly_name': 'PlayStation 4', + : 'PlayStation 4', : , - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.playstation_4', @@ -261,9 +261,9 @@ # name: test_platform[PS4_offline][media_player.playstation_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'friendly_name': 'PlayStation 4', - 'supported_features': , + : 'receiver', + : 'PlayStation 4', + : , }), 'context': , 'entity_id': 'media_player.playstation_4', @@ -314,14 +314,14 @@ # name: test_platform[PS4_playing][media_player.playstation_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'entity_picture': 'http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA23081_00/5/i_f5d2adec7665af80b8550fb33fe808df10d292cdd47629a991debfdf72bdee34/i/icon0.png', + : 'receiver', + : 'http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA23081_00/5/i_f5d2adec7665af80b8550fb33fe808df10d292cdd47629a991debfdf72bdee34/i/icon0.png', : '/api/media_player_proxy/media_player.playstation_4?token=123456789&cache=924f463745523102', - 'friendly_name': 'PlayStation 4', + : 'PlayStation 4', : 'CUSA23081_00', : , : 'Untitled Goose Game', - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.playstation_4', @@ -372,11 +372,11 @@ # name: test_platform[PS5_idle][media_player.playstation_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', + : 'receiver', : None, - 'friendly_name': 'PlayStation 5', + : 'PlayStation 5', : , - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.playstation_5', @@ -427,9 +427,9 @@ # name: test_platform[PS5_offline][media_player.playstation_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'friendly_name': 'PlayStation 5', - 'supported_features': , + : 'receiver', + : 'PlayStation 5', + : , }), 'context': , 'entity_id': 'media_player.playstation_5', @@ -480,14 +480,14 @@ # name: test_platform[PS5_playing][media_player.playstation_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'receiver', - 'entity_picture': 'https://image.api.playstation.com/vulcan/ap/rnd/202211/2222/l8QTN7ThQK3lRBHhB3nX1s7h.png', + : 'receiver', + : 'https://image.api.playstation.com/vulcan/ap/rnd/202211/2222/l8QTN7ThQK3lRBHhB3nX1s7h.png', : '/api/media_player_proxy/media_player.playstation_5?token=123456789&cache=50dfb7140be0060b', - 'friendly_name': 'PlayStation 5', + : 'PlayStation 5', : 'PPSA07784_00', : , : 'STAR WARS Jedi: Survivor™', - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.playstation_5', diff --git a/tests/components/playstation_network/snapshots/test_notify.ambr b/tests/components/playstation_network/snapshots/test_notify.ambr index cb77844dbad..6865cc1d2c1 100644 --- a/tests/components/playstation_network/snapshots/test_notify.ambr +++ b/tests/components/playstation_network/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.testuser_direct_message_publicuniversalfriend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Direct message: PublicUniversalFriend', - 'supported_features': , + : 'testuser Direct message: PublicUniversalFriend', + : , }), 'context': , 'entity_id': 'notify.testuser_direct_message_publicuniversalfriend', @@ -90,8 +90,8 @@ # name: test_notify_platform[notify.testuser_group_publicuniversalfriend-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Group: PublicUniversalFriend', - 'supported_features': , + : 'testuser Group: PublicUniversalFriend', + : , }), 'context': , 'entity_id': 'notify.testuser_group_publicuniversalfriend', diff --git a/tests/components/playstation_network/snapshots/test_sensor.ambr b/tests/components/playstation_network/snapshots/test_sensor.ambr index f2f4a7f2b13..cdf2600034b 100644 --- a/tests/components/playstation_network/snapshots/test_sensor.ambr +++ b/tests/components/playstation_network/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensors[sensor.publicuniversalfriend_bronze_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Bronze trophies', + : 'PublicUniversalFriend Bronze trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_bronze_trophies', @@ -95,9 +95,9 @@ # name: test_sensors[sensor.publicuniversalfriend_gold_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Gold trophies', + : 'PublicUniversalFriend Gold trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_gold_trophies', @@ -147,8 +147,8 @@ # name: test_sensors[sensor.publicuniversalfriend_last_online-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'PublicUniversalFriend Last online', + : 'timestamp', + : 'PublicUniversalFriend Last online', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_last_online', @@ -200,9 +200,9 @@ # name: test_sensors[sensor.publicuniversalfriend_next_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Next level', + : 'PublicUniversalFriend Next level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_next_level', @@ -252,7 +252,7 @@ # name: test_sensors[sensor.publicuniversalfriend_now_playing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Now playing', + : 'PublicUniversalFriend Now playing', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_now_playing', @@ -302,7 +302,7 @@ # name: test_sensors[sensor.publicuniversalfriend_online_id-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Online ID', + : 'PublicUniversalFriend Online ID', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_online_id', @@ -359,8 +359,8 @@ # name: test_sensors[sensor.publicuniversalfriend_online_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'PublicUniversalFriend Online status', + : 'enum', + : 'PublicUniversalFriend Online status', : list([ 'offline', 'availabletoplay', @@ -418,9 +418,9 @@ # name: test_sensors[sensor.publicuniversalfriend_platinum_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Platinum trophies', + : 'PublicUniversalFriend Platinum trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_platinum_trophies', @@ -472,9 +472,9 @@ # name: test_sensors[sensor.publicuniversalfriend_silver_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Silver trophies', + : 'PublicUniversalFriend Silver trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.publicuniversalfriend_silver_trophies', @@ -526,7 +526,7 @@ # name: test_sensors[sensor.publicuniversalfriend_trophy_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PublicUniversalFriend Trophy level', + : 'PublicUniversalFriend Trophy level', : , }), 'context': , @@ -579,9 +579,9 @@ # name: test_sensors[sensor.testuser_bronze_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Bronze trophies', + : 'testuser Bronze trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.testuser_bronze_trophies', @@ -633,9 +633,9 @@ # name: test_sensors[sensor.testuser_gold_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Gold trophies', + : 'testuser Gold trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.testuser_gold_trophies', @@ -685,8 +685,8 @@ # name: test_sensors[sensor.testuser_last_online-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'testuser Last online', + : 'timestamp', + : 'testuser Last online', }), 'context': , 'entity_id': 'sensor.testuser_last_online', @@ -738,9 +738,9 @@ # name: test_sensors[sensor.testuser_next_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Next level', + : 'testuser Next level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.testuser_next_level', @@ -790,7 +790,7 @@ # name: test_sensors[sensor.testuser_now_playing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Now playing', + : 'testuser Now playing', }), 'context': , 'entity_id': 'sensor.testuser_now_playing', @@ -840,8 +840,8 @@ # name: test_sensors[sensor.testuser_online_id-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'http://static-resource.np.community.playstation.net/avatar_xl/WWS_A/UP90001312L24_DD96EB6A4FF5FE883C09_XL.png', - 'friendly_name': 'testuser Online ID', + : 'http://static-resource.np.community.playstation.net/avatar_xl/WWS_A/UP90001312L24_DD96EB6A4FF5FE883C09_XL.png', + : 'testuser Online ID', }), 'context': , 'entity_id': 'sensor.testuser_online_id', @@ -898,8 +898,8 @@ # name: test_sensors[sensor.testuser_online_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'testuser Online status', + : 'enum', + : 'testuser Online status', : list([ 'offline', 'availabletoplay', @@ -957,9 +957,9 @@ # name: test_sensors[sensor.testuser_platinum_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Platinum trophies', + : 'testuser Platinum trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.testuser_platinum_trophies', @@ -1011,9 +1011,9 @@ # name: test_sensors[sensor.testuser_silver_trophies-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Silver trophies', + : 'testuser Silver trophies', : , - 'unit_of_measurement': 'trophies', + : 'trophies', }), 'context': , 'entity_id': 'sensor.testuser_silver_trophies', @@ -1065,7 +1065,7 @@ # name: test_sensors[sensor.testuser_trophy_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'testuser Trophy level', + : 'testuser Trophy level', : , }), 'context': , diff --git a/tests/components/plugwise/snapshots/test_binary_sensor.ambr b/tests/components/plugwise/snapshots/test_binary_sensor.ambr index 7e305c216de..8130ba83c8b 100644 --- a/tests/components/plugwise/snapshots/test_binary_sensor.ambr +++ b/tests/components/plugwise/snapshots/test_binary_sensor.ambr @@ -41,7 +41,7 @@ 'attributes': ReadOnlyDict({ 'error_msg': list([ ]), - 'friendly_name': 'Adam Plugwise notification', + : 'Adam Plugwise notification', 'info_msg': list([ ]), 'other_msg': list([ @@ -98,8 +98,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.bios_cv_thermostatic_radiator_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bios Cv Thermostatic Radiator Battery', + : 'battery', + : 'Bios Cv Thermostatic Radiator Battery', }), 'context': , 'entity_id': 'binary_sensor.bios_cv_thermostatic_radiator_battery', @@ -149,8 +149,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.cv_kraan_garage_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CV Kraan Garage Battery', + : 'battery', + : 'CV Kraan Garage Battery', }), 'context': , 'entity_id': 'binary_sensor.cv_kraan_garage_battery', @@ -200,7 +200,7 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.onoff_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OnOff Heating', + : 'OnOff Heating', }), 'context': , 'entity_id': 'binary_sensor.onoff_heating', @@ -250,8 +250,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.thermostatic_radiator_badkamer_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Thermostatic Radiator Badkamer 1 Battery', + : 'battery', + : 'Thermostatic Radiator Badkamer 1 Battery', }), 'context': , 'entity_id': 'binary_sensor.thermostatic_radiator_badkamer_1_battery', @@ -301,8 +301,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.thermostatic_radiator_badkamer_2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Thermostatic Radiator Badkamer 2 Battery', + : 'battery', + : 'Thermostatic Radiator Badkamer 2 Battery', }), 'context': , 'entity_id': 'binary_sensor.thermostatic_radiator_badkamer_2_battery', @@ -352,8 +352,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.thermostatic_radiator_jessie_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Thermostatic Radiator Jessie Battery', + : 'battery', + : 'Thermostatic Radiator Jessie Battery', }), 'context': , 'entity_id': 'binary_sensor.thermostatic_radiator_jessie_battery', @@ -403,8 +403,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.zone_lisa_bios_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zone Lisa Bios Battery', + : 'battery', + : 'Zone Lisa Bios Battery', }), 'context': , 'entity_id': 'binary_sensor.zone_lisa_bios_battery', @@ -454,8 +454,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.zone_lisa_wk_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zone Lisa WK Battery', + : 'battery', + : 'Zone Lisa WK Battery', }), 'context': , 'entity_id': 'binary_sensor.zone_lisa_wk_battery', @@ -505,8 +505,8 @@ # name: test_adam_binary_sensor_snapshot[platforms0][binary_sensor.zone_thermostat_jessie_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zone Thermostat Jessie Battery', + : 'battery', + : 'Zone Thermostat Jessie Battery', }), 'context': , 'entity_id': 'binary_sensor.zone_thermostat_jessie_battery', @@ -556,7 +556,7 @@ # name: test_anna_binary_sensor_snapshot[platforms0-True-anna_heatpump_heating][binary_sensor.opentherm_compressor_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Compressor state', + : 'OpenTherm Compressor state', }), 'context': , 'entity_id': 'binary_sensor.opentherm_compressor_state', @@ -606,7 +606,7 @@ # name: test_anna_binary_sensor_snapshot[platforms0-True-anna_heatpump_heating][binary_sensor.opentherm_cooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Cooling', + : 'OpenTherm Cooling', }), 'context': , 'entity_id': 'binary_sensor.opentherm_cooling', @@ -656,7 +656,7 @@ # name: test_anna_binary_sensor_snapshot[platforms0-True-anna_heatpump_heating][binary_sensor.opentherm_cooling_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Cooling enabled', + : 'OpenTherm Cooling enabled', }), 'context': , 'entity_id': 'binary_sensor.opentherm_cooling_enabled', @@ -706,7 +706,7 @@ # name: test_anna_binary_sensor_snapshot[platforms0-True-anna_heatpump_heating][binary_sensor.opentherm_dhw_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm DHW state', + : 'OpenTherm DHW state', }), 'context': , 'entity_id': 'binary_sensor.opentherm_dhw_state', @@ -756,7 +756,7 @@ # name: test_anna_binary_sensor_snapshot[platforms0-True-anna_heatpump_heating][binary_sensor.opentherm_flame_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Flame state', + : 'OpenTherm Flame state', }), 'context': , 'entity_id': 'binary_sensor.opentherm_flame_state', @@ -806,7 +806,7 @@ # name: test_anna_binary_sensor_snapshot[platforms0-True-anna_heatpump_heating][binary_sensor.opentherm_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Heating', + : 'OpenTherm Heating', }), 'context': , 'entity_id': 'binary_sensor.opentherm_heating', @@ -856,7 +856,7 @@ # name: test_anna_binary_sensor_snapshot[platforms0-True-anna_heatpump_heating][binary_sensor.opentherm_secondary_boiler_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Secondary boiler state', + : 'OpenTherm Secondary boiler state', }), 'context': , 'entity_id': 'binary_sensor.opentherm_secondary_boiler_state', @@ -908,7 +908,7 @@ 'attributes': ReadOnlyDict({ 'error_msg': list([ ]), - 'friendly_name': 'Smile Anna Plugwise notification', + : 'Smile Anna Plugwise notification', 'info_msg': list([ ]), 'other_msg': list([ @@ -966,7 +966,7 @@ 'attributes': ReadOnlyDict({ 'error_msg': list([ ]), - 'friendly_name': 'Smile P1 Plugwise notification', + : 'Smile P1 Plugwise notification', 'info_msg': list([ ]), 'other_msg': list([ diff --git a/tests/components/plugwise/snapshots/test_button.ambr b/tests/components/plugwise/snapshots/test_button.ambr index c8182279d7c..74cc59594bb 100644 --- a/tests/components/plugwise/snapshots/test_button.ambr +++ b/tests/components/plugwise/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_adam_button_snapshot[platforms0][button.adam_reboot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Adam Reboot', + : 'restart', + : 'Adam Reboot', }), 'context': , 'entity_id': 'button.adam_reboot', diff --git a/tests/components/plugwise/snapshots/test_climate.ambr b/tests/components/plugwise/snapshots/test_climate.ambr index 2e4369cbc12..de04e4e37ec 100644 --- a/tests/components/plugwise/snapshots/test_climate.ambr +++ b/tests/components/plugwise/snapshots/test_climate.ambr @@ -56,7 +56,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 17.9, - 'friendly_name': 'Bathroom', + : 'Bathroom', : , : list([ , @@ -73,7 +73,7 @@ 'home', 'away', ]), - 'supported_features': , + : , : 0.1, : 15.0, }), @@ -142,7 +142,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.1, - 'friendly_name': 'Living room', + : 'Living room', : , : list([ , @@ -159,7 +159,7 @@ 'home', 'away', ]), - 'supported_features': , + : , : 0.1, : 20.0, }), @@ -227,7 +227,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.9, - 'friendly_name': 'Badkamer', + : 'Badkamer', : , : list([ , @@ -243,7 +243,7 @@ 'vacation', 'no_frost', ]), - 'supported_features': , + : , : 0.1, : 14.0, }), @@ -311,7 +311,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 16.5, - 'friendly_name': 'Bios', + : 'Bios', : , : list([ , @@ -327,7 +327,7 @@ 'vacation', 'no_frost', ]), - 'supported_features': , + : , : 0.1, : 13.0, }), @@ -394,7 +394,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 15.6, - 'friendly_name': 'Garage', + : 'Garage', : , : list([ , @@ -409,7 +409,7 @@ 'vacation', 'no_frost', ]), - 'supported_features': , + : , : 0.1, : 5.5, }), @@ -477,7 +477,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 17.2, - 'friendly_name': 'Jessie', + : 'Jessie', : , : list([ , @@ -493,7 +493,7 @@ 'vacation', 'no_frost', ]), - 'supported_features': , + : , : 0.1, : 15.0, }), @@ -561,7 +561,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.9, - 'friendly_name': 'Woonkamer', + : 'Woonkamer', : , : list([ , @@ -577,7 +577,7 @@ 'vacation', 'no_frost', ]), - 'supported_features': , + : , : 0.1, : 21.5, }), @@ -645,7 +645,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 26.3, - 'friendly_name': 'Anna', + : 'Anna', : , : list([ , @@ -661,7 +661,7 @@ 'asleep', 'vacation', ]), - 'supported_features': , + : , : 30.0, : 20.5, : 0.1, @@ -730,7 +730,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.3, - 'friendly_name': 'Anna', + : 'Anna', : , : list([ , @@ -746,7 +746,7 @@ 'asleep', 'vacation', ]), - 'supported_features': , + : , : 30.0, : 20.5, : 0.1, @@ -815,7 +815,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.4, - 'friendly_name': 'Anna', + : 'Anna', : , : list([ , @@ -831,7 +831,7 @@ 'vacation', 'no_frost', ]), - 'supported_features': , + : , : 0.1, : 19.0, }), diff --git a/tests/components/plugwise/snapshots/test_number.ambr b/tests/components/plugwise/snapshots/test_number.ambr index 7a674ecd056..e44db95f079 100644 --- a/tests/components/plugwise/snapshots/test_number.ambr +++ b/tests/components/plugwise/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_adam_number_entities[platforms0][number.bios_cv_thermostatic_radiator_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Bios Cv Thermostatic Radiator Temperature offset', + : 'temperature', + : 'Bios Cv Thermostatic Radiator Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.bios_cv_thermostatic_radiator_temperature_offset', @@ -105,13 +105,13 @@ # name: test_adam_number_entities[platforms0][number.cv_kraan_garage_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CV Kraan Garage Temperature offset', + : 'temperature', + : 'CV Kraan Garage Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.cv_kraan_garage_temperature_offset', @@ -166,13 +166,13 @@ # name: test_adam_number_entities[platforms0][number.floor_kraan_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Floor kraan Temperature offset', + : 'temperature', + : 'Floor kraan Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.floor_kraan_temperature_offset', @@ -227,13 +227,13 @@ # name: test_adam_number_entities[platforms0][number.thermostatic_radiator_badkamer_1_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Thermostatic Radiator Badkamer 1 Temperature offset', + : 'temperature', + : 'Thermostatic Radiator Badkamer 1 Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.thermostatic_radiator_badkamer_1_temperature_offset', @@ -288,13 +288,13 @@ # name: test_adam_number_entities[platforms0][number.thermostatic_radiator_badkamer_2_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Thermostatic Radiator Badkamer 2 Temperature offset', + : 'temperature', + : 'Thermostatic Radiator Badkamer 2 Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.thermostatic_radiator_badkamer_2_temperature_offset', @@ -349,13 +349,13 @@ # name: test_adam_number_entities[platforms0][number.thermostatic_radiator_jessie_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Thermostatic Radiator Jessie Temperature offset', + : 'temperature', + : 'Thermostatic Radiator Jessie Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.thermostatic_radiator_jessie_temperature_offset', @@ -410,13 +410,13 @@ # name: test_adam_number_entities[platforms0][number.zone_lisa_bios_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Zone Lisa Bios Temperature offset', + : 'temperature', + : 'Zone Lisa Bios Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.zone_lisa_bios_temperature_offset', @@ -471,13 +471,13 @@ # name: test_adam_number_entities[platforms0][number.zone_lisa_wk_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Zone Lisa WK Temperature offset', + : 'temperature', + : 'Zone Lisa WK Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.zone_lisa_wk_temperature_offset', @@ -532,13 +532,13 @@ # name: test_adam_number_entities[platforms0][number.zone_thermostat_jessie_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Zone Thermostat Jessie Temperature offset', + : 'temperature', + : 'Zone Thermostat Jessie Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.zone_thermostat_jessie_temperature_offset', @@ -593,13 +593,13 @@ # name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.anna_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Temperature offset', + : 'temperature', + : 'Anna Temperature offset', : 2.0, : -2.0, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.anna_temperature_offset', @@ -654,13 +654,13 @@ # name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.opentherm_domestic_hot_water_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Domestic hot water setpoint', + : 'temperature', + : 'OpenTherm Domestic hot water setpoint', : 60.0, : 35.0, : , : 0.5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.opentherm_domestic_hot_water_setpoint', @@ -715,13 +715,13 @@ # name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.opentherm_maximum_boiler_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Maximum boiler temperature setpoint', + : 'temperature', + : 'OpenTherm Maximum boiler temperature setpoint', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.opentherm_maximum_boiler_temperature_setpoint', diff --git a/tests/components/plugwise/snapshots/test_select.ambr b/tests/components/plugwise/snapshots/test_select.ambr index ca19bf8d5f9..e480b226863 100644 --- a/tests/components/plugwise/snapshots/test_select.ambr +++ b/tests/components/plugwise/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_adam_2_select_entities[platforms0-True-m_adam_cooling][select.adam_gateway_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Adam Gateway mode', + : 'Adam Gateway mode', : list([ 'away', 'full', @@ -108,7 +108,7 @@ # name: test_adam_2_select_entities[platforms0-True-m_adam_cooling][select.adam_regulation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Adam Regulation mode', + : 'Adam Regulation mode', : list([ 'bleeding_cold', 'heating', @@ -173,7 +173,7 @@ # name: test_adam_2_select_entities[platforms0-True-m_adam_cooling][select.bathroom_thermostat_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bathroom Thermostat schedule', + : 'Bathroom Thermostat schedule', : list([ 'Badkamer', 'Vakantie', @@ -236,7 +236,7 @@ # name: test_adam_2_select_entities[platforms0-True-m_adam_cooling][select.bathroom_zone_profile-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bathroom Zone profile', + : 'Bathroom Zone profile', : list([ 'active', 'off', @@ -299,7 +299,7 @@ # name: test_adam_2_select_entities[platforms0-True-m_adam_cooling][select.living_room_thermostat_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room Thermostat schedule', + : 'Living room Thermostat schedule', : list([ 'Badkamer', 'Vakantie', @@ -362,7 +362,7 @@ # name: test_adam_2_select_entities[platforms0-True-m_adam_cooling][select.living_room_zone_profile-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room Zone profile', + : 'Living room Zone profile', : list([ 'active', 'off', @@ -426,7 +426,7 @@ # name: test_adam_select_entities[platforms0][select.badkamer_thermostat_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Badkamer Thermostat schedule', + : 'Badkamer Thermostat schedule', : list([ 'CV Roan', 'Bios Schema met Film Avond', @@ -493,7 +493,7 @@ # name: test_adam_select_entities[platforms0][select.bios_thermostat_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bios Thermostat schedule', + : 'Bios Thermostat schedule', : list([ 'CV Roan', 'Bios Schema met Film Avond', @@ -560,7 +560,7 @@ # name: test_adam_select_entities[platforms0][select.jessie_thermostat_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Jessie Thermostat schedule', + : 'Jessie Thermostat schedule', : list([ 'CV Roan', 'Bios Schema met Film Avond', @@ -627,7 +627,7 @@ # name: test_adam_select_entities[platforms0][select.woonkamer_thermostat_schedule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Woonkamer Thermostat schedule', + : 'Woonkamer Thermostat schedule', : list([ 'CV Roan', 'Bios Schema met Film Avond', diff --git a/tests/components/plugwise/snapshots/test_sensor.ambr b/tests/components/plugwise/snapshots/test_sensor.ambr index 837fa85f799..ac632060be9 100644 --- a/tests/components/plugwise/snapshots/test_sensor.ambr +++ b/tests/components/plugwise/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.adam_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Adam Outdoor temperature', + : 'temperature', + : 'Adam Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.adam_outdoor_temperature', @@ -102,10 +102,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.anna_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Setpoint', + : 'temperature', + : 'Anna Setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.anna_setpoint', @@ -160,10 +160,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.anna_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Temperature', + : 'temperature', + : 'Anna Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.anna_temperature', @@ -218,10 +218,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.bathroom_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Bathroom Electricity consumed', + : 'power', + : 'Bathroom Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bathroom_electricity_consumed', @@ -276,10 +276,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.bathroom_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Bathroom Electricity produced', + : 'power', + : 'Bathroom Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bathroom_electricity_produced', @@ -334,10 +334,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.bathroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Bathroom Temperature', + : 'temperature', + : 'Bathroom Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bathroom_temperature', @@ -389,10 +389,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.emma_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Emma Battery', + : 'battery', + : 'Emma Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.emma_battery', @@ -444,10 +444,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.emma_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Emma Humidity', + : 'humidity', + : 'Emma Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.emma_humidity', @@ -502,10 +502,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.emma_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Emma Setpoint', + : 'temperature', + : 'Emma Setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.emma_setpoint', @@ -560,10 +560,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.emma_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Emma Temperature', + : 'temperature', + : 'Emma Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.emma_temperature', @@ -615,10 +615,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.jip_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Jip Battery', + : 'battery', + : 'Jip Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.jip_battery', @@ -670,10 +670,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.jip_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Jip Humidity', + : 'humidity', + : 'Jip Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.jip_humidity', @@ -728,10 +728,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.jip_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Jip Setpoint', + : 'temperature', + : 'Jip Setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.jip_setpoint', @@ -786,10 +786,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.jip_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Jip Temperature', + : 'temperature', + : 'Jip Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.jip_temperature', @@ -841,10 +841,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.lisa_badkamer_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Lisa Badkamer Battery', + : 'battery', + : 'Lisa Badkamer Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.lisa_badkamer_battery', @@ -899,10 +899,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.lisa_badkamer_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Lisa Badkamer Setpoint', + : 'temperature', + : 'Lisa Badkamer Setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lisa_badkamer_setpoint', @@ -957,10 +957,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.lisa_badkamer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Lisa Badkamer Temperature', + : 'temperature', + : 'Lisa Badkamer Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lisa_badkamer_temperature', @@ -1015,10 +1015,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.living_room_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Living room Electricity consumed', + : 'power', + : 'Living room Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_electricity_consumed', @@ -1073,10 +1073,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.living_room_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Living room Electricity produced', + : 'power', + : 'Living room Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_electricity_produced', @@ -1131,10 +1131,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living room Temperature', + : 'temperature', + : 'Living room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', @@ -1189,10 +1189,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.opentherm_intended_boiler_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Intended boiler temperature', + : 'temperature', + : 'OpenTherm Intended boiler temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_intended_boiler_temperature', @@ -1247,10 +1247,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.opentherm_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Water temperature', + : 'temperature', + : 'OpenTherm Water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_water_temperature', @@ -1305,10 +1305,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.test_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Electricity consumed', + : 'power', + : 'Test Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_electricity_consumed', @@ -1363,10 +1363,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.test_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Electricity produced', + : 'power', + : 'Test Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_electricity_produced', @@ -1418,10 +1418,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.tom_badkamer_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Tom Badkamer Battery', + : 'battery', + : 'Tom Badkamer Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.tom_badkamer_battery', @@ -1476,10 +1476,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.tom_badkamer_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tom Badkamer Setpoint', + : 'temperature', + : 'Tom Badkamer Setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tom_badkamer_setpoint', @@ -1534,10 +1534,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.tom_badkamer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tom Badkamer Temperature', + : 'temperature', + : 'Tom Badkamer Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tom_badkamer_temperature', @@ -1592,10 +1592,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.tom_badkamer_temperature_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tom Badkamer Temperature difference', + : 'temperature', + : 'Tom Badkamer Temperature difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tom_badkamer_temperature_difference', @@ -1647,9 +1647,9 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.tom_badkamer_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tom Badkamer Valve position', + : 'Tom Badkamer Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.tom_badkamer_valve_position', @@ -1704,10 +1704,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Vloerverwarming Electricity consumed', + : 'power', + : 'Vloerverwarming Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vloerverwarming_electricity_consumed', @@ -1762,10 +1762,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Vloerverwarming Electricity produced', + : 'power', + : 'Vloerverwarming Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vloerverwarming_electricity_produced', @@ -1820,10 +1820,10 @@ # name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Vloerverwarming Temperature', + : 'temperature', + : 'Vloerverwarming Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vloerverwarming_temperature', @@ -1875,10 +1875,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.anna_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Anna Illuminance', + : 'illuminance', + : 'Anna Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.anna_illuminance', @@ -1933,10 +1933,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.anna_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Setpoint', + : 'temperature', + : 'Anna Setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.anna_setpoint', @@ -1991,10 +1991,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.anna_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Temperature', + : 'temperature', + : 'Anna Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.anna_temperature', @@ -2049,10 +2049,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.opentherm_intended_boiler_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Intended boiler temperature', + : 'temperature', + : 'OpenTherm Intended boiler temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_intended_boiler_temperature', @@ -2104,9 +2104,9 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.opentherm_modulation_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Modulation level', + : 'OpenTherm Modulation level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.opentherm_modulation_level', @@ -2161,10 +2161,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.opentherm_water_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'OpenTherm Water pressure', + : 'pressure', + : 'OpenTherm Water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_water_pressure', @@ -2219,10 +2219,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.opentherm_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Water temperature', + : 'temperature', + : 'OpenTherm Water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_water_temperature', @@ -2277,10 +2277,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_consumed_off_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed off-peak cumulative', + : 'energy', + : 'P1 Electricity consumed off-peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_cumulative', @@ -2335,10 +2335,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_consumed_off_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed off-peak interval', + : 'energy', + : 'P1 Electricity consumed off-peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_interval', @@ -2393,10 +2393,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_consumed_off_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity consumed off-peak point', + : 'power', + : 'P1 Electricity consumed off-peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_point', @@ -2451,10 +2451,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_consumed_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed peak cumulative', + : 'energy', + : 'P1 Electricity consumed peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_cumulative', @@ -2509,10 +2509,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_consumed_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed peak interval', + : 'energy', + : 'P1 Electricity consumed peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_interval', @@ -2567,10 +2567,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_consumed_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity consumed peak point', + : 'power', + : 'P1 Electricity consumed peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_point', @@ -2625,10 +2625,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_phase_one_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase one consumed', + : 'power', + : 'P1 Electricity phase one consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_one_consumed', @@ -2683,10 +2683,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_phase_one_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase one produced', + : 'power', + : 'P1 Electricity phase one produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_one_produced', @@ -2741,10 +2741,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_produced_off_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced off-peak cumulative', + : 'energy', + : 'P1 Electricity produced off-peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_cumulative', @@ -2799,10 +2799,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_produced_off_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced off-peak interval', + : 'energy', + : 'P1 Electricity produced off-peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_interval', @@ -2857,10 +2857,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_produced_off_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity produced off-peak point', + : 'power', + : 'P1 Electricity produced off-peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_point', @@ -2915,10 +2915,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_produced_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced peak cumulative', + : 'energy', + : 'P1 Electricity produced peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_cumulative', @@ -2973,10 +2973,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_produced_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced peak interval', + : 'energy', + : 'P1 Electricity produced peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_interval', @@ -3031,10 +3031,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_electricity_produced_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity produced peak point', + : 'power', + : 'P1 Electricity produced peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_point', @@ -3089,10 +3089,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_gas_consumed_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'P1 Gas consumed cumulative', + : 'gas', + : 'P1 Gas consumed cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_gas_consumed_cumulative', @@ -3144,9 +3144,9 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_gas_consumed_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'P1 Gas consumed interval', + : 'P1 Gas consumed interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_gas_consumed_interval', @@ -3201,10 +3201,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_net_electricity_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Net electricity cumulative', + : 'energy', + : 'P1 Net electricity cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_net_electricity_cumulative', @@ -3259,10 +3259,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_net_electricity_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Net electricity point', + : 'power', + : 'P1 Net electricity point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_net_electricity_point', @@ -3317,10 +3317,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.p1_voltage_phase_one-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Voltage phase one', + : 'voltage', + : 'P1 Voltage phase one', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_voltage_phase_one', @@ -3375,10 +3375,10 @@ # name: test_anna_p1_sensor_snapshot[platforms0][sensor.smile_anna_p1_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Smile Anna P1 Outdoor temperature', + : 'temperature', + : 'Smile Anna P1 Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smile_anna_p1_outdoor_temperature', @@ -3433,10 +3433,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.anna_cooling_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Cooling setpoint', + : 'temperature', + : 'Anna Cooling setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.anna_cooling_setpoint', @@ -3491,10 +3491,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.anna_heating_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Heating setpoint', + : 'temperature', + : 'Anna Heating setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.anna_heating_setpoint', @@ -3546,10 +3546,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.anna_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Anna Illuminance', + : 'illuminance', + : 'Anna Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.anna_illuminance', @@ -3604,10 +3604,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.anna_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Anna Temperature', + : 'temperature', + : 'Anna Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.anna_temperature', @@ -3662,10 +3662,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.opentherm_dhw_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm DHW temperature', + : 'temperature', + : 'OpenTherm DHW temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_dhw_temperature', @@ -3720,10 +3720,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.opentherm_intended_boiler_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Intended boiler temperature', + : 'temperature', + : 'OpenTherm Intended boiler temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_intended_boiler_temperature', @@ -3775,9 +3775,9 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.opentherm_modulation_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'OpenTherm Modulation level', + : 'OpenTherm Modulation level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.opentherm_modulation_level', @@ -3832,10 +3832,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.opentherm_outdoor_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Outdoor air temperature', + : 'temperature', + : 'OpenTherm Outdoor air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_outdoor_air_temperature', @@ -3890,10 +3890,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.opentherm_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Return temperature', + : 'temperature', + : 'OpenTherm Return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_return_temperature', @@ -3948,10 +3948,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.opentherm_water_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'OpenTherm Water pressure', + : 'pressure', + : 'OpenTherm Water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_water_pressure', @@ -4006,10 +4006,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.opentherm_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'OpenTherm Water temperature', + : 'temperature', + : 'OpenTherm Water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.opentherm_water_temperature', @@ -4064,10 +4064,10 @@ # name: test_anna_sensor_snapshot[platforms0-True-anna_heatpump_heating][sensor.smile_anna_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Smile Anna Outdoor temperature', + : 'temperature', + : 'Smile Anna Outdoor temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smile_anna_outdoor_temperature', @@ -4122,10 +4122,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_consumed_off_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed off-peak cumulative', + : 'energy', + : 'P1 Electricity consumed off-peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_cumulative', @@ -4180,10 +4180,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_consumed_off_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed off-peak interval', + : 'energy', + : 'P1 Electricity consumed off-peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_interval', @@ -4238,10 +4238,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_consumed_off_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity consumed off-peak point', + : 'power', + : 'P1 Electricity consumed off-peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_point', @@ -4296,10 +4296,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_consumed_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed peak cumulative', + : 'energy', + : 'P1 Electricity consumed peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_cumulative', @@ -4354,10 +4354,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_consumed_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed peak interval', + : 'energy', + : 'P1 Electricity consumed peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_interval', @@ -4412,10 +4412,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_consumed_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity consumed peak point', + : 'power', + : 'P1 Electricity consumed peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_point', @@ -4470,10 +4470,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_phase_one_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase one consumed', + : 'power', + : 'P1 Electricity phase one consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_one_consumed', @@ -4528,10 +4528,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_phase_one_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase one produced', + : 'power', + : 'P1 Electricity phase one produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_one_produced', @@ -4586,10 +4586,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_phase_three_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase three consumed', + : 'power', + : 'P1 Electricity phase three consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_three_consumed', @@ -4644,10 +4644,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_phase_three_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase three produced', + : 'power', + : 'P1 Electricity phase three produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_three_produced', @@ -4702,10 +4702,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_phase_two_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase two consumed', + : 'power', + : 'P1 Electricity phase two consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_two_consumed', @@ -4760,10 +4760,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_phase_two_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase two produced', + : 'power', + : 'P1 Electricity phase two produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_two_produced', @@ -4818,10 +4818,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_produced_off_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced off-peak cumulative', + : 'energy', + : 'P1 Electricity produced off-peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_cumulative', @@ -4876,10 +4876,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_produced_off_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced off-peak interval', + : 'energy', + : 'P1 Electricity produced off-peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_interval', @@ -4934,10 +4934,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_produced_off_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity produced off-peak point', + : 'power', + : 'P1 Electricity produced off-peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_point', @@ -4992,10 +4992,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_produced_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced peak cumulative', + : 'energy', + : 'P1 Electricity produced peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_cumulative', @@ -5050,10 +5050,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_produced_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced peak interval', + : 'energy', + : 'P1 Electricity produced peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_interval', @@ -5108,10 +5108,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_electricity_produced_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity produced peak point', + : 'power', + : 'P1 Electricity produced peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_point', @@ -5166,10 +5166,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_gas_consumed_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'P1 Gas consumed cumulative', + : 'gas', + : 'P1 Gas consumed cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_gas_consumed_cumulative', @@ -5221,9 +5221,9 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_gas_consumed_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'P1 Gas consumed interval', + : 'P1 Gas consumed interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_gas_consumed_interval', @@ -5278,10 +5278,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_net_electricity_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Net electricity cumulative', + : 'energy', + : 'P1 Net electricity cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_net_electricity_cumulative', @@ -5336,10 +5336,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_net_electricity_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Net electricity point', + : 'power', + : 'P1 Net electricity point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_net_electricity_point', @@ -5394,10 +5394,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_voltage_phase_one-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Voltage phase one', + : 'voltage', + : 'P1 Voltage phase one', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_voltage_phase_one', @@ -5452,10 +5452,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_voltage_phase_three-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Voltage phase three', + : 'voltage', + : 'P1 Voltage phase three', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_voltage_phase_three', @@ -5510,10 +5510,10 @@ # name: test_p1_3ph_dsmr_sensor_snapshot[platforms0-03e65b16e4b247a29ae0d75a78cb492e-p1v4_442_triple][sensor.p1_voltage_phase_two-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Voltage phase two', + : 'voltage', + : 'P1 Voltage phase two', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_voltage_phase_two', @@ -5568,10 +5568,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_consumed_off_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed off-peak cumulative', + : 'energy', + : 'P1 Electricity consumed off-peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_cumulative', @@ -5626,10 +5626,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_consumed_off_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed off-peak interval', + : 'energy', + : 'P1 Electricity consumed off-peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_interval', @@ -5684,10 +5684,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_consumed_off_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity consumed off-peak point', + : 'power', + : 'P1 Electricity consumed off-peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_off_peak_point', @@ -5742,10 +5742,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_consumed_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed peak cumulative', + : 'energy', + : 'P1 Electricity consumed peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_cumulative', @@ -5800,10 +5800,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_consumed_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity consumed peak interval', + : 'energy', + : 'P1 Electricity consumed peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_interval', @@ -5858,10 +5858,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_consumed_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity consumed peak point', + : 'power', + : 'P1 Electricity consumed peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_consumed_peak_point', @@ -5916,10 +5916,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_phase_one_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase one consumed', + : 'power', + : 'P1 Electricity phase one consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_one_consumed', @@ -5974,10 +5974,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_phase_one_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity phase one produced', + : 'power', + : 'P1 Electricity phase one produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_phase_one_produced', @@ -6032,10 +6032,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_produced_off_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced off-peak cumulative', + : 'energy', + : 'P1 Electricity produced off-peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_cumulative', @@ -6090,10 +6090,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_produced_off_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced off-peak interval', + : 'energy', + : 'P1 Electricity produced off-peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_interval', @@ -6148,10 +6148,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_produced_off_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity produced off-peak point', + : 'power', + : 'P1 Electricity produced off-peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_off_peak_point', @@ -6206,10 +6206,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_produced_peak_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced peak cumulative', + : 'energy', + : 'P1 Electricity produced peak cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_cumulative', @@ -6264,10 +6264,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_produced_peak_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Electricity produced peak interval', + : 'energy', + : 'P1 Electricity produced peak interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_interval', @@ -6322,10 +6322,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_electricity_produced_peak_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Electricity produced peak point', + : 'power', + : 'P1 Electricity produced peak point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_electricity_produced_peak_point', @@ -6380,10 +6380,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_net_electricity_cumulative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Net electricity cumulative', + : 'energy', + : 'P1 Net electricity cumulative', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_net_electricity_cumulative', @@ -6438,10 +6438,10 @@ # name: test_p1_dsmr_sensor_snapshot[platforms0-a455b61e52394b2db5081ce025a430f3-p1v4_442_single][sensor.p1_net_electricity_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Net electricity point', + : 'power', + : 'P1 Net electricity point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_net_electricity_point', @@ -6496,10 +6496,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.boiler_1eb31_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Boiler (1EB31) Electricity consumed', + : 'power', + : 'Boiler (1EB31) Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.boiler_1eb31_electricity_consumed', @@ -6554,10 +6554,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.boiler_1eb31_electricity_consumed_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Boiler (1EB31) Electricity consumed interval', + : 'energy', + : 'Boiler (1EB31) Electricity consumed interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.boiler_1eb31_electricity_consumed_interval', @@ -6612,10 +6612,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.boiler_1eb31_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Boiler (1EB31) Electricity produced', + : 'power', + : 'Boiler (1EB31) Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.boiler_1eb31_electricity_produced', @@ -6670,10 +6670,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.droger_52559_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Droger (52559) Electricity consumed', + : 'power', + : 'Droger (52559) Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.droger_52559_electricity_consumed', @@ -6728,10 +6728,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.droger_52559_electricity_consumed_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Droger (52559) Electricity consumed interval', + : 'energy', + : 'Droger (52559) Electricity consumed interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.droger_52559_electricity_consumed_interval', @@ -6786,10 +6786,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.droger_52559_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Droger (52559) Electricity produced', + : 'power', + : 'Droger (52559) Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.droger_52559_electricity_produced', @@ -6844,10 +6844,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.koelkast_92c4a_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Koelkast (92C4A) Electricity consumed', + : 'power', + : 'Koelkast (92C4A) Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.koelkast_92c4a_electricity_consumed', @@ -6902,10 +6902,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.koelkast_92c4a_electricity_consumed_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Koelkast (92C4A) Electricity consumed interval', + : 'energy', + : 'Koelkast (92C4A) Electricity consumed interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.koelkast_92c4a_electricity_consumed_interval', @@ -6960,10 +6960,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.koelkast_92c4a_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Koelkast (92C4A) Electricity produced', + : 'power', + : 'Koelkast (92C4A) Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.koelkast_92c4a_electricity_produced', @@ -7018,10 +7018,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.vaatwasser_2a1ab_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Vaatwasser (2a1ab) Electricity consumed', + : 'power', + : 'Vaatwasser (2a1ab) Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vaatwasser_2a1ab_electricity_consumed', @@ -7076,10 +7076,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.vaatwasser_2a1ab_electricity_consumed_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Vaatwasser (2a1ab) Electricity consumed interval', + : 'energy', + : 'Vaatwasser (2a1ab) Electricity consumed interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vaatwasser_2a1ab_electricity_consumed_interval', @@ -7134,10 +7134,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.vaatwasser_2a1ab_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Vaatwasser (2a1ab) Electricity produced', + : 'power', + : 'Vaatwasser (2a1ab) Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vaatwasser_2a1ab_electricity_produced', @@ -7192,10 +7192,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.wasmachine_52ac1_electricity_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wasmachine (52AC1) Electricity consumed', + : 'power', + : 'Wasmachine (52AC1) Electricity consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wasmachine_52ac1_electricity_consumed', @@ -7250,10 +7250,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.wasmachine_52ac1_electricity_consumed_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Wasmachine (52AC1) Electricity consumed interval', + : 'energy', + : 'Wasmachine (52AC1) Electricity consumed interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wasmachine_52ac1_electricity_consumed_interval', @@ -7308,10 +7308,10 @@ # name: test_stretch_sensor_snapshot[platforms0][sensor.wasmachine_52ac1_electricity_produced-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wasmachine (52AC1) Electricity produced', + : 'power', + : 'Wasmachine (52AC1) Electricity produced', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wasmachine_52ac1_electricity_produced', diff --git a/tests/components/plugwise/snapshots/test_switch.ambr b/tests/components/plugwise/snapshots/test_switch.ambr index 5e8f1f350ea..80fb869692b 100644 --- a/tests/components/plugwise/snapshots/test_switch.ambr +++ b/tests/components/plugwise/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.cv_pomp_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'CV Pomp Relay', + : 'switch', + : 'CV Pomp Relay', }), 'context': , 'entity_id': 'switch.cv_pomp_relay', @@ -90,7 +90,7 @@ # name: test_adam_switch_snapshot[platforms0][switch.fibaro_hc2_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fibaro HC2 Lock', + : 'Fibaro HC2 Lock', }), 'context': , 'entity_id': 'switch.fibaro_hc2_lock', @@ -140,8 +140,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.fibaro_hc2_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Fibaro HC2 Relay', + : 'switch', + : 'Fibaro HC2 Relay', }), 'context': , 'entity_id': 'switch.fibaro_hc2_relay', @@ -191,7 +191,7 @@ # name: test_adam_switch_snapshot[platforms0][switch.nas_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NAS Lock', + : 'NAS Lock', }), 'context': , 'entity_id': 'switch.nas_lock', @@ -241,8 +241,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.nas_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'NAS Relay', + : 'switch', + : 'NAS Relay', }), 'context': , 'entity_id': 'switch.nas_relay', @@ -292,7 +292,7 @@ # name: test_adam_switch_snapshot[platforms0][switch.nvr_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'NVR Lock', + : 'NVR Lock', }), 'context': , 'entity_id': 'switch.nvr_lock', @@ -342,8 +342,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.nvr_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'NVR Relay', + : 'switch', + : 'NVR Relay', }), 'context': , 'entity_id': 'switch.nvr_relay', @@ -393,7 +393,7 @@ # name: test_adam_switch_snapshot[platforms0][switch.playstation_smart_plug_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Playstation Smart Plug Lock', + : 'Playstation Smart Plug Lock', }), 'context': , 'entity_id': 'switch.playstation_smart_plug_lock', @@ -443,8 +443,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.playstation_smart_plug_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Playstation Smart Plug Relay', + : 'switch', + : 'Playstation Smart Plug Relay', }), 'context': , 'entity_id': 'switch.playstation_smart_plug_relay', @@ -494,8 +494,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.test_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Relay', + : 'switch', + : 'Test Relay', }), 'context': , 'entity_id': 'switch.test_relay', @@ -545,7 +545,7 @@ # name: test_adam_switch_snapshot[platforms0][switch.usg_smart_plug_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'USG Smart Plug Lock', + : 'USG Smart Plug Lock', }), 'context': , 'entity_id': 'switch.usg_smart_plug_lock', @@ -595,8 +595,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.usg_smart_plug_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'USG Smart Plug Relay', + : 'switch', + : 'USG Smart Plug Relay', }), 'context': , 'entity_id': 'switch.usg_smart_plug_relay', @@ -646,7 +646,7 @@ # name: test_adam_switch_snapshot[platforms0][switch.ziggo_modem_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ziggo Modem Lock', + : 'Ziggo Modem Lock', }), 'context': , 'entity_id': 'switch.ziggo_modem_lock', @@ -696,8 +696,8 @@ # name: test_adam_switch_snapshot[platforms0][switch.ziggo_modem_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Ziggo Modem Relay', + : 'switch', + : 'Ziggo Modem Relay', }), 'context': , 'entity_id': 'switch.ziggo_modem_relay', @@ -747,7 +747,7 @@ # name: test_stretch_switch_snapshot[platforms0][switch.boiler_1eb31_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Boiler (1EB31) Lock', + : 'Boiler (1EB31) Lock', }), 'context': , 'entity_id': 'switch.boiler_1eb31_lock', @@ -797,8 +797,8 @@ # name: test_stretch_switch_snapshot[platforms0][switch.boiler_1eb31_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Boiler (1EB31) Relay', + : 'switch', + : 'Boiler (1EB31) Relay', }), 'context': , 'entity_id': 'switch.boiler_1eb31_relay', @@ -848,7 +848,7 @@ # name: test_stretch_switch_snapshot[platforms0][switch.droger_52559_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Droger (52559) Lock', + : 'Droger (52559) Lock', }), 'context': , 'entity_id': 'switch.droger_52559_lock', @@ -898,8 +898,8 @@ # name: test_stretch_switch_snapshot[platforms0][switch.droger_52559_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Droger (52559) Relay', + : 'switch', + : 'Droger (52559) Relay', }), 'context': , 'entity_id': 'switch.droger_52559_relay', @@ -949,7 +949,7 @@ # name: test_stretch_switch_snapshot[platforms0][switch.koelkast_92c4a_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Koelkast (92C4A) Lock', + : 'Koelkast (92C4A) Lock', }), 'context': , 'entity_id': 'switch.koelkast_92c4a_lock', @@ -999,8 +999,8 @@ # name: test_stretch_switch_snapshot[platforms0][switch.koelkast_92c4a_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Koelkast (92C4A) Relay', + : 'switch', + : 'Koelkast (92C4A) Relay', }), 'context': , 'entity_id': 'switch.koelkast_92c4a_relay', @@ -1050,8 +1050,8 @@ # name: test_stretch_switch_snapshot[platforms0][switch.schakel_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Schakel Relay', + : 'switch', + : 'Schakel Relay', }), 'context': , 'entity_id': 'switch.schakel_relay', @@ -1101,8 +1101,8 @@ # name: test_stretch_switch_snapshot[platforms0][switch.stroomvreters_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Stroomvreters Relay', + : 'switch', + : 'Stroomvreters Relay', }), 'context': , 'entity_id': 'switch.stroomvreters_relay', @@ -1152,7 +1152,7 @@ # name: test_stretch_switch_snapshot[platforms0][switch.vaatwasser_2a1ab_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vaatwasser (2a1ab) Lock', + : 'Vaatwasser (2a1ab) Lock', }), 'context': , 'entity_id': 'switch.vaatwasser_2a1ab_lock', @@ -1202,8 +1202,8 @@ # name: test_stretch_switch_snapshot[platforms0][switch.vaatwasser_2a1ab_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Vaatwasser (2a1ab) Relay', + : 'switch', + : 'Vaatwasser (2a1ab) Relay', }), 'context': , 'entity_id': 'switch.vaatwasser_2a1ab_relay', @@ -1253,7 +1253,7 @@ # name: test_stretch_switch_snapshot[platforms0][switch.wasmachine_52ac1_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wasmachine (52AC1) Lock', + : 'Wasmachine (52AC1) Lock', }), 'context': , 'entity_id': 'switch.wasmachine_52ac1_lock', @@ -1303,8 +1303,8 @@ # name: test_stretch_switch_snapshot[platforms0][switch.wasmachine_52ac1_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Wasmachine (52AC1) Relay', + : 'switch', + : 'Wasmachine (52AC1) Relay', }), 'context': , 'entity_id': 'switch.wasmachine_52ac1_relay', diff --git a/tests/components/pooldose/snapshots/test_binary_sensor.ambr b/tests/components/pooldose/snapshots/test_binary_sensor.ambr index 56ef6036c44..b78e8eddddb 100644 --- a/tests/components/pooldose/snapshots/test_binary_sensor.ambr +++ b/tests/components/pooldose/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_alarm_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Pool Device Alarm relay', + : 'power', + : 'Pool Device Alarm relay', }), 'context': , 'entity_id': 'binary_sensor.pool_device_alarm_relay', @@ -90,8 +90,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_auxiliary_relay_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Pool Device Auxiliary relay 1', + : 'power', + : 'Pool Device Auxiliary relay 1', }), 'context': , 'entity_id': 'binary_sensor.pool_device_auxiliary_relay_1', @@ -141,8 +141,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_auxiliary_relay_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Pool Device Auxiliary relay 2', + : 'power', + : 'Pool Device Auxiliary relay 2', }), 'context': , 'entity_id': 'binary_sensor.pool_device_auxiliary_relay_2', @@ -192,8 +192,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_auxiliary_relay_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Pool Device Auxiliary relay 3', + : 'power', + : 'Pool Device Auxiliary relay 3', }), 'context': , 'entity_id': 'binary_sensor.pool_device_auxiliary_relay_3', @@ -243,8 +243,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_chlorine_overfeed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Chlorine overfeed', + : 'problem', + : 'Pool Device Chlorine overfeed', }), 'context': , 'entity_id': 'binary_sensor.pool_device_chlorine_overfeed', @@ -294,8 +294,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_chlorine_overfeed_alternative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Chlorine overfeed alternative', + : 'problem', + : 'Pool Device Chlorine overfeed alternative', }), 'context': , 'entity_id': 'binary_sensor.pool_device_chlorine_overfeed_alternative', @@ -345,8 +345,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_chlorine_too_high-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Chlorine too high', + : 'problem', + : 'Pool Device Chlorine too high', }), 'context': , 'entity_id': 'binary_sensor.pool_device_chlorine_too_high', @@ -396,8 +396,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_chlorine_too_high_orp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Chlorine too high (ORP)', + : 'problem', + : 'Pool Device Chlorine too high (ORP)', }), 'context': , 'entity_id': 'binary_sensor.pool_device_chlorine_too_high_orp', @@ -447,8 +447,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_chlorine_too_low_orp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Chlorine too low (ORP)', + : 'problem', + : 'Pool Device Chlorine too low (ORP)', }), 'context': , 'entity_id': 'binary_sensor.pool_device_chlorine_too_low_orp', @@ -498,7 +498,7 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_circulation_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Circulation pump', + : 'Pool Device Circulation pump', }), 'context': , 'entity_id': 'binary_sensor.pool_device_circulation_pump', @@ -548,7 +548,7 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_flow_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Flow delay', + : 'Pool Device Flow delay', }), 'context': , 'entity_id': 'binary_sensor.pool_device_flow_delay', @@ -598,8 +598,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Flow rate', + : 'problem', + : 'Pool Device Flow rate', }), 'context': , 'entity_id': 'binary_sensor.pool_device_flow_rate', @@ -649,8 +649,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_orp_overfeed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device ORP overfeed', + : 'problem', + : 'Pool Device ORP overfeed', }), 'context': , 'entity_id': 'binary_sensor.pool_device_orp_overfeed', @@ -700,8 +700,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_orp_overfeed_alternative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device ORP overfeed alternative', + : 'problem', + : 'Pool Device ORP overfeed alternative', }), 'context': , 'entity_id': 'binary_sensor.pool_device_orp_overfeed_alternative', @@ -751,8 +751,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_orp_tank_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device ORP tank level', + : 'problem', + : 'Pool Device ORP tank level', }), 'context': , 'entity_id': 'binary_sensor.pool_device_orp_tank_level', @@ -802,8 +802,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_ph_overfeed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device pH overfeed', + : 'problem', + : 'Pool Device pH overfeed', }), 'context': , 'entity_id': 'binary_sensor.pool_device_ph_overfeed', @@ -853,8 +853,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_ph_overfeed_alternative-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device pH overfeed alternative', + : 'problem', + : 'Pool Device pH overfeed alternative', }), 'context': , 'entity_id': 'binary_sensor.pool_device_ph_overfeed_alternative', @@ -904,8 +904,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_ph_tank_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device pH tank level', + : 'problem', + : 'Pool Device pH tank level', }), 'context': , 'entity_id': 'binary_sensor.pool_device_ph_tank_level', @@ -955,8 +955,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_ph_too_high-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device pH too high', + : 'problem', + : 'Pool Device pH too high', }), 'context': , 'entity_id': 'binary_sensor.pool_device_ph_too_high', @@ -1006,8 +1006,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_ph_too_low-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device pH too low', + : 'problem', + : 'Pool Device pH too low', }), 'context': , 'entity_id': 'binary_sensor.pool_device_ph_too_low', @@ -1057,7 +1057,7 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_power_on_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Power-on delay', + : 'Pool Device Power-on delay', }), 'context': , 'entity_id': 'binary_sensor.pool_device_power_on_delay', @@ -1107,8 +1107,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_recirculation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Recirculation', + : 'problem', + : 'Pool Device Recirculation', }), 'context': , 'entity_id': 'binary_sensor.pool_device_recirculation', @@ -1158,8 +1158,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_system_standby-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device System standby', + : 'problem', + : 'Pool Device System standby', }), 'context': , 'entity_id': 'binary_sensor.pool_device_system_standby', @@ -1209,8 +1209,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_water_too_cold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Water too cold', + : 'problem', + : 'Pool Device Water too cold', }), 'context': , 'entity_id': 'binary_sensor.pool_device_water_too_cold', @@ -1260,8 +1260,8 @@ # name: test_all_binary_sensors[binary_sensor.pool_device_water_too_hot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Pool Device Water too hot', + : 'problem', + : 'Pool Device Water too hot', }), 'context': , 'entity_id': 'binary_sensor.pool_device_water_too_hot', diff --git a/tests/components/pooldose/snapshots/test_number.ambr b/tests/components/pooldose/snapshots/test_number.ambr index d7510585ae8..511da3eb651 100644 --- a/tests/components/pooldose/snapshots/test_number.ambr +++ b/tests/components/pooldose/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_all_numbers[number.pool_device_chlorine_dosing_off_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pool Device Chlorine dosing off-time', + : 'duration', + : 'Pool Device Chlorine dosing off-time', : 360, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_chlorine_dosing_off_time', @@ -105,12 +105,12 @@ # name: test_all_numbers[number.pool_device_chlorine_overfeed_alarm_lower_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Chlorine overfeed alarm lower limit', + : 'Pool Device Chlorine overfeed alarm lower limit', : 10, : 0, : , : 0.1, - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'number.pool_device_chlorine_overfeed_alarm_lower_limit', @@ -165,12 +165,12 @@ # name: test_all_numbers[number.pool_device_chlorine_overfeed_alarm_upper_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Chlorine overfeed alarm upper limit', + : 'Pool Device Chlorine overfeed alarm upper limit', : 10, : 0, : , : 0.1, - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'number.pool_device_chlorine_overfeed_alarm_upper_limit', @@ -225,12 +225,12 @@ # name: test_all_numbers[number.pool_device_chlorine_target-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Chlorine target', + : 'Pool Device Chlorine target', : 65535, : 0, : , : 0.01, - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'number.pool_device_chlorine_target', @@ -285,13 +285,13 @@ # name: test_all_numbers[number.pool_device_flow_delay_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pool Device Flow delay timer', + : 'duration', + : 'Pool Device Flow delay timer', : 3600, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_flow_delay_timer', @@ -346,13 +346,13 @@ # name: test_all_numbers[number.pool_device_orp_dosing_off_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pool Device ORP dosing off-time', + : 'duration', + : 'Pool Device ORP dosing off-time', : 360, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_orp_dosing_off_time', @@ -407,13 +407,13 @@ # name: test_all_numbers[number.pool_device_orp_overfeed_alarm_lower_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device ORP overfeed alarm lower limit', + : 'voltage', + : 'Pool Device ORP overfeed alarm lower limit', : 1000, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_orp_overfeed_alarm_lower_limit', @@ -468,13 +468,13 @@ # name: test_all_numbers[number.pool_device_orp_overfeed_alarm_upper_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device ORP overfeed alarm upper limit', + : 'voltage', + : 'Pool Device ORP overfeed alarm upper limit', : 1000, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_orp_overfeed_alarm_upper_limit', @@ -529,13 +529,13 @@ # name: test_all_numbers[number.pool_device_orp_target-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device ORP target', + : 'voltage', + : 'Pool Device ORP target', : 850, : 400, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_orp_target', @@ -590,13 +590,13 @@ # name: test_all_numbers[number.pool_device_ph_dosing_off_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pool Device pH dosing off-time', + : 'duration', + : 'Pool Device pH dosing off-time', : 360, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_ph_dosing_off_time', @@ -651,8 +651,8 @@ # name: test_all_numbers[number.pool_device_ph_overfeed_alarm_lower_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Pool Device pH overfeed alarm lower limit', + : 'ph', + : 'Pool Device pH overfeed alarm lower limit', : 14, : 0, : , @@ -711,8 +711,8 @@ # name: test_all_numbers[number.pool_device_ph_overfeed_alarm_upper_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Pool Device pH overfeed alarm upper limit', + : 'ph', + : 'Pool Device pH overfeed alarm upper limit', : 14, : 0, : , @@ -771,8 +771,8 @@ # name: test_all_numbers[number.pool_device_ph_target-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Pool Device pH target', + : 'ph', + : 'Pool Device pH target', : 8, : 6, : , @@ -831,13 +831,13 @@ # name: test_all_numbers[number.pool_device_power_on_delay_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pool Device Power-on delay timer', + : 'duration', + : 'Pool Device Power-on delay timer', : 5400, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pool_device_power_on_delay_timer', diff --git a/tests/components/pooldose/snapshots/test_select.ambr b/tests/components/pooldose/snapshots/test_select.ambr index 3627c9924b2..5fd8cb9ea9c 100644 --- a/tests/components/pooldose/snapshots/test_select.ambr +++ b/tests/components/pooldose/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_all_selects[select.pool_device_chlorine_dosing_method-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Chlorine dosing method', + : 'Pool Device Chlorine dosing method', : list([ 'off', 'proportional', @@ -107,7 +107,7 @@ # name: test_all_selects[select.pool_device_chlorine_dosing_set-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Chlorine dosing set', + : 'Pool Device Chlorine dosing set', : list([ 'low', 'high', @@ -166,7 +166,7 @@ # name: test_all_selects[select.pool_device_flow_rate_unit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Flow rate unit', + : 'Pool Device Flow rate unit', : list([ , , @@ -227,7 +227,7 @@ # name: test_all_selects[select.pool_device_orp_dosing_method-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device ORP dosing method', + : 'Pool Device ORP dosing method', : list([ 'off', 'proportional', @@ -288,7 +288,7 @@ # name: test_all_selects[select.pool_device_orp_dosing_set-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device ORP dosing set', + : 'Pool Device ORP dosing set', : list([ 'low', 'high', @@ -349,7 +349,7 @@ # name: test_all_selects[select.pool_device_ph_dosing_method-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device pH dosing method', + : 'Pool Device pH dosing method', : list([ 'off', 'proportional', @@ -410,7 +410,7 @@ # name: test_all_selects[select.pool_device_ph_dosing_set-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device pH dosing set', + : 'Pool Device pH dosing set', : list([ 'alcalyne', 'acid', @@ -469,7 +469,7 @@ # name: test_all_selects[select.pool_device_water_meter_unit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Water meter unit', + : 'Pool Device Water meter unit', : list([ , , diff --git a/tests/components/pooldose/snapshots/test_sensor.ambr b/tests/components/pooldose/snapshots/test_sensor.ambr index 1689ae36831..59c19f7c762 100644 --- a/tests/components/pooldose/snapshots/test_sensor.ambr +++ b/tests/components/pooldose/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_sensors[sensor.pool_device_chlorine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Chlorine', - 'unit_of_measurement': 'ppm', + : 'Pool Device Chlorine', + : 'ppm', }), 'context': , 'entity_id': 'sensor.pool_device_chlorine', @@ -95,8 +95,8 @@ # name: test_all_sensors[sensor.pool_device_chlorine_dosing_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device Chlorine dosing type', + : 'enum', + : 'Pool Device Chlorine dosing type', : list([ 'low', 'high', @@ -158,8 +158,8 @@ # name: test_all_sensors[sensor.pool_device_chlorine_peristaltic_dosing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device Chlorine peristaltic dosing', + : 'enum', + : 'Pool Device Chlorine peristaltic dosing', : list([ 'off', 'proportional', @@ -221,8 +221,8 @@ # name: test_all_sensors[sensor.pool_device_device_configuration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device Device configuration', + : 'enum', + : 'Pool Device Device configuration', : list([ 'ph_orp', 'ph_orp_chlorine', @@ -279,9 +279,9 @@ # name: test_all_sensors[sensor.pool_device_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Pool Device Flow rate', - 'unit_of_measurement': , + : 'volume_flow_rate', + : 'Pool Device Flow rate', + : , }), 'context': , 'entity_id': 'sensor.pool_device_flow_rate', @@ -334,9 +334,9 @@ # name: test_all_sensors[sensor.pool_device_orp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device ORP', - 'unit_of_measurement': , + : 'voltage', + : 'Pool Device ORP', + : , }), 'context': , 'entity_id': 'sensor.pool_device_orp', @@ -389,9 +389,9 @@ # name: test_all_sensors[sensor.pool_device_orp_calibration_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device ORP calibration offset', - 'unit_of_measurement': , + : 'voltage', + : 'Pool Device ORP calibration offset', + : , }), 'context': , 'entity_id': 'sensor.pool_device_orp_calibration_offset', @@ -444,9 +444,9 @@ # name: test_all_sensors[sensor.pool_device_orp_calibration_slope-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device ORP calibration slope', - 'unit_of_measurement': , + : 'voltage', + : 'Pool Device ORP calibration slope', + : , }), 'context': , 'entity_id': 'sensor.pool_device_orp_calibration_slope', @@ -502,8 +502,8 @@ # name: test_all_sensors[sensor.pool_device_orp_calibration_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device ORP calibration type', + : 'enum', + : 'Pool Device ORP calibration type', : list([ 'off', 'reference', @@ -563,8 +563,8 @@ # name: test_all_sensors[sensor.pool_device_orp_dosing_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device ORP dosing type', + : 'enum', + : 'Pool Device ORP dosing type', : list([ 'low', 'high', @@ -621,9 +621,9 @@ # name: test_all_sensors[sensor.pool_device_orp_overfeed_alert_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pool Device ORP overfeed alert time', - 'unit_of_measurement': , + : 'duration', + : 'Pool Device ORP overfeed alert time', + : , }), 'context': , 'entity_id': 'sensor.pool_device_orp_overfeed_alert_time', @@ -680,8 +680,8 @@ # name: test_all_sensors[sensor.pool_device_orp_peristaltic_dosing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device ORP peristaltic dosing', + : 'enum', + : 'Pool Device ORP peristaltic dosing', : list([ 'off', 'proportional', @@ -737,8 +737,8 @@ # name: test_all_sensors[sensor.pool_device_ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'Pool Device pH', + : 'ph', + : 'Pool Device pH', }), 'context': , 'entity_id': 'sensor.pool_device_ph', @@ -791,9 +791,9 @@ # name: test_all_sensors[sensor.pool_device_ph_calibration_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device pH calibration offset', - 'unit_of_measurement': , + : 'voltage', + : 'Pool Device pH calibration offset', + : , }), 'context': , 'entity_id': 'sensor.pool_device_ph_calibration_offset', @@ -846,9 +846,9 @@ # name: test_all_sensors[sensor.pool_device_ph_calibration_slope-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Pool Device pH calibration slope', - 'unit_of_measurement': , + : 'voltage', + : 'Pool Device pH calibration slope', + : , }), 'context': , 'entity_id': 'sensor.pool_device_ph_calibration_slope', @@ -905,8 +905,8 @@ # name: test_all_sensors[sensor.pool_device_ph_calibration_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device pH calibration type', + : 'enum', + : 'Pool Device pH calibration type', : list([ 'off', 'reference', @@ -967,8 +967,8 @@ # name: test_all_sensors[sensor.pool_device_ph_dosing_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device pH dosing type', + : 'enum', + : 'Pool Device pH dosing type', : list([ 'alcalyne', 'acid', @@ -1025,9 +1025,9 @@ # name: test_all_sensors[sensor.pool_device_ph_overfeed_alert_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pool Device pH overfeed alert time', - 'unit_of_measurement': , + : 'duration', + : 'Pool Device pH overfeed alert time', + : , }), 'context': , 'entity_id': 'sensor.pool_device_ph_overfeed_alert_time', @@ -1083,8 +1083,8 @@ # name: test_all_sensors[sensor.pool_device_ph_peristaltic_dosing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device pH peristaltic dosing', + : 'enum', + : 'Pool Device pH peristaltic dosing', : list([ 'proportional', 'on_off', @@ -1142,9 +1142,9 @@ # name: test_all_sensors[sensor.pool_device_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pool Device Temperature', - 'unit_of_measurement': , + : 'temperature', + : 'Pool Device Temperature', + : , }), 'context': , 'entity_id': 'sensor.pool_device_temperature', @@ -1199,8 +1199,8 @@ # name: test_all_sensors[sensor.pool_device_temperature_unit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Pool Device Temperature unit', + : 'enum', + : 'Pool Device Temperature unit', : list([ 'celsius', 'fahrenheit', @@ -1259,10 +1259,10 @@ # name: test_all_sensors[sensor.pool_device_totalizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'Pool Device Totalizer', + : 'volume', + : 'Pool Device Totalizer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pool_device_totalizer', diff --git a/tests/components/pooldose/snapshots/test_switch.ambr b/tests/components/pooldose/snapshots/test_switch.ambr index 8c9ca1adfe7..517c0ce856e 100644 --- a/tests/components/pooldose/snapshots/test_switch.ambr +++ b/tests/components/pooldose/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_switches[switch.pool_device_frequency_input-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Frequency input', + : 'Pool Device Frequency input', }), 'context': , 'entity_id': 'switch.pool_device_frequency_input', @@ -89,7 +89,7 @@ # name: test_all_switches[switch.pool_device_pause_dosing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Pause dosing', + : 'Pool Device Pause dosing', }), 'context': , 'entity_id': 'switch.pool_device_pause_dosing', @@ -139,7 +139,7 @@ # name: test_all_switches[switch.pool_device_pump_monitoring-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pool Device Pump monitoring', + : 'Pool Device Pump monitoring', }), 'context': , 'entity_id': 'switch.pool_device_pump_monitoring', diff --git a/tests/components/poolsense/snapshots/test_binary_sensor.ambr b/tests/components/poolsense/snapshots/test_binary_sensor.ambr index ce7016b71fd..afc5d9feb2f 100644 --- a/tests/components/poolsense/snapshots/test_binary_sensor.ambr +++ b/tests/components/poolsense/snapshots/test_binary_sensor.ambr @@ -39,9 +39,9 @@ # name: test_all_entities[binary_sensor.test_test_com_chlorine_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'device_class': 'problem', - 'friendly_name': 'test@test.com Chlorine status', + : 'PoolSense Data', + : 'problem', + : 'test@test.com Chlorine status', }), 'context': , 'entity_id': 'binary_sensor.test_test_com_chlorine_status', @@ -91,9 +91,9 @@ # name: test_all_entities[binary_sensor.test_test_com_ph_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'device_class': 'problem', - 'friendly_name': 'test@test.com pH status', + : 'PoolSense Data', + : 'problem', + : 'test@test.com pH status', }), 'context': , 'entity_id': 'binary_sensor.test_test_com_ph_status', diff --git a/tests/components/poolsense/snapshots/test_sensor.ambr b/tests/components/poolsense/snapshots/test_sensor.ambr index 9e2ecc6971a..fbcde89c18a 100644 --- a/tests/components/poolsense/snapshots/test_sensor.ambr +++ b/tests/components/poolsense/snapshots/test_sensor.ambr @@ -39,10 +39,10 @@ # name: test_all_entities[sensor.test_test_com_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'device_class': 'battery', - 'friendly_name': 'test@test.com Battery', - 'unit_of_measurement': '%', + : 'PoolSense Data', + : 'battery', + : 'test@test.com Battery', + : '%', }), 'context': , 'entity_id': 'sensor.test_test_com_battery', @@ -92,9 +92,9 @@ # name: test_all_entities[sensor.test_test_com_chlorine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'friendly_name': 'test@test.com Chlorine', - 'unit_of_measurement': , + : 'PoolSense Data', + : 'test@test.com Chlorine', + : , }), 'context': , 'entity_id': 'sensor.test_test_com_chlorine', @@ -144,9 +144,9 @@ # name: test_all_entities[sensor.test_test_com_chlorine_high-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'friendly_name': 'test@test.com Chlorine high', - 'unit_of_measurement': , + : 'PoolSense Data', + : 'test@test.com Chlorine high', + : , }), 'context': , 'entity_id': 'sensor.test_test_com_chlorine_high', @@ -196,9 +196,9 @@ # name: test_all_entities[sensor.test_test_com_chlorine_low-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'friendly_name': 'test@test.com Chlorine low', - 'unit_of_measurement': , + : 'PoolSense Data', + : 'test@test.com Chlorine low', + : , }), 'context': , 'entity_id': 'sensor.test_test_com_chlorine_low', @@ -248,9 +248,9 @@ # name: test_all_entities[sensor.test_test_com_last_seen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'device_class': 'timestamp', - 'friendly_name': 'test@test.com Last seen', + : 'PoolSense Data', + : 'timestamp', + : 'test@test.com Last seen', }), 'context': , 'entity_id': 'sensor.test_test_com_last_seen', @@ -300,9 +300,9 @@ # name: test_all_entities[sensor.test_test_com_ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'device_class': 'ph', - 'friendly_name': 'test@test.com pH', + : 'PoolSense Data', + : 'ph', + : 'test@test.com pH', }), 'context': , 'entity_id': 'sensor.test_test_com_ph', @@ -352,8 +352,8 @@ # name: test_all_entities[sensor.test_test_com_ph_high-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'friendly_name': 'test@test.com pH high', + : 'PoolSense Data', + : 'test@test.com pH high', }), 'context': , 'entity_id': 'sensor.test_test_com_ph_high', @@ -403,8 +403,8 @@ # name: test_all_entities[sensor.test_test_com_ph_low-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'friendly_name': 'test@test.com pH low', + : 'PoolSense Data', + : 'test@test.com pH low', }), 'context': , 'entity_id': 'sensor.test_test_com_ph_low', @@ -457,10 +457,10 @@ # name: test_all_entities[sensor.test_test_com_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'PoolSense Data', - 'device_class': 'temperature', - 'friendly_name': 'test@test.com Temperature', - 'unit_of_measurement': , + : 'PoolSense Data', + : 'temperature', + : 'test@test.com Temperature', + : , }), 'context': , 'entity_id': 'sensor.test_test_com_temperature', diff --git a/tests/components/portainer/snapshots/test_binary_sensor.ambr b/tests/components/portainer/snapshots/test_binary_sensor.ambr index 3d089473865..c89f305eb8f 100644 --- a/tests/components/portainer/snapshots/test_binary_sensor.ambr +++ b/tests/components/portainer/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Status', + : 'running', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Status', }), 'context': , 'entity_id': 'binary_sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_status', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.dashy_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'dashy Status', + : 'running', + : 'dashy Status', }), 'context': , 'entity_id': 'binary_sensor.dashy_status', @@ -141,8 +141,8 @@ # name: test_all_entities[binary_sensor.focused_einstein_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'focused_einstein Status', + : 'running', + : 'focused_einstein Status', }), 'context': , 'entity_id': 'binary_sensor.focused_einstein_status', @@ -192,8 +192,8 @@ # name: test_all_entities[binary_sensor.funny_chatelet_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'funny_chatelet Status', + : 'running', + : 'funny_chatelet Status', }), 'context': , 'entity_id': 'binary_sensor.funny_chatelet_status', @@ -243,8 +243,8 @@ # name: test_all_entities[binary_sensor.my_environment_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'my-environment Status', + : 'running', + : 'my-environment Status', }), 'context': , 'entity_id': 'binary_sensor.my_environment_status', @@ -294,8 +294,8 @@ # name: test_all_entities[binary_sensor.practical_morse_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'practical_morse Status', + : 'running', + : 'practical_morse Status', }), 'context': , 'entity_id': 'binary_sensor.practical_morse_status', @@ -345,8 +345,8 @@ # name: test_all_entities[binary_sensor.serene_banach_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'serene_banach Status', + : 'running', + : 'serene_banach Status', }), 'context': , 'entity_id': 'binary_sensor.serene_banach_status', @@ -396,8 +396,8 @@ # name: test_all_entities[binary_sensor.stoic_turing_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'stoic_turing Status', + : 'running', + : 'stoic_turing Status', }), 'context': , 'entity_id': 'binary_sensor.stoic_turing_status', @@ -447,8 +447,8 @@ # name: test_all_entities[binary_sensor.webstack_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'webstack Status', + : 'running', + : 'webstack Status', }), 'context': , 'entity_id': 'binary_sensor.webstack_status', diff --git a/tests/components/portainer/snapshots/test_button.ambr b/tests/components/portainer/snapshots/test_button.ambr index 96d62262974..f701ef42116 100644 --- a/tests/components/portainer/snapshots/test_button.ambr +++ b/tests/components/portainer/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_button_entities_snapshot[button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_kill_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Kill container', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Kill container', }), 'context': , 'entity_id': 'button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_kill_container', @@ -89,7 +89,7 @@ # name: test_all_button_entities_snapshot[button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_pause_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Pause container', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Pause container', }), 'context': , 'entity_id': 'button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_pause_container', @@ -139,7 +139,7 @@ # name: test_all_button_entities_snapshot[button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_recreate_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Recreate container', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Recreate container', }), 'context': , 'entity_id': 'button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_recreate_container', @@ -189,8 +189,8 @@ # name: test_all_button_entities_snapshot[button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_restart_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Restart container', + : 'restart', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Restart container', }), 'context': , 'entity_id': 'button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_restart_container', @@ -240,7 +240,7 @@ # name: test_all_button_entities_snapshot[button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_resume_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Resume container', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Resume container', }), 'context': , 'entity_id': 'button.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_resume_container', @@ -290,7 +290,7 @@ # name: test_all_button_entities_snapshot[button.focused_einstein_kill_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'focused_einstein Kill container', + : 'focused_einstein Kill container', }), 'context': , 'entity_id': 'button.focused_einstein_kill_container', @@ -340,7 +340,7 @@ # name: test_all_button_entities_snapshot[button.focused_einstein_pause_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'focused_einstein Pause container', + : 'focused_einstein Pause container', }), 'context': , 'entity_id': 'button.focused_einstein_pause_container', @@ -390,7 +390,7 @@ # name: test_all_button_entities_snapshot[button.focused_einstein_recreate_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'focused_einstein Recreate container', + : 'focused_einstein Recreate container', }), 'context': , 'entity_id': 'button.focused_einstein_recreate_container', @@ -440,8 +440,8 @@ # name: test_all_button_entities_snapshot[button.focused_einstein_restart_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'focused_einstein Restart container', + : 'restart', + : 'focused_einstein Restart container', }), 'context': , 'entity_id': 'button.focused_einstein_restart_container', @@ -491,7 +491,7 @@ # name: test_all_button_entities_snapshot[button.focused_einstein_resume_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'focused_einstein Resume container', + : 'focused_einstein Resume container', }), 'context': , 'entity_id': 'button.focused_einstein_resume_container', @@ -541,7 +541,7 @@ # name: test_all_button_entities_snapshot[button.funny_chatelet_kill_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'funny_chatelet Kill container', + : 'funny_chatelet Kill container', }), 'context': , 'entity_id': 'button.funny_chatelet_kill_container', @@ -591,7 +591,7 @@ # name: test_all_button_entities_snapshot[button.funny_chatelet_pause_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'funny_chatelet Pause container', + : 'funny_chatelet Pause container', }), 'context': , 'entity_id': 'button.funny_chatelet_pause_container', @@ -641,7 +641,7 @@ # name: test_all_button_entities_snapshot[button.funny_chatelet_recreate_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'funny_chatelet Recreate container', + : 'funny_chatelet Recreate container', }), 'context': , 'entity_id': 'button.funny_chatelet_recreate_container', @@ -691,8 +691,8 @@ # name: test_all_button_entities_snapshot[button.funny_chatelet_restart_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'funny_chatelet Restart container', + : 'restart', + : 'funny_chatelet Restart container', }), 'context': , 'entity_id': 'button.funny_chatelet_restart_container', @@ -742,7 +742,7 @@ # name: test_all_button_entities_snapshot[button.funny_chatelet_resume_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'funny_chatelet Resume container', + : 'funny_chatelet Resume container', }), 'context': , 'entity_id': 'button.funny_chatelet_resume_container', @@ -792,8 +792,8 @@ # name: test_all_button_entities_snapshot[button.my_environment_prune_unused_images-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'my-environment Prune unused images', + : 'restart', + : 'my-environment Prune unused images', }), 'context': , 'entity_id': 'button.my_environment_prune_unused_images', @@ -843,7 +843,7 @@ # name: test_all_button_entities_snapshot[button.my_environment_prune_unused_volumes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Prune unused volumes', + : 'my-environment Prune unused volumes', }), 'context': , 'entity_id': 'button.my_environment_prune_unused_volumes', @@ -893,7 +893,7 @@ # name: test_all_button_entities_snapshot[button.practical_morse_kill_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'practical_morse Kill container', + : 'practical_morse Kill container', }), 'context': , 'entity_id': 'button.practical_morse_kill_container', @@ -943,7 +943,7 @@ # name: test_all_button_entities_snapshot[button.practical_morse_pause_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'practical_morse Pause container', + : 'practical_morse Pause container', }), 'context': , 'entity_id': 'button.practical_morse_pause_container', @@ -993,7 +993,7 @@ # name: test_all_button_entities_snapshot[button.practical_morse_recreate_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'practical_morse Recreate container', + : 'practical_morse Recreate container', }), 'context': , 'entity_id': 'button.practical_morse_recreate_container', @@ -1043,8 +1043,8 @@ # name: test_all_button_entities_snapshot[button.practical_morse_restart_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'practical_morse Restart container', + : 'restart', + : 'practical_morse Restart container', }), 'context': , 'entity_id': 'button.practical_morse_restart_container', @@ -1094,7 +1094,7 @@ # name: test_all_button_entities_snapshot[button.practical_morse_resume_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'practical_morse Resume container', + : 'practical_morse Resume container', }), 'context': , 'entity_id': 'button.practical_morse_resume_container', @@ -1144,7 +1144,7 @@ # name: test_all_button_entities_snapshot[button.serene_banach_kill_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'serene_banach Kill container', + : 'serene_banach Kill container', }), 'context': , 'entity_id': 'button.serene_banach_kill_container', @@ -1194,7 +1194,7 @@ # name: test_all_button_entities_snapshot[button.serene_banach_pause_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'serene_banach Pause container', + : 'serene_banach Pause container', }), 'context': , 'entity_id': 'button.serene_banach_pause_container', @@ -1244,7 +1244,7 @@ # name: test_all_button_entities_snapshot[button.serene_banach_recreate_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'serene_banach Recreate container', + : 'serene_banach Recreate container', }), 'context': , 'entity_id': 'button.serene_banach_recreate_container', @@ -1294,8 +1294,8 @@ # name: test_all_button_entities_snapshot[button.serene_banach_restart_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'serene_banach Restart container', + : 'restart', + : 'serene_banach Restart container', }), 'context': , 'entity_id': 'button.serene_banach_restart_container', @@ -1345,7 +1345,7 @@ # name: test_all_button_entities_snapshot[button.serene_banach_resume_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'serene_banach Resume container', + : 'serene_banach Resume container', }), 'context': , 'entity_id': 'button.serene_banach_resume_container', @@ -1395,7 +1395,7 @@ # name: test_all_button_entities_snapshot[button.stoic_turing_kill_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'stoic_turing Kill container', + : 'stoic_turing Kill container', }), 'context': , 'entity_id': 'button.stoic_turing_kill_container', @@ -1445,7 +1445,7 @@ # name: test_all_button_entities_snapshot[button.stoic_turing_pause_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'stoic_turing Pause container', + : 'stoic_turing Pause container', }), 'context': , 'entity_id': 'button.stoic_turing_pause_container', @@ -1495,7 +1495,7 @@ # name: test_all_button_entities_snapshot[button.stoic_turing_recreate_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'stoic_turing Recreate container', + : 'stoic_turing Recreate container', }), 'context': , 'entity_id': 'button.stoic_turing_recreate_container', @@ -1545,8 +1545,8 @@ # name: test_all_button_entities_snapshot[button.stoic_turing_restart_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'stoic_turing Restart container', + : 'restart', + : 'stoic_turing Restart container', }), 'context': , 'entity_id': 'button.stoic_turing_restart_container', @@ -1596,7 +1596,7 @@ # name: test_all_button_entities_snapshot[button.stoic_turing_resume_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'stoic_turing Resume container', + : 'stoic_turing Resume container', }), 'context': , 'entity_id': 'button.stoic_turing_resume_container', diff --git a/tests/components/portainer/snapshots/test_sensor.ambr b/tests/components/portainer/snapshots/test_sensor.ambr index 14e0710adcb..0acd9aa8605 100644 --- a/tests/components/portainer/snapshots/test_sensor.ambr +++ b/tests/components/portainer/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[sensor.dashy_config_volume_driver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_config Volume driver', + : 'dashy_config Volume driver', }), 'context': , 'entity_id': 'sensor.dashy_config_volume_driver', @@ -97,10 +97,10 @@ # name: test_all_entities[sensor.dashy_config_volume_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'dashy_config Volume size', + : 'data_size', + : 'dashy_config Volume size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dashy_config_volume_size', @@ -152,9 +152,9 @@ # name: test_all_entities[sensor.dashy_containers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy Containers', + : 'dashy Containers', : , - 'unit_of_measurement': 'containers', + : 'containers', }), 'context': , 'entity_id': 'sensor.dashy_containers', @@ -209,9 +209,9 @@ # name: test_all_entities[sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_cpu_usage_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 CPU usage total', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 CPU usage total', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_cpu_usage_total', @@ -261,7 +261,7 @@ # name: test_all_entities[sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_image-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Image', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Image', }), 'context': , 'entity_id': 'sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_image', @@ -319,10 +319,10 @@ # name: test_all_entities[sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_memory_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Memory limit', + : 'data_size', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Memory limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_memory_limit', @@ -380,10 +380,10 @@ # name: test_all_entities[sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Memory usage', + : 'data_size', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_memory_usage', @@ -438,9 +438,9 @@ # name: test_all_entities[sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Memory usage percentage', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_memory_usage_percentage', @@ -499,8 +499,8 @@ # name: test_all_entities[sensor.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 State', + : 'enum', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 State', : list([ 'running', 'exited', @@ -564,8 +564,8 @@ # name: test_all_entities[sensor.dashy_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'dashy Type', + : 'enum', + : 'dashy Type', : list([ 'swarm', 'compose', @@ -620,7 +620,7 @@ # name: test_all_entities[sensor.db_data_volume_driver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'db_data Volume driver', + : 'db_data Volume driver', }), 'context': , 'entity_id': 'sensor.db_data_volume_driver', @@ -678,10 +678,10 @@ # name: test_all_entities[sensor.db_data_volume_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'db_data Volume size', + : 'data_size', + : 'db_data Volume size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.db_data_volume_size', @@ -736,9 +736,9 @@ # name: test_all_entities[sensor.focused_einstein_cpu_usage_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'focused_einstein CPU usage total', + : 'focused_einstein CPU usage total', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.focused_einstein_cpu_usage_total', @@ -788,7 +788,7 @@ # name: test_all_entities[sensor.focused_einstein_image-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'focused_einstein Image', + : 'focused_einstein Image', }), 'context': , 'entity_id': 'sensor.focused_einstein_image', @@ -846,10 +846,10 @@ # name: test_all_entities[sensor.focused_einstein_memory_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'focused_einstein Memory limit', + : 'data_size', + : 'focused_einstein Memory limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.focused_einstein_memory_limit', @@ -907,10 +907,10 @@ # name: test_all_entities[sensor.focused_einstein_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'focused_einstein Memory usage', + : 'data_size', + : 'focused_einstein Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.focused_einstein_memory_usage', @@ -965,9 +965,9 @@ # name: test_all_entities[sensor.focused_einstein_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'focused_einstein Memory usage percentage', + : 'focused_einstein Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.focused_einstein_memory_usage_percentage', @@ -1026,8 +1026,8 @@ # name: test_all_entities[sensor.focused_einstein_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'focused_einstein State', + : 'enum', + : 'focused_einstein State', : list([ 'running', 'exited', @@ -1090,9 +1090,9 @@ # name: test_all_entities[sensor.funny_chatelet_cpu_usage_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'funny_chatelet CPU usage total', + : 'funny_chatelet CPU usage total', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.funny_chatelet_cpu_usage_total', @@ -1142,7 +1142,7 @@ # name: test_all_entities[sensor.funny_chatelet_image-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'funny_chatelet Image', + : 'funny_chatelet Image', }), 'context': , 'entity_id': 'sensor.funny_chatelet_image', @@ -1200,10 +1200,10 @@ # name: test_all_entities[sensor.funny_chatelet_memory_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'funny_chatelet Memory limit', + : 'data_size', + : 'funny_chatelet Memory limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.funny_chatelet_memory_limit', @@ -1261,10 +1261,10 @@ # name: test_all_entities[sensor.funny_chatelet_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'funny_chatelet Memory usage', + : 'data_size', + : 'funny_chatelet Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.funny_chatelet_memory_usage', @@ -1319,9 +1319,9 @@ # name: test_all_entities[sensor.funny_chatelet_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'funny_chatelet Memory usage percentage', + : 'funny_chatelet Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.funny_chatelet_memory_usage_percentage', @@ -1380,8 +1380,8 @@ # name: test_all_entities[sensor.funny_chatelet_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'funny_chatelet State', + : 'enum', + : 'funny_chatelet State', : list([ 'running', 'exited', @@ -1439,7 +1439,7 @@ # name: test_all_entities[sensor.my_environment_api_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment API version', + : 'my-environment API version', }), 'context': , 'entity_id': 'sensor.my_environment_api_version', @@ -1489,7 +1489,7 @@ # name: test_all_entities[sensor.my_environment_architecture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Architecture', + : 'my-environment Architecture', }), 'context': , 'entity_id': 'sensor.my_environment_architecture', @@ -1541,7 +1541,7 @@ # name: test_all_entities[sensor.my_environment_container_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Container count', + : 'my-environment Container count', : , }), 'context': , @@ -1600,10 +1600,10 @@ # name: test_all_entities[sensor.my_environment_container_disk_usage_reclaimable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my-environment Container disk usage reclaimable', + : 'data_size', + : 'my-environment Container disk usage reclaimable', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_environment_container_disk_usage_reclaimable', @@ -1661,10 +1661,10 @@ # name: test_all_entities[sensor.my_environment_container_disk_usage_total_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my-environment Container disk usage total size', + : 'data_size', + : 'my-environment Container disk usage total size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_environment_container_disk_usage_total_size', @@ -1716,7 +1716,7 @@ # name: test_all_entities[sensor.my_environment_containers_paused-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Containers paused', + : 'my-environment Containers paused', : , }), 'context': , @@ -1769,7 +1769,7 @@ # name: test_all_entities[sensor.my_environment_containers_running-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Containers running', + : 'my-environment Containers running', : , }), 'context': , @@ -1822,7 +1822,7 @@ # name: test_all_entities[sensor.my_environment_containers_stopped-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Containers stopped', + : 'my-environment Containers stopped', : , }), 'context': , @@ -1873,7 +1873,7 @@ # name: test_all_entities[sensor.my_environment_docker_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Docker version', + : 'my-environment Docker version', }), 'context': , 'entity_id': 'sensor.my_environment_docker_version', @@ -1925,7 +1925,7 @@ # name: test_all_entities[sensor.my_environment_image_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Image count', + : 'my-environment Image count', : , }), 'context': , @@ -1984,10 +1984,10 @@ # name: test_all_entities[sensor.my_environment_image_disk_usage_reclaimable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my-environment Image disk usage reclaimable', + : 'data_size', + : 'my-environment Image disk usage reclaimable', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_environment_image_disk_usage_reclaimable', @@ -2045,10 +2045,10 @@ # name: test_all_entities[sensor.my_environment_image_disk_usage_total_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my-environment Image disk usage total size', + : 'data_size', + : 'my-environment Image disk usage total size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_environment_image_disk_usage_total_size', @@ -2098,7 +2098,7 @@ # name: test_all_entities[sensor.my_environment_kernel_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Kernel version', + : 'my-environment Kernel version', }), 'context': , 'entity_id': 'sensor.my_environment_kernel_version', @@ -2148,7 +2148,7 @@ # name: test_all_entities[sensor.my_environment_operating_system-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Operating system', + : 'my-environment Operating system', }), 'context': , 'entity_id': 'sensor.my_environment_operating_system', @@ -2198,7 +2198,7 @@ # name: test_all_entities[sensor.my_environment_operating_system_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Operating system version', + : 'my-environment Operating system version', }), 'context': , 'entity_id': 'sensor.my_environment_operating_system_version', @@ -2250,7 +2250,7 @@ # name: test_all_entities[sensor.my_environment_total_cpu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my-environment Total CPU', + : 'my-environment Total CPU', : , }), 'context': , @@ -2309,10 +2309,10 @@ # name: test_all_entities[sensor.my_environment_total_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my-environment Total memory', + : 'data_size', + : 'my-environment Total memory', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_environment_total_memory', @@ -2370,10 +2370,10 @@ # name: test_all_entities[sensor.my_environment_volume_disk_usage_total_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'my-environment Volume disk usage total size', + : 'data_size', + : 'my-environment Volume disk usage total size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_environment_volume_disk_usage_total_size', @@ -2423,7 +2423,7 @@ # name: test_all_entities[sensor.myvolume_volume_driver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'myvolume Volume driver', + : 'myvolume Volume driver', }), 'context': , 'entity_id': 'sensor.myvolume_volume_driver', @@ -2481,10 +2481,10 @@ # name: test_all_entities[sensor.myvolume_volume_size-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'myvolume Volume size', + : 'data_size', + : 'myvolume Volume size', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.myvolume_volume_size', @@ -2539,9 +2539,9 @@ # name: test_all_entities[sensor.practical_morse_cpu_usage_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'practical_morse CPU usage total', + : 'practical_morse CPU usage total', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.practical_morse_cpu_usage_total', @@ -2591,7 +2591,7 @@ # name: test_all_entities[sensor.practical_morse_image-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'practical_morse Image', + : 'practical_morse Image', }), 'context': , 'entity_id': 'sensor.practical_morse_image', @@ -2649,10 +2649,10 @@ # name: test_all_entities[sensor.practical_morse_memory_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'practical_morse Memory limit', + : 'data_size', + : 'practical_morse Memory limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.practical_morse_memory_limit', @@ -2710,10 +2710,10 @@ # name: test_all_entities[sensor.practical_morse_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'practical_morse Memory usage', + : 'data_size', + : 'practical_morse Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.practical_morse_memory_usage', @@ -2768,9 +2768,9 @@ # name: test_all_entities[sensor.practical_morse_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'practical_morse Memory usage percentage', + : 'practical_morse Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.practical_morse_memory_usage_percentage', @@ -2829,8 +2829,8 @@ # name: test_all_entities[sensor.practical_morse_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'practical_morse State', + : 'enum', + : 'practical_morse State', : list([ 'running', 'exited', @@ -2893,9 +2893,9 @@ # name: test_all_entities[sensor.serene_banach_cpu_usage_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'serene_banach CPU usage total', + : 'serene_banach CPU usage total', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.serene_banach_cpu_usage_total', @@ -2945,7 +2945,7 @@ # name: test_all_entities[sensor.serene_banach_image-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'serene_banach Image', + : 'serene_banach Image', }), 'context': , 'entity_id': 'sensor.serene_banach_image', @@ -3003,10 +3003,10 @@ # name: test_all_entities[sensor.serene_banach_memory_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'serene_banach Memory limit', + : 'data_size', + : 'serene_banach Memory limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.serene_banach_memory_limit', @@ -3064,10 +3064,10 @@ # name: test_all_entities[sensor.serene_banach_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'serene_banach Memory usage', + : 'data_size', + : 'serene_banach Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.serene_banach_memory_usage', @@ -3122,9 +3122,9 @@ # name: test_all_entities[sensor.serene_banach_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'serene_banach Memory usage percentage', + : 'serene_banach Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.serene_banach_memory_usage_percentage', @@ -3183,8 +3183,8 @@ # name: test_all_entities[sensor.serene_banach_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'serene_banach State', + : 'enum', + : 'serene_banach State', : list([ 'running', 'exited', @@ -3247,9 +3247,9 @@ # name: test_all_entities[sensor.stoic_turing_cpu_usage_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'stoic_turing CPU usage total', + : 'stoic_turing CPU usage total', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.stoic_turing_cpu_usage_total', @@ -3299,7 +3299,7 @@ # name: test_all_entities[sensor.stoic_turing_image-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'stoic_turing Image', + : 'stoic_turing Image', }), 'context': , 'entity_id': 'sensor.stoic_turing_image', @@ -3357,10 +3357,10 @@ # name: test_all_entities[sensor.stoic_turing_memory_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'stoic_turing Memory limit', + : 'data_size', + : 'stoic_turing Memory limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stoic_turing_memory_limit', @@ -3418,10 +3418,10 @@ # name: test_all_entities[sensor.stoic_turing_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'stoic_turing Memory usage', + : 'data_size', + : 'stoic_turing Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stoic_turing_memory_usage', @@ -3476,9 +3476,9 @@ # name: test_all_entities[sensor.stoic_turing_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'stoic_turing Memory usage percentage', + : 'stoic_turing Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.stoic_turing_memory_usage_percentage', @@ -3537,8 +3537,8 @@ # name: test_all_entities[sensor.stoic_turing_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'stoic_turing State', + : 'enum', + : 'stoic_turing State', : list([ 'running', 'exited', @@ -3598,9 +3598,9 @@ # name: test_all_entities[sensor.webstack_containers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'webstack Containers', + : 'webstack Containers', : , - 'unit_of_measurement': 'containers', + : 'containers', }), 'context': , 'entity_id': 'sensor.webstack_containers', @@ -3656,8 +3656,8 @@ # name: test_all_entities[sensor.webstack_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'webstack Type', + : 'enum', + : 'webstack Type', : list([ 'swarm', 'compose', diff --git a/tests/components/portainer/snapshots/test_switch.ambr b/tests/components/portainer/snapshots/test_switch.ambr index 9e8dc66da6e..608a510978a 100644 --- a/tests/components/portainer/snapshots/test_switch.ambr +++ b/tests/components/portainer/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_all_switch_entities_snapshot[switch.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Container', + : 'switch', + : 'dashy_dashy.1.qgza68hnz4n1qvyz3iohynx05 Container', }), 'context': , 'entity_id': 'switch.dashy_dashy_1_qgza68hnz4n1qvyz3iohynx05_container', @@ -90,8 +90,8 @@ # name: test_all_switch_entities_snapshot[switch.dashy_stack-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'dashy Stack', + : 'switch', + : 'dashy Stack', }), 'context': , 'entity_id': 'switch.dashy_stack', @@ -141,8 +141,8 @@ # name: test_all_switch_entities_snapshot[switch.focused_einstein_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'focused_einstein Container', + : 'switch', + : 'focused_einstein Container', }), 'context': , 'entity_id': 'switch.focused_einstein_container', @@ -192,8 +192,8 @@ # name: test_all_switch_entities_snapshot[switch.funny_chatelet_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'funny_chatelet Container', + : 'switch', + : 'funny_chatelet Container', }), 'context': , 'entity_id': 'switch.funny_chatelet_container', @@ -243,8 +243,8 @@ # name: test_all_switch_entities_snapshot[switch.practical_morse_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'practical_morse Container', + : 'switch', + : 'practical_morse Container', }), 'context': , 'entity_id': 'switch.practical_morse_container', @@ -294,8 +294,8 @@ # name: test_all_switch_entities_snapshot[switch.serene_banach_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'serene_banach Container', + : 'switch', + : 'serene_banach Container', }), 'context': , 'entity_id': 'switch.serene_banach_container', @@ -345,8 +345,8 @@ # name: test_all_switch_entities_snapshot[switch.stoic_turing_container-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'stoic_turing Container', + : 'switch', + : 'stoic_turing Container', }), 'context': , 'entity_id': 'switch.stoic_turing_container', @@ -396,8 +396,8 @@ # name: test_all_switch_entities_snapshot[switch.webstack_stack-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'webstack Stack', + : 'switch', + : 'webstack Stack', }), 'context': , 'entity_id': 'switch.webstack_stack', diff --git a/tests/components/powerfox/snapshots/test_sensor.ambr b/tests/components/powerfox/snapshots/test_sensor.ambr index 3b17bebfe53..c1ec4379aa4 100644 --- a/tests/components/powerfox/snapshots/test_sensor.ambr +++ b/tests/components/powerfox/snapshots/test_sensor.ambr @@ -42,9 +42,9 @@ # name: test_all_sensors[sensor.gasopti_avg_gas_hourly_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gasopti Avg gas hourly consumption - today', - 'unit_of_measurement': , + : 'gas', + : 'Gasopti Avg gas hourly consumption - today', + : , }), 'context': , 'entity_id': 'sensor.gasopti_avg_gas_hourly_consumption_today', @@ -97,9 +97,9 @@ # name: test_all_sensors[sensor.gasopti_avg_gas_hourly_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Gasopti Avg gas hourly energy - today', - 'unit_of_measurement': , + : 'energy', + : 'Gasopti Avg gas hourly energy - today', + : , }), 'context': , 'entity_id': 'sensor.gasopti_avg_gas_hourly_energy_today', @@ -152,9 +152,9 @@ # name: test_all_sensors[sensor.gasopti_gas_consumption_energy_this_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Gasopti Gas consumption energy - this hour', - 'unit_of_measurement': , + : 'energy', + : 'Gasopti Gas consumption energy - this hour', + : , }), 'context': , 'entity_id': 'sensor.gasopti_gas_consumption_energy_this_hour', @@ -209,10 +209,10 @@ # name: test_all_sensors[sensor.gasopti_gas_consumption_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Gasopti Gas consumption energy - today', + : 'energy', + : 'Gasopti Gas consumption energy - today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gasopti_gas_consumption_energy_today', @@ -265,9 +265,9 @@ # name: test_all_sensors[sensor.gasopti_gas_consumption_this_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gasopti Gas consumption - this hour', - 'unit_of_measurement': , + : 'gas', + : 'Gasopti Gas consumption - this hour', + : , }), 'context': , 'entity_id': 'sensor.gasopti_gas_consumption_this_hour', @@ -322,10 +322,10 @@ # name: test_all_sensors[sensor.gasopti_gas_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gasopti Gas consumption - today', + : 'gas', + : 'Gasopti Gas consumption - today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gasopti_gas_consumption_today', @@ -380,10 +380,10 @@ # name: test_all_sensors[sensor.gasopti_gas_cost_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Gasopti Gas cost - today', + : 'monetary', + : 'Gasopti Gas cost - today', : , - 'unit_of_measurement': '€', + : '€', }), 'context': , 'entity_id': 'sensor.gasopti_gas_cost_today', @@ -436,9 +436,9 @@ # name: test_all_sensors[sensor.gasopti_max_gas_hourly_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gasopti Max gas hourly consumption - today', - 'unit_of_measurement': , + : 'gas', + : 'Gasopti Max gas hourly consumption - today', + : , }), 'context': , 'entity_id': 'sensor.gasopti_max_gas_hourly_consumption_today', @@ -491,9 +491,9 @@ # name: test_all_sensors[sensor.gasopti_max_gas_hourly_cost_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'monetary', - 'friendly_name': 'Gasopti Max gas hourly cost - today', - 'unit_of_measurement': '€', + : 'monetary', + : 'Gasopti Max gas hourly cost - today', + : '€', }), 'context': , 'entity_id': 'sensor.gasopti_max_gas_hourly_cost_today', @@ -546,9 +546,9 @@ # name: test_all_sensors[sensor.gasopti_max_gas_hourly_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Gasopti Max gas hourly energy - today', - 'unit_of_measurement': , + : 'energy', + : 'Gasopti Max gas hourly energy - today', + : , }), 'context': , 'entity_id': 'sensor.gasopti_max_gas_hourly_energy_today', @@ -601,9 +601,9 @@ # name: test_all_sensors[sensor.gasopti_min_gas_hourly_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gasopti Min gas hourly consumption - today', - 'unit_of_measurement': , + : 'gas', + : 'Gasopti Min gas hourly consumption - today', + : , }), 'context': , 'entity_id': 'sensor.gasopti_min_gas_hourly_consumption_today', @@ -656,9 +656,9 @@ # name: test_all_sensors[sensor.gasopti_min_gas_hourly_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Gasopti Min gas hourly energy - today', - 'unit_of_measurement': , + : 'energy', + : 'Gasopti Min gas hourly energy - today', + : , }), 'context': , 'entity_id': 'sensor.gasopti_min_gas_hourly_energy_today', @@ -711,9 +711,9 @@ # name: test_all_sensors[sensor.heatopti_delta_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heatopti Delta energy', - 'unit_of_measurement': , + : 'energy', + : 'Heatopti Delta energy', + : , }), 'context': , 'entity_id': 'sensor.heatopti_delta_energy', @@ -766,9 +766,9 @@ # name: test_all_sensors[sensor.heatopti_delta_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Heatopti Delta volume', - 'unit_of_measurement': , + : 'water', + : 'Heatopti Delta volume', + : , }), 'context': , 'entity_id': 'sensor.heatopti_delta_volume', @@ -823,10 +823,10 @@ # name: test_all_sensors[sensor.heatopti_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heatopti Total energy', + : 'energy', + : 'Heatopti Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heatopti_total_energy', @@ -881,10 +881,10 @@ # name: test_all_sensors[sensor.heatopti_total_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Heatopti Total volume', + : 'water', + : 'Heatopti Total volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heatopti_total_volume', @@ -939,10 +939,10 @@ # name: test_all_sensors[sensor.poweropti_energy_return-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti Energy return', + : 'energy', + : 'Poweropti Energy return', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_energy_return', @@ -997,10 +997,10 @@ # name: test_all_sensors[sensor.poweropti_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti Energy usage', + : 'energy', + : 'Poweropti Energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_energy_usage', @@ -1055,10 +1055,10 @@ # name: test_all_sensors[sensor.poweropti_energy_usage_high_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti Energy usage high tariff', + : 'energy', + : 'Poweropti Energy usage high tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_energy_usage_high_tariff', @@ -1113,10 +1113,10 @@ # name: test_all_sensors[sensor.poweropti_energy_usage_low_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti Energy usage low tariff', + : 'energy', + : 'Poweropti Energy usage low tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_energy_usage_low_tariff', @@ -1171,10 +1171,10 @@ # name: test_all_sensors[sensor.poweropti_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Poweropti Power', + : 'power', + : 'Poweropti Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_power', @@ -1229,10 +1229,10 @@ # name: test_all_sensors[sensor.wateropti_cold_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Wateropti Cold water', + : 'water', + : 'Wateropti Cold water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wateropti_cold_water', @@ -1287,10 +1287,10 @@ # name: test_all_sensors[sensor.wateropti_warm_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Wateropti Warm water', + : 'water', + : 'Wateropti Warm water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wateropti_warm_water', diff --git a/tests/components/powerfox_local/snapshots/test_sensor.ambr b/tests/components/powerfox_local/snapshots/test_sensor.ambr index 7165a4dc32d..23c6633ced6 100644 --- a/tests/components/powerfox_local/snapshots/test_sensor.ambr +++ b/tests/components/powerfox_local/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_sensors[sensor.poweropti_2xx3x_energy_return-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti (2xx3x) Energy return', + : 'energy', + : 'Poweropti (2xx3x) Energy return', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_2xx3x_energy_return', @@ -102,10 +102,10 @@ # name: test_all_sensors[sensor.poweropti_2xx3x_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti (2xx3x) Energy usage', + : 'energy', + : 'Poweropti (2xx3x) Energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_2xx3x_energy_usage', @@ -160,10 +160,10 @@ # name: test_all_sensors[sensor.poweropti_2xx3x_energy_usage_high_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti (2xx3x) Energy usage high tariff', + : 'energy', + : 'Poweropti (2xx3x) Energy usage high tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_2xx3x_energy_usage_high_tariff', @@ -218,10 +218,10 @@ # name: test_all_sensors[sensor.poweropti_2xx3x_energy_usage_low_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Poweropti (2xx3x) Energy usage low tariff', + : 'energy', + : 'Poweropti (2xx3x) Energy usage low tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_2xx3x_energy_usage_low_tariff', @@ -276,10 +276,10 @@ # name: test_all_sensors[sensor.poweropti_2xx3x_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Poweropti (2xx3x) Power', + : 'power', + : 'Poweropti (2xx3x) Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.poweropti_2xx3x_power', diff --git a/tests/components/prana/snapshots/test_fan.ambr b/tests/components/prana/snapshots/test_fan.ambr index fb02a762375..d36e9050d69 100644 --- a/tests/components/prana/snapshots/test_fan.ambr +++ b/tests/components/prana/snapshots/test_fan.ambr @@ -44,7 +44,7 @@ # name: test_fans[fan.prana_recuperator_extract_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Extract fan', + : 'PRANA RECUPERATOR Extract fan', : 10, : 10.0, : None, @@ -52,7 +52,7 @@ 'night', 'boost', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.prana_recuperator_extract_fan', @@ -107,7 +107,7 @@ # name: test_fans[fan.prana_recuperator_supply_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Supply fan', + : 'PRANA RECUPERATOR Supply fan', : 10, : 10.0, : None, @@ -115,7 +115,7 @@ 'night', 'boost', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.prana_recuperator_supply_fan', diff --git a/tests/components/prana/snapshots/test_number.ambr b/tests/components/prana/snapshots/test_number.ambr index e1b0715e30c..2cf995fad33 100644 --- a/tests/components/prana/snapshots/test_number.ambr +++ b/tests/components/prana/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_numbers[number.prana_recuperator_display_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Display brightness', + : 'PRANA RECUPERATOR Display brightness', : 6, : 0, : , diff --git a/tests/components/prana/snapshots/test_sensor.ambr b/tests/components/prana/snapshots/test_sensor.ambr index 2a815248cef..6a396139af9 100644 --- a/tests/components/prana/snapshots/test_sensor.ambr +++ b/tests/components/prana/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.prana_recuperator_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'PRANA RECUPERATOR Humidity', + : 'humidity', + : 'PRANA RECUPERATOR Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.prana_recuperator_humidity', @@ -99,10 +99,10 @@ # name: test_sensors[sensor.prana_recuperator_inside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'PRANA RECUPERATOR Inside temperature', + : 'temperature', + : 'PRANA RECUPERATOR Inside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.prana_recuperator_inside_temperature', diff --git a/tests/components/prana/snapshots/test_switch.ambr b/tests/components/prana/snapshots/test_switch.ambr index 48e3ddcb744..d4f9a3be00e 100644 --- a/tests/components/prana/snapshots/test_switch.ambr +++ b/tests/components/prana/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.prana_recuperator_auto-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Auto', + : 'PRANA RECUPERATOR Auto', }), 'context': , 'entity_id': 'switch.prana_recuperator_auto', @@ -89,7 +89,7 @@ # name: test_switches[switch.prana_recuperator_auto_plus-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Auto plus', + : 'PRANA RECUPERATOR Auto plus', }), 'context': , 'entity_id': 'switch.prana_recuperator_auto_plus', @@ -139,7 +139,7 @@ # name: test_switches[switch.prana_recuperator_bound-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Bound', + : 'PRANA RECUPERATOR Bound', }), 'context': , 'entity_id': 'switch.prana_recuperator_bound', @@ -189,7 +189,7 @@ # name: test_switches[switch.prana_recuperator_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Heater', + : 'PRANA RECUPERATOR Heater', }), 'context': , 'entity_id': 'switch.prana_recuperator_heater', @@ -239,7 +239,7 @@ # name: test_switches[switch.prana_recuperator_winter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PRANA RECUPERATOR Winter', + : 'PRANA RECUPERATOR Winter', }), 'context': , 'entity_id': 'switch.prana_recuperator_winter', diff --git a/tests/components/proxmoxve/snapshots/test_binary_sensor.ambr b/tests/components/proxmoxve/snapshots/test_binary_sensor.ambr index 3e527c83745..e17bf31424c 100644 --- a/tests/components/proxmoxve/snapshots/test_binary_sensor.ambr +++ b/tests/components/proxmoxve/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.ct_backup_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'ct-backup Status', + : 'running', + : 'ct-backup Status', }), 'context': , 'entity_id': 'binary_sensor.ct_backup_status', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.ct_nginx_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'ct-nginx Status', + : 'running', + : 'ct-nginx Status', }), 'context': , 'entity_id': 'binary_sensor.ct_nginx_status', @@ -141,8 +141,8 @@ # name: test_all_entities[binary_sensor.pve1_backup_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'pve1 Backup status', + : 'problem', + : 'pve1 Backup status', }), 'context': , 'entity_id': 'binary_sensor.pve1_backup_status', @@ -192,8 +192,8 @@ # name: test_all_entities[binary_sensor.pve1_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'pve1 Status', + : 'running', + : 'pve1 Status', }), 'context': , 'entity_id': 'binary_sensor.pve1_status', @@ -243,7 +243,7 @@ # name: test_all_entities[binary_sensor.storage_local_storage_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (local) Storage active', + : 'Storage (local) Storage active', }), 'context': , 'entity_id': 'binary_sensor.storage_local_storage_active', @@ -293,7 +293,7 @@ # name: test_all_entities[binary_sensor.storage_local_storage_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (local) Storage enabled', + : 'Storage (local) Storage enabled', }), 'context': , 'entity_id': 'binary_sensor.storage_local_storage_enabled', @@ -343,7 +343,7 @@ # name: test_all_entities[binary_sensor.storage_local_storage_shared-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (local) Storage shared', + : 'Storage (local) Storage shared', }), 'context': , 'entity_id': 'binary_sensor.storage_local_storage_shared', @@ -393,7 +393,7 @@ # name: test_all_entities[binary_sensor.storage_synology_storage_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (synology) Storage active', + : 'Storage (synology) Storage active', }), 'context': , 'entity_id': 'binary_sensor.storage_synology_storage_active', @@ -443,7 +443,7 @@ # name: test_all_entities[binary_sensor.storage_synology_storage_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (synology) Storage enabled', + : 'Storage (synology) Storage enabled', }), 'context': , 'entity_id': 'binary_sensor.storage_synology_storage_enabled', @@ -493,7 +493,7 @@ # name: test_all_entities[binary_sensor.storage_synology_storage_shared-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (synology) Storage shared', + : 'Storage (synology) Storage shared', }), 'context': , 'entity_id': 'binary_sensor.storage_synology_storage_shared', @@ -543,8 +543,8 @@ # name: test_all_entities[binary_sensor.vm_db_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'vm-db Status', + : 'running', + : 'vm-db Status', }), 'context': , 'entity_id': 'binary_sensor.vm_db_status', @@ -594,8 +594,8 @@ # name: test_all_entities[binary_sensor.vm_web_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'vm-web Status', + : 'running', + : 'vm-web Status', }), 'context': , 'entity_id': 'binary_sensor.vm_web_status', diff --git a/tests/components/proxmoxve/snapshots/test_button.ambr b/tests/components/proxmoxve/snapshots/test_button.ambr index d34ea9ff382..ef752b8a613 100644 --- a/tests/components/proxmoxve/snapshots/test_button.ambr +++ b/tests/components/proxmoxve/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_button_entities[button.ct_backup_create_snapshot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-backup Create snapshot', + : 'ct-backup Create snapshot', }), 'context': , 'entity_id': 'button.ct_backup_create_snapshot', @@ -89,8 +89,8 @@ # name: test_all_button_entities[button.ct_backup_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'ct-backup Restart', + : 'restart', + : 'ct-backup Restart', }), 'context': , 'entity_id': 'button.ct_backup_restart', @@ -140,7 +140,7 @@ # name: test_all_button_entities[button.ct_backup_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-backup Start', + : 'ct-backup Start', }), 'context': , 'entity_id': 'button.ct_backup_start', @@ -190,7 +190,7 @@ # name: test_all_button_entities[button.ct_backup_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-backup Stop', + : 'ct-backup Stop', }), 'context': , 'entity_id': 'button.ct_backup_stop', @@ -240,7 +240,7 @@ # name: test_all_button_entities[button.ct_nginx_create_snapshot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-nginx Create snapshot', + : 'ct-nginx Create snapshot', }), 'context': , 'entity_id': 'button.ct_nginx_create_snapshot', @@ -290,8 +290,8 @@ # name: test_all_button_entities[button.ct_nginx_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'ct-nginx Restart', + : 'restart', + : 'ct-nginx Restart', }), 'context': , 'entity_id': 'button.ct_nginx_restart', @@ -341,7 +341,7 @@ # name: test_all_button_entities[button.ct_nginx_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-nginx Start', + : 'ct-nginx Start', }), 'context': , 'entity_id': 'button.ct_nginx_start', @@ -391,7 +391,7 @@ # name: test_all_button_entities[button.ct_nginx_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-nginx Stop', + : 'ct-nginx Stop', }), 'context': , 'entity_id': 'button.ct_nginx_stop', @@ -441,8 +441,8 @@ # name: test_all_button_entities[button.pve1_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'pve1 Restart', + : 'restart', + : 'pve1 Restart', }), 'context': , 'entity_id': 'button.pve1_restart', @@ -492,7 +492,7 @@ # name: test_all_button_entities[button.pve1_shut_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pve1 Shut down', + : 'pve1 Shut down', }), 'context': , 'entity_id': 'button.pve1_shut_down', @@ -542,7 +542,7 @@ # name: test_all_button_entities[button.pve1_start_all-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pve1 Start all', + : 'pve1 Start all', }), 'context': , 'entity_id': 'button.pve1_start_all', @@ -592,7 +592,7 @@ # name: test_all_button_entities[button.pve1_stop_all-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pve1 Stop all', + : 'pve1 Stop all', }), 'context': , 'entity_id': 'button.pve1_stop_all', @@ -642,7 +642,7 @@ # name: test_all_button_entities[button.pve1_suspend_all-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pve1 Suspend all', + : 'pve1 Suspend all', }), 'context': , 'entity_id': 'button.pve1_suspend_all', @@ -692,7 +692,7 @@ # name: test_all_button_entities[button.vm_db-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db', + : 'vm-db', }), 'context': , 'entity_id': 'button.vm_db', @@ -742,7 +742,7 @@ # name: test_all_button_entities[button.vm_db_create_snapshot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Create snapshot', + : 'vm-db Create snapshot', }), 'context': , 'entity_id': 'button.vm_db_create_snapshot', @@ -792,7 +792,7 @@ # name: test_all_button_entities[button.vm_db_hibernate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Hibernate', + : 'vm-db Hibernate', }), 'context': , 'entity_id': 'button.vm_db_hibernate', @@ -842,7 +842,7 @@ # name: test_all_button_entities[button.vm_db_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Reset', + : 'vm-db Reset', }), 'context': , 'entity_id': 'button.vm_db_reset', @@ -892,8 +892,8 @@ # name: test_all_button_entities[button.vm_db_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'vm-db Restart', + : 'restart', + : 'vm-db Restart', }), 'context': , 'entity_id': 'button.vm_db_restart', @@ -943,7 +943,7 @@ # name: test_all_button_entities[button.vm_db_shut_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Shut down', + : 'vm-db Shut down', }), 'context': , 'entity_id': 'button.vm_db_shut_down', @@ -993,7 +993,7 @@ # name: test_all_button_entities[button.vm_db_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Start', + : 'vm-db Start', }), 'context': , 'entity_id': 'button.vm_db_start', @@ -1043,7 +1043,7 @@ # name: test_all_button_entities[button.vm_db_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Stop', + : 'vm-db Stop', }), 'context': , 'entity_id': 'button.vm_db_stop', @@ -1093,7 +1093,7 @@ # name: test_all_button_entities[button.vm_web-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web', + : 'vm-web', }), 'context': , 'entity_id': 'button.vm_web', @@ -1143,7 +1143,7 @@ # name: test_all_button_entities[button.vm_web_create_snapshot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Create snapshot', + : 'vm-web Create snapshot', }), 'context': , 'entity_id': 'button.vm_web_create_snapshot', @@ -1193,7 +1193,7 @@ # name: test_all_button_entities[button.vm_web_hibernate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Hibernate', + : 'vm-web Hibernate', }), 'context': , 'entity_id': 'button.vm_web_hibernate', @@ -1243,7 +1243,7 @@ # name: test_all_button_entities[button.vm_web_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Reset', + : 'vm-web Reset', }), 'context': , 'entity_id': 'button.vm_web_reset', @@ -1293,8 +1293,8 @@ # name: test_all_button_entities[button.vm_web_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'vm-web Restart', + : 'restart', + : 'vm-web Restart', }), 'context': , 'entity_id': 'button.vm_web_restart', @@ -1344,7 +1344,7 @@ # name: test_all_button_entities[button.vm_web_shut_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Shut down', + : 'vm-web Shut down', }), 'context': , 'entity_id': 'button.vm_web_shut_down', @@ -1394,7 +1394,7 @@ # name: test_all_button_entities[button.vm_web_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Start', + : 'vm-web Start', }), 'context': , 'entity_id': 'button.vm_web_start', @@ -1444,7 +1444,7 @@ # name: test_all_button_entities[button.vm_web_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Stop', + : 'vm-web Stop', }), 'context': , 'entity_id': 'button.vm_web_stop', diff --git a/tests/components/proxmoxve/snapshots/test_sensor.ambr b/tests/components/proxmoxve/snapshots/test_sensor.ambr index a4357623a6b..497614d0aa9 100644 --- a/tests/components/proxmoxve/snapshots/test_sensor.ambr +++ b/tests/components/proxmoxve/snapshots/test_sensor.ambr @@ -44,9 +44,9 @@ # name: test_all_entities[sensor.ct_backup_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-backup CPU usage', + : 'ct-backup CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ct_backup_cpu_usage', @@ -104,10 +104,10 @@ # name: test_all_entities[sensor.ct_backup_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-backup Disk usage', + : 'data_size', + : 'ct-backup Disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_backup_disk_usage', @@ -157,7 +157,7 @@ # name: test_all_entities[sensor.ct_backup_max_cpu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-backup Max CPU', + : 'ct-backup Max CPU', }), 'context': , 'entity_id': 'sensor.ct_backup_max_cpu', @@ -215,10 +215,10 @@ # name: test_all_entities[sensor.ct_backup_max_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-backup Max disk usage', + : 'data_size', + : 'ct-backup Max disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_backup_max_disk_usage', @@ -276,10 +276,10 @@ # name: test_all_entities[sensor.ct_backup_max_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-backup Max memory usage', + : 'data_size', + : 'ct-backup Max memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_backup_max_memory_usage', @@ -337,10 +337,10 @@ # name: test_all_entities[sensor.ct_backup_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-backup Memory usage', + : 'data_size', + : 'ct-backup Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_backup_memory_usage', @@ -395,9 +395,9 @@ # name: test_all_entities[sensor.ct_backup_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-backup Memory usage percentage', + : 'ct-backup Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ct_backup_memory_usage_percentage', @@ -455,10 +455,10 @@ # name: test_all_entities[sensor.ct_backup_network_input-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-backup Network input', + : 'data_size', + : 'ct-backup Network input', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_backup_network_input', @@ -516,10 +516,10 @@ # name: test_all_entities[sensor.ct_backup_network_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-backup Network output', + : 'data_size', + : 'ct-backup Network output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_backup_network_output', @@ -575,8 +575,8 @@ # name: test_all_entities[sensor.ct_backup_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ct-backup Status', + : 'enum', + : 'ct-backup Status', : list([ 'running', 'stopped', @@ -639,10 +639,10 @@ # name: test_all_entities[sensor.ct_backup_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'ct-backup Uptime', + : 'duration', + : 'ct-backup Uptime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_backup_uptime', @@ -697,9 +697,9 @@ # name: test_all_entities[sensor.ct_nginx_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-nginx CPU usage', + : 'ct-nginx CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ct_nginx_cpu_usage', @@ -757,10 +757,10 @@ # name: test_all_entities[sensor.ct_nginx_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-nginx Disk usage', + : 'data_size', + : 'ct-nginx Disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_nginx_disk_usage', @@ -810,7 +810,7 @@ # name: test_all_entities[sensor.ct_nginx_max_cpu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-nginx Max CPU', + : 'ct-nginx Max CPU', }), 'context': , 'entity_id': 'sensor.ct_nginx_max_cpu', @@ -868,10 +868,10 @@ # name: test_all_entities[sensor.ct_nginx_max_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-nginx Max disk usage', + : 'data_size', + : 'ct-nginx Max disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_nginx_max_disk_usage', @@ -929,10 +929,10 @@ # name: test_all_entities[sensor.ct_nginx_max_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-nginx Max memory usage', + : 'data_size', + : 'ct-nginx Max memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_nginx_max_memory_usage', @@ -990,10 +990,10 @@ # name: test_all_entities[sensor.ct_nginx_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-nginx Memory usage', + : 'data_size', + : 'ct-nginx Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_nginx_memory_usage', @@ -1048,9 +1048,9 @@ # name: test_all_entities[sensor.ct_nginx_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ct-nginx Memory usage percentage', + : 'ct-nginx Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ct_nginx_memory_usage_percentage', @@ -1108,10 +1108,10 @@ # name: test_all_entities[sensor.ct_nginx_network_input-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-nginx Network input', + : 'data_size', + : 'ct-nginx Network input', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_nginx_network_input', @@ -1169,10 +1169,10 @@ # name: test_all_entities[sensor.ct_nginx_network_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'ct-nginx Network output', + : 'data_size', + : 'ct-nginx Network output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_nginx_network_output', @@ -1228,8 +1228,8 @@ # name: test_all_entities[sensor.ct_nginx_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'ct-nginx Status', + : 'enum', + : 'ct-nginx Status', : list([ 'running', 'stopped', @@ -1292,10 +1292,10 @@ # name: test_all_entities[sensor.ct_nginx_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'ct-nginx Uptime', + : 'duration', + : 'ct-nginx Uptime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ct_nginx_uptime', @@ -1353,10 +1353,10 @@ # name: test_all_entities[sensor.pve1_backup_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'pve1 Backup duration', + : 'duration', + : 'pve1 Backup duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pve1_backup_duration', @@ -1411,9 +1411,9 @@ # name: test_all_entities[sensor.pve1_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pve1 CPU usage', + : 'pve1 CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pve1_cpu_usage', @@ -1471,10 +1471,10 @@ # name: test_all_entities[sensor.pve1_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'pve1 Disk usage', + : 'data_size', + : 'pve1 Disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pve1_disk_usage', @@ -1524,8 +1524,8 @@ # name: test_all_entities[sensor.pve1_last_backup-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'pve1 Last backup', + : 'timestamp', + : 'pve1 Last backup', }), 'context': , 'entity_id': 'sensor.pve1_last_backup', @@ -1575,7 +1575,7 @@ # name: test_all_entities[sensor.pve1_max_cpu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pve1 Max CPU', + : 'pve1 Max CPU', }), 'context': , 'entity_id': 'sensor.pve1_max_cpu', @@ -1633,10 +1633,10 @@ # name: test_all_entities[sensor.pve1_max_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'pve1 Max disk usage', + : 'data_size', + : 'pve1 Max disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pve1_max_disk_usage', @@ -1694,10 +1694,10 @@ # name: test_all_entities[sensor.pve1_max_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'pve1 Max memory usage', + : 'data_size', + : 'pve1 Max memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pve1_max_memory_usage', @@ -1755,10 +1755,10 @@ # name: test_all_entities[sensor.pve1_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'pve1 Memory usage', + : 'data_size', + : 'pve1 Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pve1_memory_usage', @@ -1813,9 +1813,9 @@ # name: test_all_entities[sensor.pve1_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pve1 Memory usage percentage', + : 'pve1 Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pve1_memory_usage_percentage', @@ -1870,8 +1870,8 @@ # name: test_all_entities[sensor.pve1_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'pve1 Status', + : 'enum', + : 'pve1 Status', : list([ 'online', 'offline', @@ -1933,10 +1933,10 @@ # name: test_all_entities[sensor.pve1_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'pve1 Uptime', + : 'duration', + : 'pve1 Uptime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pve1_uptime', @@ -1994,10 +1994,10 @@ # name: test_all_entities[sensor.storage_local_available_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Storage (local) Available storage', + : 'data_size', + : 'Storage (local) Available storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.storage_local_available_storage', @@ -2049,9 +2049,9 @@ # name: test_all_entities[sensor.storage_local_storage_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (local) Storage usage percentage', + : 'Storage (local) Storage usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.storage_local_storage_usage_percentage', @@ -2109,10 +2109,10 @@ # name: test_all_entities[sensor.storage_local_total_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Storage (local) Total storage', + : 'data_size', + : 'Storage (local) Total storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.storage_local_total_storage', @@ -2170,10 +2170,10 @@ # name: test_all_entities[sensor.storage_local_used_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Storage (local) Used storage', + : 'data_size', + : 'Storage (local) Used storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.storage_local_used_storage', @@ -2231,10 +2231,10 @@ # name: test_all_entities[sensor.storage_synology_available_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Storage (synology) Available storage', + : 'data_size', + : 'Storage (synology) Available storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.storage_synology_available_storage', @@ -2286,9 +2286,9 @@ # name: test_all_entities[sensor.storage_synology_storage_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Storage (synology) Storage usage percentage', + : 'Storage (synology) Storage usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.storage_synology_storage_usage_percentage', @@ -2346,10 +2346,10 @@ # name: test_all_entities[sensor.storage_synology_total_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Storage (synology) Total storage', + : 'data_size', + : 'Storage (synology) Total storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.storage_synology_total_storage', @@ -2407,10 +2407,10 @@ # name: test_all_entities[sensor.storage_synology_used_storage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Storage (synology) Used storage', + : 'data_size', + : 'Storage (synology) Used storage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.storage_synology_used_storage', @@ -2465,9 +2465,9 @@ # name: test_all_entities[sensor.vm_db_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db CPU usage', + : 'vm-db CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.vm_db_cpu_usage', @@ -2525,10 +2525,10 @@ # name: test_all_entities[sensor.vm_db_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-db Disk usage', + : 'data_size', + : 'vm-db Disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_db_disk_usage', @@ -2578,7 +2578,7 @@ # name: test_all_entities[sensor.vm_db_max_cpu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Max CPU', + : 'vm-db Max CPU', }), 'context': , 'entity_id': 'sensor.vm_db_max_cpu', @@ -2636,10 +2636,10 @@ # name: test_all_entities[sensor.vm_db_max_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-db Max disk usage', + : 'data_size', + : 'vm-db Max disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_db_max_disk_usage', @@ -2697,10 +2697,10 @@ # name: test_all_entities[sensor.vm_db_max_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-db Max memory usage', + : 'data_size', + : 'vm-db Max memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_db_max_memory_usage', @@ -2758,10 +2758,10 @@ # name: test_all_entities[sensor.vm_db_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-db Memory usage', + : 'data_size', + : 'vm-db Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_db_memory_usage', @@ -2816,9 +2816,9 @@ # name: test_all_entities[sensor.vm_db_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-db Memory usage percentage', + : 'vm-db Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.vm_db_memory_usage_percentage', @@ -2876,10 +2876,10 @@ # name: test_all_entities[sensor.vm_db_network_input-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-db Network input', + : 'data_size', + : 'vm-db Network input', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_db_network_input', @@ -2937,10 +2937,10 @@ # name: test_all_entities[sensor.vm_db_network_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-db Network output', + : 'data_size', + : 'vm-db Network output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_db_network_output', @@ -2996,8 +2996,8 @@ # name: test_all_entities[sensor.vm_db_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'vm-db Status', + : 'enum', + : 'vm-db Status', : list([ 'running', 'stopped', @@ -3060,10 +3060,10 @@ # name: test_all_entities[sensor.vm_db_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'vm-db Uptime', + : 'duration', + : 'vm-db Uptime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_db_uptime', @@ -3118,9 +3118,9 @@ # name: test_all_entities[sensor.vm_web_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web CPU usage', + : 'vm-web CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.vm_web_cpu_usage', @@ -3178,10 +3178,10 @@ # name: test_all_entities[sensor.vm_web_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-web Disk usage', + : 'data_size', + : 'vm-web Disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_web_disk_usage', @@ -3231,7 +3231,7 @@ # name: test_all_entities[sensor.vm_web_max_cpu-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Max CPU', + : 'vm-web Max CPU', }), 'context': , 'entity_id': 'sensor.vm_web_max_cpu', @@ -3289,10 +3289,10 @@ # name: test_all_entities[sensor.vm_web_max_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-web Max disk usage', + : 'data_size', + : 'vm-web Max disk usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_web_max_disk_usage', @@ -3350,10 +3350,10 @@ # name: test_all_entities[sensor.vm_web_max_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-web Max memory usage', + : 'data_size', + : 'vm-web Max memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_web_max_memory_usage', @@ -3411,10 +3411,10 @@ # name: test_all_entities[sensor.vm_web_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-web Memory usage', + : 'data_size', + : 'vm-web Memory usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_web_memory_usage', @@ -3469,9 +3469,9 @@ # name: test_all_entities[sensor.vm_web_memory_usage_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'vm-web Memory usage percentage', + : 'vm-web Memory usage percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.vm_web_memory_usage_percentage', @@ -3529,10 +3529,10 @@ # name: test_all_entities[sensor.vm_web_network_input-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-web Network input', + : 'data_size', + : 'vm-web Network input', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_web_network_input', @@ -3590,10 +3590,10 @@ # name: test_all_entities[sensor.vm_web_network_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'vm-web Network output', + : 'data_size', + : 'vm-web Network output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_web_network_output', @@ -3649,8 +3649,8 @@ # name: test_all_entities[sensor.vm_web_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'vm-web Status', + : 'enum', + : 'vm-web Status', : list([ 'running', 'stopped', @@ -3713,10 +3713,10 @@ # name: test_all_entities[sensor.vm_web_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'vm-web Uptime', + : 'duration', + : 'vm-web Uptime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vm_web_uptime', diff --git a/tests/components/ptdevices/snapshots/test_sensor.ambr b/tests/components/ptdevices/snapshots/test_sensor.ambr index 6ca684259a7..c765a0674f6 100644 --- a/tests/components/ptdevices/snapshots/test_sensor.ambr +++ b/tests/components/ptdevices/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.garden_rain_barrel_level_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Garden rain barrel Level depth', + : 'distance', + : 'Garden rain barrel Level depth', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_rain_barrel_level_depth', @@ -99,9 +99,9 @@ # name: test_all_entities[sensor.garden_rain_barrel_level_percent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden rain barrel Level percent', + : 'Garden rain barrel Level percent', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_rain_barrel_level_percent', @@ -156,10 +156,10 @@ # name: test_all_entities[sensor.garden_rain_barrel_level_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Garden rain barrel Level volume', + : 'volume_storage', + : 'Garden rain barrel Level volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_rain_barrel_level_volume', @@ -211,10 +211,10 @@ # name: test_all_entities[sensor.garden_rain_barrel_lora_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Garden rain barrel LoRa signal strength', + : 'signal_strength', + : 'Garden rain barrel LoRa signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.garden_rain_barrel_lora_signal_strength', @@ -269,10 +269,10 @@ # name: test_all_entities[sensor.garden_rain_barrel_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Garden rain barrel Probe temperature', + : 'temperature', + : 'Garden rain barrel Probe temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garden_rain_barrel_probe_temperature', @@ -331,8 +331,8 @@ # name: test_all_entities[sensor.garden_rain_barrel_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden rain barrel Status', + : 'enum', + : 'Garden rain barrel Status', : list([ 'working', 'not_connected_yet', @@ -392,9 +392,9 @@ # name: test_all_entities[sensor.garden_rain_barrel_wi_fi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden rain barrel Wi-Fi signal strength', + : 'Garden rain barrel Wi-Fi signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_rain_barrel_wi_fi_signal_strength', @@ -449,10 +449,10 @@ # name: test_all_entities[sensor.home_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Home Battery voltage', + : 'voltage', + : 'Home Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_battery_voltage', @@ -507,10 +507,10 @@ # name: test_all_entities[sensor.home_level_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Home Level depth', + : 'distance', + : 'Home Level depth', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_level_depth', @@ -562,9 +562,9 @@ # name: test_all_entities[sensor.home_level_percent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Level percent', + : 'Home Level percent', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_level_percent', @@ -619,10 +619,10 @@ # name: test_all_entities[sensor.home_level_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Home Level volume', + : 'volume_storage', + : 'Home Level volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_level_volume', @@ -674,10 +674,10 @@ # name: test_all_entities[sensor.home_lora_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Home LoRa signal strength', + : 'signal_strength', + : 'Home LoRa signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.home_lora_signal_strength', @@ -736,8 +736,8 @@ # name: test_all_entities[sensor.home_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Home Status', + : 'enum', + : 'Home Status', : list([ 'working', 'not_connected_yet', @@ -797,9 +797,9 @@ # name: test_all_entities[sensor.home_wi_fi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Wi-Fi signal strength', + : 'Home Wi-Fi signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_wi_fi_signal_strength', diff --git a/tests/components/pterodactyl/snapshots/test_binary_sensor.ambr b/tests/components/pterodactyl/snapshots/test_binary_sensor.ambr index 501deb232b0..99c6467e70d 100644 --- a/tests/components/pterodactyl/snapshots/test_binary_sensor.ambr +++ b/tests/components/pterodactyl/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[binary_sensor.test_server_1_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Server 1 Status', + : 'running', + : 'Test Server 1 Status', }), 'context': , 'entity_id': 'binary_sensor.test_server_1_status', @@ -90,8 +90,8 @@ # name: test_binary_sensor[binary_sensor.test_server_2_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Server 2 Status', + : 'running', + : 'Test Server 2 Status', }), 'context': , 'entity_id': 'binary_sensor.test_server_2_status', diff --git a/tests/components/pyload/snapshots/test_button.ambr b/tests/components/pyload/snapshots/test_button.ambr index b7a39c7995a..c4eb376ec7a 100644 --- a/tests/components/pyload/snapshots/test_button.ambr +++ b/tests/components/pyload/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_state[button.pyload_abort_all_running_downloads-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pyLoad Abort all running downloads', + : 'pyLoad Abort all running downloads', }), 'context': , 'entity_id': 'button.pyload_abort_all_running_downloads', @@ -89,7 +89,7 @@ # name: test_state[button.pyload_delete_finished_files_packages-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pyLoad Delete finished files/packages', + : 'pyLoad Delete finished files/packages', }), 'context': , 'entity_id': 'button.pyload_delete_finished_files_packages', @@ -139,7 +139,7 @@ # name: test_state[button.pyload_restart_all_failed_files-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pyLoad Restart all failed files', + : 'pyLoad Restart all failed files', }), 'context': , 'entity_id': 'button.pyload_restart_all_failed_files', @@ -189,7 +189,7 @@ # name: test_state[button.pyload_restart_pyload_core-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pyLoad Restart pyload core', + : 'pyLoad Restart pyload core', }), 'context': , 'entity_id': 'button.pyload_restart_pyload_core', diff --git a/tests/components/pyload/snapshots/test_sensor.ambr b/tests/components/pyload/snapshots/test_sensor.ambr index fff689f1bbe..c066ed849fb 100644 --- a/tests/components/pyload/snapshots/test_sensor.ambr +++ b/tests/components/pyload/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_setup[sensor.pyload_active_downloads-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pyLoad Active downloads', + : 'pyLoad Active downloads', : , - 'unit_of_measurement': 'downloads', + : 'downloads', }), 'context': , 'entity_id': 'sensor.pyload_active_downloads', @@ -95,9 +95,9 @@ # name: test_setup[sensor.pyload_downloads_in_queue-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pyLoad Downloads in queue', + : 'pyLoad Downloads in queue', : , - 'unit_of_measurement': 'downloads', + : 'downloads', }), 'context': , 'entity_id': 'sensor.pyload_downloads_in_queue', @@ -153,9 +153,9 @@ # name: test_setup[sensor.pyload_free_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'pyLoad Free space', - 'unit_of_measurement': , + : 'data_size', + : 'pyLoad Free space', + : , }), 'context': , 'entity_id': 'sensor.pyload_free_space', @@ -211,9 +211,9 @@ # name: test_setup[sensor.pyload_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'pyLoad Speed', - 'unit_of_measurement': , + : 'data_rate', + : 'pyLoad Speed', + : , }), 'context': , 'entity_id': 'sensor.pyload_speed', @@ -265,9 +265,9 @@ # name: test_setup[sensor.pyload_total_downloads-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'pyLoad Total downloads', + : 'pyLoad Total downloads', : , - 'unit_of_measurement': 'downloads', + : 'downloads', }), 'context': , 'entity_id': 'sensor.pyload_total_downloads', diff --git a/tests/components/pyload/snapshots/test_switch.ambr b/tests/components/pyload/snapshots/test_switch.ambr index 49f9529fd4e..9819a9f381c 100644 --- a/tests/components/pyload/snapshots/test_switch.ambr +++ b/tests/components/pyload/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_state[switch.pyload_auto_reconnect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'pyLoad Auto-Reconnect', + : 'switch', + : 'pyLoad Auto-Reconnect', }), 'context': , 'entity_id': 'switch.pyload_auto_reconnect', @@ -90,8 +90,8 @@ # name: test_state[switch.pyload_pause_resume_queue-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'pyLoad Pause/Resume queue', + : 'switch', + : 'pyLoad Pause/Resume queue', }), 'context': , 'entity_id': 'switch.pyload_pause_resume_queue', diff --git a/tests/components/qbittorrent/snapshots/test_sensor.ambr b/tests/components/qbittorrent/snapshots/test_sensor.ambr index ccf804b740f..b9c160dc1ba 100644 --- a/tests/components/qbittorrent/snapshots/test_sensor.ambr +++ b/tests/components/qbittorrent/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entities[sensor.mock_title_active_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Active torrents', - 'unit_of_measurement': 'torrents', + : 'Mock Title Active torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.mock_title_active_torrents', @@ -98,10 +98,10 @@ # name: test_entities[sensor.mock_title_all_time_download-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title All-time download', + : 'data_size', + : 'Mock Title All-time download', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_all_time_download', @@ -159,10 +159,10 @@ # name: test_entities[sensor.mock_title_all_time_upload-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title All-time upload', + : 'data_size', + : 'Mock Title All-time upload', : , - 'unit_of_measurement': 'TiB', + : 'TiB', }), 'context': , 'entity_id': 'sensor.mock_title_all_time_upload', @@ -212,8 +212,8 @@ # name: test_entities[sensor.mock_title_all_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title All torrents', - 'unit_of_measurement': 'torrents', + : 'Mock Title All torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.mock_title_all_torrents', @@ -269,8 +269,8 @@ # name: test_entities[sensor.mock_title_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Connection status', + : 'enum', + : 'Mock Title Connection status', : list([ 'connected', 'firewalled', @@ -333,10 +333,10 @@ # name: test_entities[sensor.mock_title_download_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Download speed', + : 'data_rate', + : 'Mock Title Download speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_download_speed', @@ -394,10 +394,10 @@ # name: test_entities[sensor.mock_title_download_speed_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Download speed limit', + : 'data_rate', + : 'Mock Title Download speed limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_download_speed_limit', @@ -447,8 +447,8 @@ # name: test_entities[sensor.mock_title_errored_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Errored torrents', - 'unit_of_measurement': 'torrents', + : 'Mock Title Errored torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.mock_title_errored_torrents', @@ -500,7 +500,7 @@ # name: test_entities[sensor.mock_title_global_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Global ratio', + : 'Mock Title Global ratio', : , }), 'context': , @@ -551,8 +551,8 @@ # name: test_entities[sensor.mock_title_inactive_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Inactive torrents', - 'unit_of_measurement': 'torrents', + : 'Mock Title Inactive torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.mock_title_inactive_torrents', @@ -602,8 +602,8 @@ # name: test_entities[sensor.mock_title_paused_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Paused torrents', - 'unit_of_measurement': 'torrents', + : 'Mock Title Paused torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.mock_title_paused_torrents', @@ -660,8 +660,8 @@ # name: test_entities[sensor.mock_title_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Status', + : 'enum', + : 'Mock Title Status', : list([ 'idle', 'up_down', @@ -725,10 +725,10 @@ # name: test_entities[sensor.mock_title_upload_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Upload speed', + : 'data_rate', + : 'Mock Title Upload speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_upload_speed', @@ -786,10 +786,10 @@ # name: test_entities[sensor.mock_title_upload_speed_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Mock Title Upload speed limit', + : 'data_rate', + : 'Mock Title Upload speed limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_upload_speed_limit', diff --git a/tests/components/qbus/snapshots/test_binary_sensor.ambr b/tests/components/qbus/snapshots/test_binary_sensor.ambr index d4533e279dc..fb464bac2f3 100644 --- a/tests/components/qbus/snapshots/test_binary_sensor.ambr +++ b/tests/components/qbus/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[binary_sensor.ctd_000001-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'CTD 000001', + : 'connectivity', + : 'CTD 000001', }), 'context': , 'entity_id': 'binary_sensor.ctd_000001', @@ -90,7 +90,7 @@ # name: test_binary_sensor[binary_sensor.tuin_weersensor_raining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Weersensor Raining', + : 'Weersensor Raining', }), 'context': , 'entity_id': 'binary_sensor.tuin_weersensor_raining', @@ -140,7 +140,7 @@ # name: test_binary_sensor[binary_sensor.tuin_weersensor_twilight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Weersensor Twilight', + : 'Weersensor Twilight', }), 'context': , 'entity_id': 'binary_sensor.tuin_weersensor_twilight', diff --git a/tests/components/qbus/snapshots/test_light.ambr b/tests/components/qbus/snapshots/test_light.ambr index 960d8c909cd..6de3f2efe73 100644 --- a/tests/components/qbus/snapshots/test_light.ambr +++ b/tests/components/qbus/snapshots/test_light.ambr @@ -45,13 +45,13 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Kabinet', + : 'Kabinet', : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -108,11 +108,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Media Room', + : 'Media Room', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.media_room_media_room', @@ -183,13 +183,13 @@ 'Seq.3', 'Seq.4', ]), - 'friendly_name': 'Tv', + : 'Tv', : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/qbus/snapshots/test_select.ambr b/tests/components/qbus/snapshots/test_select.ambr index a5c0eef8c7f..c3d92561452 100644 --- a/tests/components/qbus/snapshots/test_select.ambr +++ b/tests/components/qbus/snapshots/test_select.ambr @@ -53,7 +53,7 @@ # name: test_select[select.ctd_000001_stepper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CTD 000001 Stepper', + : 'CTD 000001 Stepper', : list([ '0', 'Here comes', diff --git a/tests/components/qbus/snapshots/test_sensor.ambr b/tests/components/qbus/snapshots/test_sensor.ambr index 80aec256494..2a92f6af602 100644 --- a/tests/components/qbus/snapshots/test_sensor.ambr +++ b/tests/components/qbus/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.garage_energie-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energie', + : 'energy', + : 'Energie', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.garage_energie', @@ -102,10 +102,10 @@ # name: test_sensor[sensor.garage_gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Gas', + : 'volume_flow_rate', + : 'Gas', : , - 'unit_of_measurement': 'm³/h', + : 'm³/h', }), 'context': , 'entity_id': 'sensor.garage_gas', @@ -160,10 +160,10 @@ # name: test_sensor[sensor.garage_gas_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Gas Flow', + : 'volume_flow_rate', + : 'Gas Flow', : , - 'unit_of_measurement': 'm³/h', + : 'm³/h', }), 'context': , 'entity_id': 'sensor.garage_gas_flow', @@ -218,10 +218,10 @@ # name: test_sensor[sensor.garage_stroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Stroom', + : 'current', + : 'Stroom', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.garage_stroom', @@ -273,10 +273,10 @@ # name: test_sensor[sensor.kitchen_vochtigheid_keuken-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Vochtigheid Keuken', + : 'humidity', + : 'Vochtigheid Keuken', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kitchen_vochtigheid_keuken', @@ -331,10 +331,10 @@ # name: test_sensor[sensor.living_living_th_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living Th Temperature', + : 'temperature', + : 'Living Th Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_living_th_temperature', @@ -389,10 +389,10 @@ # name: test_sensor[sensor.living_vochtigheid_living-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Vochtigheid Living', + : 'humidity', + : 'Vochtigheid Living', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_vochtigheid_living', @@ -447,10 +447,10 @@ # name: test_sensor[sensor.luchtsensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Luchtsensor', + : 'carbon_dioxide', + : 'Luchtsensor', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.luchtsensor', @@ -505,10 +505,10 @@ # name: test_sensor[sensor.tuin_lichtsterkte_tuin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Lichtsterkte Tuin', + : 'illuminance', + : 'Lichtsterkte Tuin', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tuin_lichtsterkte_tuin', @@ -563,10 +563,10 @@ # name: test_sensor[sensor.tuin_luchtdruk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Luchtdruk', + : 'pressure', + : 'Luchtdruk', : , - 'unit_of_measurement': 'mbar', + : 'mbar', }), 'context': , 'entity_id': 'sensor.tuin_luchtdruk', @@ -621,10 +621,10 @@ # name: test_sensor[sensor.tuin_luchtkwaliteit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Luchtkwaliteit', + : 'carbon_dioxide', + : 'Luchtkwaliteit', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.tuin_luchtkwaliteit', @@ -679,10 +679,10 @@ # name: test_sensor[sensor.tuin_regenput-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Regenput', + : 'distance', + : 'Regenput', : , - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'sensor.tuin_regenput', @@ -737,10 +737,10 @@ # name: test_sensor[sensor.tuin_weersensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Weersensor', + : 'temperature', + : 'Weersensor', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tuin_weersensor', @@ -792,10 +792,10 @@ # name: test_sensor[sensor.tuin_weersensor_daylight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Weersensor Daylight', + : 'illuminance', + : 'Weersensor Daylight', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tuin_weersensor_daylight', @@ -847,10 +847,10 @@ # name: test_sensor[sensor.tuin_weersensor_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Weersensor Illuminance', + : 'illuminance', + : 'Weersensor Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tuin_weersensor_illuminance', @@ -902,10 +902,10 @@ # name: test_sensor[sensor.tuin_weersensor_illuminance_east-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Weersensor Illuminance east', + : 'illuminance', + : 'Weersensor Illuminance east', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tuin_weersensor_illuminance_east', @@ -957,10 +957,10 @@ # name: test_sensor[sensor.tuin_weersensor_illuminance_south-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Weersensor Illuminance south', + : 'illuminance', + : 'Weersensor Illuminance south', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tuin_weersensor_illuminance_south', @@ -1012,10 +1012,10 @@ # name: test_sensor[sensor.tuin_weersensor_illuminance_west-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Weersensor Illuminance west', + : 'illuminance', + : 'Weersensor Illuminance west', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tuin_weersensor_illuminance_west', @@ -1070,10 +1070,10 @@ # name: test_sensor[sensor.tuin_weersensor_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'Weersensor Wind speed', + : 'wind_speed', + : 'Weersensor Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tuin_weersensor_wind_speed', diff --git a/tests/components/rainforest_raven/snapshots/test_sensor.ambr b/tests/components/rainforest_raven/snapshots/test_sensor.ambr index 4464445acf9..2d0c3439873 100644 --- a/tests/components/rainforest_raven/snapshots/test_sensor.ambr +++ b/tests/components/rainforest_raven/snapshots/test_sensor.ambr @@ -41,11 +41,11 @@ # name: test_sensors[sensor.raven_device_energy_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RAVEn Device Energy price', + : 'RAVEn Device Energy price', 'rate_label': 'Set by user', : , 'tier': 3, - 'unit_of_measurement': 'USD/kWh', + : 'USD/kWh', }), 'context': , 'entity_id': 'sensor.raven_device_energy_price', @@ -100,10 +100,10 @@ # name: test_sensors[sensor.raven_device_power_demand-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'RAVEn Device Power demand', + : 'power', + : 'RAVEn Device Power demand', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.raven_device_power_demand', @@ -156,9 +156,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'channel': 13, - 'friendly_name': 'RAVEn Device Signal strength', + : 'RAVEn Device Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.raven_device_signal_strength', @@ -213,10 +213,10 @@ # name: test_sensors[sensor.raven_device_total_energy_delivered-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'RAVEn Device Total energy delivered', + : 'energy', + : 'RAVEn Device Total energy delivered', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.raven_device_total_energy_delivered', @@ -271,10 +271,10 @@ # name: test_sensors[sensor.raven_device_total_energy_received-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'RAVEn Device Total energy received', + : 'energy', + : 'RAVEn Device Total energy received', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.raven_device_total_energy_received', diff --git a/tests/components/rainmachine/snapshots/test_binary_sensor.ambr b/tests/components/rainmachine/snapshots/test_binary_sensor.ambr index 71ed5d15b0d..f2360d0a309 100644 --- a/tests/components/rainmachine/snapshots/test_binary_sensor.ambr +++ b/tests/components/rainmachine/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensors[binary_sensor.12345_freeze_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Freeze restrictions', + : '12345 Freeze restrictions', }), 'context': , 'entity_id': 'binary_sensor.12345_freeze_restrictions', @@ -89,7 +89,7 @@ # name: test_binary_sensors[binary_sensor.12345_hourly_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Hourly restrictions', + : '12345 Hourly restrictions', }), 'context': , 'entity_id': 'binary_sensor.12345_hourly_restrictions', @@ -139,7 +139,7 @@ # name: test_binary_sensors[binary_sensor.12345_month_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Month restrictions', + : '12345 Month restrictions', }), 'context': , 'entity_id': 'binary_sensor.12345_month_restrictions', @@ -189,7 +189,7 @@ # name: test_binary_sensors[binary_sensor.12345_rain_delay_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Rain delay restrictions', + : '12345 Rain delay restrictions', }), 'context': , 'entity_id': 'binary_sensor.12345_rain_delay_restrictions', @@ -239,7 +239,7 @@ # name: test_binary_sensors[binary_sensor.12345_rain_sensor_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Rain sensor restrictions', + : '12345 Rain sensor restrictions', }), 'context': , 'entity_id': 'binary_sensor.12345_rain_sensor_restrictions', @@ -289,7 +289,7 @@ # name: test_binary_sensors[binary_sensor.12345_weekday_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Weekday restrictions', + : '12345 Weekday restrictions', }), 'context': , 'entity_id': 'binary_sensor.12345_weekday_restrictions', diff --git a/tests/components/rainmachine/snapshots/test_button.ambr b/tests/components/rainmachine/snapshots/test_button.ambr index cb3b0cf37d3..6b471ab66ab 100644 --- a/tests/components/rainmachine/snapshots/test_button.ambr +++ b/tests/components/rainmachine/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_buttons[button.12345_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': '12345 Restart', + : 'restart', + : '12345 Restart', }), 'context': , 'entity_id': 'button.12345_restart', diff --git a/tests/components/rainmachine/snapshots/test_select.ambr b/tests/components/rainmachine/snapshots/test_select.ambr index fa1c87ab962..76fc8fd109f 100644 --- a/tests/components/rainmachine/snapshots/test_select.ambr +++ b/tests/components/rainmachine/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_select_entities[select.12345_freeze_protection_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Freeze protection temperature', + : '12345 Freeze protection temperature', : list([ '0°C', '2°C', diff --git a/tests/components/rainmachine/snapshots/test_sensor.ambr b/tests/components/rainmachine/snapshots/test_sensor.ambr index f89f1f2b651..49e9e059f09 100644 --- a/tests/components/rainmachine/snapshots/test_sensor.ambr +++ b/tests/components/rainmachine/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[sensor.12345_evening_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Evening Run Completion Time', + : 'timestamp', + : '12345 Evening Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_evening_run_completion_time', @@ -90,8 +90,8 @@ # name: test_sensors[sensor.12345_flower_box_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Flower Box Run Completion Time', + : 'timestamp', + : '12345 Flower Box Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_flower_box_run_completion_time', @@ -141,8 +141,8 @@ # name: test_sensors[sensor.12345_landscaping_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Landscaping Run Completion Time', + : 'timestamp', + : '12345 Landscaping Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_landscaping_run_completion_time', @@ -192,8 +192,8 @@ # name: test_sensors[sensor.12345_morning_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Morning Run Completion Time', + : 'timestamp', + : '12345 Morning Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_morning_run_completion_time', @@ -243,9 +243,9 @@ # name: test_sensors[sensor.12345_rain_sensor_rain_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Rain sensor rain start', - 'icon': 'mdi:weather-pouring', + : 'timestamp', + : '12345 Rain sensor rain start', + : 'mdi:weather-pouring', }), 'context': , 'entity_id': 'sensor.12345_rain_sensor_rain_start', @@ -295,8 +295,8 @@ # name: test_sensors[sensor.12345_test_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 TEST Run Completion Time', + : 'timestamp', + : '12345 TEST Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_test_run_completion_time', @@ -346,8 +346,8 @@ # name: test_sensors[sensor.12345_zone_10_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 10 Run Completion Time', + : 'timestamp', + : '12345 Zone 10 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_10_run_completion_time', @@ -397,8 +397,8 @@ # name: test_sensors[sensor.12345_zone_11_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 11 Run Completion Time', + : 'timestamp', + : '12345 Zone 11 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_11_run_completion_time', @@ -448,8 +448,8 @@ # name: test_sensors[sensor.12345_zone_12_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 12 Run Completion Time', + : 'timestamp', + : '12345 Zone 12 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_12_run_completion_time', @@ -499,8 +499,8 @@ # name: test_sensors[sensor.12345_zone_4_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 4 Run Completion Time', + : 'timestamp', + : '12345 Zone 4 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_4_run_completion_time', @@ -550,8 +550,8 @@ # name: test_sensors[sensor.12345_zone_5_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 5 Run Completion Time', + : 'timestamp', + : '12345 Zone 5 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_5_run_completion_time', @@ -601,8 +601,8 @@ # name: test_sensors[sensor.12345_zone_6_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 6 Run Completion Time', + : 'timestamp', + : '12345 Zone 6 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_6_run_completion_time', @@ -652,8 +652,8 @@ # name: test_sensors[sensor.12345_zone_7_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 7 Run Completion Time', + : 'timestamp', + : '12345 Zone 7 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_7_run_completion_time', @@ -703,8 +703,8 @@ # name: test_sensors[sensor.12345_zone_8_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 8 Run Completion Time', + : 'timestamp', + : '12345 Zone 8 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_8_run_completion_time', @@ -754,8 +754,8 @@ # name: test_sensors[sensor.12345_zone_9_run_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '12345 Zone 9 Run Completion Time', + : 'timestamp', + : '12345 Zone 9 Run Completion Time', }), 'context': , 'entity_id': 'sensor.12345_zone_9_run_completion_time', diff --git a/tests/components/rainmachine/snapshots/test_switch.ambr b/tests/components/rainmachine/snapshots/test_switch.ambr index 24db14b77b9..43eb7fc7659 100644 --- a/tests/components/rainmachine/snapshots/test_switch.ambr +++ b/tests/components/rainmachine/snapshots/test_switch.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'program', - 'friendly_name': '12345 Evening', - 'icon': 'mdi:water', + : '12345 Evening', + : 'mdi:water', 'id': 2, 'next_run': '2018-06-04T06:00:00', 'soak': 0, @@ -116,8 +116,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'program', - 'friendly_name': '12345 Evening enabled', - 'icon': 'mdi:cog', + : '12345 Evening enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_evening_enabled', @@ -167,8 +167,8 @@ # name: test_switches[switch.12345_extra_water_on_hot_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Extra water on hot days', - 'icon': 'mdi:heat-wave', + : '12345 Extra water on hot days', + : 'mdi:heat-wave', }), 'context': , 'entity_id': 'switch.12345_extra_water_on_hot_days', @@ -222,8 +222,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.17, - 'friendly_name': '12345 Flower box', - 'icon': 'mdi:water', + : '12345 Flower box', + : 'mdi:water', 'id': 2, 'number_of_cycles': 0, 'restrictions': False, @@ -284,8 +284,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Flower box enabled', - 'icon': 'mdi:cog', + : '12345 Flower box enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_flower_box_enabled', @@ -335,8 +335,8 @@ # name: test_switches[switch.12345_freeze_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '12345 Freeze protection', - 'icon': 'mdi:snowflake-alert', + : '12345 Freeze protection', + : 'mdi:snowflake-alert', }), 'context': , 'entity_id': 'switch.12345_freeze_protection', @@ -390,8 +390,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.17, - 'friendly_name': '12345 Landscaping', - 'icon': 'mdi:water', + : '12345 Landscaping', + : 'mdi:water', 'id': 1, 'number_of_cycles': 0, 'restrictions': False, @@ -452,8 +452,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Landscaping enabled', - 'icon': 'mdi:cog', + : '12345 Landscaping enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_landscaping_enabled', @@ -504,8 +504,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'program', - 'friendly_name': '12345 Morning', - 'icon': 'mdi:water', + : '12345 Morning', + : 'mdi:water', 'id': 1, 'next_run': '2018-06-04T06:00:00', 'soak': 0, @@ -580,8 +580,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'program', - 'friendly_name': '12345 Morning enabled', - 'icon': 'mdi:cog', + : '12345 Morning enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_morning_enabled', @@ -635,8 +635,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Test', - 'icon': 'mdi:water', + : '12345 Test', + : 'mdi:water', 'id': 3, 'number_of_cycles': 0, 'restrictions': False, @@ -697,8 +697,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Test enabled', - 'icon': 'mdi:cog', + : '12345 Test enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_test_enabled', @@ -752,8 +752,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 10', - 'icon': 'mdi:water', + : '12345 Zone 10', + : 'mdi:water', 'id': 10, 'number_of_cycles': 0, 'restrictions': False, @@ -814,8 +814,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 10 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 10 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_10_enabled', @@ -869,8 +869,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 11', - 'icon': 'mdi:water', + : '12345 Zone 11', + : 'mdi:water', 'id': 11, 'number_of_cycles': 0, 'restrictions': False, @@ -931,8 +931,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 11 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 11 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_11_enabled', @@ -986,8 +986,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 12', - 'icon': 'mdi:water', + : '12345 Zone 12', + : 'mdi:water', 'id': 12, 'number_of_cycles': 0, 'restrictions': False, @@ -1048,8 +1048,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 12 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 12 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_12_enabled', @@ -1103,8 +1103,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 4', - 'icon': 'mdi:water', + : '12345 Zone 4', + : 'mdi:water', 'id': 4, 'number_of_cycles': 0, 'restrictions': False, @@ -1165,8 +1165,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 4 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 4 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_4_enabled', @@ -1220,8 +1220,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 5', - 'icon': 'mdi:water', + : '12345 Zone 5', + : 'mdi:water', 'id': 5, 'number_of_cycles': 0, 'restrictions': False, @@ -1282,8 +1282,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 5 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 5 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_5_enabled', @@ -1337,8 +1337,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 6', - 'icon': 'mdi:water', + : '12345 Zone 6', + : 'mdi:water', 'id': 6, 'number_of_cycles': 0, 'restrictions': False, @@ -1399,8 +1399,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 6 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 6 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_6_enabled', @@ -1454,8 +1454,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 7', - 'icon': 'mdi:water', + : '12345 Zone 7', + : 'mdi:water', 'id': 7, 'number_of_cycles': 0, 'restrictions': False, @@ -1516,8 +1516,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 7 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 7 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_7_enabled', @@ -1571,8 +1571,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 8', - 'icon': 'mdi:water', + : '12345 Zone 8', + : 'mdi:water', 'id': 8, 'number_of_cycles': 0, 'restrictions': False, @@ -1633,8 +1633,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 8 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 8 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_8_enabled', @@ -1688,8 +1688,8 @@ 'area': 92.9, 'current_cycle': 0, 'field_capacity': 0.3, - 'friendly_name': '12345 Zone 9', - 'icon': 'mdi:water', + : '12345 Zone 9', + : 'mdi:water', 'id': 9, 'number_of_cycles': 0, 'restrictions': False, @@ -1750,8 +1750,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'activity_type': 'zone', - 'friendly_name': '12345 Zone 9 enabled', - 'icon': 'mdi:cog', + : '12345 Zone 9 enabled', + : 'mdi:cog', }), 'context': , 'entity_id': 'switch.12345_zone_9_enabled', diff --git a/tests/components/redgtech/snapshots/test_switch.ambr b/tests/components/redgtech/snapshots/test_switch.ambr index fd9792ac163..bfc529cfc11 100644 --- a/tests/components/redgtech/snapshots/test_switch.ambr +++ b/tests/components/redgtech/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.kitchen_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Switch', + : 'Kitchen Switch', }), 'context': , 'entity_id': 'switch.kitchen_switch', @@ -89,7 +89,7 @@ # name: test_entities[switch.living_room_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Switch', + : 'Living Room Switch', }), 'context': , 'entity_id': 'switch.living_room_switch', diff --git a/tests/components/rehlko/snapshots/test_binary_sensor.ambr b/tests/components/rehlko/snapshots/test_binary_sensor.ambr index 1f409c96ee9..a14fa432250 100644 --- a/tests/components/rehlko/snapshots/test_binary_sensor.ambr +++ b/tests/components/rehlko/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensors[binary_sensor.generator_1_auto_run-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Auto run', + : 'Generator 1 Auto run', }), 'context': , 'entity_id': 'binary_sensor.generator_1_auto_run', @@ -89,8 +89,8 @@ # name: test_sensors[binary_sensor.generator_1_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Generator 1 Connectivity', + : 'connectivity', + : 'Generator 1 Connectivity', }), 'context': , 'entity_id': 'binary_sensor.generator_1_connectivity', @@ -140,7 +140,7 @@ # name: test_sensors[binary_sensor.generator_1_load_shed_hvac_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Load shed HVAC A', + : 'Generator 1 Load shed HVAC A', }), 'context': , 'entity_id': 'binary_sensor.generator_1_load_shed_hvac_a', @@ -190,7 +190,7 @@ # name: test_sensors[binary_sensor.generator_1_load_shed_hvac_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Load shed HVAC B', + : 'Generator 1 Load shed HVAC B', }), 'context': , 'entity_id': 'binary_sensor.generator_1_load_shed_hvac_b', @@ -240,7 +240,7 @@ # name: test_sensors[binary_sensor.generator_1_load_shed_load_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Load shed Load A', + : 'Generator 1 Load shed Load A', }), 'context': , 'entity_id': 'binary_sensor.generator_1_load_shed_load_a', @@ -290,7 +290,7 @@ # name: test_sensors[binary_sensor.generator_1_load_shed_load_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Load shed Load B', + : 'Generator 1 Load shed Load B', }), 'context': , 'entity_id': 'binary_sensor.generator_1_load_shed_load_b', @@ -340,7 +340,7 @@ # name: test_sensors[binary_sensor.generator_1_load_shed_load_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Load shed Load C', + : 'Generator 1 Load shed Load C', }), 'context': , 'entity_id': 'binary_sensor.generator_1_load_shed_load_c', @@ -390,7 +390,7 @@ # name: test_sensors[binary_sensor.generator_1_load_shed_load_d-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Load shed Load D', + : 'Generator 1 Load shed Load D', }), 'context': , 'entity_id': 'binary_sensor.generator_1_load_shed_load_d', @@ -440,8 +440,8 @@ # name: test_sensors[binary_sensor.generator_1_oil_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Generator 1 Oil pressure', + : 'problem', + : 'Generator 1 Oil pressure', }), 'context': , 'entity_id': 'binary_sensor.generator_1_oil_pressure', diff --git a/tests/components/rehlko/snapshots/test_sensor.ambr b/tests/components/rehlko/snapshots/test_sensor.ambr index 49acb0a8edc..ee603388aeb 100644 --- a/tests/components/rehlko/snapshots/test_sensor.ambr +++ b/tests/components/rehlko/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.generator_1_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Generator 1 Battery voltage', + : 'voltage', + : 'Generator 1 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_battery_voltage', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.generator_1_controller_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Generator 1 Controller temperature', + : 'temperature', + : 'Generator 1 Controller temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_controller_temperature', @@ -155,7 +155,7 @@ # name: test_sensors[sensor.generator_1_device_ip_address-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Device IP address', + : 'Generator 1 Device IP address', }), 'context': , 'entity_id': 'sensor.generator_1_device_ip_address', @@ -210,10 +210,10 @@ # name: test_sensors[sensor.generator_1_engine_compartment_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Generator 1 Engine compartment temperature', + : 'temperature', + : 'Generator 1 Engine compartment temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_engine_compartment_temperature', @@ -268,10 +268,10 @@ # name: test_sensors[sensor.generator_1_engine_coolant_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Generator 1 Engine coolant temperature', + : 'temperature', + : 'Generator 1 Engine coolant temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_engine_coolant_temperature', @@ -326,10 +326,10 @@ # name: test_sensors[sensor.generator_1_engine_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Generator 1 Engine frequency', + : 'frequency', + : 'Generator 1 Engine frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_engine_frequency', @@ -387,10 +387,10 @@ # name: test_sensors[sensor.generator_1_engine_oil_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Generator 1 Engine oil pressure', + : 'pressure', + : 'Generator 1 Engine oil pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_engine_oil_pressure', @@ -442,9 +442,9 @@ # name: test_sensors[sensor.generator_1_engine_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Engine speed', + : 'Generator 1 Engine speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.generator_1_engine_speed', @@ -494,7 +494,7 @@ # name: test_sensors[sensor.generator_1_engine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Engine state', + : 'Generator 1 Engine state', }), 'context': , 'entity_id': 'sensor.generator_1_engine_state', @@ -549,10 +549,10 @@ # name: test_sensors[sensor.generator_1_generator_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Generator 1 Generator load', + : 'power', + : 'Generator 1 Generator load', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_generator_load', @@ -604,9 +604,9 @@ # name: test_sensors[sensor.generator_1_generator_load_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Generator load percentage', + : 'Generator 1 Generator load percentage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.generator_1_generator_load_percentage', @@ -656,7 +656,7 @@ # name: test_sensors[sensor.generator_1_generator_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Generator status', + : 'Generator 1 Generator status', }), 'context': , 'entity_id': 'sensor.generator_1_generator_status', @@ -706,8 +706,8 @@ # name: test_sensors[sensor.generator_1_last_exercise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Generator 1 Last exercise', + : 'timestamp', + : 'Generator 1 Last exercise', }), 'context': , 'entity_id': 'sensor.generator_1_last_exercise', @@ -757,8 +757,8 @@ # name: test_sensors[sensor.generator_1_last_maintainance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Generator 1 Last maintainance', + : 'timestamp', + : 'Generator 1 Last maintainance', }), 'context': , 'entity_id': 'sensor.generator_1_last_maintainance', @@ -808,8 +808,8 @@ # name: test_sensors[sensor.generator_1_last_run-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Generator 1 Last run', + : 'timestamp', + : 'Generator 1 Last run', }), 'context': , 'entity_id': 'sensor.generator_1_last_run', @@ -864,10 +864,10 @@ # name: test_sensors[sensor.generator_1_lube_oil_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Generator 1 Lube oil temperature', + : 'temperature', + : 'Generator 1 Lube oil temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_lube_oil_temperature', @@ -917,8 +917,8 @@ # name: test_sensors[sensor.generator_1_next_exercise-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Generator 1 Next exercise', + : 'timestamp', + : 'Generator 1 Next exercise', }), 'context': , 'entity_id': 'sensor.generator_1_next_exercise', @@ -968,8 +968,8 @@ # name: test_sensors[sensor.generator_1_next_maintainance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Generator 1 Next maintainance', + : 'timestamp', + : 'Generator 1 Next maintainance', }), 'context': , 'entity_id': 'sensor.generator_1_next_maintainance', @@ -1019,7 +1019,7 @@ # name: test_sensors[sensor.generator_1_power_source-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Power source', + : 'Generator 1 Power source', }), 'context': , 'entity_id': 'sensor.generator_1_power_source', @@ -1074,10 +1074,10 @@ # name: test_sensors[sensor.generator_1_runtime_since_last_maintenance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Generator 1 Runtime since last maintenance', + : 'duration', + : 'Generator 1 Runtime since last maintenance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_runtime_since_last_maintenance', @@ -1127,7 +1127,7 @@ # name: test_sensors[sensor.generator_1_server_ip_address-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Generator 1 Server IP address', + : 'Generator 1 Server IP address', }), 'context': , 'entity_id': 'sensor.generator_1_server_ip_address', @@ -1182,10 +1182,10 @@ # name: test_sensors[sensor.generator_1_total_operation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Generator 1 Total operation', + : 'duration', + : 'Generator 1 Total operation', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_total_operation', @@ -1240,10 +1240,10 @@ # name: test_sensors[sensor.generator_1_total_runtime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Generator 1 Total runtime', + : 'duration', + : 'Generator 1 Total runtime', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_total_runtime', @@ -1298,10 +1298,10 @@ # name: test_sensors[sensor.generator_1_utility_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Generator 1 Utility voltage', + : 'voltage', + : 'Generator 1 Utility voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_utility_voltage', @@ -1356,10 +1356,10 @@ # name: test_sensors[sensor.generator_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Generator 1 Voltage', + : 'voltage', + : 'Generator 1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.generator_1_voltage', diff --git a/tests/components/renault/snapshots/test_binary_sensor.ambr b/tests/components/renault/snapshots/test_binary_sensor.ambr index 7f419d3ac62..06e6f264097 100644 --- a/tests/components/renault/snapshots/test_binary_sensor.ambr +++ b/tests/components/renault/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_empty[zoe_40][binary_sensor.reg_zoe_40_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'REG-ZOE-40 Charging', + : 'battery_charging', + : 'REG-ZOE-40 Charging', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_charging', @@ -90,7 +90,7 @@ # name: test_binary_sensor_empty[zoe_40][binary_sensor.reg_zoe_40_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 HVAC', + : 'REG-ZOE-40 HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_hvac', @@ -140,8 +140,8 @@ # name: test_binary_sensor_empty[zoe_40][binary_sensor.reg_zoe_40_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'REG-ZOE-40 Plug', + : 'plug', + : 'REG-ZOE-40 Plug', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_plug', @@ -191,8 +191,8 @@ # name: test_binary_sensor_errors[zoe_40][binary_sensor.reg_zoe_40_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'REG-ZOE-40 Charging', + : 'battery_charging', + : 'REG-ZOE-40 Charging', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_charging', @@ -242,7 +242,7 @@ # name: test_binary_sensor_errors[zoe_40][binary_sensor.reg_zoe_40_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 HVAC', + : 'REG-ZOE-40 HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_hvac', @@ -292,8 +292,8 @@ # name: test_binary_sensor_errors[zoe_40][binary_sensor.reg_zoe_40_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'REG-ZOE-40 Plug', + : 'plug', + : 'REG-ZOE-40 Plug', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_plug', @@ -343,7 +343,7 @@ # name: test_binary_sensors[captur_fuel][binary_sensor.reg_captur_fuel_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR-FUEL HVAC', + : 'REG-CAPTUR-FUEL HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_captur_fuel_hvac', @@ -393,8 +393,8 @@ # name: test_binary_sensors[captur_phev][binary_sensor.reg_captur_phev_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'REG-CAPTUR_PHEV Charging', + : 'battery_charging', + : 'REG-CAPTUR_PHEV Charging', }), 'context': , 'entity_id': 'binary_sensor.reg_captur_phev_charging', @@ -444,7 +444,7 @@ # name: test_binary_sensors[captur_phev][binary_sensor.reg_captur_phev_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR_PHEV HVAC', + : 'REG-CAPTUR_PHEV HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_captur_phev_hvac', @@ -494,8 +494,8 @@ # name: test_binary_sensors[captur_phev][binary_sensor.reg_captur_phev_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'REG-CAPTUR_PHEV Plug', + : 'plug', + : 'REG-CAPTUR_PHEV Plug', }), 'context': , 'entity_id': 'binary_sensor.reg_captur_phev_plug', @@ -545,8 +545,8 @@ # name: test_binary_sensors[megane_e_tech][binary_sensor.reg_meg_0_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'REG-MEG-0 Charging', + : 'battery_charging', + : 'REG-MEG-0 Charging', }), 'context': , 'entity_id': 'binary_sensor.reg_meg_0_charging', @@ -596,7 +596,7 @@ # name: test_binary_sensors[megane_e_tech][binary_sensor.reg_meg_0_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-MEG-0 HVAC', + : 'REG-MEG-0 HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_meg_0_hvac', @@ -646,8 +646,8 @@ # name: test_binary_sensors[megane_e_tech][binary_sensor.reg_meg_0_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'REG-MEG-0 Plug', + : 'plug', + : 'REG-MEG-0 Plug', }), 'context': , 'entity_id': 'binary_sensor.reg_meg_0_plug', @@ -697,8 +697,8 @@ # name: test_binary_sensors[twingo_3_electric][binary_sensor.reg_twingo_iii_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'REG-TWINGO-III Charging', + : 'battery_charging', + : 'REG-TWINGO-III Charging', }), 'context': , 'entity_id': 'binary_sensor.reg_twingo_iii_charging', @@ -748,7 +748,7 @@ # name: test_binary_sensors[twingo_3_electric][binary_sensor.reg_twingo_iii_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III HVAC', + : 'REG-TWINGO-III HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_twingo_iii_hvac', @@ -798,8 +798,8 @@ # name: test_binary_sensors[twingo_3_electric][binary_sensor.reg_twingo_iii_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'REG-TWINGO-III Plug', + : 'plug', + : 'REG-TWINGO-III Plug', }), 'context': , 'entity_id': 'binary_sensor.reg_twingo_iii_plug', @@ -849,8 +849,8 @@ # name: test_binary_sensors[zoe_40][binary_sensor.reg_zoe_40_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'REG-ZOE-40 Charging', + : 'battery_charging', + : 'REG-ZOE-40 Charging', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_charging', @@ -900,7 +900,7 @@ # name: test_binary_sensors[zoe_40][binary_sensor.reg_zoe_40_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 HVAC', + : 'REG-ZOE-40 HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_hvac', @@ -950,8 +950,8 @@ # name: test_binary_sensors[zoe_40][binary_sensor.reg_zoe_40_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'REG-ZOE-40 Plug', + : 'plug', + : 'REG-ZOE-40 Plug', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_40_plug', @@ -1001,8 +1001,8 @@ # name: test_binary_sensors[zoe_50][binary_sensor.reg_zoe_50_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'REG-ZOE-50 Charging', + : 'battery_charging', + : 'REG-ZOE-50 Charging', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_50_charging', @@ -1052,7 +1052,7 @@ # name: test_binary_sensors[zoe_50][binary_sensor.reg_zoe_50_hvac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 HVAC', + : 'REG-ZOE-50 HVAC', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_50_hvac', @@ -1102,8 +1102,8 @@ # name: test_binary_sensors[zoe_50][binary_sensor.reg_zoe_50_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'REG-ZOE-50 Plug', + : 'plug', + : 'REG-ZOE-50 Plug', }), 'context': , 'entity_id': 'binary_sensor.reg_zoe_50_plug', diff --git a/tests/components/renault/snapshots/test_button.ambr b/tests/components/renault/snapshots/test_button.ambr index 441fb6ad160..56eac31b655 100644 --- a/tests/components/renault/snapshots/test_button.ambr +++ b/tests/components/renault/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_access_denied[zoe_40][button.reg_zoe_40_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Flash lights', + : 'REG-ZOE-40 Flash lights', }), 'context': , 'entity_id': 'button.reg_zoe_40_flash_lights', @@ -89,7 +89,7 @@ # name: test_button_access_denied[zoe_40][button.reg_zoe_40_sound_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Sound horn', + : 'REG-ZOE-40 Sound horn', }), 'context': , 'entity_id': 'button.reg_zoe_40_sound_horn', @@ -139,7 +139,7 @@ # name: test_button_access_denied[zoe_40][button.reg_zoe_40_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start air conditioner', + : 'REG-ZOE-40 Start air conditioner', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_air_conditioner', @@ -189,7 +189,7 @@ # name: test_button_access_denied[zoe_40][button.reg_zoe_40_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start charge', + : 'REG-ZOE-40 Start charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_charge', @@ -239,7 +239,7 @@ # name: test_button_access_denied[zoe_40][button.reg_zoe_40_stop_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Stop charge', + : 'REG-ZOE-40 Stop charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_stop_charge', @@ -289,7 +289,7 @@ # name: test_button_empty[zoe_40][button.reg_zoe_40_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Flash lights', + : 'REG-ZOE-40 Flash lights', }), 'context': , 'entity_id': 'button.reg_zoe_40_flash_lights', @@ -339,7 +339,7 @@ # name: test_button_empty[zoe_40][button.reg_zoe_40_sound_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Sound horn', + : 'REG-ZOE-40 Sound horn', }), 'context': , 'entity_id': 'button.reg_zoe_40_sound_horn', @@ -389,7 +389,7 @@ # name: test_button_empty[zoe_40][button.reg_zoe_40_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start air conditioner', + : 'REG-ZOE-40 Start air conditioner', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_air_conditioner', @@ -439,7 +439,7 @@ # name: test_button_empty[zoe_40][button.reg_zoe_40_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start charge', + : 'REG-ZOE-40 Start charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_charge', @@ -489,7 +489,7 @@ # name: test_button_empty[zoe_40][button.reg_zoe_40_stop_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Stop charge', + : 'REG-ZOE-40 Stop charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_stop_charge', @@ -539,7 +539,7 @@ # name: test_button_errors[zoe_40][button.reg_zoe_40_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Flash lights', + : 'REG-ZOE-40 Flash lights', }), 'context': , 'entity_id': 'button.reg_zoe_40_flash_lights', @@ -589,7 +589,7 @@ # name: test_button_errors[zoe_40][button.reg_zoe_40_sound_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Sound horn', + : 'REG-ZOE-40 Sound horn', }), 'context': , 'entity_id': 'button.reg_zoe_40_sound_horn', @@ -639,7 +639,7 @@ # name: test_button_errors[zoe_40][button.reg_zoe_40_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start air conditioner', + : 'REG-ZOE-40 Start air conditioner', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_air_conditioner', @@ -689,7 +689,7 @@ # name: test_button_errors[zoe_40][button.reg_zoe_40_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start charge', + : 'REG-ZOE-40 Start charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_charge', @@ -739,7 +739,7 @@ # name: test_button_errors[zoe_40][button.reg_zoe_40_stop_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Stop charge', + : 'REG-ZOE-40 Stop charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_stop_charge', @@ -789,7 +789,7 @@ # name: test_button_not_supported[zoe_40][button.reg_zoe_40_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Flash lights', + : 'REG-ZOE-40 Flash lights', }), 'context': , 'entity_id': 'button.reg_zoe_40_flash_lights', @@ -839,7 +839,7 @@ # name: test_button_not_supported[zoe_40][button.reg_zoe_40_sound_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Sound horn', + : 'REG-ZOE-40 Sound horn', }), 'context': , 'entity_id': 'button.reg_zoe_40_sound_horn', @@ -889,7 +889,7 @@ # name: test_button_not_supported[zoe_40][button.reg_zoe_40_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start air conditioner', + : 'REG-ZOE-40 Start air conditioner', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_air_conditioner', @@ -939,7 +939,7 @@ # name: test_button_not_supported[zoe_40][button.reg_zoe_40_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start charge', + : 'REG-ZOE-40 Start charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_charge', @@ -989,7 +989,7 @@ # name: test_button_not_supported[zoe_40][button.reg_zoe_40_stop_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Stop charge', + : 'REG-ZOE-40 Stop charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_stop_charge', @@ -1039,7 +1039,7 @@ # name: test_buttons[captur_fuel][button.reg_captur_fuel_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR-FUEL Start air conditioner', + : 'REG-CAPTUR-FUEL Start air conditioner', }), 'context': , 'entity_id': 'button.reg_captur_fuel_start_air_conditioner', @@ -1089,7 +1089,7 @@ # name: test_buttons[captur_phev][button.reg_captur_phev_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR_PHEV Start air conditioner', + : 'REG-CAPTUR_PHEV Start air conditioner', }), 'context': , 'entity_id': 'button.reg_captur_phev_start_air_conditioner', @@ -1139,7 +1139,7 @@ # name: test_buttons[megane_e_tech][button.reg_meg_0_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-MEG-0 Flash lights', + : 'REG-MEG-0 Flash lights', }), 'context': , 'entity_id': 'button.reg_meg_0_flash_lights', @@ -1189,7 +1189,7 @@ # name: test_buttons[megane_e_tech][button.reg_meg_0_sound_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-MEG-0 Sound horn', + : 'REG-MEG-0 Sound horn', }), 'context': , 'entity_id': 'button.reg_meg_0_sound_horn', @@ -1239,7 +1239,7 @@ # name: test_buttons[megane_e_tech][button.reg_meg_0_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-MEG-0 Start air conditioner', + : 'REG-MEG-0 Start air conditioner', }), 'context': , 'entity_id': 'button.reg_meg_0_start_air_conditioner', @@ -1289,7 +1289,7 @@ # name: test_buttons[megane_e_tech][button.reg_meg_0_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-MEG-0 Start charge', + : 'REG-MEG-0 Start charge', }), 'context': , 'entity_id': 'button.reg_meg_0_start_charge', @@ -1339,7 +1339,7 @@ # name: test_buttons[twingo_3_electric][button.reg_twingo_iii_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III Flash lights', + : 'REG-TWINGO-III Flash lights', }), 'context': , 'entity_id': 'button.reg_twingo_iii_flash_lights', @@ -1389,7 +1389,7 @@ # name: test_buttons[twingo_3_electric][button.reg_twingo_iii_sound_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III Sound horn', + : 'REG-TWINGO-III Sound horn', }), 'context': , 'entity_id': 'button.reg_twingo_iii_sound_horn', @@ -1439,7 +1439,7 @@ # name: test_buttons[twingo_3_electric][button.reg_twingo_iii_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III Start air conditioner', + : 'REG-TWINGO-III Start air conditioner', }), 'context': , 'entity_id': 'button.reg_twingo_iii_start_air_conditioner', @@ -1489,7 +1489,7 @@ # name: test_buttons[twingo_3_electric][button.reg_twingo_iii_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III Start charge', + : 'REG-TWINGO-III Start charge', }), 'context': , 'entity_id': 'button.reg_twingo_iii_start_charge', @@ -1539,7 +1539,7 @@ # name: test_buttons[twingo_3_electric][button.reg_twingo_iii_stop_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III Stop charge', + : 'REG-TWINGO-III Stop charge', }), 'context': , 'entity_id': 'button.reg_twingo_iii_stop_charge', @@ -1589,7 +1589,7 @@ # name: test_buttons[zoe_40][button.reg_zoe_40_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Flash lights', + : 'REG-ZOE-40 Flash lights', }), 'context': , 'entity_id': 'button.reg_zoe_40_flash_lights', @@ -1639,7 +1639,7 @@ # name: test_buttons[zoe_40][button.reg_zoe_40_sound_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Sound horn', + : 'REG-ZOE-40 Sound horn', }), 'context': , 'entity_id': 'button.reg_zoe_40_sound_horn', @@ -1689,7 +1689,7 @@ # name: test_buttons[zoe_40][button.reg_zoe_40_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start air conditioner', + : 'REG-ZOE-40 Start air conditioner', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_air_conditioner', @@ -1739,7 +1739,7 @@ # name: test_buttons[zoe_40][button.reg_zoe_40_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Start charge', + : 'REG-ZOE-40 Start charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_start_charge', @@ -1789,7 +1789,7 @@ # name: test_buttons[zoe_40][button.reg_zoe_40_stop_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Stop charge', + : 'REG-ZOE-40 Stop charge', }), 'context': , 'entity_id': 'button.reg_zoe_40_stop_charge', @@ -1839,7 +1839,7 @@ # name: test_buttons[zoe_50][button.reg_zoe_50_start_air_conditioner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 Start air conditioner', + : 'REG-ZOE-50 Start air conditioner', }), 'context': , 'entity_id': 'button.reg_zoe_50_start_air_conditioner', @@ -1889,7 +1889,7 @@ # name: test_buttons[zoe_50][button.reg_zoe_50_start_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 Start charge', + : 'REG-ZOE-50 Start charge', }), 'context': , 'entity_id': 'button.reg_zoe_50_start_charge', @@ -1939,7 +1939,7 @@ # name: test_buttons[zoe_50][button.reg_zoe_50_stop_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 Stop charge', + : 'REG-ZOE-50 Stop charge', }), 'context': , 'entity_id': 'button.reg_zoe_50_stop_charge', diff --git a/tests/components/renault/snapshots/test_device_tracker.ambr b/tests/components/renault/snapshots/test_device_tracker.ambr index 4482e7b76bb..d30314d06c3 100644 --- a/tests/components/renault/snapshots/test_device_tracker.ambr +++ b/tests/components/renault/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker_empty[zoe_50][device_tracker.reg_zoe_50_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 Location', + : 'REG-ZOE-50 Location', : list([ ]), : , @@ -97,7 +97,7 @@ # name: test_device_tracker_errors[zoe_50][device_tracker.reg_zoe_50_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 Location', + : 'REG-ZOE-50 Location', : , }), 'context': , @@ -150,7 +150,7 @@ # name: test_device_trackers[captur_fuel][device_tracker.reg_captur_fuel_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR-FUEL Location', + : 'REG-CAPTUR-FUEL Location', : 0, : list([ ]), @@ -209,7 +209,7 @@ # name: test_device_trackers[captur_phev][device_tracker.reg_captur_phev_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR_PHEV Location', + : 'REG-CAPTUR_PHEV Location', : 0, : list([ ]), @@ -268,7 +268,7 @@ # name: test_device_trackers[megane_e_tech][device_tracker.reg_meg_0_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-MEG-0 Location', + : 'REG-MEG-0 Location', : 0, : list([ ]), @@ -327,7 +327,7 @@ # name: test_device_trackers[twingo_3_electric][device_tracker.reg_twingo_iii_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III Location', + : 'REG-TWINGO-III Location', : 0, : list([ ]), @@ -386,7 +386,7 @@ # name: test_device_trackers[zoe_50][device_tracker.reg_zoe_50_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 Location', + : 'REG-ZOE-50 Location', : 0, : list([ ]), diff --git a/tests/components/renault/snapshots/test_number.ambr b/tests/components/renault/snapshots/test_number.ambr index d974cb05e6c..3f67b555bec 100644 --- a/tests/components/renault/snapshots/test_number.ambr +++ b/tests/components/renault/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number_empty[zoe_40][number.reg_zoe_40_minimum_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Minimum charge level', + : 'battery', + : 'REG-ZOE-40 Minimum charge level', : 45, : 15, : , : 5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.reg_zoe_40_minimum_charge_level', @@ -105,13 +105,13 @@ # name: test_number_empty[zoe_40][number.reg_zoe_40_target_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Target charge level', + : 'battery', + : 'REG-ZOE-40 Target charge level', : 100, : 55, : , : 5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.reg_zoe_40_target_charge_level', @@ -166,13 +166,13 @@ # name: test_number_errors[zoe_40][number.reg_zoe_40_minimum_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Minimum charge level', + : 'battery', + : 'REG-ZOE-40 Minimum charge level', : 45, : 15, : , : 5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.reg_zoe_40_minimum_charge_level', @@ -227,13 +227,13 @@ # name: test_number_errors[zoe_40][number.reg_zoe_40_target_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Target charge level', + : 'battery', + : 'REG-ZOE-40 Target charge level', : 100, : 55, : , : 5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.reg_zoe_40_target_charge_level', @@ -288,13 +288,13 @@ # name: test_numbers[zoe_40][number.reg_zoe_40_minimum_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Minimum charge level', + : 'battery', + : 'REG-ZOE-40 Minimum charge level', : 45, : 15, : , : 5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.reg_zoe_40_minimum_charge_level', @@ -349,13 +349,13 @@ # name: test_numbers[zoe_40][number.reg_zoe_40_target_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Target charge level', + : 'battery', + : 'REG-ZOE-40 Target charge level', : 100, : 55, : , : 5, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.reg_zoe_40_target_charge_level', diff --git a/tests/components/renault/snapshots/test_select.ambr b/tests/components/renault/snapshots/test_select.ambr index 22768dc8cfc..eb9c2b2503d 100644 --- a/tests/components/renault/snapshots/test_select.ambr +++ b/tests/components/renault/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_select_empty[zoe_40][select.reg_zoe_40_charge_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Charge mode', + : 'REG-ZOE-40 Charge mode', : list([ 'always', 'always_charging', @@ -109,7 +109,7 @@ # name: test_select_errors[zoe_40][select.reg_zoe_40_charge_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Charge mode', + : 'REG-ZOE-40 Charge mode', : list([ 'always', 'always_charging', @@ -172,7 +172,7 @@ # name: test_selects[zoe_40][select.reg_zoe_40_charge_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 Charge mode', + : 'REG-ZOE-40 Charge mode', : list([ 'always', 'always_charging', diff --git a/tests/components/renault/snapshots/test_sensor.ambr b/tests/components/renault/snapshots/test_sensor.ambr index 0bd9d07f29b..08e96980d23 100644 --- a/tests/components/renault/snapshots/test_sensor.ambr +++ b/tests/components/renault/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Battery', + : 'battery', + : 'REG-ZOE-40 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery', @@ -99,10 +99,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_battery_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-40 Battery autonomy', + : 'distance', + : 'REG-ZOE-40 Battery autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_autonomy', @@ -157,10 +157,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_battery_available_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'REG-ZOE-40 Battery available energy', + : 'energy', + : 'REG-ZOE-40 Battery available energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_available_energy', @@ -215,10 +215,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-40 Battery temperature', + : 'temperature', + : 'REG-ZOE-40 Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_temperature', @@ -283,8 +283,8 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Charge state', + : 'enum', + : 'REG-ZOE-40 Charge state', : list([ 'not_in_charge', 'waiting_for_a_planned_charge', @@ -354,8 +354,8 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_charging_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Charging mode', + : 'enum', + : 'REG-ZOE-40 Charging mode', : list([ 'always', 'delayed', @@ -418,10 +418,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'REG-ZOE-40 Charging power', + : 'power', + : 'REG-ZOE-40 Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_charging_power', @@ -476,10 +476,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_charging_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'REG-ZOE-40 Charging remaining time', + : 'duration', + : 'REG-ZOE-40 Charging remaining time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_charging_remaining_time', @@ -529,8 +529,8 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-ZOE-40 HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_hvac_soc_threshold', @@ -580,8 +580,8 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_last_battery_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-40 Last battery activity', + : 'timestamp', + : 'REG-ZOE-40 Last battery activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_last_battery_activity', @@ -631,8 +631,8 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-40 Last HVAC activity', + : 'timestamp', + : 'REG-ZOE-40 Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_last_hvac_activity', @@ -687,10 +687,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-40 Mileage', + : 'distance', + : 'REG-ZOE-40 Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_mileage', @@ -745,10 +745,10 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-40 Outside temperature', + : 'temperature', + : 'REG-ZOE-40 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_outside_temperature', @@ -806,8 +806,8 @@ # name: test_sensor_empty[zoe_40][sensor.reg_zoe_40_plug_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Plug state', + : 'enum', + : 'REG-ZOE-40 Plug state', : list([ 'unplugged', 'plugged', @@ -866,10 +866,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Battery', + : 'battery', + : 'REG-ZOE-40 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery', @@ -924,10 +924,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_battery_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-40 Battery autonomy', + : 'distance', + : 'REG-ZOE-40 Battery autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_autonomy', @@ -982,10 +982,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_battery_available_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'REG-ZOE-40 Battery available energy', + : 'energy', + : 'REG-ZOE-40 Battery available energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_available_energy', @@ -1040,10 +1040,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-40 Battery temperature', + : 'temperature', + : 'REG-ZOE-40 Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_temperature', @@ -1108,8 +1108,8 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Charge state', + : 'enum', + : 'REG-ZOE-40 Charge state', : list([ 'not_in_charge', 'waiting_for_a_planned_charge', @@ -1179,8 +1179,8 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_charging_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Charging mode', + : 'enum', + : 'REG-ZOE-40 Charging mode', : list([ 'always', 'delayed', @@ -1243,10 +1243,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'REG-ZOE-40 Charging power', + : 'power', + : 'REG-ZOE-40 Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_charging_power', @@ -1301,10 +1301,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_charging_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'REG-ZOE-40 Charging remaining time', + : 'duration', + : 'REG-ZOE-40 Charging remaining time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_charging_remaining_time', @@ -1354,8 +1354,8 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-ZOE-40 HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_hvac_soc_threshold', @@ -1405,8 +1405,8 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_last_battery_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-40 Last battery activity', + : 'timestamp', + : 'REG-ZOE-40 Last battery activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_last_battery_activity', @@ -1456,8 +1456,8 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-40 Last HVAC activity', + : 'timestamp', + : 'REG-ZOE-40 Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_last_hvac_activity', @@ -1512,10 +1512,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-40 Mileage', + : 'distance', + : 'REG-ZOE-40 Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_mileage', @@ -1570,10 +1570,10 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-40 Outside temperature', + : 'temperature', + : 'REG-ZOE-40 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_outside_temperature', @@ -1631,8 +1631,8 @@ # name: test_sensor_errors[zoe_40][sensor.reg_zoe_40_plug_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Plug state', + : 'enum', + : 'REG-ZOE-40 Plug state', : list([ 'unplugged', 'plugged', @@ -1694,10 +1694,10 @@ # name: test_sensors[captur_fuel][sensor.reg_captur_fuel_fuel_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-CAPTUR-FUEL Fuel autonomy', + : 'distance', + : 'REG-CAPTUR-FUEL Fuel autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_fuel_fuel_autonomy', @@ -1752,10 +1752,10 @@ # name: test_sensors[captur_fuel][sensor.reg_captur_fuel_fuel_quantity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'REG-CAPTUR-FUEL Fuel quantity', + : 'volume', + : 'REG-CAPTUR-FUEL Fuel quantity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_fuel_fuel_quantity', @@ -1805,8 +1805,8 @@ # name: test_sensors[captur_fuel][sensor.reg_captur_fuel_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR-FUEL HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-CAPTUR-FUEL HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_captur_fuel_hvac_soc_threshold', @@ -1856,8 +1856,8 @@ # name: test_sensors[captur_fuel][sensor.reg_captur_fuel_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-CAPTUR-FUEL Last HVAC activity', + : 'timestamp', + : 'REG-CAPTUR-FUEL Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_captur_fuel_last_hvac_activity', @@ -1907,8 +1907,8 @@ # name: test_sensors[captur_fuel][sensor.reg_captur_fuel_last_location_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-CAPTUR-FUEL Last location activity', + : 'timestamp', + : 'REG-CAPTUR-FUEL Last location activity', }), 'context': , 'entity_id': 'sensor.reg_captur_fuel_last_location_activity', @@ -1963,10 +1963,10 @@ # name: test_sensors[captur_fuel][sensor.reg_captur_fuel_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-CAPTUR-FUEL Mileage', + : 'distance', + : 'REG-CAPTUR-FUEL Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_fuel_mileage', @@ -2021,10 +2021,10 @@ # name: test_sensors[captur_fuel][sensor.reg_captur_fuel_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-CAPTUR-FUEL Outside temperature', + : 'temperature', + : 'REG-CAPTUR-FUEL Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_fuel_outside_temperature', @@ -2079,10 +2079,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_admissible_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'REG-CAPTUR_PHEV Admissible charging power', + : 'power', + : 'REG-CAPTUR_PHEV Admissible charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_admissible_charging_power', @@ -2134,10 +2134,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-CAPTUR_PHEV Battery', + : 'battery', + : 'REG-CAPTUR_PHEV Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.reg_captur_phev_battery', @@ -2192,10 +2192,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_battery_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-CAPTUR_PHEV Battery autonomy', + : 'distance', + : 'REG-CAPTUR_PHEV Battery autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_battery_autonomy', @@ -2250,10 +2250,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_battery_available_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'REG-CAPTUR_PHEV Battery available energy', + : 'energy', + : 'REG-CAPTUR_PHEV Battery available energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_battery_available_energy', @@ -2308,10 +2308,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-CAPTUR_PHEV Battery temperature', + : 'temperature', + : 'REG-CAPTUR_PHEV Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_battery_temperature', @@ -2376,8 +2376,8 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-CAPTUR_PHEV Charge state', + : 'enum', + : 'REG-CAPTUR_PHEV Charge state', : list([ 'not_in_charge', 'waiting_for_a_planned_charge', @@ -2447,8 +2447,8 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_charging_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-CAPTUR_PHEV Charging mode', + : 'enum', + : 'REG-CAPTUR_PHEV Charging mode', : list([ 'always', 'delayed', @@ -2508,10 +2508,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_charging_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'REG-CAPTUR_PHEV Charging remaining time', + : 'duration', + : 'REG-CAPTUR_PHEV Charging remaining time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_charging_remaining_time', @@ -2566,10 +2566,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_fuel_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-CAPTUR_PHEV Fuel autonomy', + : 'distance', + : 'REG-CAPTUR_PHEV Fuel autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_fuel_autonomy', @@ -2624,10 +2624,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_fuel_quantity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume', - 'friendly_name': 'REG-CAPTUR_PHEV Fuel quantity', + : 'volume', + : 'REG-CAPTUR_PHEV Fuel quantity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_fuel_quantity', @@ -2677,8 +2677,8 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-CAPTUR_PHEV HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-CAPTUR_PHEV HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_captur_phev_hvac_soc_threshold', @@ -2728,8 +2728,8 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_last_battery_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-CAPTUR_PHEV Last battery activity', + : 'timestamp', + : 'REG-CAPTUR_PHEV Last battery activity', }), 'context': , 'entity_id': 'sensor.reg_captur_phev_last_battery_activity', @@ -2779,8 +2779,8 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-CAPTUR_PHEV Last HVAC activity', + : 'timestamp', + : 'REG-CAPTUR_PHEV Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_captur_phev_last_hvac_activity', @@ -2830,8 +2830,8 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_last_location_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-CAPTUR_PHEV Last location activity', + : 'timestamp', + : 'REG-CAPTUR_PHEV Last location activity', }), 'context': , 'entity_id': 'sensor.reg_captur_phev_last_location_activity', @@ -2886,10 +2886,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-CAPTUR_PHEV Mileage', + : 'distance', + : 'REG-CAPTUR_PHEV Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_mileage', @@ -2944,10 +2944,10 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-CAPTUR_PHEV Outside temperature', + : 'temperature', + : 'REG-CAPTUR_PHEV Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_captur_phev_outside_temperature', @@ -3005,8 +3005,8 @@ # name: test_sensors[captur_phev][sensor.reg_captur_phev_plug_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-CAPTUR_PHEV Plug state', + : 'enum', + : 'REG-CAPTUR_PHEV Plug state', : list([ 'unplugged', 'plugged', @@ -3068,10 +3068,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_admissible_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'REG-MEG-0 Admissible charging power', + : 'power', + : 'REG-MEG-0 Admissible charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_meg_0_admissible_charging_power', @@ -3123,10 +3123,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-MEG-0 Battery', + : 'battery', + : 'REG-MEG-0 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.reg_meg_0_battery', @@ -3181,10 +3181,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_battery_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-MEG-0 Battery autonomy', + : 'distance', + : 'REG-MEG-0 Battery autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_meg_0_battery_autonomy', @@ -3239,10 +3239,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_battery_available_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'REG-MEG-0 Battery available energy', + : 'energy', + : 'REG-MEG-0 Battery available energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_meg_0_battery_available_energy', @@ -3297,10 +3297,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-MEG-0 Battery temperature', + : 'temperature', + : 'REG-MEG-0 Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_meg_0_battery_temperature', @@ -3365,8 +3365,8 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-MEG-0 Charge state', + : 'enum', + : 'REG-MEG-0 Charge state', : list([ 'not_in_charge', 'waiting_for_a_planned_charge', @@ -3436,8 +3436,8 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_charging_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-MEG-0 Charging mode', + : 'enum', + : 'REG-MEG-0 Charging mode', : list([ 'always', 'delayed', @@ -3497,10 +3497,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_charging_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'REG-MEG-0 Charging remaining time', + : 'duration', + : 'REG-MEG-0 Charging remaining time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_meg_0_charging_remaining_time', @@ -3550,8 +3550,8 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-MEG-0 HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-MEG-0 HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_meg_0_hvac_soc_threshold', @@ -3601,8 +3601,8 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_last_battery_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-MEG-0 Last battery activity', + : 'timestamp', + : 'REG-MEG-0 Last battery activity', }), 'context': , 'entity_id': 'sensor.reg_meg_0_last_battery_activity', @@ -3652,8 +3652,8 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-MEG-0 Last HVAC activity', + : 'timestamp', + : 'REG-MEG-0 Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_meg_0_last_hvac_activity', @@ -3703,8 +3703,8 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_last_location_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-MEG-0 Last location activity', + : 'timestamp', + : 'REG-MEG-0 Last location activity', }), 'context': , 'entity_id': 'sensor.reg_meg_0_last_location_activity', @@ -3759,10 +3759,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-MEG-0 Mileage', + : 'distance', + : 'REG-MEG-0 Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_meg_0_mileage', @@ -3817,10 +3817,10 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-MEG-0 Outside temperature', + : 'temperature', + : 'REG-MEG-0 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_meg_0_outside_temperature', @@ -3878,8 +3878,8 @@ # name: test_sensors[megane_e_tech][sensor.reg_meg_0_plug_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-MEG-0 Plug state', + : 'enum', + : 'REG-MEG-0 Plug state', : list([ 'unplugged', 'plugged', @@ -3941,10 +3941,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_admissible_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'REG-TWINGO-III Admissible charging power', + : 'power', + : 'REG-TWINGO-III Admissible charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_admissible_charging_power', @@ -3996,10 +3996,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-TWINGO-III Battery', + : 'battery', + : 'REG-TWINGO-III Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_battery', @@ -4054,10 +4054,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_battery_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-TWINGO-III Battery autonomy', + : 'distance', + : 'REG-TWINGO-III Battery autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_battery_autonomy', @@ -4112,10 +4112,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_battery_available_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'REG-TWINGO-III Battery available energy', + : 'energy', + : 'REG-TWINGO-III Battery available energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_battery_available_energy', @@ -4170,10 +4170,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-TWINGO-III Battery temperature', + : 'temperature', + : 'REG-TWINGO-III Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_battery_temperature', @@ -4238,8 +4238,8 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-TWINGO-III Charge state', + : 'enum', + : 'REG-TWINGO-III Charge state', : list([ 'not_in_charge', 'waiting_for_a_planned_charge', @@ -4309,8 +4309,8 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_charging_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-TWINGO-III Charging mode', + : 'enum', + : 'REG-TWINGO-III Charging mode', : list([ 'always', 'delayed', @@ -4370,10 +4370,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_charging_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'REG-TWINGO-III Charging remaining time', + : 'duration', + : 'REG-TWINGO-III Charging remaining time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_charging_remaining_time', @@ -4423,8 +4423,8 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-TWINGO-III HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-TWINGO-III HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_hvac_soc_threshold', @@ -4474,8 +4474,8 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_last_battery_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-TWINGO-III Last battery activity', + : 'timestamp', + : 'REG-TWINGO-III Last battery activity', }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_last_battery_activity', @@ -4525,8 +4525,8 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-TWINGO-III Last HVAC activity', + : 'timestamp', + : 'REG-TWINGO-III Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_last_hvac_activity', @@ -4576,8 +4576,8 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_last_location_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-TWINGO-III Last location activity', + : 'timestamp', + : 'REG-TWINGO-III Last location activity', }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_last_location_activity', @@ -4632,10 +4632,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-TWINGO-III Mileage', + : 'distance', + : 'REG-TWINGO-III Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_mileage', @@ -4690,10 +4690,10 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-TWINGO-III Outside temperature', + : 'temperature', + : 'REG-TWINGO-III Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_twingo_iii_outside_temperature', @@ -4751,8 +4751,8 @@ # name: test_sensors[twingo_3_electric][sensor.reg_twingo_iii_plug_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-TWINGO-III Plug state', + : 'enum', + : 'REG-TWINGO-III Plug state', : list([ 'unplugged', 'plugged', @@ -4811,10 +4811,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-40 Battery', + : 'battery', + : 'REG-ZOE-40 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery', @@ -4869,10 +4869,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_battery_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-40 Battery autonomy', + : 'distance', + : 'REG-ZOE-40 Battery autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_autonomy', @@ -4927,10 +4927,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_battery_available_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'REG-ZOE-40 Battery available energy', + : 'energy', + : 'REG-ZOE-40 Battery available energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_available_energy', @@ -4985,10 +4985,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-40 Battery temperature', + : 'temperature', + : 'REG-ZOE-40 Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_battery_temperature', @@ -5053,8 +5053,8 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Charge state', + : 'enum', + : 'REG-ZOE-40 Charge state', : list([ 'not_in_charge', 'waiting_for_a_planned_charge', @@ -5124,8 +5124,8 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_charging_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Charging mode', + : 'enum', + : 'REG-ZOE-40 Charging mode', : list([ 'always', 'delayed', @@ -5188,10 +5188,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'REG-ZOE-40 Charging power', + : 'power', + : 'REG-ZOE-40 Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_charging_power', @@ -5246,10 +5246,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_charging_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'REG-ZOE-40 Charging remaining time', + : 'duration', + : 'REG-ZOE-40 Charging remaining time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_charging_remaining_time', @@ -5299,8 +5299,8 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-40 HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-ZOE-40 HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_hvac_soc_threshold', @@ -5350,8 +5350,8 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_last_battery_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-40 Last battery activity', + : 'timestamp', + : 'REG-ZOE-40 Last battery activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_last_battery_activity', @@ -5401,8 +5401,8 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-40 Last HVAC activity', + : 'timestamp', + : 'REG-ZOE-40 Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_40_last_hvac_activity', @@ -5457,10 +5457,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-40 Mileage', + : 'distance', + : 'REG-ZOE-40 Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_mileage', @@ -5515,10 +5515,10 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-40 Outside temperature', + : 'temperature', + : 'REG-ZOE-40 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_40_outside_temperature', @@ -5576,8 +5576,8 @@ # name: test_sensors[zoe_40][sensor.reg_zoe_40_plug_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-40 Plug state', + : 'enum', + : 'REG-ZOE-40 Plug state', : list([ 'unplugged', 'plugged', @@ -5639,10 +5639,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_admissible_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'REG-ZOE-50 Admissible charging power', + : 'power', + : 'REG-ZOE-50 Admissible charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_admissible_charging_power', @@ -5694,10 +5694,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'REG-ZOE-50 Battery', + : 'battery', + : 'REG-ZOE-50 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_50_battery', @@ -5752,10 +5752,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_battery_autonomy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-50 Battery autonomy', + : 'distance', + : 'REG-ZOE-50 Battery autonomy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_battery_autonomy', @@ -5810,10 +5810,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_battery_available_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'REG-ZOE-50 Battery available energy', + : 'energy', + : 'REG-ZOE-50 Battery available energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_battery_available_energy', @@ -5868,10 +5868,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-50 Battery temperature', + : 'temperature', + : 'REG-ZOE-50 Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_battery_temperature', @@ -5936,8 +5936,8 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-50 Charge state', + : 'enum', + : 'REG-ZOE-50 Charge state', : list([ 'not_in_charge', 'waiting_for_a_planned_charge', @@ -6007,8 +6007,8 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_charging_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-50 Charging mode', + : 'enum', + : 'REG-ZOE-50 Charging mode', : list([ 'always', 'delayed', @@ -6068,10 +6068,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_charging_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'REG-ZOE-50 Charging remaining time', + : 'duration', + : 'REG-ZOE-50 Charging remaining time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_charging_remaining_time', @@ -6126,10 +6126,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_front_left_tyre_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'REG-ZOE-50 Front left tyre pressure', + : 'pressure', + : 'REG-ZOE-50 Front left tyre pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_front_left_tyre_pressure', @@ -6184,10 +6184,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_front_right_tyre_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'REG-ZOE-50 Front right tyre pressure', + : 'pressure', + : 'REG-ZOE-50 Front right tyre pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_front_right_tyre_pressure', @@ -6237,8 +6237,8 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_hvac_soc_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'REG-ZOE-50 HVAC SoC threshold', - 'unit_of_measurement': '%', + : 'REG-ZOE-50 HVAC SoC threshold', + : '%', }), 'context': , 'entity_id': 'sensor.reg_zoe_50_hvac_soc_threshold', @@ -6288,8 +6288,8 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_last_battery_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-50 Last battery activity', + : 'timestamp', + : 'REG-ZOE-50 Last battery activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_50_last_battery_activity', @@ -6339,8 +6339,8 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_last_hvac_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-50 Last HVAC activity', + : 'timestamp', + : 'REG-ZOE-50 Last HVAC activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_50_last_hvac_activity', @@ -6390,8 +6390,8 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_last_location_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'REG-ZOE-50 Last location activity', + : 'timestamp', + : 'REG-ZOE-50 Last location activity', }), 'context': , 'entity_id': 'sensor.reg_zoe_50_last_location_activity', @@ -6446,10 +6446,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_mileage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'REG-ZOE-50 Mileage', + : 'distance', + : 'REG-ZOE-50 Mileage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_mileage', @@ -6504,10 +6504,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'REG-ZOE-50 Outside temperature', + : 'temperature', + : 'REG-ZOE-50 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_outside_temperature', @@ -6565,8 +6565,8 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_plug_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'REG-ZOE-50 Plug state', + : 'enum', + : 'REG-ZOE-50 Plug state', : list([ 'unplugged', 'plugged', @@ -6628,10 +6628,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_rear_left_tyre_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'REG-ZOE-50 Rear left tyre pressure', + : 'pressure', + : 'REG-ZOE-50 Rear left tyre pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_rear_left_tyre_pressure', @@ -6686,10 +6686,10 @@ # name: test_sensors[zoe_50][sensor.reg_zoe_50_rear_right_tyre_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'REG-ZOE-50 Rear right tyre pressure', + : 'pressure', + : 'REG-ZOE-50 Rear right tyre pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.reg_zoe_50_rear_right_tyre_pressure', diff --git a/tests/components/rfxtrx/snapshots/test_event.ambr b/tests/components/rfxtrx/snapshots/test_event.ambr index ad099f29ea3..862e24e9e44 100644 --- a/tests/components/rfxtrx/snapshots/test_event.ambr +++ b/tests/components/rfxtrx/snapshots/test_event.ambr @@ -17,7 +17,7 @@ # name: test_control_event[1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, + : True, : None, : list([ 'off', @@ -29,7 +29,7 @@ 'chime', 'illegal_command', ]), - 'friendly_name': 'ARC C1', + : 'ARC C1', }), 'context': , 'entity_id': 'event.arc_c1', @@ -42,7 +42,7 @@ # name: test_control_event[2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, + : True, : None, : list([ 'off', @@ -54,7 +54,7 @@ 'chime', 'illegal_command', ]), - 'friendly_name': 'ARC D1', + : 'ARC D1', }), 'context': , 'entity_id': 'event.arc_d1', @@ -80,7 +80,7 @@ # name: test_status_event[1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, + : True, : None, : list([ 'normal', @@ -112,7 +112,7 @@ 'motion_tamper', 'no_motion_tamper', ]), - 'friendly_name': 'X10 Security d3dc54:32', + : 'X10 Security d3dc54:32', }), 'context': , 'entity_id': 'event.x10_security_d3dc54_32', diff --git a/tests/components/ring/snapshots/test_binary_sensor.ambr b/tests/components/ring/snapshots/test_binary_sensor.ambr index bf3f343c0e0..3c350bc1e48 100644 --- a/tests/components/ring/snapshots/test_binary_sensor.ambr +++ b/tests/components/ring/snapshots/test_binary_sensor.ambr @@ -39,9 +39,9 @@ # name: test_states[binary_sensor.front_door_ding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'occupancy', - 'friendly_name': 'Front Door Ding', + : 'Data provided by Ring.com', + : 'occupancy', + : 'Front Door Ding', }), 'context': , 'entity_id': 'binary_sensor.front_door_ding', @@ -91,9 +91,9 @@ # name: test_states[binary_sensor.front_door_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'motion', - 'friendly_name': 'Front Door Motion', + : 'Data provided by Ring.com', + : 'motion', + : 'Front Door Motion', }), 'context': , 'entity_id': 'binary_sensor.front_door_motion', @@ -143,9 +143,9 @@ # name: test_states[binary_sensor.front_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'motion', - 'friendly_name': 'Front Motion', + : 'Data provided by Ring.com', + : 'motion', + : 'Front Motion', }), 'context': , 'entity_id': 'binary_sensor.front_motion', @@ -195,9 +195,9 @@ # name: test_states[binary_sensor.ingress_ding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'occupancy', - 'friendly_name': 'Ingress Ding', + : 'Data provided by Ring.com', + : 'occupancy', + : 'Ingress Ding', }), 'context': , 'entity_id': 'binary_sensor.ingress_ding', @@ -247,9 +247,9 @@ # name: test_states[binary_sensor.internal_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'motion', - 'friendly_name': 'Internal Motion', + : 'Data provided by Ring.com', + : 'motion', + : 'Internal Motion', }), 'context': , 'entity_id': 'binary_sensor.internal_motion', diff --git a/tests/components/ring/snapshots/test_button.ambr b/tests/components/ring/snapshots/test_button.ambr index 1bc00f8fb38..c879e7d23fb 100644 --- a/tests/components/ring/snapshots/test_button.ambr +++ b/tests/components/ring/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_states[button.ingress_open_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Open door', + : 'Data provided by Ring.com', + : 'Ingress Open door', }), 'context': , 'entity_id': 'button.ingress_open_door', diff --git a/tests/components/ring/snapshots/test_camera.ambr b/tests/components/ring/snapshots/test_camera.ambr index 5129e116bb4..06ad6c5a850 100644 --- a/tests/components/ring/snapshots/test_camera.ambr +++ b/tests/components/ring/snapshots/test_camera.ambr @@ -40,12 +40,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'attribution': 'Data provided by Ring.com', - 'entity_picture': '/api/camera_proxy/camera.front_door_last_recording?token=1caab5c3b3', - 'friendly_name': 'Front Door Last recording', + : 'Data provided by Ring.com', + : '/api/camera_proxy/camera.front_door_last_recording?token=1caab5c3b3', + : 'Front Door Last recording', 'last_video_id': None, : True, - 'supported_features': , + : , 'video_url': None, }), 'context': , @@ -97,11 +97,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'attribution': 'Data provided by Ring.com', - 'entity_picture': '/api/camera_proxy/camera.front_door_live_view?token=1caab5c3b3', - 'friendly_name': 'Front Door Live view', + : 'Data provided by Ring.com', + : '/api/camera_proxy/camera.front_door_live_view?token=1caab5c3b3', + : 'Front Door Live view', 'last_video_id': None, - 'supported_features': , + : , 'video_url': None, }), 'context': , @@ -153,11 +153,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'attribution': 'Data provided by Ring.com', - 'entity_picture': '/api/camera_proxy/camera.front_last_recording?token=1caab5c3b3', - 'friendly_name': 'Front Last recording', + : 'Data provided by Ring.com', + : '/api/camera_proxy/camera.front_last_recording?token=1caab5c3b3', + : 'Front Last recording', 'last_video_id': None, - 'supported_features': , + : , 'video_url': None, }), 'context': , @@ -209,11 +209,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'attribution': 'Data provided by Ring.com', - 'entity_picture': '/api/camera_proxy/camera.front_live_view?token=1caab5c3b3', - 'friendly_name': 'Front Live view', + : 'Data provided by Ring.com', + : '/api/camera_proxy/camera.front_live_view?token=1caab5c3b3', + : 'Front Live view', 'last_video_id': None, - 'supported_features': , + : , 'video_url': None, }), 'context': , @@ -265,12 +265,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'attribution': 'Data provided by Ring.com', - 'entity_picture': '/api/camera_proxy/camera.internal_last_recording?token=1caab5c3b3', - 'friendly_name': 'Internal Last recording', + : 'Data provided by Ring.com', + : '/api/camera_proxy/camera.internal_last_recording?token=1caab5c3b3', + : 'Internal Last recording', 'last_video_id': None, : True, - 'supported_features': , + : , 'video_url': None, }), 'context': , @@ -322,11 +322,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'attribution': 'Data provided by Ring.com', - 'entity_picture': '/api/camera_proxy/camera.internal_live_view?token=1caab5c3b3', - 'friendly_name': 'Internal Live view', + : 'Data provided by Ring.com', + : '/api/camera_proxy/camera.internal_live_view?token=1caab5c3b3', + : 'Internal Live view', 'last_video_id': None, - 'supported_features': , + : , 'video_url': None, }), 'context': , diff --git a/tests/components/ring/snapshots/test_event.ambr b/tests/components/ring/snapshots/test_event.ambr index e0b59173aa4..58dffdcc982 100644 --- a/tests/components/ring/snapshots/test_event.ambr +++ b/tests/components/ring/snapshots/test_event.ambr @@ -43,13 +43,13 @@ # name: test_states[event.front_door_ding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'doorbell', + : 'Data provided by Ring.com', + : 'doorbell', : None, : list([ , ]), - 'friendly_name': 'Front Door Ding', + : 'Front Door Ding', }), 'context': , 'entity_id': 'event.front_door_ding', @@ -103,13 +103,13 @@ # name: test_states[event.front_door_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'motion', + : 'Data provided by Ring.com', + : 'motion', : None, : list([ 'motion', ]), - 'friendly_name': 'Front Door Motion', + : 'Front Door Motion', }), 'context': , 'entity_id': 'event.front_door_motion', @@ -163,13 +163,13 @@ # name: test_states[event.front_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'motion', + : 'Data provided by Ring.com', + : 'motion', : None, : list([ 'motion', ]), - 'friendly_name': 'Front Motion', + : 'Front Motion', }), 'context': , 'entity_id': 'event.front_motion', @@ -223,13 +223,13 @@ # name: test_states[event.ingress_ding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'doorbell', + : 'Data provided by Ring.com', + : 'doorbell', : None, : list([ , ]), - 'friendly_name': 'Ingress Ding', + : 'Ingress Ding', }), 'context': , 'entity_id': 'event.ingress_ding', @@ -283,13 +283,13 @@ # name: test_states[event.ingress_intercom_unlock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'button', + : 'Data provided by Ring.com', + : 'button', : None, : list([ 'intercom_unlock', ]), - 'friendly_name': 'Ingress Intercom unlock', + : 'Ingress Intercom unlock', }), 'context': , 'entity_id': 'event.ingress_intercom_unlock', @@ -343,13 +343,13 @@ # name: test_states[event.internal_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'motion', + : 'Data provided by Ring.com', + : 'motion', : None, : list([ 'motion', ]), - 'friendly_name': 'Internal Motion', + : 'Internal Motion', }), 'context': , 'entity_id': 'event.internal_motion', diff --git a/tests/components/ring/snapshots/test_light.ambr b/tests/components/ring/snapshots/test_light.ambr index e539e51656c..25a99c88721 100644 --- a/tests/components/ring/snapshots/test_light.ambr +++ b/tests/components/ring/snapshots/test_light.ambr @@ -43,13 +43,13 @@ # name: test_states[light.front_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', + : 'Data provided by Ring.com', : None, - 'friendly_name': 'Front Light', + : 'Front Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.front_light', @@ -103,13 +103,13 @@ # name: test_states[light.internal_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', + : 'Data provided by Ring.com', : , - 'friendly_name': 'Internal Light', + : 'Internal Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.internal_light', diff --git a/tests/components/ring/snapshots/test_number.ambr b/tests/components/ring/snapshots/test_number.ambr index 95ca32ec23a..750ee0b5689 100644 --- a/tests/components/ring/snapshots/test_number.ambr +++ b/tests/components/ring/snapshots/test_number.ambr @@ -44,8 +44,8 @@ # name: test_states[number.downstairs_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Downstairs Volume', + : 'Data provided by Ring.com', + : 'Downstairs Volume', : 11, : 0, : , @@ -104,8 +104,8 @@ # name: test_states[number.front_door_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Door Volume', + : 'Data provided by Ring.com', + : 'Front Door Volume', : 11, : 0, : , @@ -164,8 +164,8 @@ # name: test_states[number.front_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Volume', + : 'Data provided by Ring.com', + : 'Front Volume', : 11, : 0, : , @@ -224,8 +224,8 @@ # name: test_states[number.ingress_doorbell_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Doorbell volume', + : 'Data provided by Ring.com', + : 'Ingress Doorbell volume', : 8, : 0, : , @@ -284,8 +284,8 @@ # name: test_states[number.ingress_mic_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Mic volume', + : 'Data provided by Ring.com', + : 'Ingress Mic volume', : 11, : 0, : , @@ -344,8 +344,8 @@ # name: test_states[number.ingress_voice_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Voice volume', + : 'Data provided by Ring.com', + : 'Ingress Voice volume', : 11, : 0, : , @@ -404,8 +404,8 @@ # name: test_states[number.internal_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Internal Volume', + : 'Data provided by Ring.com', + : 'Internal Volume', : 11, : 0, : , diff --git a/tests/components/ring/snapshots/test_sensor.ambr b/tests/components/ring/snapshots/test_sensor.ambr index e0383e0e6fa..8e4df7996e5 100644 --- a/tests/components/ring/snapshots/test_sensor.ambr +++ b/tests/components/ring/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_states[sensor.downstairs_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Downstairs Volume', + : 'Data provided by Ring.com', + : 'Downstairs Volume', }), 'context': , 'entity_id': 'sensor.downstairs_volume', @@ -90,8 +90,8 @@ # name: test_states[sensor.downstairs_wifi_signal_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Downstairs Wi-Fi signal category', + : 'Data provided by Ring.com', + : 'Downstairs Wi-Fi signal category', }), 'context': , 'entity_id': 'sensor.downstairs_wifi_signal_category', @@ -141,10 +141,10 @@ # name: test_states[sensor.downstairs_wifi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'signal_strength', - 'friendly_name': 'Downstairs Signal strength', - 'unit_of_measurement': 'dBm', + : 'Data provided by Ring.com', + : 'signal_strength', + : 'Downstairs Signal strength', + : 'dBm', }), 'context': , 'entity_id': 'sensor.downstairs_wifi_signal_strength', @@ -196,11 +196,11 @@ # name: test_states[sensor.front_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'battery', - 'friendly_name': 'Front Battery', + : 'Data provided by Ring.com', + : 'battery', + : 'Front Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.front_battery', @@ -252,11 +252,11 @@ # name: test_states[sensor.front_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'battery', - 'friendly_name': 'Front Door Battery', + : 'Data provided by Ring.com', + : 'battery', + : 'Front Door Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.front_door_battery', @@ -306,9 +306,9 @@ # name: test_states[sensor.front_door_last_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Front Door Last activity', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Front Door Last activity', }), 'context': , 'entity_id': 'sensor.front_door_last_activity', @@ -358,9 +358,9 @@ # name: test_states[sensor.front_door_last_ding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Front Door Last ding', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Front Door Last ding', }), 'context': , 'entity_id': 'sensor.front_door_last_ding', @@ -410,9 +410,9 @@ # name: test_states[sensor.front_door_last_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Front Door Last motion', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Front Door Last motion', }), 'context': , 'entity_id': 'sensor.front_door_last_motion', @@ -462,8 +462,8 @@ # name: test_states[sensor.front_door_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Volume', + : 'Data provided by Ring.com', + : 'Front Volume', }), 'context': , 'entity_id': 'sensor.front_door_volume', @@ -513,8 +513,8 @@ # name: test_states[sensor.front_door_wifi_signal_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Door Wi-Fi signal category', + : 'Data provided by Ring.com', + : 'Front Door Wi-Fi signal category', }), 'context': , 'entity_id': 'sensor.front_door_wifi_signal_category', @@ -564,10 +564,10 @@ # name: test_states[sensor.front_door_wifi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'signal_strength', - 'friendly_name': 'Front Door Signal strength', - 'unit_of_measurement': 'dBm', + : 'Data provided by Ring.com', + : 'signal_strength', + : 'Front Door Signal strength', + : 'dBm', }), 'context': , 'entity_id': 'sensor.front_door_wifi_signal_strength', @@ -617,9 +617,9 @@ # name: test_states[sensor.front_last_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Front Last activity', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Front Last activity', }), 'context': , 'entity_id': 'sensor.front_last_activity', @@ -669,9 +669,9 @@ # name: test_states[sensor.front_last_ding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Front Last ding', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Front Last ding', }), 'context': , 'entity_id': 'sensor.front_last_ding', @@ -721,9 +721,9 @@ # name: test_states[sensor.front_last_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Front Last motion', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Front Last motion', }), 'context': , 'entity_id': 'sensor.front_last_motion', @@ -773,8 +773,8 @@ # name: test_states[sensor.front_wifi_signal_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Wi-Fi signal category', + : 'Data provided by Ring.com', + : 'Front Wi-Fi signal category', }), 'context': , 'entity_id': 'sensor.front_wifi_signal_category', @@ -824,10 +824,10 @@ # name: test_states[sensor.front_wifi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'signal_strength', - 'friendly_name': 'Front Signal strength', - 'unit_of_measurement': 'dBm', + : 'Data provided by Ring.com', + : 'signal_strength', + : 'Front Signal strength', + : 'dBm', }), 'context': , 'entity_id': 'sensor.front_wifi_signal_strength', @@ -879,11 +879,11 @@ # name: test_states[sensor.ingress_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'battery', - 'friendly_name': 'Ingress Battery', + : 'Data provided by Ring.com', + : 'battery', + : 'Ingress Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ingress_battery', @@ -933,8 +933,8 @@ # name: test_states[sensor.ingress_doorbell_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Doorbell volume', + : 'Data provided by Ring.com', + : 'Ingress Doorbell volume', }), 'context': , 'entity_id': 'sensor.ingress_doorbell_volume', @@ -984,9 +984,9 @@ # name: test_states[sensor.ingress_last_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Ingress Last activity', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Ingress Last activity', }), 'context': , 'entity_id': 'sensor.ingress_last_activity', @@ -1036,8 +1036,8 @@ # name: test_states[sensor.ingress_mic_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Mic volume', + : 'Data provided by Ring.com', + : 'Ingress Mic volume', }), 'context': , 'entity_id': 'sensor.ingress_mic_volume', @@ -1087,8 +1087,8 @@ # name: test_states[sensor.ingress_voice_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Voice volume', + : 'Data provided by Ring.com', + : 'Ingress Voice volume', }), 'context': , 'entity_id': 'sensor.ingress_voice_volume', @@ -1138,8 +1138,8 @@ # name: test_states[sensor.ingress_wifi_signal_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Ingress Wi-Fi signal category', + : 'Data provided by Ring.com', + : 'Ingress Wi-Fi signal category', }), 'context': , 'entity_id': 'sensor.ingress_wifi_signal_category', @@ -1189,10 +1189,10 @@ # name: test_states[sensor.ingress_wifi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'signal_strength', - 'friendly_name': 'Ingress Signal strength', - 'unit_of_measurement': 'dBm', + : 'Data provided by Ring.com', + : 'signal_strength', + : 'Ingress Signal strength', + : 'dBm', }), 'context': , 'entity_id': 'sensor.ingress_wifi_signal_strength', @@ -1244,11 +1244,11 @@ # name: test_states[sensor.internal_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'battery', - 'friendly_name': 'Internal Battery', + : 'Data provided by Ring.com', + : 'battery', + : 'Internal Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.internal_battery', @@ -1298,9 +1298,9 @@ # name: test_states[sensor.internal_last_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Internal Last activity', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Internal Last activity', }), 'context': , 'entity_id': 'sensor.internal_last_activity', @@ -1350,9 +1350,9 @@ # name: test_states[sensor.internal_last_ding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Internal Last ding', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Internal Last ding', }), 'context': , 'entity_id': 'sensor.internal_last_ding', @@ -1402,9 +1402,9 @@ # name: test_states[sensor.internal_last_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'timestamp', - 'friendly_name': 'Internal Last motion', + : 'Data provided by Ring.com', + : 'timestamp', + : 'Internal Last motion', }), 'context': , 'entity_id': 'sensor.internal_last_motion', @@ -1454,8 +1454,8 @@ # name: test_states[sensor.internal_wifi_signal_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Internal Wi-Fi signal category', + : 'Data provided by Ring.com', + : 'Internal Wi-Fi signal category', }), 'context': , 'entity_id': 'sensor.internal_wifi_signal_category', @@ -1505,10 +1505,10 @@ # name: test_states[sensor.internal_wifi_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'device_class': 'signal_strength', - 'friendly_name': 'Internal Signal strength', - 'unit_of_measurement': 'dBm', + : 'Data provided by Ring.com', + : 'signal_strength', + : 'Internal Signal strength', + : 'dBm', }), 'context': , 'entity_id': 'sensor.internal_wifi_signal_strength', diff --git a/tests/components/ring/snapshots/test_siren.ambr b/tests/components/ring/snapshots/test_siren.ambr index 1f8cc7343a5..75afec878cd 100644 --- a/tests/components/ring/snapshots/test_siren.ambr +++ b/tests/components/ring/snapshots/test_siren.ambr @@ -44,13 +44,13 @@ # name: test_states[siren.downstairs_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', + : 'Data provided by Ring.com', : list([ 'ding', 'motion', ]), - 'friendly_name': 'Downstairs Siren', - 'supported_features': , + : 'Downstairs Siren', + : , }), 'context': , 'entity_id': 'siren.downstairs_siren', @@ -100,9 +100,9 @@ # name: test_states[siren.front_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Siren', - 'supported_features': , + : 'Data provided by Ring.com', + : 'Front Siren', + : , }), 'context': , 'entity_id': 'siren.front_siren', @@ -152,9 +152,9 @@ # name: test_states[siren.internal_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Internal Siren', - 'supported_features': , + : 'Data provided by Ring.com', + : 'Internal Siren', + : , }), 'context': , 'entity_id': 'siren.internal_siren', diff --git a/tests/components/ring/snapshots/test_switch.ambr b/tests/components/ring/snapshots/test_switch.ambr index 649d9c671b1..18166e698d7 100644 --- a/tests/components/ring/snapshots/test_switch.ambr +++ b/tests/components/ring/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_states[switch.front_door_in_home_chime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Door In-home chime', + : 'Data provided by Ring.com', + : 'Front Door In-home chime', }), 'context': , 'entity_id': 'switch.front_door_in_home_chime', @@ -90,8 +90,8 @@ # name: test_states[switch.front_door_motion_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Door Motion detection', + : 'Data provided by Ring.com', + : 'Front Door Motion detection', }), 'context': , 'entity_id': 'switch.front_door_motion_detection', @@ -141,8 +141,8 @@ # name: test_states[switch.front_motion_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Motion detection', + : 'Data provided by Ring.com', + : 'Front Motion detection', }), 'context': , 'entity_id': 'switch.front_motion_detection', @@ -192,8 +192,8 @@ # name: test_states[switch.front_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Front Siren', + : 'Data provided by Ring.com', + : 'Front Siren', }), 'context': , 'entity_id': 'switch.front_siren', @@ -243,8 +243,8 @@ # name: test_states[switch.internal_motion_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Internal Motion detection', + : 'Data provided by Ring.com', + : 'Internal Motion detection', }), 'context': , 'entity_id': 'switch.internal_motion_detection', @@ -294,8 +294,8 @@ # name: test_states[switch.internal_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Ring.com', - 'friendly_name': 'Internal Siren', + : 'Data provided by Ring.com', + : 'Internal Siren', }), 'context': , 'entity_id': 'switch.internal_siren', diff --git a/tests/components/roborock/snapshots/test_binary_sensor.ambr b/tests/components/roborock/snapshots/test_binary_sensor.ambr index c50953eda69..52230939514 100644 --- a/tests/components/roborock/snapshots/test_binary_sensor.ambr +++ b/tests/components/roborock/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Roborock S7 2 Charging', + : 'battery_charging', + : 'Roborock S7 2 Charging', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_charging', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_cleaning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Roborock S7 2 Cleaning', + : 'running', + : 'Roborock S7 2 Cleaning', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_cleaning', @@ -141,8 +141,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_dock_clean_water_box-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 2 Dock Clean water box', + : 'problem', + : 'Roborock S7 2 Dock Clean water box', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_dock_clean_water_box', @@ -192,8 +192,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_dock_cleaning_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 2 Dock Cleaning fluid', + : 'problem', + : 'Roborock S7 2 Dock Cleaning fluid', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_dock_cleaning_fluid', @@ -243,8 +243,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_dock_dirty_water_box-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 2 Dock Dirty water box', + : 'problem', + : 'Roborock S7 2 Dock Dirty water box', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_dock_dirty_water_box', @@ -294,8 +294,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_dock_mop_drying-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Roborock S7 2 Dock Mop drying', + : 'running', + : 'Roborock S7 2 Dock Mop drying', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_dock_mop_drying', @@ -345,8 +345,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_mop_attached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Roborock S7 2 Mop attached', + : 'connectivity', + : 'Roborock S7 2 Mop attached', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_mop_attached', @@ -396,8 +396,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_water_box_attached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Roborock S7 2 Water box attached', + : 'connectivity', + : 'Roborock S7 2 Water box attached', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_water_box_attached', @@ -447,8 +447,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_2_water_shortage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 2 Water shortage', + : 'problem', + : 'Roborock S7 2 Water shortage', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_2_water_shortage', @@ -498,8 +498,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Roborock S7 MaxV Charging', + : 'battery_charging', + : 'Roborock S7 MaxV Charging', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_charging', @@ -549,8 +549,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_cleaning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Roborock S7 MaxV Cleaning', + : 'running', + : 'Roborock S7 MaxV Cleaning', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_cleaning', @@ -600,8 +600,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_dock_clean_water_box-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 MaxV Dock Clean water box', + : 'problem', + : 'Roborock S7 MaxV Dock Clean water box', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_dock_clean_water_box', @@ -651,8 +651,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_dock_cleaning_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 MaxV Dock Cleaning fluid', + : 'problem', + : 'Roborock S7 MaxV Dock Cleaning fluid', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_dock_cleaning_fluid', @@ -702,8 +702,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_dock_dirty_water_box-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 MaxV Dock Dirty water box', + : 'problem', + : 'Roborock S7 MaxV Dock Dirty water box', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_dock_dirty_water_box', @@ -753,8 +753,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_dock_mop_drying-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Roborock S7 MaxV Dock Mop drying', + : 'running', + : 'Roborock S7 MaxV Dock Mop drying', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_dock_mop_drying', @@ -804,8 +804,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_mop_attached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Roborock S7 MaxV Mop attached', + : 'connectivity', + : 'Roborock S7 MaxV Mop attached', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_mop_attached', @@ -855,8 +855,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_water_box_attached-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Roborock S7 MaxV Water box attached', + : 'connectivity', + : 'Roborock S7 MaxV Water box attached', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_water_box_attached', @@ -906,8 +906,8 @@ # name: test_binary_sensors[binary_sensor.roborock_s7_maxv_water_shortage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Roborock S7 MaxV Water shortage', + : 'problem', + : 'Roborock S7 MaxV Water shortage', }), 'context': , 'entity_id': 'binary_sensor.roborock_s7_maxv_water_shortage', @@ -957,8 +957,8 @@ # name: test_binary_sensors[binary_sensor.zeo_one_detergent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zeo One Detergent', + : 'problem', + : 'Zeo One Detergent', }), 'context': , 'entity_id': 'binary_sensor.zeo_one_detergent', @@ -1008,8 +1008,8 @@ # name: test_binary_sensors[binary_sensor.zeo_one_softener-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zeo One Softener', + : 'problem', + : 'Zeo One Softener', }), 'context': , 'entity_id': 'binary_sensor.zeo_one_softener', diff --git a/tests/components/roborock/snapshots/test_button.ambr b/tests/components/roborock/snapshots/test_button.ambr index 9d376ab7267..bd667e378e7 100644 --- a/tests/components/roborock/snapshots/test_button.ambr +++ b/tests/components/roborock/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button.roborock_q10_s5_empty_dustbin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock Q10 S5+ Empty dustbin', + : 'Roborock Q10 S5+ Empty dustbin', }), 'context': , 'entity_id': 'button.roborock_q10_s5_empty_dustbin', @@ -89,7 +89,7 @@ # name: test_buttons[button.roborock_s7_2_dock_reset_cleaning_brush_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Dock Reset cleaning brush consumable', + : 'Roborock S7 2 Dock Reset cleaning brush consumable', }), 'context': , 'entity_id': 'button.roborock_s7_2_dock_reset_cleaning_brush_consumable', @@ -139,7 +139,7 @@ # name: test_buttons[button.roborock_s7_2_dock_reset_strainer_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Dock Reset strainer consumable', + : 'Roborock S7 2 Dock Reset strainer consumable', }), 'context': , 'entity_id': 'button.roborock_s7_2_dock_reset_strainer_consumable', @@ -189,7 +189,7 @@ # name: test_buttons[button.roborock_s7_2_reset_air_filter_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Reset air filter consumable', + : 'Roborock S7 2 Reset air filter consumable', }), 'context': , 'entity_id': 'button.roborock_s7_2_reset_air_filter_consumable', @@ -239,7 +239,7 @@ # name: test_buttons[button.roborock_s7_2_reset_main_brush_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Reset main brush consumable', + : 'Roborock S7 2 Reset main brush consumable', }), 'context': , 'entity_id': 'button.roborock_s7_2_reset_main_brush_consumable', @@ -289,7 +289,7 @@ # name: test_buttons[button.roborock_s7_2_reset_sensor_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Reset sensor consumable', + : 'Roborock S7 2 Reset sensor consumable', }), 'context': , 'entity_id': 'button.roborock_s7_2_reset_sensor_consumable', @@ -339,7 +339,7 @@ # name: test_buttons[button.roborock_s7_2_reset_side_brush_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Reset side brush consumable', + : 'Roborock S7 2 Reset side brush consumable', }), 'context': , 'entity_id': 'button.roborock_s7_2_reset_side_brush_consumable', @@ -389,7 +389,7 @@ # name: test_buttons[button.roborock_s7_2_sc1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 sc1', + : 'Roborock S7 2 sc1', }), 'context': , 'entity_id': 'button.roborock_s7_2_sc1', @@ -439,7 +439,7 @@ # name: test_buttons[button.roborock_s7_2_sc2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 sc2', + : 'Roborock S7 2 sc2', }), 'context': , 'entity_id': 'button.roborock_s7_2_sc2', @@ -489,7 +489,7 @@ # name: test_buttons[button.roborock_s7_maxv_dock_reset_cleaning_brush_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Dock Reset cleaning brush consumable', + : 'Roborock S7 MaxV Dock Reset cleaning brush consumable', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_dock_reset_cleaning_brush_consumable', @@ -539,7 +539,7 @@ # name: test_buttons[button.roborock_s7_maxv_dock_reset_strainer_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Dock Reset strainer consumable', + : 'Roborock S7 MaxV Dock Reset strainer consumable', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_dock_reset_strainer_consumable', @@ -589,7 +589,7 @@ # name: test_buttons[button.roborock_s7_maxv_reset_air_filter_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Reset air filter consumable', + : 'Roborock S7 MaxV Reset air filter consumable', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_reset_air_filter_consumable', @@ -639,7 +639,7 @@ # name: test_buttons[button.roborock_s7_maxv_reset_main_brush_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Reset main brush consumable', + : 'Roborock S7 MaxV Reset main brush consumable', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_reset_main_brush_consumable', @@ -689,7 +689,7 @@ # name: test_buttons[button.roborock_s7_maxv_reset_sensor_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Reset sensor consumable', + : 'Roborock S7 MaxV Reset sensor consumable', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_reset_sensor_consumable', @@ -739,7 +739,7 @@ # name: test_buttons[button.roborock_s7_maxv_reset_side_brush_consumable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Reset side brush consumable', + : 'Roborock S7 MaxV Reset side brush consumable', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_reset_side_brush_consumable', @@ -789,7 +789,7 @@ # name: test_buttons[button.roborock_s7_maxv_sc1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV sc1', + : 'Roborock S7 MaxV sc1', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_sc1', @@ -839,7 +839,7 @@ # name: test_buttons[button.roborock_s7_maxv_sc2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV sc2', + : 'Roborock S7 MaxV sc2', }), 'context': , 'entity_id': 'button.roborock_s7_maxv_sc2', @@ -889,7 +889,7 @@ # name: test_buttons[button.zeo_one_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zeo One Pause', + : 'Zeo One Pause', }), 'context': , 'entity_id': 'button.zeo_one_pause', @@ -939,7 +939,7 @@ # name: test_buttons[button.zeo_one_shut_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zeo One Shut down', + : 'Zeo One Shut down', }), 'context': , 'entity_id': 'button.zeo_one_shut_down', @@ -989,7 +989,7 @@ # name: test_buttons[button.zeo_one_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zeo One Start', + : 'Zeo One Start', }), 'context': , 'entity_id': 'button.zeo_one_start', diff --git a/tests/components/roborock/snapshots/test_sensor.ambr b/tests/components/roborock/snapshots/test_sensor.ambr index 406a855751b..24a112ce59a 100644 --- a/tests/components/roborock/snapshots/test_sensor.ambr +++ b/tests/components/roborock/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_sensors[sensor.dyad_pro_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Dyad Pro Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Dyad Pro Battery', + : '%', }), 'context': , 'entity_id': 'sensor.dyad_pro_battery', @@ -112,8 +112,8 @@ # name: test_sensors[sensor.dyad_pro_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dyad Pro Error', + : 'enum', + : 'Dyad Pro Error', : list([ 'none', 'dirty_tank_full', @@ -189,9 +189,9 @@ # name: test_sensors[sensor.dyad_pro_filter_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Dyad Pro Filter time left', - 'unit_of_measurement': , + : 'duration', + : 'Dyad Pro Filter time left', + : , }), 'context': , 'entity_id': 'sensor.dyad_pro_filter_time_left', @@ -247,9 +247,9 @@ # name: test_sensors[sensor.dyad_pro_roller_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Dyad Pro Roller left', - 'unit_of_measurement': , + : 'duration', + : 'Dyad Pro Roller left', + : , }), 'context': , 'entity_id': 'sensor.dyad_pro_roller_left', @@ -319,8 +319,8 @@ # name: test_sensors[sensor.dyad_pro_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dyad Pro Status', + : 'enum', + : 'Dyad Pro Status', : list([ 'unknown', 'fetching', @@ -395,9 +395,9 @@ # name: test_sensors[sensor.dyad_pro_total_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Dyad Pro Total cleaning time', - 'unit_of_measurement': , + : 'duration', + : 'Dyad Pro Total cleaning time', + : , }), 'context': , 'entity_id': 'sensor.dyad_pro_total_cleaning_time', @@ -447,9 +447,9 @@ # name: test_sensors[sensor.roborock_q10_s5_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Roborock Q10 S5+ Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Roborock Q10 S5+ Battery', + : '%', }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_battery', @@ -499,8 +499,8 @@ # name: test_sensors[sensor.roborock_q10_s5_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock Q10 S5+ Cleaning area', - 'unit_of_measurement': , + : 'Roborock Q10 S5+ Cleaning area', + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_cleaning_area', @@ -550,8 +550,8 @@ # name: test_sensors[sensor.roborock_q10_s5_cleaning_progress-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock Q10 S5+ Cleaning progress', - 'unit_of_measurement': '%', + : 'Roborock Q10 S5+ Cleaning progress', + : '%', }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_cleaning_progress', @@ -607,9 +607,9 @@ # name: test_sensors[sensor.roborock_q10_s5_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q10 S5+ Cleaning time', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q10 S5+ Cleaning time', + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_cleaning_time', @@ -662,9 +662,9 @@ # name: test_sensors[sensor.roborock_q10_s5_filter_time_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q10 S5+ Filter time used', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q10 S5+ Filter time used', + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_filter_time_used', @@ -717,9 +717,9 @@ # name: test_sensors[sensor.roborock_q10_s5_main_brush_time_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q10 S5+ Main brush time used', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q10 S5+ Main brush time used', + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_main_brush_time_used', @@ -772,9 +772,9 @@ # name: test_sensors[sensor.roborock_q10_s5_sensor_time_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q10 S5+ Sensor time used', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q10 S5+ Sensor time used', + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_sensor_time_used', @@ -827,9 +827,9 @@ # name: test_sensors[sensor.roborock_q10_s5_side_brush_time_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q10 S5+ Side brush time used', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q10 S5+ Side brush time used', + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_side_brush_time_used', @@ -901,8 +901,8 @@ # name: test_sensors[sensor.roborock_q10_s5_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock Q10 S5+ Status', + : 'enum', + : 'Roborock Q10 S5+ Status', : list([ 'unknown', 'sleeping', @@ -975,9 +975,9 @@ # name: test_sensors[sensor.roborock_q10_s5_total_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock Q10 S5+ Total cleaning area', + : 'Roborock Q10 S5+ Total cleaning area', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_total_cleaning_area', @@ -1029,7 +1029,7 @@ # name: test_sensors[sensor.roborock_q10_s5_total_cleaning_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock Q10 S5+ Total cleaning count', + : 'Roborock Q10 S5+ Total cleaning count', : , }), 'context': , @@ -1088,10 +1088,10 @@ # name: test_sensors[sensor.roborock_q10_s5_total_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q10 S5+ Total cleaning time', + : 'duration', + : 'Roborock Q10 S5+ Total cleaning time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.roborock_q10_s5_total_cleaning_time', @@ -1141,9 +1141,9 @@ # name: test_sensors[sensor.roborock_q7_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Roborock Q7 Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Roborock Q7 Battery', + : '%', }), 'context': , 'entity_id': 'sensor.roborock_q7_battery', @@ -1199,9 +1199,9 @@ # name: test_sensors[sensor.roborock_q7_filter_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q7 Filter time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q7 Filter time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_q7_filter_time_left', @@ -1257,9 +1257,9 @@ # name: test_sensors[sensor.roborock_q7_main_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q7 Main brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q7 Main brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_q7_main_brush_time_left', @@ -1315,9 +1315,9 @@ # name: test_sensors[sensor.roborock_q7_mop_life_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q7 Mop life time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q7 Mop life time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_q7_mop_life_time_left', @@ -1373,9 +1373,9 @@ # name: test_sensors[sensor.roborock_q7_sensor_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q7 Sensor time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q7 Sensor time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_q7_sensor_time_left', @@ -1431,9 +1431,9 @@ # name: test_sensors[sensor.roborock_q7_side_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock Q7 Side brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock Q7 Side brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_q7_side_brush_time_left', @@ -1497,8 +1497,8 @@ # name: test_sensors[sensor.roborock_q7_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock Q7 Status', + : 'enum', + : 'Roborock Q7 Status', : list([ 'sleeping', 'waiting_for_orders', @@ -1561,9 +1561,9 @@ # name: test_sensors[sensor.roborock_s7_2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Roborock S7 2 Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Roborock S7 2 Battery', + : '%', }), 'context': , 'entity_id': 'sensor.roborock_s7_2_battery', @@ -1613,8 +1613,8 @@ # name: test_sensors[sensor.roborock_s7_2_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Cleaning area', - 'unit_of_measurement': , + : 'Roborock S7 2 Cleaning area', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_cleaning_area', @@ -1664,8 +1664,8 @@ # name: test_sensors[sensor.roborock_s7_2_cleaning_progress-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Cleaning progress', - 'unit_of_measurement': '%', + : 'Roborock S7 2 Cleaning progress', + : '%', }), 'context': , 'entity_id': 'sensor.roborock_s7_2_cleaning_progress', @@ -1721,9 +1721,9 @@ # name: test_sensors[sensor.roborock_s7_2_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Cleaning time', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Cleaning time', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_cleaning_time', @@ -1779,8 +1779,8 @@ # name: test_sensors[sensor.roborock_s7_2_current_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 2 Current room', + : 'enum', + : 'Roborock S7 2 Current room', : list([ 'Example room 1', 'Example room 2', @@ -1849,8 +1849,8 @@ # name: test_sensors[sensor.roborock_s7_2_dock_dock_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 2 Dock Dock error', + : 'enum', + : 'Roborock S7 2 Dock Dock error', : list([ 'ok', 'no_dustbin_or_filter', @@ -1916,9 +1916,9 @@ # name: test_sensors[sensor.roborock_s7_2_dock_maintenance_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Dock Maintenance brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Dock Maintenance brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_dock_maintenance_brush_time_left', @@ -1974,9 +1974,9 @@ # name: test_sensors[sensor.roborock_s7_2_dock_mop_drying_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Dock Mop drying remaining time', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Dock Mop drying remaining time', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_dock_mop_drying_remaining_time', @@ -2029,9 +2029,9 @@ # name: test_sensors[sensor.roborock_s7_2_dock_strainer_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Dock Strainer time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Dock Strainer time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_dock_strainer_time_left', @@ -2087,9 +2087,9 @@ # name: test_sensors[sensor.roborock_s7_2_filter_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Filter time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Filter time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_filter_time_left', @@ -2139,8 +2139,8 @@ # name: test_sensors[sensor.roborock_s7_2_last_clean_begin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Roborock S7 2 Last clean begin', + : 'timestamp', + : 'Roborock S7 2 Last clean begin', }), 'context': , 'entity_id': 'sensor.roborock_s7_2_last_clean_begin', @@ -2190,8 +2190,8 @@ # name: test_sensors[sensor.roborock_s7_2_last_clean_end-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Roborock S7 2 Last clean end', + : 'timestamp', + : 'Roborock S7 2 Last clean end', }), 'context': , 'entity_id': 'sensor.roborock_s7_2_last_clean_end', @@ -2247,9 +2247,9 @@ # name: test_sensors[sensor.roborock_s7_2_main_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Main brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Main brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_main_brush_time_left', @@ -2305,9 +2305,9 @@ # name: test_sensors[sensor.roborock_s7_2_sensor_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Sensor time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Sensor time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_sensor_time_left', @@ -2363,9 +2363,9 @@ # name: test_sensors[sensor.roborock_s7_2_side_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Side brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Side brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_side_brush_time_left', @@ -2461,8 +2461,8 @@ # name: test_sensors[sensor.roborock_s7_2_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 2 Status', + : 'enum', + : 'Roborock S7 2 Status', : list([ 'unknown', 'starting', @@ -2557,8 +2557,8 @@ # name: test_sensors[sensor.roborock_s7_2_total_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Total cleaning area', - 'unit_of_measurement': , + : 'Roborock S7 2 Total cleaning area', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_total_cleaning_area', @@ -2610,7 +2610,7 @@ # name: test_sensors[sensor.roborock_s7_2_total_cleaning_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Total cleaning count', + : 'Roborock S7 2 Total cleaning count', : , }), 'context': , @@ -2667,9 +2667,9 @@ # name: test_sensors[sensor.roborock_s7_2_total_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 2 Total cleaning time', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 2 Total cleaning time', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_2_total_cleaning_time', @@ -2775,8 +2775,8 @@ # name: test_sensors[sensor.roborock_s7_2_vacuum_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 2 Vacuum error', + : 'enum', + : 'Roborock S7 2 Vacuum error', : list([ 'none', 'lidar_blocked', @@ -2881,9 +2881,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Roborock S7 MaxV Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Roborock S7 MaxV Battery', + : '%', }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_battery', @@ -2933,8 +2933,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Cleaning area', - 'unit_of_measurement': , + : 'Roborock S7 MaxV Cleaning area', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_cleaning_area', @@ -2984,8 +2984,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_cleaning_progress-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Cleaning progress', - 'unit_of_measurement': '%', + : 'Roborock S7 MaxV Cleaning progress', + : '%', }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_cleaning_progress', @@ -3041,9 +3041,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Cleaning time', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Cleaning time', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_cleaning_time', @@ -3099,8 +3099,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_current_room-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 MaxV Current room', + : 'enum', + : 'Roborock S7 MaxV Current room', : list([ 'Example room 1', 'Example room 2', @@ -3169,8 +3169,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_dock_dock_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 MaxV Dock Dock error', + : 'enum', + : 'Roborock S7 MaxV Dock Dock error', : list([ 'ok', 'no_dustbin_or_filter', @@ -3236,9 +3236,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_dock_maintenance_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Dock Maintenance brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Dock Maintenance brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_dock_maintenance_brush_time_left', @@ -3294,9 +3294,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_dock_mop_drying_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Dock Mop drying remaining time', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Dock Mop drying remaining time', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_dock_mop_drying_remaining_time', @@ -3349,9 +3349,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_dock_strainer_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Dock Strainer time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Dock Strainer time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_dock_strainer_time_left', @@ -3407,9 +3407,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_filter_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Filter time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Filter time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_filter_time_left', @@ -3459,8 +3459,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_last_clean_begin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Roborock S7 MaxV Last clean begin', + : 'timestamp', + : 'Roborock S7 MaxV Last clean begin', }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_last_clean_begin', @@ -3510,8 +3510,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_last_clean_end-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Roborock S7 MaxV Last clean end', + : 'timestamp', + : 'Roborock S7 MaxV Last clean end', }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_last_clean_end', @@ -3567,9 +3567,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_main_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Main brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Main brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_main_brush_time_left', @@ -3625,9 +3625,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_sensor_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Sensor time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Sensor time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_sensor_time_left', @@ -3683,9 +3683,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_side_brush_time_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Side brush time left', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Side brush time left', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_side_brush_time_left', @@ -3781,8 +3781,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 MaxV Status', + : 'enum', + : 'Roborock S7 MaxV Status', : list([ 'unknown', 'starting', @@ -3877,8 +3877,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_total_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Total cleaning area', - 'unit_of_measurement': , + : 'Roborock S7 MaxV Total cleaning area', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_total_cleaning_area', @@ -3930,7 +3930,7 @@ # name: test_sensors[sensor.roborock_s7_maxv_total_cleaning_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Total cleaning count', + : 'Roborock S7 MaxV Total cleaning count', : , }), 'context': , @@ -3987,9 +3987,9 @@ # name: test_sensors[sensor.roborock_s7_maxv_total_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Roborock S7 MaxV Total cleaning time', - 'unit_of_measurement': , + : 'duration', + : 'Roborock S7 MaxV Total cleaning time', + : , }), 'context': , 'entity_id': 'sensor.roborock_s7_maxv_total_cleaning_time', @@ -4095,8 +4095,8 @@ # name: test_sensors[sensor.roborock_s7_maxv_vacuum_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Roborock S7 MaxV Vacuum error', + : 'enum', + : 'Roborock S7 MaxV Vacuum error', : list([ 'none', 'lidar_blocked', @@ -4204,9 +4204,9 @@ # name: test_sensors[sensor.zeo_one_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Zeo One Countdown', - 'unit_of_measurement': , + : 'duration', + : 'Zeo One Countdown', + : , }), 'context': , 'entity_id': 'sensor.zeo_one_countdown', @@ -4277,8 +4277,8 @@ # name: test_sensors[sensor.zeo_one_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Zeo One Error', + : 'enum', + : 'Zeo One Error', : list([ 'none', 'refill_error', @@ -4363,8 +4363,8 @@ # name: test_sensors[sensor.zeo_one_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Zeo One State', + : 'enum', + : 'Zeo One State', : list([ 'standby', 'weighing', @@ -4428,7 +4428,7 @@ # name: test_sensors[sensor.zeo_one_times_after_clean-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zeo One Times after clean', + : 'Zeo One Times after clean', }), 'context': , 'entity_id': 'sensor.zeo_one_times_after_clean', @@ -4481,9 +4481,9 @@ # name: test_sensors[sensor.zeo_one_washing_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Zeo One Washing left', - 'unit_of_measurement': , + : 'duration', + : 'Zeo One Washing left', + : , }), 'context': , 'entity_id': 'sensor.zeo_one_washing_left', diff --git a/tests/components/roborock/snapshots/test_switch.ambr b/tests/components/roborock/snapshots/test_switch.ambr index 0ad95a93ba0..e16bb966e90 100644 --- a/tests/components/roborock/snapshots/test_switch.ambr +++ b/tests/components/roborock/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.roborock_s7_2_do_not_disturb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Do not disturb', + : 'Roborock S7 2 Do not disturb', }), 'context': , 'entity_id': 'switch.roborock_s7_2_do_not_disturb', @@ -89,7 +89,7 @@ # name: test_switches[switch.roborock_s7_2_dock_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Dock Child lock', + : 'Roborock S7 2 Dock Child lock', }), 'context': , 'entity_id': 'switch.roborock_s7_2_dock_child_lock', @@ -139,7 +139,7 @@ # name: test_switches[switch.roborock_s7_2_dock_status_indicator_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Dock Status indicator light', + : 'Roborock S7 2 Dock Status indicator light', }), 'context': , 'entity_id': 'switch.roborock_s7_2_dock_status_indicator_light', @@ -189,7 +189,7 @@ # name: test_switches[switch.roborock_s7_2_off_peak_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 2 Off-peak charging', + : 'Roborock S7 2 Off-peak charging', }), 'context': , 'entity_id': 'switch.roborock_s7_2_off_peak_charging', @@ -239,7 +239,7 @@ # name: test_switches[switch.roborock_s7_maxv_do_not_disturb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Do not disturb', + : 'Roborock S7 MaxV Do not disturb', }), 'context': , 'entity_id': 'switch.roborock_s7_maxv_do_not_disturb', @@ -289,7 +289,7 @@ # name: test_switches[switch.roborock_s7_maxv_dock_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Dock Child lock', + : 'Roborock S7 MaxV Dock Child lock', }), 'context': , 'entity_id': 'switch.roborock_s7_maxv_dock_child_lock', @@ -339,7 +339,7 @@ # name: test_switches[switch.roborock_s7_maxv_dock_status_indicator_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Dock Status indicator light', + : 'Roborock S7 MaxV Dock Status indicator light', }), 'context': , 'entity_id': 'switch.roborock_s7_maxv_dock_status_indicator_light', @@ -389,7 +389,7 @@ # name: test_switches[switch.roborock_s7_maxv_off_peak_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Roborock S7 MaxV Off-peak charging', + : 'Roborock S7 MaxV Off-peak charging', }), 'context': , 'entity_id': 'switch.roborock_s7_maxv_off_peak_charging', @@ -439,7 +439,7 @@ # name: test_switches[switch.zeo_one_sound_setting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zeo One Sound setting', + : 'Zeo One Sound setting', }), 'context': , 'entity_id': 'switch.zeo_one_sound_setting', diff --git a/tests/components/roborock/snapshots/test_vacuum.ambr b/tests/components/roborock/snapshots/test_vacuum.ambr index 60c1b8d51f3..f00ea30f02c 100644 --- a/tests/components/roborock/snapshots/test_vacuum.ambr +++ b/tests/components/roborock/snapshots/test_vacuum.ambr @@ -83,8 +83,8 @@ 'max', 'max_plus', ]), - 'friendly_name': 'Roborock Q10 S5+', - 'supported_features': , + : 'Roborock Q10 S5+', + : , }), 'context': , 'entity_id': 'vacuum.roborock_q10_s5', @@ -150,8 +150,8 @@ 'max', 'max_plus', ]), - 'friendly_name': 'Roborock Q7', - 'supported_features': , + : 'Roborock Q7', + : , }), 'context': , 'entity_id': 'vacuum.roborock_q7', @@ -227,8 +227,8 @@ 'custom', 'smart_mode', ]), - 'friendly_name': 'Roborock S7 2', - 'supported_features': , + : 'Roborock S7 2', + : , }), 'context': , 'entity_id': 'vacuum.roborock_s7_2', @@ -304,8 +304,8 @@ 'custom', 'smart_mode', ]), - 'friendly_name': 'Roborock S7 MaxV', - 'supported_features': , + : 'Roborock S7 MaxV', + : , }), 'context': , 'entity_id': 'vacuum.roborock_s7_maxv', diff --git a/tests/components/roomba/snapshots/test_binary_sensor.ambr b/tests/components/roomba/snapshots/test_binary_sensor.ambr index 400a3bcf543..520b40725d4 100644 --- a/tests/components/roomba/snapshots/test_binary_sensor.ambr +++ b/tests/components/roomba/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_entities[binary_sensor.test_roomba_bin_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Bin full', + : 'Test Roomba Bin full', }), 'context': , 'entity_id': 'binary_sensor.test_roomba_bin_full', @@ -89,8 +89,8 @@ # name: test_entities[binary_sensor.test_roomba_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Test Roomba Charging', + : 'battery_charging', + : 'Test Roomba Charging', }), 'context': , 'entity_id': 'binary_sensor.test_roomba_charging', diff --git a/tests/components/roomba/snapshots/test_sensor.ambr b/tests/components/roomba/snapshots/test_sensor.ambr index d89bd93545b..04f547cc371 100644 --- a/tests/components/roomba/snapshots/test_sensor.ambr +++ b/tests/components/roomba/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entities[sensor.test_roomba_average_mission_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Average mission time', - 'unit_of_measurement': , + : 'Test Roomba Average mission time', + : , }), 'context': , 'entity_id': 'sensor.test_roomba_average_mission_time', @@ -90,9 +90,9 @@ # name: test_entities[sensor.test_roomba_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Roomba Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Test Roomba Battery', + : '%', }), 'context': , 'entity_id': 'sensor.test_roomba_battery', @@ -144,7 +144,7 @@ # name: test_entities[sensor.test_roomba_battery_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Battery cycles', + : 'Test Roomba Battery cycles', : , }), 'context': , @@ -197,9 +197,9 @@ # name: test_entities[sensor.test_roomba_canceled_missions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Canceled missions', + : 'Test Roomba Canceled missions', : , - 'unit_of_measurement': 'Missions', + : 'Missions', }), 'context': , 'entity_id': 'sensor.test_roomba_canceled_missions', @@ -249,8 +249,8 @@ # name: test_entities[sensor.test_roomba_dock_tank_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Dock tank level', - 'unit_of_measurement': '%', + : 'Test Roomba Dock tank level', + : '%', }), 'context': , 'entity_id': 'sensor.test_roomba_dock_tank_level', @@ -302,9 +302,9 @@ # name: test_entities[sensor.test_roomba_failed_missions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Failed missions', + : 'Test Roomba Failed missions', : , - 'unit_of_measurement': 'Missions', + : 'Missions', }), 'context': , 'entity_id': 'sensor.test_roomba_failed_missions', @@ -354,8 +354,8 @@ # name: test_entities[sensor.test_roomba_last_mission_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Roomba Last mission start time', + : 'timestamp', + : 'Test Roomba Last mission start time', }), 'context': , 'entity_id': 'sensor.test_roomba_last_mission_start_time', @@ -407,9 +407,9 @@ # name: test_entities[sensor.test_roomba_scrubs-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Scrubs', + : 'Test Roomba Scrubs', : , - 'unit_of_measurement': 'Scrubs', + : 'Scrubs', }), 'context': , 'entity_id': 'sensor.test_roomba_scrubs', @@ -461,9 +461,9 @@ # name: test_entities[sensor.test_roomba_successful_missions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Successful missions', + : 'Test Roomba Successful missions', : , - 'unit_of_measurement': 'Missions', + : 'Missions', }), 'context': , 'entity_id': 'sensor.test_roomba_successful_missions', @@ -513,8 +513,8 @@ # name: test_entities[sensor.test_roomba_tank_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Tank level', - 'unit_of_measurement': '%', + : 'Test Roomba Tank level', + : '%', }), 'context': , 'entity_id': 'sensor.test_roomba_tank_level', @@ -567,8 +567,8 @@ # name: test_entities[sensor.test_roomba_total_cleaned_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Total cleaned area', - 'unit_of_measurement': , + : 'Test Roomba Total cleaned area', + : , }), 'context': , 'entity_id': 'sensor.test_roomba_total_cleaned_area', @@ -618,8 +618,8 @@ # name: test_entities[sensor.test_roomba_total_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Total cleaning time', - 'unit_of_measurement': , + : 'Test Roomba Total cleaning time', + : , }), 'context': , 'entity_id': 'sensor.test_roomba_total_cleaning_time', @@ -671,9 +671,9 @@ # name: test_entities[sensor.test_roomba_total_missions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Roomba Total missions', + : 'Test Roomba Total missions', : , - 'unit_of_measurement': 'Missions', + : 'Missions', }), 'context': , 'entity_id': 'sensor.test_roomba_total_missions', diff --git a/tests/components/route_b_smart_meter/snapshots/test_sensor.ambr b/tests/components/route_b_smart_meter/snapshots/test_sensor.ambr index a96370529d6..ff94bf14597 100644 --- a/tests/components/route_b_smart_meter/snapshots/test_sensor.ambr +++ b/tests/components/route_b_smart_meter/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_route_b_smart_meter_sensor_update[sensor.route_b_smart_meter_01234567890123456789012345f789_instantaneous_current_r_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Route B Smart Meter 01234567890123456789012345F789 Instantaneous current R phase', + : 'current', + : 'Route B Smart Meter 01234567890123456789012345F789 Instantaneous current R phase', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.route_b_smart_meter_01234567890123456789012345f789_instantaneous_current_r_phase', @@ -102,10 +102,10 @@ # name: test_route_b_smart_meter_sensor_update[sensor.route_b_smart_meter_01234567890123456789012345f789_instantaneous_current_t_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Route B Smart Meter 01234567890123456789012345F789 Instantaneous current T phase', + : 'current', + : 'Route B Smart Meter 01234567890123456789012345F789 Instantaneous current T phase', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.route_b_smart_meter_01234567890123456789012345f789_instantaneous_current_t_phase', @@ -160,10 +160,10 @@ # name: test_route_b_smart_meter_sensor_update[sensor.route_b_smart_meter_01234567890123456789012345f789_instantaneous_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Route B Smart Meter 01234567890123456789012345F789 Instantaneous power', + : 'power', + : 'Route B Smart Meter 01234567890123456789012345F789 Instantaneous power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.route_b_smart_meter_01234567890123456789012345f789_instantaneous_power', @@ -218,10 +218,10 @@ # name: test_route_b_smart_meter_sensor_update[sensor.route_b_smart_meter_01234567890123456789012345f789_total_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Route B Smart Meter 01234567890123456789012345F789 Total consumption', + : 'energy', + : 'Route B Smart Meter 01234567890123456789012345F789 Total consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.route_b_smart_meter_01234567890123456789012345f789_total_consumption', diff --git a/tests/components/rova/snapshots/test_sensor.ambr b/tests/components/rova/snapshots/test_sensor.ambr index 83db033f7b1..ff81f235bb9 100644 --- a/tests/components/rova/snapshots/test_sensor.ambr +++ b/tests/components/rova/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[sensor.8381be_13_bio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '8381BE 13 Bio', + : 'timestamp', + : '8381BE 13 Bio', }), 'context': , 'entity_id': 'sensor.8381be_13_bio', @@ -90,8 +90,8 @@ # name: test_all_entities[sensor.8381be_13_paper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '8381BE 13 Paper', + : 'timestamp', + : '8381BE 13 Paper', }), 'context': , 'entity_id': 'sensor.8381be_13_paper', @@ -141,8 +141,8 @@ # name: test_all_entities[sensor.8381be_13_plastic-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '8381BE 13 Plastic', + : 'timestamp', + : '8381BE 13 Plastic', }), 'context': , 'entity_id': 'sensor.8381be_13_plastic', @@ -192,8 +192,8 @@ # name: test_all_entities[sensor.8381be_13_residual-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': '8381BE 13 Residual', + : 'timestamp', + : '8381BE 13 Residual', }), 'context': , 'entity_id': 'sensor.8381be_13_residual', diff --git a/tests/components/rpi_power/snapshots/test_binary_sensor.ambr b/tests/components/rpi_power/snapshots/test_binary_sensor.ambr index 1a899f25b9c..8785f748e14 100644 --- a/tests/components/rpi_power/snapshots/test_binary_sensor.ambr +++ b/tests/components/rpi_power/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup[binary_sensor.raspberry_pi_power_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Raspberry Pi Power status', + : 'problem', + : 'Raspberry Pi Power status', }), 'context': , 'entity_id': 'binary_sensor.raspberry_pi_power_status', diff --git a/tests/components/russound_rio/snapshots/test_number.ambr b/tests/components/russound_rio/snapshots/test_number.ambr index b00d1b2a987..1283faed26d 100644 --- a/tests/components/russound_rio/snapshots/test_number.ambr +++ b/tests/components/russound_rio/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_all_entities[number.backyard_backyard_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Backyard Balance', + : 'Backyard Balance', : 10, : -10, : , @@ -103,7 +103,7 @@ # name: test_all_entities[number.backyard_backyard_bass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Backyard Bass', + : 'Backyard Bass', : 10, : -10, : , @@ -162,7 +162,7 @@ # name: test_all_entities[number.backyard_backyard_treble-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Backyard Treble', + : 'Backyard Treble', : 10, : -10, : , @@ -221,7 +221,7 @@ # name: test_all_entities[number.backyard_backyard_turn_on_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Backyard Turn-on volume', + : 'Backyard Turn-on volume', : 100, : 0, : , @@ -280,7 +280,7 @@ # name: test_all_entities[number.bedroom_bedroom_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Balance', + : 'Bedroom Balance', : 10, : -10, : , @@ -339,7 +339,7 @@ # name: test_all_entities[number.bedroom_bedroom_bass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Bass', + : 'Bedroom Bass', : 10, : -10, : , @@ -398,7 +398,7 @@ # name: test_all_entities[number.bedroom_bedroom_treble-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Treble', + : 'Bedroom Treble', : 10, : -10, : , @@ -457,7 +457,7 @@ # name: test_all_entities[number.bedroom_bedroom_turn_on_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Turn-on volume', + : 'Bedroom Turn-on volume', : 100, : 0, : , @@ -516,7 +516,7 @@ # name: test_all_entities[number.kitchen_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Balance', + : 'Kitchen Balance', : 10, : -10, : , @@ -575,7 +575,7 @@ # name: test_all_entities[number.kitchen_bass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Bass', + : 'Kitchen Bass', : 10, : -10, : , @@ -634,7 +634,7 @@ # name: test_all_entities[number.kitchen_treble-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Treble', + : 'Kitchen Treble', : 10, : -10, : , @@ -693,7 +693,7 @@ # name: test_all_entities[number.kitchen_turn_on_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Turn-on volume', + : 'Kitchen Turn-on volume', : 100, : 0, : , @@ -752,7 +752,7 @@ # name: test_all_entities[number.living_room_living_room_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Balance', + : 'Living Room Balance', : 10, : -10, : , @@ -811,7 +811,7 @@ # name: test_all_entities[number.living_room_living_room_bass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Bass', + : 'Living Room Bass', : 10, : -10, : , @@ -870,7 +870,7 @@ # name: test_all_entities[number.living_room_living_room_treble-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Treble', + : 'Living Room Treble', : 10, : -10, : , @@ -929,7 +929,7 @@ # name: test_all_entities[number.living_room_living_room_turn_on_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Turn-on volume', + : 'Living Room Turn-on volume', : 100, : 0, : , diff --git a/tests/components/russound_rio/snapshots/test_select.ambr b/tests/components/russound_rio/snapshots/test_select.ambr index 3ad04d8d1d7..2a0e5cfe877 100644 --- a/tests/components/russound_rio/snapshots/test_select.ambr +++ b/tests/components/russound_rio/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_all_entities[select.backyard_backyard_party_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Backyard Party mode', + : 'Backyard Party mode', : list([ 'off', 'on', @@ -106,7 +106,7 @@ # name: test_all_entities[select.bedroom_bedroom_party_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Party mode', + : 'Bedroom Party mode', : list([ 'off', 'on', @@ -167,7 +167,7 @@ # name: test_all_entities[select.kitchen_party_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Party mode', + : 'Kitchen Party mode', : list([ 'off', 'on', @@ -228,7 +228,7 @@ # name: test_all_entities[select.living_room_living_room_party_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Party mode', + : 'Living Room Party mode', : list([ 'off', 'on', diff --git a/tests/components/russound_rio/snapshots/test_switch.ambr b/tests/components/russound_rio/snapshots/test_switch.ambr index 4fb89503bef..42d4af1b7f3 100644 --- a/tests/components/russound_rio/snapshots/test_switch.ambr +++ b/tests/components/russound_rio/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.backyard_backyard_loudness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Backyard Loudness', + : 'Backyard Loudness', }), 'context': , 'entity_id': 'switch.backyard_backyard_loudness', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.bedroom_bedroom_loudness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Loudness', + : 'Bedroom Loudness', }), 'context': , 'entity_id': 'switch.bedroom_bedroom_loudness', @@ -139,7 +139,7 @@ # name: test_all_entities[switch.kitchen_loudness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Loudness', + : 'Kitchen Loudness', }), 'context': , 'entity_id': 'switch.kitchen_loudness', @@ -189,7 +189,7 @@ # name: test_all_entities[switch.living_room_living_room_loudness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Loudness', + : 'Living Room Loudness', }), 'context': , 'entity_id': 'switch.living_room_living_room_loudness', diff --git a/tests/components/ruuvitag_ble/snapshots/test_sensor.ambr b/tests/components/ruuvitag_ble/snapshots/test_sensor.ambr index 2cbe57fda56..011db18769f 100644 --- a/tests/components/ruuvitag_ble/snapshots/test_sensor.ambr +++ b/tests/components/ruuvitag_ble/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Ruuvi Air 884F Carbon dioxide', + : 'carbon_dioxide', + : 'Ruuvi Air 884F Carbon dioxide', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_carbon_dioxide', @@ -96,10 +96,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Ruuvi Air 884F Humidity', + : 'humidity', + : 'Ruuvi Air 884F Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_humidity', @@ -151,10 +151,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Ruuvi Air 884F Illuminance', + : 'illuminance', + : 'Ruuvi Air 884F Illuminance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_illuminance', @@ -206,7 +206,7 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_indoor_air_quality_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ruuvi Air 884F Indoor air quality score', + : 'Ruuvi Air 884F Indoor air quality score', : , }), 'context': , @@ -259,7 +259,7 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_nox_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ruuvi Air 884F NOx index', + : 'Ruuvi Air 884F NOx index', : , }), 'context': , @@ -312,10 +312,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Ruuvi Air 884F PM1', + : 'pm1', + : 'Ruuvi Air 884F PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_pm1', @@ -367,10 +367,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Ruuvi Air 884F PM10', + : 'pm10', + : 'Ruuvi Air 884F PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_pm10', @@ -422,10 +422,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Ruuvi Air 884F PM2.5', + : 'pm25', + : 'Ruuvi Air 884F PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_pm2_5', @@ -477,10 +477,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_pm4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm4', - 'friendly_name': 'Ruuvi Air 884F PM4', + : 'pm4', + : 'Ruuvi Air 884F PM4', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_pm4', @@ -535,10 +535,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Ruuvi Air 884F Pressure', + : 'pressure', + : 'Ruuvi Air 884F Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_pressure', @@ -590,10 +590,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Ruuvi Air 884F Signal strength', + : 'signal_strength', + : 'Ruuvi Air 884F Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_signal_strength', @@ -648,10 +648,10 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ruuvi Air 884F Temperature', + : 'temperature', + : 'Ruuvi Air 884F Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvi_air_884f_temperature', @@ -703,7 +703,7 @@ # name: test_sensors[e1][sensor.ruuvi_air_884f_voc_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ruuvi Air 884F VOC index', + : 'Ruuvi Air 884F VOC index', : , }), 'context': , @@ -756,9 +756,9 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_acceleration_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag EFAF Acceleration total', + : 'RuuviTag EFAF Acceleration total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_acceleration_total', @@ -810,9 +810,9 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_acceleration_x-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag EFAF Acceleration X', + : 'RuuviTag EFAF Acceleration X', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_acceleration_x', @@ -864,9 +864,9 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_acceleration_y-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag EFAF Acceleration Y', + : 'RuuviTag EFAF Acceleration Y', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_acceleration_y', @@ -918,9 +918,9 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_acceleration_z-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag EFAF Acceleration Z', + : 'RuuviTag EFAF Acceleration Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_acceleration_z', @@ -972,10 +972,10 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'RuuviTag EFAF Humidity', + : 'humidity', + : 'RuuviTag EFAF Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_humidity', @@ -1027,7 +1027,7 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_movement_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag EFAF Movement counter', + : 'RuuviTag EFAF Movement counter', : , }), 'context': , @@ -1083,10 +1083,10 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'RuuviTag EFAF Pressure', + : 'pressure', + : 'RuuviTag EFAF Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_pressure', @@ -1138,10 +1138,10 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'RuuviTag EFAF Signal strength', + : 'signal_strength', + : 'RuuviTag EFAF Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_signal_strength', @@ -1196,10 +1196,10 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'RuuviTag EFAF Temperature', + : 'temperature', + : 'RuuviTag EFAF Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_temperature', @@ -1254,10 +1254,10 @@ # name: test_sensors[v5][sensor.ruuvitag_efaf_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'RuuviTag EFAF Voltage', + : 'voltage', + : 'RuuviTag EFAF Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_efaf_voltage', @@ -1309,10 +1309,10 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'RuuviTag 884F Carbon dioxide', + : 'carbon_dioxide', + : 'RuuviTag 884F Carbon dioxide', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_884f_carbon_dioxide', @@ -1364,10 +1364,10 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'RuuviTag 884F Humidity', + : 'humidity', + : 'RuuviTag 884F Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ruuvitag_884f_humidity', @@ -1419,10 +1419,10 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'RuuviTag 884F Illuminance', + : 'illuminance', + : 'RuuviTag 884F Illuminance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_884f_illuminance', @@ -1474,7 +1474,7 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_indoor_air_quality_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag 884F Indoor air quality score', + : 'RuuviTag 884F Indoor air quality score', : , }), 'context': , @@ -1527,7 +1527,7 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_nox_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag 884F NOx index', + : 'RuuviTag 884F NOx index', : , }), 'context': , @@ -1580,10 +1580,10 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'RuuviTag 884F PM2.5', + : 'pm25', + : 'RuuviTag 884F PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.ruuvitag_884f_pm2_5', @@ -1638,10 +1638,10 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'RuuviTag 884F Pressure', + : 'pressure', + : 'RuuviTag 884F Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_884f_pressure', @@ -1693,10 +1693,10 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'RuuviTag 884F Signal strength', + : 'signal_strength', + : 'RuuviTag 884F Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.ruuvitag_884f_signal_strength', @@ -1751,10 +1751,10 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'RuuviTag 884F Temperature', + : 'temperature', + : 'RuuviTag 884F Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ruuvitag_884f_temperature', @@ -1806,7 +1806,7 @@ # name: test_sensors[v6][sensor.ruuvitag_884f_voc_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RuuviTag 884F VOC index', + : 'RuuviTag 884F VOC index', : , }), 'context': , diff --git a/tests/components/sabnzbd/snapshots/test_binary_sensor.ambr b/tests/components/sabnzbd/snapshots/test_binary_sensor.ambr index 5aa8c878c77..65e9d5fb850 100644 --- a/tests/components/sabnzbd/snapshots/test_binary_sensor.ambr +++ b/tests/components/sabnzbd/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensor[binary_sensor.sabnzbd_warnings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Sabnzbd Warnings', + : 'problem', + : 'Sabnzbd Warnings', }), 'context': , 'entity_id': 'binary_sensor.sabnzbd_warnings', diff --git a/tests/components/sabnzbd/snapshots/test_button.ambr b/tests/components/sabnzbd/snapshots/test_button.ambr index a7b789468be..40ed3bb48fe 100644 --- a/tests/components/sabnzbd/snapshots/test_button.ambr +++ b/tests/components/sabnzbd/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_setup[button.sabnzbd_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sabnzbd Pause', + : 'Sabnzbd Pause', }), 'context': , 'entity_id': 'button.sabnzbd_pause', @@ -89,7 +89,7 @@ # name: test_button_setup[button.sabnzbd_resume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sabnzbd Resume', + : 'Sabnzbd Resume', }), 'context': , 'entity_id': 'button.sabnzbd_resume', diff --git a/tests/components/sabnzbd/snapshots/test_number.ambr b/tests/components/sabnzbd/snapshots/test_number.ambr index 4e98eba730b..c23cf885a52 100644 --- a/tests/components/sabnzbd/snapshots/test_number.ambr +++ b/tests/components/sabnzbd/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_setup[number.sabnzbd_speedlimit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sabnzbd Speedlimit', + : 'Sabnzbd Speedlimit', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.sabnzbd_speedlimit', diff --git a/tests/components/sabnzbd/snapshots/test_sensor.ambr b/tests/components/sabnzbd/snapshots/test_sensor.ambr index 83a210e52ab..11cf93d9c5b 100644 --- a/tests/components/sabnzbd/snapshots/test_sensor.ambr +++ b/tests/components/sabnzbd/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.sabnzbd_daily_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Daily total', + : 'data_size', + : 'Sabnzbd Daily total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_daily_total', @@ -102,10 +102,10 @@ # name: test_sensor[sensor.sabnzbd_free_disk_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Free disk space', + : 'data_size', + : 'Sabnzbd Free disk space', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_free_disk_space', @@ -160,10 +160,10 @@ # name: test_sensor[sensor.sabnzbd_left_to_download-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Left to download', + : 'data_size', + : 'Sabnzbd Left to download', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_left_to_download', @@ -218,10 +218,10 @@ # name: test_sensor[sensor.sabnzbd_monthly_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Monthly total', + : 'data_size', + : 'Sabnzbd Monthly total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_monthly_total', @@ -276,10 +276,10 @@ # name: test_sensor[sensor.sabnzbd_overall_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Overall total', + : 'data_size', + : 'Sabnzbd Overall total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_overall_total', @@ -334,10 +334,10 @@ # name: test_sensor[sensor.sabnzbd_queue-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Queue', + : 'data_size', + : 'Sabnzbd Queue', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_queue', @@ -392,7 +392,7 @@ # name: test_sensor[sensor.sabnzbd_queue_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sabnzbd Queue count', + : 'Sabnzbd Queue count', : , }), 'context': , @@ -451,10 +451,10 @@ # name: test_sensor[sensor.sabnzbd_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Sabnzbd Speed', + : 'data_rate', + : 'Sabnzbd Speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_speed', @@ -504,7 +504,7 @@ # name: test_sensor[sensor.sabnzbd_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sabnzbd Status', + : 'Sabnzbd Status', }), 'context': , 'entity_id': 'sensor.sabnzbd_status', @@ -559,10 +559,10 @@ # name: test_sensor[sensor.sabnzbd_total_disk_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Total disk space', + : 'data_size', + : 'Sabnzbd Total disk space', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_total_disk_space', @@ -617,10 +617,10 @@ # name: test_sensor[sensor.sabnzbd_weekly_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Sabnzbd Weekly total', + : 'data_size', + : 'Sabnzbd Weekly total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sabnzbd_weekly_total', diff --git a/tests/components/saj/snapshots/test_sensor.ambr b/tests/components/saj/snapshots/test_sensor.ambr index e47eaff5c10..e7b8bd781dd 100644 --- a/tests/components/saj/snapshots/test_sensor.ambr +++ b/tests/components/saj/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.saj_current_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'saj_current_power', + : 'power', + : 'saj_current_power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.saj_current_power', @@ -100,9 +100,9 @@ # name: test_sensors[sensor.saj_today_yield-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'saj_today_yield', - 'unit_of_measurement': , + : 'energy', + : 'saj_today_yield', + : , }), 'context': , 'entity_id': 'sensor.saj_today_yield', diff --git a/tests/components/samsung_infrared/snapshots/test_button.ambr b/tests/components/samsung_infrared/snapshots/test_button.ambr index a414e695c05..3007df5e49e 100644 --- a/tests/components/samsung_infrared/snapshots/test_button.ambr +++ b/tests/components/samsung_infrared/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.samsung_tv_ad_subtitle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV AD/Subtitle', + : 'Samsung TV AD/Subtitle', }), 'context': , 'entity_id': 'button.samsung_tv_ad_subtitle', @@ -89,7 +89,7 @@ # name: test_entities[button.samsung_tv_blue-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Blue', + : 'Samsung TV Blue', }), 'context': , 'entity_id': 'button.samsung_tv_blue', @@ -139,7 +139,7 @@ # name: test_entities[button.samsung_tv_browser-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Browser', + : 'Samsung TV Browser', }), 'context': , 'entity_id': 'button.samsung_tv_browser', @@ -189,7 +189,7 @@ # name: test_entities[button.samsung_tv_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Down', + : 'Samsung TV Down', }), 'context': , 'entity_id': 'button.samsung_tv_down', @@ -239,7 +239,7 @@ # name: test_entities[button.samsung_tv_e_manual-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV E-Manual', + : 'Samsung TV E-Manual', }), 'context': , 'entity_id': 'button.samsung_tv_e_manual', @@ -289,7 +289,7 @@ # name: test_entities[button.samsung_tv_exit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Exit', + : 'Samsung TV Exit', }), 'context': , 'entity_id': 'button.samsung_tv_exit', @@ -339,7 +339,7 @@ # name: test_entities[button.samsung_tv_fast_forward-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Fast forward', + : 'Samsung TV Fast forward', }), 'context': , 'entity_id': 'button.samsung_tv_fast_forward', @@ -389,7 +389,7 @@ # name: test_entities[button.samsung_tv_green-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Green', + : 'Samsung TV Green', }), 'context': , 'entity_id': 'button.samsung_tv_green', @@ -439,7 +439,7 @@ # name: test_entities[button.samsung_tv_home-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Home', + : 'Samsung TV Home', }), 'context': , 'entity_id': 'button.samsung_tv_home', @@ -489,7 +489,7 @@ # name: test_entities[button.samsung_tv_info-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Info', + : 'Samsung TV Info', }), 'context': , 'entity_id': 'button.samsung_tv_info', @@ -539,7 +539,7 @@ # name: test_entities[button.samsung_tv_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Left', + : 'Samsung TV Left', }), 'context': , 'entity_id': 'button.samsung_tv_left', @@ -589,7 +589,7 @@ # name: test_entities[button.samsung_tv_number_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 0', + : 'Samsung TV Number 0', }), 'context': , 'entity_id': 'button.samsung_tv_number_0', @@ -639,7 +639,7 @@ # name: test_entities[button.samsung_tv_number_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 1', + : 'Samsung TV Number 1', }), 'context': , 'entity_id': 'button.samsung_tv_number_1', @@ -689,7 +689,7 @@ # name: test_entities[button.samsung_tv_number_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 2', + : 'Samsung TV Number 2', }), 'context': , 'entity_id': 'button.samsung_tv_number_2', @@ -739,7 +739,7 @@ # name: test_entities[button.samsung_tv_number_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 3', + : 'Samsung TV Number 3', }), 'context': , 'entity_id': 'button.samsung_tv_number_3', @@ -789,7 +789,7 @@ # name: test_entities[button.samsung_tv_number_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 4', + : 'Samsung TV Number 4', }), 'context': , 'entity_id': 'button.samsung_tv_number_4', @@ -839,7 +839,7 @@ # name: test_entities[button.samsung_tv_number_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 5', + : 'Samsung TV Number 5', }), 'context': , 'entity_id': 'button.samsung_tv_number_5', @@ -889,7 +889,7 @@ # name: test_entities[button.samsung_tv_number_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 6', + : 'Samsung TV Number 6', }), 'context': , 'entity_id': 'button.samsung_tv_number_6', @@ -939,7 +939,7 @@ # name: test_entities[button.samsung_tv_number_7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 7', + : 'Samsung TV Number 7', }), 'context': , 'entity_id': 'button.samsung_tv_number_7', @@ -989,7 +989,7 @@ # name: test_entities[button.samsung_tv_number_8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 8', + : 'Samsung TV Number 8', }), 'context': , 'entity_id': 'button.samsung_tv_number_8', @@ -1039,7 +1039,7 @@ # name: test_entities[button.samsung_tv_number_9-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Number 9', + : 'Samsung TV Number 9', }), 'context': , 'entity_id': 'button.samsung_tv_number_9', @@ -1089,7 +1089,7 @@ # name: test_entities[button.samsung_tv_ok-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV OK', + : 'Samsung TV OK', }), 'context': , 'entity_id': 'button.samsung_tv_ok', @@ -1139,7 +1139,7 @@ # name: test_entities[button.samsung_tv_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Power', + : 'Samsung TV Power', }), 'context': , 'entity_id': 'button.samsung_tv_power', @@ -1189,7 +1189,7 @@ # name: test_entities[button.samsung_tv_previous_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Previous channel', + : 'Samsung TV Previous channel', }), 'context': , 'entity_id': 'button.samsung_tv_previous_channel', @@ -1239,7 +1239,7 @@ # name: test_entities[button.samsung_tv_record-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Record', + : 'Samsung TV Record', }), 'context': , 'entity_id': 'button.samsung_tv_record', @@ -1289,7 +1289,7 @@ # name: test_entities[button.samsung_tv_red-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Red', + : 'Samsung TV Red', }), 'context': , 'entity_id': 'button.samsung_tv_red', @@ -1339,7 +1339,7 @@ # name: test_entities[button.samsung_tv_return-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Return', + : 'Samsung TV Return', }), 'context': , 'entity_id': 'button.samsung_tv_return', @@ -1389,7 +1389,7 @@ # name: test_entities[button.samsung_tv_rewind-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Rewind', + : 'Samsung TV Rewind', }), 'context': , 'entity_id': 'button.samsung_tv_rewind', @@ -1439,7 +1439,7 @@ # name: test_entities[button.samsung_tv_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Right', + : 'Samsung TV Right', }), 'context': , 'entity_id': 'button.samsung_tv_right', @@ -1489,7 +1489,7 @@ # name: test_entities[button.samsung_tv_settings-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Settings', + : 'Samsung TV Settings', }), 'context': , 'entity_id': 'button.samsung_tv_settings', @@ -1539,7 +1539,7 @@ # name: test_entities[button.samsung_tv_source-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Source', + : 'Samsung TV Source', }), 'context': , 'entity_id': 'button.samsung_tv_source', @@ -1589,7 +1589,7 @@ # name: test_entities[button.samsung_tv_tools-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Tools', + : 'Samsung TV Tools', }), 'context': , 'entity_id': 'button.samsung_tv_tools', @@ -1639,7 +1639,7 @@ # name: test_entities[button.samsung_tv_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Up', + : 'Samsung TV Up', }), 'context': , 'entity_id': 'button.samsung_tv_up', @@ -1689,7 +1689,7 @@ # name: test_entities[button.samsung_tv_yellow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Samsung TV Yellow', + : 'Samsung TV Yellow', }), 'context': , 'entity_id': 'button.samsung_tv_yellow', diff --git a/tests/components/samsung_infrared/snapshots/test_media_player.ambr b/tests/components/samsung_infrared/snapshots/test_media_player.ambr index e4b03f82e03..905c96322da 100644 --- a/tests/components/samsung_infrared/snapshots/test_media_player.ambr +++ b/tests/components/samsung_infrared/snapshots/test_media_player.ambr @@ -47,9 +47,9 @@ # name: test_entities[media_player.samsung_tv-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'device_class': 'tv', - 'friendly_name': 'Samsung TV', + : True, + : 'tv', + : 'Samsung TV', : list([ 'tv', 'hdmi_1', @@ -57,7 +57,7 @@ 'hdmi_3', 'hdmi_4', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.samsung_tv', diff --git a/tests/components/sanix/snapshots/test_sensor.ambr b/tests/components/sanix/snapshots/test_sensor.ambr index d4152291ef6..bc312dc11f6 100644 --- a/tests/components/sanix/snapshots/test_sensor.ambr +++ b/tests/components/sanix/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.sanix_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Sanix Battery', + : 'battery', + : 'Sanix Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sanix_battery', @@ -94,7 +94,7 @@ # name: test_all_entities[sensor.sanix_device_number-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sanix Device number', + : 'Sanix Device number', }), 'context': , 'entity_id': 'sensor.sanix_device_number', @@ -149,10 +149,10 @@ # name: test_all_entities[sensor.sanix_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Sanix Distance', + : 'distance', + : 'Sanix Distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sanix_distance', @@ -204,9 +204,9 @@ # name: test_all_entities[sensor.sanix_filled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sanix Filled', + : 'Sanix Filled', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sanix_filled', @@ -256,8 +256,8 @@ # name: test_all_entities[sensor.sanix_service_date-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Sanix Service date', + : 'date', + : 'Sanix Service date', }), 'context': , 'entity_id': 'sensor.sanix_service_date', @@ -307,7 +307,7 @@ # name: test_all_entities[sensor.sanix_ssid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sanix SSID', + : 'Sanix SSID', }), 'context': , 'entity_id': 'sensor.sanix_ssid', diff --git a/tests/components/satel_integra/snapshots/test_alarm_control_panel.ambr b/tests/components/satel_integra/snapshots/test_alarm_control_panel.ambr index 6b29bf7431a..86f1ff15582 100644 --- a/tests/components/satel_integra/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/satel_integra/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : None, : True, : , - 'friendly_name': 'Home', - 'supported_features': , + : 'Home', + : , }), 'context': , 'entity_id': 'alarm_control_panel.home', diff --git a/tests/components/satel_integra/snapshots/test_binary_sensor.ambr b/tests/components/satel_integra/snapshots/test_binary_sensor.ambr index c7df723b92d..5944744b862 100644 --- a/tests/components/satel_integra/snapshots/test_binary_sensor.ambr +++ b/tests/components/satel_integra/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Output', + : 'safety', + : 'Output', }), 'context': , 'entity_id': 'binary_sensor.output', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Zone', + : 'motion', + : 'Zone', }), 'context': , 'entity_id': 'binary_sensor.zone', diff --git a/tests/components/satel_integra/snapshots/test_sensor.ambr b/tests/components/satel_integra/snapshots/test_sensor.ambr index cf04ea0783f..c8d63dc6b9b 100644 --- a/tests/components/satel_integra/snapshots/test_sensor.ambr +++ b/tests/components/satel_integra/snapshots/test_sensor.ambr @@ -75,10 +75,10 @@ # name: test_sensors[sensor.zone_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Zone Temperature', + : 'temperature', + : 'Zone Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.zone_temperature', diff --git a/tests/components/satel_integra/snapshots/test_switch.ambr b/tests/components/satel_integra/snapshots/test_switch.ambr index 32750a980cb..ec4a1586440 100644 --- a/tests/components/satel_integra/snapshots/test_switch.ambr +++ b/tests/components/satel_integra/snapshots/test_switch.ambr @@ -70,7 +70,7 @@ # name: test_switches[switch.switchable_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Switchable Output', + : 'Switchable Output', }), 'context': , 'entity_id': 'switch.switchable_output', diff --git a/tests/components/saunum/snapshots/test_binary_sensor.ambr b/tests/components/saunum/snapshots/test_binary_sensor.ambr index 126e91d3a6b..9a894d579b1 100644 --- a/tests/components/saunum/snapshots/test_binary_sensor.ambr +++ b/tests/components/saunum/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entities[binary_sensor.saunum_leil_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Saunum Leil Door', + : 'door', + : 'Saunum Leil Door', }), 'context': , 'entity_id': 'binary_sensor.saunum_leil_door', @@ -90,8 +90,8 @@ # name: test_entities[binary_sensor.saunum_leil_door_open_during_heating_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Saunum Leil Door open during heating alarm', + : 'problem', + : 'Saunum Leil Door open during heating alarm', }), 'context': , 'entity_id': 'binary_sensor.saunum_leil_door_open_during_heating_alarm', @@ -141,8 +141,8 @@ # name: test_entities[binary_sensor.saunum_leil_door_open_too_long_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Saunum Leil Door open too long alarm', + : 'problem', + : 'Saunum Leil Door open too long alarm', }), 'context': , 'entity_id': 'binary_sensor.saunum_leil_door_open_too_long_alarm', @@ -192,8 +192,8 @@ # name: test_entities[binary_sensor.saunum_leil_internal_temperature_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Saunum Leil Internal temperature alarm', + : 'problem', + : 'Saunum Leil Internal temperature alarm', }), 'context': , 'entity_id': 'binary_sensor.saunum_leil_internal_temperature_alarm', @@ -243,8 +243,8 @@ # name: test_entities[binary_sensor.saunum_leil_temperature_sensor_disconnected_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Saunum Leil Temperature sensor disconnected alarm', + : 'problem', + : 'Saunum Leil Temperature sensor disconnected alarm', }), 'context': , 'entity_id': 'binary_sensor.saunum_leil_temperature_sensor_disconnected_alarm', @@ -294,8 +294,8 @@ # name: test_entities[binary_sensor.saunum_leil_temperature_sensor_shorted_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Saunum Leil Temperature sensor shorted alarm', + : 'problem', + : 'Saunum Leil Temperature sensor shorted alarm', }), 'context': , 'entity_id': 'binary_sensor.saunum_leil_temperature_sensor_shorted_alarm', @@ -345,8 +345,8 @@ # name: test_entities[binary_sensor.saunum_leil_thermal_cutoff_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Saunum Leil Thermal cutoff alarm', + : 'problem', + : 'Saunum Leil Thermal cutoff alarm', }), 'context': , 'entity_id': 'binary_sensor.saunum_leil_thermal_cutoff_alarm', diff --git a/tests/components/saunum/snapshots/test_climate.ambr b/tests/components/saunum/snapshots/test_climate.ambr index 2c86e5456b1..4a9bd150b1f 100644 --- a/tests/components/saunum/snapshots/test_climate.ambr +++ b/tests/components/saunum/snapshots/test_climate.ambr @@ -66,7 +66,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Saunum Leil', + : 'Saunum Leil', : , : list([ , @@ -80,7 +80,7 @@ 'type_2', 'type_3', ]), - 'supported_features': , + : , : 1.0, : 80, }), diff --git a/tests/components/saunum/snapshots/test_light.ambr b/tests/components/saunum/snapshots/test_light.ambr index da204402937..6d73adeda7a 100644 --- a/tests/components/saunum/snapshots/test_light.ambr +++ b/tests/components/saunum/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Saunum Leil Light', + : 'Saunum Leil Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.saunum_leil_light', diff --git a/tests/components/saunum/snapshots/test_number.ambr b/tests/components/saunum/snapshots/test_number.ambr index 5721393c7cb..5e967215360 100644 --- a/tests/components/saunum/snapshots/test_number.ambr +++ b/tests/components/saunum/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_entities[number.saunum_leil_fan_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Saunum Leil Fan duration', + : 'duration', + : 'Saunum Leil Fan duration', : 30, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.saunum_leil_fan_duration', @@ -105,13 +105,13 @@ # name: test_entities[number.saunum_leil_sauna_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Saunum Leil Sauna duration', + : 'duration', + : 'Saunum Leil Sauna duration', : 720, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.saunum_leil_sauna_duration', diff --git a/tests/components/saunum/snapshots/test_sensor.ambr b/tests/components/saunum/snapshots/test_sensor.ambr index bb2fe8d3fbe..70bf3cd03ff 100644 --- a/tests/components/saunum/snapshots/test_sensor.ambr +++ b/tests/components/saunum/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_entities[sensor.saunum_leil_heater_elements_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Saunum Leil Heater elements active', + : 'Saunum Leil Heater elements active', : , - 'unit_of_measurement': 'heater elements', + : 'heater elements', }), 'context': , 'entity_id': 'sensor.saunum_leil_heater_elements_active', @@ -98,10 +98,10 @@ # name: test_entities[sensor.saunum_leil_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Saunum Leil Temperature', + : 'temperature', + : 'Saunum Leil Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.saunum_leil_temperature', @@ -159,10 +159,10 @@ # name: test_entities[sensor.saunum_leil_total_time_turned_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Saunum Leil Total time turned on', + : 'duration', + : 'Saunum Leil Total time turned on', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.saunum_leil_total_time_turned_on', diff --git a/tests/components/sense/snapshots/test_binary_sensor.ambr b/tests/components/sense/snapshots/test_binary_sensor.ambr index fe0cec76732..dc9eeb73bc2 100644 --- a/tests/components/sense/snapshots/test_binary_sensor.ambr +++ b/tests/components/sense/snapshots/test_binary_sensor.ambr @@ -39,10 +39,10 @@ # name: test_binary_sensors[binary_sensor.car_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'power', - 'friendly_name': 'Car Power', - 'icon': 'mdi:car-electric', + : 'Data provided by Sense.com', + : 'power', + : 'Car Power', + : 'mdi:car-electric', }), 'context': , 'entity_id': 'binary_sensor.car_power', @@ -92,10 +92,10 @@ # name: test_binary_sensors[binary_sensor.oven_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'power', - 'friendly_name': 'Oven Power', - 'icon': 'mdi:stove', + : 'Data provided by Sense.com', + : 'power', + : 'Oven Power', + : 'mdi:stove', }), 'context': , 'entity_id': 'binary_sensor.oven_power', diff --git a/tests/components/sense/snapshots/test_sensor.ambr b/tests/components/sense/snapshots/test_sensor.ambr index 81d22e628b8..78f3e3a0f17 100644 --- a/tests/components/sense/snapshots/test_sensor.ambr +++ b/tests/components/sense/snapshots/test_sensor.ambr @@ -44,12 +44,12 @@ # name: test_sensors[sensor.car_bill_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Car Bill energy', - 'icon': 'mdi:car-electric', + : 'Data provided by Sense.com', + : 'energy', + : 'Car Bill energy', + : 'mdi:car-electric', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.car_bill_energy', @@ -104,12 +104,12 @@ # name: test_sensors[sensor.car_daily_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Car Daily energy', - 'icon': 'mdi:car-electric', + : 'Data provided by Sense.com', + : 'energy', + : 'Car Daily energy', + : 'mdi:car-electric', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.car_daily_energy', @@ -164,12 +164,12 @@ # name: test_sensors[sensor.car_monthly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Car Monthly energy', - 'icon': 'mdi:car-electric', + : 'Data provided by Sense.com', + : 'energy', + : 'Car Monthly energy', + : 'mdi:car-electric', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.car_monthly_energy', @@ -224,12 +224,12 @@ # name: test_sensors[sensor.car_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'power', - 'friendly_name': 'Car Power', - 'icon': 'mdi:car-electric', + : 'Data provided by Sense.com', + : 'power', + : 'Car Power', + : 'mdi:car-electric', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.car_power', @@ -284,12 +284,12 @@ # name: test_sensors[sensor.car_weekly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Car Weekly energy', - 'icon': 'mdi:car-electric', + : 'Data provided by Sense.com', + : 'energy', + : 'Car Weekly energy', + : 'mdi:car-electric', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.car_weekly_energy', @@ -344,12 +344,12 @@ # name: test_sensors[sensor.car_yearly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Car Yearly energy', - 'icon': 'mdi:car-electric', + : 'Data provided by Sense.com', + : 'energy', + : 'Car Yearly energy', + : 'mdi:car-electric', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.car_yearly_energy', @@ -404,12 +404,12 @@ # name: test_sensors[sensor.oven_bill_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Oven Bill energy', - 'icon': 'mdi:stove', + : 'Data provided by Sense.com', + : 'energy', + : 'Oven Bill energy', + : 'mdi:stove', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_bill_energy', @@ -464,12 +464,12 @@ # name: test_sensors[sensor.oven_daily_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Oven Daily energy', - 'icon': 'mdi:stove', + : 'Data provided by Sense.com', + : 'energy', + : 'Oven Daily energy', + : 'mdi:stove', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_daily_energy', @@ -524,12 +524,12 @@ # name: test_sensors[sensor.oven_monthly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Oven Monthly energy', - 'icon': 'mdi:stove', + : 'Data provided by Sense.com', + : 'energy', + : 'Oven Monthly energy', + : 'mdi:stove', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_monthly_energy', @@ -584,12 +584,12 @@ # name: test_sensors[sensor.oven_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'power', - 'friendly_name': 'Oven Power', - 'icon': 'mdi:stove', + : 'Data provided by Sense.com', + : 'power', + : 'Oven Power', + : 'mdi:stove', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_power', @@ -644,12 +644,12 @@ # name: test_sensors[sensor.oven_weekly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Oven Weekly energy', - 'icon': 'mdi:stove', + : 'Data provided by Sense.com', + : 'energy', + : 'Oven Weekly energy', + : 'mdi:stove', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_weekly_energy', @@ -704,12 +704,12 @@ # name: test_sensors[sensor.oven_yearly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Oven Yearly energy', - 'icon': 'mdi:stove', + : 'Data provided by Sense.com', + : 'energy', + : 'Oven Yearly energy', + : 'mdi:stove', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_yearly_energy', @@ -764,12 +764,12 @@ # name: test_sensors[sensor.sense_12345_bill_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Bill Energy', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Bill Energy', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_bill_energy', @@ -824,12 +824,12 @@ # name: test_sensors[sensor.sense_12345_bill_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Bill From Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Bill From Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_bill_from_grid', @@ -884,12 +884,12 @@ # name: test_sensors[sensor.sense_12345_bill_net_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Bill Net Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Bill Net Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_bill_net_production', @@ -939,9 +939,9 @@ # name: test_sensors[sensor.sense_12345_bill_net_production_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Bill Net Production Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Bill Net Production Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_bill_net_production_percentage', @@ -996,12 +996,12 @@ # name: test_sensors[sensor.sense_12345_bill_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Bill Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Bill Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_bill_production', @@ -1051,9 +1051,9 @@ # name: test_sensors[sensor.sense_12345_bill_solar_powered_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Bill Solar Powered Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Bill Solar Powered Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_bill_solar_powered_percentage', @@ -1108,12 +1108,12 @@ # name: test_sensors[sensor.sense_12345_bill_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Bill To Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Bill To Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_bill_to_grid', @@ -1168,12 +1168,12 @@ # name: test_sensors[sensor.sense_12345_daily_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Daily Energy', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Daily Energy', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_daily_energy', @@ -1228,12 +1228,12 @@ # name: test_sensors[sensor.sense_12345_daily_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Daily From Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Daily From Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_daily_from_grid', @@ -1288,12 +1288,12 @@ # name: test_sensors[sensor.sense_12345_daily_net_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Daily Net Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Daily Net Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_daily_net_production', @@ -1343,9 +1343,9 @@ # name: test_sensors[sensor.sense_12345_daily_net_production_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Daily Net Production Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Daily Net Production Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_daily_net_production_percentage', @@ -1400,12 +1400,12 @@ # name: test_sensors[sensor.sense_12345_daily_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Daily Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Daily Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_daily_production', @@ -1455,9 +1455,9 @@ # name: test_sensors[sensor.sense_12345_daily_solar_powered_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Daily Solar Powered Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Daily Solar Powered Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_daily_solar_powered_percentage', @@ -1512,12 +1512,12 @@ # name: test_sensors[sensor.sense_12345_daily_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Daily To Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Daily To Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_daily_to_grid', @@ -1572,11 +1572,11 @@ # name: test_sensors[sensor.sense_12345_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'power', - 'friendly_name': 'Sense 12345 Energy', + : 'Data provided by Sense.com', + : 'power', + : 'Sense 12345 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_energy', @@ -1631,11 +1631,11 @@ # name: test_sensors[sensor.sense_12345_l1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'voltage', - 'friendly_name': 'Sense 12345 L1 Voltage', + : 'Data provided by Sense.com', + : 'voltage', + : 'Sense 12345 L1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_l1_voltage', @@ -1690,11 +1690,11 @@ # name: test_sensors[sensor.sense_12345_l2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'voltage', - 'friendly_name': 'Sense 12345 L2 Voltage', + : 'Data provided by Sense.com', + : 'voltage', + : 'Sense 12345 L2 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_l2_voltage', @@ -1749,12 +1749,12 @@ # name: test_sensors[sensor.sense_12345_monthly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Monthly Energy', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Monthly Energy', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_monthly_energy', @@ -1809,12 +1809,12 @@ # name: test_sensors[sensor.sense_12345_monthly_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Monthly From Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Monthly From Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_monthly_from_grid', @@ -1869,12 +1869,12 @@ # name: test_sensors[sensor.sense_12345_monthly_net_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Monthly Net Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Monthly Net Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_monthly_net_production', @@ -1924,9 +1924,9 @@ # name: test_sensors[sensor.sense_12345_monthly_net_production_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Monthly Net Production Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Monthly Net Production Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_monthly_net_production_percentage', @@ -1981,12 +1981,12 @@ # name: test_sensors[sensor.sense_12345_monthly_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Monthly Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Monthly Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_monthly_production', @@ -2036,9 +2036,9 @@ # name: test_sensors[sensor.sense_12345_monthly_solar_powered_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Monthly Solar Powered Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Monthly Solar Powered Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_monthly_solar_powered_percentage', @@ -2093,12 +2093,12 @@ # name: test_sensors[sensor.sense_12345_monthly_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Monthly To Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Monthly To Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_monthly_to_grid', @@ -2153,11 +2153,11 @@ # name: test_sensors[sensor.sense_12345_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'power', - 'friendly_name': 'Sense 12345 Production', + : 'Data provided by Sense.com', + : 'power', + : 'Sense 12345 Production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_production', @@ -2212,12 +2212,12 @@ # name: test_sensors[sensor.sense_12345_weekly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Weekly Energy', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Weekly Energy', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_weekly_energy', @@ -2272,12 +2272,12 @@ # name: test_sensors[sensor.sense_12345_weekly_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Weekly From Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Weekly From Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_weekly_from_grid', @@ -2332,12 +2332,12 @@ # name: test_sensors[sensor.sense_12345_weekly_net_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Weekly Net Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Weekly Net Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_weekly_net_production', @@ -2387,9 +2387,9 @@ # name: test_sensors[sensor.sense_12345_weekly_net_production_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Weekly Net Production Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Weekly Net Production Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_weekly_net_production_percentage', @@ -2444,12 +2444,12 @@ # name: test_sensors[sensor.sense_12345_weekly_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Weekly Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Weekly Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_weekly_production', @@ -2499,9 +2499,9 @@ # name: test_sensors[sensor.sense_12345_weekly_solar_powered_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Weekly Solar Powered Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Weekly Solar Powered Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_weekly_solar_powered_percentage', @@ -2556,12 +2556,12 @@ # name: test_sensors[sensor.sense_12345_weekly_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Weekly To Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Weekly To Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_weekly_to_grid', @@ -2616,12 +2616,12 @@ # name: test_sensors[sensor.sense_12345_yearly_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Yearly Energy', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Yearly Energy', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_yearly_energy', @@ -2676,12 +2676,12 @@ # name: test_sensors[sensor.sense_12345_yearly_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Yearly From Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Yearly From Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_yearly_from_grid', @@ -2736,12 +2736,12 @@ # name: test_sensors[sensor.sense_12345_yearly_net_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Yearly Net Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Yearly Net Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_yearly_net_production', @@ -2791,9 +2791,9 @@ # name: test_sensors[sensor.sense_12345_yearly_net_production_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Yearly Net Production Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Yearly Net Production Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_yearly_net_production_percentage', @@ -2848,12 +2848,12 @@ # name: test_sensors[sensor.sense_12345_yearly_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Yearly Production', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Yearly Production', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_yearly_production', @@ -2903,9 +2903,9 @@ # name: test_sensors[sensor.sense_12345_yearly_solar_powered_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'friendly_name': 'Sense 12345 Yearly Solar Powered Percentage', - 'unit_of_measurement': '%', + : 'Data provided by Sense.com', + : 'Sense 12345 Yearly Solar Powered Percentage', + : '%', }), 'context': , 'entity_id': 'sensor.sense_12345_yearly_solar_powered_percentage', @@ -2960,12 +2960,12 @@ # name: test_sensors[sensor.sense_12345_yearly_to_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Sense.com', - 'device_class': 'energy', - 'friendly_name': 'Sense 12345 Yearly To Grid', + : 'Data provided by Sense.com', + : 'energy', + : 'Sense 12345 Yearly To Grid', : '2024-01-01T01:01:00+00:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sense_12345_yearly_to_grid', diff --git a/tests/components/sensibo/snapshots/test_binary_sensor.ambr b/tests/components/sensibo/snapshots/test_binary_sensor.ambr index 780d58ea32a..7871573df2c 100644 --- a/tests/components/sensibo/snapshots/test_binary_sensor.ambr +++ b/tests/components/sensibo/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.bedroom_bedroom_filter_clean_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Bedroom Filter clean required', + : 'problem', + : 'Bedroom Filter clean required', }), 'context': , 'entity_id': 'binary_sensor.bedroom_bedroom_filter_clean_required', @@ -90,8 +90,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.bedroom_bedroom_pure_boost_linked_with_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Bedroom Pure Boost linked with AC', + : 'connectivity', + : 'Bedroom Pure Boost linked with AC', }), 'context': , 'entity_id': 'binary_sensor.bedroom_bedroom_pure_boost_linked_with_ac', @@ -141,8 +141,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.bedroom_bedroom_pure_boost_linked_with_indoor_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Bedroom Pure Boost linked with indoor air quality', + : 'connectivity', + : 'Bedroom Pure Boost linked with indoor air quality', }), 'context': , 'entity_id': 'binary_sensor.bedroom_bedroom_pure_boost_linked_with_indoor_air_quality', @@ -192,8 +192,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.bedroom_bedroom_pure_boost_linked_with_outdoor_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Bedroom Pure Boost linked with outdoor air quality', + : 'connectivity', + : 'Bedroom Pure Boost linked with outdoor air quality', }), 'context': , 'entity_id': 'binary_sensor.bedroom_bedroom_pure_boost_linked_with_outdoor_air_quality', @@ -243,8 +243,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.bedroom_bedroom_pure_boost_linked_with_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Bedroom Pure Boost linked with presence', + : 'connectivity', + : 'Bedroom Pure Boost linked with presence', }), 'context': , 'entity_id': 'binary_sensor.bedroom_bedroom_pure_boost_linked_with_presence', @@ -294,8 +294,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.hallway_hallway_filter_clean_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Hallway Filter clean required', + : 'problem', + : 'Hallway Filter clean required', }), 'context': , 'entity_id': 'binary_sensor.hallway_hallway_filter_clean_required', @@ -345,8 +345,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.hallway_hallway_room_occupied-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Hallway Room occupied', + : 'motion', + : 'Hallway Room occupied', }), 'context': , 'entity_id': 'binary_sensor.hallway_hallway_room_occupied', @@ -396,8 +396,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.hallway_motion_sensor_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Hallway Motion Sensor Connectivity', + : 'connectivity', + : 'Hallway Motion Sensor Connectivity', }), 'context': , 'entity_id': 'binary_sensor.hallway_motion_sensor_connectivity', @@ -447,7 +447,7 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.hallway_motion_sensor_main_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Motion Sensor Main sensor', + : 'Hallway Motion Sensor Main sensor', }), 'context': , 'entity_id': 'binary_sensor.hallway_motion_sensor_main_sensor', @@ -497,8 +497,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.hallway_motion_sensor_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Hallway Motion Sensor Motion', + : 'motion', + : 'Hallway Motion Sensor Motion', }), 'context': , 'entity_id': 'binary_sensor.hallway_motion_sensor_motion', @@ -548,8 +548,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.kitchen_kitchen_filter_clean_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Kitchen Filter clean required', + : 'problem', + : 'Kitchen Filter clean required', }), 'context': , 'entity_id': 'binary_sensor.kitchen_kitchen_filter_clean_required', @@ -599,8 +599,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.kitchen_kitchen_pure_boost_linked_with_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Kitchen Pure Boost linked with AC', + : 'connectivity', + : 'Kitchen Pure Boost linked with AC', }), 'context': , 'entity_id': 'binary_sensor.kitchen_kitchen_pure_boost_linked_with_ac', @@ -650,8 +650,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.kitchen_kitchen_pure_boost_linked_with_indoor_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Kitchen Pure Boost linked with indoor air quality', + : 'connectivity', + : 'Kitchen Pure Boost linked with indoor air quality', }), 'context': , 'entity_id': 'binary_sensor.kitchen_kitchen_pure_boost_linked_with_indoor_air_quality', @@ -701,8 +701,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.kitchen_kitchen_pure_boost_linked_with_outdoor_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Kitchen Pure Boost linked with outdoor air quality', + : 'connectivity', + : 'Kitchen Pure Boost linked with outdoor air quality', }), 'context': , 'entity_id': 'binary_sensor.kitchen_kitchen_pure_boost_linked_with_outdoor_air_quality', @@ -752,8 +752,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.kitchen_kitchen_pure_boost_linked_with_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Kitchen Pure Boost linked with presence', + : 'connectivity', + : 'Kitchen Pure Boost linked with presence', }), 'context': , 'entity_id': 'binary_sensor.kitchen_kitchen_pure_boost_linked_with_presence', diff --git a/tests/components/sensibo/snapshots/test_button.ambr b/tests/components/sensibo/snapshots/test_button.ambr index ddac37a80c1..f53a2ac684f 100644 --- a/tests/components/sensibo/snapshots/test_button.ambr +++ b/tests/components/sensibo/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button[load_platforms0][button.bedroom_bedroom_reset_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Reset filter', + : 'Bedroom Reset filter', }), 'context': , 'entity_id': 'button.bedroom_bedroom_reset_filter', @@ -89,7 +89,7 @@ # name: test_button[load_platforms0][button.hallway_hallway_reset_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Reset filter', + : 'Hallway Reset filter', }), 'context': , 'entity_id': 'button.hallway_hallway_reset_filter', @@ -139,7 +139,7 @@ # name: test_button[load_platforms0][button.kitchen_kitchen_reset_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Reset filter', + : 'Kitchen Reset filter', }), 'context': , 'entity_id': 'button.kitchen_kitchen_reset_filter', diff --git a/tests/components/sensibo/snapshots/test_climate.ambr b/tests/components/sensibo/snapshots/test_climate.ambr index ac7b7f929c1..a5de5f8ae19 100644 --- a/tests/components/sensibo/snapshots/test_climate.ambr +++ b/tests/components/sensibo/snapshots/test_climate.ambr @@ -47,13 +47,13 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Bedroom', + : 'Bedroom', : list([ , ]), : 1, : 0, - 'supported_features': , + : , : 1, }), 'context': , @@ -139,7 +139,7 @@ 'low', 'medium', ]), - 'friendly_name': 'Hallway', + : 'Hallway', : list([ , , @@ -150,7 +150,7 @@ ]), : 20, : 10, - 'supported_features': , + : , : 'stopped', : list([ 'stopped', @@ -232,14 +232,14 @@ 'low', 'high', ]), - 'friendly_name': 'Kitchen', + : 'Kitchen', : list([ , , ]), : 1, : 0, - 'supported_features': , + : , : 1, }), 'context': , diff --git a/tests/components/sensibo/snapshots/test_number.ambr b/tests/components/sensibo/snapshots/test_number.ambr index b4cd09ba1a2..f22b5bf42b0 100644 --- a/tests/components/sensibo/snapshots/test_number.ambr +++ b/tests/components/sensibo/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number[load_platforms0][number.bedroom_bedroom_humidity_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Bedroom Humidity calibration', + : 'humidity', + : 'Bedroom Humidity calibration', : 10, : -10, : , : 0.1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.bedroom_bedroom_humidity_calibration', @@ -105,13 +105,13 @@ # name: test_number[load_platforms0][number.bedroom_bedroom_temperature_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Bedroom Temperature calibration', + : 'temperature', + : 'Bedroom Temperature calibration', : 10, : -10, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.bedroom_bedroom_temperature_calibration', @@ -166,13 +166,13 @@ # name: test_number[load_platforms0][number.hallway_hallway_humidity_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Hallway Humidity calibration', + : 'humidity', + : 'Hallway Humidity calibration', : 10, : -10, : , : 0.1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.hallway_hallway_humidity_calibration', @@ -227,13 +227,13 @@ # name: test_number[load_platforms0][number.hallway_hallway_temperature_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Hallway Temperature calibration', + : 'temperature', + : 'Hallway Temperature calibration', : 10, : -10, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.hallway_hallway_temperature_calibration', @@ -288,13 +288,13 @@ # name: test_number[load_platforms0][number.kitchen_kitchen_humidity_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Kitchen Humidity calibration', + : 'humidity', + : 'Kitchen Humidity calibration', : 10, : -10, : , : 0.1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.kitchen_kitchen_humidity_calibration', @@ -349,13 +349,13 @@ # name: test_number[load_platforms0][number.kitchen_kitchen_temperature_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Kitchen Temperature calibration', + : 'temperature', + : 'Kitchen Temperature calibration', : 10, : -10, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.kitchen_kitchen_temperature_calibration', diff --git a/tests/components/sensibo/snapshots/test_select.ambr b/tests/components/sensibo/snapshots/test_select.ambr index 3caf894f8df..0b2f7a7a3fd 100644 --- a/tests/components/sensibo/snapshots/test_select.ambr +++ b/tests/components/sensibo/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_select[load_platforms0][select.hallway_hallway_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Light', + : 'Hallway Light', : list([ 'on', 'off', @@ -104,7 +104,7 @@ # name: test_select[load_platforms0][select.kitchen_kitchen_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Light', + : 'Kitchen Light', : list([ 'on', 'dim', diff --git a/tests/components/sensibo/snapshots/test_sensor.ambr b/tests/components/sensibo/snapshots/test_sensor.ambr index 481dbd96cab..c29092885b2 100644 --- a/tests/components/sensibo/snapshots/test_sensor.ambr +++ b/tests/components/sensibo/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensor[load_platforms0][sensor.bedroom_bedroom_filter_last_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Bedroom Filter last reset', + : 'timestamp', + : 'Bedroom Filter last reset', }), 'context': , 'entity_id': 'sensor.bedroom_bedroom_filter_last_reset', @@ -96,8 +96,8 @@ # name: test_sensor[load_platforms0][sensor.bedroom_bedroom_pure_aqi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Bedroom Pure AQI', + : 'enum', + : 'Bedroom Pure AQI', : list([ 'good', 'moderate', @@ -152,7 +152,7 @@ # name: test_sensor[load_platforms0][sensor.bedroom_bedroom_pure_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Pure sensitivity', + : 'Bedroom Pure sensitivity', }), 'context': , 'entity_id': 'sensor.bedroom_bedroom_pure_sensitivity', @@ -207,9 +207,9 @@ # name: test_sensor[load_platforms0][sensor.hallway_hallway_climate_react_high_temperature_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'fanlevel': 'high', - 'friendly_name': 'Hallway Climate React high temperature threshold', + : 'Hallway Climate React high temperature threshold', 'horizontalswing': 'stopped', 'light': 'on', 'mode': 'cool', @@ -218,7 +218,7 @@ 'swing': 'stopped', 'targettemperature': 21, 'temperatureunit': 'c', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hallway_hallway_climate_react_high_temperature_threshold', @@ -273,9 +273,9 @@ # name: test_sensor[load_platforms0][sensor.hallway_hallway_climate_react_low_temperature_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', + : 'temperature', 'fanlevel': 'low', - 'friendly_name': 'Hallway Climate React low temperature threshold', + : 'Hallway Climate React low temperature threshold', 'horizontalswing': 'stopped', 'light': 'on', 'mode': 'heat', @@ -284,7 +284,7 @@ 'swing': 'stopped', 'targettemperature': 21, 'temperatureunit': 'c', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hallway_hallway_climate_react_low_temperature_threshold', @@ -334,7 +334,7 @@ # name: test_sensor[load_platforms0][sensor.hallway_hallway_climate_react_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hallway Climate React type', + : 'Hallway Climate React type', }), 'context': , 'entity_id': 'sensor.hallway_hallway_climate_react_type', @@ -384,8 +384,8 @@ # name: test_sensor[load_platforms0][sensor.hallway_hallway_filter_last_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Hallway Filter last reset', + : 'timestamp', + : 'Hallway Filter last reset', }), 'context': , 'entity_id': 'sensor.hallway_hallway_filter_last_reset', @@ -440,10 +440,10 @@ # name: test_sensor[load_platforms0][sensor.hallway_hallway_temperature_feels_like-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Hallway Temperature feels like', + : 'temperature', + : 'Hallway Temperature feels like', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hallway_hallway_temperature_feels_like', @@ -493,8 +493,8 @@ # name: test_sensor[load_platforms0][sensor.hallway_hallway_timer_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Hallway Timer end time', + : 'timestamp', + : 'Hallway Timer end time', 'id': None, 'turn_on': None, }), @@ -551,10 +551,10 @@ # name: test_sensor[load_platforms0][sensor.hallway_motion_sensor_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Hallway Motion Sensor Battery voltage', + : 'voltage', + : 'Hallway Motion Sensor Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hallway_motion_sensor_battery_voltage', @@ -606,10 +606,10 @@ # name: test_sensor[load_platforms0][sensor.hallway_motion_sensor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Hallway Motion Sensor Humidity', + : 'humidity', + : 'Hallway Motion Sensor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hallway_motion_sensor_humidity', @@ -661,10 +661,10 @@ # name: test_sensor[load_platforms0][sensor.hallway_motion_sensor_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Hallway Motion Sensor RSSI', + : 'signal_strength', + : 'Hallway Motion Sensor RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.hallway_motion_sensor_rssi', @@ -719,10 +719,10 @@ # name: test_sensor[load_platforms0][sensor.hallway_motion_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Hallway Motion Sensor Temperature', + : 'temperature', + : 'Hallway Motion Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hallway_motion_sensor_temperature', @@ -772,8 +772,8 @@ # name: test_sensor[load_platforms0][sensor.kitchen_kitchen_filter_last_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Kitchen Filter last reset', + : 'timestamp', + : 'Kitchen Filter last reset', }), 'context': , 'entity_id': 'sensor.kitchen_kitchen_filter_last_reset', @@ -829,8 +829,8 @@ # name: test_sensor[load_platforms0][sensor.kitchen_kitchen_pure_aqi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen Pure AQI', + : 'enum', + : 'Kitchen Pure AQI', : list([ 'good', 'moderate', @@ -885,7 +885,7 @@ # name: test_sensor[load_platforms0][sensor.kitchen_kitchen_pure_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Pure sensitivity', + : 'Kitchen Pure sensitivity', }), 'context': , 'entity_id': 'sensor.kitchen_kitchen_pure_sensitivity', diff --git a/tests/components/sensibo/snapshots/test_switch.ambr b/tests/components/sensibo/snapshots/test_switch.ambr index 205e8f696d3..8576935880e 100644 --- a/tests/components/sensibo/snapshots/test_switch.ambr +++ b/tests/components/sensibo/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch[load_platforms0][switch.bedroom_bedroom_pure_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Bedroom Pure Boost', + : 'switch', + : 'Bedroom Pure Boost', }), 'context': , 'entity_id': 'switch.bedroom_bedroom_pure_boost', @@ -90,8 +90,8 @@ # name: test_switch[load_platforms0][switch.hallway_hallway_climate_react-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Hallway Climate React', + : 'switch', + : 'Hallway Climate React', 'type': 'temperature', }), 'context': , @@ -142,8 +142,8 @@ # name: test_switch[load_platforms0][switch.hallway_hallway_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Hallway Timer', + : 'switch', + : 'Hallway Timer', 'id': None, 'turn_on': None, }), @@ -195,8 +195,8 @@ # name: test_switch[load_platforms0][switch.kitchen_kitchen_pure_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Kitchen Pure Boost', + : 'switch', + : 'Kitchen Pure Boost', }), 'context': , 'entity_id': 'switch.kitchen_kitchen_pure_boost', diff --git a/tests/components/sensibo/snapshots/test_update.ambr b/tests/components/sensibo/snapshots/test_update.ambr index 4fc8224d8b5..3ad7aeb1e3f 100644 --- a/tests/components/sensibo/snapshots/test_update.ambr +++ b/tests/components/sensibo/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/sensibo/icon.png', - 'friendly_name': 'Bedroom Firmware', + : '/api/brands/integration/sensibo/icon.png', + : 'Bedroom Firmware', : False, : 'PUR00111', : 'PUR00111', : None, : None, : None, - 'supported_features': , + : , : 'pure', : None, }), @@ -103,17 +103,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/sensibo/icon.png', - 'friendly_name': 'Hallway Firmware', + : '/api/brands/integration/sensibo/icon.png', + : 'Hallway Firmware', : False, : 'SKY30046', : 'SKY30048', : None, : None, : None, - 'supported_features': , + : , : 'skyv2', : None, }), @@ -166,17 +166,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/sensibo/icon.png', - 'friendly_name': 'Kitchen Firmware', + : '/api/brands/integration/sensibo/icon.png', + : 'Kitchen Firmware', : False, : 'PUR00111', : 'PUR00111', : None, : None, : None, - 'supported_features': , + : , : 'pure', : None, }), diff --git a/tests/components/sensorpush_cloud/snapshots/test_sensor.ambr b/tests/components/sensorpush_cloud/snapshots/test_sensor.ambr index f7e2b20fe30..5a23e5303f4 100644 --- a/tests/components/sensorpush_cloud/snapshots/test_sensor.ambr +++ b/tests/components/sensorpush_cloud/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_sensors[sensor.test_sensor_name_0_altitude-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'test-sensor-name-0 Altitude', + : 'distance', + : 'test-sensor-name-0 Altitude', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_altitude', @@ -108,10 +108,10 @@ # name: test_sensors[sensor.test_sensor_name_0_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'test-sensor-name-0 Atmospheric pressure', + : 'atmospheric_pressure', + : 'test-sensor-name-0 Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_atmospheric_pressure', @@ -166,10 +166,10 @@ # name: test_sensors[sensor.test_sensor_name_0_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-sensor-name-0 Battery voltage', + : 'voltage', + : 'test-sensor-name-0 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_battery_voltage', @@ -224,10 +224,10 @@ # name: test_sensors[sensor.test_sensor_name_0_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-sensor-name-0 Dew point', + : 'temperature', + : 'test-sensor-name-0 Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_dew_point', @@ -279,10 +279,10 @@ # name: test_sensors[sensor.test_sensor_name_0_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-sensor-name-0 Humidity', + : 'humidity', + : 'test-sensor-name-0 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_humidity', @@ -334,10 +334,10 @@ # name: test_sensors[sensor.test_sensor_name_0_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'test-sensor-name-0 Signal strength', + : 'signal_strength', + : 'test-sensor-name-0 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_signal_strength', @@ -392,10 +392,10 @@ # name: test_sensors[sensor.test_sensor_name_0_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-sensor-name-0 Temperature', + : 'temperature', + : 'test-sensor-name-0 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_temperature', @@ -450,10 +450,10 @@ # name: test_sensors[sensor.test_sensor_name_0_vapor_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'test-sensor-name-0 Vapor pressure', + : 'pressure', + : 'test-sensor-name-0 Vapor pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_0_vapor_pressure', @@ -511,10 +511,10 @@ # name: test_sensors[sensor.test_sensor_name_1_altitude-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'test-sensor-name-1 Altitude', + : 'distance', + : 'test-sensor-name-1 Altitude', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_altitude', @@ -572,10 +572,10 @@ # name: test_sensors[sensor.test_sensor_name_1_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'test-sensor-name-1 Atmospheric pressure', + : 'atmospheric_pressure', + : 'test-sensor-name-1 Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_atmospheric_pressure', @@ -630,10 +630,10 @@ # name: test_sensors[sensor.test_sensor_name_1_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-sensor-name-1 Battery voltage', + : 'voltage', + : 'test-sensor-name-1 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_battery_voltage', @@ -688,10 +688,10 @@ # name: test_sensors[sensor.test_sensor_name_1_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-sensor-name-1 Dew point', + : 'temperature', + : 'test-sensor-name-1 Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_dew_point', @@ -743,10 +743,10 @@ # name: test_sensors[sensor.test_sensor_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-sensor-name-1 Humidity', + : 'humidity', + : 'test-sensor-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_humidity', @@ -798,10 +798,10 @@ # name: test_sensors[sensor.test_sensor_name_1_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'test-sensor-name-1 Signal strength', + : 'signal_strength', + : 'test-sensor-name-1 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_signal_strength', @@ -856,10 +856,10 @@ # name: test_sensors[sensor.test_sensor_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-sensor-name-1 Temperature', + : 'temperature', + : 'test-sensor-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_temperature', @@ -914,10 +914,10 @@ # name: test_sensors[sensor.test_sensor_name_1_vapor_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'test-sensor-name-1 Vapor pressure', + : 'pressure', + : 'test-sensor-name-1 Vapor pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_1_vapor_pressure', @@ -975,10 +975,10 @@ # name: test_sensors[sensor.test_sensor_name_2_altitude-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'test-sensor-name-2 Altitude', + : 'distance', + : 'test-sensor-name-2 Altitude', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_altitude', @@ -1036,10 +1036,10 @@ # name: test_sensors[sensor.test_sensor_name_2_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'test-sensor-name-2 Atmospheric pressure', + : 'atmospheric_pressure', + : 'test-sensor-name-2 Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_atmospheric_pressure', @@ -1094,10 +1094,10 @@ # name: test_sensors[sensor.test_sensor_name_2_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-sensor-name-2 Battery voltage', + : 'voltage', + : 'test-sensor-name-2 Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_battery_voltage', @@ -1152,10 +1152,10 @@ # name: test_sensors[sensor.test_sensor_name_2_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-sensor-name-2 Dew point', + : 'temperature', + : 'test-sensor-name-2 Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_dew_point', @@ -1207,10 +1207,10 @@ # name: test_sensors[sensor.test_sensor_name_2_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-sensor-name-2 Humidity', + : 'humidity', + : 'test-sensor-name-2 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_humidity', @@ -1262,10 +1262,10 @@ # name: test_sensors[sensor.test_sensor_name_2_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'test-sensor-name-2 Signal strength', + : 'signal_strength', + : 'test-sensor-name-2 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_signal_strength', @@ -1320,10 +1320,10 @@ # name: test_sensors[sensor.test_sensor_name_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-sensor-name-2 Temperature', + : 'temperature', + : 'test-sensor-name-2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_temperature', @@ -1378,10 +1378,10 @@ # name: test_sensors[sensor.test_sensor_name_2_vapor_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'test-sensor-name-2 Vapor pressure', + : 'pressure', + : 'test-sensor-name-2 Vapor pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_sensor_name_2_vapor_pressure', diff --git a/tests/components/senz/snapshots/test_climate.ambr b/tests/components/senz/snapshots/test_climate.ambr index cb662d4489a..3b3a3593f28 100644 --- a/tests/components/senz/snapshots/test_climate.ambr +++ b/tests/components/senz/snapshots/test_climate.ambr @@ -47,7 +47,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.4, - 'friendly_name': 'Test room 1', + : 'Test room 1', : , : list([ , @@ -55,7 +55,7 @@ ]), : 35, : 5, - 'supported_features': , + : , : 19.0, }), 'context': , @@ -114,7 +114,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 9.3, - 'friendly_name': 'Test room 2', + : 'Test room 2', : , : list([ , @@ -122,7 +122,7 @@ ]), : 35, : 5, - 'supported_features': , + : , : 6.0, }), 'context': , diff --git a/tests/components/senz/snapshots/test_sensor.ambr b/tests/components/senz/snapshots/test_sensor.ambr index dc43b12a7bb..d366667d256 100644 --- a/tests/components/senz/snapshots/test_sensor.ambr +++ b/tests/components/senz/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_snapshot[sensor.test_room_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test room 1 Temperature', + : 'temperature', + : 'Test room 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_room_1_temperature', @@ -102,10 +102,10 @@ # name: test_sensor_snapshot[sensor.test_room_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test room 2 Temperature', + : 'temperature', + : 'Test room 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_room_2_temperature', diff --git a/tests/components/sfr_box/snapshots/test_binary_sensor.ambr b/tests/components/sfr_box/snapshots/test_binary_sensor.ambr index 890b5d2fcc7..a1827434197 100644 --- a/tests/components/sfr_box/snapshots/test_binary_sensor.ambr +++ b/tests/components/sfr_box/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[adsl][binary_sensor.sfr_box_dsl_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'SFR Box DSL status', + : 'connectivity', + : 'SFR Box DSL status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_dsl_status', @@ -90,7 +90,7 @@ # name: test_binary_sensors[adsl][binary_sensor.sfr_box_voip_call_history_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SFR Box VoIP call history active', + : 'SFR Box VoIP call history active', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_voip_call_history_active', @@ -140,7 +140,7 @@ # name: test_binary_sensors[adsl][binary_sensor.sfr_box_voip_phone_hook_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SFR Box VoIP phone hook status', + : 'SFR Box VoIP phone hook status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_voip_phone_hook_status', @@ -190,8 +190,8 @@ # name: test_binary_sensors[adsl][binary_sensor.sfr_box_voip_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'SFR Box VoIP status', + : 'connectivity', + : 'SFR Box VoIP status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_voip_status', @@ -241,8 +241,8 @@ # name: test_binary_sensors[adsl][binary_sensor.sfr_box_wan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'SFR Box WAN status', + : 'connectivity', + : 'SFR Box WAN status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_wan_status', @@ -292,8 +292,8 @@ # name: test_binary_sensors[ftth][binary_sensor.sfr_box_ftth_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'SFR Box FTTH status', + : 'connectivity', + : 'SFR Box FTTH status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_ftth_status', @@ -343,7 +343,7 @@ # name: test_binary_sensors[ftth][binary_sensor.sfr_box_voip_call_history_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SFR Box VoIP call history active', + : 'SFR Box VoIP call history active', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_voip_call_history_active', @@ -393,7 +393,7 @@ # name: test_binary_sensors[ftth][binary_sensor.sfr_box_voip_phone_hook_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SFR Box VoIP phone hook status', + : 'SFR Box VoIP phone hook status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_voip_phone_hook_status', @@ -443,8 +443,8 @@ # name: test_binary_sensors[ftth][binary_sensor.sfr_box_voip_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'SFR Box VoIP status', + : 'connectivity', + : 'SFR Box VoIP status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_voip_status', @@ -494,8 +494,8 @@ # name: test_binary_sensors[ftth][binary_sensor.sfr_box_wan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'SFR Box WAN status', + : 'connectivity', + : 'SFR Box WAN status', }), 'context': , 'entity_id': 'binary_sensor.sfr_box_wan_status', diff --git a/tests/components/sfr_box/snapshots/test_button.ambr b/tests/components/sfr_box/snapshots/test_button.ambr index e39bc6112b5..b3a63befc55 100644 --- a/tests/components/sfr_box/snapshots/test_button.ambr +++ b/tests/components/sfr_box/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_buttons[button.sfr_box_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'SFR Box Restart', + : 'restart', + : 'SFR Box Restart', }), 'context': , 'entity_id': 'button.sfr_box_restart', diff --git a/tests/components/sfr_box/snapshots/test_sensor.ambr b/tests/components/sfr_box/snapshots/test_sensor.ambr index b6f77914d1e..54fd23c8059 100644 --- a/tests/components/sfr_box/snapshots/test_sensor.ambr +++ b/tests/components/sfr_box/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.sfr_box_dsl_attenuation_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'SFR Box DSL attenuation down', + : 'signal_strength', + : 'SFR Box DSL attenuation down', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_attenuation_down', @@ -96,10 +96,10 @@ # name: test_sensors[sensor.sfr_box_dsl_attenuation_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'SFR Box DSL attenuation up', + : 'signal_strength', + : 'SFR Box DSL attenuation up', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_attenuation_up', @@ -149,8 +149,8 @@ # name: test_sensors[sensor.sfr_box_dsl_connect_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SFR Box DSL connect count', - 'unit_of_measurement': 'attempts', + : 'SFR Box DSL connect count', + : 'attempts', }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_connect_count', @@ -200,8 +200,8 @@ # name: test_sensors[sensor.sfr_box_dsl_crc_error_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SFR Box DSL CRC error count', - 'unit_of_measurement': 'errors', + : 'SFR Box DSL CRC error count', + : 'errors', }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_crc_error_count', @@ -251,7 +251,7 @@ # name: test_sensors[sensor.sfr_box_dsl_line_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SFR Box DSL line mode', + : 'SFR Box DSL line mode', }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_line_mode', @@ -309,8 +309,8 @@ # name: test_sensors[sensor.sfr_box_dsl_line_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SFR Box DSL line status', + : 'enum', + : 'SFR Box DSL line status', : list([ 'no_defect', 'loss_of_frame', @@ -369,10 +369,10 @@ # name: test_sensors[sensor.sfr_box_dsl_noise_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'SFR Box DSL noise down', + : 'signal_strength', + : 'SFR Box DSL noise down', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_noise_down', @@ -424,10 +424,10 @@ # name: test_sensors[sensor.sfr_box_dsl_noise_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'SFR Box DSL noise up', + : 'signal_strength', + : 'SFR Box DSL noise up', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_noise_up', @@ -482,10 +482,10 @@ # name: test_sensors[sensor.sfr_box_dsl_rate_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'SFR Box DSL rate down', + : 'data_rate', + : 'SFR Box DSL rate down', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_rate_down', @@ -540,10 +540,10 @@ # name: test_sensors[sensor.sfr_box_dsl_rate_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'SFR Box DSL rate up', + : 'data_rate', + : 'SFR Box DSL rate up', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sfr_box_dsl_rate_up', @@ -605,8 +605,8 @@ # name: test_sensors[sensor.sfr_box_dsl_training-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SFR Box DSL training', + : 'enum', + : 'SFR Box DSL training', : list([ 'idle', 'g_994_training', @@ -673,8 +673,8 @@ # name: test_sensors[sensor.sfr_box_network_infrastructure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SFR Box Network infrastructure', + : 'enum', + : 'SFR Box Network infrastructure', : list([ 'adsl', 'ftth', @@ -734,10 +734,10 @@ # name: test_sensors[sensor.sfr_box_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SFR Box Temperature', + : 'temperature', + : 'SFR Box Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sfr_box_temperature', @@ -793,8 +793,8 @@ # name: test_sensors[sensor.sfr_box_voip_infrastructure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SFR Box VoIP infrastructure', + : 'enum', + : 'SFR Box VoIP infrastructure', : list([ 'adsl', 'ftth', @@ -854,10 +854,10 @@ # name: test_sensors[sensor.sfr_box_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SFR Box Voltage', + : 'voltage', + : 'SFR Box Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sfr_box_voltage', @@ -914,8 +914,8 @@ # name: test_sensors[sensor.sfr_box_wan_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SFR Box WAN mode', + : 'enum', + : 'SFR Box WAN mode', : list([ 'adsl_ppp', 'adsl_routed', diff --git a/tests/components/shelly/snapshots/test_binary_sensor.ambr b/tests/components/shelly/snapshots/test_binary_sensor.ambr index 4ef81a39c34..89cf5b26a40 100644 --- a/tests/components/shelly/snapshots/test_binary_sensor.ambr +++ b/tests/components/shelly/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_blu_trv_binary_sensor_entity[binary_sensor.trv_name_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'TRV-Name Calibration', + : 'problem', + : 'TRV-Name Calibration', }), 'context': , 'entity_id': 'binary_sensor.trv_name_calibration', @@ -90,8 +90,8 @@ # name: test_rpc_flood_entities[binary_sensor.test_name_kitchen_cable_unplugged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Kitchen cable unplugged', + : 'problem', + : 'Test name Kitchen cable unplugged', }), 'context': , 'entity_id': 'binary_sensor.test_name_kitchen_cable_unplugged', @@ -141,8 +141,8 @@ # name: test_rpc_flood_entities[binary_sensor.test_name_kitchen_flood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Test name Kitchen flood', + : 'moisture', + : 'Test name Kitchen flood', }), 'context': , 'entity_id': 'binary_sensor.test_name_kitchen_flood', @@ -192,7 +192,7 @@ # name: test_rpc_flood_entities[binary_sensor.test_name_kitchen_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Kitchen mute', + : 'Test name Kitchen mute', }), 'context': , 'entity_id': 'binary_sensor.test_name_kitchen_mute', diff --git a/tests/components/shelly/snapshots/test_button.ambr b/tests/components/shelly/snapshots/test_button.ambr index 0a5387e7991..0b151aaf344 100644 --- a/tests/components/shelly/snapshots/test_button.ambr +++ b/tests/components/shelly/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_rpc_blu_trv_button[button.trv_name_calibrate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TRV-Name Calibrate', + : 'TRV-Name Calibrate', }), 'context': , 'entity_id': 'button.trv_name_calibrate', @@ -89,8 +89,8 @@ # name: test_rpc_button[button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -140,7 +140,7 @@ # name: test_rpc_device_virtual_button[button.test_name_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Button', + : 'Test name Button', }), 'context': , 'entity_id': 'button.test_name_button', @@ -190,7 +190,7 @@ # name: test_wall_display_screen_buttons[turn_off-False][button.test_name_turn_off_the_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Turn off the screen', + : 'Test name Turn off the screen', }), 'context': , 'entity_id': 'button.test_name_turn_off_the_screen', @@ -240,7 +240,7 @@ # name: test_wall_display_screen_buttons[turn_on-True][button.test_name_turn_on_the_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Turn on the screen', + : 'Test name Turn on the screen', }), 'context': , 'entity_id': 'button.test_name_turn_on_the_screen', @@ -290,7 +290,7 @@ # name: test_wall_display_virtual_button[button.test_name_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Button', + : 'Test name Button', }), 'context': , 'entity_id': 'button.test_name_button', diff --git a/tests/components/shelly/snapshots/test_climate.ambr b/tests/components/shelly/snapshots/test_climate.ambr index 0b8c4dc7129..4f5aa1f5f1c 100644 --- a/tests/components/shelly/snapshots/test_climate.ambr +++ b/tests/components/shelly/snapshots/test_climate.ambr @@ -47,14 +47,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 15.2, - 'friendly_name': 'TRV-Name', + : 'TRV-Name', : , : list([ , ]), : 30, : 4, - 'supported_features': , + : , : 0.1, : 17.1, }), @@ -120,7 +120,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 22.1, - 'friendly_name': 'Test name', + : 'Test name', : , : list([ , @@ -134,7 +134,7 @@ 'Profile1', 'Profile2', ]), - 'supported_features': , + : , : 0.5, : 4, }), @@ -196,7 +196,7 @@ 'attributes': ReadOnlyDict({ : 44.4, : 12.3, - 'friendly_name': 'Test name', + : 'Test name', : , : list([ , @@ -204,7 +204,7 @@ ]), : 35, : 5, - 'supported_features': , + : , : 0.5, : 23, }), @@ -270,7 +270,7 @@ 'attributes': ReadOnlyDict({ : 59, : 25.5, - 'friendly_name': 'Test name', + : 'Test name', : list([ , , @@ -282,7 +282,7 @@ 'none', 'frost_protection', ]), - 'supported_features': , + : , : 0.5, : 27, }), @@ -366,7 +366,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Test name', + : 'Test name', : 60, : list([ , @@ -384,7 +384,7 @@ 'none', 'frost_protection', ]), - 'supported_features': , + : , : 0.5, : 20.5, }), @@ -446,7 +446,7 @@ 'attributes': ReadOnlyDict({ : 44.4, : 12.3, - 'friendly_name': 'Test name', + : 'Test name', : , : list([ , @@ -454,7 +454,7 @@ ]), : 35, : 5, - 'supported_features': , + : , : 0.5, : 23, }), diff --git a/tests/components/shelly/snapshots/test_devices.ambr b/tests/components/shelly/snapshots/test_devices.ambr index 484146b6f94..9a9125ad3b8 100644 --- a/tests/components/shelly/snapshots/test_devices.ambr +++ b/tests/components/shelly/snapshots/test_devices.ambr @@ -39,8 +39,8 @@ # name: test_device[cury_gen4][binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -90,8 +90,8 @@ # name: test_device[cury_gen4][binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -141,8 +141,8 @@ # name: test_device[cury_gen4][binary_sensor.test_name_rotation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Rotation', + : 'problem', + : 'Test name Rotation', }), 'context': , 'entity_id': 'binary_sensor.test_name_rotation', @@ -192,8 +192,8 @@ # name: test_device[cury_gen4][binary_sensor.test_name_tilt-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Tilt', + : 'problem', + : 'Test name Tilt', }), 'context': , 'entity_id': 'binary_sensor.test_name_tilt', @@ -243,8 +243,8 @@ # name: test_device[cury_gen4][button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -299,12 +299,12 @@ # name: test_device[cury_gen4][number.test_name_left_slot_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot intensity', + : 'Test name Left slot intensity', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_name_left_slot_intensity', @@ -359,12 +359,12 @@ # name: test_device[cury_gen4][number.test_name_right_slot_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot intensity', + : 'Test name Right slot intensity', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_name_right_slot_intensity', @@ -424,7 +424,7 @@ # name: test_device[cury_gen4][select.test_name_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Mode', + : 'Test name Mode', : list([ 'hall', 'bedroom', @@ -485,9 +485,9 @@ # name: test_device[cury_gen4][sensor.test_name_left_slot_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot level', + : 'Test name Left slot level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_name_left_slot_level', @@ -537,7 +537,7 @@ # name: test_device[cury_gen4][sensor.test_name_left_slot_vial-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot vial', + : 'Test name Left slot vial', }), 'context': , 'entity_id': 'sensor.test_name_left_slot_vial', @@ -589,9 +589,9 @@ # name: test_device[cury_gen4][sensor.test_name_right_slot_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot level', + : 'Test name Right slot level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_name_right_slot_level', @@ -641,7 +641,7 @@ # name: test_device[cury_gen4][sensor.test_name_right_slot_vial-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot vial', + : 'Test name Right slot vial', }), 'context': , 'entity_id': 'sensor.test_name_right_slot_vial', @@ -693,10 +693,10 @@ # name: test_device[cury_gen4][sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -746,8 +746,8 @@ # name: test_device[cury_gen4][sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -797,7 +797,7 @@ # name: test_device[cury_gen4][switch.test_name_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Away mode', + : 'Test name Away mode', }), 'context': , 'entity_id': 'switch.test_name_away_mode', @@ -847,7 +847,7 @@ # name: test_device[cury_gen4][switch.test_name_left_slot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot', + : 'Test name Left slot', }), 'context': , 'entity_id': 'switch.test_name_left_slot', @@ -897,7 +897,7 @@ # name: test_device[cury_gen4][switch.test_name_left_slot_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot boost', + : 'Test name Left slot boost', }), 'context': , 'entity_id': 'switch.test_name_left_slot_boost', @@ -947,7 +947,7 @@ # name: test_device[cury_gen4][switch.test_name_right_slot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot', + : 'Test name Right slot', }), 'context': , 'entity_id': 'switch.test_name_right_slot', @@ -997,7 +997,7 @@ # name: test_device[cury_gen4][switch.test_name_right_slot_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot boost', + : 'Test name Right slot boost', }), 'context': , 'entity_id': 'switch.test_name_right_slot_boost', @@ -1048,17 +1048,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '1.8.99-dev144746', : '1.8.99-dev144746', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/#unreleased', : None, - 'supported_features': , + : , : None, : None, }), @@ -1111,17 +1111,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '1.8.99-dev144746', : '1.8.99-dev144746', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/', : None, - 'supported_features': , + : , : None, : None, }), @@ -1173,8 +1173,8 @@ # name: test_device[duo_bulb_gen3][binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -1224,8 +1224,8 @@ # name: test_device[duo_bulb_gen3][binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -1275,8 +1275,8 @@ # name: test_device[duo_bulb_gen3][button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -1335,7 +1335,7 @@ : None, : None, : None, - 'friendly_name': 'Test name Living room lamp', + : 'Test name Living room lamp', : None, : 6500, : 2700, @@ -1343,7 +1343,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1402,10 +1402,10 @@ # name: test_device[duo_bulb_gen3][sensor.test_name_living_room_lamp_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Living room lamp energy', + : 'energy', + : 'Test name Living room lamp energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_living_room_lamp_energy', @@ -1460,10 +1460,10 @@ # name: test_device[duo_bulb_gen3][sensor.test_name_living_room_lamp_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Living room lamp power', + : 'power', + : 'Test name Living room lamp power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_living_room_lamp_power', @@ -1515,10 +1515,10 @@ # name: test_device[duo_bulb_gen3][sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -1568,8 +1568,8 @@ # name: test_device[duo_bulb_gen3][sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -1620,17 +1620,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '1.8.99-dev144333', : '1.8.99-dev144333', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/#unreleased', : None, - 'supported_features': , + : , : None, : None, }), @@ -1683,17 +1683,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '1.8.99-dev144333', : '1.8.99-dev144333', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/', : None, - 'supported_features': , + : , : None, : None, }), @@ -1745,8 +1745,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_1_name_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 1 name Overcurrent', + : 'problem', + : 'Switch 1 name Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.switch_1_name_overcurrent', @@ -1796,8 +1796,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_1_name_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 1 name Overheating', + : 'problem', + : 'Switch 1 name Overheating', }), 'context': , 'entity_id': 'binary_sensor.switch_1_name_overheating', @@ -1847,8 +1847,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_1_name_overpowering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 1 name Overpowering', + : 'problem', + : 'Switch 1 name Overpowering', }), 'context': , 'entity_id': 'binary_sensor.switch_1_name_overpowering', @@ -1898,8 +1898,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_1_name_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 1 name Overvoltage', + : 'problem', + : 'Switch 1 name Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.switch_1_name_overvoltage', @@ -1949,8 +1949,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_3_name_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 3 name Overcurrent', + : 'problem', + : 'Switch 3 name Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.switch_3_name_overcurrent', @@ -2000,8 +2000,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_3_name_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 3 name Overheating', + : 'problem', + : 'Switch 3 name Overheating', }), 'context': , 'entity_id': 'binary_sensor.switch_3_name_overheating', @@ -2051,8 +2051,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_3_name_overpowering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 3 name Overpowering', + : 'problem', + : 'Switch 3 name Overpowering', }), 'context': , 'entity_id': 'binary_sensor.switch_3_name_overpowering', @@ -2102,8 +2102,8 @@ # name: test_device[power_strip_gen4][binary_sensor.switch_3_name_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Switch 3 name Overvoltage', + : 'problem', + : 'Switch 3 name Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.switch_3_name_overvoltage', @@ -2153,8 +2153,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -2204,8 +2204,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_0_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overcurrent', + : 'problem', + : 'Test name Output 0 Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overcurrent', @@ -2255,8 +2255,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_0_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overheating', + : 'problem', + : 'Test name Output 0 Overheating', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overheating', @@ -2306,8 +2306,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_0_overpowering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overpowering', + : 'problem', + : 'Test name Output 0 Overpowering', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overpowering', @@ -2357,8 +2357,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_0_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overvoltage', + : 'problem', + : 'Test name Output 0 Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overvoltage', @@ -2408,8 +2408,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_2_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 2 Overcurrent', + : 'problem', + : 'Test name Output 2 Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_2_overcurrent', @@ -2459,8 +2459,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_2_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 2 Overheating', + : 'problem', + : 'Test name Output 2 Overheating', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_2_overheating', @@ -2510,8 +2510,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_2_overpowering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 2 Overpowering', + : 'problem', + : 'Test name Output 2 Overpowering', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_2_overpowering', @@ -2561,8 +2561,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_output_2_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 2 Overvoltage', + : 'problem', + : 'Test name Output 2 Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_2_overvoltage', @@ -2612,8 +2612,8 @@ # name: test_device[power_strip_gen4][binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -2663,8 +2663,8 @@ # name: test_device[power_strip_gen4][button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -2719,11 +2719,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Test name Output 2', + : 'Test name Output 2', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_name_output_2', @@ -2778,10 +2778,10 @@ # name: test_device[power_strip_gen4][sensor.switch_1_name_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Switch 1 name Current', + : 'current', + : 'Switch 1 name Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_1_name_current', @@ -2839,10 +2839,10 @@ # name: test_device[power_strip_gen4][sensor.switch_1_name_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Switch 1 name Energy', + : 'energy', + : 'Switch 1 name Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_1_name_energy', @@ -2900,10 +2900,10 @@ # name: test_device[power_strip_gen4][sensor.switch_1_name_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Switch 1 name Energy consumed', + : 'energy', + : 'Switch 1 name Energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_1_name_energy_consumed', @@ -2961,10 +2961,10 @@ # name: test_device[power_strip_gen4][sensor.switch_1_name_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Switch 1 name Energy returned', + : 'energy', + : 'Switch 1 name Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_1_name_energy_returned', @@ -3019,10 +3019,10 @@ # name: test_device[power_strip_gen4][sensor.switch_1_name_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Switch 1 name Frequency', + : 'frequency', + : 'Switch 1 name Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_1_name_frequency', @@ -3077,10 +3077,10 @@ # name: test_device[power_strip_gen4][sensor.switch_1_name_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Switch 1 name Power', + : 'power', + : 'Switch 1 name Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_1_name_power', @@ -3135,10 +3135,10 @@ # name: test_device[power_strip_gen4][sensor.switch_1_name_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Switch 1 name Voltage', + : 'voltage', + : 'Switch 1 name Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_1_name_voltage', @@ -3193,10 +3193,10 @@ # name: test_device[power_strip_gen4][sensor.switch_3_name_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Switch 3 name Current', + : 'current', + : 'Switch 3 name Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_3_name_current', @@ -3254,10 +3254,10 @@ # name: test_device[power_strip_gen4][sensor.switch_3_name_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Switch 3 name Energy', + : 'energy', + : 'Switch 3 name Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_3_name_energy', @@ -3315,10 +3315,10 @@ # name: test_device[power_strip_gen4][sensor.switch_3_name_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Switch 3 name Energy consumed', + : 'energy', + : 'Switch 3 name Energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_3_name_energy_consumed', @@ -3376,10 +3376,10 @@ # name: test_device[power_strip_gen4][sensor.switch_3_name_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Switch 3 name Energy returned', + : 'energy', + : 'Switch 3 name Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_3_name_energy_returned', @@ -3434,10 +3434,10 @@ # name: test_device[power_strip_gen4][sensor.switch_3_name_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Switch 3 name Frequency', + : 'frequency', + : 'Switch 3 name Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_3_name_frequency', @@ -3492,10 +3492,10 @@ # name: test_device[power_strip_gen4][sensor.switch_3_name_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Switch 3 name Power', + : 'power', + : 'Switch 3 name Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_3_name_power', @@ -3550,10 +3550,10 @@ # name: test_device[power_strip_gen4][sensor.switch_3_name_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Switch 3 name Voltage', + : 'voltage', + : 'Switch 3 name Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.switch_3_name_voltage', @@ -3608,10 +3608,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_0_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Output 0 Current', + : 'current', + : 'Test name Output 0 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_current', @@ -3669,10 +3669,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_0_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 0 Energy', + : 'energy', + : 'Test name Output 0 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_energy', @@ -3730,10 +3730,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_0_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 0 Energy consumed', + : 'energy', + : 'Test name Output 0 Energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_energy_consumed', @@ -3791,10 +3791,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_0_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 0 Energy returned', + : 'energy', + : 'Test name Output 0 Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_energy_returned', @@ -3849,10 +3849,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_0_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Output 0 Frequency', + : 'frequency', + : 'Test name Output 0 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_frequency', @@ -3907,10 +3907,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_0_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Output 0 Power', + : 'power', + : 'Test name Output 0 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_power', @@ -3965,10 +3965,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_0_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Output 0 Voltage', + : 'voltage', + : 'Test name Output 0 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_voltage', @@ -4023,10 +4023,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Output 2 Current', + : 'current', + : 'Test name Output 2 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_2_current', @@ -4084,10 +4084,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_2_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 2 Energy', + : 'energy', + : 'Test name Output 2 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_2_energy', @@ -4145,10 +4145,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_2_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 2 Energy consumed', + : 'energy', + : 'Test name Output 2 Energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_2_energy_consumed', @@ -4206,10 +4206,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_2_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 2 Energy returned', + : 'energy', + : 'Test name Output 2 Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_2_energy_returned', @@ -4264,10 +4264,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_2_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Output 2 Frequency', + : 'frequency', + : 'Test name Output 2 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_2_frequency', @@ -4322,10 +4322,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Output 2 Power', + : 'power', + : 'Test name Output 2 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_2_power', @@ -4380,10 +4380,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_output_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Output 2 Voltage', + : 'voltage', + : 'Test name Output 2 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_2_voltage', @@ -4435,10 +4435,10 @@ # name: test_device[power_strip_gen4][sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -4488,8 +4488,8 @@ # name: test_device[power_strip_gen4][sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -4539,7 +4539,7 @@ # name: test_device[power_strip_gen4][switch.switch_1_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Switch 1 name', + : 'Switch 1 name', }), 'context': , 'entity_id': 'switch.switch_1_name', @@ -4589,7 +4589,7 @@ # name: test_device[power_strip_gen4][switch.switch_3_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Switch 3 name', + : 'Switch 3 name', }), 'context': , 'entity_id': 'switch.switch_3_name', @@ -4639,7 +4639,7 @@ # name: test_device[power_strip_gen4][switch.test_name_output_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Output 0', + : 'Test name Output 0', }), 'context': , 'entity_id': 'switch.test_name_output_0', @@ -4690,17 +4690,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '1.8.99-dev134818', : '1.8.99-dev134818', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/#unreleased', : None, - 'supported_features': , + : , : None, : None, }), @@ -4753,17 +4753,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '1.8.99-dev134818', : '1.8.99-dev134818', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/', : None, - 'supported_features': , + : , : None, : None, }), @@ -4815,8 +4815,8 @@ # name: test_device[presence_gen4][binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -4866,8 +4866,8 @@ # name: test_device[presence_gen4][binary_sensor.test_name_my_zone_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Test name My zone occupancy', + : 'occupancy', + : 'Test name My zone occupancy', }), 'context': , 'entity_id': 'binary_sensor.test_name_my_zone_occupancy', @@ -4917,8 +4917,8 @@ # name: test_device[presence_gen4][binary_sensor.test_name_new_zone_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Test name New zone occupancy', + : 'occupancy', + : 'Test name New zone occupancy', }), 'context': , 'entity_id': 'binary_sensor.test_name_new_zone_occupancy', @@ -4968,8 +4968,8 @@ # name: test_device[presence_gen4][binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -5019,8 +5019,8 @@ # name: test_device[presence_gen4][binary_sensor.test_name_room_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Test name Room occupancy', + : 'occupancy', + : 'Test name Room occupancy', }), 'context': , 'entity_id': 'binary_sensor.test_name_room_occupancy', @@ -5070,8 +5070,8 @@ # name: test_device[presence_gen4][button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -5127,8 +5127,8 @@ # name: test_device[presence_gen4][sensor.test_name_illuminance_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test name Illuminance level', + : 'enum', + : 'Test name Illuminance level', : list([ 'dark', 'twilight', @@ -5185,9 +5185,9 @@ # name: test_device[presence_gen4][sensor.test_name_my_zone_detected_objects-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name My zone detected objects', + : 'Test name My zone detected objects', : , - 'unit_of_measurement': 'objects', + : 'objects', }), 'context': , 'entity_id': 'sensor.test_name_my_zone_detected_objects', @@ -5239,9 +5239,9 @@ # name: test_device[presence_gen4][sensor.test_name_new_zone_detected_objects-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name New zone detected objects', + : 'Test name New zone detected objects', : , - 'unit_of_measurement': 'objects', + : 'objects', }), 'context': , 'entity_id': 'sensor.test_name_new_zone_detected_objects', @@ -5293,9 +5293,9 @@ # name: test_device[presence_gen4][sensor.test_name_room_detected_objects-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Room detected objects', + : 'Test name Room detected objects', : , - 'unit_of_measurement': 'objects', + : 'objects', }), 'context': , 'entity_id': 'sensor.test_name_room_detected_objects', @@ -5347,10 +5347,10 @@ # name: test_device[presence_gen4][sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -5400,8 +5400,8 @@ # name: test_device[presence_gen4][sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -5452,17 +5452,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '1.8.99', : '1.8.99', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/#unreleased', : None, - 'supported_features': , + : , : None, : None, }), @@ -5515,17 +5515,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '1.8.99', : '1.8.99', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/', : None, - 'supported_features': , + : , : None, : None, }), @@ -5577,8 +5577,8 @@ # name: test_device[wall_display_xl][binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -5628,8 +5628,8 @@ # name: test_device[wall_display_xl][binary_sensor.test_name_external_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name External power', + : 'power', + : 'Test name External power', }), 'context': , 'entity_id': 'binary_sensor.test_name_external_power', @@ -5679,8 +5679,8 @@ # name: test_device[wall_display_xl][binary_sensor.test_name_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Input 2', + : 'power', + : 'Test name Input 2', }), 'context': , 'entity_id': 'binary_sensor.test_name_input_2', @@ -5730,8 +5730,8 @@ # name: test_device[wall_display_xl][binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -5781,8 +5781,8 @@ # name: test_device[wall_display_xl][button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -5832,7 +5832,7 @@ # name: test_device[wall_display_xl][button.test_name_turn_off_the_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Turn off the screen', + : 'Test name Turn off the screen', }), 'context': , 'entity_id': 'button.test_name_turn_off_the_screen', @@ -5882,7 +5882,7 @@ # name: test_device[wall_display_xl][button.test_name_turn_on_the_screen-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Turn on the screen', + : 'Test name Turn on the screen', }), 'context': , 'entity_id': 'button.test_name_turn_on_the_screen', @@ -5933,7 +5933,7 @@ # name: test_device[wall_display_xl][event.test_name_input_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'btn_down', @@ -5943,7 +5943,7 @@ 'single_push', 'triple_push', ]), - 'friendly_name': 'Test name Input 0', + : 'Test name Input 0', }), 'context': , 'entity_id': 'event.test_name_input_0', @@ -5994,7 +5994,7 @@ # name: test_device[wall_display_xl][event.test_name_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'btn_down', @@ -6004,7 +6004,7 @@ 'single_push', 'triple_push', ]), - 'friendly_name': 'Test name Input 3', + : 'Test name Input 3', }), 'context': , 'entity_id': 'event.test_name_input_3', @@ -6055,7 +6055,7 @@ # name: test_device[wall_display_xl][event.test_name_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'btn_down', @@ -6065,7 +6065,7 @@ 'single_push', 'triple_push', ]), - 'friendly_name': 'Test name Input 4', + : 'Test name Input 4', }), 'context': , 'entity_id': 'event.test_name_input_4', @@ -6116,10 +6116,10 @@ # name: test_device[wall_display_xl][media_player.test_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test name', + : 'speaker', + : 'Test name', : , - 'supported_features': , + : , : 0.7, }), 'context': , @@ -6172,10 +6172,10 @@ # name: test_device[wall_display_xl][sensor.test_name_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Test name Illuminance', + : 'illuminance', + : 'Test name Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.test_name_illuminance', @@ -6231,8 +6231,8 @@ # name: test_device[wall_display_xl][sensor.test_name_illuminance_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test name Illuminance level', + : 'enum', + : 'Test name Illuminance level', : list([ 'dark', 'twilight', @@ -6289,10 +6289,10 @@ # name: test_device[wall_display_xl][sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -6342,8 +6342,8 @@ # name: test_device[wall_display_xl][sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -6393,7 +6393,7 @@ # name: test_device[wall_display_xl][switch.test_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name', + : 'Test name', }), 'context': , 'entity_id': 'switch.test_name', @@ -6444,17 +6444,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '2.4.4', : '2.4.4', : None, : 'https://github.com/ShellyGroup/Wall-Display-Changelog', : None, - 'supported_features': , + : , : None, : None, }), @@ -6507,17 +6507,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '2.4.4', : '2.4.4', : None, : 'https://github.com/ShellyGroup/Wall-Display-Changelog', : None, - 'supported_features': , + : , : None, : None, }), @@ -6569,8 +6569,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -6620,8 +6620,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_input_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Input 0', + : 'power', + : 'Test name Input 0', }), 'context': , 'entity_id': 'binary_sensor.test_name_input_0', @@ -6671,8 +6671,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Input 1', + : 'power', + : 'Test name Input 1', }), 'context': , 'entity_id': 'binary_sensor.test_name_input_1', @@ -6722,8 +6722,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Overcurrent', + : 'problem', + : 'Test name Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.test_name_overcurrent', @@ -6773,8 +6773,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Overheating', + : 'problem', + : 'Test name Overheating', }), 'context': , 'entity_id': 'binary_sensor.test_name_overheating', @@ -6824,8 +6824,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_overpowering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Overpowering', + : 'problem', + : 'Test name Overpowering', }), 'context': , 'entity_id': 'binary_sensor.test_name_overpowering', @@ -6875,8 +6875,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Overvoltage', + : 'problem', + : 'Test name Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.test_name_overvoltage', @@ -6926,8 +6926,8 @@ # name: test_shelly_2pm_gen3_cover[binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -6977,8 +6977,8 @@ # name: test_shelly_2pm_gen3_cover[button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -7028,10 +7028,10 @@ # name: test_shelly_2pm_gen3_cover[cover.test_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'shutter', - 'friendly_name': 'Test name', + : 'shutter', + : 'Test name', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_name', @@ -7086,10 +7086,10 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Current', + : 'current', + : 'Test name Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_current', @@ -7147,10 +7147,10 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Energy', + : 'energy', + : 'Test name Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_energy', @@ -7205,10 +7205,10 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Frequency', + : 'frequency', + : 'Test name Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_frequency', @@ -7263,10 +7263,10 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Power', + : 'power', + : 'Test name Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_power', @@ -7318,10 +7318,10 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -7376,10 +7376,10 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test name Temperature', + : 'temperature', + : 'Test name Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_temperature', @@ -7429,8 +7429,8 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -7485,10 +7485,10 @@ # name: test_shelly_2pm_gen3_cover[sensor.test_name_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Voltage', + : 'voltage', + : 'Test name Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_voltage', @@ -7539,17 +7539,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '1.6.1', : '1.6.1', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/#unreleased', : None, - 'supported_features': , + : , : None, : None, }), @@ -7602,17 +7602,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '1.6.1', : '1.6.1', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/', : None, - 'supported_features': , + : , : None, : None, }), @@ -7664,8 +7664,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -7715,8 +7715,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_input_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Input 0', + : 'power', + : 'Test name Input 0', }), 'context': , 'entity_id': 'binary_sensor.test_name_input_0', @@ -7766,8 +7766,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Input 1', + : 'power', + : 'Test name Input 1', }), 'context': , 'entity_id': 'binary_sensor.test_name_input_1', @@ -7817,8 +7817,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_0_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overcurrent', + : 'problem', + : 'Test name Output 0 Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overcurrent', @@ -7868,8 +7868,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_0_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overheating', + : 'problem', + : 'Test name Output 0 Overheating', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overheating', @@ -7919,8 +7919,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_0_overpowering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overpowering', + : 'problem', + : 'Test name Output 0 Overpowering', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overpowering', @@ -7970,8 +7970,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_0_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 0 Overvoltage', + : 'problem', + : 'Test name Output 0 Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_0_overvoltage', @@ -8021,8 +8021,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_1_overcurrent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 1 Overcurrent', + : 'problem', + : 'Test name Output 1 Overcurrent', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_1_overcurrent', @@ -8072,8 +8072,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_1_overheating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 1 Overheating', + : 'problem', + : 'Test name Output 1 Overheating', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_1_overheating', @@ -8123,8 +8123,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_1_overpowering-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 1 Overpowering', + : 'problem', + : 'Test name Output 1 Overpowering', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_1_overpowering', @@ -8174,8 +8174,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_output_1_overvoltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Output 1 Overvoltage', + : 'problem', + : 'Test name Output 1 Overvoltage', }), 'context': , 'entity_id': 'binary_sensor.test_name_output_1_overvoltage', @@ -8225,8 +8225,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -8276,8 +8276,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -8332,10 +8332,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Output 0 Current', + : 'current', + : 'Test name Output 0 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_current', @@ -8393,10 +8393,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 0 Energy', + : 'energy', + : 'Test name Output 0 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_energy', @@ -8454,10 +8454,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 0 Energy consumed', + : 'energy', + : 'Test name Output 0 Energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_energy_consumed', @@ -8515,10 +8515,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 0 Energy returned', + : 'energy', + : 'Test name Output 0 Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_energy_returned', @@ -8573,10 +8573,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Output 0 Frequency', + : 'frequency', + : 'Test name Output 0 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_frequency', @@ -8631,10 +8631,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Output 0 Power', + : 'power', + : 'Test name Output 0 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_power', @@ -8689,10 +8689,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test name Output 0 Temperature', + : 'temperature', + : 'Test name Output 0 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_temperature', @@ -8747,10 +8747,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_0_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Output 0 Voltage', + : 'voltage', + : 'Test name Output 0 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_0_voltage', @@ -8805,10 +8805,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Output 1 Current', + : 'current', + : 'Test name Output 1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_current', @@ -8866,10 +8866,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 1 Energy', + : 'energy', + : 'Test name Output 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_energy', @@ -8927,10 +8927,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 1 Energy consumed', + : 'energy', + : 'Test name Output 1 Energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_energy_consumed', @@ -8988,10 +8988,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Output 1 Energy returned', + : 'energy', + : 'Test name Output 1 Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_energy_returned', @@ -9046,10 +9046,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Output 1 Frequency', + : 'frequency', + : 'Test name Output 1 Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_frequency', @@ -9104,10 +9104,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Output 1 Power', + : 'power', + : 'Test name Output 1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_power', @@ -9162,10 +9162,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test name Output 1 Temperature', + : 'temperature', + : 'Test name Output 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_temperature', @@ -9220,10 +9220,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_output_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Output 1 Voltage', + : 'voltage', + : 'Test name Output 1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_output_1_voltage', @@ -9275,10 +9275,10 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -9328,8 +9328,8 @@ # name: test_shelly_2pm_gen3_no_relay_names[sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -9379,7 +9379,7 @@ # name: test_shelly_2pm_gen3_no_relay_names[switch.test_name_output_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Output 0', + : 'Test name Output 0', }), 'context': , 'entity_id': 'switch.test_name_output_0', @@ -9429,7 +9429,7 @@ # name: test_shelly_2pm_gen3_no_relay_names[switch.test_name_output_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Output 1', + : 'Test name Output 1', }), 'context': , 'entity_id': 'switch.test_name_output_1', @@ -9480,17 +9480,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '1.6.1', : '1.6.1', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/#unreleased', : None, - 'supported_features': , + : , : None, : None, }), @@ -9543,17 +9543,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '1.6.1', : '1.6.1', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/', : None, - 'supported_features': , + : , : None, : None, }), @@ -9605,8 +9605,8 @@ # name: test_shelly_pro_3em[binary_sensor.test_name_cloud-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test name Cloud', + : 'connectivity', + : 'Test name Cloud', }), 'context': , 'entity_id': 'binary_sensor.test_name_cloud', @@ -9656,8 +9656,8 @@ # name: test_shelly_pro_3em[binary_sensor.test_name_restart_required-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test name Restart required', + : 'problem', + : 'Test name Restart required', }), 'context': , 'entity_id': 'binary_sensor.test_name_restart_required', @@ -9707,8 +9707,8 @@ # name: test_shelly_pro_3em[button.test_name_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Test name Restart', + : 'restart', + : 'Test name Restart', }), 'context': , 'entity_id': 'button.test_name_restart', @@ -9763,10 +9763,10 @@ # name: test_shelly_pro_3em[sensor.test_name_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Test name Apparent power', + : 'apparent_power', + : 'Test name Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_apparent_power', @@ -9821,10 +9821,10 @@ # name: test_shelly_pro_3em[sensor.test_name_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Current', + : 'current', + : 'Test name Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_current', @@ -9882,10 +9882,10 @@ # name: test_shelly_pro_3em[sensor.test_name_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Energy', + : 'energy', + : 'Test name Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_energy', @@ -9943,10 +9943,10 @@ # name: test_shelly_pro_3em[sensor.test_name_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Energy returned', + : 'energy', + : 'Test name Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_energy_returned', @@ -10001,10 +10001,10 @@ # name: test_shelly_pro_3em[sensor.test_name_neutral_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Neutral current', + : 'current', + : 'Test name Neutral current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_neutral_current', @@ -10059,10 +10059,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Test name Phase A Apparent power', + : 'apparent_power', + : 'Test name Phase A Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_apparent_power', @@ -10117,10 +10117,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Phase A Current', + : 'current', + : 'Test name Phase A Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_current', @@ -10178,10 +10178,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Phase A Energy', + : 'energy', + : 'Test name Phase A Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_energy', @@ -10239,10 +10239,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Phase A Energy returned', + : 'energy', + : 'Test name Phase A Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_energy_returned', @@ -10297,10 +10297,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Phase A Frequency', + : 'frequency', + : 'Test name Phase A Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_frequency', @@ -10355,10 +10355,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Phase A Power', + : 'power', + : 'Test name Phase A Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_power', @@ -10410,8 +10410,8 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Test name Phase A Power factor', + : 'power_factor', + : 'Test name Phase A Power factor', : , }), 'context': , @@ -10467,10 +10467,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Phase A Voltage', + : 'voltage', + : 'Test name Phase A Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_voltage', @@ -10525,10 +10525,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Test name Phase B Apparent power', + : 'apparent_power', + : 'Test name Phase B Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_apparent_power', @@ -10583,10 +10583,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Phase B Current', + : 'current', + : 'Test name Phase B Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_current', @@ -10644,10 +10644,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Phase B Energy', + : 'energy', + : 'Test name Phase B Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_energy', @@ -10705,10 +10705,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Phase B Energy returned', + : 'energy', + : 'Test name Phase B Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_energy_returned', @@ -10763,10 +10763,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Phase B Frequency', + : 'frequency', + : 'Test name Phase B Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_frequency', @@ -10821,10 +10821,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Phase B Power', + : 'power', + : 'Test name Phase B Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_power', @@ -10876,8 +10876,8 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Test name Phase B Power factor', + : 'power_factor', + : 'Test name Phase B Power factor', : , }), 'context': , @@ -10933,10 +10933,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Phase B Voltage', + : 'voltage', + : 'Test name Phase B Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_voltage', @@ -10991,10 +10991,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Test name Phase C Apparent power', + : 'apparent_power', + : 'Test name Phase C Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_apparent_power', @@ -11049,10 +11049,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Phase C Current', + : 'current', + : 'Test name Phase C Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_current', @@ -11110,10 +11110,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Phase C Energy', + : 'energy', + : 'Test name Phase C Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_energy', @@ -11171,10 +11171,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Phase C Energy returned', + : 'energy', + : 'Test name Phase C Energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_energy_returned', @@ -11229,10 +11229,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Test name Phase C Frequency', + : 'frequency', + : 'Test name Phase C Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_frequency', @@ -11287,10 +11287,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Phase C Power', + : 'power', + : 'Test name Phase C Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_power', @@ -11342,8 +11342,8 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Test name Phase C Power factor', + : 'power_factor', + : 'Test name Phase C Power factor', : , }), 'context': , @@ -11399,10 +11399,10 @@ # name: test_shelly_pro_3em[sensor.test_name_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Phase C Voltage', + : 'voltage', + : 'Test name Phase C Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_voltage', @@ -11457,10 +11457,10 @@ # name: test_shelly_pro_3em[sensor.test_name_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Power', + : 'power', + : 'Test name Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_power', @@ -11512,10 +11512,10 @@ # name: test_shelly_pro_3em[sensor.test_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test name Signal strength', + : 'signal_strength', + : 'Test name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_name_signal_strength', @@ -11570,10 +11570,10 @@ # name: test_shelly_pro_3em[sensor.test_name_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test name Temperature', + : 'temperature', + : 'Test name Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_temperature', @@ -11623,8 +11623,8 @@ # name: test_shelly_pro_3em[sensor.test_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Test name Uptime', + : 'uptime', + : 'Test name Uptime', }), 'context': , 'entity_id': 'sensor.test_name_uptime', @@ -11675,17 +11675,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Beta firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Beta firmware', : False, : '1.6.1', : '1.6.1', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/#unreleased', : None, - 'supported_features': , + : , : None, : None, }), @@ -11738,17 +11738,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/shelly/icon.png', - 'friendly_name': 'Test name Firmware', + : '/api/brands/integration/shelly/icon.png', + : 'Test name Firmware', : False, : '1.6.1', : '1.6.1', : None, : 'https://shelly-api-docs.shelly.cloud/gen2/changelog/', : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/shelly/snapshots/test_event.ambr b/tests/components/shelly/snapshots/test_event.ambr index fe5c01ce15b..5b4de9719df 100644 --- a/tests/components/shelly/snapshots/test_event.ambr +++ b/tests/components/shelly/snapshots/test_event.ambr @@ -49,7 +49,7 @@ 'input_event', 'script_start', ]), - 'friendly_name': 'Test name test_script.js', + : 'Test name test_script.js', }), 'context': , 'entity_id': 'event.test_name_test_script_js', diff --git a/tests/components/shelly/snapshots/test_media_player.ambr b/tests/components/shelly/snapshots/test_media_player.ambr index 8fb8678d824..b2fefcfd826 100644 --- a/tests/components/shelly/snapshots/test_media_player.ambr +++ b/tests/components/shelly/snapshots/test_media_player.ambr @@ -40,12 +40,12 @@ # name: test_rpc_media_player[media_player.test_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'entity_picture': 'https://www.radio_station.pl/icon.png', - 'friendly_name': 'Test name', + : 'speaker', + : 'https://www.radio_station.pl/icon.png', + : 'Test name', : , : 'Radio Station', - 'supported_features': , + : , : 0.5, }), 'context': , diff --git a/tests/components/shelly/snapshots/test_number.ambr b/tests/components/shelly/snapshots/test_number.ambr index a23b98ebb91..f51ea9a4c90 100644 --- a/tests/components/shelly/snapshots/test_number.ambr +++ b/tests/components/shelly/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_blu_trv_number_entity[number.trv_name_external_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'TRV-Name External temperature', + : 'temperature', + : 'TRV-Name External temperature', : 50, : -50, : , : 0.1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.trv_name_external_temperature', @@ -105,12 +105,12 @@ # name: test_blu_trv_number_entity[number.trv_name_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TRV-Name Valve position', + : 'TRV-Name Valve position', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.trv_name_valve_position', @@ -165,12 +165,12 @@ # name: test_cury_number_entity[number.test_name_left_slot_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot intensity', + : 'Test name Left slot intensity', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_name_left_slot_intensity', @@ -225,12 +225,12 @@ # name: test_cury_number_entity[number.test_name_right_slot_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot intensity', + : 'Test name Right slot intensity', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_name_right_slot_intensity', diff --git a/tests/components/shelly/snapshots/test_sensor.ambr b/tests/components/shelly/snapshots/test_sensor.ambr index 8461f15a551..fd795eb8a11 100644 --- a/tests/components/shelly/snapshots/test_sensor.ambr +++ b/tests/components/shelly/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_blu_trv_sensor_entity[sensor.trv_name_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'TRV-Name Battery', + : 'battery', + : 'TRV-Name Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.trv_name_battery', @@ -96,10 +96,10 @@ # name: test_blu_trv_sensor_entity[sensor.trv_name_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'TRV-Name Signal strength', + : 'signal_strength', + : 'TRV-Name Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.trv_name_signal_strength', @@ -151,9 +151,9 @@ # name: test_blu_trv_sensor_entity[sensor.trv_name_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TRV-Name Valve position', + : 'TRV-Name Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.trv_name_valve_position', @@ -205,9 +205,9 @@ # name: test_cury_sensor_entity[sensor.test_name_left_slot_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot level', + : 'Test name Left slot level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_name_left_slot_level', @@ -257,7 +257,7 @@ # name: test_cury_sensor_entity[sensor.test_name_left_slot_vial-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot vial', + : 'Test name Left slot vial', }), 'context': , 'entity_id': 'sensor.test_name_left_slot_vial', @@ -309,9 +309,9 @@ # name: test_cury_sensor_entity[sensor.test_name_right_slot_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot level', + : 'Test name Right slot level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_name_right_slot_level', @@ -361,7 +361,7 @@ # name: test_cury_sensor_entity[sensor.test_name_right_slot_vial-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot vial', + : 'Test name Right slot vial', }), 'context': , 'entity_id': 'sensor.test_name_right_slot_vial', @@ -422,8 +422,8 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_charger_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test name Charger state', + : 'enum', + : 'Test name Charger state', : list([ 'charger_charging', 'charger_end', @@ -488,10 +488,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Phase A current', + : 'current', + : 'Test name Phase A current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_current', @@ -546,10 +546,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Phase A power', + : 'power', + : 'Test name Phase A power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_power', @@ -604,10 +604,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Phase A voltage', + : 'voltage', + : 'Test name Phase A voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_a_voltage', @@ -662,10 +662,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Phase B current', + : 'current', + : 'Test name Phase B current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_current', @@ -720,10 +720,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Phase B power', + : 'power', + : 'Test name Phase B power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_power', @@ -778,10 +778,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Phase B voltage', + : 'voltage', + : 'Test name Phase B voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_b_voltage', @@ -836,10 +836,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test name Phase C current', + : 'current', + : 'Test name Phase C current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_current', @@ -894,10 +894,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_c_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test name Phase C power', + : 'power', + : 'Test name Phase C power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_power', @@ -952,10 +952,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test name Phase C voltage', + : 'voltage', + : 'Test name Phase C voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_phase_c_voltage', @@ -1008,9 +1008,9 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_session_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test name Session duration', - 'unit_of_measurement': , + : 'duration', + : 'Test name Session duration', + : , }), 'context': , 'entity_id': 'sensor.test_name_session_duration', @@ -1065,10 +1065,10 @@ # name: test_rpc_shelly_ev_sensors[sensor.test_name_session_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name Session energy', + : 'energy', + : 'Test name Session energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_session_energy', @@ -1126,10 +1126,10 @@ # name: test_rpc_switch_energy_sensors[sensor.test_name_test_switch_0_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name test switch_0 energy', + : 'energy', + : 'Test name test switch_0 energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_test_switch_0_energy', @@ -1187,10 +1187,10 @@ # name: test_rpc_switch_energy_sensors[sensor.test_name_test_switch_0_energy_consumed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name test switch_0 energy consumed', + : 'energy', + : 'Test name test switch_0 energy consumed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_test_switch_0_energy_consumed', @@ -1248,10 +1248,10 @@ # name: test_rpc_switch_energy_sensors[sensor.test_name_test_switch_0_energy_returned-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test name test switch_0 energy returned', + : 'energy', + : 'Test name test switch_0 energy returned', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_name_test_switch_0_energy_returned', @@ -1304,9 +1304,9 @@ # name: test_shelly_irrigation_weather_sensors[sensor.test_name_average_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test name Average temperature', - 'unit_of_measurement': , + : 'temperature', + : 'Test name Average temperature', + : , }), 'context': , 'entity_id': 'sensor.test_name_average_temperature', @@ -1359,9 +1359,9 @@ # name: test_shelly_irrigation_weather_sensors[sensor.test_name_rainfall-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'precipitation_intensity', - 'friendly_name': 'Test name Rainfall', - 'unit_of_measurement': , + : 'precipitation_intensity', + : 'Test name Rainfall', + : , }), 'context': , 'entity_id': 'sensor.test_name_rainfall', diff --git a/tests/components/shelly/snapshots/test_switch.ambr b/tests/components/shelly/snapshots/test_switch.ambr index b13774f270e..91840d64b40 100644 --- a/tests/components/shelly/snapshots/test_switch.ambr +++ b/tests/components/shelly/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_cury_switch_entity[switch.test_name_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Away mode', + : 'Test name Away mode', }), 'context': , 'entity_id': 'switch.test_name_away_mode', @@ -89,7 +89,7 @@ # name: test_cury_switch_entity[switch.test_name_left_slot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot', + : 'Test name Left slot', }), 'context': , 'entity_id': 'switch.test_name_left_slot', @@ -139,7 +139,7 @@ # name: test_cury_switch_entity[switch.test_name_left_slot_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Left slot boost', + : 'Test name Left slot boost', }), 'context': , 'entity_id': 'switch.test_name_left_slot_boost', @@ -189,7 +189,7 @@ # name: test_cury_switch_entity[switch.test_name_right_slot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot', + : 'Test name Right slot', }), 'context': , 'entity_id': 'switch.test_name_right_slot', @@ -239,7 +239,7 @@ # name: test_cury_switch_entity[switch.test_name_right_slot_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test name Right slot boost', + : 'Test name Right slot boost', }), 'context': , 'entity_id': 'switch.test_name_right_slot_boost', diff --git a/tests/components/simplefin/snapshots/test_binary_sensor.ambr b/tests/components/simplefin/snapshots/test_binary_sensor.ambr index 279a450aaaa..a507f1a2352 100644 --- a/tests/components/simplefin/snapshots/test_binary_sensor.ambr +++ b/tests/components/simplefin/snapshots/test_binary_sensor.ambr @@ -39,9 +39,9 @@ # name: test_all_entities[binary_sensor.investments_dr_evil_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'Investments Dr Evil Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'Investments Dr Evil Possible error', }), 'context': , 'entity_id': 'binary_sensor.investments_dr_evil_possible_error', @@ -91,9 +91,9 @@ # name: test_all_entities[binary_sensor.investments_my_checking_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'Investments My Checking Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'Investments My Checking Possible error', }), 'context': , 'entity_id': 'binary_sensor.investments_my_checking_possible_error', @@ -143,9 +143,9 @@ # name: test_all_entities[binary_sensor.investments_nerdcorp_series_b_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'Investments NerdCorp Series B Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'Investments NerdCorp Series B Possible error', }), 'context': , 'entity_id': 'binary_sensor.investments_nerdcorp_series_b_possible_error', @@ -195,9 +195,9 @@ # name: test_all_entities[binary_sensor.mythical_randomsavings_castle_mortgage_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'Mythical RandomSavings Castle Mortgage Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'Mythical RandomSavings Castle Mortgage Possible error', }), 'context': , 'entity_id': 'binary_sensor.mythical_randomsavings_castle_mortgage_possible_error', @@ -247,9 +247,9 @@ # name: test_all_entities[binary_sensor.mythical_randomsavings_unicorn_pot_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'Mythical RandomSavings Unicorn Pot Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'Mythical RandomSavings Unicorn Pot Possible error', }), 'context': , 'entity_id': 'binary_sensor.mythical_randomsavings_unicorn_pot_possible_error', @@ -299,9 +299,9 @@ # name: test_all_entities[binary_sensor.random_bank_costco_anywhere_visa_r_card_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'Random Bank Costco Anywhere Visa® Card Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'Random Bank Costco Anywhere Visa® Card Possible error', }), 'context': , 'entity_id': 'binary_sensor.random_bank_costco_anywhere_visa_r_card_possible_error', @@ -351,9 +351,9 @@ # name: test_all_entities[binary_sensor.the_bank_of_go_prime_savings_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'The Bank of Go PRIME SAVINGS Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'The Bank of Go PRIME SAVINGS Possible error', }), 'context': , 'entity_id': 'binary_sensor.the_bank_of_go_prime_savings_possible_error', @@ -403,9 +403,9 @@ # name: test_all_entities[binary_sensor.the_bank_of_go_the_bank_possible_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'problem', - 'friendly_name': 'The Bank of Go The Bank Possible error', + : 'Data provided by SimpleFIN API', + : 'problem', + : 'The Bank of Go The Bank Possible error', }), 'context': , 'entity_id': 'binary_sensor.the_bank_of_go_the_bank_possible_error', diff --git a/tests/components/simplefin/snapshots/test_sensor.ambr b/tests/components/simplefin/snapshots/test_sensor.ambr index 4b027cbf8b7..811543ce05d 100644 --- a/tests/components/simplefin/snapshots/test_sensor.ambr +++ b/tests/components/simplefin/snapshots/test_sensor.ambr @@ -41,12 +41,12 @@ # name: test_all_entities[sensor.investments_dr_evil_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'Investments Dr Evil Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'Investments Dr Evil Balance', + : , : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.investments_dr_evil_balance', @@ -96,9 +96,9 @@ # name: test_all_entities[sensor.investments_dr_evil_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'Investments Dr Evil Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'Investments Dr Evil Data age', }), 'context': , 'entity_id': 'sensor.investments_dr_evil_data_age', @@ -150,12 +150,12 @@ # name: test_all_entities[sensor.investments_my_checking_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'Investments My Checking Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'Investments My Checking Balance', + : , : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.investments_my_checking_balance', @@ -205,9 +205,9 @@ # name: test_all_entities[sensor.investments_my_checking_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'Investments My Checking Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'Investments My Checking Data age', }), 'context': , 'entity_id': 'sensor.investments_my_checking_data_age', @@ -259,12 +259,12 @@ # name: test_all_entities[sensor.investments_nerdcorp_series_b_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'Investments NerdCorp Series B Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'Investments NerdCorp Series B Balance', + : , : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.investments_nerdcorp_series_b_balance', @@ -314,9 +314,9 @@ # name: test_all_entities[sensor.investments_nerdcorp_series_b_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'Investments NerdCorp Series B Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'Investments NerdCorp Series B Data age', }), 'context': , 'entity_id': 'sensor.investments_nerdcorp_series_b_data_age', @@ -368,12 +368,12 @@ # name: test_all_entities[sensor.mythical_randomsavings_castle_mortgage_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'Mythical RandomSavings Castle Mortgage Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'Mythical RandomSavings Castle Mortgage Balance', + : , : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.mythical_randomsavings_castle_mortgage_balance', @@ -423,9 +423,9 @@ # name: test_all_entities[sensor.mythical_randomsavings_castle_mortgage_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'Mythical RandomSavings Castle Mortgage Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'Mythical RandomSavings Castle Mortgage Data age', }), 'context': , 'entity_id': 'sensor.mythical_randomsavings_castle_mortgage_data_age', @@ -477,12 +477,12 @@ # name: test_all_entities[sensor.mythical_randomsavings_unicorn_pot_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'Mythical RandomSavings Unicorn Pot Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'Mythical RandomSavings Unicorn Pot Balance', + : , : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.mythical_randomsavings_unicorn_pot_balance', @@ -532,9 +532,9 @@ # name: test_all_entities[sensor.mythical_randomsavings_unicorn_pot_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'Mythical RandomSavings Unicorn Pot Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'Mythical RandomSavings Unicorn Pot Data age', }), 'context': , 'entity_id': 'sensor.mythical_randomsavings_unicorn_pot_data_age', @@ -586,12 +586,12 @@ # name: test_all_entities[sensor.random_bank_costco_anywhere_visa_r_card_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'Random Bank Costco Anywhere Visa® Card Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'Random Bank Costco Anywhere Visa® Card Balance', + : , : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.random_bank_costco_anywhere_visa_r_card_balance', @@ -641,9 +641,9 @@ # name: test_all_entities[sensor.random_bank_costco_anywhere_visa_r_card_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'Random Bank Costco Anywhere Visa® Card Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'Random Bank Costco Anywhere Visa® Card Data age', }), 'context': , 'entity_id': 'sensor.random_bank_costco_anywhere_visa_r_card_data_age', @@ -695,12 +695,12 @@ # name: test_all_entities[sensor.the_bank_of_go_prime_savings_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'The Bank of Go PRIME SAVINGS Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'The Bank of Go PRIME SAVINGS Balance', + : , : , - 'unit_of_measurement': 'EUR', + : 'EUR', }), 'context': , 'entity_id': 'sensor.the_bank_of_go_prime_savings_balance', @@ -750,9 +750,9 @@ # name: test_all_entities[sensor.the_bank_of_go_prime_savings_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'The Bank of Go PRIME SAVINGS Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'The Bank of Go PRIME SAVINGS Data age', }), 'context': , 'entity_id': 'sensor.the_bank_of_go_prime_savings_data_age', @@ -804,12 +804,12 @@ # name: test_all_entities[sensor.the_bank_of_go_the_bank_balance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'monetary', - 'friendly_name': 'The Bank of Go The Bank Balance', - 'icon': , + : 'Data provided by SimpleFIN API', + : 'monetary', + : 'The Bank of Go The Bank Balance', + : , : , - 'unit_of_measurement': 'USD', + : 'USD', }), 'context': , 'entity_id': 'sensor.the_bank_of_go_the_bank_balance', @@ -859,9 +859,9 @@ # name: test_all_entities[sensor.the_bank_of_go_the_bank_data_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by SimpleFIN API', - 'device_class': 'timestamp', - 'friendly_name': 'The Bank of Go The Bank Data age', + : 'Data provided by SimpleFIN API', + : 'timestamp', + : 'The Bank of Go The Bank Data age', }), 'context': , 'entity_id': 'sensor.the_bank_of_go_the_bank_data_age', diff --git a/tests/components/sleep_as_android/snapshots/test_event.ambr b/tests/components/sleep_as_android/snapshots/test_event.ambr index f694b98f763..46959af6745 100644 --- a/tests/components/sleep_as_android/snapshots/test_event.ambr +++ b/tests/components/sleep_as_android/snapshots/test_event.ambr @@ -57,7 +57,7 @@ 'snooze_canceled', 'snooze_clicked', ]), - 'friendly_name': 'Sleep as Android Alarm clock', + : 'Sleep as Android Alarm clock', }), 'context': , 'entity_id': 'event.sleep_as_android_alarm_clock', @@ -117,7 +117,7 @@ 'jet_lag_start', 'jet_lag_stop', ]), - 'friendly_name': 'Sleep as Android Jet lag prevention', + : 'Sleep as Android Jet lag prevention', }), 'context': , 'entity_id': 'event.sleep_as_android_jet_lag_prevention', @@ -179,7 +179,7 @@ 'stop', 'volume_down', ]), - 'friendly_name': 'Sleep as Android Lullaby', + : 'Sleep as Android Lullaby', }), 'context': , 'entity_id': 'event.sleep_as_android_lullaby', @@ -239,7 +239,7 @@ 'antisnoring', 'apnea_alarm', ]), - 'friendly_name': 'Sleep as Android Sleep health', + : 'Sleep as Android Sleep health', }), 'context': , 'entity_id': 'event.sleep_as_android_sleep_health', @@ -305,7 +305,7 @@ 'not_awake', 'rem', ]), - 'friendly_name': 'Sleep as Android Sleep phase', + : 'Sleep as Android Sleep phase', }), 'context': , 'entity_id': 'event.sleep_as_android_sleep_phase', @@ -362,7 +362,7 @@ # name: test_setup[event.sleep_as_android_sleep_tracking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'paused', @@ -370,7 +370,7 @@ 'started', 'stopped', ]), - 'friendly_name': 'Sleep as Android Sleep tracking', + : 'Sleep as Android Sleep tracking', }), 'context': , 'entity_id': 'event.sleep_as_android_sleep_tracking', @@ -430,7 +430,7 @@ 'before_smart_period', 'smart_period', ]), - 'friendly_name': 'Sleep as Android Smart wake-up', + : 'Sleep as Android Smart wake-up', }), 'context': , 'entity_id': 'event.sleep_as_android_smart_wake_up', @@ -496,7 +496,7 @@ 'snore', 'talk', ]), - 'friendly_name': 'Sleep as Android Sound recognition', + : 'Sleep as Android Sound recognition', }), 'context': , 'entity_id': 'event.sleep_as_android_sound_recognition', @@ -558,7 +558,7 @@ 'show_skip_next_alarm', 'time_to_bed_alarm_alert', ]), - 'friendly_name': 'Sleep as Android User notification', + : 'Sleep as Android User notification', }), 'context': , 'entity_id': 'event.sleep_as_android_user_notification', diff --git a/tests/components/sleep_as_android/snapshots/test_sensor.ambr b/tests/components/sleep_as_android/snapshots/test_sensor.ambr index 46af1fb53d2..bd0946fb0e2 100644 --- a/tests/components/sleep_as_android/snapshots/test_sensor.ambr +++ b/tests/components/sleep_as_android/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_setup[sensor.sleep_as_android_alarm_label-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sleep as Android Alarm label', + : 'Sleep as Android Alarm label', }), 'context': , 'entity_id': 'sensor.sleep_as_android_alarm_label', @@ -89,8 +89,8 @@ # name: test_setup[sensor.sleep_as_android_next_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Sleep as Android Next alarm', + : 'timestamp', + : 'Sleep as Android Next alarm', }), 'context': , 'entity_id': 'sensor.sleep_as_android_next_alarm', diff --git a/tests/components/sleepiq/snapshots/test_sensor.ambr b/tests/components/sleepiq/snapshots/test_sensor.ambr index e998959ec80..4a4bab4e9a9 100644 --- a/tests/components/sleepiq/snapshots/test_sensor.ambr +++ b/tests/components/sleepiq/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeper_r_heart_rate_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed Sleeper R Heart Rate Average', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed Sleeper R Heart Rate Average', + : 'mdi:bed', : , - 'unit_of_measurement': 'bpm', + : 'bpm', }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeper_r_heart_rate_average', @@ -99,11 +99,11 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeper_r_heart_rate_variability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Bed SleepNumber Test Bed Sleeper R Heart Rate Variability', - 'icon': 'mdi:bed', + : 'duration', + : 'Test Bed SleepNumber Test Bed Sleeper R Heart Rate Variability', + : 'mdi:bed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeper_r_heart_rate_variability', @@ -155,8 +155,8 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeper_r_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed Sleeper R Pressure', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed Sleeper R Pressure', + : 'mdi:bed', : , }), 'context': , @@ -209,10 +209,10 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeper_r_respiratory_rate_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed Sleeper R Respiratory Rate Average', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed Sleeper R Respiratory Rate Average', + : 'mdi:bed', : , - 'unit_of_measurement': 'brpm', + : 'brpm', }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeper_r_respiratory_rate_average', @@ -267,11 +267,11 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeper_r_sleep_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Bed SleepNumber Test Bed Sleeper R Sleep Duration', - 'icon': 'mdi:bed', + : 'duration', + : 'Test Bed SleepNumber Test Bed Sleeper R Sleep Duration', + : 'mdi:bed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeper_r_sleep_duration', @@ -323,10 +323,10 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeper_r_sleep_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed Sleeper R Sleep Score', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed Sleeper R Sleep Score', + : 'mdi:bed', : , - 'unit_of_measurement': 'score', + : 'score', }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeper_r_sleep_score', @@ -378,8 +378,8 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeper_r_sleepnumber-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed Sleeper R SleepNumber', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed Sleeper R SleepNumber', + : 'mdi:bed', : , }), 'context': , @@ -432,10 +432,10 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeperl_heart_rate_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed SleeperL Heart Rate Average', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed SleeperL Heart Rate Average', + : 'mdi:bed', : , - 'unit_of_measurement': 'bpm', + : 'bpm', }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeperl_heart_rate_average', @@ -490,11 +490,11 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeperl_heart_rate_variability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Bed SleepNumber Test Bed SleeperL Heart Rate Variability', - 'icon': 'mdi:bed', + : 'duration', + : 'Test Bed SleepNumber Test Bed SleeperL Heart Rate Variability', + : 'mdi:bed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeperl_heart_rate_variability', @@ -546,8 +546,8 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeperl_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed SleeperL Pressure', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed SleeperL Pressure', + : 'mdi:bed', : , }), 'context': , @@ -600,10 +600,10 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeperl_respiratory_rate_average-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed SleeperL Respiratory Rate Average', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed SleeperL Respiratory Rate Average', + : 'mdi:bed', : , - 'unit_of_measurement': 'brpm', + : 'brpm', }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeperl_respiratory_rate_average', @@ -658,11 +658,11 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeperl_sleep_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Bed SleepNumber Test Bed SleeperL Sleep Duration', - 'icon': 'mdi:bed', + : 'duration', + : 'Test Bed SleepNumber Test Bed SleeperL Sleep Duration', + : 'mdi:bed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeperl_sleep_duration', @@ -714,10 +714,10 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeperl_sleep_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed SleeperL Sleep Score', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed SleeperL Sleep Score', + : 'mdi:bed', : , - 'unit_of_measurement': 'score', + : 'score', }), 'context': , 'entity_id': 'sensor.test_bed_sleepnumber_test_bed_sleeperl_sleep_score', @@ -769,8 +769,8 @@ # name: test_sensors[sensor.test_bed_sleepnumber_test_bed_sleeperl_sleepnumber-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Bed SleepNumber Test Bed SleeperL SleepNumber', - 'icon': 'mdi:bed', + : 'Test Bed SleepNumber Test Bed SleeperL SleepNumber', + : 'mdi:bed', : , }), 'context': , diff --git a/tests/components/slide_local/snapshots/test_button.ambr b/tests/components/slide_local/snapshots/test_button.ambr index f354cca1b0d..f7a966a9a47 100644 --- a/tests/components/slide_local/snapshots/test_button.ambr +++ b/tests/components/slide_local/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.slide_bedroom_calibrate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'slide bedroom Calibrate', + : 'slide bedroom Calibrate', }), 'context': , 'entity_id': 'button.slide_bedroom_calibrate', diff --git a/tests/components/slide_local/snapshots/test_cover.ambr b/tests/components/slide_local/snapshots/test_cover.ambr index 83c611d1989..8eced020513 100644 --- a/tests/components/slide_local/snapshots/test_cover.ambr +++ b/tests/components/slide_local/snapshots/test_cover.ambr @@ -39,12 +39,12 @@ # name: test_all_entities[cover.slide_bedroom-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, + : True, : 100, - 'device_class': 'curtain', - 'friendly_name': 'slide bedroom', + : 'curtain', + : 'slide bedroom', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.slide_bedroom', diff --git a/tests/components/slide_local/snapshots/test_switch.ambr b/tests/components/slide_local/snapshots/test_switch.ambr index 19d0cab0433..6ccd0e9fe1e 100644 --- a/tests/components/slide_local/snapshots/test_switch.ambr +++ b/tests/components/slide_local/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[switch.slide_bedroom_touchgo-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'slide bedroom TouchGo', + : 'switch', + : 'slide bedroom TouchGo', }), 'context': , 'entity_id': 'switch.slide_bedroom_touchgo', diff --git a/tests/components/sma/snapshots/test_sensor.ambr b/tests/components/sma/snapshots/test_sensor.ambr index fdb023f7a13..67c416b5fbc 100644 --- a/tests/components/sma/snapshots/test_sensor.ambr +++ b/tests/components/sma/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[sensor.sma_device_name_battery_capacity_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Battery Capacity A', - 'unit_of_measurement': '%', + : 'SMA Device Name Battery Capacity A', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_capacity_a', @@ -90,8 +90,8 @@ # name: test_all_entities[sensor.sma_device_name_battery_capacity_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Battery Capacity B', - 'unit_of_measurement': '%', + : 'SMA Device Name Battery Capacity B', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_capacity_b', @@ -141,8 +141,8 @@ # name: test_all_entities[sensor.sma_device_name_battery_capacity_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Battery Capacity C', - 'unit_of_measurement': '%', + : 'SMA Device Name Battery Capacity C', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_capacity_c', @@ -192,8 +192,8 @@ # name: test_all_entities[sensor.sma_device_name_battery_capacity_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Battery Capacity Total', - 'unit_of_measurement': '%', + : 'SMA Device Name Battery Capacity Total', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_capacity_total', @@ -248,10 +248,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_charge_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Charge A', + : 'energy', + : 'SMA Device Name Battery Charge A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_charge_a', @@ -306,10 +306,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_charge_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Charge B', + : 'energy', + : 'SMA Device Name Battery Charge B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_charge_b', @@ -364,10 +364,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_charge_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Charge C', + : 'energy', + : 'SMA Device Name Battery Charge C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_charge_c', @@ -422,10 +422,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_charge_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Charge Total', + : 'energy', + : 'SMA Device Name Battery Charge Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_charge_total', @@ -480,10 +480,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_charging_voltage_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Battery Charging Voltage A', + : 'voltage', + : 'SMA Device Name Battery Charging Voltage A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_charging_voltage_a', @@ -538,10 +538,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_charging_voltage_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Battery Charging Voltage B', + : 'voltage', + : 'SMA Device Name Battery Charging Voltage B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_charging_voltage_b', @@ -596,10 +596,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_charging_voltage_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Battery Charging Voltage C', + : 'voltage', + : 'SMA Device Name Battery Charging Voltage C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_charging_voltage_c', @@ -654,10 +654,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_current_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Battery Current A', + : 'current', + : 'SMA Device Name Battery Current A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_current_a', @@ -712,10 +712,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_current_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Battery Current B', + : 'current', + : 'SMA Device Name Battery Current B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_current_b', @@ -770,10 +770,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_current_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Battery Current C', + : 'current', + : 'SMA Device Name Battery Current C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_current_c', @@ -828,10 +828,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_discharge_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Discharge A', + : 'energy', + : 'SMA Device Name Battery Discharge A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_discharge_a', @@ -886,10 +886,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_discharge_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Discharge B', + : 'energy', + : 'SMA Device Name Battery Discharge B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_discharge_b', @@ -944,10 +944,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_discharge_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Discharge C', + : 'energy', + : 'SMA Device Name Battery Discharge C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_discharge_c', @@ -1002,10 +1002,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_discharge_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Battery Discharge Total', + : 'energy', + : 'SMA Device Name Battery Discharge Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_discharge_total', @@ -1060,10 +1060,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_charge_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Charge A', + : 'power', + : 'SMA Device Name Battery Power Charge A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_charge_a', @@ -1118,10 +1118,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_charge_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Charge B', + : 'power', + : 'SMA Device Name Battery Power Charge B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_charge_b', @@ -1176,10 +1176,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_charge_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Charge C', + : 'power', + : 'SMA Device Name Battery Power Charge C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_charge_c', @@ -1234,10 +1234,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_charge_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Charge Total', + : 'power', + : 'SMA Device Name Battery Power Charge Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_charge_total', @@ -1292,10 +1292,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_discharge_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Discharge A', + : 'power', + : 'SMA Device Name Battery Power Discharge A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_discharge_a', @@ -1350,10 +1350,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_discharge_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Discharge B', + : 'power', + : 'SMA Device Name Battery Power Discharge B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_discharge_b', @@ -1408,10 +1408,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_discharge_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Discharge C', + : 'power', + : 'SMA Device Name Battery Power Discharge C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_discharge_c', @@ -1466,10 +1466,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_power_discharge_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Battery Power Discharge Total', + : 'power', + : 'SMA Device Name Battery Power Discharge Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_power_discharge_total', @@ -1521,10 +1521,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_soc_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'SMA Device Name Battery SOC A', + : 'battery', + : 'SMA Device Name Battery SOC A', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_soc_a', @@ -1576,10 +1576,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_soc_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'SMA Device Name Battery SOC B', + : 'battery', + : 'SMA Device Name Battery SOC B', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_soc_b', @@ -1631,10 +1631,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_soc_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'SMA Device Name Battery SOC C', + : 'battery', + : 'SMA Device Name Battery SOC C', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_soc_c', @@ -1686,10 +1686,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_soc_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'SMA Device Name Battery SOC Total', + : 'battery', + : 'SMA Device Name Battery SOC Total', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_soc_total', @@ -1739,7 +1739,7 @@ # name: test_all_entities[sensor.sma_device_name_battery_status_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Battery Status Operating Mode', + : 'SMA Device Name Battery Status Operating Mode', }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_status_operating_mode', @@ -1794,10 +1794,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_temp_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SMA Device Name Battery Temp A', + : 'temperature', + : 'SMA Device Name Battery Temp A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_temp_a', @@ -1852,10 +1852,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_temp_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SMA Device Name Battery Temp B', + : 'temperature', + : 'SMA Device Name Battery Temp B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_temp_b', @@ -1910,10 +1910,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_temp_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SMA Device Name Battery Temp C', + : 'temperature', + : 'SMA Device Name Battery Temp C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_temp_c', @@ -1968,10 +1968,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_voltage_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Battery Voltage A', + : 'voltage', + : 'SMA Device Name Battery Voltage A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_voltage_a', @@ -2026,10 +2026,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_voltage_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Battery Voltage B', + : 'voltage', + : 'SMA Device Name Battery Voltage B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_voltage_b', @@ -2084,10 +2084,10 @@ # name: test_all_entities[sensor.sma_device_name_battery_voltage_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Battery Voltage C', + : 'voltage', + : 'SMA Device Name Battery Voltage C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_battery_voltage_c', @@ -2142,10 +2142,10 @@ # name: test_all_entities[sensor.sma_device_name_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Current L1', + : 'current', + : 'SMA Device Name Current L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_current_l1', @@ -2200,10 +2200,10 @@ # name: test_all_entities[sensor.sma_device_name_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Current L2', + : 'current', + : 'SMA Device Name Current L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_current_l2', @@ -2258,10 +2258,10 @@ # name: test_all_entities[sensor.sma_device_name_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Current L3', + : 'current', + : 'SMA Device Name Current L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_current_l3', @@ -2316,10 +2316,10 @@ # name: test_all_entities[sensor.sma_device_name_current_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Current Total', + : 'current', + : 'SMA Device Name Current Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_current_total', @@ -2374,10 +2374,10 @@ # name: test_all_entities[sensor.sma_device_name_daily_yield-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Daily Yield', + : 'energy', + : 'SMA Device Name Daily Yield', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_daily_yield', @@ -2432,10 +2432,10 @@ # name: test_all_entities[sensor.sma_device_name_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'SMA Device Name Frequency', + : 'frequency', + : 'SMA Device Name Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_frequency', @@ -2490,10 +2490,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'SMA Device Name Grid Apparent Power', + : 'apparent_power', + : 'SMA Device Name Grid Apparent Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_apparent_power', @@ -2548,10 +2548,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_apparent_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'SMA Device Name Grid Apparent Power L1', + : 'apparent_power', + : 'SMA Device Name Grid Apparent Power L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_apparent_power_l1', @@ -2606,10 +2606,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_apparent_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'SMA Device Name Grid Apparent Power L2', + : 'apparent_power', + : 'SMA Device Name Grid Apparent Power L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_apparent_power_l2', @@ -2664,10 +2664,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_apparent_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'SMA Device Name Grid Apparent Power L3', + : 'apparent_power', + : 'SMA Device Name Grid Apparent Power L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_apparent_power_l3', @@ -2717,7 +2717,7 @@ # name: test_all_entities[sensor.sma_device_name_grid_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Grid Connection Status', + : 'SMA Device Name Grid Connection Status', }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_connection_status', @@ -2772,10 +2772,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Grid Power', + : 'power', + : 'SMA Device Name Grid Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_power', @@ -2827,8 +2827,8 @@ # name: test_all_entities[sensor.sma_device_name_grid_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'SMA Device Name Grid Power Factor', + : 'power_factor', + : 'SMA Device Name Grid Power Factor', : , }), 'context': , @@ -2879,7 +2879,7 @@ # name: test_all_entities[sensor.sma_device_name_grid_power_factor_excitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Grid Power Factor Excitation', + : 'SMA Device Name Grid Power Factor Excitation', }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_power_factor_excitation', @@ -2934,10 +2934,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'SMA Device Name Grid Reactive Power', + : 'reactive_power', + : 'SMA Device Name Grid Reactive Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_reactive_power', @@ -2992,10 +2992,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_reactive_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'SMA Device Name Grid Reactive Power L1', + : 'reactive_power', + : 'SMA Device Name Grid Reactive Power L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_reactive_power_l1', @@ -3050,10 +3050,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_reactive_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'SMA Device Name Grid Reactive Power L2', + : 'reactive_power', + : 'SMA Device Name Grid Reactive Power L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_reactive_power_l2', @@ -3108,10 +3108,10 @@ # name: test_all_entities[sensor.sma_device_name_grid_reactive_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'SMA Device Name Grid Reactive Power L3', + : 'reactive_power', + : 'SMA Device Name Grid Reactive Power L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_reactive_power_l3', @@ -3161,7 +3161,7 @@ # name: test_all_entities[sensor.sma_device_name_grid_relay_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Grid Relay Status', + : 'SMA Device Name Grid Relay Status', }), 'context': , 'entity_id': 'sensor.sma_device_name_grid_relay_status', @@ -3216,10 +3216,10 @@ # name: test_all_entities[sensor.sma_device_name_insulation_residual_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Insulation Residual Current', + : 'current', + : 'SMA Device Name Insulation Residual Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_insulation_residual_current', @@ -3269,7 +3269,7 @@ # name: test_all_entities[sensor.sma_device_name_inverter_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Inverter Condition', + : 'SMA Device Name Inverter Condition', }), 'context': , 'entity_id': 'sensor.sma_device_name_inverter_condition', @@ -3324,10 +3324,10 @@ # name: test_all_entities[sensor.sma_device_name_inverter_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Inverter Power Limit', + : 'power', + : 'SMA Device Name Inverter Power Limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_inverter_power_limit', @@ -3377,7 +3377,7 @@ # name: test_all_entities[sensor.sma_device_name_inverter_system_init-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Inverter System Init', + : 'SMA Device Name Inverter System Init', }), 'context': , 'entity_id': 'sensor.sma_device_name_inverter_system_init', @@ -3432,10 +3432,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_active_power_draw_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Active Power Draw L1', + : 'power', + : 'SMA Device Name Metering Active Power Draw L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_active_power_draw_l1', @@ -3490,10 +3490,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_active_power_draw_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Active Power Draw L2', + : 'power', + : 'SMA Device Name Metering Active Power Draw L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_active_power_draw_l2', @@ -3548,10 +3548,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_active_power_draw_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Active Power Draw L3', + : 'power', + : 'SMA Device Name Metering Active Power Draw L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_active_power_draw_l3', @@ -3606,10 +3606,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_active_power_feed_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Active Power Feed L1', + : 'power', + : 'SMA Device Name Metering Active Power Feed L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_active_power_feed_l1', @@ -3664,10 +3664,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_active_power_feed_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Active Power Feed L2', + : 'power', + : 'SMA Device Name Metering Active Power Feed L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_active_power_feed_l2', @@ -3722,10 +3722,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_active_power_feed_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Active Power Feed L3', + : 'power', + : 'SMA Device Name Metering Active Power Feed L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_active_power_feed_l3', @@ -3780,10 +3780,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_current_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Current Consumption', + : 'power', + : 'SMA Device Name Metering Current Consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_current_consumption', @@ -3838,10 +3838,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Metering Current L1', + : 'current', + : 'SMA Device Name Metering Current L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_current_l1', @@ -3896,10 +3896,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_current_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Metering Current L2', + : 'current', + : 'SMA Device Name Metering Current L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_current_l2', @@ -3954,10 +3954,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_current_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Metering Current L3', + : 'current', + : 'SMA Device Name Metering Current L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_current_l3', @@ -4012,10 +4012,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'SMA Device Name Metering Frequency', + : 'frequency', + : 'SMA Device Name Metering Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_frequency', @@ -4070,10 +4070,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_power_absorbed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Power Absorbed', + : 'power', + : 'SMA Device Name Metering Power Absorbed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_power_absorbed', @@ -4128,10 +4128,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_power_supplied-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Metering Power Supplied', + : 'power', + : 'SMA Device Name Metering Power Supplied', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_power_supplied', @@ -4186,10 +4186,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_total_absorbed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Metering Total Absorbed', + : 'energy', + : 'SMA Device Name Metering Total Absorbed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_total_absorbed', @@ -4244,10 +4244,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_total_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Metering Total Consumption', + : 'energy', + : 'SMA Device Name Metering Total Consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_total_consumption', @@ -4302,10 +4302,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_total_yield-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Metering Total Yield', + : 'energy', + : 'SMA Device Name Metering Total Yield', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_total_yield', @@ -4360,10 +4360,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_voltage_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Metering Voltage L1', + : 'voltage', + : 'SMA Device Name Metering Voltage L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_voltage_l1', @@ -4418,10 +4418,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_voltage_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Metering Voltage L2', + : 'voltage', + : 'SMA Device Name Metering Voltage L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_voltage_l2', @@ -4476,10 +4476,10 @@ # name: test_all_entities[sensor.sma_device_name_metering_voltage_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Metering Voltage L3', + : 'voltage', + : 'SMA Device Name Metering Voltage L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_metering_voltage_l3', @@ -4529,7 +4529,7 @@ # name: test_all_entities[sensor.sma_device_name_operating_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Operating Status', + : 'SMA Device Name Operating Status', }), 'context': , 'entity_id': 'sensor.sma_device_name_operating_status', @@ -4579,7 +4579,7 @@ # name: test_all_entities[sensor.sma_device_name_operating_status_general-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Operating Status General', + : 'SMA Device Name Operating Status General', }), 'context': , 'entity_id': 'sensor.sma_device_name_operating_status_general', @@ -4634,10 +4634,10 @@ # name: test_all_entities[sensor.sma_device_name_optimizer_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Optimizer Current', + : 'current', + : 'SMA Device Name Optimizer Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_optimizer_current', @@ -4692,10 +4692,10 @@ # name: test_all_entities[sensor.sma_device_name_optimizer_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Optimizer Power', + : 'power', + : 'SMA Device Name Optimizer Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_optimizer_power', @@ -4750,10 +4750,10 @@ # name: test_all_entities[sensor.sma_device_name_optimizer_temp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SMA Device Name Optimizer Temp', + : 'temperature', + : 'SMA Device Name Optimizer Temp', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_optimizer_temp', @@ -4808,10 +4808,10 @@ # name: test_all_entities[sensor.sma_device_name_optimizer_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Optimizer Voltage', + : 'voltage', + : 'SMA Device Name Optimizer Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_optimizer_voltage', @@ -4866,10 +4866,10 @@ # name: test_all_entities[sensor.sma_device_name_power_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Power L1', + : 'power', + : 'SMA Device Name Power L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_power_l1', @@ -4924,10 +4924,10 @@ # name: test_all_entities[sensor.sma_device_name_power_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Power L2', + : 'power', + : 'SMA Device Name Power L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_power_l2', @@ -4982,10 +4982,10 @@ # name: test_all_entities[sensor.sma_device_name_power_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Power L3', + : 'power', + : 'SMA Device Name Power L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_power_l3', @@ -5040,10 +5040,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_current_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name PV Current A', + : 'current', + : 'SMA Device Name PV Current A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_current_a', @@ -5098,10 +5098,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_current_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name PV Current B', + : 'current', + : 'SMA Device Name PV Current B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_current_b', @@ -5156,10 +5156,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_current_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name PV Current C', + : 'current', + : 'SMA Device Name PV Current C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_current_c', @@ -5214,10 +5214,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_gen_meter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name PV Gen Meter', + : 'energy', + : 'SMA Device Name PV Gen Meter', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_gen_meter', @@ -5269,9 +5269,9 @@ # name: test_all_entities[sensor.sma_device_name_pv_isolation_resistance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name PV Isolation Resistance', + : 'SMA Device Name PV Isolation Resistance', : , - 'unit_of_measurement': 'kOhms', + : 'kOhms', }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_isolation_resistance', @@ -5326,10 +5326,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name PV Power', + : 'power', + : 'SMA Device Name PV Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_power', @@ -5384,10 +5384,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_power_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name PV Power A', + : 'power', + : 'SMA Device Name PV Power A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_power_a', @@ -5442,10 +5442,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_power_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name PV Power B', + : 'power', + : 'SMA Device Name PV Power B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_power_b', @@ -5500,10 +5500,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_power_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name PV Power C', + : 'power', + : 'SMA Device Name PV Power C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_power_c', @@ -5558,10 +5558,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_voltage_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name PV Voltage A', + : 'voltage', + : 'SMA Device Name PV Voltage A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_voltage_a', @@ -5616,10 +5616,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_voltage_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name PV Voltage B', + : 'voltage', + : 'SMA Device Name PV Voltage B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_voltage_b', @@ -5674,10 +5674,10 @@ # name: test_all_entities[sensor.sma_device_name_pv_voltage_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name PV Voltage C', + : 'voltage', + : 'SMA Device Name PV Voltage C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_pv_voltage_c', @@ -5732,10 +5732,10 @@ # name: test_all_entities[sensor.sma_device_name_secure_power_supply_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SMA Device Name Secure Power Supply Current', + : 'current', + : 'SMA Device Name Secure Power Supply Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_secure_power_supply_current', @@ -5790,10 +5790,10 @@ # name: test_all_entities[sensor.sma_device_name_secure_power_supply_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SMA Device Name Secure Power Supply Power', + : 'power', + : 'SMA Device Name Secure Power Supply Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_secure_power_supply_power', @@ -5848,10 +5848,10 @@ # name: test_all_entities[sensor.sma_device_name_secure_power_supply_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Secure Power Supply Voltage', + : 'voltage', + : 'SMA Device Name Secure Power Supply Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_secure_power_supply_voltage', @@ -5901,7 +5901,7 @@ # name: test_all_entities[sensor.sma_device_name_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SMA Device Name Status', + : 'SMA Device Name Status', }), 'context': , 'entity_id': 'sensor.sma_device_name_status', @@ -5956,10 +5956,10 @@ # name: test_all_entities[sensor.sma_device_name_total_yield-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SMA Device Name Total Yield', + : 'energy', + : 'SMA Device Name Total Yield', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_total_yield', @@ -6014,10 +6014,10 @@ # name: test_all_entities[sensor.sma_device_name_voltage_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Voltage L1', + : 'voltage', + : 'SMA Device Name Voltage L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_voltage_l1', @@ -6072,10 +6072,10 @@ # name: test_all_entities[sensor.sma_device_name_voltage_l2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Voltage L2', + : 'voltage', + : 'SMA Device Name Voltage L2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_voltage_l2', @@ -6130,10 +6130,10 @@ # name: test_all_entities[sensor.sma_device_name_voltage_l3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SMA Device Name Voltage L3', + : 'voltage', + : 'SMA Device Name Voltage L3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sma_device_name_voltage_l3', diff --git a/tests/components/smarla/snapshots/test_button.ambr b/tests/components/smarla/snapshots/test_button.ambr index d83d53329dc..fe2bdada0c6 100644 --- a/tests/components/smarla/snapshots/test_button.ambr +++ b/tests/components/smarla/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.smarla_send_diagnostics-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smarla Send diagnostics', + : 'Smarla Send diagnostics', }), 'context': , 'entity_id': 'button.smarla_send_diagnostics', diff --git a/tests/components/smarla/snapshots/test_number.ambr b/tests/components/smarla/snapshots/test_number.ambr index 8f2c5118426..5291a5165c3 100644 --- a/tests/components/smarla/snapshots/test_number.ambr +++ b/tests/components/smarla/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_entities[number.smarla_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smarla Intensity', + : 'Smarla Intensity', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.smarla_intensity', diff --git a/tests/components/smarla/snapshots/test_sensor.ambr b/tests/components/smarla/snapshots/test_sensor.ambr index 657e69b7ac0..7fc93cfb962 100644 --- a/tests/components/smarla/snapshots/test_sensor.ambr +++ b/tests/components/smarla/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_entities[sensor.smarla_activity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smarla Activity', + : 'Smarla Activity', : , }), 'context': , @@ -97,10 +97,10 @@ # name: test_entities[sensor.smarla_amplitude-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Smarla Amplitude', + : 'distance', + : 'Smarla Amplitude', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smarla_amplitude', @@ -155,10 +155,10 @@ # name: test_entities[sensor.smarla_period-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Smarla Period', + : 'duration', + : 'Smarla Period', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smarla_period', @@ -216,8 +216,8 @@ # name: test_entities[sensor.smarla_spring_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smarla Spring status', + : 'enum', + : 'Smarla Spring status', : list([ 'normal', 'constellation_too_high', @@ -276,9 +276,9 @@ # name: test_entities[sensor.smarla_swing_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smarla Swing count', + : 'Smarla Swing count', : , - 'unit_of_measurement': 'swings', + : 'swings', }), 'context': , 'entity_id': 'sensor.smarla_swing_count', @@ -336,10 +336,10 @@ # name: test_entities[sensor.smarla_total_swing_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Smarla Total swing time', + : 'duration', + : 'Smarla Total swing time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smarla_total_swing_time', diff --git a/tests/components/smarla/snapshots/test_switch.ambr b/tests/components/smarla/snapshots/test_switch.ambr index e5457c1863b..b15cc9f895b 100644 --- a/tests/components/smarla/snapshots/test_switch.ambr +++ b/tests/components/smarla/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_entities[switch.smarla-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Smarla', + : 'switch', + : 'Smarla', }), 'context': , 'entity_id': 'switch.smarla', @@ -90,8 +90,8 @@ # name: test_entities[switch.smarla_smart_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Smarla Smart Mode', + : 'switch', + : 'Smarla Smart Mode', }), 'context': , 'entity_id': 'switch.smarla_smart_mode', diff --git a/tests/components/smarla/snapshots/test_update.ambr b/tests/components/smarla/snapshots/test_update.ambr index f61e113d4a9..2f87f834c60 100644 --- a/tests/components/smarla/snapshots/test_update.ambr +++ b/tests/components/smarla/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smarla/icon.png', - 'friendly_name': 'Smarla Firmware', + : '/api/brands/integration/smarla/icon.png', + : 'Smarla Firmware', : False, : '1.0.0', : '1.0.0', : '', : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/smartthings/snapshots/test_binary_sensor.ambr b/tests/components/smartthings/snapshots/test_binary_sensor.ambr index 09a101af579..122e081d6ba 100644 --- a/tests/components/smartthings/snapshots/test_binary_sensor.ambr +++ b/tests/components/smartthings/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[aeotec_ms6][binary_sensor.parent_s_bedroom_sensor_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': "Parent's Bedroom Sensor Motion", + : 'motion', + : "Parent's Bedroom Sensor Motion", }), 'context': , 'entity_id': 'binary_sensor.parent_s_bedroom_sensor_motion', @@ -90,8 +90,8 @@ # name: test_all_entities[aeotec_ms6][binary_sensor.parent_s_bedroom_sensor_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': "Parent's Bedroom Sensor Tamper", + : 'tamper', + : "Parent's Bedroom Sensor Tamper", }), 'context': , 'entity_id': 'binary_sensor.parent_s_bedroom_sensor_tamper', @@ -141,8 +141,8 @@ # name: test_all_entities[c2c_arlo_pro_3_switch][binary_sensor.theater_2nd_floor_hallway_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': '2nd Floor Hallway Motion', + : 'motion', + : '2nd Floor Hallway Motion', }), 'context': , 'entity_id': 'binary_sensor.theater_2nd_floor_hallway_motion', @@ -192,8 +192,8 @@ # name: test_all_entities[c2c_arlo_pro_3_switch][binary_sensor.theater_2nd_floor_hallway_sound-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'sound', - 'friendly_name': '2nd Floor Hallway Sound', + : 'sound', + : '2nd Floor Hallway Sound', }), 'context': , 'entity_id': 'binary_sensor.theater_2nd_floor_hallway_sound', @@ -243,8 +243,8 @@ # name: test_all_entities[contact_sensor][binary_sensor.theater_front_door_open_closed_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage_door', - 'friendly_name': '.Front Door Open/Closed Sensor', + : 'garage_door', + : '.Front Door Open/Closed Sensor', }), 'context': , 'entity_id': 'binary_sensor.theater_front_door_open_closed_sensor', @@ -294,7 +294,7 @@ # name: test_all_entities[da_ks_cooktop_000001][binary_sensor.table_de_cuisson_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Table de cuisson Child lock', + : 'Table de cuisson Child lock', }), 'context': , 'entity_id': 'binary_sensor.table_de_cuisson_child_lock', @@ -344,7 +344,7 @@ # name: test_all_entities[da_ks_cooktop_000001][binary_sensor.table_de_cuisson_operating_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Table de cuisson Operating state', + : 'Table de cuisson Operating state', }), 'context': , 'entity_id': 'binary_sensor.table_de_cuisson_operating_state', @@ -394,8 +394,8 @@ # name: test_all_entities[da_ks_cooktop_000001][binary_sensor.table_de_cuisson_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Table de cuisson Power', + : 'power', + : 'Table de cuisson Power', }), 'context': , 'entity_id': 'binary_sensor.table_de_cuisson_power', @@ -445,8 +445,8 @@ # name: test_all_entities[da_ks_cooktop_31001][binary_sensor.induction_hob_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Induction Hob Power', + : 'power', + : 'Induction Hob Power', }), 'context': , 'entity_id': 'binary_sensor.induction_hob_power', @@ -496,7 +496,7 @@ # name: test_all_entities[da_ks_microwave_0101x][binary_sensor.theater_microwave_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Microwave Child lock', + : 'Microwave Child lock', }), 'context': , 'entity_id': 'binary_sensor.theater_microwave_child_lock', @@ -546,8 +546,8 @@ # name: test_all_entities[da_ks_microwave_0101x][binary_sensor.theater_microwave_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Microwave Door', + : 'opening', + : 'Microwave Door', }), 'context': , 'entity_id': 'binary_sensor.theater_microwave_door', @@ -597,8 +597,8 @@ # name: test_all_entities[da_ks_microwave_0101x][binary_sensor.theater_microwave_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Microwave Power', + : 'power', + : 'Microwave Power', }), 'context': , 'entity_id': 'binary_sensor.theater_microwave_power', @@ -648,7 +648,7 @@ # name: test_all_entities[da_ks_microwave_0101x][binary_sensor.theater_microwave_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Microwave Remote control', + : 'Microwave Remote control', }), 'context': , 'entity_id': 'binary_sensor.theater_microwave_remote_control', @@ -698,7 +698,7 @@ # name: test_all_entities[da_ks_oven_01061][binary_sensor.oven_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Child lock', + : 'Oven Child lock', }), 'context': , 'entity_id': 'binary_sensor.oven_child_lock', @@ -748,8 +748,8 @@ # name: test_all_entities[da_ks_oven_01061][binary_sensor.oven_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Oven Door', + : 'opening', + : 'Oven Door', }), 'context': , 'entity_id': 'binary_sensor.oven_door', @@ -799,7 +799,7 @@ # name: test_all_entities[da_ks_oven_01061][binary_sensor.oven_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Remote control', + : 'Oven Remote control', }), 'context': , 'entity_id': 'binary_sensor.oven_remote_control', @@ -849,7 +849,7 @@ # name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen oven Child lock', + : 'Kitchen oven Child lock', }), 'context': , 'entity_id': 'binary_sensor.kitchen_oven_child_lock', @@ -899,8 +899,8 @@ # name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Kitchen oven Door', + : 'opening', + : 'Kitchen oven Door', }), 'context': , 'entity_id': 'binary_sensor.kitchen_oven_door', @@ -950,7 +950,7 @@ # name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen oven Remote control', + : 'Kitchen oven Remote control', }), 'context': , 'entity_id': 'binary_sensor.kitchen_oven_remote_control', @@ -1000,7 +1000,7 @@ # name: test_all_entities[da_ks_oven_0107x][binary_sensor.kitchen_oven_second_cavity_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen oven Second cavity status', + : 'Kitchen oven Second cavity status', }), 'context': , 'entity_id': 'binary_sensor.kitchen_oven_second_cavity_status', @@ -1050,7 +1050,7 @@ # name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vulcan Child lock', + : 'Vulcan Child lock', }), 'context': , 'entity_id': 'binary_sensor.vulcan_child_lock', @@ -1100,8 +1100,8 @@ # name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Vulcan Door', + : 'opening', + : 'Vulcan Door', }), 'context': , 'entity_id': 'binary_sensor.vulcan_door', @@ -1151,7 +1151,7 @@ # name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_operating_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vulcan Operating state', + : 'Vulcan Operating state', }), 'context': , 'entity_id': 'binary_sensor.vulcan_operating_state', @@ -1201,7 +1201,7 @@ # name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vulcan Remote control', + : 'Vulcan Remote control', }), 'context': , 'entity_id': 'binary_sensor.vulcan_remote_control', @@ -1251,7 +1251,7 @@ # name: test_all_entities[da_ks_range_0101x][binary_sensor.vulcan_second_cavity_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vulcan Second cavity status', + : 'Vulcan Second cavity status', }), 'context': , 'entity_id': 'binary_sensor.vulcan_second_cavity_status', @@ -1301,7 +1301,7 @@ # name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Four Child lock', + : 'Four Child lock', }), 'context': , 'entity_id': 'binary_sensor.four_child_lock', @@ -1351,8 +1351,8 @@ # name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'Four Door', + : 'opening', + : 'Four Door', }), 'context': , 'entity_id': 'binary_sensor.four_door', @@ -1402,7 +1402,7 @@ # name: test_all_entities[da_ks_walloven_0107x][binary_sensor.four_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Four Remote control', + : 'Four Remote control', }), 'context': , 'entity_id': 'binary_sensor.four_remote_control', @@ -1452,8 +1452,8 @@ # name: test_all_entities[da_ref_normal_000001][binary_sensor.theater_refrigerator_filter_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Refrigerator Filter status', + : 'problem', + : 'Refrigerator Filter status', }), 'context': , 'entity_id': 'binary_sensor.theater_refrigerator_filter_status', @@ -1503,8 +1503,8 @@ # name: test_all_entities[da_ref_normal_000001][binary_sensor.theater_refrigerator_freezer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Refrigerator Freezer door', + : 'door', + : 'Refrigerator Freezer door', }), 'context': , 'entity_id': 'binary_sensor.theater_refrigerator_freezer_door', @@ -1554,8 +1554,8 @@ # name: test_all_entities[da_ref_normal_000001][binary_sensor.theater_refrigerator_fridge_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Refrigerator Fridge door', + : 'door', + : 'Refrigerator Fridge door', }), 'context': , 'entity_id': 'binary_sensor.theater_refrigerator_fridge_door', @@ -1605,8 +1605,8 @@ # name: test_all_entities[da_ref_normal_01001][binary_sensor.refrigerator_1_coolselect_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Refrigerator 1 CoolSelect+ door', + : 'door', + : 'Refrigerator 1 CoolSelect+ door', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_1_coolselect_door', @@ -1656,8 +1656,8 @@ # name: test_all_entities[da_ref_normal_01001][binary_sensor.refrigerator_1_filter_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Refrigerator 1 Filter status', + : 'problem', + : 'Refrigerator 1 Filter status', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_1_filter_status', @@ -1707,8 +1707,8 @@ # name: test_all_entities[da_ref_normal_01001][binary_sensor.refrigerator_1_freezer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Refrigerator 1 Freezer door', + : 'door', + : 'Refrigerator 1 Freezer door', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_1_freezer_door', @@ -1758,8 +1758,8 @@ # name: test_all_entities[da_ref_normal_01001][binary_sensor.refrigerator_1_fridge_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Refrigerator 1 Fridge door', + : 'door', + : 'Refrigerator 1 Fridge door', }), 'context': , 'entity_id': 'binary_sensor.refrigerator_1_fridge_door', @@ -1809,8 +1809,8 @@ # name: test_all_entities[da_ref_normal_01011][binary_sensor.frigo_filter_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Frigo Filter status', + : 'problem', + : 'Frigo Filter status', }), 'context': , 'entity_id': 'binary_sensor.frigo_filter_status', @@ -1860,8 +1860,8 @@ # name: test_all_entities[da_ref_normal_01011][binary_sensor.frigo_freezer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Frigo Freezer door', + : 'door', + : 'Frigo Freezer door', }), 'context': , 'entity_id': 'binary_sensor.frigo_freezer_door', @@ -1911,8 +1911,8 @@ # name: test_all_entities[da_ref_normal_01011][binary_sensor.frigo_fridge_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Frigo Fridge door', + : 'door', + : 'Frigo Fridge door', }), 'context': , 'entity_id': 'binary_sensor.frigo_fridge_door', @@ -1962,8 +1962,8 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][binary_sensor.lodowka_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Lodówka Door', + : 'door', + : 'Lodówka Door', }), 'context': , 'entity_id': 'binary_sensor.lodowka_door', @@ -2013,8 +2013,8 @@ # name: test_all_entities[da_ref_normal_100001][binary_sensor.kjoleskap_coolselect_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Kjøleskap CoolSelect+ door', + : 'door', + : 'Kjøleskap CoolSelect+ door', }), 'context': , 'entity_id': 'binary_sensor.kjoleskap_coolselect_door', @@ -2064,8 +2064,8 @@ # name: test_all_entities[da_ref_normal_100001][binary_sensor.kjoleskap_filter_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Kjøleskap Filter status', + : 'problem', + : 'Kjøleskap Filter status', }), 'context': , 'entity_id': 'binary_sensor.kjoleskap_filter_status', @@ -2115,8 +2115,8 @@ # name: test_all_entities[da_ref_normal_100001][binary_sensor.kjoleskap_freezer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Kjøleskap Freezer door', + : 'door', + : 'Kjøleskap Freezer door', }), 'context': , 'entity_id': 'binary_sensor.kjoleskap_freezer_door', @@ -2166,8 +2166,8 @@ # name: test_all_entities[da_ref_normal_100001][binary_sensor.kjoleskap_fridge_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Kjøleskap Fridge door', + : 'door', + : 'Kjøleskap Fridge door', }), 'context': , 'entity_id': 'binary_sensor.kjoleskap_fridge_door', @@ -2217,7 +2217,7 @@ # name: test_all_entities[da_rvc_map_01011][binary_sensor.robot_vacuum_dust_bag_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Dust bag full', + : 'Robot Vacuum Dust bag full', }), 'context': , 'entity_id': 'binary_sensor.robot_vacuum_dust_bag_full', @@ -2267,8 +2267,8 @@ # name: test_all_entities[da_vc_stick_01001][binary_sensor.stick_vacuum_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Stick vacuum Charging', + : 'battery_charging', + : 'Stick vacuum Charging', }), 'context': , 'entity_id': 'binary_sensor.stick_vacuum_charging', @@ -2318,8 +2318,8 @@ # name: test_all_entities[da_vc_stick_01001][binary_sensor.stick_vacuum_dust_bag_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Stick vacuum Dust bag full', + : 'problem', + : 'Stick vacuum Dust bag full', }), 'context': , 'entity_id': 'binary_sensor.stick_vacuum_dust_bag_full', @@ -2369,7 +2369,7 @@ # name: test_all_entities[da_vc_stick_01001][binary_sensor.stick_vacuum_stick_cleaner_in_station-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Stick vacuum Stick cleaner in station', + : 'Stick vacuum Stick cleaner in station', }), 'context': , 'entity_id': 'binary_sensor.stick_vacuum_stick_cleaner_in_station', @@ -2419,7 +2419,7 @@ # name: test_all_entities[da_wm_dw_000001][binary_sensor.theater_dishwasher_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Child lock', + : 'Dishwasher Child lock', }), 'context': , 'entity_id': 'binary_sensor.theater_dishwasher_child_lock', @@ -2469,8 +2469,8 @@ # name: test_all_entities[da_wm_dw_000001][binary_sensor.theater_dishwasher_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dishwasher Power', + : 'power', + : 'Dishwasher Power', }), 'context': , 'entity_id': 'binary_sensor.theater_dishwasher_power', @@ -2520,7 +2520,7 @@ # name: test_all_entities[da_wm_dw_000001][binary_sensor.theater_dishwasher_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Remote control', + : 'Dishwasher Remote control', }), 'context': , 'entity_id': 'binary_sensor.theater_dishwasher_remote_control', @@ -2570,7 +2570,7 @@ # name: test_all_entities[da_wm_dw_01011][binary_sensor.dishwasher_1_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Child lock', + : 'Dishwasher 1 Child lock', }), 'context': , 'entity_id': 'binary_sensor.dishwasher_1_child_lock', @@ -2620,8 +2620,8 @@ # name: test_all_entities[da_wm_dw_01011][binary_sensor.dishwasher_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dishwasher 1 Power', + : 'power', + : 'Dishwasher 1 Power', }), 'context': , 'entity_id': 'binary_sensor.dishwasher_1_power', @@ -2671,7 +2671,7 @@ # name: test_all_entities[da_wm_dw_01011][binary_sensor.dishwasher_1_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Remote control', + : 'Dishwasher 1 Remote control', }), 'context': , 'entity_id': 'binary_sensor.dishwasher_1_remote_control', @@ -2721,8 +2721,8 @@ # name: test_all_entities[da_wm_mf_01001][binary_sensor.filtro_in_microfibra_filter_blockage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Filtro in microfibra Filter blockage', + : 'problem', + : 'Filtro in microfibra Filter blockage', }), 'context': , 'entity_id': 'binary_sensor.filtro_in_microfibra_filter_blockage', @@ -2772,8 +2772,8 @@ # name: test_all_entities[da_wm_mf_01001][binary_sensor.filtro_in_microfibra_filter_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Filtro in microfibra Filter status', + : 'problem', + : 'Filtro in microfibra Filter status', }), 'context': , 'entity_id': 'binary_sensor.filtro_in_microfibra_filter_status', @@ -2823,7 +2823,7 @@ # name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirDresser Child lock', + : 'AirDresser Child lock', }), 'context': , 'entity_id': 'binary_sensor.airdresser_child_lock', @@ -2873,7 +2873,7 @@ # name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_keep_fresh_mode_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirDresser Keep fresh mode active', + : 'AirDresser Keep fresh mode active', }), 'context': , 'entity_id': 'binary_sensor.airdresser_keep_fresh_mode_active', @@ -2923,8 +2923,8 @@ # name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'AirDresser Power', + : 'power', + : 'AirDresser Power', }), 'context': , 'entity_id': 'binary_sensor.airdresser_power', @@ -2974,7 +2974,7 @@ # name: test_all_entities[da_wm_sc_000001][binary_sensor.airdresser_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirDresser Remote control', + : 'AirDresser Remote control', }), 'context': , 'entity_id': 'binary_sensor.airdresser_remote_control', @@ -3024,7 +3024,7 @@ # name: test_all_entities[da_wm_wd_000001][binary_sensor.theater_dryer_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dryer Child lock', + : 'Dryer Child lock', }), 'context': , 'entity_id': 'binary_sensor.theater_dryer_child_lock', @@ -3074,8 +3074,8 @@ # name: test_all_entities[da_wm_wd_000001][binary_sensor.theater_dryer_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dryer Power', + : 'power', + : 'Dryer Power', }), 'context': , 'entity_id': 'binary_sensor.theater_dryer_power', @@ -3125,7 +3125,7 @@ # name: test_all_entities[da_wm_wd_000001][binary_sensor.theater_dryer_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dryer Remote control', + : 'Dryer Remote control', }), 'context': , 'entity_id': 'binary_sensor.theater_dryer_remote_control', @@ -3175,7 +3175,7 @@ # name: test_all_entities[da_wm_wd_000001][binary_sensor.theater_dryer_wrinkle_prevent_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dryer Wrinkle prevent active', + : 'Dryer Wrinkle prevent active', }), 'context': , 'entity_id': 'binary_sensor.theater_dryer_wrinkle_prevent_active', @@ -3225,7 +3225,7 @@ # name: test_all_entities[da_wm_wd_000001_1][binary_sensor.seca_roupa_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Seca-Roupa Child lock', + : 'Seca-Roupa Child lock', }), 'context': , 'entity_id': 'binary_sensor.seca_roupa_child_lock', @@ -3275,8 +3275,8 @@ # name: test_all_entities[da_wm_wd_000001_1][binary_sensor.seca_roupa_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Seca-Roupa Power', + : 'power', + : 'Seca-Roupa Power', }), 'context': , 'entity_id': 'binary_sensor.seca_roupa_power', @@ -3326,7 +3326,7 @@ # name: test_all_entities[da_wm_wd_000001_1][binary_sensor.seca_roupa_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Seca-Roupa Remote control', + : 'Seca-Roupa Remote control', }), 'context': , 'entity_id': 'binary_sensor.seca_roupa_remote_control', @@ -3376,7 +3376,7 @@ # name: test_all_entities[da_wm_wd_000001_1][binary_sensor.seca_roupa_wrinkle_prevent_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Seca-Roupa Wrinkle prevent active', + : 'Seca-Roupa Wrinkle prevent active', }), 'context': , 'entity_id': 'binary_sensor.seca_roupa_wrinkle_prevent_active', @@ -3426,7 +3426,7 @@ # name: test_all_entities[da_wm_wd_01011][binary_sensor.trockner_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Trockner Child lock', + : 'Trockner Child lock', }), 'context': , 'entity_id': 'binary_sensor.trockner_child_lock', @@ -3476,8 +3476,8 @@ # name: test_all_entities[da_wm_wd_01011][binary_sensor.trockner_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Trockner Power', + : 'power', + : 'Trockner Power', }), 'context': , 'entity_id': 'binary_sensor.trockner_power', @@ -3527,7 +3527,7 @@ # name: test_all_entities[da_wm_wd_01011][binary_sensor.trockner_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Trockner Remote control', + : 'Trockner Remote control', }), 'context': , 'entity_id': 'binary_sensor.trockner_remote_control', @@ -3577,7 +3577,7 @@ # name: test_all_entities[da_wm_wd_01011][binary_sensor.trockner_wrinkle_prevent_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Trockner Wrinkle prevent active', + : 'Trockner Wrinkle prevent active', }), 'context': , 'entity_id': 'binary_sensor.trockner_wrinkle_prevent_active', @@ -3627,7 +3627,7 @@ # name: test_all_entities[da_wm_wm_000001][binary_sensor.theater_washer_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer Child lock', + : 'Washer Child lock', }), 'context': , 'entity_id': 'binary_sensor.theater_washer_child_lock', @@ -3677,8 +3677,8 @@ # name: test_all_entities[da_wm_wm_000001][binary_sensor.theater_washer_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Washer Power', + : 'power', + : 'Washer Power', }), 'context': , 'entity_id': 'binary_sensor.theater_washer_power', @@ -3728,7 +3728,7 @@ # name: test_all_entities[da_wm_wm_000001][binary_sensor.theater_washer_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer Remote control', + : 'Washer Remote control', }), 'context': , 'entity_id': 'binary_sensor.theater_washer_remote_control', @@ -3778,7 +3778,7 @@ # name: test_all_entities[da_wm_wm_000001_1][binary_sensor.washing_machine_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing Machine Child lock', + : 'Washing Machine Child lock', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_child_lock', @@ -3828,8 +3828,8 @@ # name: test_all_entities[da_wm_wm_000001_1][binary_sensor.washing_machine_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Washing Machine Power', + : 'power', + : 'Washing Machine Power', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_power', @@ -3879,7 +3879,7 @@ # name: test_all_entities[da_wm_wm_000001_1][binary_sensor.washing_machine_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing Machine Remote control', + : 'Washing Machine Remote control', }), 'context': , 'entity_id': 'binary_sensor.washing_machine_remote_control', @@ -3929,7 +3929,7 @@ # name: test_all_entities[da_wm_wm_01011][binary_sensor.machine_a_laver_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Child lock', + : 'Machine à Laver Child lock', }), 'context': , 'entity_id': 'binary_sensor.machine_a_laver_child_lock', @@ -3979,8 +3979,8 @@ # name: test_all_entities[da_wm_wm_01011][binary_sensor.machine_a_laver_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Machine à Laver Power', + : 'power', + : 'Machine à Laver Power', }), 'context': , 'entity_id': 'binary_sensor.machine_a_laver_power', @@ -4030,7 +4030,7 @@ # name: test_all_entities[da_wm_wm_01011][binary_sensor.machine_a_laver_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Remote control', + : 'Machine à Laver Remote control', }), 'context': , 'entity_id': 'binary_sensor.machine_a_laver_remote_control', @@ -4080,8 +4080,8 @@ # name: test_all_entities[da_wm_wm_100001][binary_sensor.washer_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Washer 1 Power', + : 'power', + : 'Washer 1 Power', }), 'context': , 'entity_id': 'binary_sensor.washer_1_power', @@ -4131,7 +4131,7 @@ # name: test_all_entities[da_wm_wm_100001][binary_sensor.washer_1_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer 1 Remote control', + : 'Washer 1 Remote control', }), 'context': , 'entity_id': 'binary_sensor.washer_1_remote_control', @@ -4181,8 +4181,8 @@ # name: test_all_entities[da_wm_wm_100002][binary_sensor.washer_2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Washer 2 Power', + : 'power', + : 'Washer 2 Power', }), 'context': , 'entity_id': 'binary_sensor.washer_2_power', @@ -4232,7 +4232,7 @@ # name: test_all_entities[da_wm_wm_100002][binary_sensor.washer_2_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer 2 Remote control', + : 'Washer 2 Remote control', }), 'context': , 'entity_id': 'binary_sensor.washer_2_remote_control', @@ -4282,7 +4282,7 @@ # name: test_all_entities[da_wm_wm_100002][binary_sensor.washer_2_upper_washer_remote_control-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer 2 Upper washer remote control', + : 'Washer 2 Upper washer remote control', }), 'context': , 'entity_id': 'binary_sensor.washer_2_upper_washer_remote_control', @@ -4332,8 +4332,8 @@ # name: test_all_entities[ecobee_sensor][binary_sensor.child_bedroom_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Child Bedroom Motion', + : 'motion', + : 'Child Bedroom Motion', }), 'context': , 'entity_id': 'binary_sensor.child_bedroom_motion', @@ -4383,8 +4383,8 @@ # name: test_all_entities[ecobee_sensor][binary_sensor.child_bedroom_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'Child Bedroom Presence', + : 'presence', + : 'Child Bedroom Presence', }), 'context': , 'entity_id': 'binary_sensor.child_bedroom_presence', @@ -4434,8 +4434,8 @@ # name: test_all_entities[gas_detector][binary_sensor.gas_detector_gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas Detector Gas', + : 'gas', + : 'Gas Detector Gas', }), 'context': , 'entity_id': 'binary_sensor.gas_detector_gas', @@ -4485,8 +4485,8 @@ # name: test_all_entities[ikea_leak_battery][binary_sensor.waschkeller_feuchtigkeitssensor_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Waschkeller Feuchtigkeitssensor Moisture', + : 'moisture', + : 'Waschkeller Feuchtigkeitssensor Moisture', }), 'context': , 'entity_id': 'binary_sensor.waschkeller_feuchtigkeitssensor_moisture', @@ -4536,8 +4536,8 @@ # name: test_all_entities[ikea_motion_illuminance_battery][binary_sensor.gaderobe_bewegungsmelder_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Gaderobe Bewegungsmelder Motion', + : 'motion', + : 'Gaderobe Bewegungsmelder Motion', }), 'context': , 'entity_id': 'binary_sensor.gaderobe_bewegungsmelder_motion', @@ -4587,8 +4587,8 @@ # name: test_all_entities[iphone][binary_sensor.iphone_presence-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'iPhone Presence', + : 'presence', + : 'iPhone Presence', }), 'context': , 'entity_id': 'binary_sensor.iphone_presence', @@ -4638,8 +4638,8 @@ # name: test_all_entities[multipurpose_sensor][binary_sensor.theater_deck_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Deck Door', + : 'door', + : 'Deck Door', }), 'context': , 'entity_id': 'binary_sensor.theater_deck_door', @@ -4689,8 +4689,8 @@ # name: test_all_entities[multipurpose_sensor][binary_sensor.theater_deck_door_acceleration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moving', - 'friendly_name': 'Deck Door Acceleration', + : 'moving', + : 'Deck Door Acceleration', }), 'context': , 'entity_id': 'binary_sensor.theater_deck_door_acceleration', @@ -4740,8 +4740,8 @@ # name: test_all_entities[siemens_washer][binary_sensor.wasmachine_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wasmachine Power', + : 'power', + : 'Wasmachine Power', }), 'context': , 'entity_id': 'binary_sensor.wasmachine_power', @@ -4791,8 +4791,8 @@ # name: test_all_entities[virtual_water_sensor][binary_sensor.theater_virtual_water_sensor_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'virtual water sensor Moisture', + : 'moisture', + : 'virtual water sensor Moisture', }), 'context': , 'entity_id': 'binary_sensor.theater_virtual_water_sensor_moisture', diff --git a/tests/components/smartthings/snapshots/test_button.ambr b/tests/components/smartthings/snapshots/test_button.ambr index 1deccf670a7..4da52a93114 100644 --- a/tests/components/smartthings/snapshots/test_button.ambr +++ b/tests/components/smartthings/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[da_ac_air_01011][button.air_filter_reset_hepa_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air filter Reset HEPA filter', + : 'Air filter Reset HEPA filter', }), 'context': , 'entity_id': 'button.air_filter_reset_hepa_filter', @@ -89,7 +89,7 @@ # name: test_all_entities[da_ks_hood_01001][button.range_hood_reset_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood Reset filter', + : 'Range hood Reset filter', }), 'context': , 'entity_id': 'button.range_hood_reset_filter', @@ -139,7 +139,7 @@ # name: test_all_entities[da_ks_microwave_0101x][button.theater_microwave_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Microwave Stop', + : 'Microwave Stop', }), 'context': , 'entity_id': 'button.theater_microwave_stop', @@ -189,7 +189,7 @@ # name: test_all_entities[da_ks_oven_01061][button.oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Stop', + : 'Oven Stop', }), 'context': , 'entity_id': 'button.oven_stop', @@ -239,7 +239,7 @@ # name: test_all_entities[da_ks_oven_0107x][button.kitchen_oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen oven Stop', + : 'Kitchen oven Stop', }), 'context': , 'entity_id': 'button.kitchen_oven_stop', @@ -289,7 +289,7 @@ # name: test_all_entities[da_ks_range_0101x][button.vulcan_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vulcan Stop', + : 'Vulcan Stop', }), 'context': , 'entity_id': 'button.vulcan_stop', @@ -339,7 +339,7 @@ # name: test_all_entities[da_ks_walloven_0107x][button.four_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Four Stop', + : 'Four Stop', }), 'context': , 'entity_id': 'button.four_stop', @@ -389,7 +389,7 @@ # name: test_all_entities[da_ref_normal_000001][button.theater_refrigerator_reset_water_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Reset water filter', + : 'Refrigerator Reset water filter', }), 'context': , 'entity_id': 'button.theater_refrigerator_reset_water_filter', @@ -439,7 +439,7 @@ # name: test_all_entities[da_ref_normal_01001][button.refrigerator_1_reset_water_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator 1 Reset water filter', + : 'Refrigerator 1 Reset water filter', }), 'context': , 'entity_id': 'button.refrigerator_1_reset_water_filter', @@ -489,7 +489,7 @@ # name: test_all_entities[da_ref_normal_01011][button.frigo_reset_water_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frigo Reset water filter', + : 'Frigo Reset water filter', }), 'context': , 'entity_id': 'button.frigo_reset_water_filter', @@ -539,7 +539,7 @@ # name: test_all_entities[da_ref_normal_100001][button.kjoleskap_reset_water_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kjøleskap Reset water filter', + : 'Kjøleskap Reset water filter', }), 'context': , 'entity_id': 'button.kjoleskap_reset_water_filter', @@ -589,7 +589,7 @@ # name: test_all_entities[da_rvc_map_01011][button.robot_vacuum_reset_hepa_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Reset HEPA filter', + : 'Robot Vacuum Reset HEPA filter', }), 'context': , 'entity_id': 'button.robot_vacuum_reset_hepa_filter', @@ -639,7 +639,7 @@ # name: test_all_entities[da_wm_dw_000001][button.theater_dishwasher_cancel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Cancel', + : 'Dishwasher Cancel', }), 'context': , 'entity_id': 'button.theater_dishwasher_cancel', @@ -689,7 +689,7 @@ # name: test_all_entities[da_wm_dw_000001][button.theater_dishwasher_cancel_and_drain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Cancel and drain', + : 'Dishwasher Cancel and drain', }), 'context': , 'entity_id': 'button.theater_dishwasher_cancel_and_drain', @@ -739,7 +739,7 @@ # name: test_all_entities[da_wm_dw_000001][button.theater_dishwasher_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Pause', + : 'Dishwasher Pause', }), 'context': , 'entity_id': 'button.theater_dishwasher_pause', @@ -789,7 +789,7 @@ # name: test_all_entities[da_wm_dw_000001][button.theater_dishwasher_resume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Resume', + : 'Dishwasher Resume', }), 'context': , 'entity_id': 'button.theater_dishwasher_resume', @@ -839,7 +839,7 @@ # name: test_all_entities[da_wm_dw_000001][button.theater_dishwasher_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Start', + : 'Dishwasher Start', }), 'context': , 'entity_id': 'button.theater_dishwasher_start', @@ -889,7 +889,7 @@ # name: test_all_entities[da_wm_dw_01011][button.dishwasher_1_cancel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Cancel', + : 'Dishwasher 1 Cancel', }), 'context': , 'entity_id': 'button.dishwasher_1_cancel', @@ -939,7 +939,7 @@ # name: test_all_entities[da_wm_dw_01011][button.dishwasher_1_cancel_and_drain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Cancel and drain', + : 'Dishwasher 1 Cancel and drain', }), 'context': , 'entity_id': 'button.dishwasher_1_cancel_and_drain', @@ -989,7 +989,7 @@ # name: test_all_entities[da_wm_dw_01011][button.dishwasher_1_pause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Pause', + : 'Dishwasher 1 Pause', }), 'context': , 'entity_id': 'button.dishwasher_1_pause', @@ -1039,7 +1039,7 @@ # name: test_all_entities[da_wm_dw_01011][button.dishwasher_1_resume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Resume', + : 'Dishwasher 1 Resume', }), 'context': , 'entity_id': 'button.dishwasher_1_resume', @@ -1089,7 +1089,7 @@ # name: test_all_entities[da_wm_dw_01011][button.dishwasher_1_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Start', + : 'Dishwasher 1 Start', }), 'context': , 'entity_id': 'button.dishwasher_1_start', @@ -1139,7 +1139,7 @@ # name: test_all_entities[da_wm_mf_01001][button.filtro_in_microfibra_reset_water_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Filtro in microfibra Reset water filter', + : 'Filtro in microfibra Reset water filter', }), 'context': , 'entity_id': 'button.filtro_in_microfibra_reset_water_filter', diff --git a/tests/components/smartthings/snapshots/test_climate.ambr b/tests/components/smartthings/snapshots/test_climate.ambr index 19b23ace445..60cb16fd13f 100644 --- a/tests/components/smartthings/snapshots/test_climate.ambr +++ b/tests/components/smartthings/snapshots/test_climate.ambr @@ -49,13 +49,13 @@ : 20.0, : 'auto', : None, - 'friendly_name': 'AUX A/C on-off', + : 'AUX A/C on-off', : list([ , ]), : 35, : 7, - 'supported_features': , + : , : 20.0, }), 'context': , @@ -114,14 +114,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 23.9, - 'friendly_name': 'Radiator Thermostat II [+M] Wohnzimmer', + : 'Radiator Thermostat II [+M] Wohnzimmer', : list([ , , ]), : 35, : 7, - 'supported_features': , + : , : None, : None, : 22.0, @@ -217,7 +217,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Ar Varanda', + : 'Ar Varanda', : list([ , , @@ -237,7 +237,7 @@ 'quiet', 'sleep', ]), - 'supported_features': , + : , : 'off', : list([ 'vertical', @@ -305,7 +305,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 18.5, - 'friendly_name': 'Heat pump INDOOR1', + : 'Heat pump INDOOR1', : list([ , , @@ -314,7 +314,7 @@ ]), : 65, : 26, - 'supported_features': , + : , : 35, }), 'context': , @@ -401,7 +401,7 @@ 'high', 'turbo', ]), - 'friendly_name': 'AC Office Granit', + : 'AC Office Granit', : list([ , , @@ -417,7 +417,7 @@ 'none', 'wind_free', ]), - 'supported_features': , + : , : 'off', : None, : 25, @@ -518,7 +518,7 @@ 'high', 'turbo', ]), - 'friendly_name': 'Clim Salon', + : 'Clim Salon', : list([ , , @@ -541,7 +541,7 @@ 'wind_free', 'wind_free_sleep', ]), - 'supported_features': , + : , : 'off', : list([ 'off', @@ -645,7 +645,7 @@ 'high', 'turbo', ]), - 'friendly_name': 'Aire Dormitorio Principal', + : 'Aire Dormitorio Principal', : list([ , , @@ -666,7 +666,7 @@ 'wind_free', 'wind_free_sleep', ]), - 'supported_features': , + : , : 'off', : list([ 'off', @@ -750,7 +750,7 @@ 'high', 'turbo', ]), - 'friendly_name': 'Corridor A/C', + : 'Corridor A/C', : list([ , , @@ -760,7 +760,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : 18, }), 'context': , @@ -821,7 +821,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 23.1, - 'friendly_name': 'Eco Heating System INDOOR', + : 'Eco Heating System INDOOR', : list([ , , @@ -830,7 +830,7 @@ ]), : 65, : 25, - 'supported_features': , + : , : 25, }), 'context': , @@ -891,7 +891,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 31, - 'friendly_name': 'Heat Pump Main INDOOR', + : 'Heat Pump Main INDOOR', : list([ , , @@ -900,7 +900,7 @@ ]), : 65, : 25, - 'supported_features': , + : , : 30, }), 'context': , @@ -961,7 +961,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 31.2, - 'friendly_name': 'Wärmepumpe INDOOR1', + : 'Wärmepumpe INDOOR1', : list([ , , @@ -970,7 +970,7 @@ ]), : 35, : 7, - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.warmepumpe_indoor1', @@ -1030,7 +1030,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 29.1, - 'friendly_name': 'Wärmepumpe INDOOR2', + : 'Wärmepumpe INDOOR2', : list([ , , @@ -1039,7 +1039,7 @@ ]), : 35, : 7, - 'supported_features': , + : , }), 'context': , 'entity_id': 'climate.warmepumpe_indoor2', @@ -1108,7 +1108,7 @@ 'on', 'auto', ]), - 'friendly_name': 'Main Floor', + : 'Main Floor', : , : list([ , @@ -1117,7 +1117,7 @@ ]), : 35.0, : 7.0, - 'supported_features': , + : , : None, : None, : 21.7, @@ -1179,12 +1179,12 @@ : None, : None, : None, - 'friendly_name': 'Downstairs', + : 'Downstairs', : list([ ]), : 35, : 7, - 'supported_features': , + : , : None, : None, : None, @@ -1243,12 +1243,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.0, - 'friendly_name': 'Thermostat Küche', + : 'Thermostat Küche', : list([ ]), : 35, : 7, - 'supported_features': , + : , : None, : None, : 23.0, @@ -1309,7 +1309,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Hall thermostat', + : 'Hall thermostat', : , : list([ , @@ -1317,7 +1317,7 @@ ]), : 35, : 7, - 'supported_features': , + : , : None, : None, : 19.0, @@ -1393,7 +1393,7 @@ 'on', 'circulate', ]), - 'friendly_name': 'Thermostat', + : 'Thermostat', : , : list([ , @@ -1404,7 +1404,7 @@ ]), : 35.0, : 7.0, - 'supported_features': , + : , : 23.9, : 21.7, : None, @@ -1471,14 +1471,14 @@ : list([ 'on', ]), - 'friendly_name': 'virtual thermostat', + : 'virtual thermostat', : , : list([ , ]), : 35.0, : 7.0, - 'supported_features': , + : , : None, : None, : None, diff --git a/tests/components/smartthings/snapshots/test_cover.ambr b/tests/components/smartthings/snapshots/test_cover.ambr index 0311c1b9c34..dad8717a41c 100644 --- a/tests/components/smartthings/snapshots/test_cover.ambr +++ b/tests/components/smartthings/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'shade', - 'friendly_name': 'Curtain 1A', + : 'shade', + : 'Curtain 1A', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.curtain_1a', @@ -95,10 +95,10 @@ 'attributes': ReadOnlyDict({ 'battery_level': 37, : 32, - 'device_class': 'shade', - 'friendly_name': 'Kitchen IKEA KADRILJ Window blind', + : 'shade', + : 'Kitchen IKEA KADRILJ Window blind', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kitchen_ikea_kadrilj_window_blind', diff --git a/tests/components/smartthings/snapshots/test_event.ambr b/tests/components/smartthings/snapshots/test_event.ambr index 98e172a74ef..59438318415 100644 --- a/tests/components/smartthings/snapshots/test_event.ambr +++ b/tests/components/smartthings/snapshots/test_event.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[fibaro_dimmer_2][event.dimmer_entre_1_1_button1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : None, - 'friendly_name': 'Dimmer entré 1 1 button1', + : 'Dimmer entré 1 1 button1', }), 'context': , 'entity_id': 'event.dimmer_entre_1_1_button1', @@ -96,10 +96,10 @@ # name: test_all_entities[fibaro_dimmer_2][event.dimmer_entre_1_1_button2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : None, - 'friendly_name': 'Dimmer entré 1 1 button2', + : 'Dimmer entré 1 1 button2', }), 'context': , 'entity_id': 'event.dimmer_entre_1_1_button2', @@ -155,14 +155,14 @@ # name: test_all_entities[heatit_zpushwall][event.livingroom_smart_switch_button1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'pushed', 'held', 'down_hold', ]), - 'friendly_name': 'Livingroom smart switch button1', + : 'Livingroom smart switch button1', }), 'context': , 'entity_id': 'event.livingroom_smart_switch_button1', @@ -218,14 +218,14 @@ # name: test_all_entities[heatit_zpushwall][event.livingroom_smart_switch_button2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'pushed', 'held', 'down_hold', ]), - 'friendly_name': 'Livingroom smart switch button2', + : 'Livingroom smart switch button2', }), 'context': , 'entity_id': 'event.livingroom_smart_switch_button2', @@ -281,14 +281,14 @@ # name: test_all_entities[heatit_zpushwall][event.livingroom_smart_switch_button3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'pushed', 'held', 'down_hold', ]), - 'friendly_name': 'Livingroom smart switch button3', + : 'Livingroom smart switch button3', }), 'context': , 'entity_id': 'event.livingroom_smart_switch_button3', @@ -344,14 +344,14 @@ # name: test_all_entities[heatit_zpushwall][event.livingroom_smart_switch_button4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'pushed', 'held', 'down_hold', ]), - 'friendly_name': 'Livingroom smart switch button4', + : 'Livingroom smart switch button4', }), 'context': , 'entity_id': 'event.livingroom_smart_switch_button4', @@ -407,14 +407,14 @@ # name: test_all_entities[heatit_zpushwall][event.livingroom_smart_switch_button5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'pushed', 'held', 'down_hold', ]), - 'friendly_name': 'Livingroom smart switch button5', + : 'Livingroom smart switch button5', }), 'context': , 'entity_id': 'event.livingroom_smart_switch_button5', @@ -470,14 +470,14 @@ # name: test_all_entities[heatit_zpushwall][event.livingroom_smart_switch_button6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : None, : list([ 'pushed', 'held', 'down_hold', ]), - 'friendly_name': 'Livingroom smart switch button6', + : 'Livingroom smart switch button6', }), 'context': , 'entity_id': 'event.livingroom_smart_switch_button6', diff --git a/tests/components/smartthings/snapshots/test_fan.ambr b/tests/components/smartthings/snapshots/test_fan.ambr index 92891c16575..4b4c6539922 100644 --- a/tests/components/smartthings/snapshots/test_fan.ambr +++ b/tests/components/smartthings/snapshots/test_fan.ambr @@ -47,7 +47,7 @@ # name: test_all_entities[da_ac_air_000001][fan.air_purifier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air purifier', + : 'Air purifier', : 'auto', : list([ 'auto', @@ -56,7 +56,7 @@ 'high', 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.air_purifier', @@ -114,7 +114,7 @@ # name: test_all_entities[da_ac_air_01011][fan.air_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air filter', + : 'Air filter', : 'auto', : list([ 'auto', @@ -123,7 +123,7 @@ 'high', 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.air_filter', @@ -177,14 +177,14 @@ # name: test_all_entities[da_ks_hood_01001][fan.range_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood', + : 'Range hood', : 25, : 25.0, : None, : list([ 'smart', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.range_hood', @@ -242,7 +242,7 @@ # name: test_all_entities[fake_fan][fan.theater_fake_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fake fan', + : 'Fake fan', : 2000, : 33.333333333333336, : None, @@ -253,7 +253,7 @@ 'high', 'turbo', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.theater_fake_fan', @@ -305,12 +305,12 @@ # name: test_all_entities[generic_fan_3_speed][fan.bedroom_fan-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom Fan', + : 'Bedroom Fan', : 0, : 33.333333333333336, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.bedroom_fan', diff --git a/tests/components/smartthings/snapshots/test_light.ambr b/tests/components/smartthings/snapshots/test_light.ambr index 4d287811d68..1903a5bfda7 100644 --- a/tests/components/smartthings/snapshots/test_light.ambr +++ b/tests/components/smartthings/snapshots/test_light.ambr @@ -48,7 +48,7 @@ : None, : None, : None, - 'friendly_name': 'Kitchen Light 5', + : 'Kitchen Light 5', : None, : 9000, : 2000, @@ -56,7 +56,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -113,11 +113,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Dimmer Debian', + : 'Dimmer Debian', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.theater_dimmer_debian', @@ -173,11 +173,11 @@ 'attributes': ReadOnlyDict({ : 127, : , - 'friendly_name': 'Range hood Light', + : 'Range hood Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.range_hood_light', @@ -233,11 +233,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Microwave Light', + : 'Microwave Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.theater_microwave_light', @@ -292,11 +292,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Oven Light', + : 'Oven Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.oven_light', @@ -351,11 +351,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Kitchen oven Light', + : 'Kitchen oven Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.kitchen_oven_light', @@ -410,11 +410,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Vulcan Light', + : 'Vulcan Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.vulcan_light', @@ -469,11 +469,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Four Light', + : 'Four Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.four_light', @@ -528,11 +528,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Four Light', + : 'Four Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.four_light_2', @@ -588,11 +588,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Dimmer entré 1 1', + : 'Dimmer entré 1 1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmer_entre_1_1', @@ -648,11 +648,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Basement Exit Light', + : 'Basement Exit Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.theater_basement_exit_light', @@ -711,7 +711,7 @@ : 178, : , : 3000, - 'friendly_name': 'Bathroom spot', + : 'Bathroom spot', : tuple( 27.825, 56.895, @@ -726,7 +726,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.496, 0.383, @@ -790,7 +790,7 @@ : None, : None, : None, - 'friendly_name': 'Standing light', + : 'Standing light', : None, : 9000, : 2000, @@ -799,7 +799,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -856,11 +856,11 @@ 'attributes': ReadOnlyDict({ : 102, : , - 'friendly_name': 'IKEA Plug Powermeter', + : 'IKEA Plug Powermeter', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.ikea_plug_powermeter', diff --git a/tests/components/smartthings/snapshots/test_lock.ambr b/tests/components/smartthings/snapshots/test_lock.ambr index 17f467d9058..de7f8cb4e76 100644 --- a/tests/components/smartthings/snapshots/test_lock.ambr +++ b/tests/components/smartthings/snapshots/test_lock.ambr @@ -39,9 +39,9 @@ # name: test_all_entities[yale_push_button_deadbolt_lock][lock.theater_basement_door_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Basement Door Lock', + : 'Basement Door Lock', 'lock_state': 'locked', - 'supported_features': , + : , }), 'context': , 'entity_id': 'lock.theater_basement_door_lock', diff --git a/tests/components/smartthings/snapshots/test_media_player.ambr b/tests/components/smartthings/snapshots/test_media_player.ambr index 04de131edab..00abfab3498 100644 --- a/tests/components/smartthings/snapshots/test_media_player.ambr +++ b/tests/components/smartthings/snapshots/test_media_player.ambr @@ -40,10 +40,10 @@ # name: test_all_entities[da_rvc_map_01011][media_player.robot_vacuum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum', + : 'Robot Vacuum', : False, : , - 'supported_features': , + : , : 0.2, }), 'context': , @@ -102,8 +102,8 @@ # name: test_all_entities[hw_q80r_soundbar][media_player.soundbar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Soundbar', + : 'speaker', + : 'Soundbar', : False, : 'Rick Astley', : 'Never Gonna Give You Up', @@ -115,7 +115,7 @@ 'hdmi2', 'digital', ]), - 'supported_features': , + : , : 0.01, }), 'context': , @@ -167,12 +167,12 @@ # name: test_all_entities[im_speaker_ai_0001][media_player.galaxy_home_mini-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Galaxy Home Mini', + : 'speaker', + : 'Galaxy Home Mini', : False, : , : False, - 'supported_features': , + : , : 0.52, }), 'context': , @@ -224,12 +224,12 @@ # name: test_all_entities[sonos_player][media_player.theater_elliots_rum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Elliots Rum', + : 'speaker', + : 'Elliots Rum', : False, : 'David Guetta', : 'Forever Young', - 'supported_features': , + : , : 0.15, }), 'context': , @@ -281,13 +281,13 @@ # name: test_all_entities[vd_network_audio_002s][media_player.theater_soundbar_living-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Soundbar Living', + : 'speaker', + : 'Soundbar Living', : False, : '', : '', : 'hdmi1', - 'supported_features': , + : , : 0.17, }), 'context': , @@ -339,9 +339,9 @@ # name: test_all_entities[vd_network_audio_003s][media_player.soundbar_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Soundbar 1', - 'supported_features': , + : 'speaker', + : 'Soundbar 1', + : , }), 'context': , 'entity_id': 'media_player.soundbar_1', @@ -398,8 +398,8 @@ # name: test_all_entities[vd_stv_2017_k][media_player.theater_tv_samsung_8_series_49-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tv', - 'friendly_name': '[TV] Samsung 8 Series (49)', + : 'tv', + : '[TV] Samsung 8 Series (49)', : True, : 'hdmi1', : list([ @@ -408,7 +408,7 @@ 'hdmi2', 'hdmi3', ]), - 'supported_features': , + : , : 0.13, }), 'context': , diff --git a/tests/components/smartthings/snapshots/test_number.ambr b/tests/components/smartthings/snapshots/test_number.ambr index f717da01499..264d01054d9 100644 --- a/tests/components/smartthings/snapshots/test_number.ambr +++ b/tests/components/smartthings/snapshots/test_number.ambr @@ -44,7 +44,7 @@ # name: test_all_entities[da_ks_microwave_0101x][number.theater_microwave_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Microwave Fan speed', + : 'Microwave Fan speed', : 3, : 0, : , @@ -103,13 +103,13 @@ # name: test_all_entities[da_ref_normal_000001][number.theater_refrigerator_freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator Freezer temperature', + : 'temperature', + : 'Refrigerator Freezer temperature', : -15.0, : -23.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.theater_refrigerator_freezer_temperature', @@ -164,13 +164,13 @@ # name: test_all_entities[da_ref_normal_000001][number.theater_refrigerator_fridge_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator Fridge temperature', + : 'temperature', + : 'Refrigerator Fridge temperature', : 7.0, : 1.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.theater_refrigerator_fridge_temperature', @@ -225,13 +225,13 @@ # name: test_all_entities[da_ref_normal_01001][number.refrigerator_1_freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator 1 Freezer temperature', + : 'temperature', + : 'Refrigerator 1 Freezer temperature', : -15.0, : -23.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.refrigerator_1_freezer_temperature', @@ -286,13 +286,13 @@ # name: test_all_entities[da_ref_normal_01001][number.refrigerator_1_fridge_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator 1 Fridge temperature', + : 'temperature', + : 'Refrigerator 1 Fridge temperature', : 7.0, : 1.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.refrigerator_1_fridge_temperature', @@ -347,13 +347,13 @@ # name: test_all_entities[da_ref_normal_01011][number.frigo_freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Frigo Freezer temperature', + : 'temperature', + : 'Frigo Freezer temperature', : -15.0, : -23.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.frigo_freezer_temperature', @@ -408,13 +408,13 @@ # name: test_all_entities[da_ref_normal_01011][number.frigo_fridge_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Frigo Fridge temperature', + : 'temperature', + : 'Frigo Fridge temperature', : 7.0, : 1.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.frigo_fridge_temperature', @@ -469,13 +469,13 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][number.lodowka_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Lodówka Target temperature', + : 'temperature', + : 'Lodówka Target temperature', : 7, : 1, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.lodowka_target_temperature', @@ -530,12 +530,12 @@ # name: test_all_entities[da_wm_wm_000001][number.theater_washer_rinse_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer Rinse cycles', + : 'Washer Rinse cycles', : 5, : 0, : , : 1.0, - 'unit_of_measurement': 'cycles', + : 'cycles', }), 'context': , 'entity_id': 'number.theater_washer_rinse_cycles', @@ -590,12 +590,12 @@ # name: test_all_entities[da_wm_wm_000001_1][number.washing_machine_rinse_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing Machine Rinse cycles', + : 'Washing Machine Rinse cycles', : 5, : 0, : , : 1.0, - 'unit_of_measurement': 'cycles', + : 'cycles', }), 'context': , 'entity_id': 'number.washing_machine_rinse_cycles', @@ -650,12 +650,12 @@ # name: test_all_entities[da_wm_wm_01011][number.machine_a_laver_rinse_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Rinse cycles', + : 'Machine à Laver Rinse cycles', : 5, : 0, : , : 1.0, - 'unit_of_measurement': 'cycles', + : 'cycles', }), 'context': , 'entity_id': 'number.machine_a_laver_rinse_cycles', diff --git a/tests/components/smartthings/snapshots/test_scene.ambr b/tests/components/smartthings/snapshots/test_scene.ambr index 941c220f8c9..4b608bf2e22 100644 --- a/tests/components/smartthings/snapshots/test_scene.ambr +++ b/tests/components/smartthings/snapshots/test_scene.ambr @@ -40,7 +40,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'color': None, - 'friendly_name': 'Away', + : 'Away', 'icon': '203', 'location_id': '88a3a314-f0c8-40b4-bb44-44ba06c9c42f', }), @@ -93,7 +93,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'color': None, - 'friendly_name': 'Home', + : 'Home', 'icon': '204', 'location_id': '88a3a314-f0c8-40b4-bb44-44ba06c9c42f', }), diff --git a/tests/components/smartthings/snapshots/test_select.ambr b/tests/components/smartthings/snapshots/test_select.ambr index d3f8b686649..197c019428f 100644 --- a/tests/components/smartthings/snapshots/test_select.ambr +++ b/tests/components/smartthings/snapshots/test_select.ambr @@ -44,7 +44,7 @@ # name: test_all_entities[da_ac_air_000001][select.air_purifier_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air purifier Lamp', + : 'Air purifier Lamp', : list([ 'off', 'high', @@ -105,7 +105,7 @@ # name: test_all_entities[da_ac_rac_000003][select.clim_salon_dust_filter_alarm_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clim Salon Dust filter alarm threshold', + : 'Clim Salon Dust filter alarm threshold', : list([ '180', '300', @@ -168,7 +168,7 @@ # name: test_all_entities[da_ac_rac_01001][select.theater_aire_dormitorio_principal_dust_filter_alarm_threshold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aire Dormitorio Principal Dust filter alarm threshold', + : 'Aire Dormitorio Principal Dust filter alarm threshold', : list([ '180', '300', @@ -230,7 +230,7 @@ # name: test_all_entities[da_ks_microwave_0101x][select.theater_microwave_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Microwave Lamp', + : 'Microwave Lamp', : list([ 'off', 'low', @@ -290,7 +290,7 @@ # name: test_all_entities[da_ks_oven_01061][select.oven_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Oven Lamp', + : 'Oven Lamp', : list([ 'off', 'high', @@ -349,7 +349,7 @@ # name: test_all_entities[da_ks_oven_0107x][select.kitchen_oven_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen oven Lamp', + : 'Kitchen oven Lamp', : list([ 'off', 'high', @@ -408,7 +408,7 @@ # name: test_all_entities[da_ks_range_0101x][select.vulcan_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vulcan Lamp', + : 'Vulcan Lamp', : list([ 'off', 'extra_high', @@ -467,7 +467,7 @@ # name: test_all_entities[da_ks_walloven_0107x][select.four_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Four Lamp', + : 'Four Lamp', : list([ 'off', 'high', @@ -528,7 +528,7 @@ # name: test_all_entities[da_rvc_map_01011][select.robot_vacuum_cleaning_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Cleaning type', + : 'Robot Vacuum Cleaning type', : list([ 'vacuum', 'mop', @@ -590,7 +590,7 @@ # name: test_all_entities[da_rvc_map_01011][select.robot_vacuum_driving_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Driving mode', + : 'Robot Vacuum Driving mode', : list([ 'area_then_walls', 'walls_first', @@ -650,7 +650,7 @@ # name: test_all_entities[da_rvc_map_01011][select.robot_vacuum_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Lamp', + : 'Robot Vacuum Lamp', : list([ 'on', 'off', @@ -710,7 +710,7 @@ # name: test_all_entities[da_rvc_map_01011][select.robot_vacuum_sound_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Sound detection sensitivity', + : 'Robot Vacuum Sound detection sensitivity', : list([ 'low', 'medium', @@ -771,7 +771,7 @@ # name: test_all_entities[da_rvc_map_01011][select.robot_vacuum_sound_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Sound mode', + : 'Robot Vacuum Sound mode', : list([ 'mute', 'tone', @@ -834,7 +834,7 @@ # name: test_all_entities[da_rvc_map_01011][select.robot_vacuum_water_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Water level', + : 'Robot Vacuum Water level', : list([ 'high', 'moderate_high', @@ -896,7 +896,7 @@ # name: test_all_entities[da_vc_stick_01001][select.stick_vacuum_lamp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Stick vacuum Lamp', + : 'Stick vacuum Lamp', : list([ 'on', 'off', @@ -956,7 +956,7 @@ # name: test_all_entities[da_wm_dw_000001][select.theater_dishwasher-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher', + : 'Dishwasher', : list([ 'stop', 'run', @@ -1017,7 +1017,7 @@ # name: test_all_entities[da_wm_dw_000001][select.theater_dishwasher_selected_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Selected zone', + : 'Dishwasher Selected zone', : list([ 'none', 'lower', @@ -1077,7 +1077,7 @@ # name: test_all_entities[da_wm_dw_000001][select.theater_dishwasher_zone_booster-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Zone booster', + : 'Dishwasher Zone booster', : list([ 'none', 'left', @@ -1137,7 +1137,7 @@ # name: test_all_entities[da_wm_dw_01011][select.dishwasher_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1', + : 'Dishwasher 1', : list([ 'stop', 'run', @@ -1197,7 +1197,7 @@ # name: test_all_entities[da_wm_dw_01011][select.dishwasher_1_selected_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Selected zone', + : 'Dishwasher 1 Selected zone', : list([ 'lower', 'all', @@ -1257,7 +1257,7 @@ # name: test_all_entities[da_wm_sc_000001][select.airdresser-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirDresser', + : 'AirDresser', : list([ 'stop', 'run', @@ -1318,7 +1318,7 @@ # name: test_all_entities[da_wm_wd_000001][select.theater_dryer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dryer', + : 'Dryer', : list([ 'stop', 'run', @@ -1379,7 +1379,7 @@ # name: test_all_entities[da_wm_wd_000001_1][select.seca_roupa-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Seca-Roupa', + : 'Seca-Roupa', : list([ 'stop', 'run', @@ -1440,7 +1440,7 @@ # name: test_all_entities[da_wm_wd_01011][select.trockner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Trockner', + : 'Trockner', : list([ 'stop', 'run', @@ -1501,7 +1501,7 @@ # name: test_all_entities[da_wm_wm_000001][select.theater_washer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer', + : 'Washer', : list([ 'stop', 'run', @@ -1565,7 +1565,7 @@ # name: test_all_entities[da_wm_wm_000001][select.theater_washer_soil_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer Soil level', + : 'Washer Soil level', : list([ 'none', 'extra_light', @@ -1632,7 +1632,7 @@ # name: test_all_entities[da_wm_wm_000001][select.theater_washer_spin_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer Spin level', + : 'Washer Spin level', : list([ 'rinse_hold', 'no_spin', @@ -1699,7 +1699,7 @@ # name: test_all_entities[da_wm_wm_000001][select.theater_washer_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer Water temperature', + : 'Washer Water temperature', : list([ 'none', 'tap_cold', @@ -1763,7 +1763,7 @@ # name: test_all_entities[da_wm_wm_000001_1][select.washing_machine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing Machine', + : 'Washing Machine', : list([ 'stop', 'run', @@ -1828,7 +1828,7 @@ # name: test_all_entities[da_wm_wm_000001_1][select.washing_machine_spin_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing Machine Spin level', + : 'Washing Machine Spin level', : list([ 'rinse_hold', 'no_spin', @@ -1897,7 +1897,7 @@ # name: test_all_entities[da_wm_wm_000001_1][select.washing_machine_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing Machine Water temperature', + : 'Washing Machine Water temperature', : list([ 'none', 'cold', @@ -1962,7 +1962,7 @@ # name: test_all_entities[da_wm_wm_01011][select.machine_a_laver-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver', + : 'Machine à Laver', : list([ 'stop', 'run', @@ -2024,7 +2024,7 @@ # name: test_all_entities[da_wm_wm_01011][select.machine_a_laver_detergent_dispense_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Detergent dispense amount', + : 'Machine à Laver Detergent dispense amount', : list([ 'none', 'less', @@ -2087,7 +2087,7 @@ # name: test_all_entities[da_wm_wm_01011][select.machine_a_laver_flexible_compartment_dispense_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Flexible compartment dispense amount', + : 'Machine à Laver Flexible compartment dispense amount', : list([ 'none', 'less', @@ -2153,7 +2153,7 @@ # name: test_all_entities[da_wm_wm_01011][select.machine_a_laver_spin_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Spin level', + : 'Machine à Laver Spin level', : list([ 'rinse_hold', 'no_spin', @@ -2222,7 +2222,7 @@ # name: test_all_entities[da_wm_wm_01011][select.machine_a_laver_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Water temperature', + : 'Machine à Laver Water temperature', : list([ 'none', 'cold', @@ -2287,7 +2287,7 @@ # name: test_all_entities[da_wm_wm_100001][select.washer_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer 1', + : 'Washer 1', : list([ 'run', 'pause', @@ -2348,7 +2348,7 @@ # name: test_all_entities[da_wm_wm_100002][select.washer_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washer 2', + : 'Washer 2', : list([ 'run', 'pause', diff --git a/tests/components/smartthings/snapshots/test_sensor.ambr b/tests/components/smartthings/snapshots/test_sensor.ambr index ae3583d5fac..addc3fcdd65 100644 --- a/tests/components/smartthings/snapshots/test_sensor.ambr +++ b/tests/components/smartthings/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[aeotec_home_energy_meter_gen5][sensor.toilet_aeotec_energy_monitor_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aeotec Energy Monitor Energy', + : 'energy', + : 'Aeotec Energy Monitor Energy', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.toilet_aeotec_energy_monitor_energy', @@ -102,10 +102,10 @@ # name: test_all_entities[aeotec_home_energy_meter_gen5][sensor.toilet_aeotec_energy_monitor_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Aeotec Energy Monitor Power', + : 'power', + : 'Aeotec Energy Monitor Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.toilet_aeotec_energy_monitor_power', @@ -157,8 +157,8 @@ # name: test_all_entities[aeotec_home_energy_meter_gen5][sensor.toilet_aeotec_energy_monitor_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Aeotec Energy Monitor Voltage', + : 'voltage', + : 'Aeotec Energy Monitor Voltage', : , }), 'context': , @@ -209,9 +209,9 @@ # name: test_all_entities[aeotec_ms6][sensor.parent_s_bedroom_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': "Parent's Bedroom Sensor Battery", - 'unit_of_measurement': '%', + : 'battery', + : "Parent's Bedroom Sensor Battery", + : '%', }), 'context': , 'entity_id': 'sensor.parent_s_bedroom_sensor_battery', @@ -263,10 +263,10 @@ # name: test_all_entities[aeotec_ms6][sensor.parent_s_bedroom_sensor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': "Parent's Bedroom Sensor Humidity", + : 'humidity', + : "Parent's Bedroom Sensor Humidity", : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.parent_s_bedroom_sensor_humidity', @@ -318,10 +318,10 @@ # name: test_all_entities[aeotec_ms6][sensor.parent_s_bedroom_sensor_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': "Parent's Bedroom Sensor Illuminance", + : 'illuminance', + : "Parent's Bedroom Sensor Illuminance", : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.parent_s_bedroom_sensor_illuminance', @@ -376,10 +376,10 @@ # name: test_all_entities[aeotec_ms6][sensor.parent_s_bedroom_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': "Parent's Bedroom Sensor Temperature", + : 'temperature', + : "Parent's Bedroom Sensor Temperature", : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.parent_s_bedroom_sensor_temperature', @@ -431,7 +431,7 @@ # name: test_all_entities[aeotec_ms6][sensor.parent_s_bedroom_sensor_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': "Parent's Bedroom Sensor UV index", + : "Parent's Bedroom Sensor UV index", : , }), 'context': , @@ -484,10 +484,10 @@ # name: test_all_entities[aq_sensor_3_ikea][sensor.aq_sensor_3_ikea_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'aq-sensor-3-ikea Humidity', + : 'humidity', + : 'aq-sensor-3-ikea Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aq_sensor_3_ikea_humidity', @@ -539,10 +539,10 @@ # name: test_all_entities[aq_sensor_3_ikea][sensor.aq_sensor_3_ikea_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'aq-sensor-3-ikea PM2.5', + : 'pm25', + : 'aq-sensor-3-ikea PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.aq_sensor_3_ikea_pm2_5', @@ -597,10 +597,10 @@ # name: test_all_entities[aq_sensor_3_ikea][sensor.aq_sensor_3_ikea_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'aq-sensor-3-ikea Temperature', + : 'temperature', + : 'aq-sensor-3-ikea Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aq_sensor_3_ikea_temperature', @@ -652,10 +652,10 @@ # name: test_all_entities[aq_sensor_3_ikea][sensor.aq_sensor_3_ikea_volatile_organic_compounds_parts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds_parts', - 'friendly_name': 'aq-sensor-3-ikea Volatile organic compounds parts', + : 'volatile_organic_compounds_parts', + : 'aq-sensor-3-ikea Volatile organic compounds parts', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.aq_sensor_3_ikea_volatile_organic_compounds_parts', @@ -710,10 +710,10 @@ # name: test_all_entities[aux_ac][sensor.aux_a_c_on_off_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'AUX A/C on-off Temperature', + : 'temperature', + : 'AUX A/C on-off Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aux_a_c_on_off_temperature', @@ -768,10 +768,10 @@ # name: test_all_entities[base_electric_meter][sensor.theater_aeon_energy_monitor_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aeon Energy Monitor Energy', + : 'energy', + : 'Aeon Energy Monitor Energy', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.theater_aeon_energy_monitor_energy', @@ -826,10 +826,10 @@ # name: test_all_entities[base_electric_meter][sensor.theater_aeon_energy_monitor_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Aeon Energy Monitor Power', + : 'power', + : 'Aeon Energy Monitor Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.theater_aeon_energy_monitor_power', @@ -879,9 +879,9 @@ # name: test_all_entities[bosch_radiator_thermostat_ii][sensor.radiator_thermostat_ii_m_wohnzimmer_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Radiator Thermostat II [+M] Wohnzimmer Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Radiator Thermostat II [+M] Wohnzimmer Battery', + : '%', }), 'context': , 'entity_id': 'sensor.radiator_thermostat_ii_m_wohnzimmer_battery', @@ -936,10 +936,10 @@ # name: test_all_entities[bosch_radiator_thermostat_ii][sensor.radiator_thermostat_ii_m_wohnzimmer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Radiator Thermostat II [+M] Wohnzimmer Temperature', + : 'temperature', + : 'Radiator Thermostat II [+M] Wohnzimmer Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.radiator_thermostat_ii_m_wohnzimmer_temperature', @@ -996,8 +996,8 @@ # name: test_all_entities[c2c_arlo_pro_3_switch][sensor.theater_2nd_floor_hallway_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '2nd Floor Hallway Alarm', + : 'enum', + : '2nd Floor Hallway Alarm', : list([ 'both', 'strobe', @@ -1053,9 +1053,9 @@ # name: test_all_entities[c2c_arlo_pro_3_switch][sensor.theater_2nd_floor_hallway_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': '2nd Floor Hallway Battery', - 'unit_of_measurement': '%', + : 'battery', + : '2nd Floor Hallway Battery', + : '%', }), 'context': , 'entity_id': 'sensor.theater_2nd_floor_hallway_battery', @@ -1110,10 +1110,10 @@ # name: test_all_entities[centralite][sensor.theater_dimmer_debian_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dimmer Debian Power', + : 'power', + : 'Dimmer Debian Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.theater_dimmer_debian_power', @@ -1163,9 +1163,9 @@ # name: test_all_entities[contact_sensor][sensor.theater_front_door_open_closed_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': '.Front Door Open/Closed Sensor Battery', - 'unit_of_measurement': '%', + : 'battery', + : '.Front Door Open/Closed Sensor Battery', + : '%', }), 'context': , 'entity_id': 'sensor.theater_front_door_open_closed_sensor_battery', @@ -1220,10 +1220,10 @@ # name: test_all_entities[contact_sensor][sensor.theater_front_door_open_closed_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '.Front Door Open/Closed Sensor Temperature', + : 'temperature', + : '.Front Door Open/Closed Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_front_door_open_closed_sensor_temperature', @@ -1275,10 +1275,10 @@ # name: test_all_entities[copper_water_meter_v03][sensor.indoor_water_meter_current_water_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Indoor Water Meter Current water usage', + : 'volume_flow_rate', + : 'Indoor Water Meter Current water usage', : , - 'unit_of_measurement': 'gpm', + : 'gpm', }), 'context': , 'entity_id': 'sensor.indoor_water_meter_current_water_usage', @@ -1336,10 +1336,10 @@ # name: test_all_entities[copper_water_meter_v03][sensor.indoor_water_meter_water_usage_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Indoor Water Meter Water usage this month', + : 'water', + : 'Indoor Water Meter Water usage this month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.indoor_water_meter_water_usage_this_month', @@ -1397,10 +1397,10 @@ # name: test_all_entities[copper_water_meter_v03][sensor.indoor_water_meter_water_usage_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Indoor Water Meter Water usage today', + : 'water', + : 'Indoor Water Meter Water usage today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.indoor_water_meter_water_usage_today', @@ -1452,9 +1452,9 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air purifier Air quality', + : 'Air purifier Air quality', : , - 'unit_of_measurement': 'CAQI', + : 'CAQI', }), 'context': , 'entity_id': 'sensor.air_purifier_air_quality', @@ -1504,7 +1504,7 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_odor_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air purifier Odor sensor', + : 'Air purifier Odor sensor', }), 'context': , 'entity_id': 'sensor.air_purifier_odor_sensor', @@ -1556,10 +1556,10 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Air purifier PM1', + : 'pm1', + : 'Air purifier PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.air_purifier_pm1', @@ -1611,10 +1611,10 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Air purifier PM10', + : 'pm10', + : 'Air purifier PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.air_purifier_pm10', @@ -1673,8 +1673,8 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_pm10_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Air purifier PM10 health concern', + : 'enum', + : 'Air purifier PM10 health concern', : list([ 'good', 'moderate', @@ -1741,8 +1741,8 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_pm1_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Air purifier PM1 health concern', + : 'enum', + : 'Air purifier PM1 health concern', : list([ 'good', 'moderate', @@ -1802,10 +1802,10 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Air purifier PM2.5', + : 'pm25', + : 'Air purifier PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.air_purifier_pm2_5', @@ -1864,8 +1864,8 @@ # name: test_all_entities[da_ac_air_000001][sensor.air_purifier_pm2_5_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Air purifier PM2.5 health concern', + : 'enum', + : 'Air purifier PM2.5 health concern', : list([ 'good', 'moderate', @@ -1925,9 +1925,9 @@ # name: test_all_entities[da_ac_air_01011][sensor.air_filter_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air filter Air quality', + : 'Air filter Air quality', : , - 'unit_of_measurement': 'CAQI', + : 'CAQI', }), 'context': , 'entity_id': 'sensor.air_filter_air_quality', @@ -1982,10 +1982,10 @@ # name: test_all_entities[da_ac_air_01011][sensor.air_filter_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Air filter Energy', + : 'energy', + : 'Air filter Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_filter_energy', @@ -2040,10 +2040,10 @@ # name: test_all_entities[da_ac_air_01011][sensor.air_filter_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Air filter Energy difference', + : 'energy', + : 'Air filter Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_filter_energy_difference', @@ -2098,10 +2098,10 @@ # name: test_all_entities[da_ac_air_01011][sensor.air_filter_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Air filter Energy saved', + : 'energy', + : 'Air filter Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_filter_energy_saved', @@ -2156,12 +2156,12 @@ # name: test_all_entities[da_ac_air_01011][sensor.air_filter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air filter Power', + : 'power', + : 'Air filter Power', 'power_consumption_end': '2026-03-09T20:53:57Z', 'power_consumption_start': '2026-03-09T20:42:57Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_filter_power', @@ -2216,10 +2216,10 @@ # name: test_all_entities[da_ac_air_01011][sensor.air_filter_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Air filter Power energy', + : 'energy', + : 'Air filter Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_filter_power_energy', @@ -2271,9 +2271,9 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '에어모니터 플러스 Air quality', + : '에어모니터 플러스 Air quality', : , - 'unit_of_measurement': 'CAQI', + : 'CAQI', }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_air_quality', @@ -2325,10 +2325,10 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': '에어모니터 플러스 Carbon dioxide', + : 'carbon_dioxide', + : '에어모니터 플러스 Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_carbon_dioxide', @@ -2380,10 +2380,10 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': '에어모니터 플러스 Humidity', + : 'humidity', + : '에어모니터 플러스 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_humidity', @@ -2433,7 +2433,7 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_odor_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '에어모니터 플러스 Odor sensor', + : '에어모니터 플러스 Odor sensor', }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_odor_sensor', @@ -2485,10 +2485,10 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': '에어모니터 플러스 PM1', + : 'pm1', + : '에어모니터 플러스 PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_pm1', @@ -2540,10 +2540,10 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': '에어모니터 플러스 PM10', + : 'pm10', + : '에어모니터 플러스 PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_pm10', @@ -2602,8 +2602,8 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_pm10_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '에어모니터 플러스 PM10 health concern', + : 'enum', + : '에어모니터 플러스 PM10 health concern', : list([ 'good', 'moderate', @@ -2670,8 +2670,8 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_pm1_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '에어모니터 플러스 PM1 health concern', + : 'enum', + : '에어모니터 플러스 PM1 health concern', : list([ 'good', 'moderate', @@ -2731,10 +2731,10 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': '에어모니터 플러스 PM2.5', + : 'pm25', + : '에어모니터 플러스 PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_pm2_5', @@ -2793,8 +2793,8 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_pm2_5_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '에어모니터 플러스 PM2.5 health concern', + : 'enum', + : '에어모니터 플러스 PM2.5 health concern', : list([ 'good', 'moderate', @@ -2857,10 +2857,10 @@ # name: test_all_entities[da_ac_airsensor_01001][sensor.eeomoniteo_peulreoseu_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': '에어모니터 플러스 Temperature', + : 'temperature', + : '에어모니터 플러스 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eeomoniteo_peulreoseu_temperature', @@ -2915,10 +2915,10 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ar Varanda Energy', + : 'energy', + : 'Ar Varanda Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ar_varanda_energy', @@ -2973,10 +2973,10 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ar Varanda Energy difference', + : 'energy', + : 'Ar Varanda Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ar_varanda_energy_difference', @@ -3031,10 +3031,10 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ar Varanda Energy saved', + : 'energy', + : 'Ar Varanda Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ar_varanda_energy_saved', @@ -3086,10 +3086,10 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Ar Varanda Humidity', + : 'humidity', + : 'Ar Varanda Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ar_varanda_humidity', @@ -3144,12 +3144,12 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Ar Varanda Power', + : 'power', + : 'Ar Varanda Power', 'power_consumption_end': '2025-08-19T12:18:52Z', 'power_consumption_start': '2025-08-19T02:01:25Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ar_varanda_power', @@ -3204,10 +3204,10 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ar Varanda Power energy', + : 'energy', + : 'Ar Varanda Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ar_varanda_power_energy', @@ -3262,10 +3262,10 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ar Varanda Temperature', + : 'temperature', + : 'Ar Varanda Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ar_varanda_temperature', @@ -3315,8 +3315,8 @@ # name: test_all_entities[da_ac_cac_01001][sensor.ar_varanda_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ar Varanda Volume', - 'unit_of_measurement': '%', + : 'Ar Varanda Volume', + : '%', }), 'context': , 'entity_id': 'sensor.ar_varanda_volume', @@ -3371,10 +3371,10 @@ # name: test_all_entities[da_ac_ehs_01001][sensor.heat_pump_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat pump Energy', + : 'energy', + : 'Heat pump Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_energy', @@ -3429,10 +3429,10 @@ # name: test_all_entities[da_ac_ehs_01001][sensor.heat_pump_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat pump Energy difference', + : 'energy', + : 'Heat pump Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_energy_difference', @@ -3487,10 +3487,10 @@ # name: test_all_entities[da_ac_ehs_01001][sensor.heat_pump_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat pump Energy saved', + : 'energy', + : 'Heat pump Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_energy_saved', @@ -3545,12 +3545,12 @@ # name: test_all_entities[da_ac_ehs_01001][sensor.heat_pump_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Heat pump Power', + : 'power', + : 'Heat pump Power', 'power_consumption_end': '2025-05-14T13:26:17Z', 'power_consumption_start': '2025-05-13T23:00:23Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_power', @@ -3605,10 +3605,10 @@ # name: test_all_entities[da_ac_ehs_01001][sensor.heat_pump_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat pump Power energy', + : 'energy', + : 'Heat pump Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_power_energy', @@ -3663,10 +3663,10 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AC Office Granit Energy', + : 'energy', + : 'AC Office Granit Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_energy', @@ -3721,10 +3721,10 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AC Office Granit Energy difference', + : 'energy', + : 'AC Office Granit Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_energy_difference', @@ -3779,10 +3779,10 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AC Office Granit Energy saved', + : 'energy', + : 'AC Office Granit Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_energy_saved', @@ -3834,10 +3834,10 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'AC Office Granit Humidity', + : 'humidity', + : 'AC Office Granit Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_humidity', @@ -3892,12 +3892,12 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'AC Office Granit Power', + : 'power', + : 'AC Office Granit Power', 'power_consumption_end': '2025-02-09T16:15:33Z', 'power_consumption_start': '2025-02-09T15:45:29Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_power', @@ -3952,10 +3952,10 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AC Office Granit Power energy', + : 'energy', + : 'AC Office Granit Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_power_energy', @@ -4010,10 +4010,10 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'AC Office Granit Temperature', + : 'temperature', + : 'AC Office Granit Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_temperature', @@ -4063,8 +4063,8 @@ # name: test_all_entities[da_ac_rac_000001][sensor.theater_ac_office_granit_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AC Office Granit Volume', - 'unit_of_measurement': '%', + : 'AC Office Granit Volume', + : '%', }), 'context': , 'entity_id': 'sensor.theater_ac_office_granit_volume', @@ -4119,10 +4119,10 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Clim Salon Energy', + : 'energy', + : 'Clim Salon Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clim_salon_energy', @@ -4177,10 +4177,10 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Clim Salon Energy difference', + : 'energy', + : 'Clim Salon Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clim_salon_energy_difference', @@ -4235,10 +4235,10 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Clim Salon Energy saved', + : 'energy', + : 'Clim Salon Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clim_salon_energy_saved', @@ -4290,10 +4290,10 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Clim Salon Humidity', + : 'humidity', + : 'Clim Salon Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.clim_salon_humidity', @@ -4348,12 +4348,12 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Clim Salon Power', + : 'power', + : 'Clim Salon Power', 'power_consumption_end': '2025-10-04T15:55:07Z', 'power_consumption_start': '2025-10-04T15:54:24Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clim_salon_power', @@ -4408,10 +4408,10 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Clim Salon Power energy', + : 'energy', + : 'Clim Salon Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clim_salon_power_energy', @@ -4466,10 +4466,10 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Clim Salon Temperature', + : 'temperature', + : 'Clim Salon Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.clim_salon_temperature', @@ -4519,8 +4519,8 @@ # name: test_all_entities[da_ac_rac_000003][sensor.clim_salon_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clim Salon Volume', - 'unit_of_measurement': '%', + : 'Clim Salon Volume', + : '%', }), 'context': , 'entity_id': 'sensor.clim_salon_volume', @@ -4575,10 +4575,10 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aire Dormitorio Principal Energy', + : 'energy', + : 'Aire Dormitorio Principal Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_energy', @@ -4633,10 +4633,10 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aire Dormitorio Principal Energy difference', + : 'energy', + : 'Aire Dormitorio Principal Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_energy_difference', @@ -4691,10 +4691,10 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aire Dormitorio Principal Energy saved', + : 'energy', + : 'Aire Dormitorio Principal Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_energy_saved', @@ -4746,10 +4746,10 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Aire Dormitorio Principal Humidity', + : 'humidity', + : 'Aire Dormitorio Principal Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_humidity', @@ -4804,12 +4804,12 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Aire Dormitorio Principal Power', + : 'power', + : 'Aire Dormitorio Principal Power', 'power_consumption_end': '2025-02-09T17:02:44Z', 'power_consumption_start': '2025-02-09T16:08:15Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_power', @@ -4864,10 +4864,10 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aire Dormitorio Principal Power energy', + : 'energy', + : 'Aire Dormitorio Principal Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_power_energy', @@ -4922,10 +4922,10 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Aire Dormitorio Principal Temperature', + : 'temperature', + : 'Aire Dormitorio Principal Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_temperature', @@ -4975,8 +4975,8 @@ # name: test_all_entities[da_ac_rac_01001][sensor.theater_aire_dormitorio_principal_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aire Dormitorio Principal Volume', - 'unit_of_measurement': '%', + : 'Aire Dormitorio Principal Volume', + : '%', }), 'context': , 'entity_id': 'sensor.theater_aire_dormitorio_principal_volume', @@ -5028,9 +5028,9 @@ # name: test_all_entities[da_ac_rac_100001][sensor.theater_corridor_a_c_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Corridor A/C Air quality', + : 'Corridor A/C Air quality', : , - 'unit_of_measurement': 'CAQI', + : 'CAQI', }), 'context': , 'entity_id': 'sensor.theater_corridor_a_c_air_quality', @@ -5082,10 +5082,10 @@ # name: test_all_entities[da_ac_rac_100001][sensor.theater_corridor_a_c_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Corridor A/C PM10', + : 'pm10', + : 'Corridor A/C PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.theater_corridor_a_c_pm10', @@ -5137,10 +5137,10 @@ # name: test_all_entities[da_ac_rac_100001][sensor.theater_corridor_a_c_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Corridor A/C PM2.5', + : 'pm25', + : 'Corridor A/C PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.theater_corridor_a_c_pm2_5', @@ -5195,10 +5195,10 @@ # name: test_all_entities[da_ac_rac_100001][sensor.theater_corridor_a_c_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Corridor A/C Temperature', + : 'temperature', + : 'Corridor A/C Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_corridor_a_c_temperature', @@ -5253,8 +5253,8 @@ # name: test_all_entities[da_ks_cooktop_000001][sensor.table_de_cuisson_operating_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Table de cuisson Operating state', + : 'enum', + : 'Table de cuisson Operating state', : list([ 'ready', 'run', @@ -5314,8 +5314,8 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_1_heating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Induction Hob Burner 1 heating mode', + : 'enum', + : 'Induction Hob Burner 1 heating mode', : list([ 'manual', 'boost', @@ -5370,7 +5370,7 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_1_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Induction Hob Burner 1 level', + : 'Induction Hob Burner 1 level', }), 'context': , 'entity_id': 'sensor.induction_hob_burner_1_level', @@ -5426,8 +5426,8 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_2_heating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Induction Hob Burner 2 heating mode', + : 'enum', + : 'Induction Hob Burner 2 heating mode', : list([ 'manual', 'boost', @@ -5482,7 +5482,7 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_2_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Induction Hob Burner 2 level', + : 'Induction Hob Burner 2 level', }), 'context': , 'entity_id': 'sensor.induction_hob_burner_2_level', @@ -5538,8 +5538,8 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_3_heating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Induction Hob Burner 3 heating mode', + : 'enum', + : 'Induction Hob Burner 3 heating mode', : list([ 'manual', 'boost', @@ -5594,7 +5594,7 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_3_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Induction Hob Burner 3 level', + : 'Induction Hob Burner 3 level', }), 'context': , 'entity_id': 'sensor.induction_hob_burner_3_level', @@ -5650,8 +5650,8 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_4_heating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Induction Hob Burner 4 heating mode', + : 'enum', + : 'Induction Hob Burner 4 heating mode', : list([ 'manual', 'boost', @@ -5706,7 +5706,7 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_burner_4_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Induction Hob Burner 4 level', + : 'Induction Hob Burner 4 level', }), 'context': , 'entity_id': 'sensor.induction_hob_burner_4_level', @@ -5762,8 +5762,8 @@ # name: test_all_entities[da_ks_cooktop_31001][sensor.induction_hob_operating_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Induction Hob Operating state', + : 'enum', + : 'Induction Hob Operating state', : list([ 'ready', 'run', @@ -5820,9 +5820,9 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood Air quality', + : 'Range hood Air quality', : , - 'unit_of_measurement': 'CAQI', + : 'CAQI', }), 'context': , 'entity_id': 'sensor.range_hood_air_quality', @@ -5877,10 +5877,10 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Range hood Energy', + : 'energy', + : 'Range hood Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.range_hood_energy', @@ -5935,10 +5935,10 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Range hood Energy difference', + : 'energy', + : 'Range hood Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.range_hood_energy_difference', @@ -5993,10 +5993,10 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Range hood Energy saved', + : 'energy', + : 'Range hood Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.range_hood_energy_saved', @@ -6048,9 +6048,9 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_filter_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood Filter usage', + : 'Range hood Filter usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.range_hood_filter_usage', @@ -6102,10 +6102,10 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'Range hood PM1', + : 'pm1', + : 'Range hood PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.range_hood_pm1', @@ -6157,10 +6157,10 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'Range hood PM10', + : 'pm10', + : 'Range hood PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.range_hood_pm10', @@ -6219,8 +6219,8 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_pm10_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Range hood PM10 health concern', + : 'enum', + : 'Range hood PM10 health concern', : list([ 'good', 'moderate', @@ -6287,8 +6287,8 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_pm1_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Range hood PM1 health concern', + : 'enum', + : 'Range hood PM1 health concern', : list([ 'good', 'moderate', @@ -6348,10 +6348,10 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Range hood PM2.5', + : 'pm25', + : 'Range hood PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.range_hood_pm2_5', @@ -6410,8 +6410,8 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_pm2_5_health_concern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Range hood PM2.5 health concern', + : 'enum', + : 'Range hood PM2.5 health concern', : list([ 'good', 'moderate', @@ -6474,12 +6474,12 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Range hood Power', + : 'power', + : 'Range hood Power', 'power_consumption_end': '2025-11-11T23:41:24Z', 'power_consumption_start': '2025-11-11T20:10:41Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.range_hood_power', @@ -6534,10 +6534,10 @@ # name: test_all_entities[da_ks_hood_01001][sensor.range_hood_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Range hood Power energy', + : 'energy', + : 'Range hood Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.range_hood_power_energy', @@ -6587,8 +6587,8 @@ # name: test_all_entities[da_ks_microwave_0101x][sensor.theater_microwave_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Microwave Completion time', + : 'timestamp', + : 'Microwave Completion time', }), 'context': , 'entity_id': 'sensor.theater_microwave_completion_time', @@ -6658,8 +6658,8 @@ # name: test_all_entities[da_ks_microwave_0101x][sensor.theater_microwave_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Microwave Job state', + : 'enum', + : 'Microwave Job state', : list([ 'cleaning', 'cooking', @@ -6734,8 +6734,8 @@ # name: test_all_entities[da_ks_microwave_0101x][sensor.theater_microwave_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Microwave Machine state', + : 'enum', + : 'Microwave Machine state', : list([ 'ready', 'running', @@ -6822,8 +6822,8 @@ # name: test_all_entities[da_ks_microwave_0101x][sensor.theater_microwave_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Microwave Oven mode', + : 'enum', + : 'Microwave Oven mode', : list([ 'conventional', 'bake', @@ -6907,9 +6907,9 @@ # name: test_all_entities[da_ks_microwave_0101x][sensor.theater_microwave_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Microwave Setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Microwave Setpoint', + : , }), 'context': , 'entity_id': 'sensor.theater_microwave_setpoint', @@ -6964,10 +6964,10 @@ # name: test_all_entities[da_ks_microwave_0101x][sensor.theater_microwave_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Microwave Temperature', + : 'temperature', + : 'Microwave Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_microwave_temperature', @@ -7017,8 +7017,8 @@ # name: test_all_entities[da_ks_oven_01061][sensor.oven_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Oven Completion time', + : 'timestamp', + : 'Oven Completion time', }), 'context': , 'entity_id': 'sensor.oven_completion_time', @@ -7088,8 +7088,8 @@ # name: test_all_entities[da_ks_oven_01061][sensor.oven_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Job state', + : 'enum', + : 'Oven Job state', : list([ 'cleaning', 'cooking', @@ -7164,8 +7164,8 @@ # name: test_all_entities[da_ks_oven_01061][sensor.oven_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Machine state', + : 'enum', + : 'Oven Machine state', : list([ 'ready', 'running', @@ -7252,8 +7252,8 @@ # name: test_all_entities[da_ks_oven_01061][sensor.oven_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Oven Oven mode', + : 'enum', + : 'Oven Oven mode', : list([ 'conventional', 'bake', @@ -7337,9 +7337,9 @@ # name: test_all_entities[da_ks_oven_01061][sensor.oven_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Oven Setpoint', + : , }), 'context': , 'entity_id': 'sensor.oven_setpoint', @@ -7394,10 +7394,10 @@ # name: test_all_entities[da_ks_oven_01061][sensor.oven_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Oven Temperature', + : 'temperature', + : 'Oven Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.oven_temperature', @@ -7447,8 +7447,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Kitchen oven Completion time', + : 'timestamp', + : 'Kitchen oven Completion time', }), 'context': , 'entity_id': 'sensor.kitchen_oven_completion_time', @@ -7518,8 +7518,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen oven Job state', + : 'enum', + : 'Kitchen oven Job state', : list([ 'cleaning', 'cooking', @@ -7594,8 +7594,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen oven Machine state', + : 'enum', + : 'Kitchen oven Machine state', : list([ 'ready', 'running', @@ -7682,8 +7682,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen oven Oven mode', + : 'enum', + : 'Kitchen oven Oven mode', : list([ 'conventional', 'bake', @@ -7764,8 +7764,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Kitchen oven Second cavity completion time', + : 'timestamp', + : 'Kitchen oven Second cavity completion time', }), 'context': , 'entity_id': 'sensor.kitchen_oven_second_cavity_completion_time', @@ -7835,8 +7835,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen oven Second cavity job state', + : 'enum', + : 'Kitchen oven Second cavity job state', : list([ 'cleaning', 'cooking', @@ -7911,8 +7911,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen oven Second cavity machine state', + : 'enum', + : 'Kitchen oven Second cavity machine state', : list([ 'ready', 'running', @@ -7999,8 +7999,8 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kitchen oven Second cavity oven mode', + : 'enum', + : 'Kitchen oven Second cavity oven mode', : list([ 'conventional', 'bake', @@ -8084,9 +8084,9 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Kitchen oven Second cavity setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Kitchen oven Second cavity setpoint', + : , }), 'context': , 'entity_id': 'sensor.kitchen_oven_second_cavity_setpoint', @@ -8141,10 +8141,10 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_second_cavity_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Kitchen oven Second cavity temperature', + : 'temperature', + : 'Kitchen oven Second cavity temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_oven_second_cavity_temperature', @@ -8197,9 +8197,9 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Kitchen oven Setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Kitchen oven Setpoint', + : , }), 'context': , 'entity_id': 'sensor.kitchen_oven_setpoint', @@ -8254,10 +8254,10 @@ # name: test_all_entities[da_ks_oven_0107x][sensor.kitchen_oven_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Kitchen oven Temperature', + : 'temperature', + : 'Kitchen oven Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.kitchen_oven_temperature', @@ -8307,8 +8307,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Vulcan Completion time', + : 'timestamp', + : 'Vulcan Completion time', }), 'context': , 'entity_id': 'sensor.vulcan_completion_time', @@ -8378,8 +8378,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vulcan Job state', + : 'enum', + : 'Vulcan Job state', : list([ 'cleaning', 'cooking', @@ -8454,8 +8454,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vulcan Machine state', + : 'enum', + : 'Vulcan Machine state', : list([ 'ready', 'running', @@ -8515,8 +8515,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_operating_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vulcan Operating state', + : 'enum', + : 'Vulcan Operating state', : list([ 'run', 'ready', @@ -8602,8 +8602,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vulcan Oven mode', + : 'enum', + : 'Vulcan Oven mode', : list([ 'conventional', 'bake', @@ -8684,8 +8684,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Vulcan Second cavity completion time', + : 'timestamp', + : 'Vulcan Second cavity completion time', }), 'context': , 'entity_id': 'sensor.vulcan_second_cavity_completion_time', @@ -8755,8 +8755,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vulcan Second cavity job state', + : 'enum', + : 'Vulcan Second cavity job state', : list([ 'cleaning', 'cooking', @@ -8831,8 +8831,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vulcan Second cavity machine state', + : 'enum', + : 'Vulcan Second cavity machine state', : list([ 'ready', 'running', @@ -8919,8 +8919,8 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vulcan Second cavity oven mode', + : 'enum', + : 'Vulcan Second cavity oven mode', : list([ 'conventional', 'bake', @@ -9004,9 +9004,9 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Vulcan Second cavity setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Vulcan Second cavity setpoint', + : , }), 'context': , 'entity_id': 'sensor.vulcan_second_cavity_setpoint', @@ -9061,10 +9061,10 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_second_cavity_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Vulcan Second cavity temperature', + : 'temperature', + : 'Vulcan Second cavity temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vulcan_second_cavity_temperature', @@ -9117,9 +9117,9 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Vulcan Setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Vulcan Setpoint', + : , }), 'context': , 'entity_id': 'sensor.vulcan_setpoint', @@ -9174,10 +9174,10 @@ # name: test_all_entities[da_ks_range_0101x][sensor.vulcan_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Vulcan Temperature', + : 'temperature', + : 'Vulcan Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vulcan_temperature', @@ -9227,8 +9227,8 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Four Completion time', + : 'timestamp', + : 'Four Completion time', }), 'context': , 'entity_id': 'sensor.four_completion_time', @@ -9283,10 +9283,10 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Four Energy', + : 'energy', + : 'Four Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.four_energy', @@ -9341,10 +9341,10 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Four Energy difference', + : 'energy', + : 'Four Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.four_energy_difference', @@ -9399,10 +9399,10 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Four Energy saved', + : 'energy', + : 'Four Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.four_energy_saved', @@ -9472,8 +9472,8 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Four Job state', + : 'enum', + : 'Four Job state', : list([ 'cleaning', 'cooking', @@ -9548,8 +9548,8 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Four Machine state', + : 'enum', + : 'Four Machine state', : list([ 'ready', 'running', @@ -9636,8 +9636,8 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_oven_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Four Oven mode', + : 'enum', + : 'Four Oven mode', : list([ 'conventional', 'bake', @@ -9723,12 +9723,12 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Four Power', + : 'power', + : 'Four Power', 'power_consumption_end': '2025-12-02T09:19:03Z', 'power_consumption_start': '2025-12-02T02:44:17Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.four_power', @@ -9783,10 +9783,10 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Four Power energy', + : 'energy', + : 'Four Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.four_power_energy', @@ -9839,9 +9839,9 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Four Setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Four Setpoint', + : , }), 'context': , 'entity_id': 'sensor.four_setpoint', @@ -9896,10 +9896,10 @@ # name: test_all_entities[da_ks_walloven_0107x][sensor.four_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Four Temperature', + : 'temperature', + : 'Four Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.four_temperature', @@ -9954,10 +9954,10 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator Energy', + : 'energy', + : 'Refrigerator Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_refrigerator_energy', @@ -10012,10 +10012,10 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator Energy difference', + : 'energy', + : 'Refrigerator Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_refrigerator_energy_difference', @@ -10070,10 +10070,10 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator Energy saved', + : 'energy', + : 'Refrigerator Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_refrigerator_energy_saved', @@ -10128,10 +10128,10 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator Freezer temperature', + : 'temperature', + : 'Refrigerator Freezer temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_refrigerator_freezer_temperature', @@ -10186,10 +10186,10 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_fridge_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator Fridge temperature', + : 'temperature', + : 'Refrigerator Fridge temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_refrigerator_fridge_temperature', @@ -10244,12 +10244,12 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Refrigerator Power', + : 'power', + : 'Refrigerator Power', 'power_consumption_end': '2026-02-14T14:51:07Z', 'power_consumption_start': '2026-02-14T14:35:06Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_refrigerator_power', @@ -10304,10 +10304,10 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator Power energy', + : 'energy', + : 'Refrigerator Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_refrigerator_power_energy', @@ -10359,9 +10359,9 @@ # name: test_all_entities[da_ref_normal_000001][sensor.theater_refrigerator_water_filter_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Water filter usage', + : 'Refrigerator Water filter usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.theater_refrigerator_water_filter_usage', @@ -10416,10 +10416,10 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator 1 Energy', + : 'energy', + : 'Refrigerator 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_1_energy', @@ -10474,10 +10474,10 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator 1 Energy difference', + : 'energy', + : 'Refrigerator 1 Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_1_energy_difference', @@ -10532,10 +10532,10 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator 1 Energy saved', + : 'energy', + : 'Refrigerator 1 Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_1_energy_saved', @@ -10590,10 +10590,10 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator 1 Freezer temperature', + : 'temperature', + : 'Refrigerator 1 Freezer temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_1_freezer_temperature', @@ -10648,10 +10648,10 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_fridge_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Refrigerator 1 Fridge temperature', + : 'temperature', + : 'Refrigerator 1 Fridge temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_1_fridge_temperature', @@ -10706,12 +10706,12 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Refrigerator 1 Power', + : 'power', + : 'Refrigerator 1 Power', 'power_consumption_end': '2025-02-09T00:25:23Z', 'power_consumption_start': '2025-02-09T00:13:39Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_1_power', @@ -10766,10 +10766,10 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Refrigerator 1 Power energy', + : 'energy', + : 'Refrigerator 1 Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.refrigerator_1_power_energy', @@ -10821,9 +10821,9 @@ # name: test_all_entities[da_ref_normal_01001][sensor.refrigerator_1_water_filter_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator 1 Water filter usage', + : 'Refrigerator 1 Water filter usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.refrigerator_1_water_filter_usage', @@ -10878,10 +10878,10 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Frigo Energy', + : 'energy', + : 'Frigo Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frigo_energy', @@ -10936,10 +10936,10 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Frigo Energy difference', + : 'energy', + : 'Frigo Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frigo_energy_difference', @@ -10994,10 +10994,10 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Frigo Energy saved', + : 'energy', + : 'Frigo Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frigo_energy_saved', @@ -11052,10 +11052,10 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_freezer_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Frigo Freezer temperature', + : 'temperature', + : 'Frigo Freezer temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frigo_freezer_temperature', @@ -11110,10 +11110,10 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_fridge_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Frigo Fridge temperature', + : 'temperature', + : 'Frigo Fridge temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frigo_fridge_temperature', @@ -11168,12 +11168,12 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Frigo Power', + : 'power', + : 'Frigo Power', 'power_consumption_end': '2025-06-16T16:45:48Z', 'power_consumption_start': '2025-06-16T16:30:09Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frigo_power', @@ -11228,10 +11228,10 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Frigo Power energy', + : 'energy', + : 'Frigo Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frigo_power_energy', @@ -11283,9 +11283,9 @@ # name: test_all_entities[da_ref_normal_01011][sensor.frigo_water_filter_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frigo Water filter usage', + : 'Frigo Water filter usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.frigo_water_filter_usage', @@ -11340,10 +11340,10 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][sensor.lodowka_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Lodówka Energy', + : 'energy', + : 'Lodówka Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lodowka_energy', @@ -11398,10 +11398,10 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][sensor.lodowka_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Lodówka Energy difference', + : 'energy', + : 'Lodówka Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lodowka_energy_difference', @@ -11456,10 +11456,10 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][sensor.lodowka_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Lodówka Energy saved', + : 'energy', + : 'Lodówka Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lodowka_energy_saved', @@ -11514,12 +11514,12 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][sensor.lodowka_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Lodówka Power', + : 'power', + : 'Lodówka Power', 'power_consumption_end': '2025-08-14T07:21:35Z', 'power_consumption_start': '2025-08-14T07:04:50Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lodowka_power', @@ -11574,10 +11574,10 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][sensor.lodowka_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Lodówka Power energy', + : 'energy', + : 'Lodówka Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lodowka_power_energy', @@ -11632,10 +11632,10 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][sensor.lodowka_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Lodówka Temperature', + : 'temperature', + : 'Lodówka Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lodowka_temperature', @@ -11685,8 +11685,8 @@ # name: test_all_entities[da_ref_normal_100001][sensor.kjoleskap_cooling_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Kjøleskap Cooling setpoint', + : 'temperature', + : 'Kjøleskap Cooling setpoint', }), 'context': , 'entity_id': 'sensor.kjoleskap_cooling_setpoint', @@ -11738,9 +11738,9 @@ # name: test_all_entities[da_ref_normal_100001][sensor.kjoleskap_water_filter_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kjøleskap Water filter usage', + : 'Kjøleskap Water filter usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.kjoleskap_water_filter_usage', @@ -11790,9 +11790,9 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Robot Vacuum Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Robot Vacuum Battery', + : '%', }), 'context': , 'entity_id': 'sensor.robot_vacuum_battery', @@ -11851,8 +11851,8 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_cleaning_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot Vacuum Cleaning mode', + : 'enum', + : 'Robot Vacuum Cleaning mode', : list([ 'auto', 'part', @@ -11915,10 +11915,10 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Robot Vacuum Energy', + : 'energy', + : 'Robot Vacuum Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.robot_vacuum_energy', @@ -11973,10 +11973,10 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Robot Vacuum Energy difference', + : 'energy', + : 'Robot Vacuum Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.robot_vacuum_energy_difference', @@ -12031,10 +12031,10 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Robot Vacuum Energy saved', + : 'energy', + : 'Robot Vacuum Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.robot_vacuum_energy_saved', @@ -12098,8 +12098,8 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_movement-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot Vacuum Movement', + : 'enum', + : 'Robot Vacuum Movement', : list([ 'homing', 'idle', @@ -12167,12 +12167,12 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Robot Vacuum Power', + : 'power', + : 'Robot Vacuum Power', 'power_consumption_end': '2026-02-27T17:02:44Z', 'power_consumption_start': '2026-02-27T16:52:44Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.robot_vacuum_power', @@ -12227,10 +12227,10 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Robot Vacuum Power energy', + : 'energy', + : 'Robot Vacuum Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.robot_vacuum_power_energy', @@ -12287,8 +12287,8 @@ # name: test_all_entities[da_rvc_map_01011][sensor.robot_vacuum_turbo_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot Vacuum Turbo mode', + : 'enum', + : 'Robot Vacuum Turbo mode', : list([ 'on', 'off', @@ -12344,9 +12344,9 @@ # name: test_all_entities[da_rvc_normal_000001][sensor.theater_robot_vacuum_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Robot vacuum 1 Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Robot vacuum 1 Battery', + : '%', }), 'context': , 'entity_id': 'sensor.theater_robot_vacuum_1_battery', @@ -12405,8 +12405,8 @@ # name: test_all_entities[da_rvc_normal_000001][sensor.theater_robot_vacuum_1_cleaning_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot vacuum 1 Cleaning mode', + : 'enum', + : 'Robot vacuum 1 Cleaning mode', : list([ 'auto', 'part', @@ -12478,8 +12478,8 @@ # name: test_all_entities[da_rvc_normal_000001][sensor.theater_robot_vacuum_1_movement-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot vacuum 1 Movement', + : 'enum', + : 'Robot vacuum 1 Movement', : list([ 'homing', 'idle', @@ -12549,8 +12549,8 @@ # name: test_all_entities[da_rvc_normal_000001][sensor.theater_robot_vacuum_1_turbo_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Robot vacuum 1 Turbo mode', + : 'enum', + : 'Robot vacuum 1 Turbo mode', : list([ 'on', 'off', @@ -12611,10 +12611,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub][sensor.eco_heating_system_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eco Heating System Energy', + : 'energy', + : 'Eco Heating System Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eco_heating_system_energy', @@ -12669,10 +12669,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub][sensor.eco_heating_system_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eco Heating System Energy difference', + : 'energy', + : 'Eco Heating System Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eco_heating_system_energy_difference', @@ -12727,10 +12727,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub][sensor.eco_heating_system_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eco Heating System Energy saved', + : 'energy', + : 'Eco Heating System Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eco_heating_system_energy_saved', @@ -12785,12 +12785,12 @@ # name: test_all_entities[da_sac_ehs_000001_sub][sensor.eco_heating_system_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Eco Heating System Power', + : 'power', + : 'Eco Heating System Power', 'power_consumption_end': '2025-05-16T12:01:29Z', 'power_consumption_start': '2025-05-16T11:18:12Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eco_heating_system_power', @@ -12845,10 +12845,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub][sensor.eco_heating_system_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eco Heating System Power energy', + : 'energy', + : 'Eco Heating System Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eco_heating_system_power_energy', @@ -12903,8 +12903,8 @@ # name: test_all_entities[da_sac_ehs_000001_sub][sensor.eco_heating_system_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Eco Heating System Valve position', + : 'enum', + : 'Eco Heating System Valve position', : list([ 'room', 'tank', @@ -12963,10 +12963,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub_1][sensor.heat_pump_main_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat Pump Main Energy', + : 'energy', + : 'Heat Pump Main Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_main_energy', @@ -13021,10 +13021,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub_1][sensor.heat_pump_main_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat Pump Main Energy difference', + : 'energy', + : 'Heat Pump Main Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_main_energy_difference', @@ -13079,10 +13079,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub_1][sensor.heat_pump_main_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat Pump Main Energy saved', + : 'energy', + : 'Heat Pump Main Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_main_energy_saved', @@ -13137,12 +13137,12 @@ # name: test_all_entities[da_sac_ehs_000001_sub_1][sensor.heat_pump_main_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Heat Pump Main Power', + : 'power', + : 'Heat Pump Main Power', 'power_consumption_end': '2025-05-15T21:10:02Z', 'power_consumption_start': '2025-05-15T20:52:02Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_main_power', @@ -13197,10 +13197,10 @@ # name: test_all_entities[da_sac_ehs_000001_sub_1][sensor.heat_pump_main_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Heat Pump Main Power energy', + : 'energy', + : 'Heat Pump Main Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.heat_pump_main_power_energy', @@ -13255,8 +13255,8 @@ # name: test_all_entities[da_sac_ehs_000001_sub_1][sensor.heat_pump_main_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Heat Pump Main Valve position', + : 'enum', + : 'Heat Pump Main Valve position', : list([ 'room', 'tank', @@ -13315,10 +13315,10 @@ # name: test_all_entities[da_sac_ehs_000002_sub][sensor.warmepumpe_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Wärmepumpe Energy', + : 'energy', + : 'Wärmepumpe Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warmepumpe_energy', @@ -13373,10 +13373,10 @@ # name: test_all_entities[da_sac_ehs_000002_sub][sensor.warmepumpe_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Wärmepumpe Energy difference', + : 'energy', + : 'Wärmepumpe Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warmepumpe_energy_difference', @@ -13431,10 +13431,10 @@ # name: test_all_entities[da_sac_ehs_000002_sub][sensor.warmepumpe_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Wärmepumpe Energy saved', + : 'energy', + : 'Wärmepumpe Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warmepumpe_energy_saved', @@ -13489,12 +13489,12 @@ # name: test_all_entities[da_sac_ehs_000002_sub][sensor.warmepumpe_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wärmepumpe Power', + : 'power', + : 'Wärmepumpe Power', 'power_consumption_end': '2025-05-09T05:02:01Z', 'power_consumption_start': '2025-05-09T04:39:01Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warmepumpe_power', @@ -13549,10 +13549,10 @@ # name: test_all_entities[da_sac_ehs_000002_sub][sensor.warmepumpe_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Wärmepumpe Power energy', + : 'energy', + : 'Wärmepumpe Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.warmepumpe_power_energy', @@ -13607,8 +13607,8 @@ # name: test_all_entities[da_sac_ehs_000002_sub][sensor.warmepumpe_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Wärmepumpe Valve position', + : 'enum', + : 'Wärmepumpe Valve position', : list([ 'room', 'tank', @@ -13670,8 +13670,8 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Stick vacuum', + : 'enum', + : 'Stick vacuum', : list([ 'ready', 'using_vacuum', @@ -13728,9 +13728,9 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Stick vacuum Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Stick vacuum Battery', + : '%', }), 'context': , 'entity_id': 'sensor.stick_vacuum_battery', @@ -13782,9 +13782,9 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_dust_bag_cycles-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Stick vacuum Dust bag cycles', + : 'Stick vacuum Dust bag cycles', : , - 'unit_of_measurement': 'cycles', + : 'cycles', }), 'context': , 'entity_id': 'sensor.stick_vacuum_dust_bag_cycles', @@ -13839,10 +13839,10 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Stick vacuum Energy', + : 'energy', + : 'Stick vacuum Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stick_vacuum_energy', @@ -13897,10 +13897,10 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Stick vacuum Energy difference', + : 'energy', + : 'Stick vacuum Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stick_vacuum_energy_difference', @@ -13955,10 +13955,10 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Stick vacuum Energy saved', + : 'energy', + : 'Stick vacuum Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stick_vacuum_energy_saved', @@ -14008,8 +14008,8 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_last_emptied-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Stick vacuum Last emptied', + : 'timestamp', + : 'Stick vacuum Last emptied', }), 'context': , 'entity_id': 'sensor.stick_vacuum_last_emptied', @@ -14064,12 +14064,12 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Stick vacuum Power', + : 'power', + : 'Stick vacuum Power', 'power_consumption_end': '2026-03-21T15:41:41Z', 'power_consumption_start': '2026-03-21T15:35:31Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stick_vacuum_power', @@ -14124,10 +14124,10 @@ # name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Stick vacuum Power energy', + : 'energy', + : 'Stick vacuum Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stick_vacuum_power_energy', @@ -14177,8 +14177,8 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Dishwasher Completion time', + : 'timestamp', + : 'Dishwasher Completion time', }), 'context': , 'entity_id': 'sensor.theater_dishwasher_completion_time', @@ -14233,10 +14233,10 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher Energy', + : 'energy', + : 'Dishwasher Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dishwasher_energy', @@ -14291,10 +14291,10 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher Energy difference', + : 'energy', + : 'Dishwasher Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dishwasher_energy_difference', @@ -14349,10 +14349,10 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher Energy saved', + : 'energy', + : 'Dishwasher Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dishwasher_energy_saved', @@ -14415,8 +14415,8 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher Job state', + : 'enum', + : 'Dishwasher Job state', : list([ 'air_wash', 'cooling', @@ -14484,8 +14484,8 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher Machine state', + : 'enum', + : 'Dishwasher Machine state', : list([ 'pause', 'run', @@ -14545,12 +14545,12 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dishwasher Power', + : 'power', + : 'Dishwasher Power', 'power_consumption_end': '2025-02-08T20:21:26Z', 'power_consumption_start': '2025-02-08T20:21:21Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dishwasher_power', @@ -14605,10 +14605,10 @@ # name: test_all_entities[da_wm_dw_000001][sensor.theater_dishwasher_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher Power energy', + : 'energy', + : 'Dishwasher Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dishwasher_power_energy', @@ -14658,8 +14658,8 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Dishwasher 1 Completion time', + : 'timestamp', + : 'Dishwasher 1 Completion time', }), 'context': , 'entity_id': 'sensor.dishwasher_1_completion_time', @@ -14714,10 +14714,10 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher 1 Energy', + : 'energy', + : 'Dishwasher 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_1_energy', @@ -14772,10 +14772,10 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher 1 Energy difference', + : 'energy', + : 'Dishwasher 1 Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_1_energy_difference', @@ -14830,10 +14830,10 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher 1 Energy saved', + : 'energy', + : 'Dishwasher 1 Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_1_energy_saved', @@ -14896,8 +14896,8 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher 1 Job state', + : 'enum', + : 'Dishwasher 1 Job state', : list([ 'air_wash', 'cooling', @@ -14965,8 +14965,8 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dishwasher 1 Machine state', + : 'enum', + : 'Dishwasher 1 Machine state', : list([ 'pause', 'run', @@ -15026,12 +15026,12 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dishwasher 1 Power', + : 'power', + : 'Dishwasher 1 Power', 'power_consumption_end': '2025-11-15T13:57:48Z', 'power_consumption_start': '2025-11-15T13:56:40Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_1_power', @@ -15086,10 +15086,10 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dishwasher 1 Power energy', + : 'energy', + : 'Dishwasher 1 Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_1_power_energy', @@ -15144,10 +15144,10 @@ # name: test_all_entities[da_wm_dw_01011][sensor.dishwasher_1_water_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Dishwasher 1 Water consumption', + : 'water', + : 'Dishwasher 1 Water consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dishwasher_1_water_consumption', @@ -15206,8 +15206,8 @@ # name: test_all_entities[da_wm_mf_01001][sensor.filtro_in_microfibra_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Filtro in microfibra Job state', + : 'enum', + : 'Filtro in microfibra Job state', : list([ 'none', 'filtering', @@ -15271,8 +15271,8 @@ # name: test_all_entities[da_wm_mf_01001][sensor.filtro_in_microfibra_operating_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Filtro in microfibra Operating state', + : 'enum', + : 'Filtro in microfibra Operating state', : list([ 'ready', 'running', @@ -15329,9 +15329,9 @@ # name: test_all_entities[da_wm_mf_01001][sensor.filtro_in_microfibra_water_filter_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Filtro in microfibra Water filter usage', + : 'Filtro in microfibra Water filter usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.filtro_in_microfibra_water_filter_usage', @@ -15381,8 +15381,8 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'AirDresser Completion time', + : 'timestamp', + : 'AirDresser Completion time', }), 'context': , 'entity_id': 'sensor.airdresser_completion_time', @@ -15437,10 +15437,10 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AirDresser Energy', + : 'energy', + : 'AirDresser Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airdresser_energy', @@ -15495,10 +15495,10 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AirDresser Energy difference', + : 'energy', + : 'AirDresser Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airdresser_energy_difference', @@ -15553,10 +15553,10 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AirDresser Energy saved', + : 'energy', + : 'AirDresser Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airdresser_energy_saved', @@ -15624,8 +15624,8 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'AirDresser Job state', + : 'enum', + : 'AirDresser Job state', : list([ 'cooling', 'delay_wash', @@ -15698,8 +15698,8 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'AirDresser Machine state', + : 'enum', + : 'AirDresser Machine state', : list([ 'pause', 'run', @@ -15759,12 +15759,12 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'AirDresser Power', + : 'power', + : 'AirDresser Power', 'power_consumption_end': '2025-02-11T08:21:17Z', 'power_consumption_start': '2025-02-10T22:51:59Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airdresser_power', @@ -15819,10 +15819,10 @@ # name: test_all_entities[da_wm_sc_000001][sensor.airdresser_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AirDresser Power energy', + : 'energy', + : 'AirDresser Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.airdresser_power_energy', @@ -15872,8 +15872,8 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Dryer Completion time', + : 'timestamp', + : 'Dryer Completion time', }), 'context': , 'entity_id': 'sensor.theater_dryer_completion_time', @@ -15928,10 +15928,10 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dryer Energy', + : 'energy', + : 'Dryer Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dryer_energy', @@ -15986,10 +15986,10 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dryer Energy difference', + : 'energy', + : 'Dryer Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dryer_energy_difference', @@ -16044,10 +16044,10 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dryer Energy saved', + : 'energy', + : 'Dryer Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dryer_energy_saved', @@ -16115,8 +16115,8 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dryer Job state', + : 'enum', + : 'Dryer Job state', : list([ 'cooling', 'delay_wash', @@ -16189,8 +16189,8 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dryer Machine state', + : 'enum', + : 'Dryer Machine state', : list([ 'pause', 'run', @@ -16250,12 +16250,12 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dryer Power', + : 'power', + : 'Dryer Power', 'power_consumption_end': '2025-02-08T18:10:11Z', 'power_consumption_start': '2025-02-07T04:00:19Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dryer_power', @@ -16310,10 +16310,10 @@ # name: test_all_entities[da_wm_wd_000001][sensor.theater_dryer_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dryer Power energy', + : 'energy', + : 'Dryer Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_dryer_power_energy', @@ -16363,8 +16363,8 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Seca-Roupa Completion time', + : 'timestamp', + : 'Seca-Roupa Completion time', }), 'context': , 'entity_id': 'sensor.seca_roupa_completion_time', @@ -16419,10 +16419,10 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Seca-Roupa Energy', + : 'energy', + : 'Seca-Roupa Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.seca_roupa_energy', @@ -16477,10 +16477,10 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Seca-Roupa Energy difference', + : 'energy', + : 'Seca-Roupa Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.seca_roupa_energy_difference', @@ -16535,10 +16535,10 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Seca-Roupa Energy saved', + : 'energy', + : 'Seca-Roupa Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.seca_roupa_energy_saved', @@ -16606,8 +16606,8 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Seca-Roupa Job state', + : 'enum', + : 'Seca-Roupa Job state', : list([ 'cooling', 'delay_wash', @@ -16680,8 +16680,8 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Seca-Roupa Machine state', + : 'enum', + : 'Seca-Roupa Machine state', : list([ 'pause', 'run', @@ -16741,12 +16741,12 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Seca-Roupa Power', + : 'power', + : 'Seca-Roupa Power', 'power_consumption_end': '2025-03-09T19:47:37Z', 'power_consumption_start': '2025-03-09T19:47:26Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.seca_roupa_power', @@ -16801,10 +16801,10 @@ # name: test_all_entities[da_wm_wd_000001_1][sensor.seca_roupa_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Seca-Roupa Power energy', + : 'energy', + : 'Seca-Roupa Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.seca_roupa_power_energy', @@ -16854,8 +16854,8 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Trockner Completion time', + : 'timestamp', + : 'Trockner Completion time', }), 'context': , 'entity_id': 'sensor.trockner_completion_time', @@ -16910,10 +16910,10 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Trockner Energy', + : 'energy', + : 'Trockner Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.trockner_energy', @@ -16968,10 +16968,10 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Trockner Energy difference', + : 'energy', + : 'Trockner Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.trockner_energy_difference', @@ -17026,10 +17026,10 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Trockner Energy saved', + : 'energy', + : 'Trockner Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.trockner_energy_saved', @@ -17097,8 +17097,8 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Trockner Job state', + : 'enum', + : 'Trockner Job state', : list([ 'cooling', 'delay_wash', @@ -17171,8 +17171,8 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Trockner Machine state', + : 'enum', + : 'Trockner Machine state', : list([ 'pause', 'run', @@ -17232,12 +17232,12 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Trockner Power', + : 'power', + : 'Trockner Power', 'power_consumption_end': '2025-10-16T09:45:07Z', 'power_consumption_start': '2025-10-16T09:03:25Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.trockner_power', @@ -17292,10 +17292,10 @@ # name: test_all_entities[da_wm_wd_01011][sensor.trockner_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Trockner Power energy', + : 'energy', + : 'Trockner Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.trockner_power_energy', @@ -17345,8 +17345,8 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washer Completion time', + : 'timestamp', + : 'Washer Completion time', }), 'context': , 'entity_id': 'sensor.theater_washer_completion_time', @@ -17401,10 +17401,10 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washer Energy', + : 'energy', + : 'Washer Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_washer_energy', @@ -17459,10 +17459,10 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washer Energy difference', + : 'energy', + : 'Washer Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_washer_energy_difference', @@ -17517,10 +17517,10 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washer Energy saved', + : 'energy', + : 'Washer Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_washer_energy_saved', @@ -17589,8 +17589,8 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer Job state', + : 'enum', + : 'Washer Job state', : list([ 'air_wash', 'ai_rinse', @@ -17664,8 +17664,8 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer Machine state', + : 'enum', + : 'Washer Machine state', : list([ 'pause', 'run', @@ -17725,12 +17725,12 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Washer Power', + : 'power', + : 'Washer Power', 'power_consumption_end': '2025-02-07T03:09:45Z', 'power_consumption_start': '2025-02-07T03:09:24Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_washer_power', @@ -17785,10 +17785,10 @@ # name: test_all_entities[da_wm_wm_000001][sensor.theater_washer_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washer Power energy', + : 'energy', + : 'Washer Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_washer_power_energy', @@ -17838,8 +17838,8 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washing Machine Completion time', + : 'timestamp', + : 'Washing Machine Completion time', }), 'context': , 'entity_id': 'sensor.washing_machine_completion_time', @@ -17894,10 +17894,10 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washing Machine Energy', + : 'energy', + : 'Washing Machine Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_energy', @@ -17952,10 +17952,10 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washing Machine Energy difference', + : 'energy', + : 'Washing Machine Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_energy_difference', @@ -18010,10 +18010,10 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washing Machine Energy saved', + : 'energy', + : 'Washing Machine Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_energy_saved', @@ -18082,8 +18082,8 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing Machine Job state', + : 'enum', + : 'Washing Machine Job state', : list([ 'air_wash', 'ai_rinse', @@ -18157,8 +18157,8 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washing Machine Machine state', + : 'enum', + : 'Washing Machine Machine state', : list([ 'pause', 'run', @@ -18218,12 +18218,12 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Washing Machine Power', + : 'power', + : 'Washing Machine Power', 'power_consumption_end': '2025-03-07T06:23:21Z', 'power_consumption_start': '2025-03-07T06:21:09Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_power', @@ -18278,10 +18278,10 @@ # name: test_all_entities[da_wm_wm_000001_1][sensor.washing_machine_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Washing Machine Power energy', + : 'energy', + : 'Washing Machine Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.washing_machine_power_energy', @@ -18331,8 +18331,8 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Machine à Laver Completion time', + : 'timestamp', + : 'Machine à Laver Completion time', }), 'context': , 'entity_id': 'sensor.machine_a_laver_completion_time', @@ -18387,10 +18387,10 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Machine à Laver Energy', + : 'energy', + : 'Machine à Laver Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.machine_a_laver_energy', @@ -18445,10 +18445,10 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Machine à Laver Energy difference', + : 'energy', + : 'Machine à Laver Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.machine_a_laver_energy_difference', @@ -18503,10 +18503,10 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_energy_saved-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Machine à Laver Energy saved', + : 'energy', + : 'Machine à Laver Energy saved', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.machine_a_laver_energy_saved', @@ -18575,8 +18575,8 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Machine à Laver Job state', + : 'enum', + : 'Machine à Laver Job state', : list([ 'air_wash', 'ai_rinse', @@ -18650,8 +18650,8 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Machine à Laver Machine state', + : 'enum', + : 'Machine à Laver Machine state', : list([ 'pause', 'run', @@ -18711,12 +18711,12 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Machine à Laver Power', + : 'power', + : 'Machine à Laver Power', 'power_consumption_end': '2025-04-25T08:43:46Z', 'power_consumption_start': '2025-04-25T08:28:43Z', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.machine_a_laver_power', @@ -18771,10 +18771,10 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_power_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Machine à Laver Power energy', + : 'energy', + : 'Machine à Laver Power energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.machine_a_laver_power_energy', @@ -18829,10 +18829,10 @@ # name: test_all_entities[da_wm_wm_01011][sensor.machine_a_laver_water_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Machine à Laver Water consumption', + : 'water', + : 'Machine à Laver Water consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.machine_a_laver_water_consumption', @@ -18882,8 +18882,8 @@ # name: test_all_entities[da_wm_wm_100001][sensor.washer_1_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washer 1 Completion time', + : 'timestamp', + : 'Washer 1 Completion time', }), 'context': , 'entity_id': 'sensor.washer_1_completion_time', @@ -18952,8 +18952,8 @@ # name: test_all_entities[da_wm_wm_100001][sensor.washer_1_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer 1 Job state', + : 'enum', + : 'Washer 1 Job state', : list([ 'air_wash', 'ai_rinse', @@ -19027,8 +19027,8 @@ # name: test_all_entities[da_wm_wm_100001][sensor.washer_1_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer 1 Machine state', + : 'enum', + : 'Washer 1 Machine state', : list([ 'pause', 'run', @@ -19083,8 +19083,8 @@ # name: test_all_entities[da_wm_wm_100002][sensor.washer_2_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washer 2 Completion time', + : 'timestamp', + : 'Washer 2 Completion time', }), 'context': , 'entity_id': 'sensor.washer_2_completion_time', @@ -19153,8 +19153,8 @@ # name: test_all_entities[da_wm_wm_100002][sensor.washer_2_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer 2 Job state', + : 'enum', + : 'Washer 2 Job state', : list([ 'air_wash', 'ai_rinse', @@ -19228,8 +19228,8 @@ # name: test_all_entities[da_wm_wm_100002][sensor.washer_2_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer 2 Machine state', + : 'enum', + : 'Washer 2 Machine state', : list([ 'pause', 'run', @@ -19284,8 +19284,8 @@ # name: test_all_entities[da_wm_wm_100002][sensor.washer_2_upper_washer_completion_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washer 2 Upper washer completion time', + : 'timestamp', + : 'Washer 2 Upper washer completion time', }), 'context': , 'entity_id': 'sensor.washer_2_upper_washer_completion_time', @@ -19354,8 +19354,8 @@ # name: test_all_entities[da_wm_wm_100002][sensor.washer_2_upper_washer_job_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer 2 Upper washer job state', + : 'enum', + : 'Washer 2 Upper washer job state', : list([ 'air_wash', 'ai_rinse', @@ -19429,8 +19429,8 @@ # name: test_all_entities[da_wm_wm_100002][sensor.washer_2_upper_washer_machine_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer 2 Upper washer machine state', + : 'enum', + : 'Washer 2 Upper washer machine state', : list([ 'pause', 'run', @@ -19490,10 +19490,10 @@ # name: test_all_entities[ecobee_sensor][sensor.child_bedroom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Child Bedroom Temperature', + : 'temperature', + : 'Child Bedroom Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.child_bedroom_temperature', @@ -19545,10 +19545,10 @@ # name: test_all_entities[ecobee_thermostat][sensor.main_floor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Main Floor Humidity', + : 'humidity', + : 'Main Floor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.main_floor_humidity', @@ -19603,10 +19603,10 @@ # name: test_all_entities[ecobee_thermostat][sensor.main_floor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Main Floor Temperature', + : 'temperature', + : 'Main Floor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.main_floor_temperature', @@ -19658,10 +19658,10 @@ # name: test_all_entities[ecobee_thermostat_offline][sensor.downstairs_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Downstairs Humidity', + : 'humidity', + : 'Downstairs Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.downstairs_humidity', @@ -19713,8 +19713,8 @@ # name: test_all_entities[ecobee_thermostat_offline][sensor.downstairs_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Downstairs Temperature', + : 'temperature', + : 'Downstairs Temperature', : , }), 'context': , @@ -19770,10 +19770,10 @@ # name: test_all_entities[fibaro_dimmer_2][sensor.dimmer_entre_1_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dimmer entré 1 1 Energy', + : 'energy', + : 'Dimmer entré 1 1 Energy', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.dimmer_entre_1_1_energy', @@ -19828,10 +19828,10 @@ # name: test_all_entities[fibaro_dimmer_2][sensor.dimmer_entre_1_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dimmer entré 1 1 Power', + : 'power', + : 'Dimmer entré 1 1 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.dimmer_entre_1_1_power', @@ -19883,7 +19883,7 @@ # name: test_all_entities[gas_detector][sensor.gas_detector_link_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gas Detector Link quality', + : 'Gas Detector Link quality', : , }), 'context': , @@ -19936,10 +19936,10 @@ # name: test_all_entities[gas_detector][sensor.gas_detector_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Gas Detector Signal strength', + : 'signal_strength', + : 'Gas Detector Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.gas_detector_signal_strength', @@ -19997,10 +19997,10 @@ # name: test_all_entities[gas_meter][sensor.gas_meter_gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas Meter Gas', + : 'gas', + : 'Gas Meter Gas', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_meter_gas', @@ -20055,10 +20055,10 @@ # name: test_all_entities[gas_meter][sensor.gas_meter_gas_meter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Gas Meter Gas meter', + : 'energy', + : 'Gas Meter Gas meter', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.gas_meter_gas_meter', @@ -20108,7 +20108,7 @@ # name: test_all_entities[gas_meter][sensor.gas_meter_gas_meter_calorific-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gas Meter Gas meter calorific', + : 'Gas Meter Gas meter calorific', }), 'context': , 'entity_id': 'sensor.gas_meter_gas_meter_calorific', @@ -20158,8 +20158,8 @@ # name: test_all_entities[gas_meter][sensor.gas_meter_gas_meter_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Gas Meter Gas meter time', + : 'timestamp', + : 'Gas Meter Gas meter time', }), 'context': , 'entity_id': 'sensor.gas_meter_gas_meter_time', @@ -20211,7 +20211,7 @@ # name: test_all_entities[generic_ef00_v1][sensor.thermostat_kuche_link_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Thermostat Küche Link quality', + : 'Thermostat Küche Link quality', : , }), 'context': , @@ -20264,10 +20264,10 @@ # name: test_all_entities[generic_ef00_v1][sensor.thermostat_kuche_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Thermostat Küche Signal strength', + : 'signal_strength', + : 'Thermostat Küche Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.thermostat_kuche_signal_strength', @@ -20322,10 +20322,10 @@ # name: test_all_entities[generic_ef00_v1][sensor.thermostat_kuche_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Thermostat Küche Temperature', + : 'temperature', + : 'Thermostat Küche Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.thermostat_kuche_temperature', @@ -20375,9 +20375,9 @@ # name: test_all_entities[heatit_zpushwall][sensor.livingroom_smart_switch_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Livingroom smart switch Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Livingroom smart switch Battery', + : '%', }), 'context': , 'entity_id': 'sensor.livingroom_smart_switch_battery', @@ -20432,10 +20432,10 @@ # name: test_all_entities[heatit_ztrm3_thermostat][sensor.hall_thermostat_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Hall thermostat Energy', + : 'energy', + : 'Hall thermostat Energy', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.hall_thermostat_energy', @@ -20490,10 +20490,10 @@ # name: test_all_entities[heatit_ztrm3_thermostat][sensor.hall_thermostat_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Hall thermostat Power', + : 'power', + : 'Hall thermostat Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.hall_thermostat_power', @@ -20548,10 +20548,10 @@ # name: test_all_entities[heatit_ztrm3_thermostat][sensor.hall_thermostat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Hall thermostat Temperature', + : 'temperature', + : 'Hall thermostat Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hall_thermostat_temperature', @@ -20601,9 +20601,9 @@ # name: test_all_entities[ikea_kadrilj][sensor.kitchen_ikea_kadrilj_window_blind_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Kitchen IKEA KADRILJ Window blind Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Kitchen IKEA KADRILJ Window blind Battery', + : '%', }), 'context': , 'entity_id': 'sensor.kitchen_ikea_kadrilj_window_blind_battery', @@ -20653,9 +20653,9 @@ # name: test_all_entities[ikea_leak_battery][sensor.waschkeller_feuchtigkeitssensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Waschkeller Feuchtigkeitssensor Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Waschkeller Feuchtigkeitssensor Battery', + : '%', }), 'context': , 'entity_id': 'sensor.waschkeller_feuchtigkeitssensor_battery', @@ -20705,9 +20705,9 @@ # name: test_all_entities[ikea_motion_illuminance_battery][sensor.gaderobe_bewegungsmelder_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Gaderobe Bewegungsmelder Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Gaderobe Bewegungsmelder Battery', + : '%', }), 'context': , 'entity_id': 'sensor.gaderobe_bewegungsmelder_battery', @@ -20759,10 +20759,10 @@ # name: test_all_entities[ikea_motion_illuminance_battery][sensor.gaderobe_bewegungsmelder_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Gaderobe Bewegungsmelder Illuminance', + : 'illuminance', + : 'Gaderobe Bewegungsmelder Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.gaderobe_bewegungsmelder_illuminance', @@ -20817,10 +20817,10 @@ # name: test_all_entities[ikea_plug_powermeter][sensor.ikea_plug_powermeter_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'IKEA Plug Powermeter Energy', + : 'energy', + : 'IKEA Plug Powermeter Energy', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.ikea_plug_powermeter_energy', @@ -20875,10 +20875,10 @@ # name: test_all_entities[ikea_plug_powermeter][sensor.ikea_plug_powermeter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'IKEA Plug Powermeter Power', + : 'power', + : 'IKEA Plug Powermeter Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.ikea_plug_powermeter_power', @@ -20936,10 +20936,10 @@ # name: test_all_entities[lumi][sensor.outdoor_temp_atmospheric_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'Outdoor Temp Atmospheric pressure', + : 'atmospheric_pressure', + : 'Outdoor Temp Atmospheric pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outdoor_temp_atmospheric_pressure', @@ -20989,9 +20989,9 @@ # name: test_all_entities[lumi][sensor.outdoor_temp_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Outdoor Temp Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Outdoor Temp Battery', + : '%', }), 'context': , 'entity_id': 'sensor.outdoor_temp_battery', @@ -21043,10 +21043,10 @@ # name: test_all_entities[lumi][sensor.outdoor_temp_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Outdoor Temp Humidity', + : 'humidity', + : 'Outdoor Temp Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.outdoor_temp_humidity', @@ -21101,10 +21101,10 @@ # name: test_all_entities[lumi][sensor.outdoor_temp_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Outdoor Temp Temperature', + : 'temperature', + : 'Outdoor Temp Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outdoor_temp_temperature', @@ -21159,10 +21159,10 @@ # name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Waschkeller Trockner Plug Energy', + : 'energy', + : 'Waschkeller Trockner Plug Energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.waschkeller_trockner_plug_energy', @@ -21217,10 +21217,10 @@ # name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_energy_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Waschkeller Trockner Plug Energy', + : 'energy', + : 'Waschkeller Trockner Plug Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.waschkeller_trockner_plug_energy_2', @@ -21275,10 +21275,10 @@ # name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Waschkeller Trockner Plug Energy difference', + : 'energy', + : 'Waschkeller Trockner Plug Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.waschkeller_trockner_plug_energy_difference', @@ -21333,10 +21333,10 @@ # name: test_all_entities[meross_plug][sensor.waschkeller_trockner_plug_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Waschkeller Trockner Plug Power', + : 'power', + : 'Waschkeller Trockner Plug Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.waschkeller_trockner_plug_power', @@ -21386,9 +21386,9 @@ # name: test_all_entities[multipurpose_sensor][sensor.theater_deck_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Deck Door Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Deck Door Battery', + : '%', }), 'context': , 'entity_id': 'sensor.theater_deck_door_battery', @@ -21443,10 +21443,10 @@ # name: test_all_entities[multipurpose_sensor][sensor.theater_deck_door_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Deck Door Temperature', + : 'temperature', + : 'Deck Door Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_deck_door_temperature', @@ -21496,7 +21496,7 @@ # name: test_all_entities[multipurpose_sensor][sensor.theater_deck_door_x_coordinate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Deck Door X coordinate', + : 'Deck Door X coordinate', }), 'context': , 'entity_id': 'sensor.theater_deck_door_x_coordinate', @@ -21546,7 +21546,7 @@ # name: test_all_entities[multipurpose_sensor][sensor.theater_deck_door_y_coordinate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Deck Door Y coordinate', + : 'Deck Door Y coordinate', }), 'context': , 'entity_id': 'sensor.theater_deck_door_y_coordinate', @@ -21596,7 +21596,7 @@ # name: test_all_entities[multipurpose_sensor][sensor.theater_deck_door_z_coordinate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Deck Door Z coordinate', + : 'Deck Door Z coordinate', }), 'context': , 'entity_id': 'sensor.theater_deck_door_z_coordinate', @@ -21648,10 +21648,10 @@ # name: test_all_entities[sensi_thermostat][sensor.thermostat_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Thermostat Humidity', + : 'humidity', + : 'Thermostat Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.thermostat_humidity', @@ -21706,10 +21706,10 @@ # name: test_all_entities[sensi_thermostat][sensor.thermostat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Thermostat Temperature', + : 'temperature', + : 'Thermostat Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.thermostat_temperature', @@ -21759,7 +21759,7 @@ # name: test_all_entities[sensibo_airconditioner_1][sensor.office_air_conditioner_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Air conditioner mode', + : 'Office Air conditioner mode', }), 'context': , 'entity_id': 'sensor.office_air_conditioner_mode', @@ -21812,9 +21812,9 @@ # name: test_all_entities[sensibo_airconditioner_1][sensor.office_cooling_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Office Cooling setpoint', - 'unit_of_measurement': , + : 'temperature', + : 'Office Cooling setpoint', + : , }), 'context': , 'entity_id': 'sensor.office_cooling_setpoint', @@ -21864,9 +21864,9 @@ # name: test_all_entities[tesla_powerwall][sensor.powerwall_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Powerwall Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Powerwall Battery', + : '%', }), 'context': , 'entity_id': 'sensor.powerwall_battery', @@ -21921,10 +21921,10 @@ # name: test_all_entities[tplink_p110][sensor.spulmaschine_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Spülmaschine Energy', + : 'energy', + : 'Spülmaschine Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.spulmaschine_energy', @@ -21979,10 +21979,10 @@ # name: test_all_entities[tplink_p110][sensor.spulmaschine_energy_difference-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Spülmaschine Energy difference', + : 'energy', + : 'Spülmaschine Energy difference', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.spulmaschine_energy_difference', @@ -22034,9 +22034,9 @@ # name: test_all_entities[vd_sensor_light_2023][sensor.light_sensor_55_the_frame_brightness_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light Sensor - 55" The Frame Brightness intensity', + : 'Light Sensor - 55" The Frame Brightness intensity', : , - 'unit_of_measurement': 'level', + : 'level', }), 'context': , 'entity_id': 'sensor.light_sensor_55_the_frame_brightness_intensity', @@ -22086,7 +22086,7 @@ # name: test_all_entities[vd_stv_2017_k][sensor.theater_tv_samsung_8_series_49_tv_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[TV] Samsung 8 Series (49) TV channel', + : '[TV] Samsung 8 Series (49) TV channel', }), 'context': , 'entity_id': 'sensor.theater_tv_samsung_8_series_49_tv_channel', @@ -22136,7 +22136,7 @@ # name: test_all_entities[vd_stv_2017_k][sensor.theater_tv_samsung_8_series_49_tv_channel_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '[TV] Samsung 8 Series (49) TV channel name', + : '[TV] Samsung 8 Series (49) TV channel name', }), 'context': , 'entity_id': 'sensor.theater_tv_samsung_8_series_49_tv_channel_name', @@ -22186,9 +22186,9 @@ # name: test_all_entities[virtual_thermostat][sensor.theater_virtual_thermostat_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'virtual thermostat Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'virtual thermostat Battery', + : '%', }), 'context': , 'entity_id': 'sensor.theater_virtual_thermostat_battery', @@ -22243,10 +22243,10 @@ # name: test_all_entities[virtual_thermostat][sensor.theater_virtual_thermostat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'virtual thermostat Temperature', + : 'temperature', + : 'virtual thermostat Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.theater_virtual_thermostat_temperature', @@ -22296,9 +22296,9 @@ # name: test_all_entities[virtual_water_sensor][sensor.theater_virtual_water_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'virtual water sensor Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'virtual water sensor Battery', + : '%', }), 'context': , 'entity_id': 'sensor.theater_virtual_water_sensor_battery', @@ -22348,9 +22348,9 @@ # name: test_all_entities[yale_push_button_deadbolt_lock][sensor.theater_basement_door_lock_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Basement Door Lock Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Basement Door Lock Battery', + : '%', }), 'context': , 'entity_id': 'sensor.theater_basement_door_lock_battery', diff --git a/tests/components/smartthings/snapshots/test_switch.ambr b/tests/components/smartthings/snapshots/test_switch.ambr index 3aa87ebd9de..0ea3acea5d4 100644 --- a/tests/components/smartthings/snapshots/test_switch.ambr +++ b/tests/components/smartthings/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[c2c_arlo_pro_3_switch][switch.theater_2nd_floor_hallway-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '2nd Floor Hallway', + : '2nd Floor Hallway', }), 'context': , 'entity_id': 'switch.theater_2nd_floor_hallway', @@ -89,7 +89,7 @@ # name: test_all_entities[da_ac_air_000001][switch.air_purifier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air purifier', + : 'Air purifier', }), 'context': , 'entity_id': 'switch.air_purifier', @@ -139,7 +139,7 @@ # name: test_all_entities[da_ac_air_01011][switch.air_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air filter', + : 'Air filter', }), 'context': , 'entity_id': 'switch.air_filter', @@ -189,7 +189,7 @@ # name: test_all_entities[da_ac_cac_01001][switch.ar_varanda_sound_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ar Varanda Sound effect', + : 'Ar Varanda Sound effect', }), 'context': , 'entity_id': 'switch.ar_varanda_sound_effect', @@ -239,7 +239,7 @@ # name: test_all_entities[da_ac_rac_000001][switch.theater_ac_office_granit_purify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AC Office Granit Purify', + : 'AC Office Granit Purify', }), 'context': , 'entity_id': 'switch.theater_ac_office_granit_purify', @@ -289,7 +289,7 @@ # name: test_all_entities[da_ac_rac_01001][switch.theater_aire_dormitorio_principal_display_lighting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aire Dormitorio Principal Display lighting', + : 'Aire Dormitorio Principal Display lighting', }), 'context': , 'entity_id': 'switch.theater_aire_dormitorio_principal_display_lighting', @@ -339,7 +339,7 @@ # name: test_all_entities[da_ac_rac_01001][switch.theater_aire_dormitorio_principal_sound_effect-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aire Dormitorio Principal Sound effect', + : 'Aire Dormitorio Principal Sound effect', }), 'context': , 'entity_id': 'switch.theater_aire_dormitorio_principal_sound_effect', @@ -389,7 +389,7 @@ # name: test_all_entities[da_ks_hood_01001][switch.range_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood', + : 'Range hood', }), 'context': , 'entity_id': 'switch.range_hood', @@ -439,7 +439,7 @@ # name: test_all_entities[da_ks_hood_01001][switch.range_hood_do_not_disturb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood Do not disturb', + : 'Range hood Do not disturb', }), 'context': , 'entity_id': 'switch.range_hood_do_not_disturb', @@ -489,7 +489,7 @@ # name: test_all_entities[da_ks_walloven_0107x][switch.four_sabbath_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Four Sabbath mode', + : 'Four Sabbath mode', }), 'context': , 'entity_id': 'switch.four_sabbath_mode', @@ -539,7 +539,7 @@ # name: test_all_entities[da_ref_normal_000001][switch.theater_refrigerator_cubed_ice-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Cubed ice', + : 'Refrigerator Cubed ice', }), 'context': , 'entity_id': 'switch.theater_refrigerator_cubed_ice', @@ -589,7 +589,7 @@ # name: test_all_entities[da_ref_normal_000001][switch.theater_refrigerator_power_cool-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Power cool', + : 'Refrigerator Power cool', }), 'context': , 'entity_id': 'switch.theater_refrigerator_power_cool', @@ -639,7 +639,7 @@ # name: test_all_entities[da_ref_normal_000001][switch.theater_refrigerator_power_freeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Power freeze', + : 'Refrigerator Power freeze', }), 'context': , 'entity_id': 'switch.theater_refrigerator_power_freeze', @@ -689,7 +689,7 @@ # name: test_all_entities[da_ref_normal_000001][switch.theater_refrigerator_sabbath_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator Sabbath mode', + : 'Refrigerator Sabbath mode', }), 'context': , 'entity_id': 'switch.theater_refrigerator_sabbath_mode', @@ -739,7 +739,7 @@ # name: test_all_entities[da_ref_normal_01001][switch.refrigerator_1_cubed_ice-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator 1 Cubed ice', + : 'Refrigerator 1 Cubed ice', }), 'context': , 'entity_id': 'switch.refrigerator_1_cubed_ice', @@ -789,7 +789,7 @@ # name: test_all_entities[da_ref_normal_01001][switch.refrigerator_1_power_cool-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator 1 Power cool', + : 'Refrigerator 1 Power cool', }), 'context': , 'entity_id': 'switch.refrigerator_1_power_cool', @@ -839,7 +839,7 @@ # name: test_all_entities[da_ref_normal_01001][switch.refrigerator_1_power_freeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Refrigerator 1 Power freeze', + : 'Refrigerator 1 Power freeze', }), 'context': , 'entity_id': 'switch.refrigerator_1_power_freeze', @@ -889,7 +889,7 @@ # name: test_all_entities[da_ref_normal_01011][switch.frigo_cubed_ice-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frigo Cubed ice', + : 'Frigo Cubed ice', }), 'context': , 'entity_id': 'switch.frigo_cubed_ice', @@ -939,7 +939,7 @@ # name: test_all_entities[da_ref_normal_01011][switch.frigo_ice_bites-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frigo Ice Bites', + : 'Frigo Ice Bites', }), 'context': , 'entity_id': 'switch.frigo_ice_bites', @@ -989,7 +989,7 @@ # name: test_all_entities[da_ref_normal_01011][switch.frigo_power_cool-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frigo Power cool', + : 'Frigo Power cool', }), 'context': , 'entity_id': 'switch.frigo_power_cool', @@ -1039,7 +1039,7 @@ # name: test_all_entities[da_ref_normal_01011][switch.frigo_power_freeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frigo Power freeze', + : 'Frigo Power freeze', }), 'context': , 'entity_id': 'switch.frigo_power_freeze', @@ -1089,7 +1089,7 @@ # name: test_all_entities[da_ref_normal_01011][switch.frigo_sabbath_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Frigo Sabbath mode', + : 'Frigo Sabbath mode', }), 'context': , 'entity_id': 'switch.frigo_sabbath_mode', @@ -1139,7 +1139,7 @@ # name: test_all_entities[da_ref_normal_01011_onedoor][switch.lodowka_power_cool-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lodówka Power cool', + : 'Lodówka Power cool', }), 'context': , 'entity_id': 'switch.lodowka_power_cool', @@ -1189,7 +1189,7 @@ # name: test_all_entities[da_rvc_map_01011][switch.robot_vacuum_do_not_disturb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Do not disturb', + : 'Robot Vacuum Do not disturb', }), 'context': , 'entity_id': 'switch.robot_vacuum_do_not_disturb', @@ -1239,7 +1239,7 @@ # name: test_all_entities[da_rvc_map_01011][switch.robot_vacuum_sound_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Sound detection', + : 'Robot Vacuum Sound detection', }), 'context': , 'entity_id': 'switch.robot_vacuum_sound_detection', @@ -1289,7 +1289,7 @@ # name: test_all_entities[da_rvc_normal_000001][switch.theater_robot_vacuum_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot vacuum 1', + : 'Robot vacuum 1', }), 'context': , 'entity_id': 'switch.theater_robot_vacuum_1', @@ -1339,7 +1339,7 @@ # name: test_all_entities[da_vc_stick_01001][switch.stick_vacuum_empty_dustbin-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Stick vacuum Empty dustbin', + : 'Stick vacuum Empty dustbin', }), 'context': , 'entity_id': 'switch.stick_vacuum_empty_dustbin', @@ -1389,7 +1389,7 @@ # name: test_all_entities[da_wm_dw_000001][switch.theater_dishwasher_high_temp_wash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher High temp wash', + : 'Dishwasher High temp wash', }), 'context': , 'entity_id': 'switch.theater_dishwasher_high_temp_wash', @@ -1439,7 +1439,7 @@ # name: test_all_entities[da_wm_dw_000001][switch.theater_dishwasher_sanitize-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Sanitize', + : 'Dishwasher Sanitize', }), 'context': , 'entity_id': 'switch.theater_dishwasher_sanitize', @@ -1489,7 +1489,7 @@ # name: test_all_entities[da_wm_dw_000001][switch.theater_dishwasher_speed_booster-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher Speed booster', + : 'Dishwasher Speed booster', }), 'context': , 'entity_id': 'switch.theater_dishwasher_speed_booster', @@ -1539,7 +1539,7 @@ # name: test_all_entities[da_wm_dw_01011][switch.dishwasher_1_sanitize-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Sanitize', + : 'Dishwasher 1 Sanitize', }), 'context': , 'entity_id': 'switch.dishwasher_1_sanitize', @@ -1589,7 +1589,7 @@ # name: test_all_entities[da_wm_dw_01011][switch.dishwasher_1_speed_booster-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dishwasher 1 Speed booster', + : 'Dishwasher 1 Speed booster', }), 'context': , 'entity_id': 'switch.dishwasher_1_speed_booster', @@ -1639,7 +1639,7 @@ # name: test_all_entities[da_wm_mf_01001][switch.filtro_in_microfibra-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Filtro in microfibra', + : 'Filtro in microfibra', }), 'context': , 'entity_id': 'switch.filtro_in_microfibra', @@ -1689,7 +1689,7 @@ # name: test_all_entities[da_wm_mf_01001][switch.filtro_in_microfibra_bypass_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Filtro in microfibra Bypass mode', + : 'Filtro in microfibra Bypass mode', }), 'context': , 'entity_id': 'switch.filtro_in_microfibra_bypass_mode', @@ -1739,7 +1739,7 @@ # name: test_all_entities[da_wm_sc_000001][switch.airdresser_auto_cycle_link-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirDresser Auto Cycle Link', + : 'AirDresser Auto Cycle Link', }), 'context': , 'entity_id': 'switch.airdresser_auto_cycle_link', @@ -1789,7 +1789,7 @@ # name: test_all_entities[da_wm_sc_000001][switch.airdresser_keep_fresh_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirDresser Keep fresh mode', + : 'AirDresser Keep fresh mode', }), 'context': , 'entity_id': 'switch.airdresser_keep_fresh_mode', @@ -1839,7 +1839,7 @@ # name: test_all_entities[da_wm_sc_000001][switch.airdresser_sanitize-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AirDresser Sanitize', + : 'AirDresser Sanitize', }), 'context': , 'entity_id': 'switch.airdresser_sanitize', @@ -1889,7 +1889,7 @@ # name: test_all_entities[da_wm_wd_000001][switch.theater_dryer_wrinkle_prevent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dryer Wrinkle prevent', + : 'Dryer Wrinkle prevent', }), 'context': , 'entity_id': 'switch.theater_dryer_wrinkle_prevent', @@ -1939,7 +1939,7 @@ # name: test_all_entities[da_wm_wd_000001_1][switch.seca_roupa_wrinkle_prevent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Seca-Roupa Wrinkle prevent', + : 'Seca-Roupa Wrinkle prevent', }), 'context': , 'entity_id': 'switch.seca_roupa_wrinkle_prevent', @@ -1989,7 +1989,7 @@ # name: test_all_entities[da_wm_wd_01011][switch.trockner_wrinkle_prevent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Trockner Wrinkle prevent', + : 'Trockner Wrinkle prevent', }), 'context': , 'entity_id': 'switch.trockner_wrinkle_prevent', @@ -2039,7 +2039,7 @@ # name: test_all_entities[da_wm_wm_000001_1][switch.washing_machine_bubble_soak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Washing Machine Bubble Soak', + : 'Washing Machine Bubble Soak', }), 'context': , 'entity_id': 'switch.washing_machine_bubble_soak', @@ -2089,7 +2089,7 @@ # name: test_all_entities[da_wm_wm_01011][switch.machine_a_laver_bubble_soak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Machine à Laver Bubble Soak', + : 'Machine à Laver Bubble Soak', }), 'context': , 'entity_id': 'switch.machine_a_laver_bubble_soak', @@ -2139,7 +2139,7 @@ # name: test_all_entities[generic_ef00_v1][switch.thermostat_kuche-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Thermostat Küche', + : 'Thermostat Küche', }), 'context': , 'entity_id': 'switch.thermostat_kuche', @@ -2189,7 +2189,7 @@ # name: test_all_entities[meross_plug][switch.waschkeller_trockner_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Waschkeller Trockner Plug', + : 'Waschkeller Trockner Plug', }), 'context': , 'entity_id': 'switch.waschkeller_trockner_plug', @@ -2239,7 +2239,7 @@ # name: test_all_entities[sensibo_airconditioner_1][switch.office-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office', + : 'Office', }), 'context': , 'entity_id': 'switch.office', @@ -2289,7 +2289,7 @@ # name: test_all_entities[smart_plug][switch.theater_arlo_beta_basestation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arlo Beta Basestation', + : 'Arlo Beta Basestation', }), 'context': , 'entity_id': 'switch.theater_arlo_beta_basestation', @@ -2339,7 +2339,7 @@ # name: test_all_entities[tplink_p110][switch.spulmaschine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Spülmaschine', + : 'Spülmaschine', }), 'context': , 'entity_id': 'switch.spulmaschine', @@ -2389,7 +2389,7 @@ # name: test_all_entities[vd_sensor_light_2023][switch.light_sensor_55_the_frame-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Light Sensor - 55" The Frame', + : 'Light Sensor - 55" The Frame', }), 'context': , 'entity_id': 'switch.light_sensor_55_the_frame', diff --git a/tests/components/smartthings/snapshots/test_time.ambr b/tests/components/smartthings/snapshots/test_time.ambr index e76c8bbf942..c2f547619e8 100644 --- a/tests/components/smartthings/snapshots/test_time.ambr +++ b/tests/components/smartthings/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[da_ks_hood_01001][time.range_hood_do_not_disturb_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood Do not disturb end time', + : 'Range hood Do not disturb end time', }), 'context': , 'entity_id': 'time.range_hood_do_not_disturb_end_time', @@ -89,7 +89,7 @@ # name: test_all_entities[da_ks_hood_01001][time.range_hood_do_not_disturb_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Range hood Do not disturb start time', + : 'Range hood Do not disturb start time', }), 'context': , 'entity_id': 'time.range_hood_do_not_disturb_start_time', @@ -139,7 +139,7 @@ # name: test_all_entities[da_rvc_map_01011][time.robot_vacuum_do_not_disturb_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Do not disturb end time', + : 'Robot Vacuum Do not disturb end time', }), 'context': , 'entity_id': 'time.robot_vacuum_do_not_disturb_end_time', @@ -189,7 +189,7 @@ # name: test_all_entities[da_rvc_map_01011][time.robot_vacuum_do_not_disturb_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Robot Vacuum Do not disturb start time', + : 'Robot Vacuum Do not disturb start time', }), 'context': , 'entity_id': 'time.robot_vacuum_do_not_disturb_start_time', diff --git a/tests/components/smartthings/snapshots/test_update.ambr b/tests/components/smartthings/snapshots/test_update.ambr index ff0e86fc3c9..6f311f926e9 100644 --- a/tests/components/smartthings/snapshots/test_update.ambr +++ b/tests/components/smartthings/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Smart Home Hub Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Smart Home Hub Firmware', : False, : 'hubv4@3.39.8-0-g342d3657', : 'hubv4@3.39.8-0-g342d3657', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -103,17 +103,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'aq-sensor-3-ikea Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'aq-sensor-3-ikea Firmware', : False, : '00010010', : '00010010', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -166,17 +166,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'G350 Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'G350 Firmware', : False, : '4.5.20 (4005020)', : '4.5.20 (4005020)', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -229,17 +229,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Radiator Thermostat II [+M] Wohnzimmer Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Radiator Thermostat II [+M] Wohnzimmer Firmware', : False, : '2.00.09 (20009)', : '2.00.09 (20009)', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -292,17 +292,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Dimmer Debian Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Dimmer Debian Firmware', : False, : '16015010', : '16015010', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -355,17 +355,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': '.Front Door Open/Closed Sensor Firmware', + : '/api/brands/integration/smartthings/icon.png', + : '.Front Door Open/Closed Sensor Firmware', : False, : '00000103', : '00000104', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -418,17 +418,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Kitchen IKEA KADRILJ Window blind Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Kitchen IKEA KADRILJ Window blind Firmware', : False, : '22007631', : '22007631', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -481,17 +481,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Waschkeller Feuchtigkeitssensor Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Waschkeller Feuchtigkeitssensor Firmware', : False, : '1.0.11 (16777227)', : '1.0.11 (16777227)', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -544,17 +544,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Gaderobe Bewegungsmelder Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Gaderobe Bewegungsmelder Firmware', : False, : '1.0.7 (16777223)', : '1.0.7 (16777223)', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -607,17 +607,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'IKEA Plug Powermeter Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'IKEA Plug Powermeter Firmware', : False, : '02040045', : '02040045', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -670,17 +670,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Waschkeller Trockner Plug Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Waschkeller Trockner Plug Firmware', : False, : '9.3.26 (1)', : '9.3.26 (1)', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -733,17 +733,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Deck Door Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Deck Door Firmware', : False, : '0000001B', : '0000001B', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -796,17 +796,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Arlo Beta Basestation Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Arlo Beta Basestation Firmware', : False, : '00102101', : '00102101', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -859,17 +859,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smartthings/icon.png', - 'friendly_name': 'Basement Door Lock Firmware', + : '/api/brands/integration/smartthings/icon.png', + : 'Basement Door Lock Firmware', : False, : '00840847', : '00840847', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/smartthings/snapshots/test_vacuum.ambr b/tests/components/smartthings/snapshots/test_vacuum.ambr index e95eb47d21f..1dd04e6550a 100644 --- a/tests/components/smartthings/snapshots/test_vacuum.ambr +++ b/tests/components/smartthings/snapshots/test_vacuum.ambr @@ -53,8 +53,8 @@ 'smart', 'quiet', ]), - 'friendly_name': 'Robot Vacuum', - 'supported_features': , + : 'Robot Vacuum', + : , }), 'context': , 'entity_id': 'vacuum.robot_vacuum', @@ -118,8 +118,8 @@ 'smart', 'quiet', ]), - 'friendly_name': 'Robot vacuum 1', - 'supported_features': , + : 'Robot vacuum 1', + : , }), 'context': , 'entity_id': 'vacuum.theater_robot_vacuum_1', diff --git a/tests/components/smartthings/snapshots/test_valve.ambr b/tests/components/smartthings/snapshots/test_valve.ambr index daa4bcb2526..18ed53dc374 100644 --- a/tests/components/smartthings/snapshots/test_valve.ambr +++ b/tests/components/smartthings/snapshots/test_valve.ambr @@ -39,10 +39,10 @@ # name: test_all_entities[virtual_valve][valve.theater_volvo-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'volvo', + : 'water', + : 'volvo', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.theater_volvo', diff --git a/tests/components/smartthings/snapshots/test_water_heater.ambr b/tests/components/smartthings/snapshots/test_water_heater.ambr index 2a0d5851043..2daa1f6b878 100644 --- a/tests/components/smartthings/snapshots/test_water_heater.ambr +++ b/tests/components/smartthings/snapshots/test_water_heater.ambr @@ -51,7 +51,7 @@ 'attributes': ReadOnlyDict({ : 'off', : 57, - 'friendly_name': 'Heat pump', + : 'Heat pump', : 69, : 38, : list([ @@ -62,7 +62,7 @@ 'high_demand', ]), : 'off', - 'supported_features': , + : , : 69, : 38, : 56, @@ -126,7 +126,7 @@ 'attributes': ReadOnlyDict({ : 'off', : 40.8, - 'friendly_name': 'Eco Heating System', + : 'Eco Heating System', : 60.0, : 40, : list([ @@ -136,7 +136,7 @@ 'high_demand', ]), : 'off', - 'supported_features': , + : , : 55, : 40, : 48, @@ -201,7 +201,7 @@ 'attributes': ReadOnlyDict({ : 'off', : 49.6, - 'friendly_name': 'Wärmepumpe', + : 'Wärmepumpe', : 60.0, : 40, : list([ @@ -212,7 +212,7 @@ 'high_demand', ]), : 'heat_pump', - 'supported_features': , + : , : 57, : 40, : 52, diff --git a/tests/components/smarty/snapshots/test_binary_sensor.ambr b/tests/components/smarty/snapshots/test_binary_sensor.ambr index 83736c23060..0c850965cd2 100644 --- a/tests/components/smarty/snapshots/test_binary_sensor.ambr +++ b/tests/components/smarty/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.mock_title_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title Alarm', + : 'problem', + : 'Mock Title Alarm', }), 'context': , 'entity_id': 'binary_sensor.mock_title_alarm', @@ -90,7 +90,7 @@ # name: test_all_entities[binary_sensor.mock_title_boost_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Boost state', + : 'Mock Title Boost state', }), 'context': , 'entity_id': 'binary_sensor.mock_title_boost_state', @@ -140,8 +140,8 @@ # name: test_all_entities[binary_sensor.mock_title_warning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mock Title Warning', + : 'problem', + : 'Mock Title Warning', }), 'context': , 'entity_id': 'binary_sensor.mock_title_warning', diff --git a/tests/components/smarty/snapshots/test_button.ambr b/tests/components/smarty/snapshots/test_button.ambr index 61532216662..c777a5c7e3a 100644 --- a/tests/components/smarty/snapshots/test_button.ambr +++ b/tests/components/smarty/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.mock_title_reset_filters_timer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Reset filters timer', + : 'Mock Title Reset filters timer', }), 'context': , 'entity_id': 'button.mock_title_reset_filters_timer', diff --git a/tests/components/smarty/snapshots/test_fan.ambr b/tests/components/smarty/snapshots/test_fan.ambr index d522260fd02..898c258dfa0 100644 --- a/tests/components/smarty/snapshots/test_fan.ambr +++ b/tests/components/smarty/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_all_entities[fan.mock_title-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title', + : 'Mock Title', : 0, : 33.333333333333336, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.mock_title', diff --git a/tests/components/smarty/snapshots/test_sensor.ambr b/tests/components/smarty/snapshots/test_sensor.ambr index 87045b58bae..ba9a478e4ac 100644 --- a/tests/components/smarty/snapshots/test_sensor.ambr +++ b/tests/components/smarty/snapshots/test_sensor.ambr @@ -42,9 +42,9 @@ # name: test_all_entities[sensor.mock_title_extract_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Extract air temperature', - 'unit_of_measurement': , + : 'temperature', + : 'Mock Title Extract air temperature', + : , }), 'context': , 'entity_id': 'sensor.mock_title_extract_air_temperature', @@ -94,8 +94,8 @@ # name: test_all_entities[sensor.mock_title_extract_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Extract fan speed', - 'unit_of_measurement': 'rpm', + : 'Mock Title Extract fan speed', + : 'rpm', }), 'context': , 'entity_id': 'sensor.mock_title_extract_fan_speed', @@ -145,8 +145,8 @@ # name: test_all_entities[sensor.mock_title_filter_days_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Filter days left', + : 'timestamp', + : 'Mock Title Filter days left', }), 'context': , 'entity_id': 'sensor.mock_title_filter_days_left', @@ -199,9 +199,9 @@ # name: test_all_entities[sensor.mock_title_outdoor_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Outdoor air temperature', - 'unit_of_measurement': , + : 'temperature', + : 'Mock Title Outdoor air temperature', + : , }), 'context': , 'entity_id': 'sensor.mock_title_outdoor_air_temperature', @@ -254,9 +254,9 @@ # name: test_all_entities[sensor.mock_title_supply_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Supply air temperature', - 'unit_of_measurement': , + : 'temperature', + : 'Mock Title Supply air temperature', + : , }), 'context': , 'entity_id': 'sensor.mock_title_supply_air_temperature', @@ -306,8 +306,8 @@ # name: test_all_entities[sensor.mock_title_supply_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Supply fan speed', - 'unit_of_measurement': 'rpm', + : 'Mock Title Supply fan speed', + : 'rpm', }), 'context': , 'entity_id': 'sensor.mock_title_supply_fan_speed', diff --git a/tests/components/smarty/snapshots/test_switch.ambr b/tests/components/smarty/snapshots/test_switch.ambr index 9bc74ff4d6c..989a1d6f83f 100644 --- a/tests/components/smarty/snapshots/test_switch.ambr +++ b/tests/components/smarty/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.mock_title_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mock Title Boost', + : 'Mock Title Boost', }), 'context': , 'entity_id': 'switch.mock_title_boost', diff --git a/tests/components/smhi/snapshots/test_sensor.ambr b/tests/components/smhi/snapshots/test_sensor.ambr index 62e44474310..2efd732829c 100644 --- a/tests/components/smhi/snapshots/test_sensor.ambr +++ b/tests/components/smhi/snapshots/test_sensor.ambr @@ -41,8 +41,8 @@ # name: test_sensor_setup[load_platforms0][sensor.test_build_up_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Build up index', + : 'Swedish weather institute (SMHI)', + : 'Test Build up index', : , }), 'context': , @@ -95,8 +95,8 @@ # name: test_sensor_setup[load_platforms0][sensor.test_drought_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Drought code', + : 'Swedish weather institute (SMHI)', + : 'Test Drought code', : , }), 'context': , @@ -149,8 +149,8 @@ # name: test_sensor_setup[load_platforms0][sensor.test_duff_moisture_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Duff moisture code', + : 'Swedish weather institute (SMHI)', + : 'Test Duff moisture code', : , }), 'context': , @@ -203,8 +203,8 @@ # name: test_sensor_setup[load_platforms0][sensor.test_fine_fuel_moisture_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Fine fuel moisture code', + : 'Swedish weather institute (SMHI)', + : 'Test Fine fuel moisture code', : , }), 'context': , @@ -257,8 +257,8 @@ # name: test_sensor_setup[load_platforms0][sensor.test_fire_weather_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Fire weather index', + : 'Swedish weather institute (SMHI)', + : 'Test Fire weather index', : , }), 'context': , @@ -309,9 +309,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_frozen_precipitation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Frozen precipitation', - 'unit_of_measurement': '%', + : 'Swedish weather institute (SMHI)', + : 'Test Frozen precipitation', + : '%', }), 'context': , 'entity_id': 'sensor.test_frozen_precipitation', @@ -370,9 +370,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_fuel_drying-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'device_class': 'enum', - 'friendly_name': 'Test Fuel drying', + : 'Swedish weather institute (SMHI)', + : 'enum', + : 'Test Fuel drying', : list([ 'very_wet', 'wet', @@ -439,9 +439,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_fwi_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'device_class': 'enum', - 'friendly_name': 'Test FWI index', + : 'Swedish weather institute (SMHI)', + : 'enum', + : 'Test FWI index', : list([ 'very_low', 'low', @@ -499,9 +499,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_high_cloud_coverage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test High cloud coverage', - 'unit_of_measurement': '%', + : 'Swedish weather institute (SMHI)', + : 'Test High cloud coverage', + : '%', }), 'context': , 'entity_id': 'sensor.test_high_cloud_coverage', @@ -560,9 +560,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_highest_grass_fire_risk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'device_class': 'enum', - 'friendly_name': 'Test Highest grass fire risk', + : 'Swedish weather institute (SMHI)', + : 'enum', + : 'Test Highest grass fire risk', : list([ 'snow_cover', 'season_over', @@ -622,8 +622,8 @@ # name: test_sensor_setup[load_platforms0][sensor.test_initial_spread_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Initial spread index', + : 'Swedish weather institute (SMHI)', + : 'Test Initial spread index', : , }), 'context': , @@ -674,9 +674,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_low_cloud_coverage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Low cloud coverage', - 'unit_of_measurement': '%', + : 'Swedish weather institute (SMHI)', + : 'Test Low cloud coverage', + : '%', }), 'context': , 'entity_id': 'sensor.test_low_cloud_coverage', @@ -726,9 +726,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_medium_cloud_coverage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Medium cloud coverage', - 'unit_of_measurement': '%', + : 'Swedish weather institute (SMHI)', + : 'Test Medium cloud coverage', + : '%', }), 'context': , 'entity_id': 'sensor.test_medium_cloud_coverage', @@ -783,11 +783,11 @@ # name: test_sensor_setup[load_platforms0][sensor.test_potential_rate_of_spread-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'device_class': 'speed', - 'friendly_name': 'Test Potential rate of spread', + : 'Swedish weather institute (SMHI)', + : 'speed', + : 'Test Potential rate of spread', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_potential_rate_of_spread', @@ -853,9 +853,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_precipitation_category-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'device_class': 'enum', - 'friendly_name': 'Test Precipitation category', + : 'Swedish weather institute (SMHI)', + : 'enum', + : 'Test Precipitation category', : list([ 'no_precipitation', 'rain', @@ -920,9 +920,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_thunder_probability-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Thunder probability', - 'unit_of_measurement': '%', + : 'Swedish weather institute (SMHI)', + : 'Test Thunder probability', + : '%', }), 'context': , 'entity_id': 'sensor.test_thunder_probability', @@ -972,9 +972,9 @@ # name: test_sensor_setup[load_platforms0][sensor.test_total_cloud_coverage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', - 'friendly_name': 'Test Total cloud coverage', - 'unit_of_measurement': '%', + : 'Swedish weather institute (SMHI)', + : 'Test Total cloud coverage', + : '%', }), 'context': , 'entity_id': 'sensor.test_total_cloud_coverage', diff --git a/tests/components/smhi/snapshots/test_weather.ambr b/tests/components/smhi/snapshots/test_weather.ambr index 1afe848a6d7..34d11855174 100644 --- a/tests/components/smhi/snapshots/test_weather.ambr +++ b/tests/components/smhi/snapshots/test_weather.ambr @@ -607,14 +607,14 @@ # --- # name: test_clear_night[1][clear_night] ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', + : 'Swedish weather institute (SMHI)', : 100, - 'friendly_name': 'Test', + : 'Test', : 97, : , : 1008.2, : , - 'supported_features': , + : , : 5.3, : , 'thunder_probability': 1, @@ -839,14 +839,14 @@ # --- # name: test_setup_hass[load_platforms0] ReadOnlyDict({ - 'attribution': 'Swedish weather institute (SMHI)', + : 'Swedish weather institute (SMHI)', : 100, - 'friendly_name': 'Test', + : 'Test', : 80, : , : 1011.5, : , - 'supported_features': , + : , : 10.4, : , 'thunder_probability': 0, diff --git a/tests/components/smlight/snapshots/test_binary_sensor.ambr b/tests/components/smlight/snapshots/test_binary_sensor.ambr index c509ee3db22..f4cf3a20c40 100644 --- a/tests/components/smlight/snapshots/test_binary_sensor.ambr +++ b/tests/components/smlight/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_binary_sensors[binary_sensor.mock_title_ethernet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock Title Ethernet', + : 'connectivity', + : 'Mock Title Ethernet', }), 'context': , 'entity_id': 'binary_sensor.mock_title_ethernet', @@ -90,8 +90,8 @@ # name: test_all_binary_sensors[binary_sensor.mock_title_internet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock Title Internet', + : 'connectivity', + : 'Mock Title Internet', }), 'context': , 'entity_id': 'binary_sensor.mock_title_internet', @@ -141,8 +141,8 @@ # name: test_all_binary_sensors[binary_sensor.mock_title_vpn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock Title VPN', + : 'connectivity', + : 'Mock Title VPN', }), 'context': , 'entity_id': 'binary_sensor.mock_title_vpn', @@ -192,8 +192,8 @@ # name: test_all_binary_sensors[binary_sensor.mock_title_wi_fi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Mock Title Wi-Fi', + : 'connectivity', + : 'Mock Title Wi-Fi', }), 'context': , 'entity_id': 'binary_sensor.mock_title_wi_fi', diff --git a/tests/components/smlight/snapshots/test_light.ambr b/tests/components/smlight/snapshots/test_light.ambr index 5f97488064d..1bf6f6a632f 100644 --- a/tests/components/smlight/snapshots/test_light.ambr +++ b/tests/components/smlight/snapshots/test_light.ambr @@ -86,14 +86,14 @@ 'System OK', 'System Info', ]), - 'friendly_name': 'Mock Title Ambilight', + : 'Mock Title Ambilight', : None, - 'icon': 'mdi:led-strip', + : 'mdi:led-strip', : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/smlight/snapshots/test_sensor.ambr b/tests/components/smlight/snapshots/test_sensor.ambr index c6c08e9955c..3176a69c678 100644 --- a/tests/components/smlight/snapshots/test_sensor.ambr +++ b/tests/components/smlight/snapshots/test_sensor.ambr @@ -45,8 +45,8 @@ # name: test_sensors[sensor.mock_title_connection_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Connection mode', + : 'enum', + : 'Mock Title Connection mode', : list([ 'eth', 'wifi', @@ -106,10 +106,10 @@ # name: test_sensors[sensor.mock_title_core_chip_temp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Core chip temp', + : 'temperature', + : 'Mock Title Core chip temp', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_core_chip_temp', @@ -159,8 +159,8 @@ # name: test_sensors[sensor.mock_title_core_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Core uptime', + : 'timestamp', + : 'Mock Title Core uptime', }), 'context': , 'entity_id': 'sensor.mock_title_core_uptime', @@ -213,9 +213,9 @@ # name: test_sensors[sensor.mock_title_filesystem_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title Filesystem usage', - 'unit_of_measurement': , + : 'data_size', + : 'Mock Title Filesystem usage', + : , }), 'context': , 'entity_id': 'sensor.mock_title_filesystem_usage', @@ -270,8 +270,8 @@ # name: test_sensors[sensor.mock_title_firmware_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Firmware channel', + : 'enum', + : 'Mock Title Firmware channel', : list([ 'dev', 'release', @@ -328,9 +328,9 @@ # name: test_sensors[sensor.mock_title_ram_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Mock Title RAM usage', - 'unit_of_measurement': , + : 'data_size', + : 'Mock Title RAM usage', + : , }), 'context': , 'entity_id': 'sensor.mock_title_ram_usage', @@ -385,10 +385,10 @@ # name: test_sensors[sensor.mock_title_zigbee_chip_temp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Zigbee chip temp', + : 'temperature', + : 'Mock Title Zigbee chip temp', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_zigbee_chip_temp', @@ -443,10 +443,10 @@ # name: test_sensors[sensor.mock_title_zigbee_chip_temp_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Mock Title Zigbee chip temp', + : 'temperature', + : 'Mock Title Zigbee chip temp', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_title_zigbee_chip_temp_2', @@ -502,8 +502,8 @@ # name: test_sensors[sensor.mock_title_zigbee_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Mock Title Zigbee type', + : 'enum', + : 'Mock Title Zigbee type', : list([ 'coordinator', 'router', @@ -558,8 +558,8 @@ # name: test_sensors[sensor.mock_title_zigbee_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Mock Title Zigbee uptime', + : 'timestamp', + : 'Mock Title Zigbee uptime', }), 'context': , 'entity_id': 'sensor.mock_title_zigbee_uptime', diff --git a/tests/components/smlight/snapshots/test_switch.ambr b/tests/components/smlight/snapshots/test_switch.ambr index fc8cb4296ff..d0e614cfa9d 100644 --- a/tests/components/smlight/snapshots/test_switch.ambr +++ b/tests/components/smlight/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch_setup[switch.mock_title_auto_zigbee_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Title Auto Zigbee update', + : 'switch', + : 'Mock Title Auto Zigbee update', }), 'context': , 'entity_id': 'switch.mock_title_auto_zigbee_update', @@ -90,8 +90,8 @@ # name: test_switch_setup[switch.mock_title_disable_leds-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Title Disable LEDs', + : 'switch', + : 'Mock Title Disable LEDs', }), 'context': , 'entity_id': 'switch.mock_title_disable_leds', @@ -141,8 +141,8 @@ # name: test_switch_setup[switch.mock_title_led_night_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Title LED night mode', + : 'switch', + : 'Mock Title LED night mode', }), 'context': , 'entity_id': 'switch.mock_title_led_night_mode', @@ -192,8 +192,8 @@ # name: test_switch_setup[switch.mock_title_vpn_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Mock Title VPN enabled', + : 'switch', + : 'Mock Title VPN enabled', }), 'context': , 'entity_id': 'switch.mock_title_vpn_enabled', diff --git a/tests/components/smlight/snapshots/test_update.ambr b/tests/components/smlight/snapshots/test_update.ambr index 2ee467c11f6..1e4ee023443 100644 --- a/tests/components/smlight/snapshots/test_update.ambr +++ b/tests/components/smlight/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smlight/icon.png', - 'friendly_name': 'Mock Title Core firmware', + : '/api/brands/integration/smlight/icon.png', + : 'Mock Title Core firmware', : False, : 'v2.3.6', : 'v2.7.5', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -103,17 +103,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/smlight/icon.png', - 'friendly_name': 'Mock Title Zigbee firmware', + : '/api/brands/integration/smlight/icon.png', + : 'Mock Title Zigbee firmware', : False, : '20240314', : '20250201', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/smtp/snapshots/test_notify.ambr b/tests/components/smtp/snapshots/test_notify.ambr index 26ff23c557e..732bdf0d24b 100644 --- a/tests/components/smtp/snapshots/test_notify.ambr +++ b/tests/components/smtp/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.home_assistant_recipient-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Assistant Recipient', - 'supported_features': , + : 'Home Assistant Recipient', + : , }), 'context': , 'entity_id': 'notify.home_assistant_recipient', diff --git a/tests/components/snapcast/snapshots/test_media_player.ambr b/tests/components/snapcast/snapshots/test_media_player.ambr index 3a93993933c..133df186c7e 100644 --- a/tests/components/snapcast/snapshots/test_media_player.ambr +++ b/tests/components/snapcast/snapshots/test_media_player.ambr @@ -44,9 +44,9 @@ # name: test_state[media_player.test_client_1_snapcast_client-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'entity_picture': '/api/media_player_proxy/media_player.test_client_1_snapcast_client?token=mock_token&cache=6e2dee674d9d1dc7', - 'friendly_name': 'test_client_1 Snapcast Client', + : 'speaker', + : '/api/media_player_proxy/media_player.test_client_1_snapcast_client?token=mock_token&cache=6e2dee674d9d1dc7', + : 'test_client_1 Snapcast Client', : list([ 'media_player.test_client_1_snapcast_client', ]), @@ -65,7 +65,7 @@ 'Test Stream 1', 'Test Stream 2', ]), - 'supported_features': , + : , : 0.48, }), 'context': , @@ -121,8 +121,8 @@ # name: test_state[media_player.test_client_2_snapcast_client-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'test_client_2 Snapcast Client', + : 'speaker', + : 'test_client_2 Snapcast Client', : list([ 'media_player.test_client_2_snapcast_client', ]), @@ -134,7 +134,7 @@ 'Test Stream 1', 'Test Stream 2', ]), - 'supported_features': , + : , : 1.0, }), 'context': , diff --git a/tests/components/snoo/snapshots/test_button.ambr b/tests/components/snoo/snapshots/test_button.ambr index 2622abdffc7..b690380dc0a 100644 --- a/tests/components/snoo/snapshots/test_button.ambr +++ b/tests/components/snoo/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.test_snoo_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Snoo Start', + : 'Test Snoo Start', }), 'context': , 'entity_id': 'button.test_snoo_start', diff --git a/tests/components/solaredge/snapshots/test_sensor.ambr b/tests/components/solaredge/snapshots/test_sensor.ambr index 450a9fe3f00..8a77dd8ab35 100644 --- a/tests/components/solaredge/snapshots/test_sensor.ambr +++ b/tests/components/solaredge/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.battery_bat001_charge_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery BAT001 Charge energy today', + : 'energy', + : 'Battery BAT001 Charge energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_bat001_charge_energy_today', @@ -102,10 +102,10 @@ # name: test_all_entities[sensor.battery_bat001_discharge_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Battery BAT001 Discharge energy today', + : 'energy', + : 'Battery BAT001 Discharge energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_bat001_discharge_energy_today', @@ -160,10 +160,10 @@ # name: test_all_entities[sensor.battery_bat001_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Battery BAT001 Power', + : 'power', + : 'Battery BAT001 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_bat001_power', @@ -215,10 +215,10 @@ # name: test_all_entities[sensor.battery_bat001_state_of_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Battery BAT001 State of charge', + : 'battery', + : 'Battery BAT001 State of charge', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.battery_bat001_state_of_charge', @@ -277,7 +277,7 @@ 'nameplateCapacity': 9700.0, }), ]), - 'friendly_name': 'SolarEdge Batteries', + : 'SolarEdge Batteries', }), 'context': , 'entity_id': 'sensor.solaredge_batteries', @@ -333,10 +333,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'date': '2025-01-01 00:00:00', - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Consumed energy', + : 'energy', + : 'SolarEdge Consumed energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.solaredge_consumed_energy', @@ -391,10 +391,10 @@ # name: test_all_entities[sensor.solaredge_current_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarEdge Current power', + : 'power', + : 'SolarEdge Current power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solaredge_current_power', @@ -449,10 +449,10 @@ # name: test_all_entities[sensor.solaredge_energy_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Energy this month', + : 'energy', + : 'SolarEdge Energy this month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solaredge_energy_this_month', @@ -507,10 +507,10 @@ # name: test_all_entities[sensor.solaredge_energy_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Energy this year', + : 'energy', + : 'SolarEdge Energy this year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solaredge_energy_this_year', @@ -565,10 +565,10 @@ # name: test_all_entities[sensor.solaredge_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Energy today', + : 'energy', + : 'SolarEdge Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solaredge_energy_today', @@ -624,10 +624,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'date': '2025-01-01 00:00:00', - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Exported energy', + : 'energy', + : 'SolarEdge Exported energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.solaredge_exported_energy', @@ -677,7 +677,7 @@ # name: test_all_entities[sensor.solaredge_gateways-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarEdge Gateways', + : 'SolarEdge Gateways', 'gateways': list([ dict({ 'name': 'Gateway1', @@ -738,8 +738,8 @@ # name: test_all_entities[sensor.solaredge_grid_flow_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SolarEdge Grid flow direction', + : 'enum', + : 'SolarEdge Grid flow direction', : list([ 'export', 'import', @@ -798,11 +798,11 @@ # name: test_all_entities[sensor.solaredge_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarEdge Grid power', + : 'power', + : 'SolarEdge Grid power', : , 'status': 'Active', - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.solaredge_grid_power', @@ -858,10 +858,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'date': '2025-01-01 00:00:00', - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Imported energy', + : 'energy', + : 'SolarEdge Imported energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.solaredge_imported_energy', @@ -911,7 +911,7 @@ # name: test_all_entities[sensor.solaredge_inverters-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarEdge Inverters', + : 'SolarEdge Inverters', 'inverters': list([ dict({ 'manufacturer': 'Acme', @@ -986,10 +986,10 @@ # name: test_all_entities[sensor.solaredge_lifetime_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Lifetime energy', + : 'energy', + : 'SolarEdge Lifetime energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solaredge_lifetime_energy', @@ -1039,7 +1039,7 @@ # name: test_all_entities[sensor.solaredge_meters-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarEdge Meters', + : 'SolarEdge Meters', 'meters': list([ dict({ 'manufacturer': 'Acme', @@ -1106,11 +1106,11 @@ # name: test_all_entities[sensor.solaredge_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarEdge Power consumption', + : 'power', + : 'SolarEdge Power consumption', : , 'status': 'Active', - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.solaredge_power_consumption', @@ -1166,10 +1166,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'date': '2025-01-01 00:00:00', - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Produced energy', + : 'energy', + : 'SolarEdge Produced energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.solaredge_produced_energy', @@ -1225,10 +1225,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'date': '2025-01-01 00:00:00', - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Self-consumed energy', + : 'energy', + : 'SolarEdge Self-consumed energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.solaredge_self_consumed_energy', @@ -1278,7 +1278,7 @@ # name: test_all_entities[sensor.solaredge_sensors-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarEdge Sensors', + : 'SolarEdge Sensors', 'sensors': list([ ]), }), @@ -1330,7 +1330,7 @@ # name: test_all_entities[sensor.solaredge_site_details-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SolarEdge Site details', + : 'SolarEdge Site details', 'installation_date': '2024-01-01', 'last_update_time': '2025-01-01', 'manufacturer_name': 'TestManufacturer', @@ -1393,11 +1393,11 @@ # name: test_all_entities[sensor.solaredge_solar_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarEdge Solar power', + : 'power', + : 'SolarEdge Solar power', : , 'status': 'Active', - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.solaredge_solar_power', @@ -1452,10 +1452,10 @@ # name: test_all_entities[sensor.solaredge_storage_charge_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Storage charge energy today', + : 'energy', + : 'SolarEdge Storage charge energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solaredge_storage_charge_energy_today', @@ -1510,10 +1510,10 @@ # name: test_all_entities[sensor.solaredge_storage_discharge_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarEdge Storage discharge energy today', + : 'energy', + : 'SolarEdge Storage discharge energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solaredge_storage_discharge_energy_today', @@ -1568,8 +1568,8 @@ # name: test_all_entities[sensor.solaredge_storage_flow_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'SolarEdge Storage flow direction', + : 'enum', + : 'SolarEdge Storage flow direction', : list([ 'charge', 'discharge', @@ -1625,10 +1625,10 @@ # name: test_all_entities[sensor.solaredge_storage_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'SolarEdge Storage level', + : 'battery', + : 'SolarEdge Storage level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solaredge_storage_level', @@ -1683,11 +1683,11 @@ # name: test_all_entities[sensor.solaredge_storage_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarEdge Storage power', + : 'power', + : 'SolarEdge Storage power', : , 'status': 'Charging', - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.solaredge_storage_power', diff --git a/tests/components/solarlog/snapshots/test_sensor.ambr b/tests/components/solarlog/snapshots/test_sensor.ambr index 40e6e64e1d9..66b5db5d0b3 100644 --- a/tests/components/solarlog/snapshots/test_sensor.ambr +++ b/tests/components/solarlog/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_all_entities[sensor.inverter_1_consumption_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 1 Consumption year', + : 'energy', + : 'Inverter 1 Consumption year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_consumption_year', @@ -105,10 +105,10 @@ # name: test_all_entities[sensor.inverter_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 1 Power', + : 'power', + : 'Inverter 1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_1_power', @@ -166,10 +166,10 @@ # name: test_all_entities[sensor.inverter_2_consumption_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Inverter 2 Consumption year', + : 'energy', + : 'Inverter 2 Consumption year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_2_consumption_year', @@ -224,10 +224,10 @@ # name: test_all_entities[sensor.inverter_2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter 2 Power', + : 'power', + : 'Inverter 2 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_2_power', @@ -282,10 +282,10 @@ # name: test_all_entities[sensor.solarlog_alternator_loss-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Alternator loss', + : 'power', + : 'SolarLog Alternator loss', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_alternator_loss', @@ -340,10 +340,10 @@ # name: test_all_entities[sensor.solarlog_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'SolarLog Capacity', + : 'power_factor', + : 'SolarLog Capacity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarlog_capacity', @@ -395,10 +395,10 @@ # name: test_all_entities[sensor.solarlog_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'SolarLog Charge level', + : 'battery', + : 'SolarLog Charge level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarlog_charge_level', @@ -453,10 +453,10 @@ # name: test_all_entities[sensor.solarlog_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Charging power', + : 'power', + : 'SolarLog Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_charging_power', @@ -511,10 +511,10 @@ # name: test_all_entities[sensor.solarlog_consumption_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Consumption AC', + : 'power', + : 'SolarLog Consumption AC', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_consumption_ac', @@ -572,10 +572,10 @@ # name: test_all_entities[sensor.solarlog_consumption_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Consumption day', + : 'energy', + : 'SolarLog Consumption day', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_consumption_day', @@ -633,10 +633,10 @@ # name: test_all_entities[sensor.solarlog_consumption_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Consumption month', + : 'energy', + : 'SolarLog Consumption month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_consumption_month', @@ -694,10 +694,10 @@ # name: test_all_entities[sensor.solarlog_consumption_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Consumption total', + : 'energy', + : 'SolarLog Consumption total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_consumption_total', @@ -755,10 +755,10 @@ # name: test_all_entities[sensor.solarlog_consumption_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Consumption year', + : 'energy', + : 'SolarLog Consumption year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_consumption_year', @@ -814,9 +814,9 @@ # name: test_all_entities[sensor.solarlog_consumption_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Consumption yesterday', - 'unit_of_measurement': , + : 'energy', + : 'SolarLog Consumption yesterday', + : , }), 'context': , 'entity_id': 'sensor.solarlog_consumption_yesterday', @@ -871,10 +871,10 @@ # name: test_all_entities[sensor.solarlog_discharging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Discharging power', + : 'power', + : 'SolarLog Discharging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_discharging_power', @@ -929,10 +929,10 @@ # name: test_all_entities[sensor.solarlog_efficiency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'SolarLog Efficiency', + : 'power_factor', + : 'SolarLog Efficiency', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarlog_efficiency', @@ -987,10 +987,10 @@ # name: test_all_entities[sensor.solarlog_installed_peak_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Installed peak power', + : 'power', + : 'SolarLog Installed peak power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_installed_peak_power', @@ -1040,8 +1040,8 @@ # name: test_all_entities[sensor.solarlog_last_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'SolarLog Last update', + : 'timestamp', + : 'SolarLog Last update', }), 'context': , 'entity_id': 'sensor.solarlog_last_update', @@ -1096,10 +1096,10 @@ # name: test_all_entities[sensor.solarlog_power_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Power AC', + : 'power', + : 'SolarLog Power AC', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_power_ac', @@ -1154,10 +1154,10 @@ # name: test_all_entities[sensor.solarlog_power_available-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Power available', + : 'power', + : 'SolarLog Power available', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_power_available', @@ -1212,10 +1212,10 @@ # name: test_all_entities[sensor.solarlog_power_dc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SolarLog Power DC', + : 'power', + : 'SolarLog Power DC', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_power_dc', @@ -1270,10 +1270,10 @@ # name: test_all_entities[sensor.solarlog_self_consumption_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Self-consumption year', + : 'energy', + : 'SolarLog Self-consumption year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_self_consumption_year', @@ -1328,10 +1328,10 @@ # name: test_all_entities[sensor.solarlog_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'SolarLog Usage', + : 'power_factor', + : 'SolarLog Usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solarlog_usage', @@ -1386,10 +1386,10 @@ # name: test_all_entities[sensor.solarlog_voltage_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SolarLog Voltage AC', + : 'voltage', + : 'SolarLog Voltage AC', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_voltage_ac', @@ -1444,10 +1444,10 @@ # name: test_all_entities[sensor.solarlog_voltage_dc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SolarLog Voltage DC', + : 'voltage', + : 'SolarLog Voltage DC', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_voltage_dc', @@ -1505,10 +1505,10 @@ # name: test_all_entities[sensor.solarlog_yield_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Yield day', + : 'energy', + : 'SolarLog Yield day', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_yield_day', @@ -1566,10 +1566,10 @@ # name: test_all_entities[sensor.solarlog_yield_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Yield month', + : 'energy', + : 'SolarLog Yield month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_yield_month', @@ -1627,10 +1627,10 @@ # name: test_all_entities[sensor.solarlog_yield_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Yield total', + : 'energy', + : 'SolarLog Yield total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_yield_total', @@ -1688,10 +1688,10 @@ # name: test_all_entities[sensor.solarlog_yield_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Yield year', + : 'energy', + : 'SolarLog Yield year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solarlog_yield_year', @@ -1747,9 +1747,9 @@ # name: test_all_entities[sensor.solarlog_yield_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SolarLog Yield yesterday', - 'unit_of_measurement': , + : 'energy', + : 'SolarLog Yield yesterday', + : , }), 'context': , 'entity_id': 'sensor.solarlog_yield_yesterday', diff --git a/tests/components/solarman/snapshots/test_sensor.ambr b/tests/components/solarman/snapshots/test_sensor.ambr index 78519ccee21..ba417832705 100644 --- a/tests/components/solarman/snapshots/test_sensor.ambr +++ b/tests/components/solarman/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_ac_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) AC Phase-A current', + : 'current', + : 'P1 Meter Reader (192.168.1.100) AC Phase-A current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_ac_phase_a_current', @@ -102,10 +102,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_ac_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) AC Phase-A voltage', + : 'voltage', + : 'P1 Meter Reader (192.168.1.100) AC Phase-A voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_ac_phase_a_voltage', @@ -160,10 +160,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_ac_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) AC Phase-B current', + : 'current', + : 'P1 Meter Reader (192.168.1.100) AC Phase-B current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_ac_phase_b_current', @@ -218,10 +218,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_ac_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) AC Phase-B voltage', + : 'voltage', + : 'P1 Meter Reader (192.168.1.100) AC Phase-B voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_ac_phase_b_voltage', @@ -276,10 +276,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_ac_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) AC Phase-C current', + : 'current', + : 'P1 Meter Reader (192.168.1.100) AC Phase-C current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_ac_phase_c_current', @@ -334,10 +334,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_ac_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) AC Phase-C voltage', + : 'voltage', + : 'P1 Meter Reader (192.168.1.100) AC Phase-C voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_ac_phase_c_voltage', @@ -392,10 +392,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_active_power_phase_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Active power phase-A', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Active power phase-A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_active_power_phase_a', @@ -450,10 +450,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_active_power_phase_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Active power phase-B', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Active power phase-B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_active_power_phase_b', @@ -508,10 +508,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_active_power_phase_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Active power phase-C', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Active power phase-C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_active_power_phase_c', @@ -566,10 +566,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_active_returned_power_phase_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Active returned power phase-A', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Active returned power phase-A', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_active_returned_power_phase_a', @@ -624,10 +624,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_active_returned_power_phase_b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Active returned power phase-B', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Active returned power phase-B', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_active_returned_power_phase_b', @@ -682,10 +682,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_active_returned_power_phase_c-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Active returned power phase-C', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Active returned power phase-C', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_active_returned_power_phase_c', @@ -740,10 +740,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_total_actual_energy_low_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Total actual energy low tariff', + : 'energy', + : 'P1 Meter Reader (192.168.1.100) Total actual energy low tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_total_actual_energy_low_tariff', @@ -798,10 +798,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_total_actual_energy_normal_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Total actual energy normal tariff', + : 'energy', + : 'P1 Meter Reader (192.168.1.100) Total actual energy normal tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_total_actual_energy_normal_tariff', @@ -856,10 +856,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_total_actual_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Total actual power', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Total actual power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_total_actual_power', @@ -914,10 +914,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_total_actual_returned_energy_low_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Total actual returned energy low tariff', + : 'energy', + : 'P1 Meter Reader (192.168.1.100) Total actual returned energy low tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_total_actual_returned_energy_low_tariff', @@ -972,10 +972,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_total_actual_returned_energy_normal_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Total actual returned energy normal tariff', + : 'energy', + : 'P1 Meter Reader (192.168.1.100) Total actual returned energy normal tariff', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_total_actual_returned_energy_normal_tariff', @@ -1030,10 +1030,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_total_actual_returned_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Total actual returned power', + : 'power', + : 'P1 Meter Reader (192.168.1.100) Total actual returned power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_total_actual_returned_power', @@ -1088,10 +1088,10 @@ # name: test_sensor[P1-2W][sensor.p1_meter_reader_192_168_1_100_total_gas_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'P1 Meter Reader (192.168.1.100) Total gas consumption', + : 'gas', + : 'P1 Meter Reader (192.168.1.100) Total gas consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_meter_reader_192_168_1_100_total_gas_consumption', @@ -1146,10 +1146,10 @@ # name: test_sensor[SP-2W-EU][sensor.smart_plug_192_168_1_100_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Plug (192.168.1.100) Current', + : 'current', + : 'Smart Plug (192.168.1.100) Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_plug_192_168_1_100_current', @@ -1204,10 +1204,10 @@ # name: test_sensor[SP-2W-EU][sensor.smart_plug_192_168_1_100_positive_active_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Plug (192.168.1.100) Positive active energy', + : 'energy', + : 'Smart Plug (192.168.1.100) Positive active energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_plug_192_168_1_100_positive_active_energy', @@ -1262,10 +1262,10 @@ # name: test_sensor[SP-2W-EU][sensor.smart_plug_192_168_1_100_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Plug (192.168.1.100) Power', + : 'power', + : 'Smart Plug (192.168.1.100) Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_plug_192_168_1_100_power', @@ -1320,10 +1320,10 @@ # name: test_sensor[SP-2W-EU][sensor.smart_plug_192_168_1_100_reverse_active_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Plug (192.168.1.100) Reverse active energy', + : 'energy', + : 'Smart Plug (192.168.1.100) Reverse active energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_plug_192_168_1_100_reverse_active_energy', @@ -1378,10 +1378,10 @@ # name: test_sensor[SP-2W-EU][sensor.smart_plug_192_168_1_100_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Plug (192.168.1.100) Voltage', + : 'voltage', + : 'Smart Plug (192.168.1.100) Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_plug_192_168_1_100_voltage', @@ -1436,10 +1436,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_active_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Smart Meter (192.168.1.100) Active power', + : 'power', + : 'Smart Meter (192.168.1.100) Active power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_active_power', @@ -1491,10 +1491,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Smart Meter (192.168.1.100) Apparent power', + : 'apparent_power', + : 'Smart Meter (192.168.1.100) Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_apparent_power', @@ -1549,10 +1549,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Meter (192.168.1.100) Current', + : 'current', + : 'Smart Meter (192.168.1.100) Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_current', @@ -1607,10 +1607,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Smart Meter (192.168.1.100) Frequency', + : 'frequency', + : 'Smart Meter (192.168.1.100) Frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_frequency', @@ -1662,10 +1662,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Smart Meter (192.168.1.100) Power factor', + : 'power_factor', + : 'Smart Meter (192.168.1.100) Power factor', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_power_factor', @@ -1717,10 +1717,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_reactive_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'reactive_power', - 'friendly_name': 'Smart Meter (192.168.1.100) Reactive power', + : 'reactive_power', + : 'Smart Meter (192.168.1.100) Reactive power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_reactive_power', @@ -1775,10 +1775,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_total_actual_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter (192.168.1.100) Total actual energy', + : 'energy', + : 'Smart Meter (192.168.1.100) Total actual energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_total_actual_energy', @@ -1833,10 +1833,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_total_actual_returned_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Smart Meter (192.168.1.100) Total actual returned energy', + : 'energy', + : 'Smart Meter (192.168.1.100) Total actual returned energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_total_actual_returned_energy', @@ -1891,10 +1891,10 @@ # name: test_sensor[gl meter][sensor.smart_meter_192_168_1_100_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Meter (192.168.1.100) Voltage', + : 'voltage', + : 'Smart Meter (192.168.1.100) Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_meter_192_168_1_100_voltage', diff --git a/tests/components/sonos/snapshots/test_media_player.ambr b/tests/components/sonos/snapshots/test_media_player.ambr index cb28ebc88fa..2f840590481 100644 --- a/tests/components/sonos/snapshots/test_media_player.ambr +++ b/tests/components/sonos/snapshots/test_media_player.ambr @@ -48,8 +48,8 @@ # name: test_entity_basic[media_player.zone_a-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Zone A', + : 'speaker', + : 'Zone A', : list([ 'media_player.zone_a', ]), @@ -65,7 +65,7 @@ 'American Tall Tales', 'sample playlist', ]), - 'supported_features': , + : , : 0.19, }), 'context': , diff --git a/tests/components/spotify/snapshots/test_media_player.ambr b/tests/components/spotify/snapshots/test_media_player.ambr index d83608329a9..4949df71205 100644 --- a/tests/components/spotify/snapshots/test_media_player.ambr +++ b/tests/components/spotify/snapshots/test_media_player.ambr @@ -43,8 +43,8 @@ # name: test_entities[media_player.spotify_spotify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': '/api/media_player_proxy/media_player.spotify_spotify_1?token=mock-token&cache=7bb89748322acb6c', - 'friendly_name': 'Spotify spotify_1', + : '/api/media_player_proxy/media_player.spotify_spotify_1?token=mock-token&cache=7bb89748322acb6c', + : 'Spotify spotify_1', : 'Permanent Waves', : 'Rush', : 'spotify:track:4e9hUiLsN4mx61ARosFi7p', @@ -61,7 +61,7 @@ : list([ 'DESKTOP-BKC5SIK', ]), - 'supported_features': , + : , : 0.25, }), 'context': , @@ -116,8 +116,8 @@ # name: test_podcast[media_player.spotify_spotify_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': '/api/media_player_proxy/media_player.spotify_spotify_1?token=mock-token&cache=cf1e6e1e830f08d3', - 'friendly_name': 'Spotify spotify_1', + : '/api/media_player_proxy/media_player.spotify_spotify_1?token=mock-token&cache=cf1e6e1e830f08d3', + : 'Spotify spotify_1', : 'Safety Third', : 'spotify:episode:3o0RYoo5iOMKSmEbunsbvW', : , @@ -131,7 +131,7 @@ : list([ 'DESKTOP-BKC5SIK', ]), - 'supported_features': , + : , : 0.46, }), 'context': , diff --git a/tests/components/squeezebox/snapshots/test_media_player.ambr b/tests/components/squeezebox/snapshots/test_media_player.ambr index 338751d18d1..211aeb6f6c9 100644 --- a/tests/components/squeezebox/snapshots/test_media_player.ambr +++ b/tests/components/squeezebox/snapshots/test_media_player.ambr @@ -40,7 +40,7 @@ # name: test_entity_registry[media_player.test_player-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Player', + : 'Test Player', : list([ ]), : True, @@ -50,7 +50,7 @@ }), : , : False, - 'supported_features': , + : , : 0.01, }), 'context': , diff --git a/tests/components/squeezebox/snapshots/test_switch.ambr b/tests/components/squeezebox/snapshots/test_switch.ambr index b0433e514b0..6a78d35e83e 100644 --- a/tests/components/squeezebox/snapshots/test_switch.ambr +++ b/tests/components/squeezebox/snapshots/test_switch.ambr @@ -40,7 +40,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'alarm_id': '1', - 'friendly_name': 'Alarm (1)', + : 'Alarm (1)', }), 'context': , 'entity_id': 'switch.alarm_1', @@ -90,7 +90,7 @@ # name: test_entity_registry[switch.alarms_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Alarms enabled', + : 'Alarms enabled', }), 'context': , 'entity_id': 'switch.alarms_enabled', diff --git a/tests/components/steam_online/snapshots/test_sensor.ambr b/tests/components/steam_online/snapshots/test_sensor.ambr index 6de16e8be5f..f906dc4faf5 100644 --- a/tests/components/steam_online/snapshots/test_sensor.ambr +++ b/tests/components/steam_online/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensors[sensor.steam_testaccount1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://avatars.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_full.jpg', - 'friendly_name': 'Steam testaccount1', + : 'https://avatars.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_full.jpg', + : 'Steam testaccount1', 'game': 'The Witcher: Enhanced Edition', 'game_id': '20900', 'game_image_header': 'https://steamcdn-a.akamaihd.net/steam/apps/20900/header.jpg', diff --git a/tests/components/stookwijzer/snapshots/test_sensor.ambr b/tests/components/stookwijzer/snapshots/test_sensor.ambr index d3413870a6e..bae13e61155 100644 --- a/tests/components/stookwijzer/snapshots/test_sensor.ambr +++ b/tests/components/stookwijzer/snapshots/test_sensor.ambr @@ -45,9 +45,9 @@ # name: test_entities[sensor.stookwijzer_advice_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by atlasleefomgeving.nl', - 'device_class': 'enum', - 'friendly_name': 'Stookwijzer Advice code', + : 'Data provided by atlasleefomgeving.nl', + : 'enum', + : 'Stookwijzer Advice code', : list([ 'code_yellow', 'code_orange', @@ -104,9 +104,9 @@ # name: test_entities[sensor.stookwijzer_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by atlasleefomgeving.nl', - 'device_class': 'aqi', - 'friendly_name': 'Stookwijzer Air quality index', + : 'Data provided by atlasleefomgeving.nl', + : 'aqi', + : 'Stookwijzer Air quality index', : , }), 'context': , @@ -165,11 +165,11 @@ # name: test_entities[sensor.stookwijzer_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by atlasleefomgeving.nl', - 'device_class': 'wind_speed', - 'friendly_name': 'Stookwijzer Wind speed', + : 'Data provided by atlasleefomgeving.nl', + : 'wind_speed', + : 'Stookwijzer Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.stookwijzer_wind_speed', diff --git a/tests/components/streamlabswater/snapshots/test_binary_sensor.ambr b/tests/components/streamlabswater/snapshots/test_binary_sensor.ambr index 2475f786921..2c81dd9a6a8 100644 --- a/tests/components/streamlabswater/snapshots/test_binary_sensor.ambr +++ b/tests/components/streamlabswater/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[binary_sensor.water_monitor_away_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Monitor Away mode', + : 'Water Monitor Away mode', }), 'context': , 'entity_id': 'binary_sensor.water_monitor_away_mode', diff --git a/tests/components/streamlabswater/snapshots/test_sensor.ambr b/tests/components/streamlabswater/snapshots/test_sensor.ambr index 05ee0572e86..a935f9402a6 100644 --- a/tests/components/streamlabswater/snapshots/test_sensor.ambr +++ b/tests/components/streamlabswater/snapshots/test_sensor.ambr @@ -42,9 +42,9 @@ # name: test_all_entities[sensor.water_monitor_daily_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water Monitor Daily usage', - 'unit_of_measurement': , + : 'water', + : 'Water Monitor Daily usage', + : , }), 'context': , 'entity_id': 'sensor.water_monitor_daily_usage', @@ -97,9 +97,9 @@ # name: test_all_entities[sensor.water_monitor_monthly_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water Monitor Monthly usage', - 'unit_of_measurement': , + : 'water', + : 'Water Monitor Monthly usage', + : , }), 'context': , 'entity_id': 'sensor.water_monitor_monthly_usage', @@ -152,9 +152,9 @@ # name: test_all_entities[sensor.water_monitor_yearly_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water Monitor Yearly usage', - 'unit_of_measurement': , + : 'water', + : 'Water Monitor Yearly usage', + : , }), 'context': , 'entity_id': 'sensor.water_monitor_yearly_usage', diff --git a/tests/components/suez_water/snapshots/test_sensor.ambr b/tests/components/suez_water/snapshots/test_sensor.ambr index 145731a1434..7cedf7dc476 100644 --- a/tests/components/suez_water/snapshots/test_sensor.ambr +++ b/tests/components/suez_water/snapshots/test_sensor.ambr @@ -39,10 +39,10 @@ # name: test_sensors_valid_state[sensor.suez_mock_device_water_price-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by toutsurmoneau.fr', - 'device_class': 'monetary', - 'friendly_name': 'Suez mock device Water price', - 'unit_of_measurement': '€', + : 'Data provided by toutsurmoneau.fr', + : 'monetary', + : 'Suez mock device Water price', + : '€', }), 'context': , 'entity_id': 'sensor.suez_mock_device_water_price', @@ -95,9 +95,9 @@ # name: test_sensors_valid_state[sensor.suez_mock_device_water_usage_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by toutsurmoneau.fr', - 'device_class': 'water', - 'friendly_name': 'Suez mock device Water usage yesterday', + : 'Data provided by toutsurmoneau.fr', + : 'water', + : 'Suez mock device Water usage yesterday', 'highest_monthly_consumption': 2558, 'history': dict({ '2024-01-01': 130, @@ -115,7 +115,7 @@ '2024-01-02': 145, }), 'this_year_overall': 1500, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.suez_mock_device_water_usage_yesterday', diff --git a/tests/components/sunricher_dali/snapshots/test_binary_sensor.ambr b/tests/components/sunricher_dali/snapshots/test_binary_sensor.ambr index fe439301aae..6a351afe1cb 100644 --- a/tests/components/sunricher_dali/snapshots/test_binary_sensor.ambr +++ b/tests/components/sunricher_dali/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_setup_entry[binary_sensor.motion_sensor_0000_10_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Motion Sensor 0000-10 Motion', + : 'motion', + : 'Motion Sensor 0000-10 Motion', }), 'context': , 'entity_id': 'binary_sensor.motion_sensor_0000_10_motion', @@ -90,8 +90,8 @@ # name: test_setup_entry[binary_sensor.motion_sensor_0000_10_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Motion Sensor 0000-10 Occupancy', + : 'occupancy', + : 'Motion Sensor 0000-10 Occupancy', }), 'context': , 'entity_id': 'binary_sensor.motion_sensor_0000_10_occupancy', diff --git a/tests/components/sunricher_dali/snapshots/test_button.ambr b/tests/components/sunricher_dali/snapshots/test_button.ambr index 22cb9f4d90d..c67b8470bca 100644 --- a/tests/components/sunricher_dali/snapshots/test_button.ambr +++ b/tests/components/sunricher_dali/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_entities[button.cct_0000_03-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'CCT 0000-03', + : 'identify', + : 'CCT 0000-03', }), 'context': , 'entity_id': 'button.cct_0000_03', @@ -90,8 +90,8 @@ # name: test_entities[button.dimmer_0000_02-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Dimmer 0000-02', + : 'identify', + : 'Dimmer 0000-02', }), 'context': , 'entity_id': 'button.dimmer_0000_02', @@ -141,8 +141,8 @@ # name: test_entities[button.hs_color_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'HS Color Light', + : 'identify', + : 'HS Color Light', }), 'context': , 'entity_id': 'button.hs_color_light', @@ -192,8 +192,8 @@ # name: test_entities[button.rgbw_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'RGBW Light', + : 'identify', + : 'RGBW Light', }), 'context': , 'entity_id': 'button.rgbw_light', diff --git a/tests/components/sunricher_dali/snapshots/test_light.ambr b/tests/components/sunricher_dali/snapshots/test_light.ambr index 00b2be59d31..c7782d9c0f8 100644 --- a/tests/components/sunricher_dali/snapshots/test_light.ambr +++ b/tests/components/sunricher_dali/snapshots/test_light.ambr @@ -48,7 +48,7 @@ : None, : None, : None, - 'friendly_name': 'CCT 0000-03', + : 'CCT 0000-03', : None, : 8000, : 1000, @@ -56,7 +56,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -113,11 +113,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Dimmer 0000-02', + : 'Dimmer 0000-02', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmer_0000_02', @@ -173,13 +173,13 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'HS Color Light', + : 'HS Color Light', : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -236,14 +236,14 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'RGBW Light', + : 'RGBW Light', : None, : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/sunricher_dali/snapshots/test_scene.ambr b/tests/components/sunricher_dali/snapshots/test_scene.ambr index f57ee0f7fad..224013d400d 100644 --- a/tests/components/sunricher_dali/snapshots/test_scene.ambr +++ b/tests/components/sunricher_dali/snapshots/test_scene.ambr @@ -39,7 +39,7 @@ # name: test_entities[scene.test_gateway_kitchen_bright-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Gateway Kitchen Bright', + : 'Test Gateway Kitchen Bright', }), 'context': , 'entity_id': 'scene.test_gateway_kitchen_bright', @@ -89,7 +89,7 @@ # name: test_entities[scene.test_gateway_living_room_evening-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Gateway Living Room Evening', + : 'Test Gateway Living Room Evening', }), 'context': , 'entity_id': 'scene.test_gateway_living_room_evening', diff --git a/tests/components/sunricher_dali/snapshots/test_sensor.ambr b/tests/components/sunricher_dali/snapshots/test_sensor.ambr index 00a67156ddb..4161871c83a 100644 --- a/tests/components/sunricher_dali/snapshots/test_sensor.ambr +++ b/tests/components/sunricher_dali/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_setup_entry[sensor.dimmer_0000_02_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dimmer 0000-02 Energy', + : 'energy', + : 'Dimmer 0000-02 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dimmer_0000_02_energy', @@ -99,10 +99,10 @@ # name: test_setup_entry[sensor.illuminance_sensor_0000_20-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Illuminance Sensor 0000-20', + : 'illuminance', + : 'Illuminance Sensor 0000-20', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.illuminance_sensor_0000_20', diff --git a/tests/components/swiss_public_transport/snapshots/test_sensor.ambr b/tests/components/swiss_public_transport/snapshots/test_sensor.ambr index 67e8d9ddd61..8fb6b2685a1 100644 --- a/tests/components/swiss_public_transport/snapshots/test_sensor.ambr +++ b/tests/components/swiss_public_transport/snapshots/test_sensor.ambr @@ -42,10 +42,10 @@ # name: test_all_entities[sensor.zurich_bern_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'device_class': 'duration', - 'friendly_name': 'Zürich Bern Delay', - 'unit_of_measurement': , + : 'Data provided by transport.opendata.ch', + : 'duration', + : 'Zürich Bern Delay', + : , }), 'context': , 'entity_id': 'sensor.zurich_bern_delay', @@ -95,9 +95,9 @@ # name: test_all_entities[sensor.zurich_bern_departure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'device_class': 'timestamp', - 'friendly_name': 'Zürich Bern Departure', + : 'Data provided by transport.opendata.ch', + : 'timestamp', + : 'Zürich Bern Departure', }), 'context': , 'entity_id': 'sensor.zurich_bern_departure', @@ -147,9 +147,9 @@ # name: test_all_entities[sensor.zurich_bern_departure_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'device_class': 'timestamp', - 'friendly_name': 'Zürich Bern Departure +1', + : 'Data provided by transport.opendata.ch', + : 'timestamp', + : 'Zürich Bern Departure +1', }), 'context': , 'entity_id': 'sensor.zurich_bern_departure_1', @@ -199,9 +199,9 @@ # name: test_all_entities[sensor.zurich_bern_departure_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'device_class': 'timestamp', - 'friendly_name': 'Zürich Bern Departure +2', + : 'Data provided by transport.opendata.ch', + : 'timestamp', + : 'Zürich Bern Departure +2', }), 'context': , 'entity_id': 'sensor.zurich_bern_departure_2', @@ -251,8 +251,8 @@ # name: test_all_entities[sensor.zurich_bern_line-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'friendly_name': 'Zürich Bern Line', + : 'Data provided by transport.opendata.ch', + : 'Zürich Bern Line', }), 'context': , 'entity_id': 'sensor.zurich_bern_line', @@ -302,8 +302,8 @@ # name: test_all_entities[sensor.zurich_bern_platform-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'friendly_name': 'Zürich Bern Platform', + : 'Data provided by transport.opendata.ch', + : 'Zürich Bern Platform', }), 'context': , 'entity_id': 'sensor.zurich_bern_platform', @@ -353,8 +353,8 @@ # name: test_all_entities[sensor.zurich_bern_transfers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'friendly_name': 'Zürich Bern Transfers', + : 'Data provided by transport.opendata.ch', + : 'Zürich Bern Transfers', }), 'context': , 'entity_id': 'sensor.zurich_bern_transfers', @@ -410,10 +410,10 @@ # name: test_all_entities[sensor.zurich_bern_trip_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by transport.opendata.ch', - 'device_class': 'duration', - 'friendly_name': 'Zürich Bern Trip duration', - 'unit_of_measurement': , + : 'Data provided by transport.opendata.ch', + : 'duration', + : 'Zürich Bern Trip duration', + : , }), 'context': , 'entity_id': 'sensor.zurich_bern_trip_duration', diff --git a/tests/components/switchbot_cloud/snapshots/test_binary_sensor.ambr b/tests/components/switchbot_cloud/snapshots/test_binary_sensor.ambr index f29b25f26f9..891c009be9f 100644 --- a/tests/components/switchbot_cloud/snapshots/test_binary_sensor.ambr +++ b/tests/components/switchbot_cloud/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_coordinator_data[Blind Tilt][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -90,8 +90,8 @@ # name: test_coordinator_data[Contact Sensor][binary_sensor.test_device_name_1_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'light', - 'friendly_name': 'test-device-name-1 Light', + : 'light', + : 'test-device-name-1 Light', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_light', @@ -141,8 +141,8 @@ # name: test_coordinator_data[Contact Sensor][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -192,8 +192,8 @@ # name: test_coordinator_data[Contact Sensor][binary_sensor.test_device_name_1_opening-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'test-device-name-1 Opening', + : 'opening', + : 'test-device-name-1 Opening', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_opening', @@ -243,8 +243,8 @@ # name: test_coordinator_data[Curtain3][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -294,8 +294,8 @@ # name: test_coordinator_data[Curtain][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -345,8 +345,8 @@ # name: test_coordinator_data[Garage Door Opener][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -396,8 +396,8 @@ # name: test_coordinator_data[Home Climate Panel][binary_sensor.test_device_name_1_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'light', - 'friendly_name': 'test-device-name-1 Light', + : 'light', + : 'test-device-name-1 Light', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_light', @@ -447,8 +447,8 @@ # name: test_coordinator_data[Home Climate Panel][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -498,8 +498,8 @@ # name: test_coordinator_data[Hub 3][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -549,8 +549,8 @@ # name: test_coordinator_data[Lock Vision Pro][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -600,8 +600,8 @@ # name: test_coordinator_data[Lock Vision Pro][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -651,8 +651,8 @@ # name: test_coordinator_data[Lock Vision][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -702,8 +702,8 @@ # name: test_coordinator_data[Lock Vision][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -753,8 +753,8 @@ # name: test_coordinator_data[Motion Sensor][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -804,8 +804,8 @@ # name: test_coordinator_data[Presence Sensor][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -855,8 +855,8 @@ # name: test_coordinator_data[Roller Shade][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -906,8 +906,8 @@ # name: test_coordinator_data[Smart Lock Lite][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -957,8 +957,8 @@ # name: test_coordinator_data[Smart Lock Lite][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -1008,8 +1008,8 @@ # name: test_coordinator_data[Smart Lock Pro Wifi][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1059,8 +1059,8 @@ # name: test_coordinator_data[Smart Lock Pro Wifi][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -1110,8 +1110,8 @@ # name: test_coordinator_data[Smart Lock Pro][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1161,8 +1161,8 @@ # name: test_coordinator_data[Smart Lock Pro][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -1212,8 +1212,8 @@ # name: test_coordinator_data[Smart Lock Ultra][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1263,8 +1263,8 @@ # name: test_coordinator_data[Smart Lock Ultra][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -1314,8 +1314,8 @@ # name: test_coordinator_data[Smart Lock Vision Pro][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1365,8 +1365,8 @@ # name: test_coordinator_data[Smart Lock Vision Pro][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -1416,8 +1416,8 @@ # name: test_coordinator_data[Smart Lock Vision][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1467,8 +1467,8 @@ # name: test_coordinator_data[Smart Lock Vision][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -1518,8 +1518,8 @@ # name: test_coordinator_data[Smart Lock][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1569,8 +1569,8 @@ # name: test_coordinator_data[Smart Lock][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -1620,8 +1620,8 @@ # name: test_coordinator_data[Water Detector][binary_sensor.test_device_name_1_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'test-device-name-1 Moisture', + : 'moisture', + : 'test-device-name-1 Moisture', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_moisture', @@ -1671,8 +1671,8 @@ # name: test_no_coordinator_data[Blind Tilt][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1722,8 +1722,8 @@ # name: test_no_coordinator_data[Contact Sensor][binary_sensor.test_device_name_1_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'light', - 'friendly_name': 'test-device-name-1 Light', + : 'light', + : 'test-device-name-1 Light', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_light', @@ -1773,8 +1773,8 @@ # name: test_no_coordinator_data[Contact Sensor][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -1824,8 +1824,8 @@ # name: test_no_coordinator_data[Contact Sensor][binary_sensor.test_device_name_1_opening-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'opening', - 'friendly_name': 'test-device-name-1 Opening', + : 'opening', + : 'test-device-name-1 Opening', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_opening', @@ -1875,8 +1875,8 @@ # name: test_no_coordinator_data[Curtain3][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1926,8 +1926,8 @@ # name: test_no_coordinator_data[Curtain][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -1977,8 +1977,8 @@ # name: test_no_coordinator_data[Garage Door Opener][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -2028,8 +2028,8 @@ # name: test_no_coordinator_data[Home Climate Panel][binary_sensor.test_device_name_1_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'light', - 'friendly_name': 'test-device-name-1 Light', + : 'light', + : 'test-device-name-1 Light', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_light', @@ -2079,8 +2079,8 @@ # name: test_no_coordinator_data[Home Climate Panel][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -2130,8 +2130,8 @@ # name: test_no_coordinator_data[Hub 3][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -2181,8 +2181,8 @@ # name: test_no_coordinator_data[Lock Vision Pro][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2232,8 +2232,8 @@ # name: test_no_coordinator_data[Lock Vision Pro][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -2283,8 +2283,8 @@ # name: test_no_coordinator_data[Lock Vision][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2334,8 +2334,8 @@ # name: test_no_coordinator_data[Lock Vision][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -2385,8 +2385,8 @@ # name: test_no_coordinator_data[Motion Sensor][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -2436,8 +2436,8 @@ # name: test_no_coordinator_data[Presence Sensor][binary_sensor.test_device_name_1_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'test-device-name-1 Motion', + : 'motion', + : 'test-device-name-1 Motion', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_motion', @@ -2487,8 +2487,8 @@ # name: test_no_coordinator_data[Roller Shade][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2538,8 +2538,8 @@ # name: test_no_coordinator_data[Smart Lock Lite][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2589,8 +2589,8 @@ # name: test_no_coordinator_data[Smart Lock Lite][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -2640,8 +2640,8 @@ # name: test_no_coordinator_data[Smart Lock Pro Wifi][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2691,8 +2691,8 @@ # name: test_no_coordinator_data[Smart Lock Pro Wifi][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -2742,8 +2742,8 @@ # name: test_no_coordinator_data[Smart Lock Pro][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2793,8 +2793,8 @@ # name: test_no_coordinator_data[Smart Lock Pro][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -2844,8 +2844,8 @@ # name: test_no_coordinator_data[Smart Lock Ultra][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2895,8 +2895,8 @@ # name: test_no_coordinator_data[Smart Lock Ultra][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -2946,8 +2946,8 @@ # name: test_no_coordinator_data[Smart Lock Vision Pro][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -2997,8 +2997,8 @@ # name: test_no_coordinator_data[Smart Lock Vision Pro][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -3048,8 +3048,8 @@ # name: test_no_coordinator_data[Smart Lock Vision][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -3099,8 +3099,8 @@ # name: test_no_coordinator_data[Smart Lock Vision][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -3150,8 +3150,8 @@ # name: test_no_coordinator_data[Smart Lock][binary_sensor.test_device_name_1_calibration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-device-name-1 Calibration', + : 'problem', + : 'test-device-name-1 Calibration', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_calibration', @@ -3201,8 +3201,8 @@ # name: test_no_coordinator_data[Smart Lock][binary_sensor.test_device_name_1_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'test-device-name-1 Door', + : 'door', + : 'test-device-name-1 Door', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_door', @@ -3252,8 +3252,8 @@ # name: test_no_coordinator_data[Water Detector][binary_sensor.test_device_name_1_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'test-device-name-1 Moisture', + : 'moisture', + : 'test-device-name-1 Moisture', }), 'context': , 'entity_id': 'binary_sensor.test_device_name_1_moisture', diff --git a/tests/components/switchbot_cloud/snapshots/test_fan.ambr b/tests/components/switchbot_cloud/snapshots/test_fan.ambr index dbe95e2373f..13b622f65c4 100644 --- a/tests/components/switchbot_cloud/snapshots/test_fan.ambr +++ b/tests/components/switchbot_cloud/snapshots/test_fan.ambr @@ -46,7 +46,7 @@ # name: test_air_purifier[fan.air_purifier_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'air-purifier-1', + : 'air-purifier-1', : 'auto', : list([ 'normal', @@ -54,7 +54,7 @@ 'sleep', 'pet', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.air_purifier_1', diff --git a/tests/components/switchbot_cloud/snapshots/test_humidifier.ambr b/tests/components/switchbot_cloud/snapshots/test_humidifier.ambr index cfe3837207b..854a4f4edcb 100644 --- a/tests/components/switchbot_cloud/snapshots/test_humidifier.ambr +++ b/tests/components/switchbot_cloud/snapshots/test_humidifier.ambr @@ -51,13 +51,13 @@ 'auto', ]), : 50, - 'device_class': 'humidifier', - 'friendly_name': 'humidifier-1', + : 'humidifier', + : 'humidifier-1', : 50, : 100, : 1, : 'normal', - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.humidifier_1', @@ -131,13 +131,13 @@ 'drying_filter', ]), : 50, - 'device_class': 'humidifier', - 'friendly_name': 'humidifier2-1', + : 'humidifier', + : 'humidifier2-1', : 50, : 100, : 0, : 'high', - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.humidifier2_1', diff --git a/tests/components/switchbot_cloud/snapshots/test_sensor.ambr b/tests/components/switchbot_cloud/snapshots/test_sensor.ambr index 4207b255869..40d6cff08b2 100644 --- a/tests/components/switchbot_cloud/snapshots/test_sensor.ambr +++ b/tests/components/switchbot_cloud/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_coordinator_data[AI Art Frame][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -96,10 +96,10 @@ # name: test_coordinator_data[Battery Circulator Fan][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -151,10 +151,10 @@ # name: test_coordinator_data[Blind Tilt][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -206,10 +206,10 @@ # name: test_coordinator_data[Bot][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -261,10 +261,10 @@ # name: test_coordinator_data[Contact Sensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -316,10 +316,10 @@ # name: test_coordinator_data[Curtain3][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -371,10 +371,10 @@ # name: test_coordinator_data[Curtain][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -426,10 +426,10 @@ # name: test_coordinator_data[Home Climate Panel][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -481,10 +481,10 @@ # name: test_coordinator_data[Home Climate Panel][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -539,10 +539,10 @@ # name: test_coordinator_data[Home Climate Panel][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -594,10 +594,10 @@ # name: test_coordinator_data[Hub 2][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -652,10 +652,10 @@ # name: test_coordinator_data[Hub 2][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -707,10 +707,10 @@ # name: test_coordinator_data[Hub 3][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -762,7 +762,7 @@ # name: test_coordinator_data[Hub 3][sensor.test_device_name_1_light_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device-name-1 Light level', + : 'test-device-name-1 Light level', : , }), 'context': , @@ -818,10 +818,10 @@ # name: test_coordinator_data[Hub 3][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -876,10 +876,10 @@ # name: test_coordinator_data[Humidifier][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -931,10 +931,10 @@ # name: test_coordinator_data[Lock Vision Pro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -986,10 +986,10 @@ # name: test_coordinator_data[Lock Vision][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -1041,10 +1041,10 @@ # name: test_coordinator_data[MeterPlus][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -1096,10 +1096,10 @@ # name: test_coordinator_data[MeterPlus][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -1154,10 +1154,10 @@ # name: test_coordinator_data[MeterPlus][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -1209,10 +1209,10 @@ # name: test_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -1264,10 +1264,10 @@ # name: test_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'test-device-name-1 Carbon dioxide', + : 'carbon_dioxide', + : 'test-device-name-1 Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.test_device_name_1_carbon_dioxide', @@ -1319,10 +1319,10 @@ # name: test_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -1377,10 +1377,10 @@ # name: test_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -1432,10 +1432,10 @@ # name: test_coordinator_data[MeterPro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -1487,10 +1487,10 @@ # name: test_coordinator_data[MeterPro][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -1545,10 +1545,10 @@ # name: test_coordinator_data[MeterPro][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -1600,10 +1600,10 @@ # name: test_coordinator_data[Meter][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -1655,10 +1655,10 @@ # name: test_coordinator_data[Meter][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -1713,10 +1713,10 @@ # name: test_coordinator_data[Meter][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -1768,10 +1768,10 @@ # name: test_coordinator_data[Motion Sensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -1826,10 +1826,10 @@ # name: test_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -1887,10 +1887,10 @@ # name: test_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'test-device-name-1 Energy', + : 'energy', + : 'test-device-name-1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_energy', @@ -1945,10 +1945,10 @@ # name: test_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -2003,10 +2003,10 @@ # name: test_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -2061,10 +2061,10 @@ # name: test_coordinator_data[Plug Mini (JP)][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -2119,10 +2119,10 @@ # name: test_coordinator_data[Plug Mini (JP)][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -2177,10 +2177,10 @@ # name: test_coordinator_data[Plug Mini (JP)][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -2235,10 +2235,10 @@ # name: test_coordinator_data[Plug Mini (US)][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -2293,10 +2293,10 @@ # name: test_coordinator_data[Plug Mini (US)][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -2351,10 +2351,10 @@ # name: test_coordinator_data[Plug Mini (US)][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -2406,10 +2406,10 @@ # name: test_coordinator_data[Presence Sensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -2461,7 +2461,7 @@ # name: test_coordinator_data[Presence Sensor][sensor.test_device_name_1_light_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device-name-1 Light level', + : 'test-device-name-1 Light level', : , }), 'context': , @@ -2517,10 +2517,10 @@ # name: test_coordinator_data[Relay Switch 1PM][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -2575,10 +2575,10 @@ # name: test_coordinator_data[Relay Switch 1PM][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -2633,10 +2633,10 @@ # name: test_coordinator_data[Relay Switch 1PM][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -2688,10 +2688,10 @@ # name: test_coordinator_data[Roller Shade][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -2743,10 +2743,10 @@ # name: test_coordinator_data[Smart Lock Lite][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -2798,10 +2798,10 @@ # name: test_coordinator_data[Smart Lock Pro Wifi][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -2853,10 +2853,10 @@ # name: test_coordinator_data[Smart Lock Pro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -2908,10 +2908,10 @@ # name: test_coordinator_data[Smart Lock Ultra][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -2971,8 +2971,8 @@ # name: test_coordinator_data[Smart Lock Ultra][sensor.test_device_name_1_lock_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'test-device-name-1 Lock state', + : 'enum', + : 'test-device-name-1 Lock state', : list([ 'locked', 'unlocked', @@ -3033,10 +3033,10 @@ # name: test_coordinator_data[Smart Lock Vision Pro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3088,10 +3088,10 @@ # name: test_coordinator_data[Smart Lock Vision][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3143,10 +3143,10 @@ # name: test_coordinator_data[Smart Lock][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3198,10 +3198,10 @@ # name: test_coordinator_data[Smart Radiator Thermostat][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3253,10 +3253,10 @@ # name: test_coordinator_data[Standing Fan][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3308,10 +3308,10 @@ # name: test_coordinator_data[Water Detector][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3363,10 +3363,10 @@ # name: test_coordinator_data[WeatherStation][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3418,10 +3418,10 @@ # name: test_coordinator_data[WeatherStation][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -3476,10 +3476,10 @@ # name: test_coordinator_data[WeatherStation][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -3531,10 +3531,10 @@ # name: test_coordinator_data[WoIOSensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3586,10 +3586,10 @@ # name: test_coordinator_data[WoIOSensor][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -3644,10 +3644,10 @@ # name: test_coordinator_data[WoIOSensor][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -3699,10 +3699,10 @@ # name: test_no_coordinator_data[AI Art Frame][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3754,10 +3754,10 @@ # name: test_no_coordinator_data[Battery Circulator Fan][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3809,10 +3809,10 @@ # name: test_no_coordinator_data[Blind Tilt][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3864,10 +3864,10 @@ # name: test_no_coordinator_data[Bot][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3919,10 +3919,10 @@ # name: test_no_coordinator_data[Contact Sensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -3974,10 +3974,10 @@ # name: test_no_coordinator_data[Curtain3][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -4029,10 +4029,10 @@ # name: test_no_coordinator_data[Curtain][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -4084,10 +4084,10 @@ # name: test_no_coordinator_data[Home Climate Panel][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -4139,10 +4139,10 @@ # name: test_no_coordinator_data[Home Climate Panel][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -4197,10 +4197,10 @@ # name: test_no_coordinator_data[Home Climate Panel][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -4252,10 +4252,10 @@ # name: test_no_coordinator_data[Hub 2][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -4310,10 +4310,10 @@ # name: test_no_coordinator_data[Hub 2][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -4365,10 +4365,10 @@ # name: test_no_coordinator_data[Hub 3][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -4420,7 +4420,7 @@ # name: test_no_coordinator_data[Hub 3][sensor.test_device_name_1_light_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device-name-1 Light level', + : 'test-device-name-1 Light level', : , }), 'context': , @@ -4476,10 +4476,10 @@ # name: test_no_coordinator_data[Hub 3][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -4534,10 +4534,10 @@ # name: test_no_coordinator_data[Humidifier][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -4589,10 +4589,10 @@ # name: test_no_coordinator_data[Lock Vision Pro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -4644,10 +4644,10 @@ # name: test_no_coordinator_data[Lock Vision][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -4699,10 +4699,10 @@ # name: test_no_coordinator_data[MeterPlus][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -4754,10 +4754,10 @@ # name: test_no_coordinator_data[MeterPlus][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -4812,10 +4812,10 @@ # name: test_no_coordinator_data[MeterPlus][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -4867,10 +4867,10 @@ # name: test_no_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -4922,10 +4922,10 @@ # name: test_no_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'test-device-name-1 Carbon dioxide', + : 'carbon_dioxide', + : 'test-device-name-1 Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.test_device_name_1_carbon_dioxide', @@ -4977,10 +4977,10 @@ # name: test_no_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -5035,10 +5035,10 @@ # name: test_no_coordinator_data[MeterPro(CO2)][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -5090,10 +5090,10 @@ # name: test_no_coordinator_data[MeterPro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -5145,10 +5145,10 @@ # name: test_no_coordinator_data[MeterPro][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -5203,10 +5203,10 @@ # name: test_no_coordinator_data[MeterPro][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -5258,10 +5258,10 @@ # name: test_no_coordinator_data[Meter][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -5313,10 +5313,10 @@ # name: test_no_coordinator_data[Meter][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -5371,10 +5371,10 @@ # name: test_no_coordinator_data[Meter][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -5426,10 +5426,10 @@ # name: test_no_coordinator_data[Motion Sensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -5484,10 +5484,10 @@ # name: test_no_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -5545,10 +5545,10 @@ # name: test_no_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'test-device-name-1 Energy', + : 'energy', + : 'test-device-name-1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_energy', @@ -5603,10 +5603,10 @@ # name: test_no_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -5661,10 +5661,10 @@ # name: test_no_coordinator_data[Plug Mini (EU)][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -5719,10 +5719,10 @@ # name: test_no_coordinator_data[Plug Mini (JP)][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -5777,10 +5777,10 @@ # name: test_no_coordinator_data[Plug Mini (JP)][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -5835,10 +5835,10 @@ # name: test_no_coordinator_data[Plug Mini (JP)][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -5893,10 +5893,10 @@ # name: test_no_coordinator_data[Plug Mini (US)][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -5951,10 +5951,10 @@ # name: test_no_coordinator_data[Plug Mini (US)][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -6009,10 +6009,10 @@ # name: test_no_coordinator_data[Plug Mini (US)][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -6064,10 +6064,10 @@ # name: test_no_coordinator_data[Presence Sensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -6119,7 +6119,7 @@ # name: test_no_coordinator_data[Presence Sensor][sensor.test_device_name_1_light_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device-name-1 Light level', + : 'test-device-name-1 Light level', : , }), 'context': , @@ -6175,10 +6175,10 @@ # name: test_no_coordinator_data[Relay Switch 1PM][sensor.test_device_name_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Current', + : 'current', + : 'test-device-name-1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_current', @@ -6233,10 +6233,10 @@ # name: test_no_coordinator_data[Relay Switch 1PM][sensor.test_device_name_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Power', + : 'power', + : 'test-device-name-1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_power', @@ -6291,10 +6291,10 @@ # name: test_no_coordinator_data[Relay Switch 1PM][sensor.test_device_name_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Voltage', + : 'voltage', + : 'test-device-name-1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_voltage', @@ -6349,10 +6349,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Channel 1 Current', + : 'current', + : 'test-device-name-1 Channel 1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_current', @@ -6410,10 +6410,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'test-device-name-1 Channel 1 Energy', + : 'energy', + : 'test-device-name-1 Channel 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_energy', @@ -6468,10 +6468,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Channel 1 Power', + : 'power', + : 'test-device-name-1 Channel 1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_power', @@ -6526,10 +6526,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Channel 1 Voltage', + : 'voltage', + : 'test-device-name-1 Channel 1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_voltage', @@ -6584,10 +6584,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Channel 2 Current', + : 'current', + : 'test-device-name-1 Channel 2 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_current', @@ -6645,10 +6645,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_2_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'test-device-name-1 Channel 2 Energy', + : 'energy', + : 'test-device-name-1 Channel 2 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_energy', @@ -6703,10 +6703,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Channel 2 Power', + : 'power', + : 'test-device-name-1 Channel 2 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_power', @@ -6761,10 +6761,10 @@ # name: test_no_coordinator_data[Relay Switch 2PM][sensor.test_device_name_1_channel_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Channel 2 Voltage', + : 'voltage', + : 'test-device-name-1 Channel 2 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_voltage', @@ -6816,10 +6816,10 @@ # name: test_no_coordinator_data[Roller Shade][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -6871,10 +6871,10 @@ # name: test_no_coordinator_data[Smart Lock Lite][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -6926,10 +6926,10 @@ # name: test_no_coordinator_data[Smart Lock Pro Wifi][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -6981,10 +6981,10 @@ # name: test_no_coordinator_data[Smart Lock Pro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7036,10 +7036,10 @@ # name: test_no_coordinator_data[Smart Lock Ultra][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7099,8 +7099,8 @@ # name: test_no_coordinator_data[Smart Lock Ultra][sensor.test_device_name_1_lock_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'test-device-name-1 Lock state', + : 'enum', + : 'test-device-name-1 Lock state', : list([ 'locked', 'unlocked', @@ -7161,10 +7161,10 @@ # name: test_no_coordinator_data[Smart Lock Vision Pro][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7216,10 +7216,10 @@ # name: test_no_coordinator_data[Smart Lock Vision][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7271,10 +7271,10 @@ # name: test_no_coordinator_data[Smart Lock][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7326,10 +7326,10 @@ # name: test_no_coordinator_data[Smart Radiator Thermostat][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7381,10 +7381,10 @@ # name: test_no_coordinator_data[Standing Fan][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7436,10 +7436,10 @@ # name: test_no_coordinator_data[Water Detector][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7491,10 +7491,10 @@ # name: test_no_coordinator_data[WeatherStation][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7546,10 +7546,10 @@ # name: test_no_coordinator_data[WeatherStation][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -7604,10 +7604,10 @@ # name: test_no_coordinator_data[WeatherStation][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -7659,10 +7659,10 @@ # name: test_no_coordinator_data[WoIOSensor][sensor.test_device_name_1_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test-device-name-1 Battery', + : 'battery', + : 'test-device-name-1 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_battery', @@ -7714,10 +7714,10 @@ # name: test_no_coordinator_data[WoIOSensor][sensor.test_device_name_1_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'test-device-name-1 Humidity', + : 'humidity', + : 'test-device-name-1 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_name_1_humidity', @@ -7772,10 +7772,10 @@ # name: test_no_coordinator_data[WoIOSensor][sensor.test_device_name_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device-name-1 Temperature', + : 'temperature', + : 'test-device-name-1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_temperature', @@ -7830,10 +7830,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Channel 1 Current', + : 'current', + : 'test-device-name-1 Channel 1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_current', @@ -7891,10 +7891,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'test-device-name-1 Channel 1 Energy', + : 'energy', + : 'test-device-name-1 Channel 1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_energy', @@ -7949,10 +7949,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Channel 1 Power', + : 'power', + : 'test-device-name-1 Channel 1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_power', @@ -8007,10 +8007,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Channel 1 Voltage', + : 'voltage', + : 'test-device-name-1 Channel 1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_1_voltage', @@ -8065,10 +8065,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'test-device-name-1 Channel 2 Current', + : 'current', + : 'test-device-name-1 Channel 2 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_current', @@ -8126,10 +8126,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_2_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'test-device-name-1 Channel 2 Energy', + : 'energy', + : 'test-device-name-1 Channel 2 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_energy', @@ -8184,10 +8184,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device-name-1 Channel 2 Power', + : 'power', + : 'test-device-name-1 Channel 2 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_power', @@ -8242,10 +8242,10 @@ # name: test_relay_switch_2pm_coordinator_data[sensor.test_device_name_1_channel_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'test-device-name-1 Channel 2 Voltage', + : 'voltage', + : 'test-device-name-1 Channel 2 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_name_1_channel_2_voltage', diff --git a/tests/components/syncthru/snapshots/test_binary_sensor.ambr b/tests/components/syncthru/snapshots/test_binary_sensor.ambr index 721d4394d56..0b2a051643b 100644 --- a/tests/components/syncthru/snapshots/test_binary_sensor.ambr +++ b/tests/components/syncthru/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.sec84251907c415_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'SEC84251907C415 Connectivity', + : 'connectivity', + : 'SEC84251907C415 Connectivity', }), 'context': , 'entity_id': 'binary_sensor.sec84251907c415_connectivity', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.sec84251907c415_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'SEC84251907C415 Problem', + : 'problem', + : 'SEC84251907C415 Problem', }), 'context': , 'entity_id': 'binary_sensor.sec84251907c415_problem', diff --git a/tests/components/syncthru/snapshots/test_sensor.ambr b/tests/components/syncthru/snapshots/test_sensor.ambr index 4342d4fe3d3..dac7e96abf6 100644 --- a/tests/components/syncthru/snapshots/test_sensor.ambr +++ b/tests/components/syncthru/snapshots/test_sensor.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'display_text': '', - 'friendly_name': 'SEC84251907C415', - 'icon': 'mdi:printer', + : 'SEC84251907C415', + : 'mdi:printer', }), 'context': , 'entity_id': 'sensor.sec84251907c415', @@ -91,9 +91,9 @@ # name: test_all_entities[sensor.sec84251907c415_active_alerts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SEC84251907C415 Active alerts', - 'icon': 'mdi:printer', - 'unit_of_measurement': 'alerts', + : 'SEC84251907C415 Active alerts', + : 'mdi:printer', + : 'alerts', }), 'context': , 'entity_id': 'sensor.sec84251907c415_active_alerts', @@ -144,12 +144,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'cnt': 1176, - 'friendly_name': 'SEC84251907C415 Black toner level', - 'icon': 'mdi:printer', + : 'SEC84251907C415 Black toner level', + : 'mdi:printer', 'newError': 'C1-5110', 'opt': 1, 'remaining': 8, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sec84251907c415_black_toner_level', @@ -200,12 +200,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'cnt': 25, - 'friendly_name': 'SEC84251907C415 Cyan toner level', - 'icon': 'mdi:printer', + : 'SEC84251907C415 Cyan toner level', + : 'mdi:printer', 'newError': '', 'opt': 1, 'remaining': 98, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sec84251907c415_cyan_toner_level', @@ -256,8 +256,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'capa': 150, - 'friendly_name': 'SEC84251907C415 Input tray 1', - 'icon': 'mdi:printer', + : 'SEC84251907C415 Input tray 1', + : 'mdi:printer', 'newError': '', 'opt': 1, 'paper_level': 0, @@ -315,12 +315,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'cnt': 25, - 'friendly_name': 'SEC84251907C415 Magenta toner level', - 'icon': 'mdi:printer', + : 'SEC84251907C415 Magenta toner level', + : 'mdi:printer', 'newError': '', 'opt': 1, 'remaining': 98, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sec84251907c415_magenta_toner_level', @@ -371,8 +371,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'capacity': 50, - 'friendly_name': 'SEC84251907C415 Output tray 1', - 'icon': 'mdi:printer', + : 'SEC84251907C415 Output tray 1', + : 'mdi:printer', 'name': 1, 'status': '', }), @@ -425,12 +425,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'cnt': 27, - 'friendly_name': 'SEC84251907C415 Yellow toner level', - 'icon': 'mdi:printer', + : 'SEC84251907C415 Yellow toner level', + : 'mdi:printer', 'newError': '', 'opt': 1, 'remaining': 97, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sec84251907c415_yellow_toner_level', diff --git a/tests/components/synology_dsm/snapshots/test_select.ambr b/tests/components/synology_dsm/snapshots/test_select.ambr index f94f37f1913..3cbf42e9e5b 100644 --- a/tests/components/synology_dsm/snapshots/test_select.ambr +++ b/tests/components/synology_dsm/snapshots/test_select.ambr @@ -45,8 +45,8 @@ # name: test_fan_speed[select.nas_meontheinternet_com_fan_speed_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Synology', - 'friendly_name': 'nas.meontheinternet.com Fan speed mode', + : 'Data provided by Synology', + : 'nas.meontheinternet.com Fan speed mode', : list([ 'quiet', 'cool', diff --git a/tests/components/system_bridge/snapshots/test_binary_sensor.ambr b/tests/components/system_bridge/snapshots/test_binary_sensor.ambr index be789fcc7b0..464440261a0 100644 --- a/tests/components/system_bridge/snapshots/test_binary_sensor.ambr +++ b/tests/components/system_bridge/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor_platform[binary_sensor.hostname_camera_in_use-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Camera in use', + : 'hostname Camera in use', }), 'context': , 'entity_id': 'binary_sensor.hostname_camera_in_use', @@ -89,8 +89,8 @@ # name: test_binary_sensor_platform[binary_sensor.hostname_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'hostname Charging', + : 'battery_charging', + : 'hostname Charging', }), 'context': , 'entity_id': 'binary_sensor.hostname_charging', @@ -140,7 +140,7 @@ # name: test_binary_sensor_platform[binary_sensor.hostname_pending_reboot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Pending reboot', + : 'hostname Pending reboot', }), 'context': , 'entity_id': 'binary_sensor.hostname_pending_reboot', @@ -190,8 +190,8 @@ # name: test_binary_sensor_platform[binary_sensor.hostname_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'update', - 'friendly_name': 'hostname Update', + : 'update', + : 'hostname Update', }), 'context': , 'entity_id': 'binary_sensor.hostname_update', diff --git a/tests/components/system_bridge/snapshots/test_notify.ambr b/tests/components/system_bridge/snapshots/test_notify.ambr index e0d3d9d77a5..4e13f5f7fd2 100644 --- a/tests/components/system_bridge/snapshots/test_notify.ambr +++ b/tests/components/system_bridge/snapshots/test_notify.ambr @@ -39,8 +39,8 @@ # name: test_notify_platform[notify.hostname-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname', - 'supported_features': , + : 'hostname', + : , }), 'context': , 'entity_id': 'notify.hostname', diff --git a/tests/components/system_bridge/snapshots/test_sensor.ambr b/tests/components/system_bridge/snapshots/test_sensor.ambr index 8da6a22718f..5c54045ab79 100644 --- a/tests/components/system_bridge/snapshots/test_sensor.ambr +++ b/tests/components/system_bridge/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor_platform[sensor.hostname_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'hostname Battery', + : 'battery', + : 'hostname Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hostname_battery', @@ -97,8 +97,8 @@ # name: test_sensor_platform[sensor.hostname_battery_time_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'hostname Battery time remaining', + : 'timestamp', + : 'hostname Battery time remaining', }), 'context': , 'entity_id': 'sensor.hostname_battery_time_remaining', @@ -148,8 +148,8 @@ # name: test_sensor_platform[sensor.hostname_boot_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'hostname Boot time', + : 'timestamp', + : 'hostname Boot time', }), 'context': , 'entity_id': 'sensor.hostname_boot_time', @@ -204,9 +204,9 @@ # name: test_sensor_platform[sensor.hostname_cpu_core_0_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname CPU core 0 power', + : 'hostname CPU core 0 power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_cpu_core_0_power', @@ -261,9 +261,9 @@ # name: test_sensor_platform[sensor.hostname_cpu_package_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname CPU package power', + : 'hostname CPU package power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_cpu_package_power', @@ -318,10 +318,10 @@ # name: test_sensor_platform[sensor.hostname_cpu_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'hostname CPU speed', + : 'frequency', + : 'hostname CPU speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_cpu_speed', @@ -376,10 +376,10 @@ # name: test_sensor_platform[sensor.hostname_cpu_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'hostname CPU temperature', + : 'temperature', + : 'hostname CPU temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_cpu_temperature', @@ -434,10 +434,10 @@ # name: test_sensor_platform[sensor.hostname_cpu_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'hostname CPU voltage', + : 'voltage', + : 'hostname CPU voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_cpu_voltage', @@ -492,10 +492,10 @@ # name: test_sensor_platform[sensor.hostname_display_abc123_refresh_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'hostname Display abc123 refresh rate', + : 'frequency', + : 'hostname Display abc123 refresh rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_display_abc123_refresh_rate', @@ -547,9 +547,9 @@ # name: test_sensor_platform[sensor.hostname_display_abc123_resolution_x-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Display abc123 resolution x', + : 'hostname Display abc123 resolution x', : , - 'unit_of_measurement': 'px', + : 'px', }), 'context': , 'entity_id': 'sensor.hostname_display_abc123_resolution_x', @@ -601,9 +601,9 @@ # name: test_sensor_platform[sensor.hostname_display_abc123_resolution_y-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Display abc123 resolution y', + : 'hostname Display abc123 resolution y', : , - 'unit_of_measurement': 'px', + : 'px', }), 'context': , 'entity_id': 'sensor.hostname_display_abc123_resolution_y', @@ -655,7 +655,7 @@ # name: test_sensor_platform[sensor.hostname_displays_connected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Displays connected', + : 'hostname Displays connected', : , }), 'context': , @@ -706,7 +706,7 @@ # name: test_sensor_platform[sensor.hostname_kernel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Kernel', + : 'hostname Kernel', }), 'context': , 'entity_id': 'sensor.hostname_kernel', @@ -756,7 +756,7 @@ # name: test_sensor_platform[sensor.hostname_latest_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Latest version', + : 'hostname Latest version', }), 'context': , 'entity_id': 'sensor.hostname_latest_version', @@ -811,9 +811,9 @@ # name: test_sensor_platform[sensor.hostname_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Load', + : 'hostname Load', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hostname_load', @@ -868,9 +868,9 @@ # name: test_sensor_platform[sensor.hostname_load_cpu_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Load CPU 0', + : 'hostname Load CPU 0', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hostname_load_cpu_0', @@ -925,10 +925,10 @@ # name: test_sensor_platform[sensor.hostname_memory_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'hostname Memory free', + : 'data_size', + : 'hostname Memory free', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_memory_free', @@ -983,9 +983,9 @@ # name: test_sensor_platform[sensor.hostname_memory_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Memory used %', + : 'hostname Memory used %', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hostname_memory_used', @@ -1040,10 +1040,10 @@ # name: test_sensor_platform[sensor.hostname_memory_used_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'hostname Memory used', + : 'data_size', + : 'hostname Memory used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_memory_used_2', @@ -1098,9 +1098,9 @@ # name: test_sensor_platform[sensor.hostname_mountpoint_space_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname mountpoint space used', + : 'hostname mountpoint space used', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hostname_mountpoint_space_used', @@ -1155,10 +1155,10 @@ # name: test_sensor_platform[sensor.hostname_name_clock_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'hostname name clock speed', + : 'frequency', + : 'hostname name clock speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_name_clock_speed', @@ -1210,9 +1210,9 @@ # name: test_sensor_platform[sensor.hostname_name_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname name fan speed', + : 'hostname name fan speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.hostname_name_fan_speed', @@ -1267,10 +1267,10 @@ # name: test_sensor_platform[sensor.hostname_name_memory_clock_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'hostname name memory clock speed', + : 'frequency', + : 'hostname name memory clock speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_name_memory_clock_speed', @@ -1325,10 +1325,10 @@ # name: test_sensor_platform[sensor.hostname_name_memory_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'hostname name memory free', + : 'data_size', + : 'hostname name memory free', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_name_memory_free', @@ -1383,9 +1383,9 @@ # name: test_sensor_platform[sensor.hostname_name_memory_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname name memory used %', + : 'hostname name memory used %', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hostname_name_memory_used', @@ -1440,10 +1440,10 @@ # name: test_sensor_platform[sensor.hostname_name_memory_used_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'hostname name memory used', + : 'data_size', + : 'hostname name memory used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_name_memory_used_2', @@ -1495,9 +1495,9 @@ # name: test_sensor_platform[sensor.hostname_name_power_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname name power usage', + : 'hostname name power usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_name_power_usage', @@ -1552,10 +1552,10 @@ # name: test_sensor_platform[sensor.hostname_name_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'hostname name temperature', + : 'temperature', + : 'hostname name temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_name_temperature', @@ -1610,9 +1610,9 @@ # name: test_sensor_platform[sensor.hostname_name_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname name usage %', + : 'hostname name usage %', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.hostname_name_usage', @@ -1662,7 +1662,7 @@ # name: test_sensor_platform[sensor.hostname_operating_system-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Operating system', + : 'hostname Operating system', }), 'context': , 'entity_id': 'sensor.hostname_operating_system', @@ -1717,10 +1717,10 @@ # name: test_sensor_platform[sensor.hostname_power_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'hostname Power usage', + : 'power', + : 'hostname Power usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hostname_power_usage', @@ -1772,7 +1772,7 @@ # name: test_sensor_platform[sensor.hostname_processes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Processes', + : 'hostname Processes', : , }), 'context': , @@ -1823,7 +1823,7 @@ # name: test_sensor_platform[sensor.hostname_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'hostname Version', + : 'hostname Version', }), 'context': , 'entity_id': 'sensor.hostname_version', diff --git a/tests/components/system_bridge/snapshots/test_update.ambr b/tests/components/system_bridge/snapshots/test_update.ambr index c2a68baabb8..c61740232ec 100644 --- a/tests/components/system_bridge/snapshots/test_update.ambr +++ b/tests/components/system_bridge/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/system_bridge/icon.png', - 'friendly_name': 'hostname', + : '/api/brands/integration/system_bridge/icon.png', + : 'hostname', : False, : '1.0.0', : '4.99.0', : None, : 'https://github.com/timmo001/system-bridge/releases/tag/4.99.0', : None, - 'supported_features': , + : , : 'System Bridge', : None, }), diff --git a/tests/components/systemmonitor/snapshots/test_binary_sensor.ambr b/tests/components/systemmonitor/snapshots/test_binary_sensor.ambr index 2c914c53afb..9203119e8ef 100644 --- a/tests/components/systemmonitor/snapshots/test_binary_sensor.ambr +++ b/tests/components/systemmonitor/snapshots/test_binary_sensor.ambr @@ -1,8 +1,8 @@ # serializer version: 1 # name: test_binary_sensor[System Monitor Charging - attributes] ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'System Monitor Charging', + : 'battery_charging', + : 'System Monitor Charging', }) # --- # name: test_binary_sensor[System Monitor Charging - state] @@ -10,9 +10,9 @@ # --- # name: test_binary_sensor[System Monitor Process pip - attributes] ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'System Monitor Process pip', - 'icon': 'mdi:cpu-64-bit', + : 'running', + : 'System Monitor Process pip', + : 'mdi:cpu-64-bit', }) # --- # name: test_binary_sensor[System Monitor Process pip - state] @@ -20,9 +20,9 @@ # --- # name: test_binary_sensor[System Monitor Process python3 - attributes] ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'System Monitor Process python3', - 'icon': 'mdi:cpu-64-bit', + : 'running', + : 'System Monitor Process python3', + : 'mdi:cpu-64-bit', }) # --- # name: test_binary_sensor[System Monitor Process python3 - state] diff --git a/tests/components/systemmonitor/snapshots/test_sensor.ambr b/tests/components/systemmonitor/snapshots/test_sensor.ambr index bbcf8aae408..bb1bafd1f2e 100644 --- a/tests/components/systemmonitor/snapshots/test_sensor.ambr +++ b/tests/components/systemmonitor/snapshots/test_sensor.ambr @@ -1,9 +1,9 @@ # serializer version: 1 # name: test_sensor[sensor.system_monitor_another_fan_fan_speed - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor another-fan fan speed', + : 'System Monitor another-fan fan speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }) # --- # name: test_sensor[sensor.system_monitor_another_fan_fan_speed - state] @@ -11,10 +11,10 @@ # --- # name: test_sensor[sensor.system_monitor_battery - attributes] ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'System Monitor Battery', + : 'battery', + : 'System Monitor Battery', : , - 'unit_of_measurement': '%', + : '%', }) # --- # name: test_sensor[sensor.system_monitor_battery - state] @@ -22,8 +22,8 @@ # --- # name: test_sensor[sensor.system_monitor_battery_empty - attributes] ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'System Monitor Battery empty', + : 'timestamp', + : 'System Monitor Battery empty', }) # --- # name: test_sensor[sensor.system_monitor_battery_empty - state] @@ -31,9 +31,9 @@ # --- # name: test_sensor[sensor.system_monitor_cpu_fan_fan_speed - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor cpu-fan fan speed', + : 'System Monitor cpu-fan fan speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }) # --- # name: test_sensor[sensor.system_monitor_cpu_fan_fan_speed - state] @@ -41,10 +41,10 @@ # --- # name: test_sensor[sensor.system_monitor_disk_free - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Disk free /', + : 'data_size', + : 'System Monitor Disk free /', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_disk_free - state] @@ -52,10 +52,10 @@ # --- # name: test_sensor[sensor.system_monitor_disk_free_media_share - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Disk free /media/share', + : 'data_size', + : 'System Monitor Disk free /media/share', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_disk_free_media_share - state] @@ -63,9 +63,9 @@ # --- # name: test_sensor[sensor.system_monitor_disk_usage - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Disk usage /', + : 'System Monitor Disk usage /', : , - 'unit_of_measurement': '%', + : '%', }) # --- # name: test_sensor[sensor.system_monitor_disk_usage - state] @@ -73,9 +73,9 @@ # --- # name: test_sensor[sensor.system_monitor_disk_usage_home_notexist - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Disk usage /home/notexist/', + : 'System Monitor Disk usage /home/notexist/', : , - 'unit_of_measurement': '%', + : '%', }) # --- # name: test_sensor[sensor.system_monitor_disk_usage_home_notexist - state] @@ -83,9 +83,9 @@ # --- # name: test_sensor[sensor.system_monitor_disk_usage_media_share - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Disk usage /media/share', + : 'System Monitor Disk usage /media/share', : , - 'unit_of_measurement': '%', + : '%', }) # --- # name: test_sensor[sensor.system_monitor_disk_usage_media_share - state] @@ -93,10 +93,10 @@ # --- # name: test_sensor[sensor.system_monitor_disk_use - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Disk use /', + : 'data_size', + : 'System Monitor Disk use /', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_disk_use - state] @@ -104,10 +104,10 @@ # --- # name: test_sensor[sensor.system_monitor_disk_use_media_share - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Disk use /media/share', + : 'data_size', + : 'System Monitor Disk use /media/share', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_disk_use_media_share - state] @@ -115,7 +115,7 @@ # --- # name: test_sensor[sensor.system_monitor_ipv4_address_eth0 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor IPv4 address eth0', + : 'System Monitor IPv4 address eth0', }) # --- # name: test_sensor[sensor.system_monitor_ipv4_address_eth0 - state] @@ -123,7 +123,7 @@ # --- # name: test_sensor[sensor.system_monitor_ipv4_address_eth1 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor IPv4 address eth1', + : 'System Monitor IPv4 address eth1', }) # --- # name: test_sensor[sensor.system_monitor_ipv4_address_eth1 - state] @@ -131,7 +131,7 @@ # --- # name: test_sensor[sensor.system_monitor_ipv6_address_eth0 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor IPv6 address eth0', + : 'System Monitor IPv6 address eth0', }) # --- # name: test_sensor[sensor.system_monitor_ipv6_address_eth0 - state] @@ -139,7 +139,7 @@ # --- # name: test_sensor[sensor.system_monitor_ipv6_address_eth1 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor IPv6 address eth1', + : 'System Monitor IPv6 address eth1', }) # --- # name: test_sensor[sensor.system_monitor_ipv6_address_eth1 - state] @@ -147,8 +147,8 @@ # --- # name: test_sensor[sensor.system_monitor_load_15_min - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Load (15 min)', - 'icon': 'mdi:cpu-64-bit', + : 'System Monitor Load (15 min)', + : 'mdi:cpu-64-bit', : , }) # --- @@ -157,8 +157,8 @@ # --- # name: test_sensor[sensor.system_monitor_load_1_min - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Load (1 min)', - 'icon': 'mdi:cpu-64-bit', + : 'System Monitor Load (1 min)', + : 'mdi:cpu-64-bit', : , }) # --- @@ -167,8 +167,8 @@ # --- # name: test_sensor[sensor.system_monitor_load_5_min - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Load (5 min)', - 'icon': 'mdi:cpu-64-bit', + : 'System Monitor Load (5 min)', + : 'mdi:cpu-64-bit', : , }) # --- @@ -177,10 +177,10 @@ # --- # name: test_sensor[sensor.system_monitor_memory_free - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Memory free', + : 'data_size', + : 'System Monitor Memory free', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_memory_free - state] @@ -188,9 +188,9 @@ # --- # name: test_sensor[sensor.system_monitor_memory_usage - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Memory usage', + : 'System Monitor Memory usage', : , - 'unit_of_measurement': '%', + : '%', }) # --- # name: test_sensor[sensor.system_monitor_memory_usage - state] @@ -198,10 +198,10 @@ # --- # name: test_sensor[sensor.system_monitor_memory_use - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Memory use', + : 'data_size', + : 'System Monitor Memory use', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_memory_use - state] @@ -209,10 +209,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_in_eth0 - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Network in eth0', + : 'data_size', + : 'System Monitor Network in eth0', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_in_eth0 - state] @@ -220,10 +220,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_in_eth1 - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Network in eth1', + : 'data_size', + : 'System Monitor Network in eth1', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_in_eth1 - state] @@ -231,10 +231,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_out_eth0 - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Network out eth0', + : 'data_size', + : 'System Monitor Network out eth0', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_out_eth0 - state] @@ -242,10 +242,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_out_eth1 - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Network out eth1', + : 'data_size', + : 'System Monitor Network out eth1', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_out_eth1 - state] @@ -253,10 +253,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_throughput_in_eth0 - attributes] ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'System Monitor Network throughput in eth0', + : 'data_rate', + : 'System Monitor Network throughput in eth0', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_throughput_in_eth0 - state] @@ -264,10 +264,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_throughput_in_eth1 - attributes] ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'System Monitor Network throughput in eth1', + : 'data_rate', + : 'System Monitor Network throughput in eth1', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_throughput_in_eth1 - state] @@ -275,10 +275,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_throughput_out_eth0 - attributes] ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'System Monitor Network throughput out eth0', + : 'data_rate', + : 'System Monitor Network throughput out eth0', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_throughput_out_eth0 - state] @@ -286,10 +286,10 @@ # --- # name: test_sensor[sensor.system_monitor_network_throughput_out_eth1 - attributes] ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'System Monitor Network throughput out eth1', + : 'data_rate', + : 'System Monitor Network throughput out eth1', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_network_throughput_out_eth1 - state] @@ -297,7 +297,7 @@ # --- # name: test_sensor[sensor.system_monitor_open_file_descriptors_pip - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Open file descriptors pip', + : 'System Monitor Open file descriptors pip', : , }) # --- @@ -306,7 +306,7 @@ # --- # name: test_sensor[sensor.system_monitor_open_file_descriptors_python3 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Open file descriptors python3', + : 'System Monitor Open file descriptors python3', : , }) # --- @@ -315,7 +315,7 @@ # --- # name: test_sensor[sensor.system_monitor_packets_in_eth0 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Packets in eth0', + : 'System Monitor Packets in eth0', : , }) # --- @@ -324,7 +324,7 @@ # --- # name: test_sensor[sensor.system_monitor_packets_in_eth1 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Packets in eth1', + : 'System Monitor Packets in eth1', : , }) # --- @@ -333,7 +333,7 @@ # --- # name: test_sensor[sensor.system_monitor_packets_out_eth0 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Packets out eth0', + : 'System Monitor Packets out eth0', : , }) # --- @@ -342,7 +342,7 @@ # --- # name: test_sensor[sensor.system_monitor_packets_out_eth1 - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Packets out eth1', + : 'System Monitor Packets out eth1', : , }) # --- @@ -351,10 +351,10 @@ # --- # name: test_sensor[sensor.system_monitor_processor_temperature - attributes] ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'System Monitor Processor temperature', + : 'temperature', + : 'System Monitor Processor temperature', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_processor_temperature - state] @@ -362,10 +362,10 @@ # --- # name: test_sensor[sensor.system_monitor_processor_use - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Processor use', - 'icon': 'mdi:cpu-64-bit', + : 'System Monitor Processor use', + : 'mdi:cpu-64-bit', : , - 'unit_of_measurement': '%', + : '%', }) # --- # name: test_sensor[sensor.system_monitor_processor_use - state] @@ -373,10 +373,10 @@ # --- # name: test_sensor[sensor.system_monitor_swap_free - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Swap free', + : 'data_size', + : 'System Monitor Swap free', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_swap_free - state] @@ -384,9 +384,9 @@ # --- # name: test_sensor[sensor.system_monitor_swap_usage - attributes] ReadOnlyDict({ - 'friendly_name': 'System Monitor Swap usage', + : 'System Monitor Swap usage', : , - 'unit_of_measurement': '%', + : '%', }) # --- # name: test_sensor[sensor.system_monitor_swap_usage - state] @@ -394,10 +394,10 @@ # --- # name: test_sensor[sensor.system_monitor_swap_use - attributes] ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'System Monitor Swap use', + : 'data_size', + : 'System Monitor Swap use', : , - 'unit_of_measurement': , + : , }) # --- # name: test_sensor[sensor.system_monitor_swap_use - state] @@ -405,8 +405,8 @@ # --- # name: test_sensor[sensor.system_monitor_uptime - attributes] ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'System Monitor Uptime', + : 'uptime', + : 'System Monitor Uptime', }) # --- # name: test_sensor[sensor.system_monitor_uptime - state] diff --git a/tests/components/systemnexa2/snapshots/test_light.ambr b/tests/components/systemnexa2/snapshots/test_light.ambr index b824b5dbc29..0e4b52caffd 100644 --- a/tests/components/systemnexa2/snapshots/test_light.ambr +++ b/tests/components/systemnexa2/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : 128, : , - 'friendly_name': 'In-Wall Dimmer Light', + : 'In-Wall Dimmer Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.in_wall_dimmer_light', diff --git a/tests/components/systemnexa2/snapshots/test_sensor.ambr b/tests/components/systemnexa2/snapshots/test_sensor.ambr index 85c71d5aefc..a984c9723ba 100644 --- a/tests/components/systemnexa2/snapshots/test_sensor.ambr +++ b/tests/components/systemnexa2/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_entities[False][sensor.outdoor_smart_plug_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Outdoor Smart Plug Signal strength', + : 'signal_strength', + : 'Outdoor Smart Plug Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.outdoor_smart_plug_signal_strength', diff --git a/tests/components/systemnexa2/snapshots/test_switch.ambr b/tests/components/systemnexa2/snapshots/test_switch.ambr index d6f92489e78..3dc1c725d1f 100644 --- a/tests/components/systemnexa2/snapshots/test_switch.ambr +++ b/tests/components/systemnexa2/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch_entities[False][switch.outdoor_smart_plug_433_mhz-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Outdoor Smart Plug 433 MHz', + : 'switch', + : 'Outdoor Smart Plug 433 MHz', }), 'context': , 'entity_id': 'switch.outdoor_smart_plug_433_mhz', @@ -90,8 +90,8 @@ # name: test_switch_entities[False][switch.outdoor_smart_plug_cloud_access-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Outdoor Smart Plug Cloud access', + : 'switch', + : 'Outdoor Smart Plug Cloud access', }), 'context': , 'entity_id': 'switch.outdoor_smart_plug_cloud_access', @@ -141,7 +141,7 @@ # name: test_switch_entities[False][switch.outdoor_smart_plug_relay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Outdoor Smart Plug Relay', + : 'Outdoor Smart Plug Relay', }), 'context': , 'entity_id': 'switch.outdoor_smart_plug_relay', diff --git a/tests/components/tado/snapshots/test_binary_sensor.ambr b/tests/components/tado/snapshots/test_binary_sensor.ambr index cf5cd28fb3d..c5dda35039e 100644 --- a/tests/components/tado/snapshots/test_binary_sensor.ambr +++ b/tests/components/tado/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entities[binary_sensor.air_conditioning_air_conditioning_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Air Conditioning Connectivity', + : 'connectivity', + : 'Air Conditioning Connectivity', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_air_conditioning_connectivity', @@ -90,8 +90,8 @@ # name: test_entities[binary_sensor.air_conditioning_air_conditioning_overlay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air Conditioning Overlay', + : 'power', + : 'Air Conditioning Overlay', 'termination': 'TADO_MODE', }), 'context': , @@ -142,8 +142,8 @@ # name: test_entities[binary_sensor.air_conditioning_air_conditioning_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air Conditioning Power', + : 'power', + : 'Air Conditioning Power', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_air_conditioning_power', @@ -193,8 +193,8 @@ # name: test_entities[binary_sensor.air_conditioning_air_conditioning_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Air Conditioning Window', + : 'window', + : 'Air Conditioning Window', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_air_conditioning_window', @@ -244,8 +244,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Air Conditioning with fanlevel Connectivity', + : 'connectivity', + : 'Air Conditioning with fanlevel Connectivity', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_connectivity', @@ -295,8 +295,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_overlay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air Conditioning with fanlevel Overlay', + : 'power', + : 'Air Conditioning with fanlevel Overlay', 'termination': 'MANUAL', }), 'context': , @@ -347,8 +347,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air Conditioning with fanlevel Power', + : 'power', + : 'Air Conditioning with fanlevel Power', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_power', @@ -398,8 +398,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Air Conditioning with fanlevel Window', + : 'window', + : 'Air Conditioning with fanlevel Window', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_window', @@ -449,8 +449,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Air Conditioning with swing Connectivity', + : 'connectivity', + : 'Air Conditioning with swing Connectivity', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_connectivity', @@ -500,8 +500,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_overlay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air Conditioning with swing Overlay', + : 'power', + : 'Air Conditioning with swing Overlay', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_overlay', @@ -551,8 +551,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air Conditioning with swing Power', + : 'power', + : 'Air Conditioning with swing Power', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_power', @@ -602,8 +602,8 @@ # name: test_entities[binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Air Conditioning with swing Window', + : 'window', + : 'Air Conditioning with swing Window', }), 'context': , 'entity_id': 'binary_sensor.air_conditioning_with_swing_air_conditioning_with_swing_window', @@ -653,8 +653,8 @@ # name: test_entities[binary_sensor.baseboard_heater_baseboard_heater_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Baseboard Heater Connectivity', + : 'connectivity', + : 'Baseboard Heater Connectivity', }), 'context': , 'entity_id': 'binary_sensor.baseboard_heater_baseboard_heater_connectivity', @@ -704,8 +704,8 @@ # name: test_entities[binary_sensor.baseboard_heater_baseboard_heater_early_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Baseboard Heater Early start', + : 'power', + : 'Baseboard Heater Early start', }), 'context': , 'entity_id': 'binary_sensor.baseboard_heater_baseboard_heater_early_start', @@ -755,8 +755,8 @@ # name: test_entities[binary_sensor.baseboard_heater_baseboard_heater_overlay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Baseboard Heater Overlay', + : 'power', + : 'Baseboard Heater Overlay', 'termination': 'MANUAL', }), 'context': , @@ -807,8 +807,8 @@ # name: test_entities[binary_sensor.baseboard_heater_baseboard_heater_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Baseboard Heater Power', + : 'power', + : 'Baseboard Heater Power', }), 'context': , 'entity_id': 'binary_sensor.baseboard_heater_baseboard_heater_power', @@ -858,8 +858,8 @@ # name: test_entities[binary_sensor.baseboard_heater_baseboard_heater_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Baseboard Heater Window', + : 'window', + : 'Baseboard Heater Window', }), 'context': , 'entity_id': 'binary_sensor.baseboard_heater_baseboard_heater_window', @@ -909,8 +909,8 @@ # name: test_entities[binary_sensor.second_water_heater_second_water_heater_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Second Water Heater Connectivity', + : 'connectivity', + : 'Second Water Heater Connectivity', }), 'context': , 'entity_id': 'binary_sensor.second_water_heater_second_water_heater_connectivity', @@ -960,8 +960,8 @@ # name: test_entities[binary_sensor.second_water_heater_second_water_heater_overlay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Second Water Heater Overlay', + : 'power', + : 'Second Water Heater Overlay', 'termination': 'TADO_MODE', }), 'context': , @@ -1012,8 +1012,8 @@ # name: test_entities[binary_sensor.second_water_heater_second_water_heater_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Second Water Heater Power', + : 'power', + : 'Second Water Heater Power', }), 'context': , 'entity_id': 'binary_sensor.second_water_heater_second_water_heater_power', @@ -1063,8 +1063,8 @@ # name: test_entities[binary_sensor.water_heater_water_heater_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Water Heater Connectivity', + : 'connectivity', + : 'Water Heater Connectivity', }), 'context': , 'entity_id': 'binary_sensor.water_heater_water_heater_connectivity', @@ -1114,8 +1114,8 @@ # name: test_entities[binary_sensor.water_heater_water_heater_overlay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Water Heater Overlay', + : 'power', + : 'Water Heater Overlay', }), 'context': , 'entity_id': 'binary_sensor.water_heater_water_heater_overlay', @@ -1165,8 +1165,8 @@ # name: test_entities[binary_sensor.water_heater_water_heater_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Water Heater Power', + : 'power', + : 'Water Heater Power', }), 'context': , 'entity_id': 'binary_sensor.water_heater_water_heater_power', @@ -1216,8 +1216,8 @@ # name: test_entities[binary_sensor.wr1_connection_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'WR1 Connection state', + : 'connectivity', + : 'WR1 Connection state', }), 'context': , 'entity_id': 'binary_sensor.wr1_connection_state', @@ -1267,8 +1267,8 @@ # name: test_entities[binary_sensor.wr4_connection_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'WR4 Connection state', + : 'connectivity', + : 'WR4 Connection state', }), 'context': , 'entity_id': 'binary_sensor.wr4_connection_state', diff --git a/tests/components/tado/snapshots/test_climate.ambr b/tests/components/tado/snapshots/test_climate.ambr index 16f75a26a9e..6b7530fa9a0 100644 --- a/tests/components/tado/snapshots/test_climate.ambr +++ b/tests/components/tado/snapshots/test_climate.ambr @@ -168,7 +168,7 @@ 'medium', 'low', ]), - 'friendly_name': 'Air Conditioning', + : 'Air Conditioning', : , : list([ , @@ -189,7 +189,7 @@ 'home', 'auto', ]), - 'supported_features': , + : , : 1, : 17.8, }), @@ -282,7 +282,7 @@ 'auto', 'low', ]), - 'friendly_name': 'Air Conditioning with fanlevel', + : 'Air Conditioning with fanlevel', : , : list([ , @@ -301,7 +301,7 @@ 'home', 'auto', ]), - 'supported_features': , + : , : 'both', : list([ 'vertical', @@ -399,7 +399,7 @@ 'medium', 'low', ]), - 'friendly_name': 'Air Conditioning with swing', + : 'Air Conditioning with swing', : , : list([ , @@ -420,7 +420,7 @@ 'home', 'auto', ]), - 'supported_features': , + : , : 'off', : list([ 'on', @@ -495,7 +495,7 @@ : 20.6, 'default_overlay_seconds': None, 'default_overlay_type': 'MANUAL', - 'friendly_name': 'Baseboard Heater', + : 'Baseboard Heater', : , : list([ , @@ -512,7 +512,7 @@ 'home', 'auto', ]), - 'supported_features': , + : , : 1, : 20.5, }), diff --git a/tests/components/tado/snapshots/test_sensor.ambr b/tests/components/tado/snapshots/test_sensor.ambr index c84ef3e414c..4e33de2e0d8 100644 --- a/tests/components/tado/snapshots/test_sensor.ambr +++ b/tests/components/tado/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_entities[sensor.air_conditioning_air_conditioning_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Conditioning AC', + : 'Air Conditioning AC', 'time': '2020-03-05T04:01:07.162Z', }), 'context': , @@ -92,11 +92,11 @@ # name: test_entities[sensor.air_conditioning_air_conditioning_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Air Conditioning Humidity', + : 'humidity', + : 'Air Conditioning Humidity', : , 'time': '2020-03-05T03:57:38.850Z', - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.air_conditioning_air_conditioning_humidity', @@ -146,7 +146,7 @@ # name: test_entities[sensor.air_conditioning_air_conditioning_tado_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Conditioning Tado mode', + : 'Air Conditioning Tado mode', }), 'context': , 'entity_id': 'sensor.air_conditioning_air_conditioning_tado_mode', @@ -201,12 +201,12 @@ # name: test_entities[sensor.air_conditioning_air_conditioning_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Air Conditioning Temperature', + : 'temperature', + : 'Air Conditioning Temperature', 'setting': 0, : , 'time': '2020-03-05T03:57:38.850Z', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_conditioning_air_conditioning_temperature', @@ -256,7 +256,7 @@ # name: test_entities[sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Conditioning with fanlevel AC', + : 'Air Conditioning with fanlevel AC', 'time': '2022-07-13T18: 06: 58.183Z', }), 'context': , @@ -309,11 +309,11 @@ # name: test_entities[sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Air Conditioning with fanlevel Humidity', + : 'humidity', + : 'Air Conditioning with fanlevel Humidity', : , 'time': '2024-06-28T22: 23: 15.679Z', - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_humidity', @@ -363,7 +363,7 @@ # name: test_entities[sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_tado_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Conditioning with fanlevel Tado mode', + : 'Air Conditioning with fanlevel Tado mode', }), 'context': , 'entity_id': 'sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_tado_mode', @@ -418,12 +418,12 @@ # name: test_entities[sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Air Conditioning with fanlevel Temperature', + : 'temperature', + : 'Air Conditioning with fanlevel Temperature', 'setting': 0, : , 'time': '2024-06-28T22: 23: 15.679Z', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_conditioning_with_fanlevel_air_conditioning_with_fanlevel_temperature', @@ -473,7 +473,7 @@ # name: test_entities[sensor.air_conditioning_with_swing_air_conditioning_with_swing_ac-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Conditioning with swing AC', + : 'Air Conditioning with swing AC', 'time': '2020-03-27T23:02:22.260Z', }), 'context': , @@ -526,11 +526,11 @@ # name: test_entities[sensor.air_conditioning_with_swing_air_conditioning_with_swing_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Air Conditioning with swing Humidity', + : 'humidity', + : 'Air Conditioning with swing Humidity', : , 'time': '2020-03-28T02:09:27.830Z', - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.air_conditioning_with_swing_air_conditioning_with_swing_humidity', @@ -580,7 +580,7 @@ # name: test_entities[sensor.air_conditioning_with_swing_air_conditioning_with_swing_tado_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Conditioning with swing Tado mode', + : 'Air Conditioning with swing Tado mode', }), 'context': , 'entity_id': 'sensor.air_conditioning_with_swing_air_conditioning_with_swing_tado_mode', @@ -635,12 +635,12 @@ # name: test_entities[sensor.air_conditioning_with_swing_air_conditioning_with_swing_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Air Conditioning with swing Temperature', + : 'temperature', + : 'Air Conditioning with swing Temperature', 'setting': 0, : , 'time': '2020-03-28T02:09:27.830Z', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_conditioning_with_swing_air_conditioning_with_swing_temperature', @@ -692,10 +692,10 @@ # name: test_entities[sensor.baseboard_heater_baseboard_heater_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Baseboard Heater Heating', + : 'Baseboard Heater Heating', : , 'time': '2020-03-10T07:47:45.978Z', - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.baseboard_heater_baseboard_heater_heating', @@ -747,11 +747,11 @@ # name: test_entities[sensor.baseboard_heater_baseboard_heater_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Baseboard Heater Humidity', + : 'humidity', + : 'Baseboard Heater Humidity', : , 'time': '2020-03-10T07:44:11.947Z', - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.baseboard_heater_baseboard_heater_humidity', @@ -801,7 +801,7 @@ # name: test_entities[sensor.baseboard_heater_baseboard_heater_tado_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Baseboard Heater Tado mode', + : 'Baseboard Heater Tado mode', }), 'context': , 'entity_id': 'sensor.baseboard_heater_baseboard_heater_tado_mode', @@ -856,12 +856,12 @@ # name: test_entities[sensor.baseboard_heater_baseboard_heater_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Baseboard Heater Temperature', + : 'temperature', + : 'Baseboard Heater Temperature', 'setting': 0, : , 'time': '2020-03-10T07:44:11.947Z', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.baseboard_heater_baseboard_heater_temperature', @@ -911,7 +911,7 @@ # name: test_entities[sensor.home_name_automatic_geofencing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home name Automatic geofencing', + : 'home name Automatic geofencing', }), 'context': , 'entity_id': 'sensor.home_name_automatic_geofencing', @@ -961,7 +961,7 @@ # name: test_entities[sensor.home_name_geofencing_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home name Geofencing mode', + : 'home name Geofencing mode', }), 'context': , 'entity_id': 'sensor.home_name_geofencing_mode', @@ -1016,11 +1016,11 @@ # name: test_entities[sensor.home_name_outdoor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'home name Outdoor temperature', + : 'temperature', + : 'home name Outdoor temperature', : , 'time': '2020-12-22T08:13:13.652Z', - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.home_name_outdoor_temperature', @@ -1072,10 +1072,10 @@ # name: test_entities[sensor.home_name_solar_percentage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home name Solar percentage', + : 'home name Solar percentage', : , 'time': '2020-12-22T08:13:13.652Z', - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.home_name_solar_percentage', @@ -1125,7 +1125,7 @@ # name: test_entities[sensor.home_name_tado_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home name Tado mode', + : 'home name Tado mode', }), 'context': , 'entity_id': 'sensor.home_name_tado_mode', @@ -1175,7 +1175,7 @@ # name: test_entities[sensor.home_name_weather_condition-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home name Weather condition', + : 'home name Weather condition', 'time': '2020-12-22T08:13:13.652Z', }), 'context': , @@ -1226,7 +1226,7 @@ # name: test_entities[sensor.second_water_heater_second_water_heater_tado_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Second Water Heater Tado mode', + : 'Second Water Heater Tado mode', }), 'context': , 'entity_id': 'sensor.second_water_heater_second_water_heater_tado_mode', @@ -1276,7 +1276,7 @@ # name: test_entities[sensor.water_heater_water_heater_tado_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Heater Tado mode', + : 'Water Heater Tado mode', }), 'context': , 'entity_id': 'sensor.water_heater_water_heater_tado_mode', diff --git a/tests/components/tado/snapshots/test_switch.ambr b/tests/components/tado/snapshots/test_switch.ambr index 89ec30b0a1a..b77e55d45de 100644 --- a/tests/components/tado/snapshots/test_switch.ambr +++ b/tests/components/tado/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.baseboard_heater_baseboard_heater_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Baseboard Heater Child lock', + : 'Baseboard Heater Child lock', }), 'context': , 'entity_id': 'switch.baseboard_heater_baseboard_heater_child_lock', diff --git a/tests/components/tado/snapshots/test_water_heater.ambr b/tests/components/tado/snapshots/test_water_heater.ambr index a51fca9638f..83d74827f9b 100644 --- a/tests/components/tado/snapshots/test_water_heater.ambr +++ b/tests/components/tado/snapshots/test_water_heater.ambr @@ -48,7 +48,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Second Water Heater', + : 'Second Water Heater', : 31.0, : 16.0, : list([ @@ -57,7 +57,7 @@ 'off', ]), : 'heat', - 'supported_features': , + : , : None, : None, : 30.0, @@ -119,7 +119,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Water Heater', + : 'Water Heater', : 31.0, : 16.0, : list([ @@ -128,7 +128,7 @@ 'off', ]), : 'auto', - 'supported_features': , + : , : None, : None, : 65.0, diff --git a/tests/components/tailwind/snapshots/test_binary_sensor.ambr b/tests/components/tailwind/snapshots/test_binary_sensor.ambr index da0b49a3073..42dedc115dc 100644 --- a/tests/components/tailwind/snapshots/test_binary_sensor.ambr +++ b/tests/components/tailwind/snapshots/test_binary_sensor.ambr @@ -2,8 +2,8 @@ # name: test_number_entities[binary_sensor.door_1_operational_problem] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Door 1 Operational problem', + : 'problem', + : 'Door 1 Operational problem', }), 'context': , 'entity_id': 'binary_sensor.door_1_operational_problem', @@ -84,8 +84,8 @@ # name: test_number_entities[binary_sensor.door_2_operational_problem] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Door 2 Operational problem', + : 'problem', + : 'Door 2 Operational problem', }), 'context': , 'entity_id': 'binary_sensor.door_2_operational_problem', diff --git a/tests/components/tailwind/snapshots/test_button.ambr b/tests/components/tailwind/snapshots/test_button.ambr index c3fc1be1cc2..c3e13549898 100644 --- a/tests/components/tailwind/snapshots/test_button.ambr +++ b/tests/components/tailwind/snapshots/test_button.ambr @@ -2,8 +2,8 @@ # name: test_number_entities StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Tailwind iQ3 Identify', + : 'identify', + : 'Tailwind iQ3 Identify', }), 'context': , 'entity_id': 'button.tailwind_iq3_identify', diff --git a/tests/components/tailwind/snapshots/test_cover.ambr b/tests/components/tailwind/snapshots/test_cover.ambr index 2fff7ea2e16..e6670bc31ed 100644 --- a/tests/components/tailwind/snapshots/test_cover.ambr +++ b/tests/components/tailwind/snapshots/test_cover.ambr @@ -2,10 +2,10 @@ # name: test_cover_entities[cover.door_1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Door 1', + : 'garage', + : 'Door 1', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.door_1', @@ -86,10 +86,10 @@ # name: test_cover_entities[cover.door_2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Door 2', + : 'garage', + : 'Door 2', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.door_2', diff --git a/tests/components/tailwind/snapshots/test_number.ambr b/tests/components/tailwind/snapshots/test_number.ambr index 9d072704158..46d08aac7c3 100644 --- a/tests/components/tailwind/snapshots/test_number.ambr +++ b/tests/components/tailwind/snapshots/test_number.ambr @@ -2,12 +2,12 @@ # name: test_number_entities StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tailwind iQ3 Status LED brightness', + : 'Tailwind iQ3 Status LED brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.tailwind_iq3_status_led_brightness', diff --git a/tests/components/tankerkoenig/snapshots/test_binary_sensor.ambr b/tests/components/tankerkoenig/snapshots/test_binary_sensor.ambr index 6b454820b05..bce05a91749 100644 --- a/tests/components/tankerkoenig/snapshots/test_binary_sensor.ambr +++ b/tests/components/tankerkoenig/snapshots/test_binary_sensor.ambr @@ -1,8 +1,8 @@ # serializer version: 1 # name: test_binary_sensor ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Station Somewhere Street 1 Status', + : 'door', + : 'Station Somewhere Street 1 Status', 'latitude': 51.1, 'longitude': 13.1, }) diff --git a/tests/components/tankerkoenig/snapshots/test_sensor.ambr b/tests/components/tankerkoenig/snapshots/test_sensor.ambr index 0901051edf4..3b65840cb24 100644 --- a/tests/components/tankerkoenig/snapshots/test_sensor.ambr +++ b/tests/components/tankerkoenig/snapshots/test_sensor.ambr @@ -1,10 +1,10 @@ # serializer version: 1 # name: test_sensor ReadOnlyDict({ - 'attribution': 'Data provided by https://www.tankerkoenig.de', + : 'Data provided by https://www.tankerkoenig.de', 'brand': 'Station', 'city': 'Somewhere', - 'friendly_name': 'Station Somewhere Street 1 Super E10', + : 'Station Somewhere Street 1 Super E10', 'fuel_type': , 'house_number': '1', 'latitude': 51.1, @@ -13,15 +13,15 @@ : , 'station_name': 'Station ABC', 'street': 'Somewhere Street', - 'unit_of_measurement': '€', + : '€', }) # --- # name: test_sensor.1 ReadOnlyDict({ - 'attribution': 'Data provided by https://www.tankerkoenig.de', + : 'Data provided by https://www.tankerkoenig.de', 'brand': 'Station', 'city': 'Somewhere', - 'friendly_name': 'Station Somewhere Street 1 Super', + : 'Station Somewhere Street 1 Super', 'fuel_type': , 'house_number': '1', 'latitude': 51.1, @@ -30,15 +30,15 @@ : , 'station_name': 'Station ABC', 'street': 'Somewhere Street', - 'unit_of_measurement': '€', + : '€', }) # --- # name: test_sensor.2 ReadOnlyDict({ - 'attribution': 'Data provided by https://www.tankerkoenig.de', + : 'Data provided by https://www.tankerkoenig.de', 'brand': 'Station', 'city': 'Somewhere', - 'friendly_name': 'Station Somewhere Street 1 Diesel', + : 'Station Somewhere Street 1 Diesel', 'fuel_type': , 'house_number': '1', 'latitude': 51.1, @@ -47,6 +47,6 @@ : , 'station_name': 'Station ABC', 'street': 'Somewhere Street', - 'unit_of_measurement': '€', + : '€', }) # --- diff --git a/tests/components/tasmota/snapshots/test_sensor.ambr b/tests/components/tasmota/snapshots/test_sensor.ambr index b33b16b723a..30f5bbe2cc0 100644 --- a/tests/components/tasmota/snapshots/test_sensor.ambr +++ b/tests/components/tasmota/snapshots/test_sensor.ambr @@ -2,10 +2,10 @@ # name: test_controlling_state_via_mqtt[sensor_config0-entity_ids0-messages0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota DHT11 Temperature', + : 'temperature', + : 'Tasmota DHT11 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_dht11_temperature', @@ -60,10 +60,10 @@ # name: test_controlling_state_via_mqtt[sensor_config0-entity_ids0-messages0].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota DHT11 Temperature', + : 'temperature', + : 'Tasmota DHT11 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_dht11_temperature', @@ -76,10 +76,10 @@ # name: test_controlling_state_via_mqtt[sensor_config0-entity_ids0-messages0].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota DHT11 Temperature', + : 'temperature', + : 'Tasmota DHT11 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_dht11_temperature', @@ -92,8 +92,8 @@ # name: test_controlling_state_via_mqtt[sensor_config1-entity_ids1-messages1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota TX23 Speed Act', - 'unit_of_measurement': , + : 'Tasmota TX23 Speed Act', + : , }), 'context': , 'entity_id': 'sensor.tasmota_tx23_speed_act', @@ -143,7 +143,7 @@ # name: test_controlling_state_via_mqtt[sensor_config1-entity_ids1-messages1].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota TX23 Dir Card', + : 'Tasmota TX23 Dir Card', }), 'context': , 'entity_id': 'sensor.tasmota_tx23_dir_card', @@ -193,8 +193,8 @@ # name: test_controlling_state_via_mqtt[sensor_config1-entity_ids1-messages1].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota TX23 Speed Act', - 'unit_of_measurement': , + : 'Tasmota TX23 Speed Act', + : , }), 'context': , 'entity_id': 'sensor.tasmota_tx23_speed_act', @@ -207,7 +207,7 @@ # name: test_controlling_state_via_mqtt[sensor_config1-entity_ids1-messages1].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota TX23 Dir Card', + : 'Tasmota TX23 Dir Card', }), 'context': , 'entity_id': 'sensor.tasmota_tx23_dir_card', @@ -220,8 +220,8 @@ # name: test_controlling_state_via_mqtt[sensor_config1-entity_ids1-messages1].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota TX23 Speed Act', - 'unit_of_measurement': , + : 'Tasmota TX23 Speed Act', + : , }), 'context': , 'entity_id': 'sensor.tasmota_tx23_speed_act', @@ -234,7 +234,7 @@ # name: test_controlling_state_via_mqtt[sensor_config1-entity_ids1-messages1].7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota TX23 Dir Card', + : 'Tasmota TX23 Dir Card', }), 'context': , 'entity_id': 'sensor.tasmota_tx23_dir_card', @@ -247,10 +247,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY TotalTariff 0', + : 'energy', + : 'Tasmota ENERGY TotalTariff 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_totaltariff_0', @@ -305,10 +305,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].10 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY ExportTariff 0', + : 'energy', + : 'Tasmota ENERGY ExportTariff 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_exporttariff_0', @@ -321,10 +321,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].11 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY ExportTariff 1', + : 'energy', + : 'Tasmota ENERGY ExportTariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_exporttariff_1', @@ -337,10 +337,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].12 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY TotalTariff 0', + : 'energy', + : 'Tasmota ENERGY TotalTariff 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_totaltariff_0', @@ -353,10 +353,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].13 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY TotalTariff 1', + : 'energy', + : 'Tasmota ENERGY TotalTariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_totaltariff_1', @@ -369,10 +369,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].14 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY ExportTariff 0', + : 'energy', + : 'Tasmota ENERGY ExportTariff 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_exporttariff_0', @@ -385,10 +385,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].15 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY ExportTariff 1', + : 'energy', + : 'Tasmota ENERGY ExportTariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_exporttariff_1', @@ -401,10 +401,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY TotalTariff 1', + : 'energy', + : 'Tasmota ENERGY TotalTariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_totaltariff_1', @@ -459,10 +459,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY ExportTariff 0', + : 'energy', + : 'Tasmota ENERGY ExportTariff 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_exporttariff_0', @@ -517,10 +517,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY ExportTariff 1', + : 'energy', + : 'Tasmota ENERGY ExportTariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_exporttariff_1', @@ -575,10 +575,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].8 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY TotalTariff 0', + : 'energy', + : 'Tasmota ENERGY TotalTariff 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_totaltariff_0', @@ -591,10 +591,10 @@ # name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].9 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY TotalTariff 1', + : 'energy', + : 'Tasmota ENERGY TotalTariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_totaltariff_1', @@ -607,10 +607,10 @@ # name: test_controlling_state_via_mqtt[sensor_config3-entity_ids3-messages3] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota DS18B20 Temperature', + : 'temperature', + : 'Tasmota DS18B20 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_ds18b20_temperature', @@ -665,7 +665,7 @@ # name: test_controlling_state_via_mqtt[sensor_config3-entity_ids3-messages3].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota DS18B20 Id', + : 'Tasmota DS18B20 Id', }), 'context': , 'entity_id': 'sensor.tasmota_ds18b20_id', @@ -715,10 +715,10 @@ # name: test_controlling_state_via_mqtt[sensor_config3-entity_ids3-messages3].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota DS18B20 Temperature', + : 'temperature', + : 'Tasmota DS18B20 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_ds18b20_temperature', @@ -731,7 +731,7 @@ # name: test_controlling_state_via_mqtt[sensor_config3-entity_ids3-messages3].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota DS18B20 Id', + : 'Tasmota DS18B20 Id', }), 'context': , 'entity_id': 'sensor.tasmota_ds18b20_id', @@ -744,10 +744,10 @@ # name: test_controlling_state_via_mqtt[sensor_config3-entity_ids3-messages3].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota DS18B20 Temperature', + : 'temperature', + : 'Tasmota DS18B20 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_ds18b20_temperature', @@ -760,7 +760,7 @@ # name: test_controlling_state_via_mqtt[sensor_config3-entity_ids3-messages3].7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota DS18B20 Id', + : 'Tasmota DS18B20 Id', }), 'context': , 'entity_id': 'sensor.tasmota_ds18b20_id', @@ -773,10 +773,10 @@ # name: test_controlling_state_via_mqtt[sensor_config4-entity_ids4-messages4] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total', + : 'energy', + : 'Tasmota ENERGY Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total', @@ -831,10 +831,10 @@ # name: test_controlling_state_via_mqtt[sensor_config4-entity_ids4-messages4].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total', + : 'energy', + : 'Tasmota ENERGY Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total', @@ -847,10 +847,10 @@ # name: test_controlling_state_via_mqtt[sensor_config4-entity_ids4-messages4].3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total', + : 'energy', + : 'Tasmota ENERGY Total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total', @@ -863,10 +863,10 @@ # name: test_controlling_state_via_mqtt[sensor_config5-entity_ids5-messages5] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total 0', + : 'energy', + : 'Tasmota ENERGY Total 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_0', @@ -921,10 +921,10 @@ # name: test_controlling_state_via_mqtt[sensor_config5-entity_ids5-messages5].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total 1', + : 'energy', + : 'Tasmota ENERGY Total 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_1', @@ -979,10 +979,10 @@ # name: test_controlling_state_via_mqtt[sensor_config5-entity_ids5-messages5].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total 0', + : 'energy', + : 'Tasmota ENERGY Total 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_0', @@ -995,10 +995,10 @@ # name: test_controlling_state_via_mqtt[sensor_config5-entity_ids5-messages5].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total 1', + : 'energy', + : 'Tasmota ENERGY Total 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_1', @@ -1011,10 +1011,10 @@ # name: test_controlling_state_via_mqtt[sensor_config5-entity_ids5-messages5].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total 0', + : 'energy', + : 'Tasmota ENERGY Total 0', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_0', @@ -1027,10 +1027,10 @@ # name: test_controlling_state_via_mqtt[sensor_config5-entity_ids5-messages5].7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total 1', + : 'energy', + : 'Tasmota ENERGY Total 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_1', @@ -1043,10 +1043,10 @@ # name: test_controlling_state_via_mqtt[sensor_config6-entity_ids6-messages6] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total Phase1', + : 'energy', + : 'Tasmota ENERGY Total Phase1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_phase1', @@ -1101,10 +1101,10 @@ # name: test_controlling_state_via_mqtt[sensor_config6-entity_ids6-messages6].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total Phase2', + : 'energy', + : 'Tasmota ENERGY Total Phase2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_phase2', @@ -1159,10 +1159,10 @@ # name: test_controlling_state_via_mqtt[sensor_config6-entity_ids6-messages6].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total Phase1', + : 'energy', + : 'Tasmota ENERGY Total Phase1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_phase1', @@ -1175,10 +1175,10 @@ # name: test_controlling_state_via_mqtt[sensor_config6-entity_ids6-messages6].5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total Phase2', + : 'energy', + : 'Tasmota ENERGY Total Phase2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_phase2', @@ -1191,10 +1191,10 @@ # name: test_controlling_state_via_mqtt[sensor_config6-entity_ids6-messages6].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total Phase1', + : 'energy', + : 'Tasmota ENERGY Total Phase1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_phase1', @@ -1207,10 +1207,10 @@ # name: test_controlling_state_via_mqtt[sensor_config6-entity_ids6-messages6].7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ENERGY Total Phase2', + : 'energy', + : 'Tasmota ENERGY Total Phase2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_energy_total_phase2', @@ -1223,10 +1223,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota ANALOG Temperature1', + : 'temperature', + : 'Tasmota ANALOG Temperature1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_temperature1', @@ -1281,10 +1281,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].10 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota ANALOG Temperature2', + : 'temperature', + : 'Tasmota ANALOG Temperature2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_temperature2', @@ -1297,10 +1297,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].11 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Tasmota ANALOG Illuminance3', + : 'illuminance', + : 'Tasmota ANALOG Illuminance3', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tasmota_analog_illuminance3', @@ -1313,10 +1313,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota ANALOG Temperature2', + : 'temperature', + : 'Tasmota ANALOG Temperature2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_temperature2', @@ -1371,10 +1371,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Tasmota ANALOG Illuminance3', + : 'illuminance', + : 'Tasmota ANALOG Illuminance3', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tasmota_analog_illuminance3', @@ -1426,10 +1426,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota ANALOG Temperature1', + : 'temperature', + : 'Tasmota ANALOG Temperature1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_temperature1', @@ -1442,10 +1442,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota ANALOG Temperature2', + : 'temperature', + : 'Tasmota ANALOG Temperature2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_temperature2', @@ -1458,10 +1458,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].8 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Tasmota ANALOG Illuminance3', + : 'illuminance', + : 'Tasmota ANALOG Illuminance3', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.tasmota_analog_illuminance3', @@ -1474,10 +1474,10 @@ # name: test_controlling_state_via_mqtt[sensor_config7-entity_ids7-messages7].9 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tasmota ANALOG Temperature1', + : 'temperature', + : 'Tasmota ANALOG Temperature1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_temperature1', @@ -1490,10 +1490,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Energy', + : 'energy', + : 'Tasmota ANALOG CTEnergy1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_energy', @@ -1548,10 +1548,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].10 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Voltage', + : 'voltage', + : 'Tasmota ANALOG CTEnergy1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_voltage', @@ -1564,10 +1564,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].11 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Current', + : 'current', + : 'Tasmota ANALOG CTEnergy1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_current', @@ -1580,10 +1580,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].12 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Energy', + : 'energy', + : 'Tasmota ANALOG CTEnergy1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_energy', @@ -1596,10 +1596,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].13 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Power', + : 'power', + : 'Tasmota ANALOG CTEnergy1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_power', @@ -1612,10 +1612,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].14 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Voltage', + : 'voltage', + : 'Tasmota ANALOG CTEnergy1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_voltage', @@ -1628,10 +1628,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].15 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Current', + : 'current', + : 'Tasmota ANALOG CTEnergy1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_current', @@ -1644,10 +1644,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Power', + : 'power', + : 'Tasmota ANALOG CTEnergy1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_power', @@ -1702,10 +1702,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Voltage', + : 'voltage', + : 'Tasmota ANALOG CTEnergy1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_voltage', @@ -1760,10 +1760,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Current', + : 'current', + : 'Tasmota ANALOG CTEnergy1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_current', @@ -1818,10 +1818,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].8 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Energy', + : 'energy', + : 'Tasmota ANALOG CTEnergy1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_energy', @@ -1834,10 +1834,10 @@ # name: test_controlling_state_via_mqtt[sensor_config8-entity_ids8-messages8].9 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Tasmota ANALOG CTEnergy1 Power', + : 'power', + : 'Tasmota ANALOG CTEnergy1 Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tasmota_analog_ctenergy1_power', @@ -1850,7 +1850,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR1 Unknown', + : 'Tasmota SENSOR1 Unknown', }), 'context': , 'entity_id': 'sensor.tasmota_sensor1_unknown', @@ -1900,7 +1900,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].10 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR3 Unknown', + : 'Tasmota SENSOR3 Unknown', : , }), 'context': , @@ -1914,7 +1914,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].11 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR4 Unknown', + : 'Tasmota SENSOR4 Unknown', : , }), 'context': , @@ -1928,7 +1928,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].12 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR1 Unknown', + : 'Tasmota SENSOR1 Unknown', }), 'context': , 'entity_id': 'sensor.tasmota_sensor1_unknown', @@ -1941,7 +1941,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].13 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR2 Unknown', + : 'Tasmota SENSOR2 Unknown', }), 'context': , 'entity_id': 'sensor.tasmota_sensor2_unknown', @@ -1954,7 +1954,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].14 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR3 Unknown', + : 'Tasmota SENSOR3 Unknown', : , }), 'context': , @@ -1968,7 +1968,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].15 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR4 Unknown', + : 'Tasmota SENSOR4 Unknown', : , }), 'context': , @@ -1982,7 +1982,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR2 Unknown', + : 'Tasmota SENSOR2 Unknown', }), 'context': , 'entity_id': 'sensor.tasmota_sensor2_unknown', @@ -2032,7 +2032,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR3 Unknown', + : 'Tasmota SENSOR3 Unknown', : , }), 'context': , @@ -2085,7 +2085,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR4 Unknown', + : 'Tasmota SENSOR4 Unknown', : , }), 'context': , @@ -2138,7 +2138,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].8 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR1 Unknown', + : 'Tasmota SENSOR1 Unknown', }), 'context': , 'entity_id': 'sensor.tasmota_sensor1_unknown', @@ -2151,7 +2151,7 @@ # name: test_controlling_state_via_mqtt[sensor_config9-entity_ids9-messages9].9 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tasmota SENSOR2 Unknown', + : 'Tasmota SENSOR2 Unknown', }), 'context': , 'entity_id': 'sensor.tasmota_sensor2_unknown', diff --git a/tests/components/technove/snapshots/test_binary_sensor.ambr b/tests/components/technove/snapshots/test_binary_sensor.ambr index d538da79e57..c53b7010794 100644 --- a/tests/components/technove/snapshots/test_binary_sensor.ambr +++ b/tests/components/technove/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensors[binary_sensor.technove_station_battery_protected-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TechnoVE Station Battery protected', + : 'TechnoVE Station Battery protected', }), 'context': , 'entity_id': 'binary_sensor.technove_station_battery_protected', @@ -89,7 +89,7 @@ # name: test_sensors[binary_sensor.technove_station_conflict_with_power_sharing_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TechnoVE Station Conflict with power sharing mode', + : 'TechnoVE Station Conflict with power sharing mode', }), 'context': , 'entity_id': 'binary_sensor.technove_station_conflict_with_power_sharing_mode', @@ -139,7 +139,7 @@ # name: test_sensors[binary_sensor.technove_station_power_sharing_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TechnoVE Station Power sharing mode', + : 'TechnoVE Station Power sharing mode', }), 'context': , 'entity_id': 'binary_sensor.technove_station_power_sharing_mode', @@ -189,7 +189,7 @@ # name: test_sensors[binary_sensor.technove_station_static_ip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TechnoVE Station Static IP', + : 'TechnoVE Station Static IP', }), 'context': , 'entity_id': 'binary_sensor.technove_station_static_ip', @@ -239,8 +239,8 @@ # name: test_sensors[binary_sensor.technove_station_update-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'update', - 'friendly_name': 'TechnoVE Station Update', + : 'update', + : 'TechnoVE Station Update', }), 'context': , 'entity_id': 'binary_sensor.technove_station_update', diff --git a/tests/components/technove/snapshots/test_number.ambr b/tests/components/technove/snapshots/test_number.ambr index 2dde125ded3..8a71e7232ab 100644 --- a/tests/components/technove/snapshots/test_number.ambr +++ b/tests/components/technove/snapshots/test_number.ambr @@ -44,8 +44,8 @@ # name: test_numbers[number.technove_station_maximum_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TechnoVE Station Maximum current', + : 'current', + : 'TechnoVE Station Maximum current', : 32, : 8, : , diff --git a/tests/components/technove/snapshots/test_sensor.ambr b/tests/components/technove/snapshots/test_sensor.ambr index 691f8bdd8a5..3e2a54f64ca 100644 --- a/tests/components/technove/snapshots/test_sensor.ambr +++ b/tests/components/technove/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.technove_station_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TechnoVE Station Current', + : 'current', + : 'TechnoVE Station Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.technove_station_current', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.technove_station_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TechnoVE Station Input voltage', + : 'voltage', + : 'TechnoVE Station Input voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.technove_station_input_voltage', @@ -160,10 +160,10 @@ # name: test_sensors[sensor.technove_station_last_session_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TechnoVE Station Last session energy usage', + : 'energy', + : 'TechnoVE Station Last session energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.technove_station_last_session_energy_usage', @@ -218,10 +218,10 @@ # name: test_sensors[sensor.technove_station_max_station_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'TechnoVE Station Max station current', + : 'current', + : 'TechnoVE Station Max station current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.technove_station_max_station_current', @@ -276,10 +276,10 @@ # name: test_sensors[sensor.technove_station_output_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'TechnoVE Station Output voltage', + : 'voltage', + : 'TechnoVE Station Output voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.technove_station_output_voltage', @@ -331,10 +331,10 @@ # name: test_sensors[sensor.technove_station_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'TechnoVE Station Signal strength', + : 'signal_strength', + : 'TechnoVE Station Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.technove_station_signal_strength', @@ -396,8 +396,8 @@ # name: test_sensors[sensor.technove_station_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'TechnoVE Station Status', + : 'enum', + : 'TechnoVE Station Status', : list([ 'unplugged', 'plugged_waiting', @@ -463,10 +463,10 @@ # name: test_sensors[sensor.technove_station_total_energy_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'TechnoVE Station Total energy usage', + : 'energy', + : 'TechnoVE Station Total energy usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.technove_station_total_energy_usage', @@ -516,7 +516,7 @@ # name: test_sensors[sensor.technove_station_wi_fi_network_name-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TechnoVE Station Wi-Fi network name', + : 'TechnoVE Station Wi-Fi network name', }), 'context': , 'entity_id': 'sensor.technove_station_wi_fi_network_name', diff --git a/tests/components/technove/snapshots/test_switch.ambr b/tests/components/technove/snapshots/test_switch.ambr index c0fb20934eb..1ff92e6a954 100644 --- a/tests/components/technove/snapshots/test_switch.ambr +++ b/tests/components/technove/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.technove_station_auto_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TechnoVE Station Auto-charge', + : 'TechnoVE Station Auto-charge', }), 'context': , 'entity_id': 'switch.technove_station_auto_charge', @@ -89,7 +89,7 @@ # name: test_switches[switch.technove_station_charging_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'TechnoVE Station Charging enabled', + : 'TechnoVE Station Charging enabled', }), 'context': , 'entity_id': 'switch.technove_station_charging_enabled', diff --git a/tests/components/tedee/snapshots/test_binary_sensor.ambr b/tests/components/tedee/snapshots/test_binary_sensor.ambr index bb506905e81..eba6f2ca665 100644 --- a/tests/components/tedee/snapshots/test_binary_sensor.ambr +++ b/tests/components/tedee/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensors[binary_sensor.lock_1a2b_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Lock-1A2B Charging', + : 'battery_charging', + : 'Lock-1A2B Charging', }), 'context': , 'entity_id': 'binary_sensor.lock_1a2b_charging', @@ -90,8 +90,8 @@ # name: test_binary_sensors[binary_sensor.lock_1a2b_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Lock-1A2B Connectivity', + : 'connectivity', + : 'Lock-1A2B Connectivity', }), 'context': , 'entity_id': 'binary_sensor.lock_1a2b_connectivity', @@ -141,8 +141,8 @@ # name: test_binary_sensors[binary_sensor.lock_1a2b_lock_uncalibrated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Lock-1A2B Lock uncalibrated', + : 'problem', + : 'Lock-1A2B Lock uncalibrated', }), 'context': , 'entity_id': 'binary_sensor.lock_1a2b_lock_uncalibrated', @@ -192,7 +192,7 @@ # name: test_binary_sensors[binary_sensor.lock_1a2b_pullspring_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lock-1A2B Pullspring enabled', + : 'Lock-1A2B Pullspring enabled', }), 'context': , 'entity_id': 'binary_sensor.lock_1a2b_pullspring_enabled', @@ -242,7 +242,7 @@ # name: test_binary_sensors[binary_sensor.lock_1a2b_semi_locked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lock-1A2B Semi locked', + : 'Lock-1A2B Semi locked', }), 'context': , 'entity_id': 'binary_sensor.lock_1a2b_semi_locked', @@ -292,8 +292,8 @@ # name: test_binary_sensors[binary_sensor.lock_2c3d_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Lock-2C3D Charging', + : 'battery_charging', + : 'Lock-2C3D Charging', }), 'context': , 'entity_id': 'binary_sensor.lock_2c3d_charging', @@ -343,8 +343,8 @@ # name: test_binary_sensors[binary_sensor.lock_2c3d_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Lock-2C3D Connectivity', + : 'connectivity', + : 'Lock-2C3D Connectivity', }), 'context': , 'entity_id': 'binary_sensor.lock_2c3d_connectivity', @@ -394,8 +394,8 @@ # name: test_binary_sensors[binary_sensor.lock_2c3d_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Lock-2C3D Door', + : 'door', + : 'Lock-2C3D Door', }), 'context': , 'entity_id': 'binary_sensor.lock_2c3d_door', @@ -445,8 +445,8 @@ # name: test_binary_sensors[binary_sensor.lock_2c3d_lock_uncalibrated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Lock-2C3D Lock uncalibrated', + : 'problem', + : 'Lock-2C3D Lock uncalibrated', }), 'context': , 'entity_id': 'binary_sensor.lock_2c3d_lock_uncalibrated', @@ -496,7 +496,7 @@ # name: test_binary_sensors[binary_sensor.lock_2c3d_pullspring_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lock-2C3D Pullspring enabled', + : 'Lock-2C3D Pullspring enabled', }), 'context': , 'entity_id': 'binary_sensor.lock_2c3d_pullspring_enabled', @@ -546,7 +546,7 @@ # name: test_binary_sensors[binary_sensor.lock_2c3d_semi_locked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lock-2C3D Semi locked', + : 'Lock-2C3D Semi locked', }), 'context': , 'entity_id': 'binary_sensor.lock_2c3d_semi_locked', diff --git a/tests/components/tedee/snapshots/test_lock.ambr b/tests/components/tedee/snapshots/test_lock.ambr index 6e4a988e16b..456df2b3c34 100644 --- a/tests/components/tedee/snapshots/test_lock.ambr +++ b/tests/components/tedee/snapshots/test_lock.ambr @@ -2,8 +2,8 @@ # name: test_lock_without_pullspring StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lock-2C3D', - 'supported_features': , + : 'Lock-2C3D', + : , }), 'context': , 'entity_id': 'lock.lock_2c3d', @@ -121,8 +121,8 @@ # name: test_locks[lock.lock_1a2b-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lock-1A2B', - 'supported_features': , + : 'Lock-1A2B', + : , }), 'context': , 'entity_id': 'lock.lock_1a2b', @@ -172,8 +172,8 @@ # name: test_locks[lock.lock_2c3d-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lock-2C3D', - 'supported_features': , + : 'Lock-2C3D', + : , }), 'context': , 'entity_id': 'lock.lock_2c3d', diff --git a/tests/components/tedee/snapshots/test_sensor.ambr b/tests/components/tedee/snapshots/test_sensor.ambr index 887802b7796..f49bce18042 100644 --- a/tests/components/tedee/snapshots/test_sensor.ambr +++ b/tests/components/tedee/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensors[sensor.lock_1a2b_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Lock-1A2B Battery', + : 'battery', + : 'Lock-1A2B Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.lock_1a2b_battery', @@ -99,10 +99,10 @@ # name: test_sensors[sensor.lock_1a2b_pullspring_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Lock-1A2B Pullspring duration', + : 'duration', + : 'Lock-1A2B Pullspring duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lock_1a2b_pullspring_duration', @@ -154,10 +154,10 @@ # name: test_sensors[sensor.lock_2c3d_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Lock-2C3D Battery', + : 'battery', + : 'Lock-2C3D Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.lock_2c3d_battery', @@ -212,10 +212,10 @@ # name: test_sensors[sensor.lock_2c3d_pullspring_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Lock-2C3D Pullspring duration', + : 'duration', + : 'Lock-2C3D Pullspring duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lock_2c3d_pullspring_duration', diff --git a/tests/components/telegram_bot/snapshots/test_event.ambr b/tests/components/telegram_bot/snapshots/test_event.ambr index 8c856cb3635..882b5947e57 100644 --- a/tests/components/telegram_bot/snapshots/test_event.ambr +++ b/tests/components/telegram_bot/snapshots/test_event.ambr @@ -16,7 +16,7 @@ 'telegram_text', 'telegram_sent', ]), - 'friendly_name': 'Mock Title Update event', + : 'Mock Title Update event', 'message_id': 12345, }) # --- diff --git a/tests/components/teleinfo/snapshots/test_sensor.ambr b/tests/components/teleinfo/snapshots/test_sensor.ambr index 4cd6e997804..7b36c347df3 100644 --- a/tests/components/teleinfo/snapshots/test_sensor.ambr +++ b/tests/components/teleinfo/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[base][sensor.teleinfo_021861348497_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Teleinfo 021861348497 Apparent power', + : 'apparent_power', + : 'Teleinfo 021861348497 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_apparent_power', @@ -111,8 +111,8 @@ # name: test_all_entities[base][sensor.teleinfo_021861348497_current_tariff_period-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Teleinfo 021861348497 Current tariff period', + : 'enum', + : 'Teleinfo 021861348497 Current tariff period', : list([ 'all_hours', 'off_peak', @@ -180,10 +180,10 @@ # name: test_all_entities[base][sensor.teleinfo_021861348497_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Index', + : 'energy', + : 'Teleinfo 021861348497 Index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_index', @@ -238,10 +238,10 @@ # name: test_all_entities[base][sensor.teleinfo_021861348497_instantaneous_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Teleinfo 021861348497 Instantaneous current', + : 'current', + : 'Teleinfo 021861348497 Instantaneous current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_instantaneous_current', @@ -296,10 +296,10 @@ # name: test_all_entities[ejp][sensor.teleinfo_021861348497_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Teleinfo 021861348497 Apparent power', + : 'apparent_power', + : 'Teleinfo 021861348497 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_apparent_power', @@ -363,8 +363,8 @@ # name: test_all_entities[ejp][sensor.teleinfo_021861348497_current_tariff_period-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Teleinfo 021861348497 Current tariff period', + : 'enum', + : 'Teleinfo 021861348497 Current tariff period', : list([ 'all_hours', 'off_peak', @@ -432,10 +432,10 @@ # name: test_all_entities[ejp][sensor.teleinfo_021861348497_ejp_warning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Teleinfo 021861348497 EJP warning', + : 'duration', + : 'Teleinfo 021861348497 EJP warning', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_ejp_warning', @@ -490,10 +490,10 @@ # name: test_all_entities[ejp][sensor.teleinfo_021861348497_instantaneous_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Teleinfo 021861348497 Instantaneous current', + : 'current', + : 'Teleinfo 021861348497 Instantaneous current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_instantaneous_current', @@ -548,10 +548,10 @@ # name: test_all_entities[ejp][sensor.teleinfo_021861348497_normal_hours_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Normal hours index', + : 'energy', + : 'Teleinfo 021861348497 Normal hours index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_normal_hours_index', @@ -606,10 +606,10 @@ # name: test_all_entities[ejp][sensor.teleinfo_021861348497_peak_mobile_hours_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Peak mobile hours index', + : 'energy', + : 'Teleinfo 021861348497 Peak mobile hours index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_peak_mobile_hours_index', @@ -664,10 +664,10 @@ # name: test_all_entities[hc][sensor.teleinfo_021861348497_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Teleinfo 021861348497 Apparent power', + : 'apparent_power', + : 'Teleinfo 021861348497 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_apparent_power', @@ -731,8 +731,8 @@ # name: test_all_entities[hc][sensor.teleinfo_021861348497_current_tariff_period-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Teleinfo 021861348497 Current tariff period', + : 'enum', + : 'Teleinfo 021861348497 Current tariff period', : list([ 'all_hours', 'off_peak', @@ -800,10 +800,10 @@ # name: test_all_entities[hc][sensor.teleinfo_021861348497_instantaneous_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Teleinfo 021861348497 Instantaneous current', + : 'current', + : 'Teleinfo 021861348497 Instantaneous current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_instantaneous_current', @@ -858,10 +858,10 @@ # name: test_all_entities[hc][sensor.teleinfo_021861348497_off_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Off-peak index', + : 'energy', + : 'Teleinfo 021861348497 Off-peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_off_peak_index', @@ -916,10 +916,10 @@ # name: test_all_entities[hc][sensor.teleinfo_021861348497_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Peak index', + : 'energy', + : 'Teleinfo 021861348497 Peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_peak_index', @@ -974,10 +974,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Teleinfo 021861348497 Apparent power', + : 'apparent_power', + : 'Teleinfo 021861348497 Apparent power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_apparent_power', @@ -1032,10 +1032,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_blue_day_off_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Blue day off-peak index', + : 'energy', + : 'Teleinfo 021861348497 Blue day off-peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_blue_day_off_peak_index', @@ -1090,10 +1090,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_blue_day_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Blue day peak index', + : 'energy', + : 'Teleinfo 021861348497 Blue day peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_blue_day_peak_index', @@ -1157,8 +1157,8 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_current_tariff_period-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Teleinfo 021861348497 Current tariff period', + : 'enum', + : 'Teleinfo 021861348497 Current tariff period', : list([ 'all_hours', 'off_peak', @@ -1226,10 +1226,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_instantaneous_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Teleinfo 021861348497 Instantaneous current', + : 'current', + : 'Teleinfo 021861348497 Instantaneous current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_instantaneous_current', @@ -1284,10 +1284,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_red_day_off_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Red day off-peak index', + : 'energy', + : 'Teleinfo 021861348497 Red day off-peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_red_day_off_peak_index', @@ -1342,10 +1342,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_red_day_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 Red day peak index', + : 'energy', + : 'Teleinfo 021861348497 Red day peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_red_day_peak_index', @@ -1401,8 +1401,8 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_tomorrow_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Teleinfo 021861348497 Tomorrow color', + : 'enum', + : 'Teleinfo 021861348497 Tomorrow color', : list([ 'blue', 'white', @@ -1462,10 +1462,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_white_day_off_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 White day off-peak index', + : 'energy', + : 'Teleinfo 021861348497 White day off-peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_white_day_off_peak_index', @@ -1520,10 +1520,10 @@ # name: test_all_entities[tempo][sensor.teleinfo_021861348497_white_day_peak_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Teleinfo 021861348497 White day peak index', + : 'energy', + : 'Teleinfo 021861348497 White day peak index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.teleinfo_021861348497_white_day_peak_index', diff --git a/tests/components/teltonika/snapshots/test_sensor.ambr b/tests/components/teltonika/snapshots/test_sensor.ambr index 61d1b124a7c..fdbb3f5bfb5 100644 --- a/tests/components/teltonika/snapshots/test_sensor.ambr +++ b/tests/components/teltonika/snapshots/test_sensor.ambr @@ -39,7 +39,7 @@ # name: test_sensors[sensor.rutx50_test_internal_modem_band-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RUTX50 Test Internal modem Band', + : 'RUTX50 Test Internal modem Band', }), 'context': , 'entity_id': 'sensor.rutx50_test_internal_modem_band', @@ -89,7 +89,7 @@ # name: test_sensors[sensor.rutx50_test_internal_modem_connection_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RUTX50 Test Internal modem Connection type', + : 'RUTX50 Test Internal modem Connection type', }), 'context': , 'entity_id': 'sensor.rutx50_test_internal_modem_connection_type', @@ -139,7 +139,7 @@ # name: test_sensors[sensor.rutx50_test_internal_modem_operator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'RUTX50 Test Internal modem Operator', + : 'RUTX50 Test Internal modem Operator', }), 'context': , 'entity_id': 'sensor.rutx50_test_internal_modem_operator', @@ -194,10 +194,10 @@ # name: test_sensors[sensor.rutx50_test_internal_modem_rsrp-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'RUTX50 Test Internal modem RSRP', + : 'signal_strength', + : 'RUTX50 Test Internal modem RSRP', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.rutx50_test_internal_modem_rsrp', @@ -252,10 +252,10 @@ # name: test_sensors[sensor.rutx50_test_internal_modem_rsrq-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'RUTX50 Test Internal modem RSRQ', + : 'signal_strength', + : 'RUTX50 Test Internal modem RSRQ', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.rutx50_test_internal_modem_rsrq', @@ -310,10 +310,10 @@ # name: test_sensors[sensor.rutx50_test_internal_modem_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'RUTX50 Test Internal modem RSSI', + : 'signal_strength', + : 'RUTX50 Test Internal modem RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.rutx50_test_internal_modem_rssi', @@ -368,10 +368,10 @@ # name: test_sensors[sensor.rutx50_test_internal_modem_sinr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'RUTX50 Test Internal modem SINR', + : 'signal_strength', + : 'RUTX50 Test Internal modem SINR', : , - 'unit_of_measurement': 'dB', + : 'dB', }), 'context': , 'entity_id': 'sensor.rutx50_test_internal_modem_sinr', @@ -426,10 +426,10 @@ # name: test_sensors[sensor.rutx50_test_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'RUTX50 Test Temperature', + : 'temperature', + : 'RUTX50 Test Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.rutx50_test_temperature', diff --git a/tests/components/template/snapshots/test_alarm_control_panel.ambr b/tests/components/template/snapshots/test_alarm_control_panel.ambr index 74d585543ea..2b84b79de79 100644 --- a/tests/components/template/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/template/snapshots/test_alarm_control_panel.ambr @@ -5,8 +5,8 @@ : None, : True, : , - 'friendly_name': 'My template', - 'supported_features': , + : 'My template', + : , }), 'context': , 'entity_id': 'alarm_control_panel.my_template', diff --git a/tests/components/template/snapshots/test_binary_sensor.ambr b/tests/components/template/snapshots/test_binary_sensor.ambr index e809c66e644..1efb569ace3 100644 --- a/tests/components/template/snapshots/test_binary_sensor.ambr +++ b/tests/components/template/snapshots/test_binary_sensor.ambr @@ -2,7 +2,7 @@ # name: test_setup_config_entry[config_entry_extra_options0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', + : 'My template', }), 'context': , 'entity_id': 'binary_sensor.my_template', @@ -15,8 +15,8 @@ # name: test_setup_config_entry[config_entry_extra_options1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'My template', + : 'battery', + : 'My template', }), 'context': , 'entity_id': 'binary_sensor.my_template', diff --git a/tests/components/template/snapshots/test_button.ambr b/tests/components/template/snapshots/test_button.ambr index 3d96ad66050..395d9b51a51 100644 --- a/tests/components/template/snapshots/test_button.ambr +++ b/tests/components/template/snapshots/test_button.ambr @@ -2,7 +2,7 @@ # name: test_setup_config_entry[config_entry_extra_options0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', + : 'My template', }), 'context': , 'entity_id': 'button.my_template', @@ -15,8 +15,8 @@ # name: test_setup_config_entry[config_entry_extra_options1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'update', - 'friendly_name': 'My template', + : 'update', + : 'My template', }), 'context': , 'entity_id': 'button.my_template', diff --git a/tests/components/template/snapshots/test_cover.ambr b/tests/components/template/snapshots/test_cover.ambr index f42bf28d2c8..21ab0e794e9 100644 --- a/tests/components/template/snapshots/test_cover.ambr +++ b/tests/components/template/snapshots/test_cover.ambr @@ -3,9 +3,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'friendly_name': 'My template', + : 'My template', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.my_template', diff --git a/tests/components/template/snapshots/test_device_tracker.ambr b/tests/components/template/snapshots/test_device_tracker.ambr index 5e1f0bbf69a..2d27c9c770e 100644 --- a/tests/components/template/snapshots/test_device_tracker.ambr +++ b/tests/components/template/snapshots/test_device_tracker.ambr @@ -2,7 +2,7 @@ # name: test_setup_config_entry StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'template_device_tracker', + : 'template_device_tracker', : 10.0, : list([ ]), diff --git a/tests/components/template/snapshots/test_event.ambr b/tests/components/template/snapshots/test_event.ambr index 88ba834f31a..4cce7a86e38 100644 --- a/tests/components/template/snapshots/test_event.ambr +++ b/tests/components/template/snapshots/test_event.ambr @@ -8,7 +8,7 @@ 'double', 'hold', ]), - 'friendly_name': 'template_event', + : 'template_event', }), 'context': , 'entity_id': 'event.template_event', diff --git a/tests/components/template/snapshots/test_fan.ambr b/tests/components/template/snapshots/test_fan.ambr index 3026176ef97..696c5ea4547 100644 --- a/tests/components/template/snapshots/test_fan.ambr +++ b/tests/components/template/snapshots/test_fan.ambr @@ -2,8 +2,8 @@ # name: test_setup_config_entry StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', - 'supported_features': , + : 'My template', + : , }), 'context': , 'entity_id': 'fan.my_template', diff --git a/tests/components/template/snapshots/test_light.ambr b/tests/components/template/snapshots/test_light.ambr index 1d3ed4db9bb..92c6b28a871 100644 --- a/tests/components/template/snapshots/test_light.ambr +++ b/tests/components/template/snapshots/test_light.ambr @@ -3,11 +3,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'My template', + : 'My template', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.my_template', diff --git a/tests/components/template/snapshots/test_lock.ambr b/tests/components/template/snapshots/test_lock.ambr index 250fc6ba8d4..118870a75a3 100644 --- a/tests/components/template/snapshots/test_lock.ambr +++ b/tests/components/template/snapshots/test_lock.ambr @@ -2,8 +2,8 @@ # name: test_setup_config_entry StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', - 'supported_features': , + : 'My template', + : , }), 'context': , 'entity_id': 'lock.my_template', diff --git a/tests/components/template/snapshots/test_number.ambr b/tests/components/template/snapshots/test_number.ambr index fefdf114f25..ddde18791b8 100644 --- a/tests/components/template/snapshots/test_number.ambr +++ b/tests/components/template/snapshots/test_number.ambr @@ -2,7 +2,7 @@ # name: test_setup_config_entry StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', + : 'My template', : 100.0, : 0.0, : , diff --git a/tests/components/template/snapshots/test_select.ambr b/tests/components/template/snapshots/test_select.ambr index bf472da03bf..5d0f7c22146 100644 --- a/tests/components/template/snapshots/test_select.ambr +++ b/tests/components/template/snapshots/test_select.ambr @@ -2,7 +2,7 @@ # name: test_setup_config_entry StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', + : 'My template', : list([ 'off', 'on', diff --git a/tests/components/template/snapshots/test_sensor.ambr b/tests/components/template/snapshots/test_sensor.ambr index a3d9671ee3f..a03ce1c2906 100644 --- a/tests/components/template/snapshots/test_sensor.ambr +++ b/tests/components/template/snapshots/test_sensor.ambr @@ -2,7 +2,7 @@ # name: test_setup_config_entry[config_entry_extra_options0] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', + : 'My template', }), 'context': , 'entity_id': 'sensor.my_template', @@ -15,10 +15,10 @@ # name: test_setup_config_entry[config_entry_extra_options1] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'My template', + : 'battery', + : 'My template', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_template', diff --git a/tests/components/template/snapshots/test_switch.ambr b/tests/components/template/snapshots/test_switch.ambr index 909110fdbc8..f5049e32790 100644 --- a/tests/components/template/snapshots/test_switch.ambr +++ b/tests/components/template/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_setup_config_entry[state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', + : 'My template', }), 'context': , 'entity_id': 'switch.my_template', @@ -15,7 +15,7 @@ # name: test_setup_config_entry[value_template] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', + : 'My template', }), 'context': , 'entity_id': 'switch.my_template', diff --git a/tests/components/template/snapshots/test_update.ambr b/tests/components/template/snapshots/test_update.ambr index 8777c97fafd..3a89df09b66 100644 --- a/tests/components/template/snapshots/test_update.ambr +++ b/tests/components/template/snapshots/test_update.ambr @@ -4,15 +4,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/template/icon.png', - 'friendly_name': 'template_update', + : '/api/brands/integration/template/icon.png', + : 'template_update', : False, : '1.0', : '2.0', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/template/snapshots/test_vacuum.ambr b/tests/components/template/snapshots/test_vacuum.ambr index 01cc9c8ba82..04146d97f64 100644 --- a/tests/components/template/snapshots/test_vacuum.ambr +++ b/tests/components/template/snapshots/test_vacuum.ambr @@ -2,8 +2,8 @@ # name: test_setup_config_entry StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My template', - 'supported_features': , + : 'My template', + : , }), 'context': , 'entity_id': 'vacuum.my_template', diff --git a/tests/components/template/snapshots/test_weather.ambr b/tests/components/template/snapshots/test_weather.ambr index 3385cd8b885..78c96d6a9fe 100644 --- a/tests/components/template/snapshots/test_weather.ambr +++ b/tests/components/template/snapshots/test_weather.ambr @@ -230,12 +230,12 @@ # name: test_setup_config_entry StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Powered by Home Assistant', - 'friendly_name': 'My template', + : 'Powered by Home Assistant', + : 'My template', : 50, : , : , - 'supported_features': 0, + : 0, : 20.0, : , : , diff --git a/tests/components/tesla_fleet/snapshots/test_binary_sensor.ambr b/tests/components/tesla_fleet/snapshots/test_binary_sensor.ambr index c0334f2b78c..ff5855c17f4 100644 --- a/tests/components/tesla_fleet/snapshots/test_binary_sensor.ambr +++ b/tests/components/tesla_fleet/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_backup_capable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Backup capable', + : 'Energy Site Backup capable', }), 'context': , 'entity_id': 'binary_sensor.energy_site_backup_capable', @@ -89,7 +89,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_grid_services_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services active', + : 'Energy Site Grid services active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_active', @@ -139,7 +139,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_grid_services_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services enabled', + : 'Energy Site Grid services enabled', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_enabled', @@ -189,7 +189,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_storm_watch_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Storm watch active', + : 'Energy Site Storm watch active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_storm_watch_active', @@ -239,8 +239,8 @@ # name: test_binary_sensor[binary_sensor.test_battery_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Battery heater', + : 'heat', + : 'Test Battery heater', }), 'context': , 'entity_id': 'binary_sensor.test_battery_heater', @@ -290,8 +290,8 @@ # name: test_binary_sensor[binary_sensor.test_cabin_overheat_protection_actively_cooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Cabin overheat protection actively cooling', + : 'heat', + : 'Test Cabin overheat protection actively cooling', }), 'context': , 'entity_id': 'binary_sensor.test_cabin_overheat_protection_actively_cooling', @@ -341,8 +341,8 @@ # name: test_binary_sensor[binary_sensor.test_charge_cable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Charge cable', + : 'connectivity', + : 'Test Charge cable', }), 'context': , 'entity_id': 'binary_sensor.test_charge_cable', @@ -392,7 +392,7 @@ # name: test_binary_sensor[binary_sensor.test_charger_has_multiple_phases-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charger has multiple phases', + : 'Test Charger has multiple phases', }), 'context': , 'entity_id': 'binary_sensor.test_charger_has_multiple_phases', @@ -442,8 +442,8 @@ # name: test_binary_sensor[binary_sensor.test_dashcam-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Dashcam', + : 'running', + : 'Test Dashcam', }), 'context': , 'entity_id': 'binary_sensor.test_dashcam', @@ -493,8 +493,8 @@ # name: test_binary_sensor[binary_sensor.test_front_driver_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front driver door', + : 'door', + : 'Test Front driver door', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_door', @@ -544,8 +544,8 @@ # name: test_binary_sensor[binary_sensor.test_front_driver_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front driver window', + : 'window', + : 'Test Front driver window', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_window', @@ -595,8 +595,8 @@ # name: test_binary_sensor[binary_sensor.test_front_passenger_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front passenger door', + : 'door', + : 'Test Front passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_door', @@ -646,8 +646,8 @@ # name: test_binary_sensor[binary_sensor.test_front_passenger_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front passenger window', + : 'window', + : 'Test Front passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_window', @@ -697,7 +697,7 @@ # name: test_binary_sensor[binary_sensor.test_preconditioning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning', + : 'Test Preconditioning', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning', @@ -747,7 +747,7 @@ # name: test_binary_sensor[binary_sensor.test_preconditioning_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning enabled', + : 'Test Preconditioning enabled', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning_enabled', @@ -797,8 +797,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_driver_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear driver door', + : 'door', + : 'Test Rear driver door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_door', @@ -848,8 +848,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_driver_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear driver window', + : 'window', + : 'Test Rear driver window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_window', @@ -899,8 +899,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_passenger_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear passenger door', + : 'door', + : 'Test Rear passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_door', @@ -950,8 +950,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_passenger_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear passenger window', + : 'window', + : 'Test Rear passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_window', @@ -1001,7 +1001,7 @@ # name: test_binary_sensor[binary_sensor.test_scheduled_charging_pending-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Scheduled charging pending', + : 'Test Scheduled charging pending', }), 'context': , 'entity_id': 'binary_sensor.test_scheduled_charging_pending', @@ -1051,8 +1051,8 @@ # name: test_binary_sensor[binary_sensor.test_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Status', + : 'connectivity', + : 'Test Status', }), 'context': , 'entity_id': 'binary_sensor.test_status', @@ -1102,8 +1102,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front left', + : 'problem', + : 'Test Tire pressure warning front left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_left', @@ -1153,8 +1153,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front right', + : 'problem', + : 'Test Tire pressure warning front right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_right', @@ -1204,8 +1204,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear left', + : 'problem', + : 'Test Tire pressure warning rear left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_left', @@ -1255,8 +1255,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear right', + : 'problem', + : 'Test Tire pressure warning rear right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_right', @@ -1306,7 +1306,7 @@ # name: test_binary_sensor[binary_sensor.test_trip_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Trip charging', + : 'Test Trip charging', }), 'context': , 'entity_id': 'binary_sensor.test_trip_charging', @@ -1356,8 +1356,8 @@ # name: test_binary_sensor[binary_sensor.test_user_present-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'Test User present', + : 'presence', + : 'Test User present', }), 'context': , 'entity_id': 'binary_sensor.test_user_present', @@ -1370,7 +1370,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_backup_capable-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Backup capable', + : 'Energy Site Backup capable', }), 'context': , 'entity_id': 'binary_sensor.energy_site_backup_capable', @@ -1383,7 +1383,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_grid_services_active-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services active', + : 'Energy Site Grid services active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_active', @@ -1396,7 +1396,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_grid_services_enabled-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services enabled', + : 'Energy Site Grid services enabled', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_enabled', @@ -1409,7 +1409,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_storm_watch_active-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Storm watch active', + : 'Energy Site Storm watch active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_storm_watch_active', @@ -1422,8 +1422,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_battery_heater-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Battery heater', + : 'heat', + : 'Test Battery heater', }), 'context': , 'entity_id': 'binary_sensor.test_battery_heater', @@ -1436,8 +1436,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_cabin_overheat_protection_actively_cooling-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Cabin overheat protection actively cooling', + : 'heat', + : 'Test Cabin overheat protection actively cooling', }), 'context': , 'entity_id': 'binary_sensor.test_cabin_overheat_protection_actively_cooling', @@ -1450,8 +1450,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_charge_cable-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Charge cable', + : 'connectivity', + : 'Test Charge cable', }), 'context': , 'entity_id': 'binary_sensor.test_charge_cable', @@ -1464,7 +1464,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_charger_has_multiple_phases-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charger has multiple phases', + : 'Test Charger has multiple phases', }), 'context': , 'entity_id': 'binary_sensor.test_charger_has_multiple_phases', @@ -1477,8 +1477,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_dashcam-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Dashcam', + : 'running', + : 'Test Dashcam', }), 'context': , 'entity_id': 'binary_sensor.test_dashcam', @@ -1491,8 +1491,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_driver_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front driver door', + : 'door', + : 'Test Front driver door', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_door', @@ -1505,8 +1505,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_driver_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front driver window', + : 'window', + : 'Test Front driver window', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_window', @@ -1519,8 +1519,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_passenger_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front passenger door', + : 'door', + : 'Test Front passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_door', @@ -1533,8 +1533,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_passenger_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front passenger window', + : 'window', + : 'Test Front passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_window', @@ -1547,7 +1547,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_preconditioning-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning', + : 'Test Preconditioning', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning', @@ -1560,7 +1560,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_preconditioning_enabled-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning enabled', + : 'Test Preconditioning enabled', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning_enabled', @@ -1573,8 +1573,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_driver_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear driver door', + : 'door', + : 'Test Rear driver door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_door', @@ -1587,8 +1587,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_driver_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear driver window', + : 'window', + : 'Test Rear driver window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_window', @@ -1601,8 +1601,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_passenger_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear passenger door', + : 'door', + : 'Test Rear passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_door', @@ -1615,8 +1615,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_passenger_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear passenger window', + : 'window', + : 'Test Rear passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_window', @@ -1629,7 +1629,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_scheduled_charging_pending-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Scheduled charging pending', + : 'Test Scheduled charging pending', }), 'context': , 'entity_id': 'binary_sensor.test_scheduled_charging_pending', @@ -1642,8 +1642,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_status-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Status', + : 'connectivity', + : 'Test Status', }), 'context': , 'entity_id': 'binary_sensor.test_status', @@ -1656,8 +1656,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_front_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front left', + : 'problem', + : 'Test Tire pressure warning front left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_left', @@ -1670,8 +1670,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_front_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front right', + : 'problem', + : 'Test Tire pressure warning front right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_right', @@ -1684,8 +1684,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_rear_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear left', + : 'problem', + : 'Test Tire pressure warning rear left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_left', @@ -1698,8 +1698,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_rear_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear right', + : 'problem', + : 'Test Tire pressure warning rear right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_right', @@ -1712,7 +1712,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_trip_charging-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Trip charging', + : 'Test Trip charging', }), 'context': , 'entity_id': 'binary_sensor.test_trip_charging', @@ -1725,8 +1725,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_user_present-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'Test User present', + : 'presence', + : 'Test User present', }), 'context': , 'entity_id': 'binary_sensor.test_user_present', diff --git a/tests/components/tesla_fleet/snapshots/test_button.ambr b/tests/components/tesla_fleet/snapshots/test_button.ambr index 7c40bbb1e40..d3da6369235 100644 --- a/tests/components/tesla_fleet/snapshots/test_button.ambr +++ b/tests/components/tesla_fleet/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button[button.test_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Flash lights', + : 'Test Flash lights', }), 'context': , 'entity_id': 'button.test_flash_lights', @@ -89,7 +89,7 @@ # name: test_button[button.test_homelink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Homelink', + : 'Test Homelink', }), 'context': , 'entity_id': 'button.test_homelink', @@ -139,7 +139,7 @@ # name: test_button[button.test_honk_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Honk horn', + : 'Test Honk horn', }), 'context': , 'entity_id': 'button.test_honk_horn', @@ -189,7 +189,7 @@ # name: test_button[button.test_keyless_driving-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Keyless driving', + : 'Test Keyless driving', }), 'context': , 'entity_id': 'button.test_keyless_driving', @@ -239,7 +239,7 @@ # name: test_button[button.test_play_fart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Play fart', + : 'Test Play fart', }), 'context': , 'entity_id': 'button.test_play_fart', @@ -289,7 +289,7 @@ # name: test_button[button.test_wake-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Wake', + : 'Test Wake', }), 'context': , 'entity_id': 'button.test_wake', diff --git a/tests/components/tesla_fleet/snapshots/test_climate.ambr b/tests/components/tesla_fleet/snapshots/test_climate.ambr index 781fe263498..c1338162ecb 100644 --- a/tests/components/tesla_fleet/snapshots/test_climate.ambr +++ b/tests/components/tesla_fleet/snapshots/test_climate.ambr @@ -49,7 +49,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30, - 'friendly_name': 'Test Cabin overheat protection', + : 'Test Cabin overheat protection', : list([ , , @@ -57,7 +57,7 @@ ]), : 40, : 30, - 'supported_features': , + : , : 5, : 40, }), @@ -123,7 +123,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30.0, - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -137,7 +137,7 @@ 'dog', 'camp', ]), - 'supported_features': , + : , : 22.0, }), 'context': , @@ -198,7 +198,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30, - 'friendly_name': 'Test Cabin overheat protection', + : 'Test Cabin overheat protection', : list([ , , @@ -206,7 +206,7 @@ ]), : 40, : 30, - 'supported_features': , + : , : 5, }), 'context': , @@ -271,7 +271,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30.0, - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -285,7 +285,7 @@ 'dog', 'camp', ]), - 'supported_features': , + : , : 22.0, }), 'context': , @@ -346,7 +346,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Test Cabin overheat protection', + : 'Test Cabin overheat protection', : list([ , , @@ -354,7 +354,7 @@ ]), : 40, : 30, - 'supported_features': , + : , : 5, }), 'context': , @@ -419,7 +419,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -433,7 +433,7 @@ 'dog', 'camp', ]), - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/tesla_fleet/snapshots/test_cover.ambr b/tests/components/tesla_fleet/snapshots/test_cover.ambr index 3dc15073857..d0c2a5daa4f 100644 --- a/tests/components/tesla_fleet/snapshots/test_cover.ambr +++ b/tests/components/tesla_fleet/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_cover[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Charge port door', + : 'door', + : 'Test Charge port door', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_charge_port_door', @@ -92,10 +92,10 @@ # name: test_cover[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Frunk', + : 'door', + : 'Test Frunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_frunk', @@ -145,10 +145,10 @@ # name: test_cover[cover.test_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Sunroof', + : 'window', + : 'Test Sunroof', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_sunroof', @@ -198,10 +198,10 @@ # name: test_cover[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Trunk', + : 'door', + : 'Test Trunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_trunk', @@ -251,10 +251,10 @@ # name: test_cover[cover.test_windows-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Windows', + : 'window', + : 'Test Windows', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_windows', @@ -304,10 +304,10 @@ # name: test_cover_alt[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Charge port door', + : 'door', + : 'Test Charge port door', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_charge_port_door', @@ -357,10 +357,10 @@ # name: test_cover_alt[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Frunk', + : 'door', + : 'Test Frunk', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_frunk', @@ -410,10 +410,10 @@ # name: test_cover_alt[cover.test_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Sunroof', + : 'window', + : 'Test Sunroof', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_sunroof', @@ -463,10 +463,10 @@ # name: test_cover_alt[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Trunk', + : 'door', + : 'Test Trunk', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_trunk', @@ -516,10 +516,10 @@ # name: test_cover_alt[cover.test_windows-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Windows', + : 'window', + : 'Test Windows', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_windows', @@ -569,10 +569,10 @@ # name: test_cover_readonly[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Charge port door', + : 'door', + : 'Test Charge port door', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_charge_port_door', @@ -622,10 +622,10 @@ # name: test_cover_readonly[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Frunk', + : 'door', + : 'Test Frunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_frunk', @@ -675,10 +675,10 @@ # name: test_cover_readonly[cover.test_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Sunroof', + : 'window', + : 'Test Sunroof', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_sunroof', @@ -728,10 +728,10 @@ # name: test_cover_readonly[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Trunk', + : 'door', + : 'Test Trunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_trunk', @@ -781,10 +781,10 @@ # name: test_cover_readonly[cover.test_windows-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Windows', + : 'window', + : 'Test Windows', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_windows', diff --git a/tests/components/tesla_fleet/snapshots/test_device_tracker.ambr b/tests/components/tesla_fleet/snapshots/test_device_tracker.ambr index 45293fbdb60..ec276c5436f 100644 --- a/tests/components/tesla_fleet/snapshots/test_device_tracker.ambr +++ b/tests/components/tesla_fleet/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker[device_tracker.test_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Location', + : 'Test Location', : 0, : list([ ]), @@ -100,7 +100,7 @@ # name: test_device_tracker[device_tracker.test_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Route', + : 'Test Route', : 0, : list([ ]), diff --git a/tests/components/tesla_fleet/snapshots/test_lock.ambr b/tests/components/tesla_fleet/snapshots/test_lock.ambr index dc59063d801..42c9c51aeb0 100644 --- a/tests/components/tesla_fleet/snapshots/test_lock.ambr +++ b/tests/components/tesla_fleet/snapshots/test_lock.ambr @@ -39,8 +39,8 @@ # name: test_lock[lock.test_charge_cable_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charge cable lock', - 'supported_features': , + : 'Test Charge cable lock', + : , }), 'context': , 'entity_id': 'lock.test_charge_cable_lock', @@ -90,8 +90,8 @@ # name: test_lock[lock.test_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Lock', - 'supported_features': , + : 'Test Lock', + : , }), 'context': , 'entity_id': 'lock.test_lock', diff --git a/tests/components/tesla_fleet/snapshots/test_media_player.ambr b/tests/components/tesla_fleet/snapshots/test_media_player.ambr index 521c90b63ac..408fedb93b5 100644 --- a/tests/components/tesla_fleet/snapshots/test_media_player.ambr +++ b/tests/components/tesla_fleet/snapshots/test_media_player.ambr @@ -40,8 +40,8 @@ # name: test_media_player[media_player.test_media_player-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : 'Elon Musk', : 'Walter Isaacson', : 651.0, @@ -49,7 +49,7 @@ : 1.0, : 'Chapter 51: Cybertruck: Tesla, 2018–2019', : 'Audible', - 'supported_features': , + : , : 0.16129355359011466, }), 'context': , @@ -63,14 +63,14 @@ # name: test_media_player_alt[media_player.test_media_player-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : '', : '', : '', : '', : 'Spotify', - 'supported_features': , + : , : 0.25806775026025003, }), 'context': , @@ -122,8 +122,8 @@ # name: test_media_player_noscope[media_player.test_media_player-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : 'Elon Musk', : 'Walter Isaacson', : 651.0, @@ -131,7 +131,7 @@ : 1.0, : 'Chapter 51: Cybertruck: Tesla, 2018–2019', : 'Audible', - 'supported_features': , + : , : 0.16129355359011466, }), 'context': , diff --git a/tests/components/tesla_fleet/snapshots/test_number.ambr b/tests/components/tesla_fleet/snapshots/test_number.ambr index cc02e254ace..d60dfb68a86 100644 --- a/tests/components/tesla_fleet/snapshots/test_number.ambr +++ b/tests/components/tesla_fleet/snapshots/test_number.ambr @@ -44,14 +44,14 @@ # name: test_number[number.energy_site_backup_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Backup reserve', - 'icon': 'mdi:battery-alert', + : 'battery', + : 'Energy Site Backup reserve', + : 'mdi:battery-alert', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.energy_site_backup_reserve', @@ -106,14 +106,14 @@ # name: test_number[number.energy_site_off_grid_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Off-grid reserve', - 'icon': 'mdi:battery-unknown', + : 'battery', + : 'Energy Site Off-grid reserve', + : 'mdi:battery-unknown', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.energy_site_off_grid_reserve', @@ -168,13 +168,13 @@ # name: test_number[number.test_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charge current', + : 'current', + : 'Test Charge current', : 16, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_charge_current', @@ -229,13 +229,13 @@ # name: test_number[number.test_charge_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Charge limit', + : 'battery', + : 'Test Charge limit', : 100, : 50, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_charge_limit', diff --git a/tests/components/tesla_fleet/snapshots/test_select.ambr b/tests/components/tesla_fleet/snapshots/test_select.ambr index da5bfa27e1d..c26fab97147 100644 --- a/tests/components/tesla_fleet/snapshots/test_select.ambr +++ b/tests/components/tesla_fleet/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select[select.energy_site_allow_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Allow export', + : 'Energy Site Allow export', : list([ , , @@ -106,7 +106,7 @@ # name: test_select[select.energy_site_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Operation mode', + : 'Energy Site Operation mode', : list([ , , @@ -168,7 +168,7 @@ # name: test_select[select.test_seat_heater_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater front left', + : 'Test Seat heater front left', : list([ 'off', 'low', @@ -231,7 +231,7 @@ # name: test_select[select.test_seat_heater_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater front right', + : 'Test Seat heater front right', : list([ 'off', 'low', @@ -294,7 +294,7 @@ # name: test_select[select.test_seat_heater_rear_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear center', + : 'Test Seat heater rear center', : list([ 'off', 'low', @@ -357,7 +357,7 @@ # name: test_select[select.test_seat_heater_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear left', + : 'Test Seat heater rear left', : list([ 'off', 'low', @@ -420,7 +420,7 @@ # name: test_select[select.test_seat_heater_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear right', + : 'Test Seat heater rear right', : list([ 'off', 'low', @@ -483,7 +483,7 @@ # name: test_select[select.test_seat_heater_third_row_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater third row left', + : 'Test Seat heater third row left', : list([ 'off', 'low', @@ -546,7 +546,7 @@ # name: test_select[select.test_seat_heater_third_row_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater third row right', + : 'Test Seat heater third row right', : list([ 'off', 'low', @@ -608,7 +608,7 @@ # name: test_select[select.test_steering_wheel_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Steering wheel heater', + : 'Test Steering wheel heater', : list([ 'off', 'low', diff --git a/tests/components/tesla_fleet/snapshots/test_sensor.ambr b/tests/components/tesla_fleet/snapshots/test_sensor.ambr index dbc485a363e..8a781b2000a 100644 --- a/tests/components/tesla_fleet/snapshots/test_sensor.ambr +++ b/tests/components/tesla_fleet/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_sensors[sensor.energy_site_battery_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery charged', + : 'energy', + : 'Energy Site Battery charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_charged', @@ -63,11 +63,11 @@ # name: test_sensors[sensor.energy_site_battery_charged-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery charged', + : 'energy', + : 'Energy Site Battery charged', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_charged', @@ -125,10 +125,10 @@ # name: test_sensors[sensor.energy_site_battery_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery discharged', + : 'energy', + : 'Energy Site Battery discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_discharged', @@ -141,11 +141,11 @@ # name: test_sensors[sensor.energy_site_battery_discharged-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery discharged', + : 'energy', + : 'Energy Site Battery discharged', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_discharged', @@ -203,10 +203,10 @@ # name: test_sensors[sensor.energy_site_battery_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery exported', + : 'energy', + : 'Energy Site Battery exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_exported', @@ -219,11 +219,11 @@ # name: test_sensors[sensor.energy_site_battery_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery exported', + : 'energy', + : 'Energy Site Battery exported', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_exported', @@ -281,10 +281,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from generator', + : 'energy', + : 'Energy Site Battery imported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_generator', @@ -297,11 +297,11 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_generator-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from generator', + : 'energy', + : 'Energy Site Battery imported from generator', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_generator', @@ -359,10 +359,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from grid', + : 'energy', + : 'Energy Site Battery imported from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_grid', @@ -375,11 +375,11 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_grid-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from grid', + : 'energy', + : 'Energy Site Battery imported from grid', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_grid', @@ -437,10 +437,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from solar', + : 'energy', + : 'Energy Site Battery imported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_solar', @@ -453,11 +453,11 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_solar-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from solar', + : 'energy', + : 'Energy Site Battery imported from solar', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_solar', @@ -515,10 +515,10 @@ # name: test_sensors[sensor.energy_site_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Battery power', + : 'power', + : 'Energy Site Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_power', @@ -531,10 +531,10 @@ # name: test_sensors[sensor.energy_site_battery_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Battery power', + : 'power', + : 'Energy Site Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_power', @@ -592,10 +592,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from battery', + : 'energy', + : 'Energy Site Consumer imported from battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_battery', @@ -608,11 +608,11 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_battery-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from battery', + : 'energy', + : 'Energy Site Consumer imported from battery', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_battery', @@ -670,10 +670,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from generator', + : 'energy', + : 'Energy Site Consumer imported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_generator', @@ -686,11 +686,11 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_generator-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from generator', + : 'energy', + : 'Energy Site Consumer imported from generator', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_generator', @@ -748,10 +748,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from grid', + : 'energy', + : 'Energy Site Consumer imported from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_grid', @@ -764,11 +764,11 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_grid-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from grid', + : 'energy', + : 'Energy Site Consumer imported from grid', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_grid', @@ -826,10 +826,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from solar', + : 'energy', + : 'Energy Site Consumer imported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_solar', @@ -842,11 +842,11 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_solar-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from solar', + : 'energy', + : 'Energy Site Consumer imported from solar', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_solar', @@ -904,10 +904,10 @@ # name: test_sensors[sensor.energy_site_energy_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Energy left', + : 'energy_storage', + : 'Energy Site Energy left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_left', @@ -920,10 +920,10 @@ # name: test_sensors[sensor.energy_site_energy_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Energy left', + : 'energy_storage', + : 'Energy Site Energy left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_left', @@ -981,10 +981,10 @@ # name: test_sensors[sensor.energy_site_generator_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Generator exported', + : 'energy', + : 'Energy Site Generator exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_exported', @@ -997,11 +997,11 @@ # name: test_sensors[sensor.energy_site_generator_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Generator exported', + : 'energy', + : 'Energy Site Generator exported', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_exported', @@ -1059,10 +1059,10 @@ # name: test_sensors[sensor.energy_site_generator_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Generator power', + : 'power', + : 'Energy Site Generator power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_power', @@ -1075,10 +1075,10 @@ # name: test_sensors[sensor.energy_site_generator_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Generator power', + : 'power', + : 'Energy Site Generator power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_power', @@ -1136,10 +1136,10 @@ # name: test_sensors[sensor.energy_site_grid_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported', + : 'energy', + : 'Energy Site Grid exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported', @@ -1152,11 +1152,11 @@ # name: test_sensors[sensor.energy_site_grid_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported', + : 'energy', + : 'Energy Site Grid exported', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported', @@ -1214,10 +1214,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from battery', + : 'energy', + : 'Energy Site Grid exported from battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_battery', @@ -1230,11 +1230,11 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_battery-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from battery', + : 'energy', + : 'Energy Site Grid exported from battery', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_battery', @@ -1292,10 +1292,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from generator', + : 'energy', + : 'Energy Site Grid exported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_generator', @@ -1308,11 +1308,11 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_generator-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from generator', + : 'energy', + : 'Energy Site Grid exported from generator', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_generator', @@ -1370,10 +1370,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from solar', + : 'energy', + : 'Energy Site Grid exported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_solar', @@ -1386,11 +1386,11 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_solar-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from solar', + : 'energy', + : 'Energy Site Grid exported from solar', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_solar', @@ -1448,10 +1448,10 @@ # name: test_sensors[sensor.energy_site_grid_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid imported', + : 'energy', + : 'Energy Site Grid imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_imported', @@ -1464,11 +1464,11 @@ # name: test_sensors[sensor.energy_site_grid_imported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid imported', + : 'energy', + : 'Energy Site Grid imported', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_imported', @@ -1526,10 +1526,10 @@ # name: test_sensors[sensor.energy_site_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid power', + : 'power', + : 'Energy Site Grid power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_power', @@ -1542,10 +1542,10 @@ # name: test_sensors[sensor.energy_site_grid_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid power', + : 'power', + : 'Energy Site Grid power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_power', @@ -1603,10 +1603,10 @@ # name: test_sensors[sensor.energy_site_grid_services_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services exported', + : 'energy', + : 'Energy Site Grid services exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_exported', @@ -1619,11 +1619,11 @@ # name: test_sensors[sensor.energy_site_grid_services_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services exported', + : 'energy', + : 'Energy Site Grid services exported', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_exported', @@ -1681,10 +1681,10 @@ # name: test_sensors[sensor.energy_site_grid_services_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services imported', + : 'energy', + : 'Energy Site Grid services imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_imported', @@ -1697,11 +1697,11 @@ # name: test_sensors[sensor.energy_site_grid_services_imported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services imported', + : 'energy', + : 'Energy Site Grid services imported', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_imported', @@ -1759,10 +1759,10 @@ # name: test_sensors[sensor.energy_site_grid_services_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid services power', + : 'power', + : 'Energy Site Grid services power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_power', @@ -1775,10 +1775,10 @@ # name: test_sensors[sensor.energy_site_grid_services_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid services power', + : 'power', + : 'Energy Site Grid services power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_power', @@ -1836,8 +1836,8 @@ # name: test_sensors[sensor.energy_site_grid_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Energy Site Grid status', + : 'enum', + : 'Energy Site Grid status', : list([ 'island_status_unknown', 'on_grid', @@ -1857,8 +1857,8 @@ # name: test_sensors[sensor.energy_site_grid_status-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Energy Site Grid status', + : 'enum', + : 'Energy Site Grid status', : list([ 'island_status_unknown', 'on_grid', @@ -1923,10 +1923,10 @@ # name: test_sensors[sensor.energy_site_home_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Home usage', + : 'energy', + : 'Energy Site Home usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_home_usage', @@ -1939,11 +1939,11 @@ # name: test_sensors[sensor.energy_site_home_usage-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Home usage', + : 'energy', + : 'Energy Site Home usage', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_home_usage', @@ -2001,10 +2001,10 @@ # name: test_sensors[sensor.energy_site_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Load power', + : 'power', + : 'Energy Site Load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_load_power', @@ -2017,10 +2017,10 @@ # name: test_sensors[sensor.energy_site_load_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Load power', + : 'power', + : 'Energy Site Load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_load_power', @@ -2075,10 +2075,10 @@ # name: test_sensors[sensor.energy_site_percentage_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Percentage charged', + : 'battery', + : 'Energy Site Percentage charged', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_percentage_charged', @@ -2091,10 +2091,10 @@ # name: test_sensors[sensor.energy_site_percentage_charged-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Percentage charged', + : 'battery', + : 'Energy Site Percentage charged', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_percentage_charged', @@ -2152,10 +2152,10 @@ # name: test_sensors[sensor.energy_site_solar_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar exported', + : 'energy', + : 'Energy Site Solar exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_exported', @@ -2168,11 +2168,11 @@ # name: test_sensors[sensor.energy_site_solar_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar exported', + : 'energy', + : 'Energy Site Solar exported', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_exported', @@ -2230,10 +2230,10 @@ # name: test_sensors[sensor.energy_site_solar_generated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar generated', + : 'energy', + : 'Energy Site Solar generated', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_generated', @@ -2246,11 +2246,11 @@ # name: test_sensors[sensor.energy_site_solar_generated-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar generated', + : 'energy', + : 'Energy Site Solar generated', : '2023-06-01T01:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_generated', @@ -2308,10 +2308,10 @@ # name: test_sensors[sensor.energy_site_solar_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Solar power', + : 'power', + : 'Energy Site Solar power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_power', @@ -2324,10 +2324,10 @@ # name: test_sensors[sensor.energy_site_solar_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Solar power', + : 'power', + : 'Energy Site Solar power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_power', @@ -2385,10 +2385,10 @@ # name: test_sensors[sensor.energy_site_total_pack_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Total pack energy', + : 'energy_storage', + : 'Energy Site Total pack energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_pack_energy', @@ -2401,10 +2401,10 @@ # name: test_sensors[sensor.energy_site_total_pack_energy-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Total pack energy', + : 'energy_storage', + : 'Energy Site Total pack energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_pack_energy', @@ -2454,7 +2454,7 @@ # name: test_sensors[sensor.energy_site_version-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Version', + : 'Energy Site Version', }), 'context': , 'entity_id': 'sensor.energy_site_version', @@ -2467,7 +2467,7 @@ # name: test_sensors[sensor.energy_site_version-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Version', + : 'Energy Site Version', }), 'context': , 'entity_id': 'sensor.energy_site_version', @@ -2517,8 +2517,8 @@ # name: test_sensors[sensor.energy_site_vpp_backup_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site VPP backup reserve', - 'unit_of_measurement': '%', + : 'Energy Site VPP backup reserve', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_vpp_backup_reserve', @@ -2531,8 +2531,8 @@ # name: test_sensors[sensor.energy_site_vpp_backup_reserve-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site VPP backup reserve', - 'unit_of_measurement': '%', + : 'Energy Site VPP backup reserve', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_vpp_backup_reserve', @@ -2584,10 +2584,10 @@ # name: test_sensors[sensor.test_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Battery level', + : 'battery', + : 'Test Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_battery_level', @@ -2600,10 +2600,10 @@ # name: test_sensors[sensor.test_battery_level-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Battery level', + : 'battery', + : 'Test Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_battery_level', @@ -2661,10 +2661,10 @@ # name: test_sensors[sensor.test_battery_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Battery range', + : 'distance', + : 'Test Battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_range', @@ -2677,10 +2677,10 @@ # name: test_sensors[sensor.test_battery_range-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Battery range', + : 'distance', + : 'Test Battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_range', @@ -2730,7 +2730,7 @@ # name: test_sensors[sensor.test_charge_cable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charge cable', + : 'Test Charge cable', }), 'context': , 'entity_id': 'sensor.test_charge_cable', @@ -2743,7 +2743,7 @@ # name: test_sensors[sensor.test_charge_cable-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charge cable', + : 'Test Charge cable', }), 'context': , 'entity_id': 'sensor.test_charge_cable', @@ -2798,10 +2798,10 @@ # name: test_sensors[sensor.test_charge_energy_added-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Charge energy added', + : 'energy', + : 'Test Charge energy added', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_energy_added', @@ -2814,10 +2814,10 @@ # name: test_sensors[sensor.test_charge_energy_added-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Charge energy added', + : 'energy', + : 'Test Charge energy added', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_energy_added', @@ -2875,10 +2875,10 @@ # name: test_sensors[sensor.test_charge_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Charge rate', + : 'speed', + : 'Test Charge rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_rate', @@ -2891,10 +2891,10 @@ # name: test_sensors[sensor.test_charge_rate-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Charge rate', + : 'speed', + : 'Test Charge rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_rate', @@ -2949,10 +2949,10 @@ # name: test_sensors[sensor.test_charger_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charger current', + : 'current', + : 'Test Charger current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_current', @@ -2965,10 +2965,10 @@ # name: test_sensors[sensor.test_charger_current-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charger current', + : 'current', + : 'Test Charger current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_current', @@ -3023,10 +3023,10 @@ # name: test_sensors[sensor.test_charger_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Charger power', + : 'power', + : 'Test Charger power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_power', @@ -3039,10 +3039,10 @@ # name: test_sensors[sensor.test_charger_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Charger power', + : 'power', + : 'Test Charger power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_power', @@ -3097,10 +3097,10 @@ # name: test_sensors[sensor.test_charger_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test Charger voltage', + : 'voltage', + : 'Test Charger voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_voltage', @@ -3113,10 +3113,10 @@ # name: test_sensors[sensor.test_charger_voltage-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test Charger voltage', + : 'voltage', + : 'Test Charger voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_voltage', @@ -3175,8 +3175,8 @@ # name: test_sensors[sensor.test_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charging', + : 'enum', + : 'Test Charging', : list([ 'starting', 'charging', @@ -3197,8 +3197,8 @@ # name: test_sensors[sensor.test_charging-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charging', + : 'enum', + : 'Test Charging', : list([ 'starting', 'charging', @@ -3256,7 +3256,7 @@ # name: test_sensors[sensor.test_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Destination', + : 'Test Destination', }), 'context': , 'entity_id': 'sensor.test_destination', @@ -3269,7 +3269,7 @@ # name: test_sensors[sensor.test_destination-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Destination', + : 'Test Destination', }), 'context': , 'entity_id': 'sensor.test_destination', @@ -3327,10 +3327,10 @@ # name: test_sensors[sensor.test_distance_to_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Distance to arrival', + : 'distance', + : 'Test Distance to arrival', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_distance_to_arrival', @@ -3343,10 +3343,10 @@ # name: test_sensors[sensor.test_distance_to_arrival-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Distance to arrival', + : 'distance', + : 'Test Distance to arrival', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_distance_to_arrival', @@ -3401,10 +3401,10 @@ # name: test_sensors[sensor.test_driver_temperature_setting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Driver temperature setting', + : 'temperature', + : 'Test Driver temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_driver_temperature_setting', @@ -3417,10 +3417,10 @@ # name: test_sensors[sensor.test_driver_temperature_setting-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Driver temperature setting', + : 'temperature', + : 'Test Driver temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_driver_temperature_setting', @@ -3478,10 +3478,10 @@ # name: test_sensors[sensor.test_estimate_battery_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Estimate battery range', + : 'distance', + : 'Test Estimate battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_estimate_battery_range', @@ -3494,10 +3494,10 @@ # name: test_sensors[sensor.test_estimate_battery_range-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Estimate battery range', + : 'distance', + : 'Test Estimate battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_estimate_battery_range', @@ -3547,7 +3547,7 @@ # name: test_sensors[sensor.test_fast_charger_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fast charger type', + : 'Test Fast charger type', }), 'context': , 'entity_id': 'sensor.test_fast_charger_type', @@ -3560,7 +3560,7 @@ # name: test_sensors[sensor.test_fast_charger_type-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fast charger type', + : 'Test Fast charger type', }), 'context': , 'entity_id': 'sensor.test_fast_charger_type', @@ -3618,10 +3618,10 @@ # name: test_sensors[sensor.test_ideal_battery_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Ideal battery range', + : 'distance', + : 'Test Ideal battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_ideal_battery_range', @@ -3634,10 +3634,10 @@ # name: test_sensors[sensor.test_ideal_battery_range-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Ideal battery range', + : 'distance', + : 'Test Ideal battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_ideal_battery_range', @@ -3692,10 +3692,10 @@ # name: test_sensors[sensor.test_inside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Inside temperature', + : 'temperature', + : 'Test Inside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_inside_temperature', @@ -3708,10 +3708,10 @@ # name: test_sensors[sensor.test_inside_temperature-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Inside temperature', + : 'temperature', + : 'Test Inside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_inside_temperature', @@ -3769,10 +3769,10 @@ # name: test_sensors[sensor.test_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Odometer', + : 'distance', + : 'Test Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_odometer', @@ -3785,10 +3785,10 @@ # name: test_sensors[sensor.test_odometer-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Odometer', + : 'distance', + : 'Test Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_odometer', @@ -3843,10 +3843,10 @@ # name: test_sensors[sensor.test_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Outside temperature', + : 'temperature', + : 'Test Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_outside_temperature', @@ -3859,10 +3859,10 @@ # name: test_sensors[sensor.test_outside_temperature-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Outside temperature', + : 'temperature', + : 'Test Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_outside_temperature', @@ -3917,10 +3917,10 @@ # name: test_sensors[sensor.test_passenger_temperature_setting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Passenger temperature setting', + : 'temperature', + : 'Test Passenger temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_passenger_temperature_setting', @@ -3933,10 +3933,10 @@ # name: test_sensors[sensor.test_passenger_temperature_setting-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Passenger temperature setting', + : 'temperature', + : 'Test Passenger temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_passenger_temperature_setting', @@ -3991,10 +3991,10 @@ # name: test_sensors[sensor.test_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Power', + : 'power', + : 'Test Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_power', @@ -4007,10 +4007,10 @@ # name: test_sensors[sensor.test_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Power', + : 'power', + : 'Test Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_power', @@ -4067,8 +4067,8 @@ # name: test_sensors[sensor.test_shift_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Shift state', + : 'enum', + : 'Test Shift state', : list([ 'p', 'd', @@ -4087,8 +4087,8 @@ # name: test_sensors[sensor.test_shift_state-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Shift state', + : 'enum', + : 'Test Shift state', : list([ 'p', 'd', @@ -4152,10 +4152,10 @@ # name: test_sensors[sensor.test_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Speed', + : 'speed', + : 'Test Speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_speed', @@ -4168,10 +4168,10 @@ # name: test_sensors[sensor.test_speed-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Speed', + : 'speed', + : 'Test Speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_speed', @@ -4223,10 +4223,10 @@ # name: test_sensors[sensor.test_state_of_charge_at_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test State of charge at arrival', + : 'battery', + : 'Test State of charge at arrival', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_state_of_charge_at_arrival', @@ -4239,10 +4239,10 @@ # name: test_sensors[sensor.test_state_of_charge_at_arrival-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test State of charge at arrival', + : 'battery', + : 'Test State of charge at arrival', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_state_of_charge_at_arrival', @@ -4292,8 +4292,8 @@ # name: test_sensors[sensor.test_time_to_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to arrival', + : 'timestamp', + : 'Test Time to arrival', }), 'context': , 'entity_id': 'sensor.test_time_to_arrival', @@ -4306,8 +4306,8 @@ # name: test_sensors[sensor.test_time_to_arrival-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to arrival', + : 'timestamp', + : 'Test Time to arrival', }), 'context': , 'entity_id': 'sensor.test_time_to_arrival', @@ -4357,8 +4357,8 @@ # name: test_sensors[sensor.test_time_to_full_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to full charge', + : 'timestamp', + : 'Test Time to full charge', }), 'context': , 'entity_id': 'sensor.test_time_to_full_charge', @@ -4371,8 +4371,8 @@ # name: test_sensors[sensor.test_time_to_full_charge-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to full charge', + : 'timestamp', + : 'Test Time to full charge', }), 'context': , 'entity_id': 'sensor.test_time_to_full_charge', @@ -4430,10 +4430,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front left', + : 'pressure', + : 'Test Tire pressure front left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_left', @@ -4446,10 +4446,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front left', + : 'pressure', + : 'Test Tire pressure front left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_left', @@ -4507,10 +4507,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front right', + : 'pressure', + : 'Test Tire pressure front right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_right', @@ -4523,10 +4523,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front right', + : 'pressure', + : 'Test Tire pressure front right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_right', @@ -4584,10 +4584,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear left', + : 'pressure', + : 'Test Tire pressure rear left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_left', @@ -4600,10 +4600,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear left', + : 'pressure', + : 'Test Tire pressure rear left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_left', @@ -4661,10 +4661,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear right', + : 'pressure', + : 'Test Tire pressure rear right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_right', @@ -4677,10 +4677,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear right', + : 'pressure', + : 'Test Tire pressure rear right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_right', @@ -4735,10 +4735,10 @@ # name: test_sensors[sensor.test_traffic_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Traffic delay', + : 'duration', + : 'Test Traffic delay', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_traffic_delay', @@ -4751,10 +4751,10 @@ # name: test_sensors[sensor.test_traffic_delay-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Traffic delay', + : 'duration', + : 'Test Traffic delay', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_traffic_delay', @@ -4806,10 +4806,10 @@ # name: test_sensors[sensor.test_usable_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Usable battery level', + : 'battery', + : 'Test Usable battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_usable_battery_level', @@ -4822,10 +4822,10 @@ # name: test_sensors[sensor.test_usable_battery_level-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Usable battery level', + : 'battery', + : 'Test Usable battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_usable_battery_level', @@ -4875,7 +4875,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code', @@ -4888,7 +4888,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code', @@ -4938,7 +4938,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code_2', @@ -4951,7 +4951,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code_2', @@ -5009,10 +5009,10 @@ # name: test_sensors[sensor.wall_connector_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power', @@ -5025,10 +5025,10 @@ # name: test_sensors[sensor.wall_connector_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power', @@ -5086,10 +5086,10 @@ # name: test_sensors[sensor.wall_connector_power_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power_2', @@ -5102,10 +5102,10 @@ # name: test_sensors[sensor.wall_connector_power_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power_2', @@ -5155,7 +5155,7 @@ # name: test_sensors[sensor.wall_connector_state_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code', @@ -5168,7 +5168,7 @@ # name: test_sensors[sensor.wall_connector_state_code-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code', @@ -5218,7 +5218,7 @@ # name: test_sensors[sensor.wall_connector_state_code_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code_2', @@ -5231,7 +5231,7 @@ # name: test_sensors[sensor.wall_connector_state_code_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code_2', @@ -5281,7 +5281,7 @@ # name: test_sensors[sensor.wall_connector_vehicle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle', @@ -5294,7 +5294,7 @@ # name: test_sensors[sensor.wall_connector_vehicle-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle', @@ -5344,7 +5344,7 @@ # name: test_sensors[sensor.wall_connector_vehicle_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle_2', @@ -5357,7 +5357,7 @@ # name: test_sensors[sensor.wall_connector_vehicle_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle_2', diff --git a/tests/components/tesla_fleet/snapshots/test_switch.ambr b/tests/components/tesla_fleet/snapshots/test_switch.ambr index 73d8d201abc..5fe2eb0a717 100644 --- a/tests/components/tesla_fleet/snapshots/test_switch.ambr +++ b/tests/components/tesla_fleet/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch[switch.energy_site_allow_charging_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Allow charging from grid', + : 'switch', + : 'Energy Site Allow charging from grid', }), 'context': , 'entity_id': 'switch.energy_site_allow_charging_from_grid', @@ -90,8 +90,8 @@ # name: test_switch[switch.energy_site_storm_watch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Storm watch', + : 'switch', + : 'Energy Site Storm watch', }), 'context': , 'entity_id': 'switch.energy_site_storm_watch', @@ -141,8 +141,8 @@ # name: test_switch[switch.test_auto_seat_climate_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate left', + : 'switch', + : 'Test Auto seat climate left', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_left', @@ -192,8 +192,8 @@ # name: test_switch[switch.test_auto_seat_climate_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate right', + : 'switch', + : 'Test Auto seat climate right', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_right', @@ -243,8 +243,8 @@ # name: test_switch[switch.test_auto_steering_wheel_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto steering wheel heater', + : 'switch', + : 'Test Auto steering wheel heater', }), 'context': , 'entity_id': 'switch.test_auto_steering_wheel_heater', @@ -294,8 +294,8 @@ # name: test_switch[switch.test_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Charge', + : 'switch', + : 'Test Charge', }), 'context': , 'entity_id': 'switch.test_charge', @@ -345,8 +345,8 @@ # name: test_switch[switch.test_defrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Defrost', + : 'switch', + : 'Test Defrost', }), 'context': , 'entity_id': 'switch.test_defrost', @@ -396,8 +396,8 @@ # name: test_switch[switch.test_sentry_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Sentry mode', + : 'switch', + : 'Test Sentry mode', }), 'context': , 'entity_id': 'switch.test_sentry_mode', @@ -410,8 +410,8 @@ # name: test_switch_alt[switch.energy_site_allow_charging_from_grid-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Allow charging from grid', + : 'switch', + : 'Energy Site Allow charging from grid', }), 'context': , 'entity_id': 'switch.energy_site_allow_charging_from_grid', @@ -424,8 +424,8 @@ # name: test_switch_alt[switch.energy_site_storm_watch-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Storm watch', + : 'switch', + : 'Energy Site Storm watch', }), 'context': , 'entity_id': 'switch.energy_site_storm_watch', @@ -438,8 +438,8 @@ # name: test_switch_alt[switch.test_auto_seat_climate_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate left', + : 'switch', + : 'Test Auto seat climate left', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_left', @@ -452,8 +452,8 @@ # name: test_switch_alt[switch.test_auto_seat_climate_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate right', + : 'switch', + : 'Test Auto seat climate right', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_right', @@ -466,8 +466,8 @@ # name: test_switch_alt[switch.test_auto_steering_wheel_heater-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto steering wheel heater', + : 'switch', + : 'Test Auto steering wheel heater', }), 'context': , 'entity_id': 'switch.test_auto_steering_wheel_heater', @@ -480,8 +480,8 @@ # name: test_switch_alt[switch.test_charge-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Charge', + : 'switch', + : 'Test Charge', }), 'context': , 'entity_id': 'switch.test_charge', @@ -494,8 +494,8 @@ # name: test_switch_alt[switch.test_defrost-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Defrost', + : 'switch', + : 'Test Defrost', }), 'context': , 'entity_id': 'switch.test_defrost', @@ -508,8 +508,8 @@ # name: test_switch_alt[switch.test_sentry_mode-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Sentry mode', + : 'switch', + : 'Test Sentry mode', }), 'context': , 'entity_id': 'switch.test_sentry_mode', diff --git a/tests/components/tesla_fleet/snapshots/test_update.ambr b/tests/components/tesla_fleet/snapshots/test_update.ambr index 55b2f03f8d4..969de02101b 100644 --- a/tests/components/tesla_fleet/snapshots/test_update.ambr +++ b/tests/components/tesla_fleet/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/tesla_fleet/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/tesla_fleet/icon.png', + : 'Test Update', : False, : '2023.44.30.8', : '2024.12.0.0', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -103,15 +103,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/tesla_fleet/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/tesla_fleet/icon.png', + : 'Test Update', : False, : '2023.44.30.8', : '2023.44.30.8', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/teslemetry/snapshots/test_binary_sensor.ambr b/tests/components/teslemetry/snapshots/test_binary_sensor.ambr index bead81db612..f96e11d555b 100644 --- a/tests/components/teslemetry/snapshots/test_binary_sensor.ambr +++ b/tests/components/teslemetry/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_backup_capable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Backup capable', + : 'Energy Site Backup capable', }), 'context': , 'entity_id': 'binary_sensor.energy_site_backup_capable', @@ -89,7 +89,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_grid_services_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services active', + : 'Energy Site Grid services active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_active', @@ -139,7 +139,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_grid_services_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services enabled', + : 'Energy Site Grid services enabled', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_enabled', @@ -189,8 +189,8 @@ # name: test_binary_sensor[binary_sensor.energy_site_grid_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid status', + : 'power', + : 'Energy Site Grid status', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_status', @@ -240,7 +240,7 @@ # name: test_binary_sensor[binary_sensor.energy_site_storm_watch_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Storm watch active', + : 'Energy Site Storm watch active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_storm_watch_active', @@ -290,8 +290,8 @@ # name: test_binary_sensor[binary_sensor.test_battery_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Battery heater', + : 'heat', + : 'Test Battery heater', }), 'context': , 'entity_id': 'binary_sensor.test_battery_heater', @@ -341,8 +341,8 @@ # name: test_binary_sensor[binary_sensor.test_cabin_overheat_protection_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Cabin overheat protection active', + : 'heat', + : 'Test Cabin overheat protection active', }), 'context': , 'entity_id': 'binary_sensor.test_cabin_overheat_protection_active', @@ -392,8 +392,8 @@ # name: test_binary_sensor[binary_sensor.test_charge_cable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Charge cable', + : 'connectivity', + : 'Test Charge cable', }), 'context': , 'entity_id': 'binary_sensor.test_charge_cable', @@ -443,7 +443,7 @@ # name: test_binary_sensor[binary_sensor.test_charger_has_multiple_phases-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charger has multiple phases', + : 'Test Charger has multiple phases', }), 'context': , 'entity_id': 'binary_sensor.test_charger_has_multiple_phases', @@ -493,8 +493,8 @@ # name: test_binary_sensor[binary_sensor.test_dashcam-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Dashcam', + : 'running', + : 'Test Dashcam', }), 'context': , 'entity_id': 'binary_sensor.test_dashcam', @@ -544,8 +544,8 @@ # name: test_binary_sensor[binary_sensor.test_front_driver_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front driver door', + : 'door', + : 'Test Front driver door', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_door', @@ -595,8 +595,8 @@ # name: test_binary_sensor[binary_sensor.test_front_driver_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front driver window', + : 'window', + : 'Test Front driver window', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_window', @@ -646,8 +646,8 @@ # name: test_binary_sensor[binary_sensor.test_front_passenger_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front passenger door', + : 'door', + : 'Test Front passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_door', @@ -697,8 +697,8 @@ # name: test_binary_sensor[binary_sensor.test_front_passenger_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front passenger window', + : 'window', + : 'Test Front passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_window', @@ -748,7 +748,7 @@ # name: test_binary_sensor[binary_sensor.test_preconditioning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning', + : 'Test Preconditioning', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning', @@ -798,7 +798,7 @@ # name: test_binary_sensor[binary_sensor.test_preconditioning_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning enabled', + : 'Test Preconditioning enabled', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning_enabled', @@ -848,8 +848,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_driver_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear driver door', + : 'door', + : 'Test Rear driver door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_door', @@ -899,8 +899,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_driver_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear driver window', + : 'window', + : 'Test Rear driver window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_window', @@ -950,8 +950,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_passenger_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear passenger door', + : 'door', + : 'Test Rear passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_door', @@ -1001,8 +1001,8 @@ # name: test_binary_sensor[binary_sensor.test_rear_passenger_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear passenger window', + : 'window', + : 'Test Rear passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_window', @@ -1052,7 +1052,7 @@ # name: test_binary_sensor[binary_sensor.test_scheduled_charging_pending-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Scheduled charging pending', + : 'Test Scheduled charging pending', }), 'context': , 'entity_id': 'binary_sensor.test_scheduled_charging_pending', @@ -1102,8 +1102,8 @@ # name: test_binary_sensor[binary_sensor.test_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Status', + : 'connectivity', + : 'Test Status', }), 'context': , 'entity_id': 'binary_sensor.test_status', @@ -1153,8 +1153,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front left', + : 'problem', + : 'Test Tire pressure warning front left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_left', @@ -1204,8 +1204,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front right', + : 'problem', + : 'Test Tire pressure warning front right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_right', @@ -1255,8 +1255,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear left', + : 'problem', + : 'Test Tire pressure warning rear left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_left', @@ -1306,8 +1306,8 @@ # name: test_binary_sensor[binary_sensor.test_tire_pressure_warning_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear right', + : 'problem', + : 'Test Tire pressure warning rear right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_right', @@ -1357,7 +1357,7 @@ # name: test_binary_sensor[binary_sensor.test_trip_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Trip charging', + : 'Test Trip charging', }), 'context': , 'entity_id': 'binary_sensor.test_trip_charging', @@ -1407,8 +1407,8 @@ # name: test_binary_sensor[binary_sensor.test_user_present-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'Test User present', + : 'presence', + : 'Test User present', }), 'context': , 'entity_id': 'binary_sensor.test_user_present', @@ -1421,7 +1421,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_backup_capable-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Backup capable', + : 'Energy Site Backup capable', }), 'context': , 'entity_id': 'binary_sensor.energy_site_backup_capable', @@ -1434,7 +1434,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_grid_services_active-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services active', + : 'Energy Site Grid services active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_active', @@ -1447,7 +1447,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_grid_services_enabled-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services enabled', + : 'Energy Site Grid services enabled', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_enabled', @@ -1460,8 +1460,8 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_grid_status-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid status', + : 'power', + : 'Energy Site Grid status', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_status', @@ -1474,7 +1474,7 @@ # name: test_binary_sensor_refresh[binary_sensor.energy_site_storm_watch_active-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Storm watch active', + : 'Energy Site Storm watch active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_storm_watch_active', @@ -1487,8 +1487,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_battery_heater-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Battery heater', + : 'heat', + : 'Test Battery heater', }), 'context': , 'entity_id': 'binary_sensor.test_battery_heater', @@ -1501,8 +1501,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_cabin_overheat_protection_active-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Cabin overheat protection active', + : 'heat', + : 'Test Cabin overheat protection active', }), 'context': , 'entity_id': 'binary_sensor.test_cabin_overheat_protection_active', @@ -1515,8 +1515,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_charge_cable-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Charge cable', + : 'connectivity', + : 'Test Charge cable', }), 'context': , 'entity_id': 'binary_sensor.test_charge_cable', @@ -1529,7 +1529,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_charger_has_multiple_phases-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charger has multiple phases', + : 'Test Charger has multiple phases', }), 'context': , 'entity_id': 'binary_sensor.test_charger_has_multiple_phases', @@ -1542,8 +1542,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_dashcam-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Dashcam', + : 'running', + : 'Test Dashcam', }), 'context': , 'entity_id': 'binary_sensor.test_dashcam', @@ -1556,8 +1556,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_driver_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front driver door', + : 'door', + : 'Test Front driver door', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_door', @@ -1570,8 +1570,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_driver_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front driver window', + : 'window', + : 'Test Front driver window', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_window', @@ -1584,8 +1584,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_passenger_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front passenger door', + : 'door', + : 'Test Front passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_door', @@ -1598,8 +1598,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_front_passenger_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front passenger window', + : 'window', + : 'Test Front passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_window', @@ -1612,7 +1612,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_preconditioning-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning', + : 'Test Preconditioning', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning', @@ -1625,7 +1625,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_preconditioning_enabled-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning enabled', + : 'Test Preconditioning enabled', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning_enabled', @@ -1638,8 +1638,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_driver_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear driver door', + : 'door', + : 'Test Rear driver door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_door', @@ -1652,8 +1652,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_driver_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear driver window', + : 'window', + : 'Test Rear driver window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_window', @@ -1666,8 +1666,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_passenger_door-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear passenger door', + : 'door', + : 'Test Rear passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_door', @@ -1680,8 +1680,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_rear_passenger_window-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear passenger window', + : 'window', + : 'Test Rear passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_window', @@ -1694,7 +1694,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_scheduled_charging_pending-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Scheduled charging pending', + : 'Test Scheduled charging pending', }), 'context': , 'entity_id': 'binary_sensor.test_scheduled_charging_pending', @@ -1707,8 +1707,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_status-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Status', + : 'connectivity', + : 'Test Status', }), 'context': , 'entity_id': 'binary_sensor.test_status', @@ -1721,8 +1721,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_front_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front left', + : 'problem', + : 'Test Tire pressure warning front left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_left', @@ -1735,8 +1735,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_front_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front right', + : 'problem', + : 'Test Tire pressure warning front right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_right', @@ -1749,8 +1749,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_rear_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear left', + : 'problem', + : 'Test Tire pressure warning rear left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_left', @@ -1763,8 +1763,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_tire_pressure_warning_rear_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear right', + : 'problem', + : 'Test Tire pressure warning rear right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_right', @@ -1777,7 +1777,7 @@ # name: test_binary_sensor_refresh[binary_sensor.test_trip_charging-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Trip charging', + : 'Test Trip charging', }), 'context': , 'entity_id': 'binary_sensor.test_trip_charging', @@ -1790,8 +1790,8 @@ # name: test_binary_sensor_refresh[binary_sensor.test_user_present-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'presence', - 'friendly_name': 'Test User present', + : 'presence', + : 'Test User present', }), 'context': , 'entity_id': 'binary_sensor.test_user_present', diff --git a/tests/components/teslemetry/snapshots/test_button.ambr b/tests/components/teslemetry/snapshots/test_button.ambr index c868f9a0ca4..89caeefc3a8 100644 --- a/tests/components/teslemetry/snapshots/test_button.ambr +++ b/tests/components/teslemetry/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button[button.test_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Flash lights', + : 'Test Flash lights', }), 'context': , 'entity_id': 'button.test_flash_lights', @@ -89,7 +89,7 @@ # name: test_button[button.test_homelink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Homelink', + : 'Test Homelink', }), 'context': , 'entity_id': 'button.test_homelink', @@ -139,7 +139,7 @@ # name: test_button[button.test_honk_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Honk horn', + : 'Test Honk horn', }), 'context': , 'entity_id': 'button.test_honk_horn', @@ -189,7 +189,7 @@ # name: test_button[button.test_keyless_driving-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Keyless driving', + : 'Test Keyless driving', }), 'context': , 'entity_id': 'button.test_keyless_driving', @@ -239,7 +239,7 @@ # name: test_button[button.test_play_fart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Play fart', + : 'Test Play fart', }), 'context': , 'entity_id': 'button.test_play_fart', @@ -289,7 +289,7 @@ # name: test_button[button.test_wake-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Wake', + : 'Test Wake', }), 'context': , 'entity_id': 'button.test_wake', diff --git a/tests/components/teslemetry/snapshots/test_calendar.ambr b/tests/components/teslemetry/snapshots/test_calendar.ambr index de3f54a3766..b9f871c0021 100644 --- a/tests/components/teslemetry/snapshots/test_calendar.ambr +++ b/tests/components/teslemetry/snapshots/test_calendar.ambr @@ -46,7 +46,7 @@ Price: 0.20/kWh ''', : '2024-01-01 16:00:00', - 'friendly_name': 'Energy Site Buy tariff', + : 'Energy Site Buy tariff', : '', : 'Off peak: 0.20/kWh', : '2023-12-31 21:00:00', @@ -106,7 +106,7 @@ Price: 0.08/kWh ''', : '2024-01-01 16:00:00', - 'friendly_name': 'Energy Site Sell tariff', + : 'Energy Site Sell tariff', : '', : 'Off peak: 0.08/kWh', : '2023-12-31 21:00:00', @@ -128,7 +128,7 @@ Price: 0.20/kWh ''', : '2024-01-01 16:00:00', - 'friendly_name': 'Energy Site Buy tariff', + : 'Energy Site Buy tariff', : '', : 'Off peak: 0.20/kWh', : '2023-12-31 21:00:00', @@ -271,7 +271,7 @@ Price: 0.08/kWh ''', : '2024-01-01 16:00:00', - 'friendly_name': 'Energy Site Sell tariff', + : 'Energy Site Sell tariff', : '', : 'Off peak: 0.08/kWh', : '2023-12-31 21:00:00', @@ -414,7 +414,7 @@ Price: 0.22/kWh ''', : '2024-01-01 21:00:00', - 'friendly_name': 'Energy Site Buy tariff', + : 'Energy Site Buy tariff', : '', : 'On peak: 0.22/kWh', : '2024-01-01 16:00:00', @@ -557,7 +557,7 @@ Price: 0.16/kWh ''', : '2024-01-01 21:00:00', - 'friendly_name': 'Energy Site Sell tariff', + : 'Energy Site Sell tariff', : '', : 'On peak: 0.16/kWh', : '2024-01-01 16:00:00', @@ -700,7 +700,7 @@ Price: 0.20/kWh ''', : '2024-01-02 16:00:00', - 'friendly_name': 'Energy Site Buy tariff', + : 'Energy Site Buy tariff', : '', : 'Off peak: 0.20/kWh', : '2024-01-01 21:00:00', @@ -843,7 +843,7 @@ Price: 0.08/kWh ''', : '2024-01-02 16:00:00', - 'friendly_name': 'Energy Site Sell tariff', + : 'Energy Site Sell tariff', : '', : 'Off peak: 0.08/kWh', : '2024-01-01 21:00:00', diff --git a/tests/components/teslemetry/snapshots/test_climate.ambr b/tests/components/teslemetry/snapshots/test_climate.ambr index 0a23e7bb058..e65442579b2 100644 --- a/tests/components/teslemetry/snapshots/test_climate.ambr +++ b/tests/components/teslemetry/snapshots/test_climate.ambr @@ -49,7 +49,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30, - 'friendly_name': 'Test Cabin overheat protection', + : 'Test Cabin overheat protection', : list([ , , @@ -57,7 +57,7 @@ ]), : 40, : 30, - 'supported_features': , + : , : 5, : 40, }), @@ -132,7 +132,7 @@ 'off', 'bioweapon', ]), - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -146,7 +146,7 @@ 'dog', 'camp', ]), - 'supported_features': , + : , : 22.0, }), 'context': , @@ -207,7 +207,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30, - 'friendly_name': 'Test Cabin overheat protection', + : 'Test Cabin overheat protection', : list([ , , @@ -215,7 +215,7 @@ ]), : 40, : 30, - 'supported_features': , + : , : 5, }), 'context': , @@ -289,7 +289,7 @@ 'off', 'bioweapon', ]), - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -303,7 +303,7 @@ 'dog', 'camp', ]), - 'supported_features': , + : , : 22.0, }), 'context': , @@ -411,7 +411,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Test Cabin overheat protection', + : 'Test Cabin overheat protection', : list([ , , @@ -419,7 +419,7 @@ ]), : 40, : 30, - 'supported_features': , + : , : 5, }), 'context': , @@ -434,7 +434,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 26.0, - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -448,7 +448,7 @@ 'dog', 'camp', ]), - 'supported_features': , + : , : 21.0, }), 'context': , @@ -463,7 +463,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 26.0, - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -477,7 +477,7 @@ 'dog', 'camp', ]), - 'supported_features': , + : , : 21.0, }), 'context': , diff --git a/tests/components/teslemetry/snapshots/test_cover.ambr b/tests/components/teslemetry/snapshots/test_cover.ambr index 19b640ce278..f0013833346 100644 --- a/tests/components/teslemetry/snapshots/test_cover.ambr +++ b/tests/components/teslemetry/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_cover[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Charge port door', + : 'door', + : 'Test Charge port door', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_charge_port_door', @@ -92,10 +92,10 @@ # name: test_cover[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Frunk', + : 'door', + : 'Test Frunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_frunk', @@ -145,10 +145,10 @@ # name: test_cover[cover.test_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Sunroof', + : 'window', + : 'Test Sunroof', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_sunroof', @@ -198,10 +198,10 @@ # name: test_cover[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Trunk', + : 'door', + : 'Test Trunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_trunk', @@ -251,10 +251,10 @@ # name: test_cover[cover.test_windows-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Windows', + : 'window', + : 'Test Windows', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_windows', @@ -304,10 +304,10 @@ # name: test_cover_alt[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Charge port door', + : 'door', + : 'Test Charge port door', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_charge_port_door', @@ -357,10 +357,10 @@ # name: test_cover_alt[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Frunk', + : 'door', + : 'Test Frunk', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_frunk', @@ -410,10 +410,10 @@ # name: test_cover_alt[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Trunk', + : 'door', + : 'Test Trunk', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_trunk', @@ -463,10 +463,10 @@ # name: test_cover_alt[cover.test_windows-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Windows', + : 'window', + : 'Test Windows', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_windows', @@ -516,10 +516,10 @@ # name: test_cover_noscope[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Charge port door', + : 'door', + : 'Test Charge port door', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_charge_port_door', @@ -569,10 +569,10 @@ # name: test_cover_noscope[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Frunk', + : 'door', + : 'Test Frunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_frunk', @@ -622,10 +622,10 @@ # name: test_cover_noscope[cover.test_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Sunroof', + : 'window', + : 'Test Sunroof', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_sunroof', @@ -675,10 +675,10 @@ # name: test_cover_noscope[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Trunk', + : 'door', + : 'Test Trunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_trunk', @@ -728,10 +728,10 @@ # name: test_cover_noscope[cover.test_windows-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Windows', + : 'window', + : 'Test Windows', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_windows', diff --git a/tests/components/teslemetry/snapshots/test_device_tracker.ambr b/tests/components/teslemetry/snapshots/test_device_tracker.ambr index 0879699cbab..3644f153020 100644 --- a/tests/components/teslemetry/snapshots/test_device_tracker.ambr +++ b/tests/components/teslemetry/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker[device_tracker.test_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Location', + : 'Test Location', : 0, : list([ ]), @@ -100,7 +100,7 @@ # name: test_device_tracker[device_tracker.test_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Route', + : 'Test Route', : 0, : list([ ]), @@ -120,7 +120,7 @@ # name: test_device_tracker_alt[device_tracker.test_location-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Location', + : 'Test Location', : 0, : list([ ]), @@ -140,7 +140,7 @@ # name: test_device_tracker_alt[device_tracker.test_route-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Route', + : 'Test Route', : 0, : list([ ]), diff --git a/tests/components/teslemetry/snapshots/test_lock.ambr b/tests/components/teslemetry/snapshots/test_lock.ambr index eb92814e6d6..e407804a9f2 100644 --- a/tests/components/teslemetry/snapshots/test_lock.ambr +++ b/tests/components/teslemetry/snapshots/test_lock.ambr @@ -39,8 +39,8 @@ # name: test_lock[lock.test_charge_cable_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charge cable lock', - 'supported_features': , + : 'Test Charge cable lock', + : , }), 'context': , 'entity_id': 'lock.test_charge_cable_lock', @@ -90,8 +90,8 @@ # name: test_lock[lock.test_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Lock', - 'supported_features': , + : 'Test Lock', + : , }), 'context': , 'entity_id': 'lock.test_lock', @@ -141,8 +141,8 @@ # name: test_lock_alt[lock.test_charge_cable_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charge cable lock', - 'supported_features': , + : 'Test Charge cable lock', + : , }), 'context': , 'entity_id': 'lock.test_charge_cable_lock', @@ -192,8 +192,8 @@ # name: test_lock_alt[lock.test_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Lock', - 'supported_features': , + : 'Test Lock', + : , }), 'context': , 'entity_id': 'lock.test_lock', diff --git a/tests/components/teslemetry/snapshots/test_media_player.ambr b/tests/components/teslemetry/snapshots/test_media_player.ambr index 87772d802a5..ac7ac00de48 100644 --- a/tests/components/teslemetry/snapshots/test_media_player.ambr +++ b/tests/components/teslemetry/snapshots/test_media_player.ambr @@ -40,8 +40,8 @@ # name: test_media_player[media_player.test_media_player-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : 'Elon Musk', : 'Walter Isaacson', : 651.0, @@ -49,7 +49,7 @@ : 1.0, : 'Chapter 51: Cybertruck: Tesla, 2018–2019', : 'Audible', - 'supported_features': , + : , : 0.16129354838709678, }), 'context': , @@ -63,15 +63,15 @@ # name: test_media_player_alt[media_player.test_media_player-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : '', : '', : 0.0, : '', : '', : 'Spotify', - 'supported_features': , + : , : 0.0, }), 'context': , @@ -123,8 +123,8 @@ # name: test_media_player_noscope[media_player.test_media_player-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : 'Elon Musk', : 'Walter Isaacson', : 651.0, @@ -132,7 +132,7 @@ : 1.0, : 'Chapter 51: Cybertruck: Tesla, 2018–2019', : 'Audible', - 'supported_features': , + : , : 0.16129354838709678, }), 'context': , @@ -146,9 +146,9 @@ # name: test_update_streaming[off] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', - 'supported_features': , + : 'speaker', + : 'Test Media player', + : , }), 'context': , 'entity_id': 'media_player.test_media_player', @@ -161,14 +161,14 @@ # name: test_update_streaming[on] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : 'Test Album', : 'Test Artist', : 60, : 5, : 'Spotify', - 'supported_features': , + : , : 0.1935483870967742, }), 'context': , diff --git a/tests/components/teslemetry/snapshots/test_number.ambr b/tests/components/teslemetry/snapshots/test_number.ambr index e2f8e875074..c9eb7abfc29 100644 --- a/tests/components/teslemetry/snapshots/test_number.ambr +++ b/tests/components/teslemetry/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number[number.energy_site_backup_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Backup reserve', + : 'battery', + : 'Energy Site Backup reserve', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.energy_site_backup_reserve', @@ -105,13 +105,13 @@ # name: test_number[number.energy_site_off_grid_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Off-grid reserve', + : 'battery', + : 'Energy Site Off-grid reserve', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.energy_site_off_grid_reserve', @@ -166,13 +166,13 @@ # name: test_number[number.test_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charge current', + : 'current', + : 'Test Charge current', : 16, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_charge_current', @@ -227,13 +227,13 @@ # name: test_number[number.test_charge_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Charge limit', + : 'battery', + : 'Test Charge limit', : 100, : 50, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_charge_limit', diff --git a/tests/components/teslemetry/snapshots/test_select.ambr b/tests/components/teslemetry/snapshots/test_select.ambr index 481e4fde9de..4364c7bae3a 100644 --- a/tests/components/teslemetry/snapshots/test_select.ambr +++ b/tests/components/teslemetry/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select[select.energy_site_allow_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Allow export', + : 'Energy Site Allow export', : list([ , , @@ -106,7 +106,7 @@ # name: test_select[select.energy_site_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Operation mode', + : 'Energy Site Operation mode', : list([ , , @@ -168,7 +168,7 @@ # name: test_select[select.test_seat_heater_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater front left', + : 'Test Seat heater front left', : list([ 'off', 'low', @@ -231,7 +231,7 @@ # name: test_select[select.test_seat_heater_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater front right', + : 'Test Seat heater front right', : list([ 'off', 'low', @@ -294,7 +294,7 @@ # name: test_select[select.test_seat_heater_rear_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear center', + : 'Test Seat heater rear center', : list([ 'off', 'low', @@ -357,7 +357,7 @@ # name: test_select[select.test_seat_heater_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear left', + : 'Test Seat heater rear left', : list([ 'off', 'low', @@ -420,7 +420,7 @@ # name: test_select[select.test_seat_heater_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear right', + : 'Test Seat heater rear right', : list([ 'off', 'low', @@ -482,7 +482,7 @@ # name: test_select[select.test_steering_wheel_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Steering wheel heater', + : 'Test Steering wheel heater', : list([ 'off', 'low', diff --git a/tests/components/teslemetry/snapshots/test_sensor.ambr b/tests/components/teslemetry/snapshots/test_sensor.ambr index 8542b110647..63d389bfb2f 100644 --- a/tests/components/teslemetry/snapshots/test_sensor.ambr +++ b/tests/components/teslemetry/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_sensors[sensor.energy_site_battery_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery charged', + : 'energy', + : 'Energy Site Battery charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_charged', @@ -63,10 +63,10 @@ # name: test_sensors[sensor.energy_site_battery_charged-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery charged', + : 'energy', + : 'Energy Site Battery charged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_charged', @@ -124,10 +124,10 @@ # name: test_sensors[sensor.energy_site_battery_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery discharged', + : 'energy', + : 'Energy Site Battery discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_discharged', @@ -140,10 +140,10 @@ # name: test_sensors[sensor.energy_site_battery_discharged-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery discharged', + : 'energy', + : 'Energy Site Battery discharged', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_discharged', @@ -201,10 +201,10 @@ # name: test_sensors[sensor.energy_site_battery_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery exported', + : 'energy', + : 'Energy Site Battery exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_exported', @@ -217,10 +217,10 @@ # name: test_sensors[sensor.energy_site_battery_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery exported', + : 'energy', + : 'Energy Site Battery exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_exported', @@ -278,10 +278,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from generator', + : 'energy', + : 'Energy Site Battery imported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_generator', @@ -294,10 +294,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_generator-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from generator', + : 'energy', + : 'Energy Site Battery imported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_generator', @@ -355,10 +355,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from grid', + : 'energy', + : 'Energy Site Battery imported from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_grid', @@ -371,10 +371,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_grid-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from grid', + : 'energy', + : 'Energy Site Battery imported from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_grid', @@ -432,10 +432,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from solar', + : 'energy', + : 'Energy Site Battery imported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_solar', @@ -448,10 +448,10 @@ # name: test_sensors[sensor.energy_site_battery_imported_from_solar-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery imported from solar', + : 'energy', + : 'Energy Site Battery imported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_imported_from_solar', @@ -509,10 +509,10 @@ # name: test_sensors[sensor.energy_site_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Battery power', + : 'power', + : 'Energy Site Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_power', @@ -525,10 +525,10 @@ # name: test_sensors[sensor.energy_site_battery_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Battery power', + : 'power', + : 'Energy Site Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_power', @@ -586,10 +586,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from battery', + : 'energy', + : 'Energy Site Consumer imported from battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_battery', @@ -602,10 +602,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_battery-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from battery', + : 'energy', + : 'Energy Site Consumer imported from battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_battery', @@ -663,10 +663,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from generator', + : 'energy', + : 'Energy Site Consumer imported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_generator', @@ -679,10 +679,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_generator-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from generator', + : 'energy', + : 'Energy Site Consumer imported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_generator', @@ -740,10 +740,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from grid', + : 'energy', + : 'Energy Site Consumer imported from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_grid', @@ -756,10 +756,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_grid-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from grid', + : 'energy', + : 'Energy Site Consumer imported from grid', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_grid', @@ -817,10 +817,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from solar', + : 'energy', + : 'Energy Site Consumer imported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_solar', @@ -833,10 +833,10 @@ # name: test_sensors[sensor.energy_site_consumer_imported_from_solar-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Consumer imported from solar', + : 'energy', + : 'Energy Site Consumer imported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_consumer_imported_from_solar', @@ -894,10 +894,10 @@ # name: test_sensors[sensor.energy_site_energy_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Energy left', + : 'energy_storage', + : 'Energy Site Energy left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_left', @@ -910,10 +910,10 @@ # name: test_sensors[sensor.energy_site_energy_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Energy left', + : 'energy_storage', + : 'Energy Site Energy left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_left', @@ -971,10 +971,10 @@ # name: test_sensors[sensor.energy_site_generator_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Generator exported', + : 'energy', + : 'Energy Site Generator exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_exported', @@ -987,10 +987,10 @@ # name: test_sensors[sensor.energy_site_generator_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Generator exported', + : 'energy', + : 'Energy Site Generator exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_exported', @@ -1048,10 +1048,10 @@ # name: test_sensors[sensor.energy_site_generator_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Generator power', + : 'power', + : 'Energy Site Generator power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_power', @@ -1064,10 +1064,10 @@ # name: test_sensors[sensor.energy_site_generator_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Generator power', + : 'power', + : 'Energy Site Generator power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_power', @@ -1125,10 +1125,10 @@ # name: test_sensors[sensor.energy_site_grid_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported', + : 'energy', + : 'Energy Site Grid exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported', @@ -1141,10 +1141,10 @@ # name: test_sensors[sensor.energy_site_grid_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported', + : 'energy', + : 'Energy Site Grid exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported', @@ -1202,10 +1202,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from battery', + : 'energy', + : 'Energy Site Grid exported from battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_battery', @@ -1218,10 +1218,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_battery-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from battery', + : 'energy', + : 'Energy Site Grid exported from battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_battery', @@ -1279,10 +1279,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from generator', + : 'energy', + : 'Energy Site Grid exported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_generator', @@ -1295,10 +1295,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_generator-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from generator', + : 'energy', + : 'Energy Site Grid exported from generator', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_generator', @@ -1356,10 +1356,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from solar', + : 'energy', + : 'Energy Site Grid exported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_solar', @@ -1372,10 +1372,10 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_solar-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from solar', + : 'energy', + : 'Energy Site Grid exported from solar', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_solar', @@ -1433,10 +1433,10 @@ # name: test_sensors[sensor.energy_site_grid_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid imported', + : 'energy', + : 'Energy Site Grid imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_imported', @@ -1449,10 +1449,10 @@ # name: test_sensors[sensor.energy_site_grid_imported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid imported', + : 'energy', + : 'Energy Site Grid imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_imported', @@ -1510,10 +1510,10 @@ # name: test_sensors[sensor.energy_site_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid power', + : 'power', + : 'Energy Site Grid power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_power', @@ -1526,10 +1526,10 @@ # name: test_sensors[sensor.energy_site_grid_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid power', + : 'power', + : 'Energy Site Grid power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_power', @@ -1587,10 +1587,10 @@ # name: test_sensors[sensor.energy_site_grid_services_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services exported', + : 'energy', + : 'Energy Site Grid services exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_exported', @@ -1603,10 +1603,10 @@ # name: test_sensors[sensor.energy_site_grid_services_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services exported', + : 'energy', + : 'Energy Site Grid services exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_exported', @@ -1664,10 +1664,10 @@ # name: test_sensors[sensor.energy_site_grid_services_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services imported', + : 'energy', + : 'Energy Site Grid services imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_imported', @@ -1680,10 +1680,10 @@ # name: test_sensors[sensor.energy_site_grid_services_imported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services imported', + : 'energy', + : 'Energy Site Grid services imported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_imported', @@ -1741,10 +1741,10 @@ # name: test_sensors[sensor.energy_site_grid_services_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid services power', + : 'power', + : 'Energy Site Grid services power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_power', @@ -1757,10 +1757,10 @@ # name: test_sensors[sensor.energy_site_grid_services_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid services power', + : 'power', + : 'Energy Site Grid services power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_power', @@ -1818,10 +1818,10 @@ # name: test_sensors[sensor.energy_site_home_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Home usage', + : 'energy', + : 'Energy Site Home usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_home_usage', @@ -1834,10 +1834,10 @@ # name: test_sensors[sensor.energy_site_home_usage-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Home usage', + : 'energy', + : 'Energy Site Home usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_home_usage', @@ -1895,8 +1895,8 @@ # name: test_sensors[sensor.energy_site_island_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Energy Site Island status', + : 'enum', + : 'Energy Site Island status', : list([ 'on_grid', 'off_grid', @@ -1916,8 +1916,8 @@ # name: test_sensors[sensor.energy_site_island_status-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Energy Site Island status', + : 'enum', + : 'Energy Site Island status', : list([ 'on_grid', 'off_grid', @@ -1982,10 +1982,10 @@ # name: test_sensors[sensor.energy_site_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Load power', + : 'power', + : 'Energy Site Load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_load_power', @@ -1998,10 +1998,10 @@ # name: test_sensors[sensor.energy_site_load_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Load power', + : 'power', + : 'Energy Site Load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_load_power', @@ -2056,10 +2056,10 @@ # name: test_sensors[sensor.energy_site_percentage_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Percentage charged', + : 'battery', + : 'Energy Site Percentage charged', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_percentage_charged', @@ -2072,10 +2072,10 @@ # name: test_sensors[sensor.energy_site_percentage_charged-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Percentage charged', + : 'battery', + : 'Energy Site Percentage charged', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_percentage_charged', @@ -2133,10 +2133,10 @@ # name: test_sensors[sensor.energy_site_solar_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar exported', + : 'energy', + : 'Energy Site Solar exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_exported', @@ -2149,10 +2149,10 @@ # name: test_sensors[sensor.energy_site_solar_exported-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar exported', + : 'energy', + : 'Energy Site Solar exported', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_exported', @@ -2210,10 +2210,10 @@ # name: test_sensors[sensor.energy_site_solar_generated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar generated', + : 'energy', + : 'Energy Site Solar generated', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_generated', @@ -2226,10 +2226,10 @@ # name: test_sensors[sensor.energy_site_solar_generated-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar generated', + : 'energy', + : 'Energy Site Solar generated', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_generated', @@ -2287,10 +2287,10 @@ # name: test_sensors[sensor.energy_site_solar_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Solar power', + : 'power', + : 'Energy Site Solar power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_power', @@ -2303,10 +2303,10 @@ # name: test_sensors[sensor.energy_site_solar_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Solar power', + : 'power', + : 'Energy Site Solar power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_power', @@ -2364,10 +2364,10 @@ # name: test_sensors[sensor.energy_site_total_pack_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Total pack energy', + : 'energy_storage', + : 'Energy Site Total pack energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_pack_energy', @@ -2380,10 +2380,10 @@ # name: test_sensors[sensor.energy_site_total_pack_energy-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Total pack energy', + : 'energy_storage', + : 'Energy Site Total pack energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_pack_energy', @@ -2433,8 +2433,8 @@ # name: test_sensors[sensor.energy_site_vpp_backup_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site VPP backup reserve', - 'unit_of_measurement': '%', + : 'Energy Site VPP backup reserve', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_vpp_backup_reserve', @@ -2447,8 +2447,8 @@ # name: test_sensors[sensor.energy_site_vpp_backup_reserve-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site VPP backup reserve', - 'unit_of_measurement': '%', + : 'Energy Site VPP backup reserve', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_vpp_backup_reserve', @@ -2503,9 +2503,9 @@ # name: test_sensors[sensor.teslemetry_command_credits-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Teslemetry command credits', + : 'Teslemetry command credits', : , - 'unit_of_measurement': 'credits', + : 'credits', }), 'context': , 'entity_id': 'sensor.teslemetry_command_credits', @@ -2518,9 +2518,9 @@ # name: test_sensors[sensor.teslemetry_command_credits-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Teslemetry command credits', + : 'Teslemetry command credits', : , - 'unit_of_measurement': 'credits', + : 'credits', }), 'context': , 'entity_id': 'sensor.teslemetry_command_credits', @@ -2575,9 +2575,9 @@ # name: test_sensors[sensor.teslemetry_command_quota_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Teslemetry command quota used', + : 'Teslemetry command quota used', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.teslemetry_command_quota_used', @@ -2590,9 +2590,9 @@ # name: test_sensors[sensor.teslemetry_command_quota_used-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Teslemetry command quota used', + : 'Teslemetry command quota used', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.teslemetry_command_quota_used', @@ -2647,10 +2647,10 @@ # name: test_sensors[sensor.test_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Battery level', + : 'battery', + : 'Test Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_battery_level', @@ -2663,10 +2663,10 @@ # name: test_sensors[sensor.test_battery_level-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Battery level', + : 'battery', + : 'Test Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_battery_level', @@ -2724,10 +2724,10 @@ # name: test_sensors[sensor.test_battery_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Battery range', + : 'distance', + : 'Test Battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_range', @@ -2740,10 +2740,10 @@ # name: test_sensors[sensor.test_battery_range-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Battery range', + : 'distance', + : 'Test Battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_range', @@ -2800,8 +2800,8 @@ # name: test_sensors[sensor.test_charge_cable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charge cable', + : 'enum', + : 'Test Charge cable', : list([ 'iec', 'sae', @@ -2820,8 +2820,8 @@ # name: test_sensors[sensor.test_charge_cable-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charge cable', + : 'enum', + : 'Test Charge cable', : list([ 'iec', 'sae', @@ -2882,10 +2882,10 @@ # name: test_sensors[sensor.test_charge_energy_added-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Charge energy added', + : 'energy', + : 'Test Charge energy added', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_energy_added', @@ -2898,10 +2898,10 @@ # name: test_sensors[sensor.test_charge_energy_added-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Charge energy added', + : 'energy', + : 'Test Charge energy added', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_energy_added', @@ -2959,10 +2959,10 @@ # name: test_sensors[sensor.test_charge_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Charge rate', + : 'speed', + : 'Test Charge rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_rate', @@ -2975,10 +2975,10 @@ # name: test_sensors[sensor.test_charge_rate-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Charge rate', + : 'speed', + : 'Test Charge rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_rate', @@ -3033,10 +3033,10 @@ # name: test_sensors[sensor.test_charger_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charger current', + : 'current', + : 'Test Charger current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_current', @@ -3049,10 +3049,10 @@ # name: test_sensors[sensor.test_charger_current-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charger current', + : 'current', + : 'Test Charger current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_current', @@ -3107,10 +3107,10 @@ # name: test_sensors[sensor.test_charger_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Charger power', + : 'power', + : 'Test Charger power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_power', @@ -3123,10 +3123,10 @@ # name: test_sensors[sensor.test_charger_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Charger power', + : 'power', + : 'Test Charger power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_power', @@ -3181,10 +3181,10 @@ # name: test_sensors[sensor.test_charger_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test Charger voltage', + : 'voltage', + : 'Test Charger voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_voltage', @@ -3197,10 +3197,10 @@ # name: test_sensors[sensor.test_charger_voltage-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test Charger voltage', + : 'voltage', + : 'Test Charger voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_voltage', @@ -3259,8 +3259,8 @@ # name: test_sensors[sensor.test_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charging', + : 'enum', + : 'Test Charging', : list([ 'starting', 'charging', @@ -3281,8 +3281,8 @@ # name: test_sensors[sensor.test_charging-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charging', + : 'enum', + : 'Test Charging', : list([ 'starting', 'charging', @@ -3340,7 +3340,7 @@ # name: test_sensors[sensor.test_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Destination', + : 'Test Destination', }), 'context': , 'entity_id': 'sensor.test_destination', @@ -3353,7 +3353,7 @@ # name: test_sensors[sensor.test_destination-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Destination', + : 'Test Destination', }), 'context': , 'entity_id': 'sensor.test_destination', @@ -3411,10 +3411,10 @@ # name: test_sensors[sensor.test_distance_to_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Distance to arrival', + : 'distance', + : 'Test Distance to arrival', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_distance_to_arrival', @@ -3427,10 +3427,10 @@ # name: test_sensors[sensor.test_distance_to_arrival-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Distance to arrival', + : 'distance', + : 'Test Distance to arrival', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_distance_to_arrival', @@ -3485,10 +3485,10 @@ # name: test_sensors[sensor.test_driver_temperature_setting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Driver temperature setting', + : 'temperature', + : 'Test Driver temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_driver_temperature_setting', @@ -3501,10 +3501,10 @@ # name: test_sensors[sensor.test_driver_temperature_setting-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Driver temperature setting', + : 'temperature', + : 'Test Driver temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_driver_temperature_setting', @@ -3562,10 +3562,10 @@ # name: test_sensors[sensor.test_estimate_battery_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Estimate battery range', + : 'distance', + : 'Test Estimate battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_estimate_battery_range', @@ -3578,10 +3578,10 @@ # name: test_sensors[sensor.test_estimate_battery_range-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Estimate battery range', + : 'distance', + : 'Test Estimate battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_estimate_battery_range', @@ -3631,7 +3631,7 @@ # name: test_sensors[sensor.test_fast_charger_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fast charger type', + : 'Test Fast charger type', }), 'context': , 'entity_id': 'sensor.test_fast_charger_type', @@ -3644,7 +3644,7 @@ # name: test_sensors[sensor.test_fast_charger_type-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Fast charger type', + : 'Test Fast charger type', }), 'context': , 'entity_id': 'sensor.test_fast_charger_type', @@ -3702,10 +3702,10 @@ # name: test_sensors[sensor.test_ideal_battery_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Ideal battery range', + : 'distance', + : 'Test Ideal battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_ideal_battery_range', @@ -3718,10 +3718,10 @@ # name: test_sensors[sensor.test_ideal_battery_range-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Ideal battery range', + : 'distance', + : 'Test Ideal battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_ideal_battery_range', @@ -3776,10 +3776,10 @@ # name: test_sensors[sensor.test_inside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Inside temperature', + : 'temperature', + : 'Test Inside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_inside_temperature', @@ -3792,10 +3792,10 @@ # name: test_sensors[sensor.test_inside_temperature-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Inside temperature', + : 'temperature', + : 'Test Inside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_inside_temperature', @@ -3853,10 +3853,10 @@ # name: test_sensors[sensor.test_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Odometer', + : 'distance', + : 'Test Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_odometer', @@ -3869,10 +3869,10 @@ # name: test_sensors[sensor.test_odometer-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Odometer', + : 'distance', + : 'Test Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_odometer', @@ -3927,10 +3927,10 @@ # name: test_sensors[sensor.test_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Outside temperature', + : 'temperature', + : 'Test Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_outside_temperature', @@ -3943,10 +3943,10 @@ # name: test_sensors[sensor.test_outside_temperature-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Outside temperature', + : 'temperature', + : 'Test Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_outside_temperature', @@ -4001,10 +4001,10 @@ # name: test_sensors[sensor.test_passenger_temperature_setting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Passenger temperature setting', + : 'temperature', + : 'Test Passenger temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_passenger_temperature_setting', @@ -4017,10 +4017,10 @@ # name: test_sensors[sensor.test_passenger_temperature_setting-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Passenger temperature setting', + : 'temperature', + : 'Test Passenger temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_passenger_temperature_setting', @@ -4075,10 +4075,10 @@ # name: test_sensors[sensor.test_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Power', + : 'power', + : 'Test Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_power', @@ -4091,10 +4091,10 @@ # name: test_sensors[sensor.test_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Power', + : 'power', + : 'Test Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_power', @@ -4151,8 +4151,8 @@ # name: test_sensors[sensor.test_shift_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Shift state', + : 'enum', + : 'Test Shift state', : list([ 'p', 'd', @@ -4171,8 +4171,8 @@ # name: test_sensors[sensor.test_shift_state-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Shift state', + : 'enum', + : 'Test Shift state', : list([ 'p', 'd', @@ -4236,10 +4236,10 @@ # name: test_sensors[sensor.test_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Speed', + : 'speed', + : 'Test Speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_speed', @@ -4252,10 +4252,10 @@ # name: test_sensors[sensor.test_speed-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Speed', + : 'speed', + : 'Test Speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_speed', @@ -4307,10 +4307,10 @@ # name: test_sensors[sensor.test_state_of_charge_at_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test State of charge at arrival', + : 'battery', + : 'Test State of charge at arrival', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_state_of_charge_at_arrival', @@ -4323,10 +4323,10 @@ # name: test_sensors[sensor.test_state_of_charge_at_arrival-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test State of charge at arrival', + : 'battery', + : 'Test State of charge at arrival', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_state_of_charge_at_arrival', @@ -4376,8 +4376,8 @@ # name: test_sensors[sensor.test_time_to_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to arrival', + : 'timestamp', + : 'Test Time to arrival', }), 'context': , 'entity_id': 'sensor.test_time_to_arrival', @@ -4390,8 +4390,8 @@ # name: test_sensors[sensor.test_time_to_arrival-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to arrival', + : 'timestamp', + : 'Test Time to arrival', }), 'context': , 'entity_id': 'sensor.test_time_to_arrival', @@ -4441,8 +4441,8 @@ # name: test_sensors[sensor.test_time_to_full_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to full charge', + : 'timestamp', + : 'Test Time to full charge', }), 'context': , 'entity_id': 'sensor.test_time_to_full_charge', @@ -4455,8 +4455,8 @@ # name: test_sensors[sensor.test_time_to_full_charge-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to full charge', + : 'timestamp', + : 'Test Time to full charge', }), 'context': , 'entity_id': 'sensor.test_time_to_full_charge', @@ -4514,10 +4514,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front left', + : 'pressure', + : 'Test Tire pressure front left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_left', @@ -4530,10 +4530,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front left', + : 'pressure', + : 'Test Tire pressure front left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_left', @@ -4591,10 +4591,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front right', + : 'pressure', + : 'Test Tire pressure front right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_right', @@ -4607,10 +4607,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front right', + : 'pressure', + : 'Test Tire pressure front right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_right', @@ -4668,10 +4668,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear left', + : 'pressure', + : 'Test Tire pressure rear left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_left', @@ -4684,10 +4684,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear left', + : 'pressure', + : 'Test Tire pressure rear left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_left', @@ -4745,10 +4745,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear right', + : 'pressure', + : 'Test Tire pressure rear right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_right', @@ -4761,10 +4761,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear right', + : 'pressure', + : 'Test Tire pressure rear right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_right', @@ -4819,10 +4819,10 @@ # name: test_sensors[sensor.test_traffic_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Traffic delay', + : 'duration', + : 'Test Traffic delay', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_traffic_delay', @@ -4835,10 +4835,10 @@ # name: test_sensors[sensor.test_traffic_delay-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Traffic delay', + : 'duration', + : 'Test Traffic delay', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_traffic_delay', @@ -4893,10 +4893,10 @@ # name: test_sensors[sensor.test_usable_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Usable battery level', + : 'battery', + : 'Test Usable battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_usable_battery_level', @@ -4909,10 +4909,10 @@ # name: test_sensors[sensor.test_usable_battery_level-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Usable battery level', + : 'battery', + : 'Test Usable battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_usable_battery_level', @@ -4962,7 +4962,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code', @@ -4975,7 +4975,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code', @@ -5025,7 +5025,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code_2', @@ -5038,7 +5038,7 @@ # name: test_sensors[sensor.wall_connector_fault_state_code_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Fault state code', + : 'Wall Connector Fault state code', }), 'context': , 'entity_id': 'sensor.wall_connector_fault_state_code_2', @@ -5096,10 +5096,10 @@ # name: test_sensors[sensor.wall_connector_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power', @@ -5112,10 +5112,10 @@ # name: test_sensors[sensor.wall_connector_power-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power', @@ -5173,10 +5173,10 @@ # name: test_sensors[sensor.wall_connector_power_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power_2', @@ -5189,10 +5189,10 @@ # name: test_sensors[sensor.wall_connector_power_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power_2', @@ -5242,7 +5242,7 @@ # name: test_sensors[sensor.wall_connector_state_code-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code', @@ -5255,7 +5255,7 @@ # name: test_sensors[sensor.wall_connector_state_code-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code', @@ -5305,7 +5305,7 @@ # name: test_sensors[sensor.wall_connector_state_code_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code_2', @@ -5318,7 +5318,7 @@ # name: test_sensors[sensor.wall_connector_state_code_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector State code', + : 'Wall Connector State code', }), 'context': , 'entity_id': 'sensor.wall_connector_state_code_2', @@ -5368,7 +5368,7 @@ # name: test_sensors[sensor.wall_connector_vehicle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle', @@ -5381,7 +5381,7 @@ # name: test_sensors[sensor.wall_connector_vehicle-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle', @@ -5431,7 +5431,7 @@ # name: test_sensors[sensor.wall_connector_vehicle_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle_2', @@ -5444,7 +5444,7 @@ # name: test_sensors[sensor.wall_connector_vehicle_2-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle_2', diff --git a/tests/components/teslemetry/snapshots/test_switch.ambr b/tests/components/teslemetry/snapshots/test_switch.ambr index 415eb8df909..4bfa027348a 100644 --- a/tests/components/teslemetry/snapshots/test_switch.ambr +++ b/tests/components/teslemetry/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch[switch.energy_site_allow_charging_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Allow charging from grid', + : 'switch', + : 'Energy Site Allow charging from grid', }), 'context': , 'entity_id': 'switch.energy_site_allow_charging_from_grid', @@ -90,8 +90,8 @@ # name: test_switch[switch.energy_site_storm_watch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Storm watch', + : 'switch', + : 'Energy Site Storm watch', }), 'context': , 'entity_id': 'switch.energy_site_storm_watch', @@ -141,8 +141,8 @@ # name: test_switch[switch.test_auto_seat_climate_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate left', + : 'switch', + : 'Test Auto seat climate left', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_left', @@ -192,8 +192,8 @@ # name: test_switch[switch.test_auto_seat_climate_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate right', + : 'switch', + : 'Test Auto seat climate right', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_right', @@ -243,8 +243,8 @@ # name: test_switch[switch.test_auto_steering_wheel_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto steering wheel heater', + : 'switch', + : 'Test Auto steering wheel heater', }), 'context': , 'entity_id': 'switch.test_auto_steering_wheel_heater', @@ -294,8 +294,8 @@ # name: test_switch[switch.test_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Charge', + : 'switch', + : 'Test Charge', }), 'context': , 'entity_id': 'switch.test_charge', @@ -345,8 +345,8 @@ # name: test_switch[switch.test_defrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Defrost', + : 'switch', + : 'Test Defrost', }), 'context': , 'entity_id': 'switch.test_defrost', @@ -396,8 +396,8 @@ # name: test_switch[switch.test_sentry_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Sentry mode', + : 'switch', + : 'Test Sentry mode', }), 'context': , 'entity_id': 'switch.test_sentry_mode', @@ -447,8 +447,8 @@ # name: test_switch[switch.test_valet_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Valet mode', + : 'switch', + : 'Test Valet mode', }), 'context': , 'entity_id': 'switch.test_valet_mode', @@ -461,8 +461,8 @@ # name: test_switch_alt[switch.energy_site_allow_charging_from_grid-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Allow charging from grid', + : 'switch', + : 'Energy Site Allow charging from grid', }), 'context': , 'entity_id': 'switch.energy_site_allow_charging_from_grid', @@ -475,8 +475,8 @@ # name: test_switch_alt[switch.energy_site_storm_watch-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Energy Site Storm watch', + : 'switch', + : 'Energy Site Storm watch', }), 'context': , 'entity_id': 'switch.energy_site_storm_watch', @@ -489,8 +489,8 @@ # name: test_switch_alt[switch.test_auto_seat_climate_left-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate left', + : 'switch', + : 'Test Auto seat climate left', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_left', @@ -503,8 +503,8 @@ # name: test_switch_alt[switch.test_auto_seat_climate_right-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto seat climate right', + : 'switch', + : 'Test Auto seat climate right', }), 'context': , 'entity_id': 'switch.test_auto_seat_climate_right', @@ -517,8 +517,8 @@ # name: test_switch_alt[switch.test_auto_steering_wheel_heater-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Auto steering wheel heater', + : 'switch', + : 'Test Auto steering wheel heater', }), 'context': , 'entity_id': 'switch.test_auto_steering_wheel_heater', @@ -531,8 +531,8 @@ # name: test_switch_alt[switch.test_charge-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Charge', + : 'switch', + : 'Test Charge', }), 'context': , 'entity_id': 'switch.test_charge', @@ -545,8 +545,8 @@ # name: test_switch_alt[switch.test_defrost-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Defrost', + : 'switch', + : 'Test Defrost', }), 'context': , 'entity_id': 'switch.test_defrost', @@ -559,8 +559,8 @@ # name: test_switch_alt[switch.test_sentry_mode-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Sentry mode', + : 'switch', + : 'Test Sentry mode', }), 'context': , 'entity_id': 'switch.test_sentry_mode', @@ -573,8 +573,8 @@ # name: test_switch_alt[switch.test_valet_mode-statealt] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Valet mode', + : 'switch', + : 'Test Valet mode', }), 'context': , 'entity_id': 'switch.test_valet_mode', diff --git a/tests/components/teslemetry/snapshots/test_update.ambr b/tests/components/teslemetry/snapshots/test_update.ambr index 9941b8c7a72..096deb8341f 100644 --- a/tests/components/teslemetry/snapshots/test_update.ambr +++ b/tests/components/teslemetry/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/teslemetry/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/teslemetry/icon.png', + : 'Test Update', : False, : '2026.0.0', : '2024.12.0.0', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -103,15 +103,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/teslemetry/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/teslemetry/icon.png', + : 'Test Update', : False, : '2024.44.25', : '2024.44.25', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -128,15 +128,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/teslemetry/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/teslemetry/icon.png', + : 'Test Update', : False, : '2025.1.1', : '2025.2.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -153,15 +153,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/teslemetry/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/teslemetry/icon.png', + : 'Test Update', : False, : '2025.1.1', : '2025.2.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -178,15 +178,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/teslemetry/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/teslemetry/icon.png', + : 'Test Update', : False, : '2025.1.1', : '2025.2.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -203,15 +203,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/teslemetry/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/teslemetry/icon.png', + : 'Test Update', : False, : '2025.2.1', : '2025.1.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -228,15 +228,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/teslemetry/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/teslemetry/icon.png', + : 'Test Update', : False, : '2025.2.1', : '2025.1.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/tessie/snapshots/test_binary_sensor.ambr b/tests/components/tessie/snapshots/test_binary_sensor.ambr index e993434ba20..381f19a9174 100644 --- a/tests/components/tessie/snapshots/test_binary_sensor.ambr +++ b/tests/components/tessie/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_binary_sensors[binary_sensor.energy_site_backup_capable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Backup capable', + : 'Energy Site Backup capable', }), 'context': , 'entity_id': 'binary_sensor.energy_site_backup_capable', @@ -89,7 +89,7 @@ # name: test_binary_sensors[binary_sensor.energy_site_grid_services_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services active', + : 'Energy Site Grid services active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_active', @@ -139,7 +139,7 @@ # name: test_binary_sensors[binary_sensor.energy_site_grid_services_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Grid services enabled', + : 'Energy Site Grid services enabled', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_services_enabled', @@ -189,8 +189,8 @@ # name: test_binary_sensors[binary_sensor.energy_site_grid_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid status', + : 'power', + : 'Energy Site Grid status', }), 'context': , 'entity_id': 'binary_sensor.energy_site_grid_status', @@ -240,7 +240,7 @@ # name: test_binary_sensors[binary_sensor.energy_site_storm_watch_active-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Storm watch active', + : 'Energy Site Storm watch active', }), 'context': , 'entity_id': 'binary_sensor.energy_site_storm_watch_active', @@ -290,7 +290,7 @@ # name: test_binary_sensors[binary_sensor.test_auto_seat_climate_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Auto seat climate left', + : 'Test Auto seat climate left', }), 'context': , 'entity_id': 'binary_sensor.test_auto_seat_climate_left', @@ -340,7 +340,7 @@ # name: test_binary_sensors[binary_sensor.test_auto_seat_climate_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Auto seat climate right', + : 'Test Auto seat climate right', }), 'context': , 'entity_id': 'binary_sensor.test_auto_seat_climate_right', @@ -390,7 +390,7 @@ # name: test_binary_sensors[binary_sensor.test_auto_steering_wheel_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Auto steering wheel heater', + : 'Test Auto steering wheel heater', }), 'context': , 'entity_id': 'binary_sensor.test_auto_steering_wheel_heater', @@ -440,8 +440,8 @@ # name: test_binary_sensors[binary_sensor.test_battery_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Battery heater', + : 'heat', + : 'Test Battery heater', }), 'context': , 'entity_id': 'binary_sensor.test_battery_heater', @@ -491,8 +491,8 @@ # name: test_binary_sensors[binary_sensor.test_cabin_overheat_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Cabin overheat protection', + : 'running', + : 'Test Cabin overheat protection', }), 'context': , 'entity_id': 'binary_sensor.test_cabin_overheat_protection', @@ -542,8 +542,8 @@ # name: test_binary_sensors[binary_sensor.test_cabin_overheat_protection_actively_cooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Test Cabin overheat protection actively cooling', + : 'heat', + : 'Test Cabin overheat protection actively cooling', }), 'context': , 'entity_id': 'binary_sensor.test_cabin_overheat_protection_actively_cooling', @@ -593,8 +593,8 @@ # name: test_binary_sensors[binary_sensor.test_charge_cable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Charge cable', + : 'connectivity', + : 'Test Charge cable', }), 'context': , 'entity_id': 'binary_sensor.test_charge_cable', @@ -644,8 +644,8 @@ # name: test_binary_sensors[binary_sensor.test_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Test Charging', + : 'battery_charging', + : 'Test Charging', }), 'context': , 'entity_id': 'binary_sensor.test_charging', @@ -695,8 +695,8 @@ # name: test_binary_sensors[binary_sensor.test_dashcam-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Dashcam', + : 'running', + : 'Test Dashcam', }), 'context': , 'entity_id': 'binary_sensor.test_dashcam', @@ -746,8 +746,8 @@ # name: test_binary_sensors[binary_sensor.test_front_driver_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front driver door', + : 'door', + : 'Test Front driver door', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_door', @@ -797,8 +797,8 @@ # name: test_binary_sensors[binary_sensor.test_front_driver_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front driver window', + : 'window', + : 'Test Front driver window', }), 'context': , 'entity_id': 'binary_sensor.test_front_driver_window', @@ -848,8 +848,8 @@ # name: test_binary_sensors[binary_sensor.test_front_passenger_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Front passenger door', + : 'door', + : 'Test Front passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_door', @@ -899,8 +899,8 @@ # name: test_binary_sensors[binary_sensor.test_front_passenger_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Front passenger window', + : 'window', + : 'Test Front passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_front_passenger_window', @@ -950,7 +950,7 @@ # name: test_binary_sensors[binary_sensor.test_preconditioning_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Preconditioning enabled', + : 'Test Preconditioning enabled', }), 'context': , 'entity_id': 'binary_sensor.test_preconditioning_enabled', @@ -1000,8 +1000,8 @@ # name: test_binary_sensors[binary_sensor.test_rear_driver_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear driver door', + : 'door', + : 'Test Rear driver door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_door', @@ -1051,8 +1051,8 @@ # name: test_binary_sensors[binary_sensor.test_rear_driver_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear driver window', + : 'window', + : 'Test Rear driver window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_driver_window', @@ -1102,8 +1102,8 @@ # name: test_binary_sensors[binary_sensor.test_rear_passenger_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Rear passenger door', + : 'door', + : 'Test Rear passenger door', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_door', @@ -1153,8 +1153,8 @@ # name: test_binary_sensors[binary_sensor.test_rear_passenger_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Rear passenger window', + : 'window', + : 'Test Rear passenger window', }), 'context': , 'entity_id': 'binary_sensor.test_rear_passenger_window', @@ -1204,7 +1204,7 @@ # name: test_binary_sensors[binary_sensor.test_scheduled_charging_pending-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Scheduled charging pending', + : 'Test Scheduled charging pending', }), 'context': , 'entity_id': 'binary_sensor.test_scheduled_charging_pending', @@ -1254,8 +1254,8 @@ # name: test_binary_sensors[binary_sensor.test_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Status', + : 'connectivity', + : 'Test Status', }), 'context': , 'entity_id': 'binary_sensor.test_status', @@ -1305,8 +1305,8 @@ # name: test_binary_sensors[binary_sensor.test_tire_pressure_warning_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front left', + : 'problem', + : 'Test Tire pressure warning front left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_left', @@ -1356,8 +1356,8 @@ # name: test_binary_sensors[binary_sensor.test_tire_pressure_warning_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning front right', + : 'problem', + : 'Test Tire pressure warning front right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_front_right', @@ -1407,8 +1407,8 @@ # name: test_binary_sensors[binary_sensor.test_tire_pressure_warning_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear left', + : 'problem', + : 'Test Tire pressure warning rear left', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_left', @@ -1458,8 +1458,8 @@ # name: test_binary_sensors[binary_sensor.test_tire_pressure_warning_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Test Tire pressure warning rear right', + : 'problem', + : 'Test Tire pressure warning rear right', }), 'context': , 'entity_id': 'binary_sensor.test_tire_pressure_warning_rear_right', @@ -1509,7 +1509,7 @@ # name: test_binary_sensors[binary_sensor.test_trip_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Trip charging', + : 'Test Trip charging', }), 'context': , 'entity_id': 'binary_sensor.test_trip_charging', @@ -1559,8 +1559,8 @@ # name: test_binary_sensors[binary_sensor.test_user_present-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Test User present', + : 'occupancy', + : 'Test User present', }), 'context': , 'entity_id': 'binary_sensor.test_user_present', diff --git a/tests/components/tessie/snapshots/test_button.ambr b/tests/components/tessie/snapshots/test_button.ambr index 18b77034a5e..160f917f0a8 100644 --- a/tests/components/tessie/snapshots/test_button.ambr +++ b/tests/components/tessie/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_buttons[button.test_flash_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Flash lights', + : 'Test Flash lights', }), 'context': , 'entity_id': 'button.test_flash_lights', @@ -89,7 +89,7 @@ # name: test_buttons[button.test_homelink-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Homelink', + : 'Test Homelink', }), 'context': , 'entity_id': 'button.test_homelink', @@ -139,7 +139,7 @@ # name: test_buttons[button.test_honk_horn-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Honk horn', + : 'Test Honk horn', }), 'context': , 'entity_id': 'button.test_honk_horn', @@ -189,7 +189,7 @@ # name: test_buttons[button.test_keyless_driving-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Keyless driving', + : 'Test Keyless driving', }), 'context': , 'entity_id': 'button.test_keyless_driving', @@ -239,7 +239,7 @@ # name: test_buttons[button.test_play_fart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Play fart', + : 'Test Play fart', }), 'context': , 'entity_id': 'button.test_play_fart', @@ -289,7 +289,7 @@ # name: test_buttons[button.test_wake-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Wake', + : 'Test Wake', }), 'context': , 'entity_id': 'button.test_wake', diff --git a/tests/components/tessie/snapshots/test_climate.ambr b/tests/components/tessie/snapshots/test_climate.ambr index f6650c4491e..140ff51348d 100644 --- a/tests/components/tessie/snapshots/test_climate.ambr +++ b/tests/components/tessie/snapshots/test_climate.ambr @@ -53,7 +53,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 30.5, - 'friendly_name': 'Test Climate', + : 'Test Climate', : list([ , , @@ -67,7 +67,7 @@ , , ]), - 'supported_features': , + : , : 22.5, }), 'context': , diff --git a/tests/components/tessie/snapshots/test_cover.ambr b/tests/components/tessie/snapshots/test_cover.ambr index 13b2f8583d3..407ba8b21f4 100644 --- a/tests/components/tessie/snapshots/test_cover.ambr +++ b/tests/components/tessie/snapshots/test_cover.ambr @@ -39,10 +39,10 @@ # name: test_covers[cover.test_charge_port_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Charge port door', + : 'door', + : 'Test Charge port door', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_charge_port_door', @@ -92,10 +92,10 @@ # name: test_covers[cover.test_frunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Frunk', + : 'door', + : 'Test Frunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_frunk', @@ -145,10 +145,10 @@ # name: test_covers[cover.test_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Sunroof', + : 'window', + : 'Test Sunroof', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_sunroof', @@ -198,10 +198,10 @@ # name: test_covers[cover.test_trunk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Test Trunk', + : 'door', + : 'Test Trunk', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_trunk', @@ -251,10 +251,10 @@ # name: test_covers[cover.test_vent_windows-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Test Vent windows', + : 'window', + : 'Test Vent windows', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_vent_windows', diff --git a/tests/components/tessie/snapshots/test_device_tracker.ambr b/tests/components/tessie/snapshots/test_device_tracker.ambr index c49f3a382e9..42962429031 100644 --- a/tests/components/tessie/snapshots/test_device_tracker.ambr +++ b/tests/components/tessie/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker[device_tracker.test_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Location', + : 'Test Location', : 0, 'heading': 185, : list([ @@ -102,7 +102,7 @@ # name: test_device_tracker[device_tracker.test_route-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Route', + : 'Test Route', : 0, : list([ ]), diff --git a/tests/components/tessie/snapshots/test_lock.ambr b/tests/components/tessie/snapshots/test_lock.ambr index 32817f1b9fb..09c051f00b0 100644 --- a/tests/components/tessie/snapshots/test_lock.ambr +++ b/tests/components/tessie/snapshots/test_lock.ambr @@ -39,8 +39,8 @@ # name: test_locks[lock.test_charge_cable_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charge cable lock', - 'supported_features': , + : 'Test Charge cable lock', + : , }), 'context': , 'entity_id': 'lock.test_charge_cable_lock', @@ -90,8 +90,8 @@ # name: test_locks[lock.test_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Lock', - 'supported_features': , + : 'Test Lock', + : , }), 'context': , 'entity_id': 'lock.test_lock', diff --git a/tests/components/tessie/snapshots/test_media_player.ambr b/tests/components/tessie/snapshots/test_media_player.ambr index 411fd6618a3..33abd6726cd 100644 --- a/tests/components/tessie/snapshots/test_media_player.ambr +++ b/tests/components/tessie/snapshots/test_media_player.ambr @@ -40,9 +40,9 @@ # name: test_media_player[media_player.test_media_player-paused] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', - 'supported_features': , + : 'speaker', + : 'Test Media player', + : , : 0.2258032258064516, }), 'context': , @@ -56,8 +56,8 @@ # name: test_media_player[media_player.test_media_player-playing] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Test Media player', + : 'speaker', + : 'Test Media player', : 'Album', : 'Artist', : 60.0, @@ -65,7 +65,7 @@ : 30.0, : 'Song', : 'Spotify', - 'supported_features': , + : , : 0.2258032258064516, }), 'context': , diff --git a/tests/components/tessie/snapshots/test_number.ambr b/tests/components/tessie/snapshots/test_number.ambr index 79cd135f1e5..2d0dd8b4543 100644 --- a/tests/components/tessie/snapshots/test_number.ambr +++ b/tests/components/tessie/snapshots/test_number.ambr @@ -44,14 +44,14 @@ # name: test_numbers[number.energy_site_backup_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Backup reserve', - 'icon': 'mdi:battery-alert', + : 'battery', + : 'Energy Site Backup reserve', + : 'mdi:battery-alert', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.energy_site_backup_reserve', @@ -106,14 +106,14 @@ # name: test_numbers[number.energy_site_off_grid_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Off-grid reserve', - 'icon': 'mdi:battery-unknown', + : 'battery', + : 'Energy Site Off-grid reserve', + : 'mdi:battery-unknown', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.energy_site_off_grid_reserve', @@ -168,13 +168,13 @@ # name: test_numbers[number.test_charge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charge current', + : 'current', + : 'Test Charge current', : 32, : 0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_charge_current', @@ -229,13 +229,13 @@ # name: test_numbers[number.test_charge_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Charge limit', + : 'battery', + : 'Test Charge limit', : 100, : 50, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_charge_limit', @@ -290,13 +290,13 @@ # name: test_numbers[number.test_speed_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Speed limit', + : 'speed', + : 'Test Speed limit', : 120, : 50, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.test_speed_limit', diff --git a/tests/components/tessie/snapshots/test_select.ambr b/tests/components/tessie/snapshots/test_select.ambr index 5227d79ecaa..6e160a0e5b9 100644 --- a/tests/components/tessie/snapshots/test_select.ambr +++ b/tests/components/tessie/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_select[select.energy_site_allow_export-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Allow export', + : 'Energy Site Allow export', : list([ , , @@ -106,7 +106,7 @@ # name: test_select[select.energy_site_operation_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Operation mode', + : 'Energy Site Operation mode', : list([ , , @@ -168,7 +168,7 @@ # name: test_select[select.test_seat_cooler_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat cooler left', + : 'Test Seat cooler left', : list([ , , @@ -231,7 +231,7 @@ # name: test_select[select.test_seat_cooler_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat cooler right', + : 'Test Seat cooler right', : list([ , , @@ -294,7 +294,7 @@ # name: test_select[select.test_seat_heater_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater left', + : 'Test Seat heater left', : list([ , , @@ -357,7 +357,7 @@ # name: test_select[select.test_seat_heater_rear_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear center', + : 'Test Seat heater rear center', : list([ , , @@ -420,7 +420,7 @@ # name: test_select[select.test_seat_heater_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear left', + : 'Test Seat heater rear left', : list([ , , @@ -483,7 +483,7 @@ # name: test_select[select.test_seat_heater_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater rear right', + : 'Test Seat heater rear right', : list([ , , @@ -546,7 +546,7 @@ # name: test_select[select.test_seat_heater_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater right', + : 'Test Seat heater right', : list([ , , @@ -565,7 +565,7 @@ # name: test_select[select_option] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Seat heater left', + : 'Test Seat heater left', : list([ , , diff --git a/tests/components/tessie/snapshots/test_sensor.ambr b/tests/components/tessie/snapshots/test_sensor.ambr index a2e06bf9290..c7ab17446d3 100644 --- a/tests/components/tessie/snapshots/test_sensor.ambr +++ b/tests/components/tessie/snapshots/test_sensor.ambr @@ -47,11 +47,11 @@ # name: test_sensors[sensor.energy_site_battery_charged_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery charged from generator', + : 'energy', + : 'Energy Site Battery charged from generator', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_charged_from_generator', @@ -109,11 +109,11 @@ # name: test_sensors[sensor.energy_site_battery_charged_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery charged from grid', + : 'energy', + : 'Energy Site Battery charged from grid', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_charged_from_grid', @@ -171,11 +171,11 @@ # name: test_sensors[sensor.energy_site_battery_charged_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery charged from solar', + : 'energy', + : 'Energy Site Battery charged from solar', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_charged_from_solar', @@ -233,11 +233,11 @@ # name: test_sensors[sensor.energy_site_battery_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Battery discharged', + : 'energy', + : 'Energy Site Battery discharged', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_discharged', @@ -295,10 +295,10 @@ # name: test_sensors[sensor.energy_site_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Battery power', + : 'power', + : 'Energy Site Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_battery_power', @@ -356,11 +356,11 @@ # name: test_sensors[sensor.energy_site_energy_consumed_from_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Energy consumed from battery', + : 'energy', + : 'Energy Site Energy consumed from battery', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_consumed_from_battery', @@ -418,11 +418,11 @@ # name: test_sensors[sensor.energy_site_energy_consumed_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Energy consumed from generator', + : 'energy', + : 'Energy Site Energy consumed from generator', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_consumed_from_generator', @@ -480,11 +480,11 @@ # name: test_sensors[sensor.energy_site_energy_consumed_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Energy consumed from grid', + : 'energy', + : 'Energy Site Energy consumed from grid', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_consumed_from_grid', @@ -542,11 +542,11 @@ # name: test_sensors[sensor.energy_site_energy_consumed_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Energy consumed from solar', + : 'energy', + : 'Energy Site Energy consumed from solar', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_consumed_from_solar', @@ -604,10 +604,10 @@ # name: test_sensors[sensor.energy_site_energy_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Energy left', + : 'energy_storage', + : 'Energy Site Energy left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_energy_left', @@ -665,11 +665,11 @@ # name: test_sensors[sensor.energy_site_generator_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Generator exported', + : 'energy', + : 'Energy Site Generator exported', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_exported', @@ -727,10 +727,10 @@ # name: test_sensors[sensor.energy_site_generator_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Generator power', + : 'power', + : 'Energy Site Generator power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_generator_power', @@ -788,11 +788,11 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from battery', + : 'energy', + : 'Energy Site Grid exported from battery', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_battery', @@ -850,11 +850,11 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_generator-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from generator', + : 'energy', + : 'Energy Site Grid exported from generator', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_generator', @@ -912,11 +912,11 @@ # name: test_sensors[sensor.energy_site_grid_exported_from_solar-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid exported from solar', + : 'energy', + : 'Energy Site Grid exported from solar', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_exported_from_solar', @@ -974,11 +974,11 @@ # name: test_sensors[sensor.energy_site_grid_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid imported', + : 'energy', + : 'Energy Site Grid imported', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_imported', @@ -1036,10 +1036,10 @@ # name: test_sensors[sensor.energy_site_grid_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid power', + : 'power', + : 'Energy Site Grid power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_power', @@ -1097,11 +1097,11 @@ # name: test_sensors[sensor.energy_site_grid_services_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services exported', + : 'energy', + : 'Energy Site Grid services exported', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_exported', @@ -1159,11 +1159,11 @@ # name: test_sensors[sensor.energy_site_grid_services_imported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Grid services imported', + : 'energy', + : 'Energy Site Grid services imported', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_imported', @@ -1221,10 +1221,10 @@ # name: test_sensors[sensor.energy_site_grid_services_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Grid services power', + : 'power', + : 'Energy Site Grid services power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_grid_services_power', @@ -1282,8 +1282,8 @@ # name: test_sensors[sensor.energy_site_island_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Energy Site Island status', + : 'enum', + : 'Energy Site Island status', : list([ 'on_grid', 'off_grid', @@ -1348,10 +1348,10 @@ # name: test_sensors[sensor.energy_site_load_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Load power', + : 'power', + : 'Energy Site Load power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_load_power', @@ -1406,10 +1406,10 @@ # name: test_sensors[sensor.energy_site_percentage_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Energy Site Percentage charged', + : 'battery', + : 'Energy Site Percentage charged', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_percentage_charged', @@ -1467,11 +1467,11 @@ # name: test_sensors[sensor.energy_site_solar_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Solar exported', + : 'energy', + : 'Energy Site Solar exported', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_exported', @@ -1529,10 +1529,10 @@ # name: test_sensors[sensor.energy_site_solar_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Energy Site Solar power', + : 'power', + : 'Energy Site Solar power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_solar_power', @@ -1590,11 +1590,11 @@ # name: test_sensors[sensor.energy_site_total_battery_charged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Total battery charged', + : 'energy', + : 'Energy Site Total battery charged', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_battery_charged', @@ -1652,11 +1652,11 @@ # name: test_sensors[sensor.energy_site_total_battery_discharged-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Total battery discharged', + : 'energy', + : 'Energy Site Total battery discharged', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_battery_discharged', @@ -1714,11 +1714,11 @@ # name: test_sensors[sensor.energy_site_total_grid_exported-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Total grid exported', + : 'energy', + : 'Energy Site Total grid exported', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_grid_exported', @@ -1776,11 +1776,11 @@ # name: test_sensors[sensor.energy_site_total_home_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Total home usage', + : 'energy', + : 'Energy Site Total home usage', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_home_usage', @@ -1838,10 +1838,10 @@ # name: test_sensors[sensor.energy_site_total_pack_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Energy Site Total pack energy', + : 'energy_storage', + : 'Energy Site Total pack energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_pack_energy', @@ -1899,11 +1899,11 @@ # name: test_sensors[sensor.energy_site_total_solar_generated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy Site Total solar generated', + : 'energy', + : 'Energy Site Total solar generated', : '2024-09-18T00:00:00+10:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_site_total_solar_generated', @@ -1953,8 +1953,8 @@ # name: test_sensors[sensor.energy_site_vpp_backup_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site VPP backup reserve', - 'unit_of_measurement': '%', + : 'Energy Site VPP backup reserve', + : '%', }), 'context': , 'entity_id': 'sensor.energy_site_vpp_backup_reserve', @@ -2006,10 +2006,10 @@ # name: test_sensors[sensor.test_battery_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test Battery level', + : 'battery', + : 'Test Battery level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_battery_level', @@ -2064,10 +2064,10 @@ # name: test_sensors[sensor.test_battery_module_temperature_max-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Battery module temperature max', + : 'temperature', + : 'Test Battery module temperature max', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_module_temperature_max', @@ -2122,10 +2122,10 @@ # name: test_sensors[sensor.test_battery_module_temperature_min-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Battery module temperature min', + : 'temperature', + : 'Test Battery module temperature min', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_module_temperature_min', @@ -2180,10 +2180,10 @@ # name: test_sensors[sensor.test_battery_pack_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Battery pack current', + : 'current', + : 'Test Battery pack current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_pack_current', @@ -2238,10 +2238,10 @@ # name: test_sensors[sensor.test_battery_pack_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test Battery pack voltage', + : 'voltage', + : 'Test Battery pack voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_pack_voltage', @@ -2299,10 +2299,10 @@ # name: test_sensors[sensor.test_battery_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Battery range', + : 'distance', + : 'Test Battery range', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_range', @@ -2360,10 +2360,10 @@ # name: test_sensors[sensor.test_battery_range_estimate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Battery range estimate', + : 'distance', + : 'Test Battery range estimate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_range_estimate', @@ -2421,10 +2421,10 @@ # name: test_sensors[sensor.test_battery_range_ideal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Battery range ideal', + : 'distance', + : 'Test Battery range ideal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_battery_range_ideal', @@ -2474,7 +2474,7 @@ # name: test_sensors[sensor.test_charge_cable-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Charge cable', + : 'Test Charge cable', }), 'context': , 'entity_id': 'sensor.test_charge_cable', @@ -2529,10 +2529,10 @@ # name: test_sensors[sensor.test_charge_energy_added-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Charge energy added', + : 'energy', + : 'Test Charge energy added', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_energy_added', @@ -2588,8 +2588,8 @@ # name: test_sensors[sensor.test_charge_port_latch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charge port latch', + : 'enum', + : 'Test Charge port latch', : list([ 'engaged', 'disengaged', @@ -2652,10 +2652,10 @@ # name: test_sensors[sensor.test_charge_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Charge rate', + : 'speed', + : 'Test Charge rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charge_rate', @@ -2710,10 +2710,10 @@ # name: test_sensors[sensor.test_charger_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Test Charger current', + : 'current', + : 'Test Charger current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_current', @@ -2768,10 +2768,10 @@ # name: test_sensors[sensor.test_charger_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Charger power', + : 'power', + : 'Test Charger power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_power', @@ -2826,10 +2826,10 @@ # name: test_sensors[sensor.test_charger_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test Charger voltage', + : 'voltage', + : 'Test Charger voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_charger_voltage', @@ -2888,8 +2888,8 @@ # name: test_sensors[sensor.test_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Charging', + : 'enum', + : 'Test Charging', : list([ 'starting', 'charging', @@ -2947,7 +2947,7 @@ # name: test_sensors[sensor.test_destination-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Destination', + : 'Test Destination', }), 'context': , 'entity_id': 'sensor.test_destination', @@ -3005,10 +3005,10 @@ # name: test_sensors[sensor.test_distance_to_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Distance to arrival', + : 'distance', + : 'Test Distance to arrival', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_distance_to_arrival', @@ -3063,10 +3063,10 @@ # name: test_sensors[sensor.test_driver_temperature_setting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Driver temperature setting', + : 'temperature', + : 'Test Driver temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_driver_temperature_setting', @@ -3121,10 +3121,10 @@ # name: test_sensors[sensor.test_energy_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Test Energy remaining', + : 'energy_storage', + : 'Test Energy remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_energy_remaining', @@ -3179,10 +3179,10 @@ # name: test_sensors[sensor.test_inside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Inside temperature', + : 'temperature', + : 'Test Inside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_inside_temperature', @@ -3237,10 +3237,10 @@ # name: test_sensors[sensor.test_lifetime_energy_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Lifetime energy used', + : 'energy', + : 'Test Lifetime energy used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_lifetime_energy_used', @@ -3298,10 +3298,10 @@ # name: test_sensors[sensor.test_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Test Odometer', + : 'distance', + : 'Test Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_odometer', @@ -3356,10 +3356,10 @@ # name: test_sensors[sensor.test_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Outside temperature', + : 'temperature', + : 'Test Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_outside_temperature', @@ -3414,10 +3414,10 @@ # name: test_sensors[sensor.test_passenger_temperature_setting-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Passenger temperature setting', + : 'temperature', + : 'Test Passenger temperature setting', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_passenger_temperature_setting', @@ -3472,9 +3472,9 @@ # name: test_sensors[sensor.test_phantom_drain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Phantom drain', + : 'Test Phantom drain', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_phantom_drain', @@ -3529,10 +3529,10 @@ # name: test_sensors[sensor.test_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Power', + : 'power', + : 'Test Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_power', @@ -3589,8 +3589,8 @@ # name: test_sensors[sensor.test_shift_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Shift state', + : 'enum', + : 'Test Shift state', : list([ 'p', 'd', @@ -3654,10 +3654,10 @@ # name: test_sensors[sensor.test_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Test Speed', + : 'speed', + : 'Test Speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_speed', @@ -3709,10 +3709,10 @@ # name: test_sensors[sensor.test_state_of_charge_at_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test State of charge at arrival', + : 'battery', + : 'Test State of charge at arrival', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_state_of_charge_at_arrival', @@ -3762,8 +3762,8 @@ # name: test_sensors[sensor.test_time_to_arrival-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to arrival', + : 'timestamp', + : 'Test Time to arrival', }), 'context': , 'entity_id': 'sensor.test_time_to_arrival', @@ -3813,8 +3813,8 @@ # name: test_sensors[sensor.test_time_to_full_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Test Time to full charge', + : 'timestamp', + : 'Test Time to full charge', }), 'context': , 'entity_id': 'sensor.test_time_to_full_charge', @@ -3872,10 +3872,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front left', + : 'pressure', + : 'Test Tire pressure front left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_left', @@ -3933,10 +3933,10 @@ # name: test_sensors[sensor.test_tire_pressure_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure front right', + : 'pressure', + : 'Test Tire pressure front right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_front_right', @@ -3994,10 +3994,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear left', + : 'pressure', + : 'Test Tire pressure rear left', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_left', @@ -4055,10 +4055,10 @@ # name: test_sensors[sensor.test_tire_pressure_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Tire pressure rear right', + : 'pressure', + : 'Test Tire pressure rear right', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_tire_pressure_rear_right', @@ -4113,10 +4113,10 @@ # name: test_sensors[sensor.test_traffic_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Test Traffic delay', + : 'duration', + : 'Test Traffic delay', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_traffic_delay', @@ -4174,10 +4174,10 @@ # name: test_sensors[sensor.wall_connector_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power', @@ -4235,10 +4235,10 @@ # name: test_sensors[sensor.wall_connector_power_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wall Connector Power', + : 'power', + : 'Wall Connector Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wall_connector_power_2', @@ -4301,8 +4301,8 @@ # name: test_sensors[sensor.wall_connector_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Wall Connector State', + : 'enum', + : 'Wall Connector State', : list([ 'booting', 'charging', @@ -4377,8 +4377,8 @@ # name: test_sensors[sensor.wall_connector_state_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Wall Connector State', + : 'enum', + : 'Wall Connector State', : list([ 'booting', 'charging', @@ -4440,7 +4440,7 @@ # name: test_sensors[sensor.wall_connector_vehicle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle', @@ -4490,7 +4490,7 @@ # name: test_sensors[sensor.wall_connector_vehicle_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wall Connector Vehicle', + : 'Wall Connector Vehicle', }), 'context': , 'entity_id': 'sensor.wall_connector_vehicle_2', diff --git a/tests/components/tessie/snapshots/test_switch.ambr b/tests/components/tessie/snapshots/test_switch.ambr index 2901ecf2e92..1b71a55bfeb 100644 --- a/tests/components/tessie/snapshots/test_switch.ambr +++ b/tests/components/tessie/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.energy_site_allow_charging_from_grid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Allow charging from grid', + : 'Energy Site Allow charging from grid', }), 'context': , 'entity_id': 'switch.energy_site_allow_charging_from_grid', @@ -89,7 +89,7 @@ # name: test_switches[switch.energy_site_storm_watch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Energy Site Storm watch', + : 'Energy Site Storm watch', }), 'context': , 'entity_id': 'switch.energy_site_storm_watch', @@ -139,8 +139,8 @@ # name: test_switches[switch.test_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Charge', + : 'switch', + : 'Test Charge', }), 'context': , 'entity_id': 'switch.test_charge', @@ -190,8 +190,8 @@ # name: test_switches[switch.test_defrost_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Defrost mode', + : 'switch', + : 'Test Defrost mode', }), 'context': , 'entity_id': 'switch.test_defrost_mode', @@ -241,8 +241,8 @@ # name: test_switches[switch.test_sentry_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Sentry mode', + : 'switch', + : 'Test Sentry mode', }), 'context': , 'entity_id': 'switch.test_sentry_mode', @@ -292,8 +292,8 @@ # name: test_switches[switch.test_steering_wheel_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Steering wheel heater', + : 'switch', + : 'Test Steering wheel heater', }), 'context': , 'entity_id': 'switch.test_steering_wheel_heater', @@ -343,8 +343,8 @@ # name: test_switches[switch.test_valet_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Valet mode', + : 'switch', + : 'Test Valet mode', }), 'context': , 'entity_id': 'switch.test_valet_mode', @@ -357,8 +357,8 @@ # name: test_switches[turn_off] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Charge', + : 'switch', + : 'Test Charge', }), 'context': , 'entity_id': 'switch.test_charge', @@ -371,8 +371,8 @@ # name: test_switches[turn_on] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Test Charge', + : 'switch', + : 'Test Charge', }), 'context': , 'entity_id': 'switch.test_charge', diff --git a/tests/components/tessie/snapshots/test_update.ambr b/tests/components/tessie/snapshots/test_update.ambr index cf0524fb2df..776cb9ddd96 100644 --- a/tests/components/tessie/snapshots/test_update.ambr +++ b/tests/components/tessie/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/tessie/icon.png', - 'friendly_name': 'Test Update', + : '/api/brands/integration/tessie/icon.png', + : 'Test Update', : False, : '2023.38.6', : '2023.44.30.4', : None, : 'https://stats.tessie.com/versions/2023.44.30.4', : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/tibber/snapshots/test_binary_sensor.ambr b/tests/components/tibber/snapshots/test_binary_sensor.ambr index 72dd95e260b..d0964814915 100644 --- a/tests/components/tibber/snapshots/test_binary_sensor.ambr +++ b/tests/components/tibber/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_snapshot[binary_sensor.test_device_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Test Device Charging', + : 'battery_charging', + : 'Test Device Charging', }), 'context': , 'entity_id': 'binary_sensor.test_device_charging', @@ -90,8 +90,8 @@ # name: test_binary_sensor_snapshot[binary_sensor.test_device_connectivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Device Connectivity', + : 'connectivity', + : 'Test Device Connectivity', }), 'context': , 'entity_id': 'binary_sensor.test_device_connectivity', @@ -141,8 +141,8 @@ # name: test_binary_sensor_snapshot[binary_sensor.test_device_plug-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'plug', - 'friendly_name': 'Test Device Plug', + : 'plug', + : 'Test Device Plug', }), 'context': , 'entity_id': 'binary_sensor.test_device_plug', @@ -192,8 +192,8 @@ # name: test_binary_sensor_snapshot[binary_sensor.test_device_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Device Power', + : 'power', + : 'Test Device Power', }), 'context': , 'entity_id': 'binary_sensor.test_device_power', diff --git a/tests/components/tile/snapshots/test_binary_sensor.ambr b/tests/components/tile/snapshots/test_binary_sensor.ambr index fd46a2945ea..7eff7fe5c07 100644 --- a/tests/components/tile/snapshots/test_binary_sensor.ambr +++ b/tests/components/tile/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[binary_sensor.wallet_lost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wallet Lost', + : 'Wallet Lost', }), 'context': , 'entity_id': 'binary_sensor.wallet_lost', diff --git a/tests/components/tile/snapshots/test_device_tracker.ambr b/tests/components/tile/snapshots/test_device_tracker.ambr index a1346cd4a33..12ee4ca3e6e 100644 --- a/tests/components/tile/snapshots/test_device_tracker.ambr +++ b/tests/components/tile/snapshots/test_device_tracker.ambr @@ -42,7 +42,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'altitude': 0, - 'friendly_name': 'Wallet', + : 'Wallet', : 13.496111, : list([ ]), diff --git a/tests/components/tilt_pi/snapshots/test_sensor.ambr b/tests/components/tilt_pi/snapshots/test_sensor.ambr index 3555ef2e267..5e18558f43d 100644 --- a/tests/components/tilt_pi/snapshots/test_sensor.ambr +++ b/tests/components/tilt_pi/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_all_sensors[sensor.tilt_black_gravity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tilt Black Gravity', + : 'Tilt Black Gravity', : , - 'unit_of_measurement': 'SG', + : 'SG', }), 'context': , 'entity_id': 'sensor.tilt_black_gravity', @@ -98,10 +98,10 @@ # name: test_all_sensors[sensor.tilt_black_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tilt Black Temperature', + : 'temperature', + : 'Tilt Black Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tilt_black_temperature', @@ -153,9 +153,9 @@ # name: test_all_sensors[sensor.tilt_yellow_gravity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tilt Yellow Gravity', + : 'Tilt Yellow Gravity', : , - 'unit_of_measurement': 'SG', + : 'SG', }), 'context': , 'entity_id': 'sensor.tilt_yellow_gravity', @@ -210,10 +210,10 @@ # name: test_all_sensors[sensor.tilt_yellow_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Tilt Yellow Temperature', + : 'temperature', + : 'Tilt Yellow Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.tilt_yellow_temperature', diff --git a/tests/components/togrill/snapshots/test_event.ambr b/tests/components/togrill/snapshots/test_event.ambr index 1b5bbc5060b..aee1ce2923b 100644 --- a/tests/components/togrill/snapshots/test_event.ambr +++ b/tests/components/togrill/snapshots/test_event.ambr @@ -69,7 +69,7 @@ 'ambient_cool_down', 'probe_timer_alarm', ]), - 'friendly_name': 'Probe 1 Event', + : 'Probe 1 Event', }), 'context': , 'entity_id': 'event.probe_1_event', @@ -149,7 +149,7 @@ 'ambient_cool_down', 'probe_timer_alarm', ]), - 'friendly_name': 'Probe 2 Event', + : 'Probe 2 Event', }), 'context': , 'entity_id': 'event.probe_2_event', @@ -229,7 +229,7 @@ 'ambient_cool_down', 'probe_timer_alarm', ]), - 'friendly_name': 'Probe 1 Event', + : 'Probe 1 Event', }), 'context': , 'entity_id': 'event.probe_1_event', @@ -309,7 +309,7 @@ 'ambient_cool_down', 'probe_timer_alarm', ]), - 'friendly_name': 'Probe 2 Event', + : 'Probe 2 Event', }), 'context': , 'entity_id': 'event.probe_2_event', @@ -389,7 +389,7 @@ 'ambient_cool_down', 'probe_timer_alarm', ]), - 'friendly_name': 'Probe 1 Event', + : 'Probe 1 Event', }), 'context': , 'entity_id': 'event.probe_1_event', @@ -469,7 +469,7 @@ 'ambient_cool_down', 'probe_timer_alarm', ]), - 'friendly_name': 'Probe 2 Event', + : 'Probe 2 Event', }), 'context': , 'entity_id': 'event.probe_2_event', diff --git a/tests/components/togrill/snapshots/test_number.ambr b/tests/components/togrill/snapshots/test_number.ambr index ea8467cb9c9..0972818cbc3 100644 --- a/tests/components/togrill/snapshots/test_number.ambr +++ b/tests/components/togrill/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_setup[no_data][number.pro_05_alarm_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pro-05 Alarm interval', + : 'duration', + : 'Pro-05 Alarm interval', : 15, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_alarm_interval', @@ -105,14 +105,14 @@ # name: test_setup[no_data][number.probe_1_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 1 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_maximum_temperature', @@ -167,14 +167,14 @@ # name: test_setup[no_data][number.probe_1_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 1 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_minimum_temperature', @@ -229,14 +229,14 @@ # name: test_setup[no_data][number.probe_1_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 1 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_target_temperature', @@ -291,14 +291,14 @@ # name: test_setup[no_data][number.probe_2_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 2 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_maximum_temperature', @@ -353,14 +353,14 @@ # name: test_setup[no_data][number.probe_2_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 2 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_minimum_temperature', @@ -415,14 +415,14 @@ # name: test_setup[no_data][number.probe_2_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 2 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_target_temperature', @@ -477,13 +477,13 @@ # name: test_setup[one_probe_with_target_alarm][number.pro_05_alarm_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pro-05 Alarm interval', + : 'duration', + : 'Pro-05 Alarm interval', : 15, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_alarm_interval', @@ -538,14 +538,14 @@ # name: test_setup[one_probe_with_target_alarm][number.probe_1_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 1 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_maximum_temperature', @@ -600,14 +600,14 @@ # name: test_setup[one_probe_with_target_alarm][number.probe_1_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 1 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_minimum_temperature', @@ -662,14 +662,14 @@ # name: test_setup[one_probe_with_target_alarm][number.probe_1_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 1 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_target_temperature', @@ -724,14 +724,14 @@ # name: test_setup[one_probe_with_target_alarm][number.probe_2_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 2 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_maximum_temperature', @@ -786,14 +786,14 @@ # name: test_setup[one_probe_with_target_alarm][number.probe_2_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 2 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_minimum_temperature', @@ -848,14 +848,14 @@ # name: test_setup[one_probe_with_target_alarm][number.probe_2_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 2 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_target_temperature', @@ -910,13 +910,13 @@ # name: test_setup_with_ambient[ambient_with_range][number.pro_05_alarm_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pro-05 Alarm interval', + : 'duration', + : 'Pro-05 Alarm interval', : 15, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_alarm_interval', @@ -971,14 +971,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.pro_05_ambient_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Pro-05 Ambient maximum temperature', + : 'mdi:thermometer-chevron-up', : 400, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_ambient_maximum_temperature', @@ -1033,14 +1033,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.pro_05_ambient_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Pro-05 Ambient minimum temperature', + : 'mdi:thermometer-chevron-down', : 400, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_ambient_minimum_temperature', @@ -1095,14 +1095,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.probe_1_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 1 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_maximum_temperature', @@ -1157,14 +1157,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.probe_1_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 1 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_minimum_temperature', @@ -1219,14 +1219,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.probe_1_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 1 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_target_temperature', @@ -1281,14 +1281,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.probe_2_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 2 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_maximum_temperature', @@ -1343,14 +1343,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.probe_2_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 2 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_minimum_temperature', @@ -1405,14 +1405,14 @@ # name: test_setup_with_ambient[ambient_with_range][number.probe_2_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 2 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_target_temperature', @@ -1467,13 +1467,13 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.pro_05_alarm_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pro-05 Alarm interval', + : 'duration', + : 'Pro-05 Alarm interval', : 15, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_alarm_interval', @@ -1528,14 +1528,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.pro_05_ambient_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Pro-05 Ambient maximum temperature', + : 'mdi:thermometer-chevron-up', : 400, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_ambient_maximum_temperature', @@ -1590,14 +1590,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.pro_05_ambient_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Pro-05 Ambient minimum temperature', + : 'mdi:thermometer-chevron-down', : 400, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_ambient_minimum_temperature', @@ -1652,14 +1652,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.probe_1_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 1 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_maximum_temperature', @@ -1714,14 +1714,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.probe_1_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 1 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_minimum_temperature', @@ -1776,14 +1776,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.probe_1_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 1 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_target_temperature', @@ -1838,14 +1838,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.probe_2_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 2 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_maximum_temperature', @@ -1900,14 +1900,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.probe_2_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 2 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_minimum_temperature', @@ -1962,14 +1962,14 @@ # name: test_setup_with_ambient[ambient_wrong_alarm_type][number.probe_2_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 2 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_target_temperature', @@ -2024,13 +2024,13 @@ # name: test_setup_with_ambient[no_data][number.pro_05_alarm_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Pro-05 Alarm interval', + : 'duration', + : 'Pro-05 Alarm interval', : 15, : 0, : , : 5, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_alarm_interval', @@ -2085,14 +2085,14 @@ # name: test_setup_with_ambient[no_data][number.pro_05_ambient_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Pro-05 Ambient maximum temperature', + : 'mdi:thermometer-chevron-up', : 400, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_ambient_maximum_temperature', @@ -2147,14 +2147,14 @@ # name: test_setup_with_ambient[no_data][number.pro_05_ambient_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Pro-05 Ambient minimum temperature', + : 'mdi:thermometer-chevron-down', : 400, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.pro_05_ambient_minimum_temperature', @@ -2209,14 +2209,14 @@ # name: test_setup_with_ambient[no_data][number.probe_1_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 1 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_maximum_temperature', @@ -2271,14 +2271,14 @@ # name: test_setup_with_ambient[no_data][number.probe_1_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 1 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_minimum_temperature', @@ -2333,14 +2333,14 @@ # name: test_setup_with_ambient[no_data][number.probe_1_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 1 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_1_target_temperature', @@ -2395,14 +2395,14 @@ # name: test_setup_with_ambient[no_data][number.probe_2_maximum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Maximum temperature', - 'icon': 'mdi:thermometer-chevron-up', + : 'temperature', + : 'Probe 2 Maximum temperature', + : 'mdi:thermometer-chevron-up', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_maximum_temperature', @@ -2457,14 +2457,14 @@ # name: test_setup_with_ambient[no_data][number.probe_2_minimum_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Minimum temperature', - 'icon': 'mdi:thermometer-chevron-down', + : 'temperature', + : 'Probe 2 Minimum temperature', + : 'mdi:thermometer-chevron-down', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_minimum_temperature', @@ -2519,14 +2519,14 @@ # name: test_setup_with_ambient[no_data][number.probe_2_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Target temperature', - 'icon': 'mdi:thermometer-check', + : 'temperature', + : 'Probe 2 Target temperature', + : 'mdi:thermometer-check', : 250, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.probe_2_target_temperature', diff --git a/tests/components/togrill/snapshots/test_select.ambr b/tests/components/togrill/snapshots/test_select.ambr index 47eb77f7216..07558954e27 100644 --- a/tests/components/togrill/snapshots/test_select.ambr +++ b/tests/components/togrill/snapshots/test_select.ambr @@ -58,7 +58,7 @@ # name: test_setup[no_data][select.probe_1_grill_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 1 Grill type', + : 'Probe 1 Grill type', : list([ 'none', 'beef', @@ -135,7 +135,7 @@ # name: test_setup[no_data][select.probe_1_taste-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 1 Taste', + : 'Probe 1 Taste', : list([ 'none', 'rare', @@ -212,7 +212,7 @@ # name: test_setup[no_data][select.probe_2_grill_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 2 Grill type', + : 'Probe 2 Grill type', : list([ 'none', 'beef', @@ -289,7 +289,7 @@ # name: test_setup[no_data][select.probe_2_taste-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 2 Taste', + : 'Probe 2 Taste', : list([ 'none', 'rare', @@ -366,7 +366,7 @@ # name: test_setup[probes_with_different_data][select.probe_1_grill_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 1 Grill type', + : 'Probe 1 Grill type', : list([ 'none', 'beef', @@ -443,7 +443,7 @@ # name: test_setup[probes_with_different_data][select.probe_1_taste-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 1 Taste', + : 'Probe 1 Taste', : list([ 'none', 'rare', @@ -520,7 +520,7 @@ # name: test_setup[probes_with_different_data][select.probe_2_grill_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 2 Grill type', + : 'Probe 2 Grill type', : list([ 'none', 'beef', @@ -597,7 +597,7 @@ # name: test_setup[probes_with_different_data][select.probe_2_taste-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 2 Taste', + : 'Probe 2 Taste', : list([ 'none', 'rare', @@ -674,7 +674,7 @@ # name: test_setup[probes_with_unknown_data][select.probe_1_grill_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 1 Grill type', + : 'Probe 1 Grill type', : list([ 'none', 'beef', @@ -751,7 +751,7 @@ # name: test_setup[probes_with_unknown_data][select.probe_1_taste-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 1 Taste', + : 'Probe 1 Taste', : list([ 'none', 'rare', @@ -828,7 +828,7 @@ # name: test_setup[probes_with_unknown_data][select.probe_2_grill_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 2 Grill type', + : 'Probe 2 Grill type', : list([ 'none', 'beef', @@ -905,7 +905,7 @@ # name: test_setup[probes_with_unknown_data][select.probe_2_taste-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Probe 2 Taste', + : 'Probe 2 Taste', : list([ 'none', 'rare', diff --git a/tests/components/togrill/snapshots/test_sensor.ambr b/tests/components/togrill/snapshots/test_sensor.ambr index c6390c29a2c..37009b6bef8 100644 --- a/tests/components/togrill/snapshots/test_sensor.ambr +++ b/tests/components/togrill/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_setup[battery][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -102,10 +102,10 @@ # name: test_setup[battery][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -160,10 +160,10 @@ # name: test_setup[battery][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -218,10 +218,10 @@ # name: test_setup[no_data][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -276,10 +276,10 @@ # name: test_setup[no_data][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -334,10 +334,10 @@ # name: test_setup[no_data][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -392,10 +392,10 @@ # name: test_setup[temp_data][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -450,10 +450,10 @@ # name: test_setup[temp_data][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -508,10 +508,10 @@ # name: test_setup[temp_data][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -566,10 +566,10 @@ # name: test_setup[temp_data_missing_probe][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -624,10 +624,10 @@ # name: test_setup[temp_data_missing_probe][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -682,10 +682,10 @@ # name: test_setup[temp_data_missing_probe][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -740,10 +740,10 @@ # name: test_setup_with_ambient[ambient_empty_temperatures][sensor.pro_05_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient temperature', + : 'temperature', + : 'Pro-05 Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pro_05_ambient_temperature', @@ -798,10 +798,10 @@ # name: test_setup_with_ambient[ambient_empty_temperatures][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -856,10 +856,10 @@ # name: test_setup_with_ambient[ambient_empty_temperatures][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -914,10 +914,10 @@ # name: test_setup_with_ambient[ambient_empty_temperatures][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -972,10 +972,10 @@ # name: test_setup_with_ambient[ambient_temp_data][sensor.pro_05_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient temperature', + : 'temperature', + : 'Pro-05 Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pro_05_ambient_temperature', @@ -1030,10 +1030,10 @@ # name: test_setup_with_ambient[ambient_temp_data][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -1088,10 +1088,10 @@ # name: test_setup_with_ambient[ambient_temp_data][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -1146,10 +1146,10 @@ # name: test_setup_with_ambient[ambient_temp_data][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -1204,10 +1204,10 @@ # name: test_setup_with_ambient[ambient_temp_none][sensor.pro_05_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient temperature', + : 'temperature', + : 'Pro-05 Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pro_05_ambient_temperature', @@ -1262,10 +1262,10 @@ # name: test_setup_with_ambient[ambient_temp_none][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -1320,10 +1320,10 @@ # name: test_setup_with_ambient[ambient_temp_none][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -1378,10 +1378,10 @@ # name: test_setup_with_ambient[ambient_temp_none][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -1436,10 +1436,10 @@ # name: test_setup_with_ambient[ambient_temp_with_missing_probe][sensor.pro_05_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient temperature', + : 'temperature', + : 'Pro-05 Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pro_05_ambient_temperature', @@ -1494,10 +1494,10 @@ # name: test_setup_with_ambient[ambient_temp_with_missing_probe][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -1552,10 +1552,10 @@ # name: test_setup_with_ambient[ambient_temp_with_missing_probe][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -1610,10 +1610,10 @@ # name: test_setup_with_ambient[ambient_temp_with_missing_probe][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', @@ -1668,10 +1668,10 @@ # name: test_setup_with_ambient[no_data][sensor.pro_05_ambient_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Pro-05 Ambient temperature', + : 'temperature', + : 'Pro-05 Ambient temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pro_05_ambient_temperature', @@ -1726,10 +1726,10 @@ # name: test_setup_with_ambient[no_data][sensor.pro_05_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Pro-05 Battery', + : 'battery', + : 'Pro-05 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pro_05_battery', @@ -1784,10 +1784,10 @@ # name: test_setup_with_ambient[no_data][sensor.probe_1_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 1 Temperature', + : 'temperature', + : 'Probe 1 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_1_temperature', @@ -1842,10 +1842,10 @@ # name: test_setup_with_ambient[no_data][sensor.probe_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Probe 2 Temperature', + : 'temperature', + : 'Probe 2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.probe_2_temperature', diff --git a/tests/components/totalconnect/snapshots/test_alarm_control_panel.ambr b/tests/components/totalconnect/snapshots/test_alarm_control_panel.ambr index 43fb050bce9..9558109a81c 100644 --- a/tests/components/totalconnect/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/totalconnect/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : None, : False, : None, - 'friendly_name': 'test', - 'supported_features': , + : 'test', + : , }), 'context': , 'entity_id': 'alarm_control_panel.test', @@ -96,8 +96,8 @@ : None, : False, : None, - 'friendly_name': 'test Partition 2', - 'supported_features': , + : 'test Partition 2', + : , }), 'context': , 'entity_id': 'alarm_control_panel.test_partition_2', diff --git a/tests/components/totalconnect/snapshots/test_binary_sensor.ambr b/tests/components/totalconnect/snapshots/test_binary_sensor.ambr index fac36865b1e..d43520ca245 100644 --- a/tests/components/totalconnect/snapshots/test_binary_sensor.ambr +++ b/tests/components/totalconnect/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entity_registry[binary_sensor.apartment_carbonmonoxidedetecto-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Apartment CarbonMonoxideDetecto', + : 'smoke', + : 'Apartment CarbonMonoxideDetecto', 'location_id': 1234567, 'partition': '1', 'zone_id': '21', @@ -93,8 +93,8 @@ # name: test_entity_registry[binary_sensor.apartment_carbonmonoxidedetecto_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Apartment CarbonMonoxideDetecto Battery', + : 'battery', + : 'Apartment CarbonMonoxideDetecto Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '21', @@ -147,8 +147,8 @@ # name: test_entity_registry[binary_sensor.apartment_carbonmonoxidedetecto_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Apartment CarbonMonoxideDetecto Tamper', + : 'tamper', + : 'Apartment CarbonMonoxideDetecto Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '21', @@ -201,8 +201,8 @@ # name: test_entity_registry[binary_sensor.apartment_smokedetector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Apartment SmokeDetector', + : 'smoke', + : 'Apartment SmokeDetector', 'location_id': 1234567, 'partition': '1', 'zone_id': '16', @@ -255,8 +255,8 @@ # name: test_entity_registry[binary_sensor.apartment_smokedetector_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Apartment SmokeDetector Battery', + : 'battery', + : 'Apartment SmokeDetector Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '16', @@ -309,8 +309,8 @@ # name: test_entity_registry[binary_sensor.apartment_smokedetector_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Apartment SmokeDetector Tamper', + : 'tamper', + : 'Apartment SmokeDetector Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '16', @@ -363,8 +363,8 @@ # name: test_entity_registry[binary_sensor.dining_room_two_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Dining Room Two Door', + : 'smoke', + : 'Dining Room Two Door', 'location_id': 1234567, 'partition': '1', 'zone_id': '12', @@ -417,8 +417,8 @@ # name: test_entity_registry[binary_sensor.dining_room_two_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Dining Room Two Door Battery', + : 'battery', + : 'Dining Room Two Door Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '12', @@ -471,8 +471,8 @@ # name: test_entity_registry[binary_sensor.dining_room_two_door_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Dining Room Two Door Tamper', + : 'tamper', + : 'Dining Room Two Door Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '12', @@ -525,8 +525,8 @@ # name: test_entity_registry[binary_sensor.doorbell_other-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Doorbell Other', + : 'smoke', + : 'Doorbell Other', 'location_id': 1234567, 'partition': '1', 'zone_id': '7', @@ -579,8 +579,8 @@ # name: test_entity_registry[binary_sensor.doorbell_other_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Doorbell Other Battery', + : 'battery', + : 'Doorbell Other Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '7', @@ -633,8 +633,8 @@ # name: test_entity_registry[binary_sensor.doorbell_other_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Doorbell Other Tamper', + : 'tamper', + : 'Doorbell Other Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '7', @@ -687,8 +687,8 @@ # name: test_entity_registry[binary_sensor.downstairs_hallway_carbonmonoxid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Downstairs Hallway CarbonMonoxid', + : 'smoke', + : 'Downstairs Hallway CarbonMonoxid', 'location_id': 1234567, 'partition': '1', 'zone_id': '22', @@ -741,8 +741,8 @@ # name: test_entity_registry[binary_sensor.downstairs_hallway_carbonmonoxid_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Downstairs Hallway CarbonMonoxid Battery', + : 'battery', + : 'Downstairs Hallway CarbonMonoxid Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '22', @@ -795,8 +795,8 @@ # name: test_entity_registry[binary_sensor.downstairs_hallway_carbonmonoxid_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Downstairs Hallway CarbonMonoxid Tamper', + : 'tamper', + : 'Downstairs Hallway CarbonMonoxid Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '22', @@ -849,8 +849,8 @@ # name: test_entity_registry[binary_sensor.downstairs_hallway_smokedetector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Downstairs Hallway SmokeDetector', + : 'smoke', + : 'Downstairs Hallway SmokeDetector', 'location_id': 1234567, 'partition': '1', 'zone_id': '18', @@ -903,8 +903,8 @@ # name: test_entity_registry[binary_sensor.downstairs_hallway_smokedetector_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Downstairs Hallway SmokeDetector Battery', + : 'battery', + : 'Downstairs Hallway SmokeDetector Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '18', @@ -957,8 +957,8 @@ # name: test_entity_registry[binary_sensor.downstairs_hallway_smokedetector_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Downstairs Hallway SmokeDetector Tamper', + : 'tamper', + : 'Downstairs Hallway SmokeDetector Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '18', @@ -1011,8 +1011,8 @@ # name: test_entity_registry[binary_sensor.fire-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Fire', + : 'smoke', + : 'Fire', 'location_id': 1234567, 'partition': '1', 'zone_id': '3', @@ -1065,8 +1065,8 @@ # name: test_entity_registry[binary_sensor.fire_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Fire Battery', + : 'battery', + : 'Fire Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '3', @@ -1119,8 +1119,8 @@ # name: test_entity_registry[binary_sensor.fire_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Fire Tamper', + : 'tamper', + : 'Fire Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '3', @@ -1173,8 +1173,8 @@ # name: test_entity_registry[binary_sensor.front_door_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Front Door Door', + : 'smoke', + : 'Front Door Door', 'location_id': 1234567, 'partition': '1', 'zone_id': '26', @@ -1227,8 +1227,8 @@ # name: test_entity_registry[binary_sensor.front_door_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Front Door Door Battery', + : 'battery', + : 'Front Door Door Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '26', @@ -1281,8 +1281,8 @@ # name: test_entity_registry[binary_sensor.front_door_door_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Front Door Door Tamper', + : 'tamper', + : 'Front Door Door Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '26', @@ -1335,8 +1335,8 @@ # name: test_entity_registry[binary_sensor.garage_side_other-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Garage Side Other', + : 'smoke', + : 'Garage Side Other', 'location_id': 1234567, 'partition': '1', 'zone_id': '25', @@ -1389,8 +1389,8 @@ # name: test_entity_registry[binary_sensor.garage_side_other_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Garage Side Other Battery', + : 'battery', + : 'Garage Side Other Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '25', @@ -1443,8 +1443,8 @@ # name: test_entity_registry[binary_sensor.garage_side_other_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Garage Side Other Tamper', + : 'tamper', + : 'Garage Side Other Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '25', @@ -1497,8 +1497,8 @@ # name: test_entity_registry[binary_sensor.gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Gas', + : 'smoke', + : 'Gas', 'location_id': 1234567, 'partition': '1', 'zone_id': '4', @@ -1551,8 +1551,8 @@ # name: test_entity_registry[binary_sensor.gas_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Gas Battery', + : 'battery', + : 'Gas Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '4', @@ -1605,8 +1605,8 @@ # name: test_entity_registry[binary_sensor.gas_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Gas Tamper', + : 'tamper', + : 'Gas Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '4', @@ -1659,8 +1659,8 @@ # name: test_entity_registry[binary_sensor.guest_bedroom_smokedetector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Guest Bedroom SmokeDetector', + : 'smoke', + : 'Guest Bedroom SmokeDetector', 'location_id': 1234567, 'partition': '1', 'zone_id': '20', @@ -1713,8 +1713,8 @@ # name: test_entity_registry[binary_sensor.guest_bedroom_smokedetector_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Guest Bedroom SmokeDetector Battery', + : 'battery', + : 'Guest Bedroom SmokeDetector Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '20', @@ -1767,8 +1767,8 @@ # name: test_entity_registry[binary_sensor.guest_bedroom_smokedetector_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Guest Bedroom SmokeDetector Tamper', + : 'tamper', + : 'Guest Bedroom SmokeDetector Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '20', @@ -1821,8 +1821,8 @@ # name: test_entity_registry[binary_sensor.kid_bedroom_smokedetector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Kid Bedroom SmokeDetector', + : 'smoke', + : 'Kid Bedroom SmokeDetector', 'location_id': 1234567, 'partition': '1', 'zone_id': '19', @@ -1875,8 +1875,8 @@ # name: test_entity_registry[binary_sensor.kid_bedroom_smokedetector_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Kid Bedroom SmokeDetector Battery', + : 'battery', + : 'Kid Bedroom SmokeDetector Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '19', @@ -1929,8 +1929,8 @@ # name: test_entity_registry[binary_sensor.kid_bedroom_smokedetector_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Kid Bedroom SmokeDetector Tamper', + : 'tamper', + : 'Kid Bedroom SmokeDetector Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '19', @@ -1983,8 +1983,8 @@ # name: test_entity_registry[binary_sensor.living_room_two_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Living Room Two Window', + : 'smoke', + : 'Living Room Two Window', 'location_id': 1234567, 'partition': '1', 'zone_id': '15', @@ -2037,8 +2037,8 @@ # name: test_entity_registry[binary_sensor.living_room_two_window_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Living Room Two Window Battery', + : 'battery', + : 'Living Room Two Window Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '15', @@ -2091,8 +2091,8 @@ # name: test_entity_registry[binary_sensor.living_room_two_window_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Living Room Two Window Tamper', + : 'tamper', + : 'Living Room Two Window Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '15', @@ -2145,8 +2145,8 @@ # name: test_entity_registry[binary_sensor.living_room_window-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Living Room Window', + : 'smoke', + : 'Living Room Window', 'location_id': 1234567, 'partition': '1', 'zone_id': '14', @@ -2199,8 +2199,8 @@ # name: test_entity_registry[binary_sensor.living_room_window_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Living Room Window Battery', + : 'battery', + : 'Living Room Window Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '14', @@ -2253,8 +2253,8 @@ # name: test_entity_registry[binary_sensor.living_room_window_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Living Room Window Tamper', + : 'tamper', + : 'Living Room Window Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '14', @@ -2307,8 +2307,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Master Bedroom Door', + : 'smoke', + : 'Master Bedroom Door', 'location_id': 1234567, 'partition': '1', 'zone_id': '10', @@ -2361,8 +2361,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Master Bedroom Door Battery', + : 'battery', + : 'Master Bedroom Door Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '10', @@ -2415,8 +2415,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_door_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Master Bedroom Door Tamper', + : 'tamper', + : 'Master Bedroom Door Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '10', @@ -2469,8 +2469,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_keypad-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Master Bedroom Keypad', + : 'smoke', + : 'Master Bedroom Keypad', 'location_id': 1234567, 'partition': '1', 'zone_id': '800', @@ -2523,8 +2523,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_keypad_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Master Bedroom Keypad Battery', + : 'battery', + : 'Master Bedroom Keypad Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '800', @@ -2577,8 +2577,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_keypad_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Master Bedroom Keypad Tamper', + : 'tamper', + : 'Master Bedroom Keypad Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '800', @@ -2631,8 +2631,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_smokedetector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Master Bedroom SmokeDetector', + : 'smoke', + : 'Master Bedroom SmokeDetector', 'location_id': 1234567, 'partition': '1', 'zone_id': '24', @@ -2685,8 +2685,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_smokedetector_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Master Bedroom SmokeDetector Battery', + : 'battery', + : 'Master Bedroom SmokeDetector Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '24', @@ -2739,8 +2739,8 @@ # name: test_entity_registry[binary_sensor.master_bedroom_smokedetector_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Master Bedroom SmokeDetector Tamper', + : 'tamper', + : 'Master Bedroom SmokeDetector Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '24', @@ -2793,8 +2793,8 @@ # name: test_entity_registry[binary_sensor.office_back_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Office Back Door', + : 'smoke', + : 'Office Back Door', 'location_id': 1234567, 'partition': '1', 'zone_id': '9', @@ -2847,8 +2847,8 @@ # name: test_entity_registry[binary_sensor.office_back_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Office Back Door Battery', + : 'battery', + : 'Office Back Door Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '9', @@ -2901,8 +2901,8 @@ # name: test_entity_registry[binary_sensor.office_back_door_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Office Back Door Tamper', + : 'tamper', + : 'Office Back Door Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '9', @@ -2955,8 +2955,8 @@ # name: test_entity_registry[binary_sensor.office_side_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Office Side Door', + : 'smoke', + : 'Office Side Door', 'location_id': 1234567, 'partition': '1', 'zone_id': '8', @@ -3009,8 +3009,8 @@ # name: test_entity_registry[binary_sensor.office_side_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Office Side Door Battery', + : 'battery', + : 'Office Side Door Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '8', @@ -3063,8 +3063,8 @@ # name: test_entity_registry[binary_sensor.office_side_door_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Office Side Door Tamper', + : 'tamper', + : 'Office Side Door Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '8', @@ -3117,8 +3117,8 @@ # name: test_entity_registry[binary_sensor.patio_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Patio Door', + : 'smoke', + : 'Patio Door', 'location_id': 1234567, 'partition': '1', 'zone_id': '13', @@ -3171,8 +3171,8 @@ # name: test_entity_registry[binary_sensor.patio_door_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Patio Door Battery', + : 'battery', + : 'Patio Door Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '13', @@ -3225,8 +3225,8 @@ # name: test_entity_registry[binary_sensor.patio_door_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Patio Door Tamper', + : 'tamper', + : 'Patio Door Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '13', @@ -3279,8 +3279,8 @@ # name: test_entity_registry[binary_sensor.security-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Security', + : 'smoke', + : 'Security', 'location_id': 1234567, 'partition': '1', 'zone_id': '2', @@ -3333,8 +3333,8 @@ # name: test_entity_registry[binary_sensor.security_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Security Battery', + : 'battery', + : 'Security Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '2', @@ -3387,8 +3387,8 @@ # name: test_entity_registry[binary_sensor.security_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Security Tamper', + : 'tamper', + : 'Security Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '2', @@ -3441,8 +3441,8 @@ # name: test_entity_registry[binary_sensor.temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Temperature', + : 'smoke', + : 'Temperature', 'location_id': 1234567, 'partition': '1', 'zone_id': '6', @@ -3495,8 +3495,8 @@ # name: test_entity_registry[binary_sensor.temperature_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Temperature Battery', + : 'battery', + : 'Temperature Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '6', @@ -3549,8 +3549,8 @@ # name: test_entity_registry[binary_sensor.temperature_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Temperature Tamper', + : 'tamper', + : 'Temperature Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '6', @@ -3603,8 +3603,8 @@ # name: test_entity_registry[binary_sensor.test_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'test Battery', + : 'battery', + : 'test Battery', 'location_id': 1234567, }), 'context': , @@ -3655,8 +3655,8 @@ # name: test_entity_registry[binary_sensor.test_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'test Carbon monoxide', + : 'carbon_monoxide', + : 'test Carbon monoxide', 'location_id': 1234567, }), 'context': , @@ -3707,7 +3707,7 @@ # name: test_entity_registry[binary_sensor.test_police_emergency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test Police emergency', + : 'test Police emergency', 'location_id': 1234567, }), 'context': , @@ -3758,8 +3758,8 @@ # name: test_entity_registry[binary_sensor.test_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test Power', + : 'power', + : 'test Power', 'location_id': 1234567, }), 'context': , @@ -3810,8 +3810,8 @@ # name: test_entity_registry[binary_sensor.test_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'test Smoke', + : 'smoke', + : 'test Smoke', 'location_id': 1234567, }), 'context': , @@ -3862,8 +3862,8 @@ # name: test_entity_registry[binary_sensor.test_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'test Tamper', + : 'tamper', + : 'test Tamper', 'location_id': 1234567, }), 'context': , @@ -3914,8 +3914,8 @@ # name: test_entity_registry[binary_sensor.unknown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Unknown', + : 'smoke', + : 'Unknown', 'location_id': 1234567, 'partition': '1', 'zone_id': '5', @@ -3968,8 +3968,8 @@ # name: test_entity_registry[binary_sensor.unknown_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Unknown Battery', + : 'battery', + : 'Unknown Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '5', @@ -4022,8 +4022,8 @@ # name: test_entity_registry[binary_sensor.unknown_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Unknown Tamper', + : 'tamper', + : 'Unknown Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '5', @@ -4076,8 +4076,8 @@ # name: test_entity_registry[binary_sensor.upstairs_hallway_carbonmonoxided-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Upstairs Hallway CarbonMonoxideD', + : 'smoke', + : 'Upstairs Hallway CarbonMonoxideD', 'location_id': 1234567, 'partition': '1', 'zone_id': '23', @@ -4130,8 +4130,8 @@ # name: test_entity_registry[binary_sensor.upstairs_hallway_carbonmonoxided_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Upstairs Hallway CarbonMonoxideD Battery', + : 'battery', + : 'Upstairs Hallway CarbonMonoxideD Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '23', @@ -4184,8 +4184,8 @@ # name: test_entity_registry[binary_sensor.upstairs_hallway_carbonmonoxided_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Upstairs Hallway CarbonMonoxideD Tamper', + : 'tamper', + : 'Upstairs Hallway CarbonMonoxideD Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '23', @@ -4238,8 +4238,8 @@ # name: test_entity_registry[binary_sensor.upstairs_hallway_smokedetector-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Upstairs Hallway SmokeDetector', + : 'smoke', + : 'Upstairs Hallway SmokeDetector', 'location_id': 1234567, 'partition': '1', 'zone_id': '17', @@ -4292,8 +4292,8 @@ # name: test_entity_registry[binary_sensor.upstairs_hallway_smokedetector_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Upstairs Hallway SmokeDetector Battery', + : 'battery', + : 'Upstairs Hallway SmokeDetector Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '17', @@ -4346,8 +4346,8 @@ # name: test_entity_registry[binary_sensor.upstairs_hallway_smokedetector_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Upstairs Hallway SmokeDetector Tamper', + : 'tamper', + : 'Upstairs Hallway SmokeDetector Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '17', @@ -4400,8 +4400,8 @@ # name: test_entity_registry[binary_sensor.zone_995_fire-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Zone 995 Fire', + : 'smoke', + : 'Zone 995 Fire', 'location_id': 1234567, 'partition': '1', 'zone_id': '1995', @@ -4454,8 +4454,8 @@ # name: test_entity_registry[binary_sensor.zone_995_fire_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zone 995 Fire Battery', + : 'battery', + : 'Zone 995 Fire Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '1995', @@ -4508,8 +4508,8 @@ # name: test_entity_registry[binary_sensor.zone_995_fire_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Zone 995 Fire Tamper', + : 'tamper', + : 'Zone 995 Fire Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '1995', @@ -4562,8 +4562,8 @@ # name: test_entity_registry[binary_sensor.zone_996_medical-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Zone 996 Medical', + : 'smoke', + : 'Zone 996 Medical', 'location_id': 1234567, 'partition': '1', 'zone_id': '1996', @@ -4616,8 +4616,8 @@ # name: test_entity_registry[binary_sensor.zone_996_medical_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zone 996 Medical Battery', + : 'battery', + : 'Zone 996 Medical Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '1996', @@ -4670,8 +4670,8 @@ # name: test_entity_registry[binary_sensor.zone_996_medical_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Zone 996 Medical Tamper', + : 'tamper', + : 'Zone 996 Medical Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '1996', @@ -4724,8 +4724,8 @@ # name: test_entity_registry[binary_sensor.zone_998_other-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Zone 998 Other', + : 'smoke', + : 'Zone 998 Other', 'location_id': 1234567, 'partition': '1', 'zone_id': '1998', @@ -4778,8 +4778,8 @@ # name: test_entity_registry[binary_sensor.zone_998_other_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zone 998 Other Battery', + : 'battery', + : 'Zone 998 Other Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '1998', @@ -4832,8 +4832,8 @@ # name: test_entity_registry[binary_sensor.zone_998_other_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Zone 998 Other Tamper', + : 'tamper', + : 'Zone 998 Other Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '1998', @@ -4886,8 +4886,8 @@ # name: test_entity_registry[binary_sensor.zone_999_police-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Zone 999 Police', + : 'smoke', + : 'Zone 999 Police', 'location_id': 1234567, 'partition': '1', 'zone_id': '1999', @@ -4940,8 +4940,8 @@ # name: test_entity_registry[binary_sensor.zone_999_police_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zone 999 Police Battery', + : 'battery', + : 'Zone 999 Police Battery', 'location_id': 1234567, 'partition': '1', 'zone_id': '1999', @@ -4994,8 +4994,8 @@ # name: test_entity_registry[binary_sensor.zone_999_police_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Zone 999 Police Tamper', + : 'tamper', + : 'Zone 999 Police Tamper', 'location_id': 1234567, 'partition': '1', 'zone_id': '1999', diff --git a/tests/components/totalconnect/snapshots/test_button.ambr b/tests/components/totalconnect/snapshots/test_button.ambr index 07b320f08c7..b1e137ffe80 100644 --- a/tests/components/totalconnect/snapshots/test_button.ambr +++ b/tests/components/totalconnect/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entity_registry[button.dining_room_two_door_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining Room Two Door Bypass', + : 'Dining Room Two Door Bypass', }), 'context': , 'entity_id': 'button.dining_room_two_door_bypass', @@ -89,7 +89,7 @@ # name: test_entity_registry[button.doorbell_other_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Doorbell Other Bypass', + : 'Doorbell Other Bypass', }), 'context': , 'entity_id': 'button.doorbell_other_bypass', @@ -139,7 +139,7 @@ # name: test_entity_registry[button.fire_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fire Bypass', + : 'Fire Bypass', }), 'context': , 'entity_id': 'button.fire_bypass', @@ -189,7 +189,7 @@ # name: test_entity_registry[button.front_door_door_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Door Bypass', + : 'Front Door Door Bypass', }), 'context': , 'entity_id': 'button.front_door_door_bypass', @@ -239,7 +239,7 @@ # name: test_entity_registry[button.garage_side_other_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Side Other Bypass', + : 'Garage Side Other Bypass', }), 'context': , 'entity_id': 'button.garage_side_other_bypass', @@ -289,7 +289,7 @@ # name: test_entity_registry[button.gas_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gas Bypass', + : 'Gas Bypass', }), 'context': , 'entity_id': 'button.gas_bypass', @@ -339,7 +339,7 @@ # name: test_entity_registry[button.living_room_two_window_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Two Window Bypass', + : 'Living Room Two Window Bypass', }), 'context': , 'entity_id': 'button.living_room_two_window_bypass', @@ -389,7 +389,7 @@ # name: test_entity_registry[button.living_room_window_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Window Bypass', + : 'Living Room Window Bypass', }), 'context': , 'entity_id': 'button.living_room_window_bypass', @@ -439,7 +439,7 @@ # name: test_entity_registry[button.master_bedroom_door_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Master Bedroom Door Bypass', + : 'Master Bedroom Door Bypass', }), 'context': , 'entity_id': 'button.master_bedroom_door_bypass', @@ -489,7 +489,7 @@ # name: test_entity_registry[button.office_back_door_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Back Door Bypass', + : 'Office Back Door Bypass', }), 'context': , 'entity_id': 'button.office_back_door_bypass', @@ -539,7 +539,7 @@ # name: test_entity_registry[button.office_side_door_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Side Door Bypass', + : 'Office Side Door Bypass', }), 'context': , 'entity_id': 'button.office_side_door_bypass', @@ -589,7 +589,7 @@ # name: test_entity_registry[button.patio_door_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Patio Door Bypass', + : 'Patio Door Bypass', }), 'context': , 'entity_id': 'button.patio_door_bypass', @@ -639,7 +639,7 @@ # name: test_entity_registry[button.security_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Bypass', + : 'Security Bypass', }), 'context': , 'entity_id': 'button.security_bypass', @@ -689,7 +689,7 @@ # name: test_entity_registry[button.temperature_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Temperature Bypass', + : 'Temperature Bypass', }), 'context': , 'entity_id': 'button.temperature_bypass', @@ -739,7 +739,7 @@ # name: test_entity_registry[button.test_bypass_all-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test Bypass all', + : 'test Bypass all', }), 'context': , 'entity_id': 'button.test_bypass_all', @@ -789,7 +789,7 @@ # name: test_entity_registry[button.test_clear_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test Clear bypass', + : 'test Clear bypass', }), 'context': , 'entity_id': 'button.test_clear_bypass', @@ -839,7 +839,7 @@ # name: test_entity_registry[button.unknown_bypass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Unknown Bypass', + : 'Unknown Bypass', }), 'context': , 'entity_id': 'button.unknown_bypass', diff --git a/tests/components/touchline/snapshots/test_climate.ambr b/tests/components/touchline/snapshots/test_climate.ambr index ed0e21fa70c..5c7fe4aa2fd 100644 --- a/tests/components/touchline/snapshots/test_climate.ambr +++ b/tests/components/touchline/snapshots/test_climate.ambr @@ -54,7 +54,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'Zone 1', + : 'Zone 1', : list([ , ]), @@ -69,7 +69,7 @@ 'program_2', 'program_3', ]), - 'supported_features': , + : , : 22.0, }), 'context': , diff --git a/tests/components/tplink/snapshots/test_binary_sensor.ambr b/tests/components/tplink/snapshots/test_binary_sensor.ambr index dc30ca28437..e2e4f37c262 100644 --- a/tests/components/tplink/snapshots/test_binary_sensor.ambr +++ b/tests/components/tplink/snapshots/test_binary_sensor.ambr @@ -76,8 +76,8 @@ # name: test_states[binary_sensor.my_device_cloud_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'my_device Cloud connection', + : 'connectivity', + : 'my_device Cloud connection', }), 'context': , 'entity_id': 'binary_sensor.my_device_cloud_connection', @@ -127,8 +127,8 @@ # name: test_states[binary_sensor.my_device_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'my_device Door', + : 'door', + : 'my_device Door', }), 'context': , 'entity_id': 'binary_sensor.my_device_door', @@ -215,8 +215,8 @@ # name: test_states[binary_sensor.my_device_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'my_device Moisture', + : 'moisture', + : 'my_device Moisture', }), 'context': , 'entity_id': 'binary_sensor.my_device_moisture', @@ -266,8 +266,8 @@ # name: test_states[binary_sensor.my_device_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'my_device Motion', + : 'motion', + : 'my_device Motion', }), 'context': , 'entity_id': 'binary_sensor.my_device_motion', @@ -317,8 +317,8 @@ # name: test_states[binary_sensor.my_device_overheated-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'my_device Overheated', + : 'problem', + : 'my_device Overheated', }), 'context': , 'entity_id': 'binary_sensor.my_device_overheated', @@ -368,8 +368,8 @@ # name: test_states[binary_sensor.my_device_overloaded-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'my_device Overloaded', + : 'problem', + : 'my_device Overloaded', }), 'context': , 'entity_id': 'binary_sensor.my_device_overloaded', diff --git a/tests/components/tplink/snapshots/test_button.ambr b/tests/components/tplink/snapshots/test_button.ambr index 6c8796f8230..4d0149b1348 100644 --- a/tests/components/tplink/snapshots/test_button.ambr +++ b/tests/components/tplink/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_states[button.my_device_pair_new_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Pair new device', + : 'my_device Pair new device', }), 'context': , 'entity_id': 'button.my_device_pair_new_device', @@ -89,7 +89,7 @@ # name: test_states[button.my_device_pan_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Pan left', + : 'my_device Pan left', }), 'context': , 'entity_id': 'button.my_device_pan_left', @@ -139,7 +139,7 @@ # name: test_states[button.my_device_pan_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Pan right', + : 'my_device Pan right', }), 'context': , 'entity_id': 'button.my_device_pan_right', @@ -411,7 +411,7 @@ # name: test_states[button.my_device_stop_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Stop alarm', + : 'my_device Stop alarm', }), 'context': , 'entity_id': 'button.my_device_stop_alarm', @@ -461,7 +461,7 @@ # name: test_states[button.my_device_test_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Test alarm', + : 'my_device Test alarm', }), 'context': , 'entity_id': 'button.my_device_test_alarm', @@ -511,7 +511,7 @@ # name: test_states[button.my_device_tilt_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Tilt down', + : 'my_device Tilt down', }), 'context': , 'entity_id': 'button.my_device_tilt_down', @@ -561,7 +561,7 @@ # name: test_states[button.my_device_tilt_up-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Tilt up', + : 'my_device Tilt up', }), 'context': , 'entity_id': 'button.my_device_tilt_up', diff --git a/tests/components/tplink/snapshots/test_camera.ambr b/tests/components/tplink/snapshots/test_camera.ambr index d9ed65a8c39..0f9158c0e9d 100644 --- a/tests/components/tplink/snapshots/test_camera.ambr +++ b/tests/components/tplink/snapshots/test_camera.ambr @@ -40,9 +40,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1caab5c3b3', - 'entity_picture': '/api/camera_proxy/camera.my_camera_live_view?token=1caab5c3b3', - 'friendly_name': 'my_camera Live view', - 'supported_features': , + : '/api/camera_proxy/camera.my_camera_live_view?token=1caab5c3b3', + : 'my_camera Live view', + : , }), 'context': , 'entity_id': 'camera.my_camera_live_view', diff --git a/tests/components/tplink/snapshots/test_climate.ambr b/tests/components/tplink/snapshots/test_climate.ambr index bec3269389d..f40b2e512da 100644 --- a/tests/components/tplink/snapshots/test_climate.ambr +++ b/tests/components/tplink/snapshots/test_climate.ambr @@ -47,7 +47,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.2, - 'friendly_name': 'thermostat', + : 'thermostat', : , : list([ , @@ -55,7 +55,7 @@ ]), : 30, : 5, - 'supported_features': , + : , : 22.2, }), 'context': , diff --git a/tests/components/tplink/snapshots/test_fan.ambr b/tests/components/tplink/snapshots/test_fan.ambr index d76a75d2344..993a8d67161 100644 --- a/tests/components/tplink/snapshots/test_fan.ambr +++ b/tests/components/tplink/snapshots/test_fan.ambr @@ -41,12 +41,12 @@ # name: test_states[fan.my_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device', + : 'my_device', : None, : 25.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.my_device', @@ -98,12 +98,12 @@ # name: test_states[fan.my_device_my_fan_0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device my_fan_0', + : 'my_device my_fan_0', : None, : 25.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.my_device_my_fan_0', @@ -155,12 +155,12 @@ # name: test_states[fan.my_device_my_fan_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device my_fan_1', + : 'my_device my_fan_1', : None, : 25.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.my_device_my_fan_1', diff --git a/tests/components/tplink/snapshots/test_number.ambr b/tests/components/tplink/snapshots/test_number.ambr index 41540be382a..f1fdeba6723 100644 --- a/tests/components/tplink/snapshots/test_number.ambr +++ b/tests/components/tplink/snapshots/test_number.ambr @@ -79,7 +79,7 @@ # name: test_states[number.my_device_clean_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Clean count', + : 'my_device Clean count', : 65536, : 0, : , @@ -138,7 +138,7 @@ # name: test_states[number.my_device_pan_degrees-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Pan degrees', + : 'my_device Pan degrees', : 65536, : 0, : , @@ -197,7 +197,7 @@ # name: test_states[number.my_device_power_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Power protection', + : 'my_device Power protection', : 65536, : 0, : , @@ -256,7 +256,7 @@ # name: test_states[number.my_device_smooth_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Smooth off', + : 'my_device Smooth off', : 60, : 0, : , @@ -315,7 +315,7 @@ # name: test_states[number.my_device_smooth_on-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Smooth on', + : 'my_device Smooth on', : 60, : 0, : , @@ -374,8 +374,8 @@ # name: test_states[number.my_device_temperature_offset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature_delta', - 'friendly_name': 'my_device Temperature offset', + : 'temperature_delta', + : 'my_device Temperature offset', : 10, : -10, : , @@ -434,7 +434,7 @@ # name: test_states[number.my_device_tilt_degrees-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Tilt degrees', + : 'my_device Tilt degrees', : 65536, : 0, : , @@ -493,7 +493,7 @@ # name: test_states[number.my_device_turn_off_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Turn off in', + : 'my_device Turn off in', : 60, : 0, : , diff --git a/tests/components/tplink/snapshots/test_select.ambr b/tests/components/tplink/snapshots/test_select.ambr index 3f2fdbcea13..a5e70e452e5 100644 --- a/tests/components/tplink/snapshots/test_select.ambr +++ b/tests/components/tplink/snapshots/test_select.ambr @@ -96,7 +96,7 @@ # name: test_states[select.my_device_alarm_sound-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Alarm sound', + : 'my_device Alarm sound', : list([ 'Doorbell Ring 1', 'Doorbell Ring 2', @@ -173,7 +173,7 @@ # name: test_states[select.my_device_alarm_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Alarm volume', + : 'my_device Alarm volume', : list([ 'low', 'normal', @@ -234,7 +234,7 @@ # name: test_states[select.my_device_light_preset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Light preset', + : 'my_device Light preset', : list([ 'Off', 'Preset 1', diff --git a/tests/components/tplink/snapshots/test_sensor.ambr b/tests/components/tplink/snapshots/test_sensor.ambr index 81ad3b5ffcc..2c845448bb0 100644 --- a/tests/components/tplink/snapshots/test_sensor.ambr +++ b/tests/components/tplink/snapshots/test_sensor.ambr @@ -111,8 +111,8 @@ # name: test_states[sensor.my_device_auto_off_at-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'my_device Auto-off at', + : 'timestamp', + : 'my_device Auto-off at', }), 'context': , 'entity_id': 'sensor.my_device_auto_off_at', @@ -164,10 +164,10 @@ # name: test_states[sensor.my_device_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'my_device Battery', + : 'battery', + : 'my_device Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_device_battery', @@ -305,10 +305,10 @@ # name: test_states[sensor.my_device_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'area', - 'friendly_name': 'my_device Cleaning area', + : 'area', + : 'my_device Cleaning area', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_device_cleaning_area', @@ -403,9 +403,9 @@ # name: test_states[sensor.my_device_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'my_device Cleaning time', - 'unit_of_measurement': , + : 'duration', + : 'my_device Cleaning time', + : , }), 'context': , 'entity_id': 'sensor.my_device_cleaning_time', @@ -460,10 +460,10 @@ # name: test_states[sensor.my_device_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'my_device Current', + : 'current', + : 'my_device Current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.my_device_current', @@ -518,10 +518,10 @@ # name: test_states[sensor.my_device_current_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'my_device Current consumption', + : 'power', + : 'my_device Current consumption', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.my_device_current_consumption', @@ -623,8 +623,8 @@ # name: test_states[sensor.my_device_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'my_device Error', + : 'enum', + : 'my_device Error', : list([ 'ok', 'sidebrushstuck', @@ -770,10 +770,10 @@ # name: test_states[sensor.my_device_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'my_device Humidity', + : 'humidity', + : 'my_device Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_device_humidity', @@ -942,8 +942,8 @@ # name: test_states[sensor.my_device_last_water_leak_alert-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'my_device Last water leak alert', + : 'timestamp', + : 'my_device Last water leak alert', }), 'context': , 'entity_id': 'sensor.my_device_last_water_leak_alert', @@ -1309,7 +1309,7 @@ # name: test_states[sensor.my_device_signal_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Signal level', + : 'my_device Signal level', : , }), 'context': , @@ -1480,10 +1480,10 @@ # name: test_states[sensor.my_device_this_month_s_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': "my_device This month's consumption", + : 'energy', + : "my_device This month's consumption", : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.my_device_this_month_s_consumption', @@ -1538,10 +1538,10 @@ # name: test_states[sensor.my_device_today_s_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': "my_device Today's consumption", + : 'energy', + : "my_device Today's consumption", : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.my_device_today_s_consumption', @@ -1719,10 +1719,10 @@ # name: test_states[sensor.my_device_total_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'my_device Total consumption', + : 'energy', + : 'my_device Total consumption', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.my_device_total_consumption', @@ -1777,10 +1777,10 @@ # name: test_states[sensor.my_device_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'my_device Voltage', + : 'voltage', + : 'my_device Voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.my_device_voltage', diff --git a/tests/components/tplink/snapshots/test_siren.ambr b/tests/components/tplink/snapshots/test_siren.ambr index ad33b12241f..b0dec2f49ac 100644 --- a/tests/components/tplink/snapshots/test_siren.ambr +++ b/tests/components/tplink/snapshots/test_siren.ambr @@ -83,8 +83,8 @@ 'Foo', 'Bar', ), - 'friendly_name': 'hub', - 'supported_features': , + : 'hub', + : , }), 'context': , 'entity_id': 'siren.hub', diff --git a/tests/components/tplink/snapshots/test_switch.ambr b/tests/components/tplink/snapshots/test_switch.ambr index fa7172d4666..3654e37c8b2 100644 --- a/tests/components/tplink/snapshots/test_switch.ambr +++ b/tests/components/tplink/snapshots/test_switch.ambr @@ -74,7 +74,7 @@ # name: test_states[switch.my_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device', + : 'my_device', }), 'context': , 'entity_id': 'switch.my_device', @@ -124,7 +124,7 @@ # name: test_states[switch.my_device_auto_off_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Auto-off enabled', + : 'my_device Auto-off enabled', }), 'context': , 'entity_id': 'switch.my_device_auto_off_enabled', @@ -174,7 +174,7 @@ # name: test_states[switch.my_device_auto_update_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Auto-update enabled', + : 'my_device Auto-update enabled', }), 'context': , 'entity_id': 'switch.my_device_auto_update_enabled', @@ -224,7 +224,7 @@ # name: test_states[switch.my_device_baby_cry_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Baby cry detection', + : 'my_device Baby cry detection', }), 'context': , 'entity_id': 'switch.my_device_baby_cry_detection', @@ -274,7 +274,7 @@ # name: test_states[switch.my_device_carpet_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Carpet boost', + : 'my_device Carpet boost', }), 'context': , 'entity_id': 'switch.my_device_carpet_boost', @@ -324,7 +324,7 @@ # name: test_states[switch.my_device_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Child lock', + : 'my_device Child lock', }), 'context': , 'entity_id': 'switch.my_device_child_lock', @@ -374,7 +374,7 @@ # name: test_states[switch.my_device_fan_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Fan sleep mode', + : 'my_device Fan sleep mode', }), 'context': , 'entity_id': 'switch.my_device_fan_sleep_mode', @@ -424,7 +424,7 @@ # name: test_states[switch.my_device_led-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device LED', + : 'my_device LED', }), 'context': , 'entity_id': 'switch.my_device_led', @@ -474,7 +474,7 @@ # name: test_states[switch.my_device_motion_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Motion detection', + : 'my_device Motion detection', }), 'context': , 'entity_id': 'switch.my_device_motion_detection', @@ -524,7 +524,7 @@ # name: test_states[switch.my_device_motion_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Motion sensor', + : 'my_device Motion sensor', }), 'context': , 'entity_id': 'switch.my_device_motion_sensor', @@ -574,7 +574,7 @@ # name: test_states[switch.my_device_person_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Person detection', + : 'my_device Person detection', }), 'context': , 'entity_id': 'switch.my_device_person_detection', @@ -624,7 +624,7 @@ # name: test_states[switch.my_device_smooth_transitions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Smooth transitions', + : 'my_device Smooth transitions', }), 'context': , 'entity_id': 'switch.my_device_smooth_transitions', @@ -674,7 +674,7 @@ # name: test_states[switch.my_device_tamper_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'my_device Tamper detection', + : 'my_device Tamper detection', }), 'context': , 'entity_id': 'switch.my_device_tamper_detection', diff --git a/tests/components/tplink/snapshots/test_vacuum.ambr b/tests/components/tplink/snapshots/test_vacuum.ambr index a06ae368fa3..19344d96c88 100644 --- a/tests/components/tplink/snapshots/test_vacuum.ambr +++ b/tests/components/tplink/snapshots/test_vacuum.ambr @@ -86,8 +86,8 @@ 'quiet', 'max', ]), - 'friendly_name': 'my_vacuum', - 'supported_features': , + : 'my_vacuum', + : , }), 'context': , 'entity_id': 'vacuum.my_vacuum', diff --git a/tests/components/tplink_omada/snapshots/test_binary_sensor.ambr b/tests/components/tplink_omada/snapshots/test_binary_sensor.ambr index 0d6e2b8f350..609e7f11b82 100644 --- a/tests/components/tplink_omada/snapshots/test_binary_sensor.ambr +++ b/tests/components/tplink_omada/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_entities[binary_sensor.test_router_port_10_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 10 LAN status', + : 'connectivity', + : 'Test Router Port 10 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_10_lan_status', @@ -90,8 +90,8 @@ # name: test_entities[binary_sensor.test_router_port_10_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 10 PoE delivery', + : 'power', + : 'Test Router Port 10 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_10_poe_delivery', @@ -141,8 +141,8 @@ # name: test_entities[binary_sensor.test_router_port_11_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 11 LAN status', + : 'connectivity', + : 'Test Router Port 11 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_11_lan_status', @@ -192,8 +192,8 @@ # name: test_entities[binary_sensor.test_router_port_11_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 11 PoE delivery', + : 'power', + : 'Test Router Port 11 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_11_poe_delivery', @@ -243,8 +243,8 @@ # name: test_entities[binary_sensor.test_router_port_12_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 12 LAN status', + : 'connectivity', + : 'Test Router Port 12 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_12_lan_status', @@ -294,8 +294,8 @@ # name: test_entities[binary_sensor.test_router_port_12_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 12 PoE delivery', + : 'power', + : 'Test Router Port 12 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_12_poe_delivery', @@ -345,8 +345,8 @@ # name: test_entities[binary_sensor.test_router_port_1_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 1 LAN status', + : 'connectivity', + : 'Test Router Port 1 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_1_lan_status', @@ -396,8 +396,8 @@ # name: test_entities[binary_sensor.test_router_port_2_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 2 LAN status', + : 'connectivity', + : 'Test Router Port 2 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_2_lan_status', @@ -447,8 +447,8 @@ # name: test_entities[binary_sensor.test_router_port_4_internet_link-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 4 Internet link', + : 'connectivity', + : 'Test Router Port 4 Internet link', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_4_internet_link', @@ -498,8 +498,8 @@ # name: test_entities[binary_sensor.test_router_port_4_online_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 4 online detection', + : 'connectivity', + : 'Test Router Port 4 online detection', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_4_online_detection', @@ -549,8 +549,8 @@ # name: test_entities[binary_sensor.test_router_port_5_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 5 LAN status', + : 'connectivity', + : 'Test Router Port 5 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_5_lan_status', @@ -600,8 +600,8 @@ # name: test_entities[binary_sensor.test_router_port_5_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 5 PoE delivery', + : 'power', + : 'Test Router Port 5 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_5_poe_delivery', @@ -651,8 +651,8 @@ # name: test_entities[binary_sensor.test_router_port_6_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 6 LAN status', + : 'connectivity', + : 'Test Router Port 6 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_6_lan_status', @@ -702,8 +702,8 @@ # name: test_entities[binary_sensor.test_router_port_6_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 6 PoE delivery', + : 'power', + : 'Test Router Port 6 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_6_poe_delivery', @@ -753,8 +753,8 @@ # name: test_entities[binary_sensor.test_router_port_7_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 7 LAN status', + : 'connectivity', + : 'Test Router Port 7 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_7_lan_status', @@ -804,8 +804,8 @@ # name: test_entities[binary_sensor.test_router_port_7_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 7 PoE delivery', + : 'power', + : 'Test Router Port 7 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_7_poe_delivery', @@ -855,8 +855,8 @@ # name: test_entities[binary_sensor.test_router_port_8_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 8 LAN status', + : 'connectivity', + : 'Test Router Port 8 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_8_lan_status', @@ -906,8 +906,8 @@ # name: test_entities[binary_sensor.test_router_port_8_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 8 PoE delivery', + : 'power', + : 'Test Router Port 8 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_8_poe_delivery', @@ -957,8 +957,8 @@ # name: test_entities[binary_sensor.test_router_port_9_lan_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Test Router Port 9 LAN status', + : 'connectivity', + : 'Test Router Port 9 LAN status', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_9_lan_status', @@ -1008,8 +1008,8 @@ # name: test_entities[binary_sensor.test_router_port_9_poe_delivery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Router Port 9 PoE delivery', + : 'power', + : 'Test Router Port 9 PoE delivery', }), 'context': , 'entity_id': 'binary_sensor.test_router_port_9_poe_delivery', diff --git a/tests/components/tplink_omada/snapshots/test_device_tracker.ambr b/tests/components/tplink_omada/snapshots/test_device_tracker.ambr index 15c7b370579..7295b1f8951 100644 --- a/tests/components/tplink_omada/snapshots/test_device_tracker.ambr +++ b/tests/components/tplink_omada/snapshots/test_device_tracker.ambr @@ -2,7 +2,7 @@ # name: test_device_scanner_created StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Banana', + : 'Banana', : 'testhost', : list([ 'zone.home', @@ -23,7 +23,7 @@ # name: test_device_scanner_update_to_away_nulls_properties StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Banana', + : 'Banana', : list([ ]), : '2C-71-FF-ED-34-83', diff --git a/tests/components/tplink_omada/snapshots/test_sensor.ambr b/tests/components/tplink_omada/snapshots/test_sensor.ambr index 9be3bebc0fe..7899d737b0b 100644 --- a/tests/components/tplink_omada/snapshots/test_sensor.ambr +++ b/tests/components/tplink_omada/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_entities[sensor.test_poe_switch_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test PoE Switch CPU usage', + : 'Test PoE Switch CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_poe_switch_cpu_usage', @@ -103,8 +103,8 @@ # name: test_entities[sensor.test_poe_switch_device_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test PoE Switch Device status', + : 'enum', + : 'Test PoE Switch Device status', : list([ 'disconnected', 'connected', @@ -165,9 +165,9 @@ # name: test_entities[sensor.test_poe_switch_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test PoE Switch Memory usage', + : 'Test PoE Switch Memory usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_poe_switch_memory_usage', @@ -219,9 +219,9 @@ # name: test_entities[sensor.test_router_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Router CPU usage', + : 'Test Router CPU usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_router_cpu_usage', @@ -281,8 +281,8 @@ # name: test_entities[sensor.test_router_device_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Router Device status', + : 'enum', + : 'Test Router Device status', : list([ 'disconnected', 'connected', @@ -343,9 +343,9 @@ # name: test_entities[sensor.test_router_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Router Memory usage', + : 'Test Router Memory usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_router_memory_usage', diff --git a/tests/components/tplink_omada/snapshots/test_switch.ambr b/tests/components/tplink_omada/snapshots/test_switch.ambr index 371b0346459..049299c9a8b 100644 --- a/tests/components/tplink_omada/snapshots/test_switch.ambr +++ b/tests/components/tplink_omada/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_gateway_api_fail_disables_switch_entities StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Router Port 4 Internet connected', + : 'Test Router Port 4 Internet connected', }), 'context': , 'entity_id': 'switch.test_router_port_4_internet_connected', @@ -15,7 +15,7 @@ # name: test_gateway_connect_ipv4_switch StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Router Port 4 Internet connected', + : 'Test Router Port 4 Internet connected', }), 'context': , 'entity_id': 'switch.test_router_port_4_internet_connected', @@ -28,7 +28,7 @@ # name: test_gateway_port_change_disables_switch_entities StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Router Port 4 Internet connected', + : 'Test Router Port 4 Internet connected', }), 'context': , 'entity_id': 'switch.test_router_port_4_internet_connected', @@ -41,7 +41,7 @@ # name: test_gateway_port_poe_switch StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Router Port 5 PoE', + : 'Test Router Port 5 PoE', }), 'context': , 'entity_id': 'switch.test_router_port_5_poe', @@ -54,7 +54,7 @@ # name: test_poe_switches StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test PoE Switch Port 1 PoE', + : 'Test PoE Switch Port 1 PoE', }), 'context': , 'entity_id': 'switch.test_poe_switch_port_1_poe', @@ -104,7 +104,7 @@ # name: test_poe_switches.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test PoE Switch Port 2 (Renamed Port) PoE', + : 'Test PoE Switch Port 2 (Renamed Port) PoE', }), 'context': , 'entity_id': 'switch.test_poe_switch_port_2_renamed_port_poe', diff --git a/tests/components/tplink_omada/snapshots/test_update.ambr b/tests/components/tplink_omada/snapshots/test_update.ambr index b08c9a54cf2..46cd30814fc 100644 --- a/tests/components/tplink_omada/snapshots/test_update.ambr +++ b/tests/components/tplink_omada/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/tplink_omada/icon.png', - 'friendly_name': 'Test PoE Switch Firmware', + : '/api/brands/integration/tplink_omada/icon.png', + : 'Test PoE Switch Firmware', : False, : '1.0.12 Build 20230203 Rel.36545', : '1.0.15 Build 20231101 Rel.40123', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -103,17 +103,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/tplink_omada/icon.png', - 'friendly_name': 'Test Router Firmware', + : '/api/brands/integration/tplink_omada/icon.png', + : 'Test Router Firmware', : False, : '1.1.1 Build 20230901 Rel.55651', : '1.1.1 Build 20230901 Rel.55651', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/tractive/snapshots/test_binary_sensor.ambr b/tests/components/tractive/snapshots/test_binary_sensor.ambr index 97d26a532b5..d2ea94f8e1a 100644 --- a/tests/components/tractive/snapshots/test_binary_sensor.ambr +++ b/tests/components/tractive/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[binary_sensor.tracker_device_id_123_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Tracker device_id_123 Charging', + : 'battery_charging', + : 'Tracker device_id_123 Charging', }), 'context': , 'entity_id': 'binary_sensor.tracker_device_id_123_charging', @@ -90,7 +90,7 @@ # name: test_binary_sensor[binary_sensor.tracker_device_id_123_power_saving-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tracker device_id_123 Power saving', + : 'Tracker device_id_123 Power saving', }), 'context': , 'entity_id': 'binary_sensor.tracker_device_id_123_power_saving', diff --git a/tests/components/tractive/snapshots/test_device_tracker.ambr b/tests/components/tractive/snapshots/test_device_tracker.ambr index a074c280cae..6ec0373decf 100644 --- a/tests/components/tractive/snapshots/test_device_tracker.ambr +++ b/tests/components/tractive/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker[device_tracker.tracker_device_id_123-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tracker device_id_123', + : 'Tracker device_id_123', : 99, : list([ ]), diff --git a/tests/components/tractive/snapshots/test_sensor.ambr b/tests/components/tractive/snapshots/test_sensor.ambr index 20bfd24e5cb..fa4d971a1c8 100644 --- a/tests/components/tractive/snapshots/test_sensor.ambr +++ b/tests/components/tractive/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensor[sensor.test_pet_activity_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Pet Activity time', + : 'Test Pet Activity time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_pet_activity_time', @@ -93,8 +93,8 @@ # name: test_sensor[sensor.test_pet_daily_goal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Pet Daily goal', - 'unit_of_measurement': , + : 'Test Pet Daily goal', + : , }), 'context': , 'entity_id': 'sensor.test_pet_daily_goal', @@ -146,9 +146,9 @@ # name: test_sensor[sensor.test_pet_day_sleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Pet Day sleep', + : 'Test Pet Day sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_pet_day_sleep', @@ -200,9 +200,9 @@ # name: test_sensor[sensor.test_pet_night_sleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Pet Night sleep', + : 'Test Pet Night sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_pet_night_sleep', @@ -254,9 +254,9 @@ # name: test_sensor[sensor.test_pet_rest_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Pet Rest time', + : 'Test Pet Rest time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_pet_rest_time', @@ -306,9 +306,9 @@ # name: test_sensor[sensor.tracker_device_id_123_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Tracker device_id_123 Battery', - 'unit_of_measurement': '%', + : 'battery', + : 'Tracker device_id_123 Battery', + : '%', }), 'context': , 'entity_id': 'sensor.tracker_device_id_123_battery', @@ -366,8 +366,8 @@ # name: test_sensor[sensor.tracker_device_id_123_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Tracker device_id_123 Status', + : 'enum', + : 'Tracker device_id_123 Status', : list([ 'inaccurate_position', 'not_reporting', diff --git a/tests/components/tractive/snapshots/test_switch.ambr b/tests/components/tractive/snapshots/test_switch.ambr index 4174bfec1a9..de6b58d14ad 100644 --- a/tests/components/tractive/snapshots/test_switch.ambr +++ b/tests/components/tractive/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch[switch.tracker_device_id_123_buzzer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tracker device_id_123 Buzzer', + : 'Tracker device_id_123 Buzzer', }), 'context': , 'entity_id': 'switch.tracker_device_id_123_buzzer', @@ -89,7 +89,7 @@ # name: test_switch[switch.tracker_device_id_123_led-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tracker device_id_123 LED', + : 'Tracker device_id_123 LED', }), 'context': , 'entity_id': 'switch.tracker_device_id_123_led', @@ -139,7 +139,7 @@ # name: test_switch[switch.tracker_device_id_123_live_tracking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tracker device_id_123 Live tracking', + : 'Tracker device_id_123 Live tracking', }), 'context': , 'entity_id': 'switch.tracker_device_id_123_live_tracking', diff --git a/tests/components/trafikverket_train/snapshots/test_sensor.ambr b/tests/components/trafikverket_train/snapshots/test_sensor.ambr index 40cd0b583a1..30b406dce66 100644 --- a/tests/components/trafikverket_train/snapshots/test_sensor.ambr +++ b/tests/components/trafikverket_train/snapshots/test_sensor.ambr @@ -2,9 +2,9 @@ # name: test_sensor_next StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Departure time', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Departure time', 'product_filter': 'Regionaltåg', }), 'context': , @@ -18,9 +18,9 @@ # name: test_sensor_next.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'enum', - 'friendly_name': 'Stockholm C to Uppsala C Departure state', + : 'Data provided by Trafikverket', + : 'enum', + : 'Stockholm C to Uppsala C Departure state', : list([ 'on_time', 'delayed', @@ -39,9 +39,9 @@ # name: test_sensor_next.10 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Departure time next', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Departure time next', 'product_filter': 'Regionaltåg', }), 'context': , @@ -55,9 +55,9 @@ # name: test_sensor_next.11 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Departure time next after', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Departure time next after', 'product_filter': 'Regionaltåg', }), 'context': , @@ -71,9 +71,9 @@ # name: test_sensor_next.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Actual time', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Actual time', 'product_filter': 'Regionaltåg', }), 'context': , @@ -87,8 +87,8 @@ # name: test_sensor_next.3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'friendly_name': 'Stockholm C to Uppsala C Other information', + : 'Data provided by Trafikverket', + : 'Stockholm C to Uppsala C Other information', 'product_filter': 'Regionaltåg', }), 'context': , @@ -102,9 +102,9 @@ # name: test_sensor_next.4 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Departure time next', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Departure time next', 'product_filter': 'Regionaltåg', }), 'context': , @@ -118,9 +118,9 @@ # name: test_sensor_next.5 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Departure time next after', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Departure time next after', 'product_filter': 'Regionaltåg', }), 'context': , @@ -134,9 +134,9 @@ # name: test_sensor_next.6 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Departure time', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Departure time', 'product_filter': 'Regionaltåg', }), 'context': , @@ -150,9 +150,9 @@ # name: test_sensor_next.7 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'enum', - 'friendly_name': 'Stockholm C to Uppsala C Departure state', + : 'Data provided by Trafikverket', + : 'enum', + : 'Stockholm C to Uppsala C Departure state', : list([ 'on_time', 'delayed', @@ -171,9 +171,9 @@ # name: test_sensor_next.8 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Actual time', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Actual time', 'product_filter': 'Regionaltåg', }), 'context': , @@ -187,8 +187,8 @@ # name: test_sensor_next.9 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'friendly_name': 'Stockholm C to Uppsala C Other information', + : 'Data provided by Trafikverket', + : 'Stockholm C to Uppsala C Other information', 'product_filter': 'Regionaltåg', }), 'context': , @@ -202,9 +202,9 @@ # name: test_sensor_single_stop StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by Trafikverket', - 'device_class': 'timestamp', - 'friendly_name': 'Stockholm C to Uppsala C Departure time', + : 'Data provided by Trafikverket', + : 'timestamp', + : 'Stockholm C to Uppsala C Departure time', }), 'context': , 'entity_id': 'sensor.stockholm_c_to_uppsala_c_departure_time_2', diff --git a/tests/components/trane/snapshots/test_climate.ambr b/tests/components/trane/snapshots/test_climate.ambr index 58ee0f2d4fd..886de10fbe8 100644 --- a/tests/components/trane/snapshots/test_climate.ambr +++ b/tests/components/trane/snapshots/test_climate.ambr @@ -63,7 +63,7 @@ 'on', 'circulate', ]), - 'friendly_name': 'Living Room', + : 'Living Room', : , : list([ , @@ -74,7 +74,7 @@ ]), : 95, : 45, - 'supported_features': , + : , : 76, : 68, : 1.0, diff --git a/tests/components/trane/snapshots/test_switch.ambr b/tests/components/trane/snapshots/test_switch.ambr index b27edf0032f..a67bb773ae4 100644 --- a/tests/components/trane/snapshots/test_switch.ambr +++ b/tests/components/trane/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.living_room_living_room_hold-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Hold', + : 'Living Room Hold', }), 'context': , 'entity_id': 'switch.living_room_living_room_hold', diff --git a/tests/components/transmission/snapshots/test_sensor.ambr b/tests/components/transmission/snapshots/test_sensor.ambr index 6f6c9ad6ced..ab17d00f61f 100644 --- a/tests/components/transmission/snapshots/test_sensor.ambr +++ b/tests/components/transmission/snapshots/test_sensor.ambr @@ -39,10 +39,10 @@ # name: test_sensors[sensor.transmission_active_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Active torrents', + : 'Transmission Active torrents', 'torrent_info': dict({ }), - 'unit_of_measurement': 'torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.transmission_active_torrents', @@ -92,10 +92,10 @@ # name: test_sensors[sensor.transmission_completed_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Completed torrents', + : 'Transmission Completed torrents', 'torrent_info': dict({ }), - 'unit_of_measurement': 'torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.transmission_completed_torrents', @@ -151,9 +151,9 @@ # name: test_sensors[sensor.transmission_download_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Transmission Download speed', - 'unit_of_measurement': , + : 'data_rate', + : 'Transmission Download speed', + : , }), 'context': , 'entity_id': 'sensor.transmission_download_speed', @@ -203,10 +203,10 @@ # name: test_sensors[sensor.transmission_paused_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Paused torrents', + : 'Transmission Paused torrents', 'torrent_info': dict({ }), - 'unit_of_measurement': 'torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.transmission_paused_torrents', @@ -264,10 +264,10 @@ # name: test_sensors[sensor.transmission_session_download-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Transmission Session download', + : 'data_size', + : 'Transmission Session download', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.transmission_session_download', @@ -322,7 +322,7 @@ # name: test_sensors[sensor.transmission_session_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Session ratio', + : 'Transmission Session ratio', : , }), 'context': , @@ -381,10 +381,10 @@ # name: test_sensors[sensor.transmission_session_upload-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Transmission Session upload', + : 'data_size', + : 'Transmission Session upload', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.transmission_session_upload', @@ -434,10 +434,10 @@ # name: test_sensors[sensor.transmission_started_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Started torrents', + : 'Transmission Started torrents', 'torrent_info': dict({ }), - 'unit_of_measurement': 'torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.transmission_started_torrents', @@ -494,8 +494,8 @@ # name: test_sensors[sensor.transmission_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Transmission Status', + : 'enum', + : 'Transmission Status', : list([ 'idle', 'up_down', @@ -559,10 +559,10 @@ # name: test_sensors[sensor.transmission_total_download-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Transmission Total download', + : 'data_size', + : 'Transmission Total download', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.transmission_total_download', @@ -617,7 +617,7 @@ # name: test_sensors[sensor.transmission_total_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Total ratio', + : 'Transmission Total ratio', : , }), 'context': , @@ -668,10 +668,10 @@ # name: test_sensors[sensor.transmission_total_torrents-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Total torrents', + : 'Transmission Total torrents', 'torrent_info': dict({ }), - 'unit_of_measurement': 'torrents', + : 'torrents', }), 'context': , 'entity_id': 'sensor.transmission_total_torrents', @@ -729,10 +729,10 @@ # name: test_sensors[sensor.transmission_total_upload-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'Transmission Total upload', + : 'data_size', + : 'Transmission Total upload', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.transmission_total_upload', @@ -788,9 +788,9 @@ # name: test_sensors[sensor.transmission_upload_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Transmission Upload speed', - 'unit_of_measurement': , + : 'data_rate', + : 'Transmission Upload speed', + : , }), 'context': , 'entity_id': 'sensor.transmission_upload_speed', diff --git a/tests/components/transmission/snapshots/test_switch.ambr b/tests/components/transmission/snapshots/test_switch.ambr index 642c4b0bb57..cbdd73a438a 100644 --- a/tests/components/transmission/snapshots/test_switch.ambr +++ b/tests/components/transmission/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.transmission_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Switch', + : 'Transmission Switch', }), 'context': , 'entity_id': 'switch.transmission_switch', @@ -89,7 +89,7 @@ # name: test_switches[switch.transmission_turtle_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Transmission Turtle mode', + : 'Transmission Turtle mode', }), 'context': , 'entity_id': 'switch.transmission_turtle_mode', diff --git a/tests/components/trmnl/snapshots/test_sensor.ambr b/tests/components/trmnl/snapshots/test_sensor.ambr index c0cde223c0d..ad51336ef78 100644 --- a/tests/components/trmnl/snapshots/test_sensor.ambr +++ b/tests/components/trmnl/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.test_trmnl_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Test TRMNL Battery', + : 'battery', + : 'Test TRMNL Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_trmnl_battery', @@ -99,10 +99,10 @@ # name: test_all_entities[sensor.test_trmnl_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Test TRMNL Battery voltage', + : 'voltage', + : 'Test TRMNL Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_trmnl_battery_voltage', @@ -154,10 +154,10 @@ # name: test_all_entities[sensor.test_trmnl_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Test TRMNL Signal strength', + : 'signal_strength', + : 'Test TRMNL Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.test_trmnl_signal_strength', @@ -209,9 +209,9 @@ # name: test_all_entities[sensor.test_trmnl_wi_fi_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test TRMNL Wi-Fi strength', + : 'Test TRMNL Wi-Fi strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_trmnl_wi_fi_strength', diff --git a/tests/components/trmnl/snapshots/test_switch.ambr b/tests/components/trmnl/snapshots/test_switch.ambr index 4b214f13226..015b27421a7 100644 --- a/tests/components/trmnl/snapshots/test_switch.ambr +++ b/tests/components/trmnl/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.test_trmnl_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test TRMNL Sleep mode', + : 'Test TRMNL Sleep mode', }), 'context': , 'entity_id': 'switch.test_trmnl_sleep_mode', diff --git a/tests/components/trmnl/snapshots/test_time.ambr b/tests/components/trmnl/snapshots/test_time.ambr index 0ea2f8e3677..834cd346f42 100644 --- a/tests/components/trmnl/snapshots/test_time.ambr +++ b/tests/components/trmnl/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[time.test_trmnl_sleep_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test TRMNL Sleep end time', + : 'Test TRMNL Sleep end time', }), 'context': , 'entity_id': 'time.test_trmnl_sleep_end_time', @@ -89,7 +89,7 @@ # name: test_all_entities[time.test_trmnl_sleep_start_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test TRMNL Sleep start time', + : 'Test TRMNL Sleep start time', }), 'context': , 'entity_id': 'time.test_trmnl_sleep_start_time', diff --git a/tests/components/tuya/snapshots/test_alarm_control_panel.ambr b/tests/components/tuya/snapshots/test_alarm_control_panel.ambr index faac377987c..935f7b116a7 100644 --- a/tests/components/tuya/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/tuya/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : None, : False, : None, - 'friendly_name': 'C30', - 'supported_features': , + : 'C30', + : , }), 'context': , 'entity_id': 'alarm_control_panel.c30', @@ -96,8 +96,8 @@ : None, : False, : None, - 'friendly_name': 'Multifunction alarm', - 'supported_features': , + : 'Multifunction alarm', + : , }), 'context': , 'entity_id': 'alarm_control_panel.multifunction_alarm', diff --git a/tests/components/tuya/snapshots/test_binary_sensor.ambr b/tests/components/tuya/snapshots/test_binary_sensor.ambr index 12c9c3ef444..fd75b4da641 100644 --- a/tests/components/tuya/snapshots/test_binary_sensor.ambr +++ b/tests/components/tuya/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.aqi_safety-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'AQI Safety', + : 'safety', + : 'AQI Safety', }), 'context': , 'entity_id': 'binary_sensor.aqi_safety', @@ -90,8 +90,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.arida_stavern_tank_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Arida Stavern Tank full', + : 'problem', + : 'Arida Stavern Tank full', }), 'context': , 'entity_id': 'binary_sensor.arida_stavern_tank_full', @@ -141,8 +141,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.boite_aux_lettres_arriere_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Boîte aux lettres - arrière Door', + : 'door', + : 'Boîte aux lettres - arrière Door', }), 'context': , 'entity_id': 'binary_sensor.boite_aux_lettres_arriere_door', @@ -192,8 +192,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.c30_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'C30 Charging', + : 'battery_charging', + : 'C30 Charging', }), 'context': , 'entity_id': 'binary_sensor.c30_charging', @@ -243,7 +243,7 @@ # name: test_platform_setup_and_discovery[binary_sensor.cat_feeder_feeding-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cat Feeder Feeding', + : 'Cat Feeder Feeding', }), 'context': , 'entity_id': 'binary_sensor.cat_feeder_feeding', @@ -293,8 +293,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.cleverio_pf100_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Cleverio PF100 Charging', + : 'battery_charging', + : 'Cleverio PF100 Charging', }), 'context': , 'entity_id': 'binary_sensor.cleverio_pf100_charging', @@ -344,8 +344,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.d825a_i_tank_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'D825A I Tank full', + : 'problem', + : 'D825A I Tank full', }), 'context': , 'entity_id': 'binary_sensor.d825a_i_tank_full', @@ -395,8 +395,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifer_defrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifer Defrost', + : 'problem', + : 'Dehumidifer Defrost', }), 'context': , 'entity_id': 'binary_sensor.dehumidifer_defrost', @@ -446,8 +446,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifer_tank_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifer Tank full', + : 'problem', + : 'Dehumidifer Tank full', }), 'context': , 'entity_id': 'binary_sensor.dehumidifer_tank_full', @@ -497,8 +497,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifer_temperature_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifer Temperature error', + : 'problem', + : 'Dehumidifer Temperature error', }), 'context': , 'entity_id': 'binary_sensor.dehumidifer_temperature_error', @@ -548,8 +548,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifier_defrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifier Defrost', + : 'problem', + : 'Dehumidifier Defrost', }), 'context': , 'entity_id': 'binary_sensor.dehumidifier_defrost', @@ -599,8 +599,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifier_tank_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifier Tank full', + : 'problem', + : 'Dehumidifier Tank full', }), 'context': , 'entity_id': 'binary_sensor.dehumidifier_tank_full', @@ -650,8 +650,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifier_temperature_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifier Temperature error', + : 'problem', + : 'Dehumidifier Temperature error', }), 'context': , 'entity_id': 'binary_sensor.dehumidifier_temperature_error', @@ -701,8 +701,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifier_temperature_error_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifier Temperature error', + : 'problem', + : 'Dehumidifier Temperature error', }), 'context': , 'entity_id': 'binary_sensor.dehumidifier_temperature_error_2', @@ -752,8 +752,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dehumidifier_wet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Dehumidifier Wet', + : 'problem', + : 'Dehumidifier Wet', }), 'context': , 'entity_id': 'binary_sensor.dehumidifier_wet', @@ -803,8 +803,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_coil_freeze_defrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Coil freeze/defrost', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Coil freeze/defrost', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_coil_freeze_defrost', @@ -854,8 +854,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_filter_cleaning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Filter cleaning', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Filter cleaning', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_filter_cleaning', @@ -905,8 +905,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_high_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge High temperature', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge High temperature', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_high_temperature', @@ -956,8 +956,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_low_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Low humidity', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Low humidity', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_low_humidity', @@ -1007,8 +1007,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_low_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Low temperature', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Low temperature', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_low_temperature', @@ -1058,8 +1058,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_motor_fault-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Motor fault', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Motor fault', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_motor_fault', @@ -1109,8 +1109,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_tank_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Tank full', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Tank full', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_tank_full', @@ -1160,8 +1160,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_temperature_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Temperature error', + : 'problem', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Temperature error', }), 'context': , 'entity_id': 'binary_sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_temperature_error', @@ -1211,8 +1211,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.door_garage_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Door Garage Door', + : 'door', + : 'Door Garage Door', }), 'context': , 'entity_id': 'binary_sensor.door_garage_door', @@ -1262,8 +1262,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.dryfix_temperature_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'DryFix Temperature error', + : 'problem', + : 'DryFix Temperature error', }), 'context': , 'entity_id': 'binary_sensor.dryfix_temperature_error', @@ -1313,8 +1313,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.fenetre_cuisine_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Fenêtre cuisine Door', + : 'door', + : 'Fenêtre cuisine Door', }), 'context': , 'entity_id': 'binary_sensor.fenetre_cuisine_door', @@ -1364,8 +1364,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.fenetre_cuisine_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Fenêtre cuisine Tamper', + : 'tamper', + : 'Fenêtre cuisine Tamper', }), 'context': , 'entity_id': 'binary_sensor.fenetre_cuisine_tamper', @@ -1415,8 +1415,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.garage_contact_sensor_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Garage Contact Sensor Door', + : 'door', + : 'Garage Contact Sensor Door', }), 'context': , 'entity_id': 'binary_sensor.garage_contact_sensor_door', @@ -1466,8 +1466,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.gas_sensor_gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas sensor Gas', + : 'gas', + : 'Gas sensor Gas', }), 'context': , 'entity_id': 'binary_sensor.gas_sensor_gas', @@ -1517,8 +1517,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.gateway_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Gateway Problem', + : 'problem', + : 'Gateway Problem', }), 'context': , 'entity_id': 'binary_sensor.gateway_problem', @@ -1568,8 +1568,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.home_gateway_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Home Gateway Problem', + : 'problem', + : 'Home Gateway Problem', }), 'context': , 'entity_id': 'binary_sensor.home_gateway_problem', @@ -1619,8 +1619,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.human_presence_office_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Human presence Office Occupancy', + : 'occupancy', + : 'Human presence Office Occupancy', }), 'context': , 'entity_id': 'binary_sensor.human_presence_office_occupancy', @@ -1670,8 +1670,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.inondation_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Inondation Moisture', + : 'moisture', + : 'Inondation Moisture', }), 'context': , 'entity_id': 'binary_sensor.inondation_moisture', @@ -1721,8 +1721,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.kattenbak_bag_full-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Kattenbak Bag full', + : 'problem', + : 'Kattenbak Bag full', }), 'context': , 'entity_id': 'binary_sensor.kattenbak_bag_full', @@ -1772,8 +1772,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.kattenbak_cover_off-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Kattenbak Cover off', + : 'problem', + : 'Kattenbak Cover off', }), 'context': , 'entity_id': 'binary_sensor.kattenbak_cover_off', @@ -1823,8 +1823,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.living_room_dehumidifier_temperature_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Living room dehumidifier Temperature error', + : 'problem', + : 'Living room dehumidifier Temperature error', }), 'context': , 'entity_id': 'binary_sensor.living_room_dehumidifier_temperature_error', @@ -1874,8 +1874,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.mesh_gateway_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Mesh-Gateway Problem', + : 'problem', + : 'Mesh-Gateway Problem', }), 'context': , 'entity_id': 'binary_sensor.mesh_gateway_problem', @@ -1925,8 +1925,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.motion_sensor_lidl_zigbee_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'Motion sensor lidl zigbee Motion', + : 'motion', + : 'Motion sensor lidl zigbee Motion', }), 'context': , 'entity_id': 'binary_sensor.motion_sensor_lidl_zigbee_motion', @@ -1976,8 +1976,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.motion_sensor_lidl_zigbee_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Motion sensor lidl zigbee Tamper', + : 'tamper', + : 'Motion sensor lidl zigbee Tamper', }), 'context': , 'entity_id': 'binary_sensor.motion_sensor_lidl_zigbee_tamper', @@ -2027,8 +2027,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.pir_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'PIR Motion', + : 'motion', + : 'PIR Motion', }), 'context': , 'entity_id': 'binary_sensor.pir_motion', @@ -2078,8 +2078,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.pir_outside_stairs_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'PIR outside stairs Motion', + : 'motion', + : 'PIR outside stairs Motion', }), 'context': , 'entity_id': 'binary_sensor.pir_outside_stairs_motion', @@ -2129,8 +2129,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.rat_trap_hedge_motion-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'motion', - 'friendly_name': 'rat trap hedge Motion', + : 'motion', + : 'rat trap hedge Motion', }), 'context': , 'entity_id': 'binary_sensor.rat_trap_hedge_motion', @@ -2180,8 +2180,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.rat_trap_hedge_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'rat trap hedge Tamper', + : 'tamper', + : 'rat trap hedge Tamper', }), 'context': , 'entity_id': 'binary_sensor.rat_trap_hedge_tamper', @@ -2231,8 +2231,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.rauchmelder_alexsandro_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Rauchmelder Alexsandro Smoke', + : 'smoke', + : 'Rauchmelder Alexsandro Smoke', }), 'context': , 'entity_id': 'binary_sensor.rauchmelder_alexsandro_smoke', @@ -2282,8 +2282,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.rauchmelder_drucker_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Rauchmelder Drucker Smoke', + : 'smoke', + : 'Rauchmelder Drucker Smoke', }), 'context': , 'entity_id': 'binary_sensor.rauchmelder_drucker_smoke', @@ -2333,8 +2333,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.siren_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Siren Charging', + : 'battery_charging', + : 'Siren Charging', }), 'context': , 'entity_id': 'binary_sensor.siren_charging', @@ -2384,8 +2384,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.siren_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tamper', - 'friendly_name': 'Siren Tamper', + : 'tamper', + : 'Siren Tamper', }), 'context': , 'entity_id': 'binary_sensor.siren_tamper', @@ -2435,7 +2435,7 @@ # name: test_platform_setup_and_discovery[binary_sensor.smart_thermostats_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'smart thermostats Valve', + : 'smart thermostats Valve', }), 'context': , 'entity_id': 'binary_sensor.smart_thermostats_valve', @@ -2485,8 +2485,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.smogo_safety-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'safety', - 'friendly_name': 'Smogo Safety', + : 'safety', + : 'Smogo Safety', }), 'context': , 'entity_id': 'binary_sensor.smogo_safety', @@ -2536,8 +2536,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.smoke_alarm_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'Smoke Alarm Smoke', + : 'smoke', + : 'Smoke Alarm Smoke', }), 'context': , 'entity_id': 'binary_sensor.smoke_alarm_smoke', @@ -2587,8 +2587,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.smoke_detector_upstairs_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': ' Smoke detector upstairs Smoke', + : 'smoke', + : ' Smoke detector upstairs Smoke', }), 'context': , 'entity_id': 'binary_sensor.smoke_detector_upstairs_smoke', @@ -2638,8 +2638,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.soil_moisture_sensor_1_occupancy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'occupancy', - 'friendly_name': 'Soil moisture sensor #1 Occupancy', + : 'occupancy', + : 'Soil moisture sensor #1 Occupancy', }), 'context': , 'entity_id': 'binary_sensor.soil_moisture_sensor_1_occupancy', @@ -2689,8 +2689,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.steel_cage_door_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Steel cage door Door', + : 'door', + : 'Steel cage door Door', }), 'context': , 'entity_id': 'binary_sensor.steel_cage_door_door', @@ -2740,8 +2740,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.tournesol_moisture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'moisture', - 'friendly_name': 'Tournesol Moisture', + : 'moisture', + : 'Tournesol Moisture', }), 'context': , 'entity_id': 'binary_sensor.tournesol_moisture', @@ -2791,8 +2791,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.wifi_smoke_alarm_smoke-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'smoke', - 'friendly_name': 'WIFI Smoke alarm Smoke', + : 'smoke', + : 'WIFI Smoke alarm Smoke', }), 'context': , 'entity_id': 'binary_sensor.wifi_smoke_alarm_smoke', @@ -2842,8 +2842,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.window_downstairs_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Window downstairs Door', + : 'door', + : 'Window downstairs Door', }), 'context': , 'entity_id': 'binary_sensor.window_downstairs_door', @@ -2893,8 +2893,8 @@ # name: test_platform_setup_and_discovery[binary_sensor.x5_zigbee_gateway_problem-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'X5 Zigbee Gateway Problem', + : 'problem', + : 'X5 Zigbee Gateway Problem', }), 'context': , 'entity_id': 'binary_sensor.x5_zigbee_gateway_problem', diff --git a/tests/components/tuya/snapshots/test_button.ambr b/tests/components/tuya/snapshots/test_button.ambr index ff50b32ab82..3e198d82da0 100644 --- a/tests/components/tuya/snapshots/test_button.ambr +++ b/tests/components/tuya/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_platform_setup_and_discovery[button.c9_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'C9 Restart', + : 'restart', + : 'C9 Restart', }), 'context': , 'entity_id': 'button.c9_restart', @@ -90,8 +90,8 @@ # name: test_platform_setup_and_discovery[button.intercom_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Intercom Restart', + : 'restart', + : 'Intercom Restart', }), 'context': , 'entity_id': 'button.intercom_restart', @@ -141,7 +141,7 @@ # name: test_platform_setup_and_discovery[button.kattenbak_factory_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kattenbak Factory reset', + : 'Kattenbak Factory reset', }), 'context': , 'entity_id': 'button.kattenbak_factory_reset', @@ -191,7 +191,7 @@ # name: test_platform_setup_and_discovery[button.kattenbak_manual_clean-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kattenbak Manual clean', + : 'Kattenbak Manual clean', }), 'context': , 'entity_id': 'button.kattenbak_manual_clean', @@ -241,7 +241,7 @@ # name: test_platform_setup_and_discovery[button.poopy_nano_2_factory_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Poopy Nano 2 Factory reset', + : 'Poopy Nano 2 Factory reset', }), 'context': , 'entity_id': 'button.poopy_nano_2_factory_reset', @@ -291,7 +291,7 @@ # name: test_platform_setup_and_discovery[button.poopy_nano_2_manual_clean-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Poopy Nano 2 Manual clean', + : 'Poopy Nano 2 Manual clean', }), 'context': , 'entity_id': 'button.poopy_nano_2_manual_clean', @@ -341,8 +341,8 @@ # name: test_platform_setup_and_discovery[button.security_camera_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Security Camera Restart', + : 'restart', + : 'Security Camera Restart', }), 'context': , 'entity_id': 'button.security_camera_restart', @@ -392,7 +392,7 @@ # name: test_platform_setup_and_discovery[button.v20_reset_duster_cloth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Reset duster cloth', + : 'V20 Reset duster cloth', }), 'context': , 'entity_id': 'button.v20_reset_duster_cloth', @@ -442,7 +442,7 @@ # name: test_platform_setup_and_discovery[button.v20_reset_edge_brush-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Reset edge brush', + : 'V20 Reset edge brush', }), 'context': , 'entity_id': 'button.v20_reset_edge_brush', @@ -492,7 +492,7 @@ # name: test_platform_setup_and_discovery[button.v20_reset_filter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Reset filter', + : 'V20 Reset filter', }), 'context': , 'entity_id': 'button.v20_reset_filter', @@ -542,7 +542,7 @@ # name: test_platform_setup_and_discovery[button.v20_reset_map-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Reset map', + : 'V20 Reset map', }), 'context': , 'entity_id': 'button.v20_reset_map', @@ -592,7 +592,7 @@ # name: test_platform_setup_and_discovery[button.v20_reset_roll_brush-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Reset roll brush', + : 'V20 Reset roll brush', }), 'context': , 'entity_id': 'button.v20_reset_roll_brush', diff --git a/tests/components/tuya/snapshots/test_camera.ambr b/tests/components/tuya/snapshots/test_camera.ambr index 6e16bfce883..10c38da77d3 100644 --- a/tests/components/tuya/snapshots/test_camera.ambr +++ b/tests/components/tuya/snapshots/test_camera.ambr @@ -41,11 +41,11 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.burocam?token=1', - 'friendly_name': 'Bürocam', + : '/api/camera_proxy/camera.burocam?token=1', + : 'Bürocam', : 'LSC PTZ Camera', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.burocam', @@ -97,11 +97,11 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.c9?token=1', - 'friendly_name': 'C9', + : '/api/camera_proxy/camera.c9?token=1', + : 'C9', : 'Security Camera', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.c9', @@ -153,11 +153,11 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.cam_garage?token=1', - 'friendly_name': 'CAM GARAGE', + : '/api/camera_proxy/camera.cam_garage?token=1', + : 'CAM GARAGE', : 'Indoor camera ', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.cam_garage', @@ -209,10 +209,10 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.cam_porch?token=1', - 'friendly_name': 'CAM PORCH', + : '/api/camera_proxy/camera.cam_porch?token=1', + : 'CAM PORCH', : 'Indoor cam Pan/Tilt ', - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.cam_porch', @@ -264,9 +264,9 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.dolni_vchod_zapad?token=1', - 'friendly_name': 'Dolní vchod - západ', - 'supported_features': , + : '/api/camera_proxy/camera.dolni_vchod_zapad?token=1', + : 'Dolní vchod - západ', + : , }), 'context': , 'entity_id': 'camera.dolni_vchod_zapad', @@ -318,10 +318,10 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.garage_camera?token=1', - 'friendly_name': 'Garage Camera', + : '/api/camera_proxy/camera.garage_camera?token=1', + : 'Garage Camera', : 'Smart Camera ', - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.garage_camera', @@ -373,10 +373,10 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.intercom?token=1', - 'friendly_name': 'Intercom', + : '/api/camera_proxy/camera.intercom?token=1', + : 'Intercom', : 'Security Camera ', - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.intercom', @@ -428,10 +428,10 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.mirilla_puerta?token=1', - 'friendly_name': 'Mirilla puerta', + : '/api/camera_proxy/camera.mirilla_puerta?token=1', + : 'Mirilla puerta', : 'Smart DoorBell (WiFi)', - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.mirilla_puerta', @@ -483,11 +483,11 @@ 'attributes': ReadOnlyDict({ : '1', : 'Tuya', - 'entity_picture': '/api/camera_proxy/camera.security_camera?token=1', - 'friendly_name': 'Security Camera', + : '/api/camera_proxy/camera.security_camera?token=1', + : 'Security Camera', : 'Security Camera', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'camera.security_camera', diff --git a/tests/components/tuya/snapshots/test_climate.ambr b/tests/components/tuya/snapshots/test_climate.ambr index ac943e3aa71..cdff8f65b7a 100644 --- a/tests/components/tuya/snapshots/test_climate.ambr +++ b/tests/components/tuya/snapshots/test_climate.ambr @@ -57,14 +57,14 @@ '1', '2', ]), - 'friendly_name': 'Air Conditioner', + : 'Air Conditioner', : list([ , , ]), : 86.0, : 16.0, - 'supported_features': , + : , : 1.0, : 23.0, }), @@ -128,7 +128,7 @@ # name: test_platform_setup_and_discovery[climate.anbau-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Anbau', + : 'Anbau', : list([ , , @@ -139,7 +139,7 @@ 'auto', 'manual', ]), - 'supported_features': , + : , : 1.0, }), 'context': , @@ -205,7 +205,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Bathroom radiator', + : 'Bathroom radiator', : list([ , , @@ -219,7 +219,7 @@ 'manual', 'eco', ]), - 'supported_features': , + : , : 0.5, : 12.0, }), @@ -280,14 +280,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 57.5, - 'friendly_name': 'Boiler Temperature Controller', + : 'Boiler Temperature Controller', : list([ , , ]), : 35, : 7, - 'supported_features': , + : , : 1.0, }), 'context': , @@ -361,7 +361,7 @@ 'high', 'auto', ]), - 'friendly_name': 'Clima cucina', + : 'Clima cucina', : list([ , , @@ -369,7 +369,7 @@ ]), : 35.0, : 5.0, - 'supported_features': , + : , : 1.0, : 25.0, }), @@ -430,14 +430,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 45.0, - 'friendly_name': 'El termostato de la cocina', + : 'El termostato de la cocina', : list([ , , ]), : 7.0, : 1.0, - 'supported_features': , + : , : 0.5, : 4.6, }), @@ -502,7 +502,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Empore', + : 'Empore', : list([ , , @@ -514,7 +514,7 @@ 'auto', 'manual', ]), - 'supported_features': , + : , : 1.0, : 35.0, }), @@ -579,7 +579,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Floor Thermostat Kitchen', + : 'Floor Thermostat Kitchen', : list([ , , @@ -591,7 +591,7 @@ 'auto', 'manual', ]), - 'supported_features': , + : , : 1.0, : None, }), @@ -650,12 +650,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 60.0, - 'friendly_name': 'Geti Solar PV Water Heater', + : 'Geti Solar PV Water Heater', : list([ ]), : 35, : 7, - 'supported_features': , + : , : 1.0, }), 'context': , @@ -713,12 +713,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 34.0, - 'friendly_name': 'ITC-308-WIFI Thermostat', + : 'ITC-308-WIFI Thermostat', : list([ ]), : 212.0, : -40.0, - 'supported_features': , + : , : 0.5, : 35.0, }), @@ -782,7 +782,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.5, - 'friendly_name': 'Кабінет', + : 'Кабінет', : list([ , , @@ -793,7 +793,7 @@ : list([ 'program', ]), - 'supported_features': , + : , : 0.5, : 21.5, }), @@ -859,7 +859,7 @@ 'attributes': ReadOnlyDict({ : 0, : 26.0, - 'friendly_name': 'Master Bedroom AC', + : 'Master Bedroom AC', : list([ , , @@ -870,7 +870,7 @@ ]), : 88.0, : 16.0, - 'supported_features': , + : , : 0.5, : 75.0, }), @@ -939,7 +939,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 69.0, - 'friendly_name': 'Mini-Split', + : 'Mini-Split', : list([ , , @@ -950,7 +950,7 @@ ]), : 90.0, : 16.0, - 'supported_features': , + : , : 'off', : list([ 'off', @@ -1014,12 +1014,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Mr. Pure', + : 'Mr. Pure', : list([ ]), : 35, : 7, - 'supported_features': , + : , : 1.0, }), 'context': , @@ -1082,7 +1082,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 25.3, - 'friendly_name': 'Полотенцосушитель', + : 'Полотенцосушитель', : list([ , , @@ -1093,7 +1093,7 @@ : list([ 'holiday', ]), - 'supported_features': , + : , : 0.5, : 5.0, }), @@ -1159,7 +1159,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.3, - 'friendly_name': 'Salon', + : 'Salon', : list([ , , @@ -1172,7 +1172,7 @@ 'manual', 'holiday', ]), - 'supported_features': , + : , : 0.5, : 5.9, }), @@ -1237,7 +1237,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 21.5, - 'friendly_name': 'smart thermostats', + : 'smart thermostats', : list([ , , @@ -1249,7 +1249,7 @@ 'auto', 'manual', ]), - 'supported_features': , + : , : 1.0, : 12.0, }), @@ -1319,14 +1319,14 @@ '1', '2', ]), - 'friendly_name': 'Sove', + : 'Sove', : list([ , , ]), : 86.0, : 16.0, - 'supported_features': , + : , : 1.0, : 16.0, }), @@ -1387,14 +1387,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 23.0, - 'friendly_name': 'Term - Prizemi', + : 'Term - Prizemi', : list([ , , ]), : 70.0, : 0.5, - 'supported_features': , + : , : 0.1, : 23.0, }), @@ -1455,14 +1455,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 24.9, - 'friendly_name': 'WiFi Smart Gas Boiler Thermostat ', + : 'WiFi Smart Gas Boiler Thermostat ', : list([ , , ]), : 35.0, : 5.0, - 'supported_features': , + : , : 0.5, : 22.0, }), diff --git a/tests/components/tuya/snapshots/test_cover.ambr b/tests/components/tuya/snapshots/test_cover.ambr index 28bdd7a2d50..6d7dd98d8ea 100644 --- a/tests/components/tuya/snapshots/test_cover.ambr +++ b/tests/components/tuya/snapshots/test_cover.ambr @@ -40,10 +40,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'curtain', - 'friendly_name': 'bedroom blinds Curtain', + : 'curtain', + : 'bedroom blinds Curtain', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.bedroom_blinds_curtain', @@ -94,10 +94,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 36, - 'device_class': 'curtain', - 'friendly_name': 'blinds Curtain', + : 'curtain', + : 'blinds Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.blinds_curtain', @@ -148,10 +148,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'curtain', - 'friendly_name': 'Dining 1 Curtain', + : 'curtain', + : 'Dining 1 Curtain', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.dining_1_curtain', @@ -201,10 +201,10 @@ # name: test_platform_setup_and_discovery[cover.estore_sala_curtain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'curtain', - 'friendly_name': 'Estore Sala Curtain', + : 'curtain', + : 'Estore Sala Curtain', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.estore_sala_curtain', @@ -255,10 +255,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'curtain', - 'friendly_name': 'Fenster Küche Curtain', + : 'curtain', + : 'Fenster Küche Curtain', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.fenster_kuche_curtain', @@ -308,10 +308,10 @@ # name: test_platform_setup_and_discovery[cover.garage_door_door_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'garage', - 'friendly_name': 'Garage door Door 1', + : 'garage', + : 'Garage door Door 1', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.garage_door_door_1', @@ -361,10 +361,10 @@ # name: test_platform_setup_and_discovery[cover.kit_blinds_curtain-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'curtain', - 'friendly_name': 'Kit-Blinds Curtain', + : 'curtain', + : 'Kit-Blinds Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kit_blinds_curtain', @@ -415,10 +415,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'blind', - 'friendly_name': 'Kitchen Blinds Blind', + : 'blind', + : 'Kitchen Blinds Blind', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kitchen_blinds_blind', @@ -469,10 +469,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 48, - 'device_class': 'curtain', - 'friendly_name': 'Kitchen Blinds Curtain', + : 'curtain', + : 'Kitchen Blinds Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.kitchen_blinds_curtain', @@ -523,10 +523,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'curtain', - 'friendly_name': 'Lounge Dark Blind Curtain', + : 'curtain', + : 'Lounge Dark Blind Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.lounge_dark_blind_curtain', @@ -577,10 +577,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'curtain', - 'friendly_name': 'Pergola Curtain', + : 'curtain', + : 'Pergola Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.pergola_curtain', @@ -631,10 +631,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'curtain', - 'friendly_name': 'Persiana do Quarto Curtain', + : 'curtain', + : 'Persiana do Quarto Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.persiana_do_quarto_curtain', @@ -685,10 +685,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'curtain', - 'friendly_name': 'Projector Screen Curtain', + : 'curtain', + : 'Projector Screen Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.projector_screen_curtain', @@ -739,10 +739,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 75, - 'device_class': 'curtain', - 'friendly_name': 'Roller shutter Living Room Curtain', + : 'curtain', + : 'Roller shutter Living Room Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.roller_shutter_living_room_curtain', @@ -793,10 +793,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'curtain', - 'friendly_name': 'Tapparelle studio Curtain', + : 'curtain', + : 'Tapparelle studio Curtain', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.tapparelle_studio_curtain', @@ -847,10 +847,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 100, - 'device_class': 'curtain', - 'friendly_name': 'VIVIDSTORM SCREEN Curtain', + : 'curtain', + : 'VIVIDSTORM SCREEN Curtain', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.vividstorm_screen_curtain', diff --git a/tests/components/tuya/snapshots/test_event.ambr b/tests/components/tuya/snapshots/test_event.ambr index 443d0c69a09..6f3652079e5 100644 --- a/tests/components/tuya/snapshots/test_event.ambr +++ b/tests/components/tuya/snapshots/test_event.ambr @@ -1,23 +1,23 @@ # serializer version: 1 # name: test_alarm_message_event[event.intercom_doorbell_message-alarm_message-eyJzb21lIjogImpzb24iLCAicmFuZG9tIjogImRhdGEifQ==-sp_csr2fqitalj5o0tq] ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Intercom Doorbell message', + : 'Intercom Doorbell message', 'message': '{"some": "json", "random": "data"}', }) # --- # name: test_alarm_message_event[event.intercom_doorbell_picture-doorbell_pic-aHR0cHM6Ly9zb21lLXBpY3R1cmUtdXJsLmNvbS9pbWFnZS5qcGc=-sp_csr2fqitalj5o0tq] ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Intercom Doorbell picture', + : 'Intercom Doorbell picture', 'message': 'https://some-picture-url.com/image.jpg', }) # --- @@ -66,13 +66,13 @@ # name: test_platform_setup_and_discovery[event.bathroom_smart_switch_button_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : 'click', : list([ 'click', 'press', ]), - 'friendly_name': 'Bathroom Smart Switch Button 1', + : 'Bathroom Smart Switch Button 1', }), 'context': , 'entity_id': 'event.bathroom_smart_switch_button_1', @@ -127,13 +127,13 @@ # name: test_platform_setup_and_discovery[event.bathroom_smart_switch_button_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : 'click', : list([ 'click', 'press', ]), - 'friendly_name': 'Bathroom Smart Switch Button 2', + : 'Bathroom Smart Switch Button 2', }), 'context': , 'entity_id': 'event.bathroom_smart_switch_button_2', @@ -189,14 +189,14 @@ # name: test_platform_setup_and_discovery[event.bouton_tempo_exterieur_button_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'button', + : 'button', : 'press', : list([ 'click', 'double_click', 'press', ]), - 'friendly_name': 'Bouton tempo extérieur Button 1', + : 'Bouton tempo extérieur Button 1', }), 'context': , 'entity_id': 'event.bouton_tempo_exterieur_button_1', @@ -250,12 +250,12 @@ # name: test_platform_setup_and_discovery[event.burocam_doorbell_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Bürocam Doorbell message', + : 'Bürocam Doorbell message', 'message': '', }), 'context': , @@ -310,12 +310,12 @@ # name: test_platform_setup_and_discovery[event.c9_doorbell_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'C9 Doorbell message', + : 'C9 Doorbell message', 'message': '', }), 'context': , @@ -370,12 +370,12 @@ # name: test_platform_setup_and_discovery[event.c9_doorbell_picture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'C9 Doorbell picture', + : 'C9 Doorbell picture', 'message': '', }), 'context': , @@ -430,12 +430,12 @@ # name: test_platform_setup_and_discovery[event.dolni_vchod_zapad_doorbell_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Dolní vchod - západ Doorbell message', + : 'Dolní vchod - západ Doorbell message', 'message': '', }), 'context': , @@ -490,12 +490,12 @@ # name: test_platform_setup_and_discovery[event.dolni_vchod_zapad_doorbell_picture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Dolní vchod - západ Doorbell picture', + : 'Dolní vchod - západ Doorbell picture', 'message': '', }), 'context': , @@ -550,12 +550,12 @@ # name: test_platform_setup_and_discovery[event.garage_camera_doorbell_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Garage Camera Doorbell message', + : 'Garage Camera Doorbell message', 'message': '', }), 'context': , @@ -610,12 +610,12 @@ # name: test_platform_setup_and_discovery[event.intercom_doorbell_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Intercom Doorbell message', + : 'Intercom Doorbell message', 'message': '', }), 'context': , @@ -670,12 +670,12 @@ # name: test_platform_setup_and_discovery[event.intercom_doorbell_picture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Intercom Doorbell picture', + : 'Intercom Doorbell picture', 'message': '', }), 'context': , @@ -730,12 +730,12 @@ # name: test_platform_setup_and_discovery[event.mirilla_puerta_doorbell_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Mirilla puerta Doorbell message', + : 'Mirilla puerta Doorbell message', 'message': '', }), 'context': , @@ -790,12 +790,12 @@ # name: test_platform_setup_and_discovery[event.mirilla_puerta_doorbell_picture-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Mirilla puerta Doorbell picture', + : 'Mirilla puerta Doorbell picture', 'message': '', }), 'context': , @@ -850,12 +850,12 @@ # name: test_platform_setup_and_discovery[event.security_camera_doorbell_message-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : 'triggered', : list([ 'triggered', ]), - 'friendly_name': 'Security Camera Doorbell message', + : 'Security Camera Doorbell message', 'message': '', }), 'context': , diff --git a/tests/components/tuya/snapshots/test_fan.ambr b/tests/components/tuya/snapshots/test_fan.ambr index 18a334310dd..191906b57dc 100644 --- a/tests/components/tuya/snapshots/test_fan.ambr +++ b/tests/components/tuya/snapshots/test_fan.ambr @@ -40,8 +40,8 @@ # name: test_platform_setup_and_discovery[fan.arida_stavern-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arida Stavern ', - 'supported_features': , + : 'Arida Stavern ', + : , }), 'context': , 'entity_id': 'fan.arida_stavern', @@ -95,12 +95,12 @@ # name: test_platform_setup_and_discovery[fan.bree-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bree', + : 'Bree', : None, : list([ 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.bree', @@ -153,12 +153,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'forward', - 'friendly_name': 'ceiling fan/Light v2', + : 'ceiling fan/Light v2', : 21, : 1.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.ceiling_fan_light_v2', @@ -215,7 +215,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'reverse', - 'friendly_name': 'Ceiling Fan With Light', + : 'Ceiling Fan With Light', : None, : 16.666666666666668, : 'normal', @@ -224,7 +224,7 @@ 'sleep', 'nature', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.ceiling_fan_with_light', @@ -276,12 +276,12 @@ # name: test_platform_setup_and_discovery[fan.d825a_i-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D825A I', + : 'D825A I', : 100, : 25.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.d825a_i', @@ -333,9 +333,9 @@ # name: test_platform_setup_and_discovery[fan.dehumidifer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifer', + : 'Dehumidifer', : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.dehumidifer', @@ -386,8 +386,8 @@ # name: test_platform_setup_and_discovery[fan.dehumidifier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifier', - 'supported_features': , + : 'Dehumidifier', + : , }), 'context': , 'entity_id': 'fan.dehumidifier', @@ -439,12 +439,12 @@ # name: test_platform_setup_and_discovery[fan.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge', : 50, : 50.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge', @@ -496,12 +496,12 @@ # name: test_platform_setup_and_discovery[fan.hl400-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL400', + : 'HL400', : None, : 33.333333333333336, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.hl400', @@ -552,8 +552,8 @@ # name: test_platform_setup_and_discovery[fan.ion1000pro-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO', - 'supported_features': , + : 'ION1000PRO', + : , }), 'context': , 'entity_id': 'fan.ion1000pro', @@ -609,14 +609,14 @@ # name: test_platform_setup_and_discovery[fan.kalado_air_purifier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kalado Air Purifier', + : 'Kalado Air Purifier', : 'auto', : list([ 'manual', 'auto', 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.kalado_air_purifier', @@ -668,12 +668,12 @@ # name: test_platform_setup_and_discovery[fan.living_room_dehumidifier-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room dehumidifier', + : 'Living room dehumidifier', : 100, : 50.0, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.living_room_dehumidifier', @@ -729,7 +729,7 @@ # name: test_platform_setup_and_discovery[fan.tower_fan_ca_407g_smart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tower Fan CA-407G Smart', + : 'Tower Fan CA-407G Smart', : True, : 37, : 1.0, @@ -739,7 +739,7 @@ 'nature', 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.tower_fan_ca_407g_smart', diff --git a/tests/components/tuya/snapshots/test_humidifier.ambr b/tests/components/tuya/snapshots/test_humidifier.ambr index 0cd57a60521..b7861de0066 100644 --- a/tests/components/tuya/snapshots/test_humidifier.ambr +++ b/tests/components/tuya/snapshots/test_humidifier.ambr @@ -43,11 +43,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 61, - 'device_class': 'dehumidifier', - 'friendly_name': 'Arida Stavern ', + : 'dehumidifier', + : 'Arida Stavern ', : 100, : 0, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.arida_stavern', @@ -101,11 +101,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 76, - 'device_class': 'dehumidifier', - 'friendly_name': 'D825A I', + : 'dehumidifier', + : 'D825A I', : 100, : 0, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.d825a_i', @@ -158,11 +158,11 @@ # name: test_platform_setup_and_discovery[humidifier.dehumidifer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'dehumidifier', - 'friendly_name': 'Dehumidifer', + : 'dehumidifier', + : 'Dehumidifer', : 80, : 25, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.dehumidifer', @@ -216,12 +216,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 47, - 'device_class': 'dehumidifier', - 'friendly_name': 'Dehumidifier', + : 'dehumidifier', + : 'Dehumidifier', : 50, : 70, : 35, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.dehumidifier', @@ -275,12 +275,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 72, - 'device_class': 'dehumidifier', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge', + : 'dehumidifier', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge', : 65, : 80, : 30, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge', @@ -333,11 +333,11 @@ # name: test_platform_setup_and_discovery[humidifier.klarta_humea-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidifier', - 'friendly_name': 'KLARTA HUMEA', + : 'humidifier', + : 'KLARTA HUMEA', : 100, : 0, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.klarta_humea', @@ -391,12 +391,12 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 48, - 'device_class': 'dehumidifier', - 'friendly_name': 'Living room dehumidifier', + : 'dehumidifier', + : 'Living room dehumidifier', : 47, : 80, : 25, - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.living_room_dehumidifier', diff --git a/tests/components/tuya/snapshots/test_light.ambr b/tests/components/tuya/snapshots/test_light.ambr index 4f67483d2fe..a0aef98c4c1 100644 --- a/tests/components/tuya/snapshots/test_light.ambr +++ b/tests/components/tuya/snapshots/test_light.ambr @@ -49,7 +49,7 @@ : 255, : , : None, - 'friendly_name': 'AB1', + : 'AB1', : tuple( 6.0, 97.8, @@ -65,7 +65,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.693, 0.304, @@ -126,14 +126,14 @@ # name: test_platform_setup_and_discovery[light.ab6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ab6', + : 'ab6', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.ab6', @@ -190,7 +190,7 @@ 'attributes': ReadOnlyDict({ : 255, : , - 'friendly_name': 'Arbeitszimmer led', + : 'Arbeitszimmer led', : tuple( 0.0, 100.0, @@ -204,7 +204,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.701, 0.299, @@ -265,14 +265,14 @@ # name: test_platform_setup_and_discovery[light.b2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'b2', + : 'b2', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.b2', @@ -328,11 +328,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'bedroom', + : 'bedroom', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.bedroom', @@ -388,13 +388,13 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'BlissRadia ', + : 'BlissRadia ', : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -450,11 +450,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'CAM GARAGE Indicator light', + : 'CAM GARAGE Indicator light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.cam_garage_indicator_light', @@ -509,11 +509,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'CAM PORCH Indicator light', + : 'CAM PORCH Indicator light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.cam_porch_indicator_light', @@ -568,11 +568,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Cat Feeder Light', + : 'Cat Feeder Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.cat_feeder_light', @@ -631,7 +631,7 @@ : None, : , : 2000, - 'friendly_name': 'ceiling fan/Light v2', + : 'ceiling fan/Light v2', : tuple( 30.601, 94.547, @@ -646,7 +646,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.598, 0.383, @@ -709,7 +709,7 @@ : 255, : , : 2000, - 'friendly_name': 'Ceiling Fan With Light', + : 'Ceiling Fan With Light', : tuple( 30.601, 94.547, @@ -724,7 +724,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.598, 0.383, @@ -788,7 +788,7 @@ : None, : None, : None, - 'friendly_name': 'Ceiling Portal', + : 'Ceiling Portal', : None, : 6500, : 2000, @@ -797,7 +797,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -853,11 +853,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Cleverio PF100 Light', + : 'Cleverio PF100 Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.cleverio_pf100_light', @@ -917,7 +917,7 @@ : None, : None, : None, - 'friendly_name': 'Colorful PIR Night Light', + : 'Colorful PIR Night Light', : None, : 6500, : 2000, @@ -926,7 +926,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -986,7 +986,7 @@ : None, : None, : None, - 'friendly_name': 'DirectietKamer', + : 'DirectietKamer', : None, : 6500, : 2000, @@ -994,7 +994,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1054,7 +1054,7 @@ : None, : None, : None, - 'friendly_name': 'dressoir spot', + : 'dressoir spot', : None, : 6500, : 2000, @@ -1062,7 +1062,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1123,7 +1123,7 @@ : 255, : , : 2000, - 'friendly_name': 'druckerhell', + : 'druckerhell', : tuple( 30.601, 94.547, @@ -1139,7 +1139,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.598, 0.383, @@ -1197,11 +1197,11 @@ # name: test_platform_setup_and_discovery[light.entry_stairs-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Entry Stairs', + : 'Entry Stairs', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.entry_stairs', @@ -1260,7 +1260,7 @@ : 255, : , : 2000, - 'friendly_name': 'ERKER 1-Gold ', + : 'ERKER 1-Gold ', : tuple( 30.601, 94.547, @@ -1275,7 +1275,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.598, 0.383, @@ -1339,7 +1339,7 @@ : 70, : , : 2000, - 'friendly_name': 'Fakkel 8', + : 'Fakkel 8', : tuple( 30.601, 94.547, @@ -1355,7 +1355,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.598, 0.383, @@ -1416,14 +1416,14 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Floodlight', + : 'Floodlight', : None, : None, : list([ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1484,7 +1484,7 @@ : None, : None, : None, - 'friendly_name': 'Front right Lighting trap', + : 'Front right Lighting trap', : None, : 6500, : 2000, @@ -1493,7 +1493,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1554,7 +1554,7 @@ : None, : None, : None, - 'friendly_name': 'Garage', + : 'Garage', : None, : 6500, : 2000, @@ -1563,7 +1563,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1621,14 +1621,14 @@ 'attributes': ReadOnlyDict({ : 138, : , - 'friendly_name': 'Garage light', + : 'Garage light', : None, : None, : list([ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1684,11 +1684,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Garage Light 1', + : 'Garage Light 1', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.garage_light_1', @@ -1748,7 +1748,7 @@ : None, : None, : None, - 'friendly_name': 'Gengske 💡 ', + : 'Gengske 💡 ', : None, : 6500, : 2000, @@ -1757,7 +1757,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1817,7 +1817,7 @@ : None, : None, : None, - 'friendly_name': 'hall 💡 ', + : 'hall 💡 ', : None, : 6500, : 2000, @@ -1825,7 +1825,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -1885,7 +1885,7 @@ : 255, : , : 3502, - 'friendly_name': 'Ieskas', + : 'Ieskas', : tuple( 27.171, 44.73, @@ -1900,7 +1900,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.453, 0.374, @@ -1961,14 +1961,14 @@ # name: test_platform_setup_and_discovery[light.jardim_casa-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Jardim Casa', + : 'Jardim Casa', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.jardim_casa', @@ -2023,11 +2023,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Kattenbak Light', + : 'Kattenbak Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.kattenbak_light', @@ -2087,7 +2087,7 @@ : None, : None, : None, - 'friendly_name': 'L├ímpara Ati', + : 'L├ímpara Ati', : None, : 6500, : 2000, @@ -2096,7 +2096,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -2157,7 +2157,7 @@ : None, : None, : None, - 'friendly_name': 'Landing', + : 'Landing', : None, : 6500, : 2000, @@ -2166,7 +2166,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -2227,7 +2227,7 @@ : 255, : , : 2000, - 'friendly_name': 'LED KEUKEN 2', + : 'LED KEUKEN 2', : tuple( 30.601, 94.547, @@ -2243,7 +2243,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.598, 0.383, @@ -2304,14 +2304,14 @@ # name: test_platform_setup_and_discovery[light.led_porch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LED Porch 2', + : 'LED Porch 2', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.led_porch_2', @@ -2368,14 +2368,14 @@ # name: test_platform_setup_and_discovery[light.lsc_party_string_light_rgbic_cct-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LSC Party String Light RGBIC+CCT ', + : 'LSC Party String Light RGBIC+CCT ', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.lsc_party_string_light_rgbic_cct', @@ -2435,7 +2435,7 @@ : None, : None, : None, - 'friendly_name': 'Lumy Garage', + : 'Lumy Garage', : None, : 6500, : 2000, @@ -2444,7 +2444,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -2504,7 +2504,7 @@ : None, : None, : None, - 'friendly_name': 'Lumy Hall', + : 'Lumy Hall', : None, : 6500, : 2000, @@ -2512,7 +2512,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -2573,7 +2573,7 @@ : 51, : , : None, - 'friendly_name': 'Master bedroom TV lights', + : 'Master bedroom TV lights', : tuple( 26.072, 100.0, @@ -2589,7 +2589,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.632, 0.358, @@ -2648,11 +2648,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Mini-Split Backlight', + : 'Mini-Split Backlight', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.mini_split_backlight', @@ -2709,14 +2709,14 @@ # name: test_platform_setup_and_discovery[light.parker_ceiling_fan_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Parker Ceiling Fan 1', + : 'Parker Ceiling Fan 1', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.parker_ceiling_fan_1', @@ -2771,11 +2771,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Pergola Backlight', + : 'Pergola Backlight', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.pergola_backlight', @@ -2835,7 +2835,7 @@ : 241, : , : 3824, - 'friendly_name': 'Plafond bureau ', + : 'Plafond bureau ', : tuple( 26.908, 38.154, @@ -2851,7 +2851,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.431, 0.367, @@ -2911,13 +2911,13 @@ # name: test_platform_setup_and_discovery[light.pokerlamp_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pokerlamp 1', + : 'Pokerlamp 1', : 6500, : 2000, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.pokerlamp_1', @@ -2973,13 +2973,13 @@ # name: test_platform_setup_and_discovery[light.pokerlamp_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pokerlamp 2', + : 'Pokerlamp 2', : 6500, : 2000, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.pokerlamp_2', @@ -3036,14 +3036,14 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Porch light E', + : 'Porch light E', : None, : None, : list([ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -3101,14 +3101,14 @@ # name: test_platform_setup_and_discovery[light.portal_casa_carro_jalimy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Portal Casa Carro Jalimy', + : 'Portal Casa Carro Jalimy', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.portal_casa_carro_jalimy', @@ -3167,7 +3167,7 @@ : None, : , : None, - 'friendly_name': 'POWERASIA R2', + : 'POWERASIA R2', : None, : 6500, : 2000, @@ -3175,7 +3175,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -3231,11 +3231,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Roller shutter Living Room Backlight', + : 'Roller shutter Living Room Backlight', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.roller_shutter_living_room_backlight', @@ -3290,11 +3290,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Security Camera Indicator light', + : 'Security Camera Indicator light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.security_camera_indicator_light', @@ -3353,7 +3353,7 @@ : None, : None, : None, - 'friendly_name': 'Shop Light 5', + : 'Shop Light 5', : None, : 6500, : 2000, @@ -3361,7 +3361,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -3418,13 +3418,13 @@ # name: test_platform_setup_and_discovery[light.sjiethoes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sjiethoes', + : 'Sjiethoes', : 6500, : 2000, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.sjiethoes', @@ -3483,7 +3483,7 @@ : None, : None, : None, - 'friendly_name': 'Slaapkamer', + : 'Slaapkamer', : None, : 6500, : 2000, @@ -3491,7 +3491,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -3552,7 +3552,7 @@ : None, : None, : None, - 'friendly_name': 'Smart Bulb RGBCW', + : 'Smart Bulb RGBCW', : None, : 6500, : 2000, @@ -3561,7 +3561,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -3618,7 +3618,7 @@ 'attributes': ReadOnlyDict({ : 1003, : , - 'friendly_name': 'Smart White Noise Machine', + : 'Smart White Noise Machine', : tuple( 239.666, 393.307, @@ -3631,7 +3631,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( -0.03, -0.215, @@ -3689,11 +3689,11 @@ # name: test_platform_setup_and_discovery[light.solar_zijpad-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Solar zijpad', + : 'Solar zijpad', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.solar_zijpad', @@ -3750,14 +3750,14 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Stairs', + : 'Stairs', : None, : None, : list([ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -3814,13 +3814,13 @@ # name: test_platform_setup_and_discovery[light.stoel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Stoel', + : 'Stoel', : 6500, : 2000, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.stoel', @@ -3877,14 +3877,14 @@ # name: test_platform_setup_and_discovery[light.strip_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Strip 2', + : 'Strip 2', : 6500, : 2000, : list([ , , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.strip_2', @@ -3944,7 +3944,7 @@ : None, : None, : None, - 'friendly_name': 'Study 1', + : 'Study 1', : None, : 6500, : 2000, @@ -3953,7 +3953,7 @@ , , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -4009,11 +4009,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Tapparelle studio Backlight', + : 'Tapparelle studio Backlight', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.tapparelle_studio_backlight', @@ -4072,7 +4072,7 @@ : None, : None, : None, - 'friendly_name': 'Télécommande lumières ZigBee', + : 'Télécommande lumières ZigBee', : None, : 6500, : 2000, @@ -4080,7 +4080,7 @@ : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , @@ -4136,11 +4136,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Tower Fan CA-407G Smart Backlight', + : 'Tower Fan CA-407G Smart Backlight', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.tower_fan_ca_407g_smart_backlight', @@ -4196,13 +4196,13 @@ # name: test_platform_setup_and_discovery[light.wc_d1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WC D1', + : 'WC D1', : 6500, : 2000, : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.wc_d1', @@ -4258,13 +4258,13 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'White Noise Machine', + : 'White Noise Machine', : None, : None, : list([ , ]), - 'supported_features': , + : , : None, }), 'context': , diff --git a/tests/components/tuya/snapshots/test_number.ambr b/tests/components/tuya/snapshots/test_number.ambr index 4e115029a87..be01c8d633d 100644 --- a/tests/components/tuya/snapshots/test_number.ambr +++ b/tests/components/tuya/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_platform_setup_and_discovery[number.aqi_alarm_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'AQI Alarm duration', + : 'duration', + : 'AQI Alarm duration', : 60.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.aqi_alarm_duration', @@ -105,13 +105,13 @@ # name: test_platform_setup_and_discovery[number.balkonbewasserung_irrigation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'balkonbewässerung Irrigation duration', + : 'duration', + : 'balkonbewässerung Irrigation duration', : 86400.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.balkonbewasserung_irrigation_duration', @@ -166,12 +166,12 @@ # name: test_platform_setup_and_discovery[number.blissradia_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BlissRadia Volume', + : 'BlissRadia Volume', : 100.0, : 5.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.blissradia_volume', @@ -226,12 +226,12 @@ # name: test_platform_setup_and_discovery[number.boiler_temperature_controller_temperature_correction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Boiler Temperature Controller Temperature correction', + : 'Boiler Temperature Controller Temperature correction', : 9.9, : -9.9, : , : 0.1, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.boiler_temperature_controller_temperature_correction', @@ -286,13 +286,13 @@ # name: test_platform_setup_and_discovery[number.c30_alarm_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'C30 Alarm delay', + : 'duration', + : 'C30 Alarm delay', : 256.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.c30_alarm_delay', @@ -347,13 +347,13 @@ # name: test_platform_setup_and_discovery[number.c30_arm_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'C30 Arm delay', + : 'duration', + : 'C30 Arm delay', : 256.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.c30_arm_delay', @@ -408,13 +408,13 @@ # name: test_platform_setup_and_discovery[number.c30_siren_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'C30 Siren duration', + : 'duration', + : 'C30 Siren duration', : 21.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.c30_siren_duration', @@ -469,12 +469,12 @@ # name: test_platform_setup_and_discovery[number.c9_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Volume', + : 'C9 Volume', : 10.0, : 1.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.c9_volume', @@ -529,12 +529,12 @@ # name: test_platform_setup_and_discovery[number.cat_feeder_feed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cat Feeder Feed', + : 'Cat Feeder Feed', : 50.0, : 1.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.cat_feeder_feed', @@ -589,12 +589,12 @@ # name: test_platform_setup_and_discovery[number.cat_feeder_voice_times-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cat Feeder Voice times', + : 'Cat Feeder Voice times', : 5.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.cat_feeder_voice_times', @@ -649,12 +649,12 @@ # name: test_platform_setup_and_discovery[number.cbe_pro_2_battery_backup_reserve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CBE Pro 2 Battery backup reserve', + : 'CBE Pro 2 Battery backup reserve', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.cbe_pro_2_battery_backup_reserve', @@ -709,13 +709,13 @@ # name: test_platform_setup_and_discovery[number.cbe_pro_2_inverter_output_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CBE Pro 2 Inverter output power limit', + : 'power', + : 'CBE Pro 2 Inverter output power limit', : 100000.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'number.cbe_pro_2_inverter_output_power_limit', @@ -770,12 +770,12 @@ # name: test_platform_setup_and_discovery[number.cleverio_pf100_feed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cleverio PF100 Feed', + : 'Cleverio PF100 Feed', : 20.0, : 1.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.cleverio_pf100_feed', @@ -830,13 +830,13 @@ # name: test_platform_setup_and_discovery[number.garden_valve_yard_irrigation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Garden Valve Yard Irrigation duration', + : 'duration', + : 'Garden Valve Yard Irrigation duration', : 86400.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.garden_valve_yard_irrigation_duration', @@ -891,12 +891,12 @@ # name: test_platform_setup_and_discovery[number.grillhomero_cooking_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Grillhőmérő Cooking temperature', + : 'Grillhőmérő Cooking temperature', : 300.0, : -30.0, : , : 0.1, - 'unit_of_measurement': '℃', + : '℃', }), 'context': , 'entity_id': 'number.grillhomero_cooking_temperature', @@ -951,12 +951,12 @@ # name: test_platform_setup_and_discovery[number.grillhomero_cooking_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Grillhőmérő Cooking temperature 2', + : 'Grillhőmérő Cooking temperature 2', : 300.0, : -30.0, : , : 0.1, - 'unit_of_measurement': '℃', + : '℃', }), 'context': , 'entity_id': 'number.grillhomero_cooking_temperature_2', @@ -1011,13 +1011,13 @@ # name: test_platform_setup_and_discovery[number.hot_water_heat_pump_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Hot Water Heat Pump Temperature', + : 'temperature', + : 'Hot Water Heat Pump Temperature', : 75.0, : 15.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.hot_water_heat_pump_temperature', @@ -1072,12 +1072,12 @@ # name: test_platform_setup_and_discovery[number.house_water_level_alarm_maximum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'House Water Level Alarm maximum', + : 'House Water Level Alarm maximum', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.house_water_level_alarm_maximum', @@ -1132,12 +1132,12 @@ # name: test_platform_setup_and_discovery[number.house_water_level_alarm_minimum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'House Water Level Alarm minimum', + : 'House Water Level Alarm minimum', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.house_water_level_alarm_minimum', @@ -1192,13 +1192,13 @@ # name: test_platform_setup_and_discovery[number.house_water_level_installation_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'House Water Level Installation height', + : 'distance', + : 'House Water Level Installation height', : 2.5, : 0.2, : , : 0.001, - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'number.house_water_level_installation_height', @@ -1253,13 +1253,13 @@ # name: test_platform_setup_and_discovery[number.house_water_level_maximum_liquid_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'House Water Level Maximum liquid depth', + : 'distance', + : 'House Water Level Maximum liquid depth', : 2.4, : 0.1, : , : 0.001, - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'number.house_water_level_maximum_liquid_depth', @@ -1314,13 +1314,13 @@ # name: test_platform_setup_and_discovery[number.human_presence_office_far_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Human presence Office Far detection', + : 'distance', + : 'Human presence Office Far detection', : 1000.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 'cm', + : 'cm', }), 'context': , 'entity_id': 'number.human_presence_office_far_detection', @@ -1375,13 +1375,13 @@ # name: test_platform_setup_and_discovery[number.human_presence_office_near_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Human presence Office Near detection', + : 'distance', + : 'Human presence Office Near detection', : 1000.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 'cm', + : 'cm', }), 'context': , 'entity_id': 'number.human_presence_office_near_detection', @@ -1436,12 +1436,12 @@ # name: test_platform_setup_and_discovery[number.human_presence_office_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Human presence Office Sensitivity', + : 'Human presence Office Sensitivity', : 10.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 'x', + : 'x', }), 'context': , 'entity_id': 'number.human_presence_office_sensitivity', @@ -1496,13 +1496,13 @@ # name: test_platform_setup_and_discovery[number.inverter_pool_heat_pump_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter Pool Heat Pump Temperature', + : 'temperature', + : 'Inverter Pool Heat Pump Temperature', : 104.0, : -22.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.inverter_pool_heat_pump_temperature', @@ -1557,13 +1557,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 1', + : 'duration', + : '接HA水阀 Irrigation duration 1', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_1', @@ -1618,13 +1618,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 2', + : 'duration', + : '接HA水阀 Irrigation duration 2', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_2', @@ -1679,13 +1679,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 3', + : 'duration', + : '接HA水阀 Irrigation duration 3', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_3', @@ -1740,13 +1740,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 4', + : 'duration', + : '接HA水阀 Irrigation duration 4', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_4', @@ -1801,13 +1801,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 5', + : 'duration', + : '接HA水阀 Irrigation duration 5', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_5', @@ -1862,13 +1862,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 6', + : 'duration', + : '接HA水阀 Irrigation duration 6', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_6', @@ -1923,13 +1923,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 7', + : 'duration', + : '接HA水阀 Irrigation duration 7', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_7', @@ -1984,13 +1984,13 @@ # name: test_platform_setup_and_discovery[number.jie_hashui_fa_irrigation_duration_8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': '接HA水阀 Irrigation duration 8', + : 'duration', + : '接HA水阀 Irrigation duration 8', : 1439.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.jie_hashui_fa_irrigation_duration_8', @@ -2045,12 +2045,12 @@ # name: test_platform_setup_and_discovery[number.kabinet_temperature_correction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Кабінет Temperature correction', + : 'Кабінет Temperature correction', : 9.0, : -9.0, : , : 1.0, - 'unit_of_measurement': '℃', + : '℃', }), 'context': , 'entity_id': 'number.kabinet_temperature_correction', @@ -2105,13 +2105,13 @@ # name: test_platform_setup_and_discovery[number.kattenbak_delay_clean_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Kattenbak Delay clean time', + : 'duration', + : 'Kattenbak Delay clean time', : 600.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.kattenbak_delay_clean_time', @@ -2166,13 +2166,13 @@ # name: test_platform_setup_and_discovery[number.madimack_elite_v3_pool_heat_pump_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Temperature', + : 'temperature', + : 'Madimack Elite V3 Pool Heat Pump Temperature', : 104.0, : -22.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.madimack_elite_v3_pool_heat_pump_temperature', @@ -2227,12 +2227,12 @@ # name: test_platform_setup_and_discovery[number.mirilla_puerta_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mirilla puerta Volume', + : 'Mirilla puerta Volume', : 100.0, : 1.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.mirilla_puerta_volume', @@ -2287,13 +2287,13 @@ # name: test_platform_setup_and_discovery[number.multifunction_alarm_alarm_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Multifunction alarm Alarm delay', + : 'duration', + : 'Multifunction alarm Alarm delay', : 999.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.multifunction_alarm_alarm_delay', @@ -2348,13 +2348,13 @@ # name: test_platform_setup_and_discovery[number.multifunction_alarm_arm_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Multifunction alarm Arm delay', + : 'duration', + : 'Multifunction alarm Arm delay', : 999.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.multifunction_alarm_arm_delay', @@ -2409,13 +2409,13 @@ # name: test_platform_setup_and_discovery[number.multifunction_alarm_siren_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Multifunction alarm Siren duration', + : 'duration', + : 'Multifunction alarm Siren duration', : 999.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.multifunction_alarm_siren_duration', @@ -2470,13 +2470,13 @@ # name: test_platform_setup_and_discovery[number.poopy_nano_2_delay_clean_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Poopy Nano 2 Delay clean time', + : 'duration', + : 'Poopy Nano 2 Delay clean time', : 600.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.poopy_nano_2_delay_clean_time', @@ -2531,12 +2531,12 @@ # name: test_platform_setup_and_discovery[number.rainwater_tank_level_alarm_maximum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rainwater Tank Level Alarm maximum', + : 'Rainwater Tank Level Alarm maximum', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.rainwater_tank_level_alarm_maximum', @@ -2591,12 +2591,12 @@ # name: test_platform_setup_and_discovery[number.rainwater_tank_level_alarm_minimum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rainwater Tank Level Alarm minimum', + : 'Rainwater Tank Level Alarm minimum', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.rainwater_tank_level_alarm_minimum', @@ -2651,13 +2651,13 @@ # name: test_platform_setup_and_discovery[number.rainwater_tank_level_installation_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Rainwater Tank Level Installation height', + : 'distance', + : 'Rainwater Tank Level Installation height', : 3.0, : 0.1, : , : 0.001, - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'number.rainwater_tank_level_installation_height', @@ -2712,13 +2712,13 @@ # name: test_platform_setup_and_discovery[number.rainwater_tank_level_maximum_liquid_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Rainwater Tank Level Maximum liquid depth', + : 'distance', + : 'Rainwater Tank Level Maximum liquid depth', : 2.7, : 0.1, : , : 0.001, - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'number.rainwater_tank_level_maximum_liquid_depth', @@ -2773,12 +2773,12 @@ # name: test_platform_setup_and_discovery[number.security_camera_video_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Video brightness', + : 'Security Camera Video brightness', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.security_camera_video_brightness', @@ -2833,12 +2833,12 @@ # name: test_platform_setup_and_discovery[number.security_camera_video_contrast-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Video contrast', + : 'Security Camera Video contrast', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.security_camera_video_contrast', @@ -2893,12 +2893,12 @@ # name: test_platform_setup_and_discovery[number.security_camera_video_sharpness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Video sharpness', + : 'Security Camera Video sharpness', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.security_camera_video_sharpness', @@ -2953,12 +2953,12 @@ # name: test_platform_setup_and_discovery[number.siren_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren Time', + : 'Siren Time', : 10.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.siren_time', @@ -3013,12 +3013,12 @@ # name: test_platform_setup_and_discovery[number.siren_veranda_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren veranda Time', + : 'Siren veranda Time', : 30.0, : 1.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.siren_veranda_time', @@ -3073,12 +3073,12 @@ # name: test_platform_setup_and_discovery[number.smart_thermostats_temperature_correction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'smart thermostats Temperature correction', + : 'smart thermostats Temperature correction', : 9.0, : -9.0, : , : 1.0, - 'unit_of_measurement': '摄氏度', + : '摄氏度', }), 'context': , 'entity_id': 'number.smart_thermostats_temperature_correction', @@ -3133,13 +3133,13 @@ # name: test_platform_setup_and_discovery[number.smart_water_timer_irrigation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Smart Water Timer Irrigation duration', + : 'duration', + : 'Smart Water Timer Irrigation duration', : 86400.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.smart_water_timer_irrigation_duration', @@ -3194,12 +3194,12 @@ # name: test_platform_setup_and_discovery[number.smart_white_noise_machine_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart White Noise Machine Volume', + : 'Smart White Noise Machine Volume', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.smart_white_noise_machine_volume', @@ -3254,12 +3254,12 @@ # name: test_platform_setup_and_discovery[number.sous_vide_cooking_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sous Vide Cooking temperature', + : 'Sous Vide Cooking temperature', : 92.5, : 25.0, : , : 0.1, - 'unit_of_measurement': '℃', + : '℃', }), 'context': , 'entity_id': 'number.sous_vide_cooking_temperature', @@ -3314,12 +3314,12 @@ # name: test_platform_setup_and_discovery[number.sous_vide_cooking_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sous Vide Cooking time', + : 'Sous Vide Cooking time', : 5999.0, : 1.0, : , : 1.0, - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'number.sous_vide_cooking_time', @@ -3374,13 +3374,13 @@ # name: test_platform_setup_and_discovery[number.sprinkler_cesare_irrigation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Sprinkler Cesare Irrigation duration', + : 'duration', + : 'Sprinkler Cesare Irrigation duration', : 86400.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.sprinkler_cesare_irrigation_duration', @@ -3435,12 +3435,12 @@ # name: test_platform_setup_and_discovery[number.v20_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Volume', + : 'V20 Volume', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.v20_volume', @@ -3495,13 +3495,13 @@ # name: test_platform_setup_and_discovery[number.valve_controller_2_irrigation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Valve Controller 2 Irrigation duration', + : 'duration', + : 'Valve Controller 2 Irrigation duration', : 86400.0, : 0.0, : , : 1.0, - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'number.valve_controller_2_irrigation_duration', @@ -3556,12 +3556,12 @@ # name: test_platform_setup_and_discovery[number.white_noise_machine_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Noise Machine Volume', + : 'White Noise Machine Volume', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'number.white_noise_machine_volume', @@ -3616,12 +3616,12 @@ # name: test_platform_setup_and_discovery[number.wifi_smart_gas_boiler_thermostat_temperature_correction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WiFi Smart Gas Boiler Thermostat Temperature correction', + : 'WiFi Smart Gas Boiler Thermostat Temperature correction', : 9.9, : -9.9, : , : 0.1, - 'unit_of_measurement': '℃', + : '℃', }), 'context': , 'entity_id': 'number.wifi_smart_gas_boiler_thermostat_temperature_correction', diff --git a/tests/components/tuya/snapshots/test_select.ambr b/tests/components/tuya/snapshots/test_select.ambr index fea696e8341..3fe3d784b79 100644 --- a/tests/components/tuya/snapshots/test_select.ambr +++ b/tests/components/tuya/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_platform_setup_and_discovery[select.3dprinter_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '3DPrinter Indicator light mode', + : '3DPrinter Indicator light mode', : list([ 'relay', 'pos', @@ -106,7 +106,7 @@ # name: test_platform_setup_and_discovery[select.3dprinter_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '3DPrinter Power-on behavior', + : '3DPrinter Power-on behavior', : list([ 'power_off', 'power_on', @@ -167,7 +167,7 @@ # name: test_platform_setup_and_discovery[select.4_433_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '4-433 Power-on behavior', + : '4-433 Power-on behavior', : list([ '0', '1', @@ -228,7 +228,7 @@ # name: test_platform_setup_and_discovery[select.6294ha_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '6294HA Power-on behavior', + : '6294HA Power-on behavior', : list([ 'power_off', 'power_on', @@ -290,7 +290,7 @@ # name: test_platform_setup_and_discovery[select.aqi_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AQI Volume', + : 'AQI Volume', : list([ 'low', 'middle', @@ -352,7 +352,7 @@ # name: test_platform_setup_and_discovery[select.arida_stavern_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arida Stavern Countdown', + : 'Arida Stavern Countdown', : list([ '1h', '2h', @@ -412,7 +412,7 @@ # name: test_platform_setup_and_discovery[select.arida_stavern_target_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Arida Stavern Target humidity', + : 'Arida Stavern Target humidity', : list([ '40', '50', @@ -472,7 +472,7 @@ # name: test_platform_setup_and_discovery[select.aubess_cooker_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aubess Cooker Indicator light mode', + : 'Aubess Cooker Indicator light mode', : list([ 'relay', 'pos', @@ -533,7 +533,7 @@ # name: test_platform_setup_and_discovery[select.aubess_cooker_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aubess Cooker Power-on behavior', + : 'Aubess Cooker Power-on behavior', : list([ 'power_off', 'power_on', @@ -594,7 +594,7 @@ # name: test_platform_setup_and_discovery[select.aubess_washing_machine_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aubess Washing Machine Indicator light mode', + : 'Aubess Washing Machine Indicator light mode', : list([ 'relay', 'pos', @@ -655,7 +655,7 @@ # name: test_platform_setup_and_discovery[select.aubess_washing_machine_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aubess Washing Machine Power-on behavior', + : 'Aubess Washing Machine Power-on behavior', : list([ 'power_off', 'power_on', @@ -717,7 +717,7 @@ # name: test_platform_setup_and_discovery[select.balkonbewasserung_weather_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'balkonbewässerung Weather delay', + : 'balkonbewässerung Weather delay', : list([ 'cancel', '24h', @@ -779,7 +779,7 @@ # name: test_platform_setup_and_discovery[select.bathroom_light_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'bathroom light Indicator light mode', + : 'bathroom light Indicator light mode', : list([ 'none', 'relay', @@ -840,7 +840,7 @@ # name: test_platform_setup_and_discovery[select.bathroom_light_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'bathroom light Power-on behavior', + : 'bathroom light Power-on behavior', : list([ 'power_off', 'power_on', @@ -900,7 +900,7 @@ # name: test_platform_setup_and_discovery[select.blinds_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'blinds Mode', + : 'blinds Mode', : list([ 'morning', 'night', @@ -963,7 +963,7 @@ # name: test_platform_setup_and_discovery[select.bree_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bree Countdown', + : 'Bree Countdown', : list([ 'cancel', '1h', @@ -1027,7 +1027,7 @@ # name: test_platform_setup_and_discovery[select.burocam_anti_flicker-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Anti-flicker', + : 'Bürocam Anti-flicker', : list([ '0', '1', @@ -1088,7 +1088,7 @@ # name: test_platform_setup_and_discovery[select.burocam_motion_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Motion detection sensitivity', + : 'Bürocam Motion detection sensitivity', : list([ '0', '1', @@ -1149,7 +1149,7 @@ # name: test_platform_setup_and_discovery[select.burocam_night_vision-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Night vision', + : 'Bürocam Night vision', : list([ '0', '1', @@ -1209,7 +1209,7 @@ # name: test_platform_setup_and_discovery[select.burocam_record_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Record mode', + : 'Bürocam Record mode', : list([ '1', '2', @@ -1268,7 +1268,7 @@ # name: test_platform_setup_and_discovery[select.burocam_sound_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Sound detection sensitivity', + : 'Bürocam Sound detection sensitivity', : list([ '0', '1', @@ -1327,7 +1327,7 @@ # name: test_platform_setup_and_discovery[select.c9_ipc_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 IPC mode', + : 'C9 IPC mode', : list([ '0', '1', @@ -1387,7 +1387,7 @@ # name: test_platform_setup_and_discovery[select.c9_motion_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Motion detection sensitivity', + : 'C9 Motion detection sensitivity', : list([ '0', '1', @@ -1447,7 +1447,7 @@ # name: test_platform_setup_and_discovery[select.c9_record_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Record mode', + : 'C9 Record mode', : list([ '1', '2', @@ -1507,7 +1507,7 @@ # name: test_platform_setup_and_discovery[select.cam_garage_motion_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Motion detection sensitivity', + : 'CAM GARAGE Motion detection sensitivity', : list([ '0', '1', @@ -1568,7 +1568,7 @@ # name: test_platform_setup_and_discovery[select.cam_garage_night_vision-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Night vision', + : 'CAM GARAGE Night vision', : list([ '0', '1', @@ -1628,7 +1628,7 @@ # name: test_platform_setup_and_discovery[select.cam_garage_record_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Record mode', + : 'CAM GARAGE Record mode', : list([ '1', '2', @@ -1687,7 +1687,7 @@ # name: test_platform_setup_and_discovery[select.cam_garage_sound_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Sound detection sensitivity', + : 'CAM GARAGE Sound detection sensitivity', : list([ '0', '1', @@ -1747,7 +1747,7 @@ # name: test_platform_setup_and_discovery[select.cam_porch_motion_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Motion detection sensitivity', + : 'CAM PORCH Motion detection sensitivity', : list([ '0', '1', @@ -1807,7 +1807,7 @@ # name: test_platform_setup_and_discovery[select.cam_porch_record_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Record mode', + : 'CAM PORCH Record mode', : list([ '1', '2', @@ -1866,7 +1866,7 @@ # name: test_platform_setup_and_discovery[select.cam_porch_sound_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Sound detection sensitivity', + : 'CAM PORCH Sound detection sensitivity', : list([ '0', '1', @@ -1925,7 +1925,7 @@ # name: test_platform_setup_and_discovery[select.cbe_pro_2_inverter_work_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CBE Pro 2 Inverter work mode', + : 'CBE Pro 2 Inverter work mode', : list([ 'self_powered', 'time_of_use', @@ -1987,7 +1987,7 @@ # name: test_platform_setup_and_discovery[select.ceiling_fan_with_light_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ceiling Fan With Light Countdown', + : 'Ceiling Fan With Light Countdown', : list([ 'cancel', '1h', @@ -2051,7 +2051,7 @@ # name: test_platform_setup_and_discovery[select.d825a_i_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D825A I Countdown', + : 'D825A I Countdown', : list([ 'cancel', '1h', @@ -2113,7 +2113,7 @@ # name: test_platform_setup_and_discovery[select.d825a_i_target_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D825A I Target humidity', + : 'D825A I Target humidity', : list([ '40', '45', @@ -2175,7 +2175,7 @@ # name: test_platform_setup_and_discovery[select.dehumidifer_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifer Countdown', + : 'Dehumidifer Countdown', : list([ 'cancel', '1h', @@ -2238,7 +2238,7 @@ # name: test_platform_setup_and_discovery[select.dehumidifier_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifier Countdown', + : 'Dehumidifier Countdown', : list([ 'cancel', '1h', @@ -2300,7 +2300,7 @@ # name: test_platform_setup_and_discovery[select.dehumidifier_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifier Indicator light mode', + : 'Dehumidifier Indicator light mode', : list([ 'relay', 'pos', @@ -2361,7 +2361,7 @@ # name: test_platform_setup_and_discovery[select.dehumidifier_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifier Power-on behavior', + : 'Dehumidifier Power-on behavior', : list([ 'power_off', 'power_on', @@ -2423,7 +2423,7 @@ # name: test_platform_setup_and_discovery[select.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Countdown', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Countdown', : list([ 'cancel', '1h', @@ -2484,7 +2484,7 @@ # name: test_platform_setup_and_discovery[select.dining_1_motor_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining 1 Motor mode', + : 'Dining 1 Motor mode', : list([ 'forward', 'back', @@ -2544,7 +2544,7 @@ # name: test_platform_setup_and_discovery[select.dolni_vchod_zapad_anti_flicker-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dolní vchod - západ Anti-flicker', + : 'Dolní vchod - západ Anti-flicker', : list([ '0', '1', @@ -2604,7 +2604,7 @@ # name: test_platform_setup_and_discovery[select.dolni_vchod_zapad_ipc_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dolní vchod - západ IPC mode', + : 'Dolní vchod - západ IPC mode', : list([ '0', '1', @@ -2664,7 +2664,7 @@ # name: test_platform_setup_and_discovery[select.elivco_kitchen_socket_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Elivco Kitchen Socket Indicator light mode', + : 'Elivco Kitchen Socket Indicator light mode', : list([ 'relay', 'pos', @@ -2725,7 +2725,7 @@ # name: test_platform_setup_and_discovery[select.elivco_kitchen_socket_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Elivco Kitchen Socket Power-on behavior', + : 'Elivco Kitchen Socket Power-on behavior', : list([ 'power_off', 'power_on', @@ -2786,7 +2786,7 @@ # name: test_platform_setup_and_discovery[select.elivco_tv_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Elivco TV Indicator light mode', + : 'Elivco TV Indicator light mode', : list([ 'relay', 'pos', @@ -2847,7 +2847,7 @@ # name: test_platform_setup_and_discovery[select.elivco_tv_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Elivco TV Power-on behavior', + : 'Elivco TV Power-on behavior', : list([ 'power_off', 'power_on', @@ -2908,7 +2908,7 @@ # name: test_platform_setup_and_discovery[select.framboisier_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Framboisier Indicator light mode', + : 'Framboisier Indicator light mode', : list([ 'relay', 'pos', @@ -2969,7 +2969,7 @@ # name: test_platform_setup_and_discovery[select.framboisier_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Framboisier Power-on behavior', + : 'Framboisier Power-on behavior', : list([ 'power_off', 'power_on', @@ -3030,7 +3030,7 @@ # name: test_platform_setup_and_discovery[select.framboisiers_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Framboisiers Power-on behavior', + : 'Framboisiers Power-on behavior', : list([ '0', '1', @@ -3091,7 +3091,7 @@ # name: test_platform_setup_and_discovery[select.garage_camera_motion_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Motion detection sensitivity', + : 'Garage Camera Motion detection sensitivity', : list([ '0', '1', @@ -3151,7 +3151,7 @@ # name: test_platform_setup_and_discovery[select.garage_camera_record_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Record mode', + : 'Garage Camera Record mode', : list([ '1', '2', @@ -3212,7 +3212,7 @@ # name: test_platform_setup_and_discovery[select.garden_valve_yard_weather_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Valve Yard Weather delay', + : 'Garden Valve Yard Weather delay', : list([ 'cancel', '24h', @@ -3274,7 +3274,7 @@ # name: test_platform_setup_and_discovery[select.ha_socket_delta_test_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HA Socket Delta Test Indicator light mode', + : 'HA Socket Delta Test Indicator light mode', : list([ 'relay', 'pos', @@ -3335,7 +3335,7 @@ # name: test_platform_setup_and_discovery[select.ha_socket_delta_test_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HA Socket Delta Test Power-on behavior', + : 'HA Socket Delta Test Power-on behavior', : list([ 'power_off', 'power_on', @@ -3397,7 +3397,7 @@ # name: test_platform_setup_and_discovery[select.hoover_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hoover Mode', + : 'Hoover Mode', : list([ 'random', 'smart', @@ -3459,7 +3459,7 @@ # name: test_platform_setup_and_discovery[select.ineox_sp2_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ineox SP2 Power-on behavior', + : 'Ineox SP2 Power-on behavior', : list([ 'power_off', 'power_on', @@ -3520,7 +3520,7 @@ # name: test_platform_setup_and_discovery[select.intercom_motion_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Intercom Motion detection sensitivity', + : 'Intercom Motion detection sensitivity', : list([ '0', '1', @@ -3584,7 +3584,7 @@ # name: test_platform_setup_and_discovery[select.ion1000pro_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO Countdown', + : 'ION1000PRO Countdown', : list([ '1', '2', @@ -3651,7 +3651,7 @@ # name: test_platform_setup_and_discovery[select.ion1000pro_countdown_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO Countdown', + : 'ION1000PRO Countdown', : list([ '1', '2', @@ -3715,7 +3715,7 @@ # name: test_platform_setup_and_discovery[select.jardim_frontal_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Jardim frontal Power-on behavior', + : 'Jardim frontal Power-on behavior', : list([ '0', '1', @@ -3776,7 +3776,7 @@ # name: test_platform_setup_and_discovery[select.jardin_fraises_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'jardin Fraises Power-on behavior', + : 'jardin Fraises Power-on behavior', : list([ '0', '1', @@ -3837,7 +3837,7 @@ # name: test_platform_setup_and_discovery[select.jie_hashuang_xiang_ji_liang_cha_zuo_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '接HA双向计量插座 Indicator light mode', + : '接HA双向计量插座 Indicator light mode', : list([ 'relay', 'pos', @@ -3898,7 +3898,7 @@ # name: test_platform_setup_and_discovery[select.jie_hashuang_xiang_ji_liang_cha_zuo_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '接HA双向计量插座 Power-on behavior', + : '接HA双向计量插座 Power-on behavior', : list([ 'power_off', 'power_on', @@ -3962,7 +3962,7 @@ # name: test_platform_setup_and_discovery[select.kalado_air_purifier_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kalado Air Purifier Countdown', + : 'Kalado Air Purifier Countdown', : list([ 'cancel', '1h', @@ -4025,7 +4025,7 @@ # name: test_platform_setup_and_discovery[select.kitchen_blinds_motor_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen Blinds Motor mode', + : 'Kitchen Blinds Motor mode', : list([ 'forward', 'back', @@ -4091,7 +4091,7 @@ # name: test_platform_setup_and_discovery[select.klarta_humea_spraying_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'KLARTA HUMEA Spraying level', + : 'KLARTA HUMEA Spraying level', : list([ 'level_1', 'level_2', @@ -4158,7 +4158,7 @@ # name: test_platform_setup_and_discovery[select.lave_linge_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lave linge Indicator light mode', + : 'Lave linge Indicator light mode', : list([ 'none', 'relay', @@ -4219,7 +4219,7 @@ # name: test_platform_setup_and_discovery[select.lave_linge_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lave linge Power-on behavior', + : 'Lave linge Power-on behavior', : list([ 'power_off', 'power_on', @@ -4281,7 +4281,7 @@ # name: test_platform_setup_and_discovery[select.living_room_dehumidifier_countdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room dehumidifier Countdown', + : 'Living room dehumidifier Countdown', : list([ 'cancel', '1h', @@ -4344,7 +4344,7 @@ # name: test_platform_setup_and_discovery[select.mesa_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mesa Level', + : 'mesa Level', : list([ 'level_1', 'level_2', @@ -4406,7 +4406,7 @@ # name: test_platform_setup_and_discovery[select.mesa_up_down-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mesa Up/Down', + : 'mesa Up/Down', : list([ 'up', 'down', @@ -4467,7 +4467,7 @@ # name: test_platform_setup_and_discovery[select.mirilla_puerta_anti_flicker-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mirilla puerta Anti-flicker', + : 'Mirilla puerta Anti-flicker', : list([ '0', '1', @@ -4527,7 +4527,7 @@ # name: test_platform_setup_and_discovery[select.mirilla_puerta_ipc_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mirilla puerta IPC mode', + : 'Mirilla puerta IPC mode', : list([ '0', '1', @@ -4587,7 +4587,7 @@ # name: test_platform_setup_and_discovery[select.office_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Indicator light mode', + : 'Office Indicator light mode', : list([ 'relay', 'pos', @@ -4648,7 +4648,7 @@ # name: test_platform_setup_and_discovery[select.office_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Power-on behavior', + : 'Office Power-on behavior', : list([ 'power_off', 'power_on', @@ -4708,7 +4708,7 @@ # name: test_platform_setup_and_discovery[select.persiana_do_quarto_motor_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Persiana do Quarto Motor mode', + : 'Persiana do Quarto Motor mode', : list([ 'forward', 'back', @@ -4767,7 +4767,7 @@ # name: test_platform_setup_and_discovery[select.projector_screen_motor_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Projector Screen Motor mode', + : 'Projector Screen Motor mode', : list([ 'forward', 'back', @@ -4827,7 +4827,7 @@ # name: test_platform_setup_and_discovery[select.puerta_casa_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Puerta Casa Power-on behavior', + : 'Puerta Casa Power-on behavior', : list([ '0', '1', @@ -4888,7 +4888,7 @@ # name: test_platform_setup_and_discovery[select.raspy4_home_assistant_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Raspy4 - Home Assistant Indicator light mode', + : 'Raspy4 - Home Assistant Indicator light mode', : list([ 'none', 'relay', @@ -4949,7 +4949,7 @@ # name: test_platform_setup_and_discovery[select.raspy4_home_assistant_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Raspy4 - Home Assistant Power-on behavior', + : 'Raspy4 - Home Assistant Power-on behavior', : list([ 'power_off', 'power_on', @@ -5010,7 +5010,7 @@ # name: test_platform_setup_and_discovery[select.seating_side_6_ch_smart_switch_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Seating side 6-ch Smart Switch Power-on behavior', + : 'Seating side 6-ch Smart Switch Power-on behavior', : list([ '0', '1', @@ -5071,7 +5071,7 @@ # name: test_platform_setup_and_discovery[select.security_camera_motion_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Motion detection sensitivity', + : 'Security Camera Motion detection sensitivity', : list([ '0', '1', @@ -5132,7 +5132,7 @@ # name: test_platform_setup_and_discovery[select.security_camera_night_vision-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Night vision', + : 'Security Camera Night vision', : list([ '0', '1', @@ -5192,7 +5192,7 @@ # name: test_platform_setup_and_discovery[select.security_camera_record_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Record mode', + : 'Security Camera Record mode', : list([ '1', '2', @@ -5251,7 +5251,7 @@ # name: test_platform_setup_and_discovery[select.security_camera_sound_detection_sensitivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Sound detection sensitivity', + : 'Security Camera Sound detection sensitivity', : list([ '0', '1', @@ -5311,7 +5311,7 @@ # name: test_platform_setup_and_discovery[select.security_light_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Light Indicator light mode', + : 'Security Light Indicator light mode', : list([ 'none', 'relay', @@ -5372,7 +5372,7 @@ # name: test_platform_setup_and_discovery[select.security_light_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Light Power-on behavior', + : 'Security Light Power-on behavior', : list([ 'power_off', 'power_on', @@ -5433,7 +5433,7 @@ # name: test_platform_setup_and_discovery[select.server_fan_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Server Fan Power-on behavior', + : 'Server Fan Power-on behavior', : list([ '0', '1', @@ -5495,7 +5495,7 @@ # name: test_platform_setup_and_discovery[select.siren_siren_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren Siren mode', + : 'Siren Siren mode', : list([ 'alarm_sound', 'alarm_light', @@ -5558,7 +5558,7 @@ # name: test_platform_setup_and_discovery[select.siren_veranda_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren veranda Volume', + : 'Siren veranda Volume', : list([ 'low', 'middle', @@ -5621,7 +5621,7 @@ # name: test_platform_setup_and_discovery[select.siren_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren Volume', + : 'Siren Volume', : list([ 'low', 'middle', @@ -5682,7 +5682,7 @@ # name: test_platform_setup_and_discovery[select.smart_kettle_quick_heat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Kettle Quick heat temperature', + : 'Smart Kettle Quick heat temperature', : list([ '85', '90', @@ -5743,7 +5743,7 @@ # name: test_platform_setup_and_discovery[select.smart_kettle_work_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Kettle Work mode', + : 'Smart Kettle Work mode', : list([ 'setting_quick', 'boiling_quick', @@ -5804,7 +5804,7 @@ # name: test_platform_setup_and_discovery[select.smart_odor_eliminator_pro_odor_elimination_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Odor Eliminator-Pro Odor elimination mode', + : 'Smart Odor Eliminator-Pro Odor elimination mode', : list([ 'smart', 'interim', @@ -5865,7 +5865,7 @@ # name: test_platform_setup_and_discovery[select.smart_water_timer_weather_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Water Timer Weather delay', + : 'Smart Water Timer Weather delay', : list([ 'cancel', '24h', @@ -5927,7 +5927,7 @@ # name: test_platform_setup_and_discovery[select.socket3_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Socket3 Power-on behavior', + : 'Socket3 Power-on behavior', : list([ '0', '1', @@ -5988,7 +5988,7 @@ # name: test_platform_setup_and_discovery[select.socket4_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Socket4 Indicator light mode', + : 'Socket4 Indicator light mode', : list([ 'relay', 'pos', @@ -6049,7 +6049,7 @@ # name: test_platform_setup_and_discovery[select.socket4_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Socket4 Power-on behavior', + : 'Socket4 Power-on behavior', : list([ 'power_off', 'power_on', @@ -6110,7 +6110,7 @@ # name: test_platform_setup_and_discovery[select.spot_1_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Spot 1 Indicator light mode', + : 'Spot 1 Indicator light mode', : list([ 'relay', 'pos', @@ -6171,7 +6171,7 @@ # name: test_platform_setup_and_discovery[select.spot_1_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Spot 1 Power-on behavior', + : 'Spot 1 Power-on behavior', : list([ 'power_off', 'power_on', @@ -6239,8 +6239,8 @@ # name: test_platform_setup_and_discovery[select.sunbeam_bedding_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sunbeam Bedding Level', - 'icon': 'mdi:thermometer-lines', + : 'Sunbeam Bedding Level', + : 'mdi:thermometer-lines', : list([ 'level_1', 'level_2', @@ -6315,8 +6315,8 @@ # name: test_platform_setup_and_discovery[select.sunbeam_bedding_level_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sunbeam Bedding Level 1', - 'icon': 'mdi:thermometer-lines', + : 'Sunbeam Bedding Level 1', + : 'mdi:thermometer-lines', : list([ 'level_1', 'level_2', @@ -6391,8 +6391,8 @@ # name: test_platform_setup_and_discovery[select.sunbeam_bedding_level_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sunbeam Bedding Level 2', - 'icon': 'mdi:thermometer-lines', + : 'Sunbeam Bedding Level 2', + : 'mdi:thermometer-lines', : list([ 'level_1', 'level_2', @@ -6461,7 +6461,7 @@ # name: test_platform_setup_and_discovery[select.v20_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Mode', + : 'V20 Mode', : list([ 'smart', 'zone', @@ -6523,7 +6523,7 @@ # name: test_platform_setup_and_discovery[select.v20_water_tank_adjustment-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Water tank adjustment', + : 'V20 Water tank adjustment', : list([ 'low', 'middle', @@ -6585,7 +6585,7 @@ # name: test_platform_setup_and_discovery[select.valve_controller_2_weather_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Valve Controller 2 Weather delay', + : 'Valve Controller 2 Weather delay', : list([ 'cancel', '24h', @@ -6646,7 +6646,7 @@ # name: test_platform_setup_and_discovery[select.vividstorm_screen_motor_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'VIVIDSTORM SCREEN Motor mode', + : 'VIVIDSTORM SCREEN Motor mode', : list([ 'forward', 'back', @@ -6706,7 +6706,7 @@ # name: test_platform_setup_and_discovery[select.wallwasher_front_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'wallwasher front Indicator light mode', + : 'wallwasher front Indicator light mode', : list([ 'relay', 'pos', @@ -6767,7 +6767,7 @@ # name: test_platform_setup_and_discovery[select.wallwasher_front_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'wallwasher front Power-on behavior', + : 'wallwasher front Power-on behavior', : list([ 'power_off', 'power_on', @@ -6828,7 +6828,7 @@ # name: test_platform_setup_and_discovery[select.weihnachtsmann_indicator_light_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Weihnachtsmann Indicator light mode', + : 'Weihnachtsmann Indicator light mode', : list([ 'relay', 'pos', @@ -6889,7 +6889,7 @@ # name: test_platform_setup_and_discovery[select.weihnachtsmann_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Weihnachtsmann Power-on behavior', + : 'Weihnachtsmann Power-on behavior', : list([ 'power_off', 'power_on', @@ -6950,7 +6950,7 @@ # name: test_platform_setup_and_discovery[select.wi_fi_hub_power_on_behavior-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Wi-Fi hub Power-on behavior', + : 'Wi-Fi hub Power-on behavior', : list([ 'power_off', 'power_on', diff --git a/tests/components/tuya/snapshots/test_sensor.ambr b/tests/components/tuya/snapshots/test_sensor.ambr index 83bfa57f129..2d2523b754c 100644 --- a/tests/components/tuya/snapshots/test_sensor.ambr +++ b/tests/components/tuya/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_platform_setup_and_discovery[sensor.3dprinter_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': '3DPrinter Current', + : 'current', + : '3DPrinter Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.3dprinter_current', @@ -105,10 +105,10 @@ # name: test_platform_setup_and_discovery[sensor.3dprinter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': '3DPrinter Power', + : 'power', + : '3DPrinter Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.3dprinter_power', @@ -166,10 +166,10 @@ # name: test_platform_setup_and_discovery[sensor.3dprinter_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '3DPrinter Total energy', + : 'energy', + : '3DPrinter Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.3dprinter_total_energy', @@ -227,10 +227,10 @@ # name: test_platform_setup_and_discovery[sensor.3dprinter_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': '3DPrinter Voltage', + : 'voltage', + : '3DPrinter Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.3dprinter_voltage', @@ -288,10 +288,10 @@ # name: test_platform_setup_and_discovery[sensor.6294ha_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': '6294HA Current', + : 'current', + : '6294HA Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.6294ha_current', @@ -346,10 +346,10 @@ # name: test_platform_setup_and_discovery[sensor.6294ha_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': '6294HA Power', + : 'power', + : '6294HA Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.6294ha_power', @@ -407,10 +407,10 @@ # name: test_platform_setup_and_discovery[sensor.6294ha_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '6294HA Total energy', + : 'energy', + : '6294HA Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.6294ha_total_energy', @@ -468,10 +468,10 @@ # name: test_platform_setup_and_discovery[sensor.6294ha_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': '6294HA Voltage', + : 'voltage', + : '6294HA Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.6294ha_voltage', @@ -529,10 +529,10 @@ # name: test_platform_setup_and_discovery[sensor.air_purifier_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Air Purifier Current', + : 'current', + : 'Air Purifier Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_purifier_current', @@ -587,10 +587,10 @@ # name: test_platform_setup_and_discovery[sensor.air_purifier_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Air Purifier Power', + : 'power', + : 'Air Purifier Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.air_purifier_power', @@ -648,10 +648,10 @@ # name: test_platform_setup_and_discovery[sensor.air_purifier_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Air Purifier Voltage', + : 'voltage', + : 'Air Purifier Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.air_purifier_voltage', @@ -709,10 +709,10 @@ # name: test_platform_setup_and_discovery[sensor.ak1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'AK1 Current', + : 'current', + : 'AK1 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ak1_current', @@ -767,10 +767,10 @@ # name: test_platform_setup_and_discovery[sensor.ak1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'AK1 Power', + : 'power', + : 'AK1 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.ak1_power', @@ -828,10 +828,10 @@ # name: test_platform_setup_and_discovery[sensor.ak1_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'AK1 Total energy', + : 'energy', + : 'AK1 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ak1_total_energy', @@ -889,10 +889,10 @@ # name: test_platform_setup_and_discovery[sensor.ak1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'AK1 Voltage', + : 'voltage', + : 'AK1 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ak1_voltage', @@ -944,10 +944,10 @@ # name: test_platform_setup_and_discovery[sensor.aqi_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'AQI Battery', + : 'battery', + : 'AQI Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aqi_battery', @@ -1002,8 +1002,8 @@ # name: test_platform_setup_and_discovery[sensor.aqi_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'AQI Battery state', + : 'enum', + : 'AQI Battery state', : list([ 'normal', 'charge', @@ -1062,10 +1062,10 @@ # name: test_platform_setup_and_discovery[sensor.aqi_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'AQI Carbon dioxide', + : 'carbon_dioxide', + : 'AQI Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.aqi_carbon_dioxide', @@ -1117,9 +1117,9 @@ # name: test_platform_setup_and_discovery[sensor.aqi_formaldehyde-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AQI Formaldehyde', + : 'AQI Formaldehyde', : , - 'unit_of_measurement': 'mg/m3', + : 'mg/m3', }), 'context': , 'entity_id': 'sensor.aqi_formaldehyde', @@ -1171,10 +1171,10 @@ # name: test_platform_setup_and_discovery[sensor.aqi_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'AQI Humidity', + : 'humidity', + : 'AQI Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.aqi_humidity', @@ -1226,10 +1226,10 @@ # name: test_platform_setup_and_discovery[sensor.aqi_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'AQI PM10', + : 'pm10', + : 'AQI PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.aqi_pm10', @@ -1284,10 +1284,10 @@ # name: test_platform_setup_and_discovery[sensor.aqi_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'AQI PM2.5', + : 'pm25', + : 'AQI PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.aqi_pm2_5', @@ -1342,10 +1342,10 @@ # name: test_platform_setup_and_discovery[sensor.aqi_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'AQI Temperature', + : 'temperature', + : 'AQI Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aqi_temperature', @@ -1397,10 +1397,10 @@ # name: test_platform_setup_and_discovery[sensor.aqi_volatile_organic_compounds-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds', - 'friendly_name': 'AQI Volatile organic compounds', + : 'volatile_organic_compounds', + : 'AQI Volatile organic compounds', : , - 'unit_of_measurement': 'mg/m³', + : 'mg/m³', }), 'context': , 'entity_id': 'sensor.aqi_volatile_organic_compounds', @@ -1452,10 +1452,10 @@ # name: test_platform_setup_and_discovery[sensor.arida_stavern_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Arida Stavern Humidity', + : 'humidity', + : 'Arida Stavern Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.arida_stavern_humidity', @@ -1510,10 +1510,10 @@ # name: test_platform_setup_and_discovery[sensor.arida_stavern_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Arida Stavern Temperature', + : 'temperature', + : 'Arida Stavern Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.arida_stavern_temperature', @@ -1571,10 +1571,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_cooker_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Aubess Cooker Current', + : 'current', + : 'Aubess Cooker Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aubess_cooker_current', @@ -1629,10 +1629,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_cooker_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Aubess Cooker Power', + : 'power', + : 'Aubess Cooker Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.aubess_cooker_power', @@ -1690,10 +1690,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_cooker_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aubess Cooker Total energy', + : 'energy', + : 'Aubess Cooker Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aubess_cooker_total_energy', @@ -1751,10 +1751,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_cooker_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Aubess Cooker Voltage', + : 'voltage', + : 'Aubess Cooker Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aubess_cooker_voltage', @@ -1812,10 +1812,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_washing_machine_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Aubess Washing Machine Current', + : 'current', + : 'Aubess Washing Machine Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aubess_washing_machine_current', @@ -1870,10 +1870,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_washing_machine_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Aubess Washing Machine Power', + : 'power', + : 'Aubess Washing Machine Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.aubess_washing_machine_power', @@ -1931,10 +1931,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_washing_machine_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Aubess Washing Machine Total energy', + : 'energy', + : 'Aubess Washing Machine Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aubess_washing_machine_total_energy', @@ -1992,10 +1992,10 @@ # name: test_platform_setup_and_discovery[sensor.aubess_washing_machine_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Aubess Washing Machine Voltage', + : 'voltage', + : 'Aubess Washing Machine Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.aubess_washing_machine_voltage', @@ -2047,10 +2047,10 @@ # name: test_platform_setup_and_discovery[sensor.balkonbewasserung_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'balkonbewässerung Battery', + : 'battery', + : 'balkonbewässerung Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.balkonbewasserung_battery', @@ -2103,9 +2103,9 @@ # name: test_platform_setup_and_discovery[sensor.balkonbewasserung_last_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'balkonbewässerung Last watering time', - 'unit_of_measurement': 's', + : 'duration', + : 'balkonbewässerung Last watering time', + : 's', }), 'context': , 'entity_id': 'sensor.balkonbewasserung_last_watering_time', @@ -2161,8 +2161,8 @@ # name: test_platform_setup_and_discovery[sensor.balkonbewasserung_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'balkonbewässerung Status', + : 'enum', + : 'balkonbewässerung Status', : list([ 'auto', 'manual', @@ -2219,10 +2219,10 @@ # name: test_platform_setup_and_discovery[sensor.basement_temperature_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Basement temperature Battery', + : 'battery', + : 'Basement temperature Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.basement_temperature_battery', @@ -2274,10 +2274,10 @@ # name: test_platform_setup_and_discovery[sensor.basement_temperature_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Basement temperature Humidity', + : 'humidity', + : 'Basement temperature Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.basement_temperature_humidity', @@ -2332,10 +2332,10 @@ # name: test_platform_setup_and_discovery[sensor.basement_temperature_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Basement temperature Temperature', + : 'temperature', + : 'Basement temperature Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.basement_temperature_temperature', @@ -2387,10 +2387,10 @@ # name: test_platform_setup_and_discovery[sensor.bassin_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bassin Battery', + : 'battery', + : 'Bassin Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bassin_battery', @@ -2448,10 +2448,10 @@ # name: test_platform_setup_and_discovery[sensor.bassin_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Bassin Current', + : 'current', + : 'Bassin Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bassin_current', @@ -2506,10 +2506,10 @@ # name: test_platform_setup_and_discovery[sensor.bassin_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Bassin Power', + : 'power', + : 'Bassin Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.bassin_power', @@ -2564,10 +2564,10 @@ # name: test_platform_setup_and_discovery[sensor.bassin_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Bassin Temperature', + : 'temperature', + : 'Bassin Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bassin_temperature', @@ -2625,10 +2625,10 @@ # name: test_platform_setup_and_discovery[sensor.bassin_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Bassin Total energy', + : 'energy', + : 'Bassin Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bassin_total_energy', @@ -2686,10 +2686,10 @@ # name: test_platform_setup_and_discovery[sensor.bassin_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Bassin Voltage', + : 'voltage', + : 'Bassin Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.bassin_voltage', @@ -2741,10 +2741,10 @@ # name: test_platform_setup_and_discovery[sensor.bathroom_smart_switch_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bathroom Smart Switch Battery', + : 'battery', + : 'Bathroom Smart Switch Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bathroom_smart_switch_battery', @@ -2796,10 +2796,10 @@ # name: test_platform_setup_and_discovery[sensor.boite_aux_lettres_arriere_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Boîte aux lettres - arrière Battery', + : 'battery', + : 'Boîte aux lettres - arrière Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.boite_aux_lettres_arriere_battery', @@ -2851,10 +2851,10 @@ # name: test_platform_setup_and_discovery[sensor.bouton_tempo_exterieur_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Bouton tempo extérieur Battery', + : 'battery', + : 'Bouton tempo extérieur Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.bouton_tempo_exterieur_battery', @@ -2909,10 +2909,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_air_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Air pressure', + : 'pressure', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Air pressure', : , - 'unit_of_measurement': 'hPa', + : 'hPa', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_air_pressure', @@ -2967,8 +2967,8 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Battery state', + : 'enum', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Battery state', : list([ 'low', 'high', @@ -3027,10 +3027,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Dew point', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_dew_point', @@ -3085,10 +3085,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_feels_like-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Feels like', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Feels like', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_feels_like', @@ -3143,10 +3143,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_heat_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Heat index', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Heat index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_heat_index', @@ -3198,10 +3198,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Humidity', + : 'humidity', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_humidity', @@ -3253,10 +3253,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Illuminance', + : 'illuminance', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_illuminance', @@ -3308,10 +3308,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity', + : 'humidity', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity', @@ -3363,10 +3363,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity_channel_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity channel 1', + : 'humidity', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity channel 1', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity_channel_1', @@ -3418,10 +3418,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity_channel_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity channel 2', + : 'humidity', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity channel 2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity_channel_2', @@ -3473,10 +3473,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity_channel_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity channel 3', + : 'humidity', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Outdoor humidity channel 3', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_outdoor_humidity_channel_3', @@ -3531,10 +3531,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_precipitation_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'precipitation_intensity', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Precipitation intensity', + : 'precipitation_intensity', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Precipitation intensity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_precipitation_intensity', @@ -3589,10 +3589,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature', @@ -3647,10 +3647,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature_channel_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature channel 1', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature channel 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature_channel_1', @@ -3705,10 +3705,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature_channel_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature channel 2', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature channel 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature_channel_2', @@ -3763,10 +3763,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature_channel_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature channel 3', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Probe temperature channel 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_probe_temperature_channel_3', @@ -3821,10 +3821,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Temperature', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_temperature', @@ -3879,10 +3879,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_total_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'precipitation', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Total precipitation today', + : 'precipitation', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Total precipitation today', : , - 'unit_of_measurement': 'mm', + : 'mm', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_total_precipitation_today', @@ -3934,9 +3934,9 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit UV index', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit UV index', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_uv_index', @@ -3991,10 +3991,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_wind_chill_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Wind chill index', + : 'temperature', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Wind chill index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_wind_chill_index', @@ -4046,7 +4046,7 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Wind direction', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Wind direction', : , }), 'context': , @@ -4105,10 +4105,10 @@ # name: test_platform_setup_and_discovery[sensor.br_7_in_1_wlan_wetterstation_anthrazit_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'BR 7-in-1 WLAN Wetterstation Anthrazit Wind speed', + : 'wind_speed', + : 'BR 7-in-1 WLAN Wetterstation Anthrazit Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.br_7_in_1_wlan_wetterstation_anthrazit_wind_speed', @@ -4160,10 +4160,10 @@ # name: test_platform_setup_and_discovery[sensor.c30_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'C30 Battery', + : 'battery', + : 'C30 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.c30_battery', @@ -4215,10 +4215,10 @@ # name: test_platform_setup_and_discovery[sensor.c9_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'C9 Battery', + : 'battery', + : 'C9 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.c9_battery', @@ -4270,9 +4270,9 @@ # name: test_platform_setup_and_discovery[sensor.cat_feeder_last_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cat Feeder Last amount', + : 'Cat Feeder Last amount', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.cat_feeder_last_amount', @@ -4327,10 +4327,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CBE Pro 2 Battery power', + : 'power', + : 'CBE Pro 2 Battery power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.cbe_pro_2_battery_power', @@ -4382,10 +4382,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_battery_soc-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'CBE Pro 2 Battery SOC', + : 'battery', + : 'CBE Pro 2 Battery SOC', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cbe_pro_2_battery_soc', @@ -4440,10 +4440,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_inverter_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CBE Pro 2 Inverter output power', + : 'power', + : 'CBE Pro 2 Inverter output power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.cbe_pro_2_inverter_output_power', @@ -4498,10 +4498,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_lifetime_battery_charge_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CBE Pro 2 Lifetime battery charge energy', + : 'energy', + : 'CBE Pro 2 Lifetime battery charge energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cbe_pro_2_lifetime_battery_charge_energy', @@ -4556,10 +4556,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_lifetime_battery_discharge_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CBE Pro 2 Lifetime battery discharge energy', + : 'energy', + : 'CBE Pro 2 Lifetime battery discharge energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cbe_pro_2_lifetime_battery_discharge_energy', @@ -4614,10 +4614,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_lifetime_inverter_output_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CBE Pro 2 Lifetime inverter output energy', + : 'energy', + : 'CBE Pro 2 Lifetime inverter output energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cbe_pro_2_lifetime_inverter_output_energy', @@ -4672,10 +4672,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_lifetime_off_grid_port_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CBE Pro 2 Lifetime off-grid port energy', + : 'energy', + : 'CBE Pro 2 Lifetime off-grid port energy', : , - 'unit_of_measurement': 'Wh', + : 'Wh', }), 'context': , 'entity_id': 'sensor.cbe_pro_2_lifetime_off_grid_port_energy', @@ -4730,10 +4730,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_lifetime_pv_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'CBE Pro 2 Lifetime PV energy', + : 'energy', + : 'CBE Pro 2 Lifetime PV energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cbe_pro_2_lifetime_pv_energy', @@ -4788,10 +4788,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_pv_channel_1_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CBE Pro 2 PV channel 1 power', + : 'power', + : 'CBE Pro 2 PV channel 1 power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.cbe_pro_2_pv_channel_1_power', @@ -4846,10 +4846,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_pv_channel_2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CBE Pro 2 PV channel 2 power', + : 'power', + : 'CBE Pro 2 PV channel 2 power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.cbe_pro_2_pv_channel_2_power', @@ -4904,10 +4904,10 @@ # name: test_platform_setup_and_discovery[sensor.cbe_pro_2_total_pv_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'CBE Pro 2 Total PV power', + : 'power', + : 'CBE Pro 2 Total PV power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.cbe_pro_2_total_pv_power', @@ -4959,10 +4959,10 @@ # name: test_platform_setup_and_discovery[sensor.cleverio_pf100_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Cleverio PF100 Battery', + : 'battery', + : 'Cleverio PF100 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.cleverio_pf100_battery', @@ -5014,9 +5014,9 @@ # name: test_platform_setup_and_discovery[sensor.cleverio_pf100_last_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Cleverio PF100 Last amount', + : 'Cleverio PF100 Last amount', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.cleverio_pf100_last_amount', @@ -5074,10 +5074,10 @@ # name: test_platform_setup_and_discovery[sensor.consommation_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Consommation Current', + : 'current', + : 'Consommation Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.consommation_current', @@ -5132,10 +5132,10 @@ # name: test_platform_setup_and_discovery[sensor.consommation_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Consommation Power', + : 'power', + : 'Consommation Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.consommation_power', @@ -5193,10 +5193,10 @@ # name: test_platform_setup_and_discovery[sensor.consommation_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Consommation Total energy', + : 'energy', + : 'Consommation Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.consommation_total_energy', @@ -5254,10 +5254,10 @@ # name: test_platform_setup_and_discovery[sensor.consommation_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Consommation Voltage', + : 'voltage', + : 'Consommation Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.consommation_voltage', @@ -5309,10 +5309,10 @@ # name: test_platform_setup_and_discovery[sensor.d825a_i_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'D825A I Humidity', + : 'humidity', + : 'D825A I Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.d825a_i_humidity', @@ -5367,10 +5367,10 @@ # name: test_platform_setup_and_discovery[sensor.d825a_i_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'D825A I Temperature', + : 'temperature', + : 'D825A I Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.d825a_i_temperature', @@ -5422,10 +5422,10 @@ # name: test_platform_setup_and_discovery[sensor.dehumidifer_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Dehumidifer Humidity', + : 'humidity', + : 'Dehumidifer Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dehumidifer_humidity', @@ -5483,10 +5483,10 @@ # name: test_platform_setup_and_discovery[sensor.dehumidifier_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Dehumidifier Current', + : 'current', + : 'Dehumidifier Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dehumidifier_current', @@ -5538,10 +5538,10 @@ # name: test_platform_setup_and_discovery[sensor.dehumidifier_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Dehumidifier Humidity', + : 'humidity', + : 'Dehumidifier Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dehumidifier_humidity', @@ -5596,10 +5596,10 @@ # name: test_platform_setup_and_discovery[sensor.dehumidifier_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dehumidifier Power', + : 'power', + : 'Dehumidifier Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.dehumidifier_power', @@ -5657,10 +5657,10 @@ # name: test_platform_setup_and_discovery[sensor.dehumidifier_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Dehumidifier Total energy', + : 'energy', + : 'Dehumidifier Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dehumidifier_total_energy', @@ -5718,10 +5718,10 @@ # name: test_platform_setup_and_discovery[sensor.dehumidifier_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Dehumidifier Voltage', + : 'voltage', + : 'Dehumidifier Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dehumidifier_voltage', @@ -5773,10 +5773,10 @@ # name: test_platform_setup_and_discovery[sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Humidity', + : 'humidity', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_humidity', @@ -5831,10 +5831,10 @@ # name: test_platform_setup_and_discovery[sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Temperature', + : 'temperature', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_temperature', @@ -5884,8 +5884,8 @@ # name: test_platform_setup_and_discovery[sensor.dining_1_last_operation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dining 1 Last operation duration', - 'unit_of_measurement': 'ms', + : 'Dining 1 Last operation duration', + : 'ms', }), 'context': , 'entity_id': 'sensor.dining_1_last_operation_duration', @@ -5937,9 +5937,9 @@ # name: test_platform_setup_and_discovery[sensor.dolni_vchod_zapad_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dolní vchod - západ Battery', + : 'Dolní vchod - západ Battery', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.dolni_vchod_zapad_battery', @@ -5991,10 +5991,10 @@ # name: test_platform_setup_and_discovery[sensor.door_garage_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Door Garage Battery', + : 'battery', + : 'Door Garage Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.door_garage_battery', @@ -6052,10 +6052,10 @@ # name: test_platform_setup_and_discovery[sensor.droger_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'droger Current', + : 'current', + : 'droger Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.droger_current', @@ -6110,10 +6110,10 @@ # name: test_platform_setup_and_discovery[sensor.droger_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'droger Power', + : 'power', + : 'droger Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.droger_power', @@ -6171,10 +6171,10 @@ # name: test_platform_setup_and_discovery[sensor.droger_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'droger Total energy', + : 'energy', + : 'droger Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.droger_total_energy', @@ -6232,10 +6232,10 @@ # name: test_platform_setup_and_discovery[sensor.droger_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'droger Voltage', + : 'voltage', + : 'droger Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.droger_voltage', @@ -6293,10 +6293,10 @@ # name: test_platform_setup_and_discovery[sensor.duan_lu_qi_ha_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': '断路器HA Phase A current', + : 'current', + : '断路器HA Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.duan_lu_qi_ha_phase_a_current', @@ -6354,10 +6354,10 @@ # name: test_platform_setup_and_discovery[sensor.duan_lu_qi_ha_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': '断路器HA Phase A power', + : 'power', + : '断路器HA Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.duan_lu_qi_ha_phase_a_power', @@ -6412,10 +6412,10 @@ # name: test_platform_setup_and_discovery[sensor.duan_lu_qi_ha_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': '断路器HA Phase A voltage', + : 'voltage', + : '断路器HA Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.duan_lu_qi_ha_phase_a_voltage', @@ -6470,10 +6470,10 @@ # name: test_platform_setup_and_discovery[sensor.duan_lu_qi_ha_supply_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': '断路器HA Supply frequency', + : 'frequency', + : '断路器HA Supply frequency', : , - 'unit_of_measurement': 'Hz', + : 'Hz', }), 'context': , 'entity_id': 'sensor.duan_lu_qi_ha_supply_frequency', @@ -6528,10 +6528,10 @@ # name: test_platform_setup_and_discovery[sensor.duan_lu_qi_ha_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '断路器HA Total energy', + : 'energy', + : '断路器HA Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.duan_lu_qi_ha_total_energy', @@ -6589,10 +6589,10 @@ # name: test_platform_setup_and_discovery[sensor.eau_chaude_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Eau Chaude Current', + : 'current', + : 'Eau Chaude Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eau_chaude_current', @@ -6647,10 +6647,10 @@ # name: test_platform_setup_and_discovery[sensor.eau_chaude_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Eau Chaude Power', + : 'power', + : 'Eau Chaude Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.eau_chaude_power', @@ -6705,10 +6705,10 @@ # name: test_platform_setup_and_discovery[sensor.eau_chaude_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Eau Chaude Total energy', + : 'energy', + : 'Eau Chaude Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eau_chaude_total_energy', @@ -6766,10 +6766,10 @@ # name: test_platform_setup_and_discovery[sensor.eau_chaude_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Eau Chaude Voltage', + : 'voltage', + : 'Eau Chaude Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.eau_chaude_voltage', @@ -6827,10 +6827,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Edesanya Energy Phase A current', + : 'current', + : 'Edesanya Energy Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_a_current', @@ -6888,10 +6888,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Edesanya Energy Phase A power', + : 'power', + : 'Edesanya Energy Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_a_power', @@ -6946,10 +6946,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Edesanya Energy Phase A voltage', + : 'voltage', + : 'Edesanya Energy Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_a_voltage', @@ -7007,10 +7007,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Edesanya Energy Phase B current', + : 'current', + : 'Edesanya Energy Phase B current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_b_current', @@ -7068,10 +7068,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Edesanya Energy Phase B power', + : 'power', + : 'Edesanya Energy Phase B power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_b_power', @@ -7126,10 +7126,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Edesanya Energy Phase B voltage', + : 'voltage', + : 'Edesanya Energy Phase B voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_b_voltage', @@ -7187,10 +7187,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Edesanya Energy Phase C current', + : 'current', + : 'Edesanya Energy Phase C current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_c_current', @@ -7248,10 +7248,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_c_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Edesanya Energy Phase C power', + : 'power', + : 'Edesanya Energy Phase C power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_c_power', @@ -7306,10 +7306,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Edesanya Energy Phase C voltage', + : 'voltage', + : 'Edesanya Energy Phase C voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.edesanya_energy_phase_c_voltage', @@ -7364,10 +7364,10 @@ # name: test_platform_setup_and_discovery[sensor.edesanya_energy_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Edesanya Energy Total energy', + : 'energy', + : 'Edesanya Energy Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.edesanya_energy_total_energy', @@ -7425,10 +7425,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_kitchen_socket_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Elivco Kitchen Socket Current', + : 'current', + : 'Elivco Kitchen Socket Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.elivco_kitchen_socket_current', @@ -7483,10 +7483,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_kitchen_socket_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Elivco Kitchen Socket Power', + : 'power', + : 'Elivco Kitchen Socket Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.elivco_kitchen_socket_power', @@ -7544,10 +7544,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_kitchen_socket_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Elivco Kitchen Socket Total energy', + : 'energy', + : 'Elivco Kitchen Socket Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.elivco_kitchen_socket_total_energy', @@ -7605,10 +7605,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_kitchen_socket_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Elivco Kitchen Socket Voltage', + : 'voltage', + : 'Elivco Kitchen Socket Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.elivco_kitchen_socket_voltage', @@ -7666,10 +7666,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_tv_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Elivco TV Current', + : 'current', + : 'Elivco TV Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.elivco_tv_current', @@ -7724,10 +7724,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_tv_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Elivco TV Power', + : 'power', + : 'Elivco TV Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.elivco_tv_power', @@ -7785,10 +7785,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_tv_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Elivco TV Total energy', + : 'energy', + : 'Elivco TV Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.elivco_tv_total_energy', @@ -7846,10 +7846,10 @@ # name: test_platform_setup_and_discovery[sensor.elivco_tv_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Elivco TV Voltage', + : 'voltage', + : 'Elivco TV Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.elivco_tv_voltage', @@ -7901,10 +7901,10 @@ # name: test_platform_setup_and_discovery[sensor.fenetre_cuisine_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Fenêtre cuisine Battery', + : 'battery', + : 'Fenêtre cuisine Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.fenetre_cuisine_battery', @@ -7962,10 +7962,10 @@ # name: test_platform_setup_and_discovery[sensor.framboisier_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Framboisier Current', + : 'current', + : 'Framboisier Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.framboisier_current', @@ -8020,10 +8020,10 @@ # name: test_platform_setup_and_discovery[sensor.framboisier_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Framboisier Power', + : 'power', + : 'Framboisier Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.framboisier_power', @@ -8081,10 +8081,10 @@ # name: test_platform_setup_and_discovery[sensor.framboisier_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Framboisier Total energy', + : 'energy', + : 'Framboisier Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.framboisier_total_energy', @@ -8142,10 +8142,10 @@ # name: test_platform_setup_and_discovery[sensor.framboisier_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Framboisier Voltage', + : 'voltage', + : 'Framboisier Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.framboisier_voltage', @@ -8201,8 +8201,8 @@ # name: test_platform_setup_and_discovery[sensor.frysen_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Frysen Battery state', + : 'enum', + : 'Frysen Battery state', : list([ 'low', 'middle', @@ -8259,10 +8259,10 @@ # name: test_platform_setup_and_discovery[sensor.frysen_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Frysen Humidity', + : 'humidity', + : 'Frysen Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.frysen_humidity', @@ -8317,10 +8317,10 @@ # name: test_platform_setup_and_discovery[sensor.frysen_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Frysen Probe temperature', + : 'temperature', + : 'Frysen Probe temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frysen_probe_temperature', @@ -8375,10 +8375,10 @@ # name: test_platform_setup_and_discovery[sensor.frysen_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Frysen Temperature', + : 'temperature', + : 'Frysen Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.frysen_temperature', @@ -8430,10 +8430,10 @@ # name: test_platform_setup_and_discovery[sensor.garage_contact_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Garage Contact Sensor Battery', + : 'battery', + : 'Garage Contact Sensor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garage_contact_sensor_battery', @@ -8491,10 +8491,10 @@ # name: test_platform_setup_and_discovery[sensor.garage_socket_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Garage Socket Current', + : 'current', + : 'Garage Socket Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garage_socket_current', @@ -8549,10 +8549,10 @@ # name: test_platform_setup_and_discovery[sensor.garage_socket_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Garage Socket Power', + : 'power', + : 'Garage Socket Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.garage_socket_power', @@ -8610,10 +8610,10 @@ # name: test_platform_setup_and_discovery[sensor.garage_socket_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Garage Socket Total energy', + : 'energy', + : 'Garage Socket Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garage_socket_total_energy', @@ -8671,10 +8671,10 @@ # name: test_platform_setup_and_discovery[sensor.garage_socket_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Garage Socket Voltage', + : 'voltage', + : 'Garage Socket Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garage_socket_voltage', @@ -8732,10 +8732,10 @@ # name: test_platform_setup_and_discovery[sensor.garaz_cerpadlo_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Garáž čerpadlo Current', + : 'current', + : 'Garáž čerpadlo Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garaz_cerpadlo_current', @@ -8790,10 +8790,10 @@ # name: test_platform_setup_and_discovery[sensor.garaz_cerpadlo_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Garáž čerpadlo Power', + : 'power', + : 'Garáž čerpadlo Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.garaz_cerpadlo_power', @@ -8851,10 +8851,10 @@ # name: test_platform_setup_and_discovery[sensor.garaz_cerpadlo_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Garáž čerpadlo Voltage', + : 'voltage', + : 'Garáž čerpadlo Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.garaz_cerpadlo_voltage', @@ -8906,10 +8906,10 @@ # name: test_platform_setup_and_discovery[sensor.garden_valve_yard_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Garden Valve Yard Battery', + : 'battery', + : 'Garden Valve Yard Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.garden_valve_yard_battery', @@ -8962,9 +8962,9 @@ # name: test_platform_setup_and_discovery[sensor.garden_valve_yard_last_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Garden Valve Yard Last watering time', - 'unit_of_measurement': 's', + : 'duration', + : 'Garden Valve Yard Last watering time', + : 's', }), 'context': , 'entity_id': 'sensor.garden_valve_yard_last_watering_time', @@ -9020,8 +9020,8 @@ # name: test_platform_setup_and_discovery[sensor.garden_valve_yard_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Garden Valve Yard Status', + : 'enum', + : 'Garden Valve Yard Status', : list([ 'auto', 'manual', @@ -9078,9 +9078,9 @@ # name: test_platform_setup_and_discovery[sensor.garden_valve_yard_total_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garden Valve Yard Total watering time', + : 'Garden Valve Yard Total watering time', : , - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'sensor.garden_valve_yard_total_watering_time', @@ -9132,9 +9132,9 @@ # name: test_platform_setup_and_discovery[sensor.gas_sensor_gas-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Gas sensor Gas', + : 'Gas sensor Gas', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.gas_sensor_gas', @@ -9190,8 +9190,8 @@ # name: test_platform_setup_and_discovery[sensor.greenhouse_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Greenhouse Battery state', + : 'enum', + : 'Greenhouse Battery state', : list([ 'low', 'middle', @@ -9248,10 +9248,10 @@ # name: test_platform_setup_and_discovery[sensor.greenhouse_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Greenhouse Humidity', + : 'humidity', + : 'Greenhouse Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.greenhouse_humidity', @@ -9306,10 +9306,10 @@ # name: test_platform_setup_and_discovery[sensor.greenhouse_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Greenhouse Temperature', + : 'temperature', + : 'Greenhouse Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.greenhouse_temperature', @@ -9361,10 +9361,10 @@ # name: test_platform_setup_and_discovery[sensor.grillhomero_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Grillhőmérő Battery', + : 'battery', + : 'Grillhőmérő Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.grillhomero_battery', @@ -9419,10 +9419,10 @@ # name: test_platform_setup_and_discovery[sensor.grillhomero_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Grillhőmérő Temperature', + : 'temperature', + : 'Grillhőmérő Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.grillhomero_temperature', @@ -9477,10 +9477,10 @@ # name: test_platform_setup_and_discovery[sensor.grillhomero_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Grillhőmérő Temperature', + : 'temperature', + : 'Grillhőmérő Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.grillhomero_temperature_2', @@ -9538,10 +9538,10 @@ # name: test_platform_setup_and_discovery[sensor.ha_socket_delta_test_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'HA Socket Delta Test Current', + : 'current', + : 'HA Socket Delta Test Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ha_socket_delta_test_current', @@ -9596,10 +9596,10 @@ # name: test_platform_setup_and_discovery[sensor.ha_socket_delta_test_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'HA Socket Delta Test Power', + : 'power', + : 'HA Socket Delta Test Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.ha_socket_delta_test_power', @@ -9657,10 +9657,10 @@ # name: test_platform_setup_and_discovery[sensor.ha_socket_delta_test_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'HA Socket Delta Test Total energy', + : 'energy', + : 'HA Socket Delta Test Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ha_socket_delta_test_total_energy', @@ -9718,10 +9718,10 @@ # name: test_platform_setup_and_discovery[sensor.ha_socket_delta_test_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'HA Socket Delta Test Voltage', + : 'voltage', + : 'HA Socket Delta Test Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ha_socket_delta_test_voltage', @@ -9773,9 +9773,9 @@ # name: test_platform_setup_and_discovery[sensor.hl400_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL400 PM2.5', + : 'HL400 PM2.5', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.hl400_pm2_5', @@ -9827,9 +9827,9 @@ # name: test_platform_setup_and_discovery[sensor.hot_water_heat_pump_compressor_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hot Water Heat Pump Compressor strength', + : 'Hot Water Heat Pump Compressor strength', : , - 'unit_of_measurement': '℃', + : '℃', }), 'context': , 'entity_id': 'sensor.hot_water_heat_pump_compressor_strength', @@ -9884,10 +9884,10 @@ # name: test_platform_setup_and_discovery[sensor.hot_water_heat_pump_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Hot Water Heat Pump Temperature', + : 'temperature', + : 'Hot Water Heat Pump Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hot_water_heat_pump_temperature', @@ -9942,10 +9942,10 @@ # name: test_platform_setup_and_discovery[sensor.house_water_level_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'House Water Level Depth', + : 'distance', + : 'House Water Level Depth', : , - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'sensor.house_water_level_depth', @@ -9997,9 +9997,9 @@ # name: test_platform_setup_and_discovery[sensor.house_water_level_liquid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'House Water Level Liquid level', + : 'House Water Level Liquid level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.house_water_level_liquid_level', @@ -10055,8 +10055,8 @@ # name: test_platform_setup_and_discovery[sensor.house_water_level_liquid_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'House Water Level Liquid state', + : 'enum', + : 'House Water Level Liquid state', : list([ 'normal', 'lower_alarm', @@ -10113,10 +10113,10 @@ # name: test_platform_setup_and_discovery[sensor.humid_pelargonia_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'humid pelargonia Battery', + : 'battery', + : 'humid pelargonia Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humid_pelargonia_battery', @@ -10172,8 +10172,8 @@ # name: test_platform_setup_and_discovery[sensor.humid_pelargonia_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'humid pelargonia Battery state', + : 'enum', + : 'humid pelargonia Battery state', : list([ 'low', 'middle', @@ -10230,10 +10230,10 @@ # name: test_platform_setup_and_discovery[sensor.humid_pelargonia_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'humid pelargonia Humidity', + : 'humidity', + : 'humid pelargonia Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humid_pelargonia_humidity', @@ -10288,10 +10288,10 @@ # name: test_platform_setup_and_discovery[sensor.humid_pelargonia_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'humid pelargonia Temperature', + : 'temperature', + : 'humid pelargonia Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.humid_pelargonia_temperature', @@ -10343,9 +10343,9 @@ # name: test_platform_setup_and_discovery[sensor.humy_bain_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humy bain Battery', + : 'Humy bain Battery', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.humy_bain_battery', @@ -10397,10 +10397,10 @@ # name: test_platform_setup_and_discovery[sensor.humy_bain_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Humy bain Humidity', + : 'humidity', + : 'Humy bain Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humy_bain_humidity', @@ -10455,10 +10455,10 @@ # name: test_platform_setup_and_discovery[sensor.humy_bain_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Humy bain Temperature', + : 'temperature', + : 'Humy bain Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.humy_bain_temperature', @@ -10510,10 +10510,10 @@ # name: test_platform_setup_and_discovery[sensor.humy_toilettes_rdc_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Humy toilettes RDC Battery', + : 'battery', + : 'Humy toilettes RDC Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humy_toilettes_rdc_battery', @@ -10565,10 +10565,10 @@ # name: test_platform_setup_and_discovery[sensor.humy_toilettes_rdc_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Humy toilettes RDC Humidity', + : 'humidity', + : 'Humy toilettes RDC Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humy_toilettes_rdc_humidity', @@ -10623,10 +10623,10 @@ # name: test_platform_setup_and_discovery[sensor.humy_toilettes_rdc_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Humy toilettes RDC Temperature', + : 'temperature', + : 'Humy toilettes RDC Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.humy_toilettes_rdc_temperature', @@ -10684,10 +10684,10 @@ # name: test_platform_setup_and_discovery[sensor.hvac_meter_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'HVAC Meter Current', + : 'current', + : 'HVAC Meter Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hvac_meter_current', @@ -10742,10 +10742,10 @@ # name: test_platform_setup_and_discovery[sensor.hvac_meter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'HVAC Meter Power', + : 'power', + : 'HVAC Meter Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.hvac_meter_power', @@ -10803,10 +10803,10 @@ # name: test_platform_setup_and_discovery[sensor.hvac_meter_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'HVAC Meter Total energy', + : 'energy', + : 'HVAC Meter Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hvac_meter_total_energy', @@ -10864,10 +10864,10 @@ # name: test_platform_setup_and_discovery[sensor.hvac_meter_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'HVAC Meter Voltage', + : 'voltage', + : 'HVAC Meter Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.hvac_meter_voltage', @@ -10923,8 +10923,8 @@ # name: test_platform_setup_and_discovery[sensor.ifs_std002_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'IFS-STD002 Battery state', + : 'enum', + : 'IFS-STD002 Battery state', : list([ 'low', 'middle', @@ -10981,10 +10981,10 @@ # name: test_platform_setup_and_discovery[sensor.ifs_std002_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'IFS-STD002 Humidity', + : 'humidity', + : 'IFS-STD002 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ifs_std002_humidity', @@ -11039,10 +11039,10 @@ # name: test_platform_setup_and_discovery[sensor.ifs_std002_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'IFS-STD002 Temperature', + : 'temperature', + : 'IFS-STD002 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ifs_std002_temperature', @@ -11100,10 +11100,10 @@ # name: test_platform_setup_and_discovery[sensor.ineox_sp2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Ineox SP2 Current', + : 'current', + : 'Ineox SP2 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ineox_sp2_current', @@ -11158,10 +11158,10 @@ # name: test_platform_setup_and_discovery[sensor.ineox_sp2_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Ineox SP2 Power', + : 'power', + : 'Ineox SP2 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.ineox_sp2_power', @@ -11219,10 +11219,10 @@ # name: test_platform_setup_and_discovery[sensor.ineox_sp2_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Ineox SP2 Total energy', + : 'energy', + : 'Ineox SP2 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ineox_sp2_total_energy', @@ -11280,10 +11280,10 @@ # name: test_platform_setup_and_discovery[sensor.ineox_sp2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Ineox SP2 Voltage', + : 'voltage', + : 'Ineox SP2 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ineox_sp2_voltage', @@ -11335,10 +11335,10 @@ # name: test_platform_setup_and_discovery[sensor.inondation_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Inondation Battery', + : 'battery', + : 'Inondation Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.inondation_battery', @@ -11393,10 +11393,10 @@ # name: test_platform_setup_and_discovery[sensor.inverter_pool_heat_pump_coil_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter Pool Heat Pump Coil temperature', + : 'temperature', + : 'Inverter Pool Heat Pump Coil temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_pool_heat_pump_coil_temperature', @@ -11448,9 +11448,9 @@ # name: test_platform_setup_and_discovery[sensor.inverter_pool_heat_pump_compressor_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inverter Pool Heat Pump Compressor strength', + : 'Inverter Pool Heat Pump Compressor strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.inverter_pool_heat_pump_compressor_strength', @@ -11505,10 +11505,10 @@ # name: test_platform_setup_and_discovery[sensor.inverter_pool_heat_pump_flow_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter Pool Heat Pump Flow temperature', + : 'temperature', + : 'Inverter Pool Heat Pump Flow temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_pool_heat_pump_flow_temperature', @@ -11563,10 +11563,10 @@ # name: test_platform_setup_and_discovery[sensor.inverter_pool_heat_pump_heat_exchanger_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter Pool Heat Pump Heat exchanger temperature', + : 'temperature', + : 'Inverter Pool Heat Pump Heat exchanger temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_pool_heat_pump_heat_exchanger_temperature', @@ -11621,10 +11621,10 @@ # name: test_platform_setup_and_discovery[sensor.inverter_pool_heat_pump_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter Pool Heat Pump Outside temperature', + : 'temperature', + : 'Inverter Pool Heat Pump Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_pool_heat_pump_outside_temperature', @@ -11679,10 +11679,10 @@ # name: test_platform_setup_and_discovery[sensor.inverter_pool_heat_pump_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter Pool Heat Pump Temperature', + : 'temperature', + : 'Inverter Pool Heat Pump Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_pool_heat_pump_temperature', @@ -11734,9 +11734,9 @@ # name: test_platform_setup_and_discovery[sensor.ion1000pro_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO PM2.5', + : 'ION1000PRO PM2.5', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.ion1000pro_pm2_5', @@ -11794,10 +11794,10 @@ # name: test_platform_setup_and_discovery[sensor.jie_hashuang_xiang_ji_liang_cha_zuo_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': '接HA双向计量插座 Current', + : 'current', + : '接HA双向计量插座 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.jie_hashuang_xiang_ji_liang_cha_zuo_current', @@ -11852,10 +11852,10 @@ # name: test_platform_setup_and_discovery[sensor.jie_hashuang_xiang_ji_liang_cha_zuo_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': '接HA双向计量插座 Power', + : 'power', + : '接HA双向计量插座 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.jie_hashuang_xiang_ji_liang_cha_zuo_power', @@ -11913,10 +11913,10 @@ # name: test_platform_setup_and_discovery[sensor.jie_hashuang_xiang_ji_liang_cha_zuo_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '接HA双向计量插座 Total energy', + : 'energy', + : '接HA双向计量插座 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.jie_hashuang_xiang_ji_liang_cha_zuo_total_energy', @@ -11971,10 +11971,10 @@ # name: test_platform_setup_and_discovery[sensor.jie_hashuang_xiang_ji_liang_cha_zuo_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '接HA双向计量插座 Total production', + : 'energy', + : '接HA双向计量插座 Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.jie_hashuang_xiang_ji_liang_cha_zuo_total_production', @@ -12032,10 +12032,10 @@ # name: test_platform_setup_and_discovery[sensor.jie_hashuang_xiang_ji_liang_cha_zuo_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': '接HA双向计量插座 Voltage', + : 'voltage', + : '接HA双向计量插座 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.jie_hashuang_xiang_ji_liang_cha_zuo_voltage', @@ -12087,10 +12087,10 @@ # name: test_platform_setup_and_discovery[sensor.jie_hashui_fa_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': '接HA水阀 Battery', + : 'battery', + : '接HA水阀 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.jie_hashui_fa_battery', @@ -12146,8 +12146,8 @@ # name: test_platform_setup_and_discovery[sensor.jie_hashui_fa_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': '接HA水阀 Battery state', + : 'enum', + : '接HA水阀 Battery state', : list([ 'low', 'middle', @@ -12209,8 +12209,8 @@ # name: test_platform_setup_and_discovery[sensor.kalado_air_purifier_air_quality-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kalado Air Purifier Air quality', + : 'enum', + : 'Kalado Air Purifier Air quality', : list([ 'great', 'good', @@ -12266,8 +12266,8 @@ # name: test_platform_setup_and_discovery[sensor.kalado_air_purifier_filter_utilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kalado Air Purifier Filter utilization', - 'unit_of_measurement': '%', + : 'Kalado Air Purifier Filter utilization', + : '%', }), 'context': , 'entity_id': 'sensor.kalado_air_purifier_filter_utilization', @@ -12322,10 +12322,10 @@ # name: test_platform_setup_and_discovery[sensor.kalado_air_purifier_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Kalado Air Purifier PM2.5', + : 'pm25', + : 'Kalado Air Purifier PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.kalado_air_purifier_pm2_5', @@ -12380,10 +12380,10 @@ # name: test_platform_setup_and_discovery[sensor.kattenbak_cat_weight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'Kattenbak Cat weight', + : 'weight', + : 'Kattenbak Cat weight', : , - 'unit_of_measurement': 'g', + : 'g', }), 'context': , 'entity_id': 'sensor.kattenbak_cat_weight', @@ -12438,10 +12438,10 @@ # name: test_platform_setup_and_discovery[sensor.kattenbak_excretion_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Kattenbak Excretion duration', + : 'duration', + : 'Kattenbak Excretion duration', : , - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'sensor.kattenbak_excretion_duration', @@ -12491,8 +12491,8 @@ # name: test_platform_setup_and_discovery[sensor.kattenbak_excretion_times_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kattenbak Excretion times (day)', - 'unit_of_measurement': 'times', + : 'Kattenbak Excretion times (day)', + : 'times', }), 'context': , 'entity_id': 'sensor.kattenbak_excretion_times_day', @@ -12548,8 +12548,8 @@ # name: test_platform_setup_and_discovery[sensor.kattenbak_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kattenbak Status', + : 'enum', + : 'Kattenbak Status', : list([ 'standby', 'sleep', @@ -12612,10 +12612,10 @@ # name: test_platform_setup_and_discovery[sensor.keller_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Keller Current', + : 'current', + : 'Keller Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.keller_current', @@ -12670,10 +12670,10 @@ # name: test_platform_setup_and_discovery[sensor.keller_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Keller Power', + : 'power', + : 'Keller Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.keller_power', @@ -12731,10 +12731,10 @@ # name: test_platform_setup_and_discovery[sensor.keller_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Keller Total energy', + : 'energy', + : 'Keller Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.keller_total_energy', @@ -12792,10 +12792,10 @@ # name: test_platform_setup_and_discovery[sensor.keller_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Keller Voltage', + : 'voltage', + : 'Keller Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.keller_voltage', @@ -12851,8 +12851,8 @@ # name: test_platform_setup_and_discovery[sensor.kippenluik_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Kippenluik Battery state', + : 'enum', + : 'Kippenluik Battery state', : list([ 'low', 'middle', @@ -12909,9 +12909,9 @@ # name: test_platform_setup_and_discovery[sensor.klarta_humea_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'KLARTA HUMEA Humidity', + : 'KLARTA HUMEA Humidity', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.klarta_humea_humidity', @@ -12969,10 +12969,10 @@ # name: test_platform_setup_and_discovery[sensor.lave_linge_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Lave linge Current', + : 'current', + : 'Lave linge Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lave_linge_current', @@ -13027,10 +13027,10 @@ # name: test_platform_setup_and_discovery[sensor.lave_linge_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Lave linge Power', + : 'power', + : 'Lave linge Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.lave_linge_power', @@ -13088,10 +13088,10 @@ # name: test_platform_setup_and_discovery[sensor.lave_linge_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Lave linge Total energy', + : 'energy', + : 'Lave linge Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lave_linge_total_energy', @@ -13149,10 +13149,10 @@ # name: test_platform_setup_and_discovery[sensor.lave_linge_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Lave linge Voltage', + : 'voltage', + : 'Lave linge Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.lave_linge_voltage', @@ -13210,10 +13210,10 @@ # name: test_platform_setup_and_discovery[sensor.licht_drucker_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Licht drucker Current', + : 'current', + : 'Licht drucker Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.licht_drucker_current', @@ -13268,10 +13268,10 @@ # name: test_platform_setup_and_discovery[sensor.licht_drucker_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Licht drucker Power', + : 'power', + : 'Licht drucker Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.licht_drucker_power', @@ -13329,10 +13329,10 @@ # name: test_platform_setup_and_discovery[sensor.licht_drucker_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Licht drucker Total energy', + : 'energy', + : 'Licht drucker Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.licht_drucker_total_energy', @@ -13390,10 +13390,10 @@ # name: test_platform_setup_and_discovery[sensor.licht_drucker_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Licht drucker Voltage', + : 'voltage', + : 'Licht drucker Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.licht_drucker_voltage', @@ -13445,10 +13445,10 @@ # name: test_platform_setup_and_discovery[sensor.living_room_dehumidifier_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Living room dehumidifier Humidity', + : 'humidity', + : 'Living room dehumidifier Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.living_room_dehumidifier_humidity', @@ -13506,10 +13506,10 @@ # name: test_platform_setup_and_discovery[sensor.livr_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'LivR Current', + : 'current', + : 'LivR Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.livr_current', @@ -13564,10 +13564,10 @@ # name: test_platform_setup_and_discovery[sensor.livr_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'LivR Power', + : 'power', + : 'LivR Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.livr_power', @@ -13625,10 +13625,10 @@ # name: test_platform_setup_and_discovery[sensor.livr_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'LivR Voltage', + : 'voltage', + : 'LivR Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.livr_voltage', @@ -13678,8 +13678,8 @@ # name: test_platform_setup_and_discovery[sensor.lounge_dark_blind_last_operation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lounge Dark Blind Last operation duration', - 'unit_of_measurement': 'ms', + : 'Lounge Dark Blind Last operation duration', + : 'ms', }), 'context': , 'entity_id': 'sensor.lounge_dark_blind_last_operation_duration', @@ -13731,10 +13731,10 @@ # name: test_platform_setup_and_discovery[sensor.luminosite_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Luminosité Battery', + : 'battery', + : 'Luminosité Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.luminosite_battery', @@ -13786,10 +13786,10 @@ # name: test_platform_setup_and_discovery[sensor.luminosite_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'Luminosité Illuminance', + : 'illuminance', + : 'Luminosité Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.luminosite_illuminance', @@ -13844,10 +13844,10 @@ # name: test_platform_setup_and_discovery[sensor.madimack_elite_v3_pool_heat_pump_coil_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Coil temperature', + : 'temperature', + : 'Madimack Elite V3 Pool Heat Pump Coil temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madimack_elite_v3_pool_heat_pump_coil_temperature', @@ -13899,9 +13899,9 @@ # name: test_platform_setup_and_discovery[sensor.madimack_elite_v3_pool_heat_pump_compressor_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Compressor strength', + : 'Madimack Elite V3 Pool Heat Pump Compressor strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.madimack_elite_v3_pool_heat_pump_compressor_strength', @@ -13956,10 +13956,10 @@ # name: test_platform_setup_and_discovery[sensor.madimack_elite_v3_pool_heat_pump_flow_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Flow temperature', + : 'temperature', + : 'Madimack Elite V3 Pool Heat Pump Flow temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madimack_elite_v3_pool_heat_pump_flow_temperature', @@ -14014,10 +14014,10 @@ # name: test_platform_setup_and_discovery[sensor.madimack_elite_v3_pool_heat_pump_heat_exchanger_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Heat exchanger temperature', + : 'temperature', + : 'Madimack Elite V3 Pool Heat Pump Heat exchanger temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madimack_elite_v3_pool_heat_pump_heat_exchanger_temperature', @@ -14072,10 +14072,10 @@ # name: test_platform_setup_and_discovery[sensor.madimack_elite_v3_pool_heat_pump_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Outside temperature', + : 'temperature', + : 'Madimack Elite V3 Pool Heat Pump Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madimack_elite_v3_pool_heat_pump_outside_temperature', @@ -14130,10 +14130,10 @@ # name: test_platform_setup_and_discovery[sensor.madimack_elite_v3_pool_heat_pump_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Temperature', + : 'temperature', + : 'Madimack Elite V3 Pool Heat Pump Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.madimack_elite_v3_pool_heat_pump_temperature', @@ -14191,10 +14191,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Medidor de Energia Phase A current', + : 'current', + : 'Medidor de Energia Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_a_current', @@ -14252,10 +14252,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Medidor de Energia Phase A power', + : 'power', + : 'Medidor de Energia Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_a_power', @@ -14310,10 +14310,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Medidor de Energia Phase A voltage', + : 'voltage', + : 'Medidor de Energia Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_a_voltage', @@ -14371,10 +14371,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Medidor de Energia Phase B current', + : 'current', + : 'Medidor de Energia Phase B current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_b_current', @@ -14432,10 +14432,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Medidor de Energia Phase B power', + : 'power', + : 'Medidor de Energia Phase B power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_b_power', @@ -14490,10 +14490,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Medidor de Energia Phase B voltage', + : 'voltage', + : 'Medidor de Energia Phase B voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_b_voltage', @@ -14551,10 +14551,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Medidor de Energia Phase C current', + : 'current', + : 'Medidor de Energia Phase C current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_c_current', @@ -14612,10 +14612,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_c_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Medidor de Energia Phase C power', + : 'power', + : 'Medidor de Energia Phase C power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_c_power', @@ -14670,10 +14670,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Medidor de Energia Phase C voltage', + : 'voltage', + : 'Medidor de Energia Phase C voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_phase_c_voltage', @@ -14728,10 +14728,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_supply_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Medidor de Energia Supply frequency', + : 'frequency', + : 'Medidor de Energia Supply frequency', : , - 'unit_of_measurement': 'Hz', + : 'Hz', }), 'context': , 'entity_id': 'sensor.medidor_de_energia_supply_frequency', @@ -14786,10 +14786,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Medidor de Energia Total energy', + : 'energy', + : 'Medidor de Energia Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.medidor_de_energia_total_energy', @@ -14844,10 +14844,10 @@ # name: test_platform_setup_and_discovery[sensor.medidor_de_energia_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Medidor de Energia Total production', + : 'energy', + : 'Medidor de Energia Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.medidor_de_energia_total_production', @@ -14905,10 +14905,10 @@ # name: test_platform_setup_and_discovery[sensor.meter_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Meter Phase A current', + : 'current', + : 'Meter Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.meter_phase_a_current', @@ -14966,10 +14966,10 @@ # name: test_platform_setup_and_discovery[sensor.meter_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Meter Phase A power', + : 'power', + : 'Meter Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.meter_phase_a_power', @@ -15024,10 +15024,10 @@ # name: test_platform_setup_and_discovery[sensor.meter_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Meter Phase A voltage', + : 'voltage', + : 'Meter Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.meter_phase_a_voltage', @@ -15082,10 +15082,10 @@ # name: test_platform_setup_and_discovery[sensor.meter_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Meter Total energy', + : 'energy', + : 'Meter Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meter_total_energy', @@ -15140,10 +15140,10 @@ # name: test_platform_setup_and_discovery[sensor.meter_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Meter Total production', + : 'energy', + : 'Meter Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.meter_total_production', @@ -15201,10 +15201,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase A current', + : 'current', + : 'Metering_3PN_WiFi_stable Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_a_current', @@ -15262,10 +15262,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase A power', + : 'power', + : 'Metering_3PN_WiFi_stable Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_a_power', @@ -15320,10 +15320,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase A voltage', + : 'voltage', + : 'Metering_3PN_WiFi_stable Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_a_voltage', @@ -15381,10 +15381,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase B current', + : 'current', + : 'Metering_3PN_WiFi_stable Phase B current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_b_current', @@ -15442,10 +15442,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase B power', + : 'power', + : 'Metering_3PN_WiFi_stable Phase B power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_b_power', @@ -15500,10 +15500,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase B voltage', + : 'voltage', + : 'Metering_3PN_WiFi_stable Phase B voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_b_voltage', @@ -15561,10 +15561,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase C current', + : 'current', + : 'Metering_3PN_WiFi_stable Phase C current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_c_current', @@ -15622,10 +15622,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_c_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase C power', + : 'power', + : 'Metering_3PN_WiFi_stable Phase C power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_c_power', @@ -15680,10 +15680,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Metering_3PN_WiFi_stable Phase C voltage', + : 'voltage', + : 'Metering_3PN_WiFi_stable Phase C voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_phase_c_voltage', @@ -15738,10 +15738,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_supply_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Metering_3PN_WiFi_stable Supply frequency', + : 'frequency', + : 'Metering_3PN_WiFi_stable Supply frequency', : , - 'unit_of_measurement': 'Hz', + : 'Hz', }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_supply_frequency', @@ -15796,10 +15796,10 @@ # name: test_platform_setup_and_discovery[sensor.metering_3pn_wifi_stable_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Metering_3PN_WiFi_stable Total energy', + : 'energy', + : 'Metering_3PN_WiFi_stable Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.metering_3pn_wifi_stable_total_energy', @@ -15851,9 +15851,9 @@ # name: test_platform_setup_and_discovery[sensor.mirilla_puerta_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mirilla puerta Battery', + : 'Mirilla puerta Battery', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.mirilla_puerta_battery', @@ -15905,10 +15905,10 @@ # name: test_platform_setup_and_discovery[sensor.motion_sensor_lidl_zigbee_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Motion sensor lidl zigbee Battery', + : 'battery', + : 'Motion sensor lidl zigbee Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.motion_sensor_lidl_zigbee_battery', @@ -15964,8 +15964,8 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'MT15/MT29 Air quality index', + : 'enum', + : 'MT15/MT29 Air quality index', : list([ 'level_1', 'level_2', @@ -16022,10 +16022,10 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'MT15/MT29 Battery', + : 'battery', + : 'MT15/MT29 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mt15_mt29_battery', @@ -16080,10 +16080,10 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'MT15/MT29 Carbon dioxide', + : 'carbon_dioxide', + : 'MT15/MT29 Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.mt15_mt29_carbon_dioxide', @@ -16135,9 +16135,9 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_formaldehyde-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MT15/MT29 Formaldehyde', + : 'MT15/MT29 Formaldehyde', : , - 'unit_of_measurement': 'mg/m┬│', + : 'mg/m┬│', }), 'context': , 'entity_id': 'sensor.mt15_mt29_formaldehyde', @@ -16189,10 +16189,10 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'MT15/MT29 Humidity', + : 'humidity', + : 'MT15/MT29 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.mt15_mt29_humidity', @@ -16244,9 +16244,9 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MT15/MT29 PM10', + : 'MT15/MT29 PM10', : , - 'unit_of_measurement': 'ug/m┬│', + : 'ug/m┬│', }), 'context': , 'entity_id': 'sensor.mt15_mt29_pm10', @@ -16298,9 +16298,9 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MT15/MT29 PM2.5', + : 'MT15/MT29 PM2.5', : , - 'unit_of_measurement': 'ug/m┬│', + : 'ug/m┬│', }), 'context': , 'entity_id': 'sensor.mt15_mt29_pm2_5', @@ -16352,9 +16352,9 @@ # name: test_platform_setup_and_discovery[sensor.mt15_mt29_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'MT15/MT29 Temperature', + : 'MT15/MT29 Temperature', : , - 'unit_of_measurement': 'Ôäâ', + : 'Ôäâ', }), 'context': , 'entity_id': 'sensor.mt15_mt29_temperature', @@ -16412,10 +16412,10 @@ # name: test_platform_setup_and_discovery[sensor.n4_auto_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'N4-Auto Current', + : 'current', + : 'N4-Auto Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.n4_auto_current', @@ -16470,10 +16470,10 @@ # name: test_platform_setup_and_discovery[sensor.n4_auto_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'N4-Auto Power', + : 'power', + : 'N4-Auto Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.n4_auto_power', @@ -16531,10 +16531,10 @@ # name: test_platform_setup_and_discovery[sensor.n4_auto_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'N4-Auto Total energy', + : 'energy', + : 'N4-Auto Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.n4_auto_total_energy', @@ -16592,10 +16592,10 @@ # name: test_platform_setup_and_discovery[sensor.n4_auto_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'N4-Auto Voltage', + : 'voltage', + : 'N4-Auto Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.n4_auto_voltage', @@ -16647,10 +16647,10 @@ # name: test_platform_setup_and_discovery[sensor.np_downstairs_north_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'NP DownStairs North Battery', + : 'battery', + : 'NP DownStairs North Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.np_downstairs_north_battery', @@ -16702,10 +16702,10 @@ # name: test_platform_setup_and_discovery[sensor.np_downstairs_north_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'NP DownStairs North Humidity', + : 'humidity', + : 'NP DownStairs North Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.np_downstairs_north_humidity', @@ -16760,10 +16760,10 @@ # name: test_platform_setup_and_discovery[sensor.np_downstairs_north_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'NP DownStairs North Temperature', + : 'temperature', + : 'NP DownStairs North Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.np_downstairs_north_temperature', @@ -16821,10 +16821,10 @@ # name: test_platform_setup_and_discovery[sensor.office_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Office Current', + : 'current', + : 'Office Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.office_current', @@ -16879,10 +16879,10 @@ # name: test_platform_setup_and_discovery[sensor.office_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Office Power', + : 'power', + : 'Office Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.office_power', @@ -16940,10 +16940,10 @@ # name: test_platform_setup_and_discovery[sensor.office_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Office Total energy', + : 'energy', + : 'Office Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.office_total_energy', @@ -17001,10 +17001,10 @@ # name: test_platform_setup_and_discovery[sensor.office_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Office Voltage', + : 'voltage', + : 'Office Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.office_voltage', @@ -17062,10 +17062,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'P1 Energia Elettrica Phase A current', + : 'current', + : 'P1 Energia Elettrica Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_a_current', @@ -17123,10 +17123,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Energia Elettrica Phase A power', + : 'power', + : 'P1 Energia Elettrica Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_a_power', @@ -17181,10 +17181,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Energia Elettrica Phase A voltage', + : 'voltage', + : 'P1 Energia Elettrica Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_a_voltage', @@ -17242,10 +17242,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'P1 Energia Elettrica Phase B current', + : 'current', + : 'P1 Energia Elettrica Phase B current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_b_current', @@ -17303,10 +17303,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Energia Elettrica Phase B power', + : 'power', + : 'P1 Energia Elettrica Phase B power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_b_power', @@ -17361,10 +17361,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Energia Elettrica Phase B voltage', + : 'voltage', + : 'P1 Energia Elettrica Phase B voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_b_voltage', @@ -17422,10 +17422,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'P1 Energia Elettrica Phase C current', + : 'current', + : 'P1 Energia Elettrica Phase C current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_c_current', @@ -17483,10 +17483,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_c_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'P1 Energia Elettrica Phase C power', + : 'power', + : 'P1 Energia Elettrica Phase C power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_c_power', @@ -17541,10 +17541,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'P1 Energia Elettrica Phase C voltage', + : 'voltage', + : 'P1 Energia Elettrica Phase C voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_phase_c_voltage', @@ -17599,10 +17599,10 @@ # name: test_platform_setup_and_discovery[sensor.p1_energia_elettrica_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'P1 Energia Elettrica Total energy', + : 'energy', + : 'P1 Energia Elettrica Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.p1_energia_elettrica_total_energy', @@ -17654,10 +17654,10 @@ # name: test_platform_setup_and_discovery[sensor.patates_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Patates Battery', + : 'battery', + : 'Patates Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.patates_battery', @@ -17713,8 +17713,8 @@ # name: test_platform_setup_and_discovery[sensor.patates_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Patates Battery state', + : 'enum', + : 'Patates Battery state', : list([ 'low', 'middle', @@ -17771,10 +17771,10 @@ # name: test_platform_setup_and_discovery[sensor.patates_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Patates Humidity', + : 'humidity', + : 'Patates Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.patates_humidity', @@ -17829,10 +17829,10 @@ # name: test_platform_setup_and_discovery[sensor.patates_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Patates Temperature', + : 'temperature', + : 'Patates Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.patates_temperature', @@ -17884,10 +17884,10 @@ # name: test_platform_setup_and_discovery[sensor.pid_relay_2_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'pid_relay_2 Humidity', + : 'humidity', + : 'pid_relay_2 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pid_relay_2_humidity', @@ -17942,10 +17942,10 @@ # name: test_platform_setup_and_discovery[sensor.pid_relay_2_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'pid_relay_2 Temperature', + : 'temperature', + : 'pid_relay_2 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pid_relay_2_temperature', @@ -17997,10 +17997,10 @@ # name: test_platform_setup_and_discovery[sensor.pir_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'PIR Battery', + : 'battery', + : 'PIR Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pir_battery', @@ -18056,8 +18056,8 @@ # name: test_platform_setup_and_discovery[sensor.pir_outside_stairs_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'PIR outside stairs Battery state', + : 'enum', + : 'PIR outside stairs Battery state', : list([ 'low', 'middle', @@ -18117,10 +18117,10 @@ # name: test_platform_setup_and_discovery[sensor.pixi_smart_drinking_fountain_filter_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'PIXI Smart Drinking Fountain Filter duration', + : 'duration', + : 'PIXI Smart Drinking Fountain Filter duration', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.pixi_smart_drinking_fountain_filter_duration', @@ -18175,10 +18175,10 @@ # name: test_platform_setup_and_discovery[sensor.pixi_smart_drinking_fountain_uv_runtime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'PIXI Smart Drinking Fountain UV runtime', + : 'duration', + : 'PIXI Smart Drinking Fountain UV runtime', : , - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'sensor.pixi_smart_drinking_fountain_uv_runtime', @@ -18234,8 +18234,8 @@ # name: test_platform_setup_and_discovery[sensor.pixi_smart_drinking_fountain_water_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'PIXI Smart Drinking Fountain Water level', + : 'enum', + : 'PIXI Smart Drinking Fountain Water level', : list([ 'level_1', 'level_2', @@ -18295,10 +18295,10 @@ # name: test_platform_setup_and_discovery[sensor.pixi_smart_drinking_fountain_water_pump_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'PIXI Smart Drinking Fountain Water pump duration', + : 'duration', + : 'PIXI Smart Drinking Fountain Water pump duration', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.pixi_smart_drinking_fountain_water_pump_duration', @@ -18353,10 +18353,10 @@ # name: test_platform_setup_and_discovery[sensor.pixi_smart_drinking_fountain_water_usage_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'PIXI Smart Drinking Fountain Water usage duration', + : 'duration', + : 'PIXI Smart Drinking Fountain Water usage duration', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.pixi_smart_drinking_fountain_water_usage_duration', @@ -18411,10 +18411,10 @@ # name: test_platform_setup_and_discovery[sensor.poopy_nano_2_cat_weight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'Poopy Nano 2 Cat weight', + : 'weight', + : 'Poopy Nano 2 Cat weight', : , - 'unit_of_measurement': 'kg', + : 'kg', }), 'context': , 'entity_id': 'sensor.poopy_nano_2_cat_weight', @@ -18469,10 +18469,10 @@ # name: test_platform_setup_and_discovery[sensor.poopy_nano_2_excretion_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Poopy Nano 2 Excretion duration', + : 'duration', + : 'Poopy Nano 2 Excretion duration', : , - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'sensor.poopy_nano_2_excretion_duration', @@ -18522,8 +18522,8 @@ # name: test_platform_setup_and_discovery[sensor.poopy_nano_2_excretion_times_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Poopy Nano 2 Excretion times (day)', - 'unit_of_measurement': 'times', + : 'Poopy Nano 2 Excretion times (day)', + : 'times', }), 'context': , 'entity_id': 'sensor.poopy_nano_2_excretion_times_day', @@ -18577,8 +18577,8 @@ # name: test_platform_setup_and_discovery[sensor.poopy_nano_2_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Poopy Nano 2 Status', + : 'enum', + : 'Poopy Nano 2 Status', : list([ 'sleep', ]), @@ -18636,10 +18636,10 @@ # name: test_platform_setup_and_discovery[sensor.production_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Production Total energy', + : 'energy', + : 'Production Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.production_total_energy', @@ -18694,10 +18694,10 @@ # name: test_platform_setup_and_discovery[sensor.production_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Production Total power', + : 'power', + : 'Production Total power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.production_total_power', @@ -18752,10 +18752,10 @@ # name: test_platform_setup_and_discovery[sensor.production_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Production Total production', + : 'energy', + : 'Production Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.production_total_production', @@ -18805,8 +18805,8 @@ # name: test_platform_setup_and_discovery[sensor.projector_screen_last_operation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Projector Screen Last operation duration', - 'unit_of_measurement': 'ms', + : 'Projector Screen Last operation duration', + : 'ms', }), 'context': , 'entity_id': 'sensor.projector_screen_last_operation_duration', @@ -18861,10 +18861,10 @@ # name: test_platform_setup_and_discovery[sensor.pth_9cw_32_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'PTH-9CW 32 Carbon dioxide', + : 'carbon_dioxide', + : 'PTH-9CW 32 Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.pth_9cw_32_carbon_dioxide', @@ -18916,10 +18916,10 @@ # name: test_platform_setup_and_discovery[sensor.pth_9cw_32_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'PTH-9CW 32 Humidity', + : 'humidity', + : 'PTH-9CW 32 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.pth_9cw_32_humidity', @@ -18974,10 +18974,10 @@ # name: test_platform_setup_and_discovery[sensor.pth_9cw_32_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'PTH-9CW 32 Temperature', + : 'temperature', + : 'PTH-9CW 32 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.pth_9cw_32_temperature', @@ -19032,10 +19032,10 @@ # name: test_platform_setup_and_discovery[sensor.rainwater_tank_level_depth-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Rainwater Tank Level Depth', + : 'distance', + : 'Rainwater Tank Level Depth', : , - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'sensor.rainwater_tank_level_depth', @@ -19087,9 +19087,9 @@ # name: test_platform_setup_and_discovery[sensor.rainwater_tank_level_liquid_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Rainwater Tank Level Liquid level', + : 'Rainwater Tank Level Liquid level', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.rainwater_tank_level_liquid_level', @@ -19145,8 +19145,8 @@ # name: test_platform_setup_and_discovery[sensor.rainwater_tank_level_liquid_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Rainwater Tank Level Liquid state', + : 'enum', + : 'Rainwater Tank Level Liquid state', : list([ 'normal', 'lower_alarm', @@ -19209,10 +19209,10 @@ # name: test_platform_setup_and_discovery[sensor.raspy4_home_assistant_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Raspy4 - Home Assistant Current', + : 'current', + : 'Raspy4 - Home Assistant Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.raspy4_home_assistant_current', @@ -19267,10 +19267,10 @@ # name: test_platform_setup_and_discovery[sensor.raspy4_home_assistant_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Raspy4 - Home Assistant Power', + : 'power', + : 'Raspy4 - Home Assistant Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.raspy4_home_assistant_power', @@ -19328,10 +19328,10 @@ # name: test_platform_setup_and_discovery[sensor.raspy4_home_assistant_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Raspy4 - Home Assistant Total energy', + : 'energy', + : 'Raspy4 - Home Assistant Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.raspy4_home_assistant_total_energy', @@ -19389,10 +19389,10 @@ # name: test_platform_setup_and_discovery[sensor.raspy4_home_assistant_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Raspy4 - Home Assistant Voltage', + : 'voltage', + : 'Raspy4 - Home Assistant Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.raspy4_home_assistant_voltage', @@ -19448,8 +19448,8 @@ # name: test_platform_setup_and_discovery[sensor.rat_trap_hedge_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'rat trap hedge Battery state', + : 'enum', + : 'rat trap hedge Battery state', : list([ 'low', 'middle', @@ -19510,8 +19510,8 @@ # name: test_platform_setup_and_discovery[sensor.rauchmelder_alexsandro_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Rauchmelder Alexsandro Battery state', + : 'enum', + : 'Rauchmelder Alexsandro Battery state', : list([ 'low', 'middle', @@ -19572,8 +19572,8 @@ # name: test_platform_setup_and_discovery[sensor.rauchmelder_drucker_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Rauchmelder Drucker Battery state', + : 'enum', + : 'Rauchmelder Drucker Battery state', : list([ 'low', 'middle', @@ -19630,10 +19630,10 @@ # name: test_platform_setup_and_discovery[sensor.salon_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Salon Battery', + : 'battery', + : 'Salon Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.salon_battery', @@ -19691,10 +19691,10 @@ # name: test_platform_setup_and_discovery[sensor.sapphire_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Sapphire Current', + : 'current', + : 'Sapphire Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sapphire_current', @@ -19749,10 +19749,10 @@ # name: test_platform_setup_and_discovery[sensor.sapphire_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Sapphire Power', + : 'power', + : 'Sapphire Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.sapphire_power', @@ -19810,10 +19810,10 @@ # name: test_platform_setup_and_discovery[sensor.sapphire_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Sapphire Voltage', + : 'voltage', + : 'Sapphire Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sapphire_voltage', @@ -19865,10 +19865,10 @@ # name: test_platform_setup_and_discovery[sensor.sensor_t_h_server_home_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Sensor T & H Server Home Battery', + : 'battery', + : 'Sensor T & H Server Home Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sensor_t_h_server_home_battery', @@ -19920,10 +19920,10 @@ # name: test_platform_setup_and_discovery[sensor.sensor_t_h_server_home_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Sensor T & H Server Home Humidity', + : 'humidity', + : 'Sensor T & H Server Home Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sensor_t_h_server_home_humidity', @@ -19975,9 +19975,9 @@ # name: test_platform_setup_and_discovery[sensor.sensor_t_h_server_home_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sensor T & H Server Home Temperature', + : 'Sensor T & H Server Home Temperature', : , - 'unit_of_measurement': 'Ôäâ', + : 'Ôäâ', }), 'context': , 'entity_id': 'sensor.sensor_t_h_server_home_temperature', @@ -20029,10 +20029,10 @@ # name: test_platform_setup_and_discovery[sensor.siren_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Siren Battery', + : 'battery', + : 'Siren Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.siren_battery', @@ -20087,10 +20087,10 @@ # name: test_platform_setup_and_discovery[sensor.slimme_kattenbak_cat_weight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'Slimme kattenbak Cat weight', + : 'weight', + : 'Slimme kattenbak Cat weight', : , - 'unit_of_measurement': 'g', + : 'g', }), 'context': , 'entity_id': 'sensor.slimme_kattenbak_cat_weight', @@ -20145,10 +20145,10 @@ # name: test_platform_setup_and_discovery[sensor.slimme_kattenbak_excretion_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Slimme kattenbak Excretion duration', + : 'duration', + : 'Slimme kattenbak Excretion duration', : , - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'sensor.slimme_kattenbak_excretion_duration', @@ -20198,8 +20198,8 @@ # name: test_platform_setup_and_discovery[sensor.slimme_kattenbak_excretion_times_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Slimme kattenbak Excretion times (day)', - 'unit_of_measurement': 'times', + : 'Slimme kattenbak Excretion times (day)', + : 'times', }), 'context': , 'entity_id': 'sensor.slimme_kattenbak_excretion_times_day', @@ -20254,10 +20254,10 @@ # name: test_platform_setup_and_discovery[sensor.smart_kettle_current_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Smart Kettle Current temperature', + : 'temperature', + : 'Smart Kettle Current temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_kettle_current_temperature', @@ -20309,10 +20309,10 @@ # name: test_platform_setup_and_discovery[sensor.smart_odor_eliminator_pro_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smart Odor Eliminator-Pro Battery', + : 'battery', + : 'Smart Odor Eliminator-Pro Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smart_odor_eliminator_pro_battery', @@ -20369,8 +20369,8 @@ # name: test_platform_setup_and_discovery[sensor.smart_odor_eliminator_pro_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Odor Eliminator-Pro Status', + : 'enum', + : 'Smart Odor Eliminator-Pro Status', : list([ 'work', 'standby', @@ -20428,10 +20428,10 @@ # name: test_platform_setup_and_discovery[sensor.smart_water_timer_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smart Water Timer Battery', + : 'battery', + : 'Smart Water Timer Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smart_water_timer_battery', @@ -20484,9 +20484,9 @@ # name: test_platform_setup_and_discovery[sensor.smart_water_timer_last_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Smart Water Timer Last watering time', - 'unit_of_measurement': 's', + : 'duration', + : 'Smart Water Timer Last watering time', + : 's', }), 'context': , 'entity_id': 'sensor.smart_water_timer_last_watering_time', @@ -20542,8 +20542,8 @@ # name: test_platform_setup_and_discovery[sensor.smart_water_timer_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Water Timer Status', + : 'enum', + : 'Smart Water Timer Status', : list([ 'auto', 'manual', @@ -20600,9 +20600,9 @@ # name: test_platform_setup_and_discovery[sensor.smart_water_timer_total_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Water Timer Total watering time', + : 'Smart Water Timer Total watering time', : , - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'sensor.smart_water_timer_total_watering_time', @@ -20654,10 +20654,10 @@ # name: test_platform_setup_and_discovery[sensor.smogo_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smogo Battery', + : 'battery', + : 'Smogo Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smogo_battery', @@ -20712,10 +20712,10 @@ # name: test_platform_setup_and_discovery[sensor.smogo_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Smogo Carbon monoxide', + : 'carbon_monoxide', + : 'Smogo Carbon monoxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.smogo_carbon_monoxide', @@ -20767,10 +20767,10 @@ # name: test_platform_setup_and_discovery[sensor.smoke_alarm_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Smoke Alarm Battery', + : 'battery', + : 'Smoke Alarm Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smoke_alarm_battery', @@ -20826,8 +20826,8 @@ # name: test_platform_setup_and_discovery[sensor.smoke_alarm_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smoke Alarm Battery state', + : 'enum', + : 'Smoke Alarm Battery state', : list([ 'low', 'middle', @@ -20884,7 +20884,7 @@ # name: test_platform_setup_and_discovery[sensor.smoke_alarm_smoke_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke Alarm Smoke amount', + : 'Smoke Alarm Smoke amount', : , }), 'context': , @@ -20937,10 +20937,10 @@ # name: test_platform_setup_and_discovery[sensor.smoke_detector_upstairs_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': ' Smoke detector upstairs Battery', + : 'battery', + : ' Smoke detector upstairs Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.smoke_detector_upstairs_battery', @@ -20996,8 +20996,8 @@ # name: test_platform_setup_and_discovery[sensor.smoke_detector_upstairs_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': ' Smoke detector upstairs Battery state', + : 'enum', + : ' Smoke detector upstairs Battery state', : list([ 'low', 'middle', @@ -21060,10 +21060,10 @@ # name: test_platform_setup_and_discovery[sensor.socket3_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Socket3 Current', + : 'current', + : 'Socket3 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.socket3_current', @@ -21118,10 +21118,10 @@ # name: test_platform_setup_and_discovery[sensor.socket3_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Socket3 Power', + : 'power', + : 'Socket3 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.socket3_power', @@ -21176,10 +21176,10 @@ # name: test_platform_setup_and_discovery[sensor.socket3_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Socket3 Total energy', + : 'energy', + : 'Socket3 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.socket3_total_energy', @@ -21237,10 +21237,10 @@ # name: test_platform_setup_and_discovery[sensor.socket3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Socket3 Voltage', + : 'voltage', + : 'Socket3 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.socket3_voltage', @@ -21298,10 +21298,10 @@ # name: test_platform_setup_and_discovery[sensor.socket4_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Socket4 Current', + : 'current', + : 'Socket4 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.socket4_current', @@ -21356,10 +21356,10 @@ # name: test_platform_setup_and_discovery[sensor.socket4_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Socket4 Power', + : 'power', + : 'Socket4 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.socket4_power', @@ -21417,10 +21417,10 @@ # name: test_platform_setup_and_discovery[sensor.socket4_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Socket4 Total energy', + : 'energy', + : 'Socket4 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.socket4_total_energy', @@ -21478,10 +21478,10 @@ # name: test_platform_setup_and_discovery[sensor.socket4_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Socket4 Voltage', + : 'voltage', + : 'Socket4 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.socket4_voltage', @@ -21533,10 +21533,10 @@ # name: test_platform_setup_and_discovery[sensor.solar_zijpad_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Solar zijpad Battery', + : 'battery', + : 'Solar zijpad Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.solar_zijpad_battery', @@ -21592,8 +21592,8 @@ # name: test_platform_setup_and_discovery[sensor.solar_zijpad_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Solar zijpad Battery state', + : 'enum', + : 'Solar zijpad Battery state', : list([ 'low', 'middle', @@ -21656,10 +21656,10 @@ # name: test_platform_setup_and_discovery[sensor.soria_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Soria Power', + : 'power', + : 'Soria Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.soria_power', @@ -21714,10 +21714,10 @@ # name: test_platform_setup_and_discovery[sensor.soria_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Soria Temperature', + : 'temperature', + : 'Soria Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.soria_temperature', @@ -21772,10 +21772,10 @@ # name: test_platform_setup_and_discovery[sensor.soria_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Soria Total energy', + : 'energy', + : 'Soria Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.soria_total_energy', @@ -21830,10 +21830,10 @@ # name: test_platform_setup_and_discovery[sensor.sous_vide_current_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Sous Vide Current temperature', + : 'temperature', + : 'Sous Vide Current temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sous_vide_current_temperature', @@ -21883,8 +21883,8 @@ # name: test_platform_setup_and_discovery[sensor.sous_vide_remaining_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sous Vide Remaining time', - 'unit_of_measurement': 'min', + : 'Sous Vide Remaining time', + : 'min', }), 'context': , 'entity_id': 'sensor.sous_vide_remaining_time', @@ -21940,8 +21940,8 @@ # name: test_platform_setup_and_discovery[sensor.sous_vide_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Sous Vide Status', + : 'enum', + : 'Sous Vide Status', : list([ 'standby', 'cooking', @@ -22004,10 +22004,10 @@ # name: test_platform_setup_and_discovery[sensor.spa_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Spa Current', + : 'current', + : 'Spa Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.spa_current', @@ -22062,10 +22062,10 @@ # name: test_platform_setup_and_discovery[sensor.spa_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Spa Power', + : 'power', + : 'Spa Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.spa_power', @@ -22123,10 +22123,10 @@ # name: test_platform_setup_and_discovery[sensor.spa_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Spa Total energy', + : 'energy', + : 'Spa Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.spa_total_energy', @@ -22184,10 +22184,10 @@ # name: test_platform_setup_and_discovery[sensor.spa_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Spa Voltage', + : 'voltage', + : 'Spa Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.spa_voltage', @@ -22245,10 +22245,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SPM02_WiFi Phase A current', + : 'current', + : 'SPM02_WiFi Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_a_current', @@ -22306,10 +22306,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPM02_WiFi Phase A power', + : 'power', + : 'SPM02_WiFi Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_a_power', @@ -22364,10 +22364,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SPM02_WiFi Phase A voltage', + : 'voltage', + : 'SPM02_WiFi Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_a_voltage', @@ -22425,10 +22425,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_b_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SPM02_WiFi Phase B current', + : 'current', + : 'SPM02_WiFi Phase B current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_b_current', @@ -22486,10 +22486,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPM02_WiFi Phase B power', + : 'power', + : 'SPM02_WiFi Phase B power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_b_power', @@ -22544,10 +22544,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_b_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SPM02_WiFi Phase B voltage', + : 'voltage', + : 'SPM02_WiFi Phase B voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_b_voltage', @@ -22605,10 +22605,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_c_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'SPM02_WiFi Phase C current', + : 'current', + : 'SPM02_WiFi Phase C current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_c_current', @@ -22666,10 +22666,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_c_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'SPM02_WiFi Phase C power', + : 'power', + : 'SPM02_WiFi Phase C power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_c_power', @@ -22724,10 +22724,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_phase_c_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'SPM02_WiFi Phase C voltage', + : 'voltage', + : 'SPM02_WiFi Phase C voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.spm02_wifi_phase_c_voltage', @@ -22782,10 +22782,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPM02_WiFi Total energy', + : 'energy', + : 'SPM02_WiFi Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.spm02_wifi_total_energy', @@ -22840,10 +22840,10 @@ # name: test_platform_setup_and_discovery[sensor.spm02_wifi_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'SPM02_WiFi Total production', + : 'energy', + : 'SPM02_WiFi Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.spm02_wifi_total_production', @@ -22899,8 +22899,8 @@ # name: test_platform_setup_and_discovery[sensor.steel_cage_door_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Steel cage door Battery state', + : 'enum', + : 'Steel cage door Battery state', : list([ 'low', 'middle', @@ -22957,9 +22957,9 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_air_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SWS 16600 WiFi SH Air pressure', + : 'SWS 16600 WiFi SH Air pressure', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_air_pressure', @@ -23014,10 +23014,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Dew point', + : 'temperature', + : 'SWS 16600 WiFi SH Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_dew_point', @@ -23072,10 +23072,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_feels_like-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Feels like', + : 'temperature', + : 'SWS 16600 WiFi SH Feels like', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_feels_like', @@ -23130,10 +23130,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_heat_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Heat index', + : 'temperature', + : 'SWS 16600 WiFi SH Heat index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_heat_index', @@ -23185,10 +23185,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'SWS 16600 WiFi SH Humidity', + : 'humidity', + : 'SWS 16600 WiFi SH Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_humidity', @@ -23240,10 +23240,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'illuminance', - 'friendly_name': 'SWS 16600 WiFi SH Illuminance', + : 'illuminance', + : 'SWS 16600 WiFi SH Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_illuminance', @@ -23295,10 +23295,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_outdoor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'SWS 16600 WiFi SH Outdoor humidity', + : 'humidity', + : 'SWS 16600 WiFi SH Outdoor humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_outdoor_humidity', @@ -23350,10 +23350,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_outdoor_humidity_channel_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'SWS 16600 WiFi SH Outdoor humidity channel 1', + : 'humidity', + : 'SWS 16600 WiFi SH Outdoor humidity channel 1', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_outdoor_humidity_channel_1', @@ -23405,10 +23405,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_outdoor_humidity_channel_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'SWS 16600 WiFi SH Outdoor humidity channel 2', + : 'humidity', + : 'SWS 16600 WiFi SH Outdoor humidity channel 2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_outdoor_humidity_channel_2', @@ -23460,10 +23460,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_outdoor_humidity_channel_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'SWS 16600 WiFi SH Outdoor humidity channel 3', + : 'humidity', + : 'SWS 16600 WiFi SH Outdoor humidity channel 3', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_outdoor_humidity_channel_3', @@ -23518,10 +23518,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_precipitation_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'precipitation_intensity', - 'friendly_name': 'SWS 16600 WiFi SH Precipitation intensity', + : 'precipitation_intensity', + : 'SWS 16600 WiFi SH Precipitation intensity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_precipitation_intensity', @@ -23576,10 +23576,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_probe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Probe temperature', + : 'temperature', + : 'SWS 16600 WiFi SH Probe temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_probe_temperature', @@ -23634,10 +23634,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_probe_temperature_channel_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Probe temperature channel 1', + : 'temperature', + : 'SWS 16600 WiFi SH Probe temperature channel 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_probe_temperature_channel_1', @@ -23692,10 +23692,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_probe_temperature_channel_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Probe temperature channel 2', + : 'temperature', + : 'SWS 16600 WiFi SH Probe temperature channel 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_probe_temperature_channel_2', @@ -23750,10 +23750,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_probe_temperature_channel_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Probe temperature channel 3', + : 'temperature', + : 'SWS 16600 WiFi SH Probe temperature channel 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_probe_temperature_channel_3', @@ -23808,10 +23808,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Temperature', + : 'temperature', + : 'SWS 16600 WiFi SH Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_temperature', @@ -23866,10 +23866,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_total_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'precipitation', - 'friendly_name': 'SWS 16600 WiFi SH Total precipitation today', + : 'precipitation', + : 'SWS 16600 WiFi SH Total precipitation today', : , - 'unit_of_measurement': 'mm', + : 'mm', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_total_precipitation_today', @@ -23921,9 +23921,9 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SWS 16600 WiFi SH UV index', + : 'SWS 16600 WiFi SH UV index', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_uv_index', @@ -23978,10 +23978,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_wind_chill_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'SWS 16600 WiFi SH Wind chill index', + : 'temperature', + : 'SWS 16600 WiFi SH Wind chill index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_wind_chill_index', @@ -24036,10 +24036,10 @@ # name: test_platform_setup_and_discovery[sensor.sws_16600_wifi_sh_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'wind_speed', - 'friendly_name': 'SWS 16600 WiFi SH Wind speed', + : 'wind_speed', + : 'SWS 16600 WiFi SH Wind speed', : , - 'unit_of_measurement': 'km/h', + : 'km/h', }), 'context': , 'entity_id': 'sensor.sws_16600_wifi_sh_wind_speed', @@ -24091,10 +24091,10 @@ # name: test_platform_setup_and_discovery[sensor.temperature_and_humidity_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Temperature and humidity sensor Battery', + : 'battery', + : 'Temperature and humidity sensor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.temperature_and_humidity_sensor_battery', @@ -24146,10 +24146,10 @@ # name: test_platform_setup_and_discovery[sensor.temperature_and_humidity_sensor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Temperature and humidity sensor Humidity', + : 'humidity', + : 'Temperature and humidity sensor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.temperature_and_humidity_sensor_humidity', @@ -24204,10 +24204,10 @@ # name: test_platform_setup_and_discovery[sensor.temperature_and_humidity_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Temperature and humidity sensor Temperature', + : 'temperature', + : 'Temperature and humidity sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.temperature_and_humidity_sensor_temperature', @@ -24259,10 +24259,10 @@ # name: test_platform_setup_and_discovery[sensor.temperature_humidity_sensor_abelhas_pasillo_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Temperature Humidity Sensor abelhas pasillo Battery', + : 'battery', + : 'Temperature Humidity Sensor abelhas pasillo Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.temperature_humidity_sensor_abelhas_pasillo_battery', @@ -24314,10 +24314,10 @@ # name: test_platform_setup_and_discovery[sensor.temperature_humidity_sensor_abelhas_pasillo_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Temperature Humidity Sensor abelhas pasillo Humidity', + : 'humidity', + : 'Temperature Humidity Sensor abelhas pasillo Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.temperature_humidity_sensor_abelhas_pasillo_humidity', @@ -24369,9 +24369,9 @@ # name: test_platform_setup_and_discovery[sensor.temperature_humidity_sensor_abelhas_pasillo_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Temperature Humidity Sensor abelhas pasillo Temperature', + : 'Temperature Humidity Sensor abelhas pasillo Temperature', : , - 'unit_of_measurement': 'Ôäâ', + : 'Ôäâ', }), 'context': , 'entity_id': 'sensor.temperature_humidity_sensor_abelhas_pasillo_temperature', @@ -24423,10 +24423,10 @@ # name: test_platform_setup_and_discovery[sensor.tournesol_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Tournesol Battery', + : 'battery', + : 'Tournesol Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.tournesol_battery', @@ -24478,10 +24478,10 @@ # name: test_platform_setup_and_discovery[sensor.v20_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'V20 Battery', + : 'battery', + : 'V20 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.v20_battery', @@ -24533,9 +24533,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Cleaning area', + : 'V20 Cleaning area', : , - 'unit_of_measurement': '㎡', + : '㎡', }), 'context': , 'entity_id': 'sensor.v20_cleaning_area', @@ -24587,9 +24587,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Cleaning time', + : 'V20 Cleaning time', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.v20_cleaning_time', @@ -24641,9 +24641,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_duster_cloth_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Duster cloth lifetime', + : 'V20 Duster cloth lifetime', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.v20_duster_cloth_lifetime', @@ -24695,9 +24695,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_filter_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Filter lifetime', + : 'V20 Filter lifetime', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.v20_filter_lifetime', @@ -24749,9 +24749,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_rolling_brush_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Rolling brush lifetime', + : 'V20 Rolling brush lifetime', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.v20_rolling_brush_lifetime', @@ -24803,9 +24803,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_side_brush_lifetime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Side brush lifetime', + : 'V20 Side brush lifetime', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.v20_side_brush_lifetime', @@ -24857,9 +24857,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_total_cleaning_area-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Total cleaning area', + : 'V20 Total cleaning area', : , - 'unit_of_measurement': '㎡', + : '㎡', }), 'context': , 'entity_id': 'sensor.v20_total_cleaning_area', @@ -24911,9 +24911,9 @@ # name: test_platform_setup_and_discovery[sensor.v20_total_cleaning_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Total cleaning time', + : 'V20 Total cleaning time', : , - 'unit_of_measurement': 'min', + : 'min', }), 'context': , 'entity_id': 'sensor.v20_total_cleaning_time', @@ -24965,7 +24965,7 @@ # name: test_platform_setup_and_discovery[sensor.v20_total_cleaning_times-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Total cleaning times', + : 'V20 Total cleaning times', : , }), 'context': , @@ -25018,10 +25018,10 @@ # name: test_platform_setup_and_discovery[sensor.valve_controller_2_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Valve Controller 2 Battery', + : 'battery', + : 'Valve Controller 2 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.valve_controller_2_battery', @@ -25074,9 +25074,9 @@ # name: test_platform_setup_and_discovery[sensor.valve_controller_2_last_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Valve Controller 2 Last watering time', - 'unit_of_measurement': 's', + : 'duration', + : 'Valve Controller 2 Last watering time', + : 's', }), 'context': , 'entity_id': 'sensor.valve_controller_2_last_watering_time', @@ -25132,8 +25132,8 @@ # name: test_platform_setup_and_discovery[sensor.valve_controller_2_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Valve Controller 2 Status', + : 'enum', + : 'Valve Controller 2 Status', : list([ 'auto', 'manual', @@ -25190,9 +25190,9 @@ # name: test_platform_setup_and_discovery[sensor.valve_controller_2_total_watering_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Valve Controller 2 Total watering time', + : 'Valve Controller 2 Total watering time', : , - 'unit_of_measurement': 's', + : 's', }), 'context': , 'entity_id': 'sensor.valve_controller_2_total_watering_time', @@ -25250,10 +25250,10 @@ # name: test_platform_setup_and_discovery[sensor.varmelampa_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Värmelampa Current', + : 'current', + : 'Värmelampa Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.varmelampa_current', @@ -25308,10 +25308,10 @@ # name: test_platform_setup_and_discovery[sensor.varmelampa_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Värmelampa Power', + : 'power', + : 'Värmelampa Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.varmelampa_power', @@ -25369,10 +25369,10 @@ # name: test_platform_setup_and_discovery[sensor.varmelampa_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Värmelampa Total energy', + : 'energy', + : 'Värmelampa Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.varmelampa_total_energy', @@ -25430,10 +25430,10 @@ # name: test_platform_setup_and_discovery[sensor.varmelampa_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Värmelampa Voltage', + : 'voltage', + : 'Värmelampa Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.varmelampa_voltage', @@ -25485,10 +25485,10 @@ # name: test_platform_setup_and_discovery[sensor.ventus_test_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Ventus test Humidity', + : 'humidity', + : 'Ventus test Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.ventus_test_humidity', @@ -25543,10 +25543,10 @@ # name: test_platform_setup_and_discovery[sensor.ventus_test_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Ventus test Temperature', + : 'temperature', + : 'Ventus test Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.ventus_test_temperature', @@ -25596,8 +25596,8 @@ # name: test_platform_setup_and_discovery[sensor.vividstorm_screen_last_operation_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'VIVIDSTORM SCREEN Last operation duration', - 'unit_of_measurement': 'ms', + : 'VIVIDSTORM SCREEN Last operation duration', + : 'ms', }), 'context': , 'entity_id': 'sensor.vividstorm_screen_last_operation_duration', @@ -25655,10 +25655,10 @@ # name: test_platform_setup_and_discovery[sensor.waschmaschine_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Waschmaschine Current', + : 'current', + : 'Waschmaschine Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.waschmaschine_current', @@ -25713,10 +25713,10 @@ # name: test_platform_setup_and_discovery[sensor.waschmaschine_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Waschmaschine Power', + : 'power', + : 'Waschmaschine Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.waschmaschine_power', @@ -25774,10 +25774,10 @@ # name: test_platform_setup_and_discovery[sensor.waschmaschine_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Waschmaschine Voltage', + : 'voltage', + : 'Waschmaschine Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.waschmaschine_voltage', @@ -25829,9 +25829,9 @@ # name: test_platform_setup_and_discovery[sensor.water_fountain_filter_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Fountain Filter duration', + : 'Water Fountain Filter duration', : , - 'unit_of_measurement': 'day', + : 'day', }), 'context': , 'entity_id': 'sensor.water_fountain_filter_duration', @@ -25883,9 +25883,9 @@ # name: test_platform_setup_and_discovery[sensor.water_fountain_water_pump_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Fountain Water pump duration', + : 'Water Fountain Water pump duration', : , - 'unit_of_measurement': 'day', + : 'day', }), 'context': , 'entity_id': 'sensor.water_fountain_water_pump_duration', @@ -25937,10 +25937,10 @@ # name: test_platform_setup_and_discovery[sensor.weather_station_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Weather station Humidity', + : 'humidity', + : 'Weather station Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.weather_station_humidity', @@ -25995,10 +25995,10 @@ # name: test_platform_setup_and_discovery[sensor.weather_station_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Weather station Temperature', + : 'temperature', + : 'Weather station Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.weather_station_temperature', @@ -26056,10 +26056,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachten3_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Weihnachten3 Current', + : 'current', + : 'Weihnachten3 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.weihnachten3_current', @@ -26114,10 +26114,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachten3_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Weihnachten3 Power', + : 'power', + : 'Weihnachten3 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.weihnachten3_power', @@ -26175,10 +26175,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachten3_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Weihnachten3 Total energy', + : 'energy', + : 'Weihnachten3 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.weihnachten3_total_energy', @@ -26236,10 +26236,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachten3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Weihnachten3 Voltage', + : 'voltage', + : 'Weihnachten3 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.weihnachten3_voltage', @@ -26297,10 +26297,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachtsmann_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Weihnachtsmann Current', + : 'current', + : 'Weihnachtsmann Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.weihnachtsmann_current', @@ -26355,10 +26355,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachtsmann_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Weihnachtsmann Power', + : 'power', + : 'Weihnachtsmann Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.weihnachtsmann_power', @@ -26416,10 +26416,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachtsmann_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Weihnachtsmann Total energy', + : 'energy', + : 'Weihnachtsmann Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.weihnachtsmann_total_energy', @@ -26477,10 +26477,10 @@ # name: test_platform_setup_and_discovery[sensor.weihnachtsmann_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Weihnachtsmann Voltage', + : 'voltage', + : 'Weihnachtsmann Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.weihnachtsmann_voltage', @@ -26538,10 +26538,10 @@ # name: test_platform_setup_and_discovery[sensor.wi_fi_solar_grid_micro_inverter_gt_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Wi-Fi solar grid micro inverter (GT) Power', + : 'power', + : 'Wi-Fi solar grid micro inverter (GT) Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wi_fi_solar_grid_micro_inverter_gt_power', @@ -26596,10 +26596,10 @@ # name: test_platform_setup_and_discovery[sensor.wi_fi_solar_grid_micro_inverter_gt_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Wi-Fi solar grid micro inverter (GT) Temperature', + : 'temperature', + : 'Wi-Fi solar grid micro inverter (GT) Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wi_fi_solar_grid_micro_inverter_gt_temperature', @@ -26654,10 +26654,10 @@ # name: test_platform_setup_and_discovery[sensor.wi_fi_solar_grid_micro_inverter_gt_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Wi-Fi solar grid micro inverter (GT) Total energy', + : 'energy', + : 'Wi-Fi solar grid micro inverter (GT) Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wi_fi_solar_grid_micro_inverter_gt_total_energy', @@ -26712,10 +26712,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_dual_meter_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'WIFI Dual Meter Total energy', + : 'energy', + : 'WIFI Dual Meter Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wifi_dual_meter_total_energy', @@ -26770,10 +26770,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_dual_meter_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'WIFI Dual Meter Total power', + : 'power', + : 'WIFI Dual Meter Total power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.wifi_dual_meter_total_power', @@ -26828,10 +26828,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_dual_meter_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'WIFI Dual Meter Total production', + : 'energy', + : 'WIFI Dual Meter Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wifi_dual_meter_total_production', @@ -26883,10 +26883,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_smart_gas_boiler_thermostat_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'WiFi Smart Gas Boiler Thermostat Battery', + : 'battery', + : 'WiFi Smart Gas Boiler Thermostat Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.wifi_smart_gas_boiler_thermostat_battery', @@ -26941,10 +26941,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_smart_online_8_in_1_tester_conductivity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'conductivity', - 'friendly_name': 'WiFi smart online 8 in 1 tester Conductivity', + : 'conductivity', + : 'WiFi smart online 8 in 1 tester Conductivity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wifi_smart_online_8_in_1_tester_conductivity', @@ -26996,9 +26996,9 @@ # name: test_platform_setup_and_discovery[sensor.wifi_smart_online_8_in_1_tester_oxydo_reduction_potential-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WiFi smart online 8 in 1 tester Oxydo reduction potential', + : 'WiFi smart online 8 in 1 tester Oxydo reduction potential', : , - 'unit_of_measurement': 'mV', + : 'mV', }), 'context': , 'entity_id': 'sensor.wifi_smart_online_8_in_1_tester_oxydo_reduction_potential', @@ -27050,10 +27050,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_smart_online_8_in_1_tester_ph-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'WiFi smart online 8 in 1 tester pH', + : 'ph', + : 'WiFi smart online 8 in 1 tester pH', : , - 'unit_of_measurement': '', + : '', }), 'context': , 'entity_id': 'sensor.wifi_smart_online_8_in_1_tester_ph', @@ -27108,10 +27108,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_smart_online_8_in_1_tester_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'WiFi smart online 8 in 1 tester Temperature', + : 'temperature', + : 'WiFi smart online 8 in 1 tester Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wifi_smart_online_8_in_1_tester_temperature', @@ -27163,10 +27163,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_smoke_alarm_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'WIFI Smoke alarm Battery', + : 'battery', + : 'WIFI Smoke alarm Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.wifi_smoke_alarm_battery', @@ -27218,10 +27218,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_temperature_humidity_sensor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'WiFi Temperature & Humidity Sensor Battery', + : 'battery', + : 'WiFi Temperature & Humidity Sensor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.wifi_temperature_humidity_sensor_battery', @@ -27277,8 +27277,8 @@ # name: test_platform_setup_and_discovery[sensor.wifi_temperature_humidity_sensor_battery_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'WiFi Temperature & Humidity Sensor Battery state', + : 'enum', + : 'WiFi Temperature & Humidity Sensor Battery state', : list([ 'low', 'middle', @@ -27335,10 +27335,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_temperature_humidity_sensor_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'WiFi Temperature & Humidity Sensor Humidity', + : 'humidity', + : 'WiFi Temperature & Humidity Sensor Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.wifi_temperature_humidity_sensor_humidity', @@ -27393,10 +27393,10 @@ # name: test_platform_setup_and_discovery[sensor.wifi_temperature_humidity_sensor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'WiFi Temperature & Humidity Sensor Temperature', + : 'temperature', + : 'WiFi Temperature & Humidity Sensor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wifi_temperature_humidity_sensor_temperature', @@ -27448,10 +27448,10 @@ # name: test_platform_setup_and_discovery[sensor.window_downstairs_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Window downstairs Battery', + : 'battery', + : 'Window downstairs Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.window_downstairs_battery', @@ -27506,10 +27506,10 @@ # name: test_platform_setup_and_discovery[sensor.xoca_dac212xc_v2_s1_phase_a_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'XOCA-DAC212XC V2-S1 Phase A current', + : 'current', + : 'XOCA-DAC212XC V2-S1 Phase A current', : , - 'unit_of_measurement': 'A', + : 'A', }), 'context': , 'entity_id': 'sensor.xoca_dac212xc_v2_s1_phase_a_current', @@ -27564,10 +27564,10 @@ # name: test_platform_setup_and_discovery[sensor.xoca_dac212xc_v2_s1_phase_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'XOCA-DAC212XC V2-S1 Phase A power', + : 'power', + : 'XOCA-DAC212XC V2-S1 Phase A power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.xoca_dac212xc_v2_s1_phase_a_power', @@ -27622,10 +27622,10 @@ # name: test_platform_setup_and_discovery[sensor.xoca_dac212xc_v2_s1_phase_a_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'XOCA-DAC212XC V2-S1 Phase A voltage', + : 'voltage', + : 'XOCA-DAC212XC V2-S1 Phase A voltage', : , - 'unit_of_measurement': 'V', + : 'V', }), 'context': , 'entity_id': 'sensor.xoca_dac212xc_v2_s1_phase_a_voltage', @@ -27680,10 +27680,10 @@ # name: test_platform_setup_and_discovery[sensor.xoca_dac212xc_v2_s1_supply_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'XOCA-DAC212XC V2-S1 Supply frequency', + : 'frequency', + : 'XOCA-DAC212XC V2-S1 Supply frequency', : , - 'unit_of_measurement': 'Hz', + : 'Hz', }), 'context': , 'entity_id': 'sensor.xoca_dac212xc_v2_s1_supply_frequency', @@ -27738,10 +27738,10 @@ # name: test_platform_setup_and_discovery[sensor.xoca_dac212xc_v2_s1_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'XOCA-DAC212XC V2-S1 Total energy', + : 'energy', + : 'XOCA-DAC212XC V2-S1 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xoca_dac212xc_v2_s1_total_energy', @@ -27796,10 +27796,10 @@ # name: test_platform_setup_and_discovery[sensor.xoca_dac212xc_v2_s1_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'XOCA-DAC212XC V2-S1 Total power', + : 'power', + : 'XOCA-DAC212XC V2-S1 Total power', : , - 'unit_of_measurement': 'kW', + : 'kW', }), 'context': , 'entity_id': 'sensor.xoca_dac212xc_v2_s1_total_power', @@ -27854,10 +27854,10 @@ # name: test_platform_setup_and_discovery[sensor.xoca_dac212xc_v2_s1_total_production-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'XOCA-DAC212XC V2-S1 Total production', + : 'energy', + : 'XOCA-DAC212XC V2-S1 Total production', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xoca_dac212xc_v2_s1_total_production', @@ -27915,10 +27915,10 @@ # name: test_platform_setup_and_discovery[sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': '一路带计量磁保持通断器 Current', + : 'current', + : '一路带计量磁保持通断器 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_current', @@ -27973,10 +27973,10 @@ # name: test_platform_setup_and_discovery[sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': '一路带计量磁保持通断器 Power', + : 'power', + : '一路带计量磁保持通断器 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_power', @@ -28031,10 +28031,10 @@ # name: test_platform_setup_and_discovery[sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': '一路带计量磁保持通断器 Total energy', + : 'energy', + : '一路带计量磁保持通断器 Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_total_energy', @@ -28092,10 +28092,10 @@ # name: test_platform_setup_and_discovery[sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': '一路带计量磁保持通断器 Voltage', + : 'voltage', + : '一路带计量磁保持通断器 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_voltage', @@ -28147,10 +28147,10 @@ # name: test_platform_setup_and_discovery[sensor.yinmik_water_quality_tester_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'YINMIK Water Quality Tester Battery', + : 'battery', + : 'YINMIK Water Quality Tester Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.yinmik_water_quality_tester_battery', @@ -28205,10 +28205,10 @@ # name: test_platform_setup_and_discovery[sensor.yinmik_water_quality_tester_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'YINMIK Water Quality Tester Temperature', + : 'temperature', + : 'YINMIK Water Quality Tester Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yinmik_water_quality_tester_temperature', @@ -28260,9 +28260,9 @@ # name: test_platform_setup_and_discovery[sensor.yinmik_water_quality_tester_total_dissolved_solids-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'YINMIK Water Quality Tester Total dissolved solids', + : 'YINMIK Water Quality Tester Total dissolved solids', : , - 'unit_of_measurement': 'ppt', + : 'ppt', }), 'context': , 'entity_id': 'sensor.yinmik_water_quality_tester_total_dissolved_solids', @@ -28320,10 +28320,10 @@ # name: test_platform_setup_and_discovery[sensor.zas_01_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'ZAS-01 Current', + : 'current', + : 'ZAS-01 Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.zas_01_current', @@ -28378,10 +28378,10 @@ # name: test_platform_setup_and_discovery[sensor.zas_01_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'ZAS-01 Power', + : 'power', + : 'ZAS-01 Power', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.zas_01_power', @@ -28439,10 +28439,10 @@ # name: test_platform_setup_and_discovery[sensor.zas_01_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'ZAS-01 Voltage', + : 'voltage', + : 'ZAS-01 Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.zas_01_voltage', diff --git a/tests/components/tuya/snapshots/test_siren.ambr b/tests/components/tuya/snapshots/test_siren.ambr index bfa2c92946b..417566d598b 100644 --- a/tests/components/tuya/snapshots/test_siren.ambr +++ b/tests/components/tuya/snapshots/test_siren.ambr @@ -39,8 +39,8 @@ # name: test_platform_setup_and_discovery[siren.aqi_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AQI Siren', - 'supported_features': , + : 'AQI Siren', + : , }), 'context': , 'entity_id': 'siren.aqi_siren', @@ -90,8 +90,8 @@ # name: test_platform_setup_and_discovery[siren.burocam_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Siren', - 'supported_features': , + : 'Bürocam Siren', + : , }), 'context': , 'entity_id': 'siren.burocam_siren', @@ -141,8 +141,8 @@ # name: test_platform_setup_and_discovery[siren.c9_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Siren', - 'supported_features': , + : 'C9 Siren', + : , }), 'context': , 'entity_id': 'siren.c9_siren', @@ -192,8 +192,8 @@ # name: test_platform_setup_and_discovery[siren.security_camera_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Siren', - 'supported_features': , + : 'Security Camera Siren', + : , }), 'context': , 'entity_id': 'siren.security_camera_siren', @@ -243,8 +243,8 @@ # name: test_platform_setup_and_discovery[siren.siren_veranda-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Siren veranda ', - 'supported_features': , + : 'Siren veranda ', + : , }), 'context': , 'entity_id': 'siren.siren_veranda', diff --git a/tests/components/tuya/snapshots/test_switch.ambr b/tests/components/tuya/snapshots/test_switch.ambr index 3257df8c3da..dd4813264bd 100644 --- a/tests/components/tuya/snapshots/test_switch.ambr +++ b/tests/components/tuya/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_platform_setup_and_discovery[switch.3dprinter_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '3DPrinter Child lock', + : '3DPrinter Child lock', }), 'context': , 'entity_id': 'switch.3dprinter_child_lock', @@ -89,8 +89,8 @@ # name: test_platform_setup_and_discovery[switch.3dprinter_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '3DPrinter Socket 1', + : 'outlet', + : '3DPrinter Socket 1', }), 'context': , 'entity_id': 'switch.3dprinter_socket_1', @@ -140,8 +140,8 @@ # name: test_platform_setup_and_discovery[switch.4_433_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '4-433 Switch 1', + : 'outlet', + : '4-433 Switch 1', }), 'context': , 'entity_id': 'switch.4_433_switch_1', @@ -191,8 +191,8 @@ # name: test_platform_setup_and_discovery[switch.4_433_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '4-433 Switch 2', + : 'outlet', + : '4-433 Switch 2', }), 'context': , 'entity_id': 'switch.4_433_switch_2', @@ -242,8 +242,8 @@ # name: test_platform_setup_and_discovery[switch.4_433_switch_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '4-433 Switch 3', + : 'outlet', + : '4-433 Switch 3', }), 'context': , 'entity_id': 'switch.4_433_switch_3', @@ -293,8 +293,8 @@ # name: test_platform_setup_and_discovery[switch.4_433_switch_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '4-433 Switch 4', + : 'outlet', + : '4-433 Switch 4', }), 'context': , 'entity_id': 'switch.4_433_switch_4', @@ -344,7 +344,7 @@ # name: test_platform_setup_and_discovery[switch.6294ha_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '6294HA Child lock', + : '6294HA Child lock', }), 'context': , 'entity_id': 'switch.6294ha_child_lock', @@ -394,8 +394,8 @@ # name: test_platform_setup_and_discovery[switch.6294ha_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '6294HA Socket 1', + : 'outlet', + : '6294HA Socket 1', }), 'context': , 'entity_id': 'switch.6294ha_socket_1', @@ -445,8 +445,8 @@ # name: test_platform_setup_and_discovery[switch.6294ha_socket_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '6294HA Socket 2', + : 'outlet', + : '6294HA Socket 2', }), 'context': , 'entity_id': 'switch.6294ha_socket_2', @@ -496,7 +496,7 @@ # name: test_platform_setup_and_discovery[switch.ac_charging_control_box_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'AC charging control box Switch', + : 'AC charging control box Switch', }), 'context': , 'entity_id': 'switch.ac_charging_control_box_switch', @@ -546,8 +546,8 @@ # name: test_platform_setup_and_discovery[switch.air_purifier_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Air Purifier Socket', + : 'outlet', + : 'Air Purifier Socket', }), 'context': , 'entity_id': 'switch.air_purifier_socket', @@ -597,8 +597,8 @@ # name: test_platform_setup_and_discovery[switch.ak1_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'AK1 Socket 1', + : 'outlet', + : 'AK1 Socket 1', }), 'context': , 'entity_id': 'switch.ak1_socket_1', @@ -648,7 +648,7 @@ # name: test_platform_setup_and_discovery[switch.anbau_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Anbau Child lock', + : 'Anbau Child lock', }), 'context': , 'entity_id': 'switch.anbau_child_lock', @@ -698,8 +698,8 @@ # name: test_platform_setup_and_discovery[switch.apollo_light_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Apollo light Socket 1', + : 'outlet', + : 'Apollo light Socket 1', }), 'context': , 'entity_id': 'switch.apollo_light_socket_1', @@ -749,7 +749,7 @@ # name: test_platform_setup_and_discovery[switch.aubess_cooker_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aubess Cooker Child lock', + : 'Aubess Cooker Child lock', }), 'context': , 'entity_id': 'switch.aubess_cooker_child_lock', @@ -799,8 +799,8 @@ # name: test_platform_setup_and_discovery[switch.aubess_cooker_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Aubess Cooker Socket 1', + : 'outlet', + : 'Aubess Cooker Socket 1', }), 'context': , 'entity_id': 'switch.aubess_cooker_socket_1', @@ -850,7 +850,7 @@ # name: test_platform_setup_and_discovery[switch.aubess_washing_machine_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Aubess Washing Machine Child lock', + : 'Aubess Washing Machine Child lock', }), 'context': , 'entity_id': 'switch.aubess_washing_machine_child_lock', @@ -900,8 +900,8 @@ # name: test_platform_setup_and_discovery[switch.aubess_washing_machine_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Aubess Washing Machine Socket 1', + : 'outlet', + : 'Aubess Washing Machine Socket 1', }), 'context': , 'entity_id': 'switch.aubess_washing_machine_socket_1', @@ -951,8 +951,8 @@ # name: test_platform_setup_and_discovery[switch.auvelico_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'AuVeLiCo Socket 1', + : 'outlet', + : 'AuVeLiCo Socket 1', }), 'context': , 'entity_id': 'switch.auvelico_socket_1', @@ -1002,8 +1002,8 @@ # name: test_platform_setup_and_discovery[switch.bassin_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Bassin Socket 1', + : 'outlet', + : 'Bassin Socket 1', }), 'context': , 'entity_id': 'switch.bassin_socket_1', @@ -1053,8 +1053,8 @@ # name: test_platform_setup_and_discovery[switch.bathroom_fan_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Bathroom Fan Socket 1', + : 'outlet', + : 'Bathroom Fan Socket 1', }), 'context': , 'entity_id': 'switch.bathroom_fan_socket_1', @@ -1104,8 +1104,8 @@ # name: test_platform_setup_and_discovery[switch.bathroom_light_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'bathroom light Switch 1', + : 'outlet', + : 'bathroom light Switch 1', }), 'context': , 'entity_id': 'switch.bathroom_light_switch_1', @@ -1155,8 +1155,8 @@ # name: test_platform_setup_and_discovery[switch.bathroom_mirror_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Bathroom Mirror Socket 1', + : 'outlet', + : 'Bathroom Mirror Socket 1', }), 'context': , 'entity_id': 'switch.bathroom_mirror_socket_1', @@ -1206,7 +1206,7 @@ # name: test_platform_setup_and_discovery[switch.bathroom_radiator_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bathroom radiator Child lock', + : 'Bathroom radiator Child lock', }), 'context': , 'entity_id': 'switch.bathroom_radiator_child_lock', @@ -1256,8 +1256,8 @@ # name: test_platform_setup_and_discovery[switch.blissradia_snooze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'BlissRadia Snooze', - 'icon': 'mdi:alarm-snooze', + : 'BlissRadia Snooze', + : 'mdi:alarm-snooze', }), 'context': , 'entity_id': 'switch.blissradia_snooze', @@ -1307,7 +1307,7 @@ # name: test_platform_setup_and_discovery[switch.bree_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bree Power', + : 'Bree Power', }), 'context': , 'entity_id': 'switch.bree_power', @@ -1357,8 +1357,8 @@ # name: test_platform_setup_and_discovery[switch.bubbelbad_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Bubbelbad Socket 1', + : 'outlet', + : 'Bubbelbad Socket 1', }), 'context': , 'entity_id': 'switch.bubbelbad_socket_1', @@ -1408,8 +1408,8 @@ # name: test_platform_setup_and_discovery[switch.bubbelbad_socket_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Bubbelbad Socket 2', + : 'outlet', + : 'Bubbelbad Socket 2', }), 'context': , 'entity_id': 'switch.bubbelbad_socket_2', @@ -1459,8 +1459,8 @@ # name: test_platform_setup_and_discovery[switch.buitenverlichting_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Buitenverlichting Socket 1', + : 'outlet', + : 'Buitenverlichting Socket 1', }), 'context': , 'entity_id': 'switch.buitenverlichting_socket_1', @@ -1510,7 +1510,7 @@ # name: test_platform_setup_and_discovery[switch.burocam_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Flip', + : 'Bürocam Flip', }), 'context': , 'entity_id': 'switch.burocam_flip', @@ -1560,7 +1560,7 @@ # name: test_platform_setup_and_discovery[switch.burocam_motion_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Motion alarm', + : 'Bürocam Motion alarm', }), 'context': , 'entity_id': 'switch.burocam_motion_alarm', @@ -1610,7 +1610,7 @@ # name: test_platform_setup_and_discovery[switch.burocam_motion_tracking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Motion tracking', + : 'Bürocam Motion tracking', }), 'context': , 'entity_id': 'switch.burocam_motion_tracking', @@ -1660,7 +1660,7 @@ # name: test_platform_setup_and_discovery[switch.burocam_privacy_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Privacy mode', + : 'Bürocam Privacy mode', }), 'context': , 'entity_id': 'switch.burocam_privacy_mode', @@ -1710,7 +1710,7 @@ # name: test_platform_setup_and_discovery[switch.burocam_sound_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Sound detection', + : 'Bürocam Sound detection', }), 'context': , 'entity_id': 'switch.burocam_sound_detection', @@ -1760,7 +1760,7 @@ # name: test_platform_setup_and_discovery[switch.burocam_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Time watermark', + : 'Bürocam Time watermark', }), 'context': , 'entity_id': 'switch.burocam_time_watermark', @@ -1810,7 +1810,7 @@ # name: test_platform_setup_and_discovery[switch.burocam_video_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bürocam Video recording', + : 'Bürocam Video recording', }), 'context': , 'entity_id': 'switch.burocam_video_recording', @@ -1860,7 +1860,7 @@ # name: test_platform_setup_and_discovery[switch.c9_auto_trigger_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Auto-trigger siren', + : 'C9 Auto-trigger siren', }), 'context': , 'entity_id': 'switch.c9_auto_trigger_siren', @@ -1910,7 +1910,7 @@ # name: test_platform_setup_and_discovery[switch.c9_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Flip', + : 'C9 Flip', }), 'context': , 'entity_id': 'switch.c9_flip', @@ -1960,7 +1960,7 @@ # name: test_platform_setup_and_discovery[switch.c9_motion_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Motion alarm', + : 'C9 Motion alarm', }), 'context': , 'entity_id': 'switch.c9_motion_alarm', @@ -2010,7 +2010,7 @@ # name: test_platform_setup_and_discovery[switch.c9_motion_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Motion recording', + : 'C9 Motion recording', }), 'context': , 'entity_id': 'switch.c9_motion_recording', @@ -2060,7 +2060,7 @@ # name: test_platform_setup_and_discovery[switch.c9_motion_tracking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Motion tracking', + : 'C9 Motion tracking', }), 'context': , 'entity_id': 'switch.c9_motion_tracking', @@ -2110,7 +2110,7 @@ # name: test_platform_setup_and_discovery[switch.c9_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Time watermark', + : 'C9 Time watermark', }), 'context': , 'entity_id': 'switch.c9_time_watermark', @@ -2160,7 +2160,7 @@ # name: test_platform_setup_and_discovery[switch.c9_video_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Video recording', + : 'C9 Video recording', }), 'context': , 'entity_id': 'switch.c9_video_recording', @@ -2210,7 +2210,7 @@ # name: test_platform_setup_and_discovery[switch.c9_wide_dynamic_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'C9 Wide dynamic range', + : 'C9 Wide dynamic range', }), 'context': , 'entity_id': 'switch.c9_wide_dynamic_range', @@ -2260,7 +2260,7 @@ # name: test_platform_setup_and_discovery[switch.cam_garage_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Flip', + : 'CAM GARAGE Flip', }), 'context': , 'entity_id': 'switch.cam_garage_flip', @@ -2310,7 +2310,7 @@ # name: test_platform_setup_and_discovery[switch.cam_garage_motion_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Motion alarm', + : 'CAM GARAGE Motion alarm', }), 'context': , 'entity_id': 'switch.cam_garage_motion_alarm', @@ -2360,7 +2360,7 @@ # name: test_platform_setup_and_discovery[switch.cam_garage_sound_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Sound detection', + : 'CAM GARAGE Sound detection', }), 'context': , 'entity_id': 'switch.cam_garage_sound_detection', @@ -2410,7 +2410,7 @@ # name: test_platform_setup_and_discovery[switch.cam_garage_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Time watermark', + : 'CAM GARAGE Time watermark', }), 'context': , 'entity_id': 'switch.cam_garage_time_watermark', @@ -2460,7 +2460,7 @@ # name: test_platform_setup_and_discovery[switch.cam_garage_video_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM GARAGE Video recording', + : 'CAM GARAGE Video recording', }), 'context': , 'entity_id': 'switch.cam_garage_video_recording', @@ -2510,7 +2510,7 @@ # name: test_platform_setup_and_discovery[switch.cam_porch_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Flip', + : 'CAM PORCH Flip', }), 'context': , 'entity_id': 'switch.cam_porch_flip', @@ -2560,7 +2560,7 @@ # name: test_platform_setup_and_discovery[switch.cam_porch_motion_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Motion alarm', + : 'CAM PORCH Motion alarm', }), 'context': , 'entity_id': 'switch.cam_porch_motion_alarm', @@ -2610,7 +2610,7 @@ # name: test_platform_setup_and_discovery[switch.cam_porch_sound_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Sound detection', + : 'CAM PORCH Sound detection', }), 'context': , 'entity_id': 'switch.cam_porch_sound_detection', @@ -2660,7 +2660,7 @@ # name: test_platform_setup_and_discovery[switch.cam_porch_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Time watermark', + : 'CAM PORCH Time watermark', }), 'context': , 'entity_id': 'switch.cam_porch_time_watermark', @@ -2710,7 +2710,7 @@ # name: test_platform_setup_and_discovery[switch.cam_porch_video_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CAM PORCH Video recording', + : 'CAM PORCH Video recording', }), 'context': , 'entity_id': 'switch.cam_porch_video_recording', @@ -2760,8 +2760,8 @@ # name: test_platform_setup_and_discovery[switch.casa1_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Casa1 Socket', + : 'outlet', + : 'Casa1 Socket', }), 'context': , 'entity_id': 'switch.casa1_socket', @@ -2811,7 +2811,7 @@ # name: test_platform_setup_and_discovery[switch.cbe_pro_2_output_power_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'CBE Pro 2 Output power limit', + : 'CBE Pro 2 Output power limit', }), 'context': , 'entity_id': 'switch.cbe_pro_2_output_power_limit', @@ -2861,7 +2861,7 @@ # name: test_platform_setup_and_discovery[switch.ceiling_fan_light_v2_sound-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ceiling fan/Light v2 Sound', + : 'ceiling fan/Light v2 Sound', }), 'context': , 'entity_id': 'switch.ceiling_fan_light_v2_sound', @@ -2911,7 +2911,7 @@ # name: test_platform_setup_and_discovery[switch.clima_cucina_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Clima cucina Child lock', + : 'Clima cucina Child lock', }), 'context': , 'entity_id': 'switch.clima_cucina_child_lock', @@ -2961,8 +2961,8 @@ # name: test_platform_setup_and_discovery[switch.consommation_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Consommation Socket 1', + : 'outlet', + : 'Consommation Socket 1', }), 'context': , 'entity_id': 'switch.consommation_socket_1', @@ -3012,8 +3012,8 @@ # name: test_platform_setup_and_discovery[switch.consommation_socket_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Consommation Socket 2', + : 'outlet', + : 'Consommation Socket 2', }), 'context': , 'entity_id': 'switch.consommation_socket_2', @@ -3063,8 +3063,8 @@ # name: test_platform_setup_and_discovery[switch.d825a_i_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'D825A I Child lock', - 'icon': 'mdi:account-lock', + : 'D825A I Child lock', + : 'mdi:account-lock', }), 'context': , 'entity_id': 'switch.d825a_i_child_lock', @@ -3114,8 +3114,8 @@ # name: test_platform_setup_and_discovery[switch.dehumidifer_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifer Child lock', - 'icon': 'mdi:account-lock', + : 'Dehumidifer Child lock', + : 'mdi:account-lock', }), 'context': , 'entity_id': 'switch.dehumidifer_child_lock', @@ -3165,8 +3165,8 @@ # name: test_platform_setup_and_discovery[switch.dehumidifer_ionizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifer Ionizer', - 'icon': 'mdi:atom', + : 'Dehumidifer Ionizer', + : 'mdi:atom', }), 'context': , 'entity_id': 'switch.dehumidifer_ionizer', @@ -3216,8 +3216,8 @@ # name: test_platform_setup_and_discovery[switch.dehumidifier_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifier Child lock', - 'icon': 'mdi:account-lock', + : 'Dehumidifier Child lock', + : 'mdi:account-lock', }), 'context': , 'entity_id': 'switch.dehumidifier_child_lock', @@ -3267,7 +3267,7 @@ # name: test_platform_setup_and_discovery[switch.dehumidifier_child_lock_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dehumidifier Child lock', + : 'Dehumidifier Child lock', }), 'context': , 'entity_id': 'switch.dehumidifier_child_lock_2', @@ -3317,8 +3317,8 @@ # name: test_platform_setup_and_discovery[switch.dehumidifier_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Dehumidifier Socket 1', + : 'outlet', + : 'Dehumidifier Socket 1', }), 'context': , 'entity_id': 'switch.dehumidifier_socket_1', @@ -3368,8 +3368,8 @@ # name: test_platform_setup_and_discovery[switch.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Child lock', - 'icon': 'mdi:account-lock', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Child lock', + : 'mdi:account-lock', }), 'context': , 'entity_id': 'switch.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_child_lock', @@ -3419,8 +3419,8 @@ # name: test_platform_setup_and_discovery[switch.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_filter_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Filter reset', - 'icon': 'mdi:filter', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Filter reset', + : 'mdi:filter', }), 'context': , 'entity_id': 'switch.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_filter_reset', @@ -3470,8 +3470,8 @@ # name: test_platform_setup_and_discovery[switch.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_ionizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Ionizer', - 'icon': 'mdi:atom', + : 'Déshumidificateur Silencieux OmniDry 20L avec Mode Linge Ionizer', + : 'mdi:atom', }), 'context': , 'entity_id': 'switch.deshumidificateur_silencieux_omnidry_20l_avec_mode_linge_ionizer', @@ -3521,8 +3521,8 @@ # name: test_platform_setup_and_discovery[switch.din_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Din Socket', + : 'outlet', + : 'Din Socket', }), 'context': , 'entity_id': 'switch.din_socket', @@ -3572,7 +3572,7 @@ # name: test_platform_setup_and_discovery[switch.dolni_vchod_zapad_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dolní vchod - západ Flip', + : 'Dolní vchod - západ Flip', }), 'context': , 'entity_id': 'switch.dolni_vchod_zapad_flip', @@ -3622,7 +3622,7 @@ # name: test_platform_setup_and_discovery[switch.dolni_vchod_zapad_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dolní vchod - západ Time watermark', + : 'Dolní vchod - západ Time watermark', }), 'context': , 'entity_id': 'switch.dolni_vchod_zapad_time_watermark', @@ -3672,8 +3672,8 @@ # name: test_platform_setup_and_discovery[switch.droger_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'droger Socket 1', + : 'outlet', + : 'droger Socket 1', }), 'context': , 'entity_id': 'switch.droger_socket_1', @@ -3723,7 +3723,7 @@ # name: test_platform_setup_and_discovery[switch.duan_lu_qi_ha_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '断路器HA Child lock', + : '断路器HA Child lock', }), 'context': , 'entity_id': 'switch.duan_lu_qi_ha_child_lock', @@ -3773,7 +3773,7 @@ # name: test_platform_setup_and_discovery[switch.duan_lu_qi_ha_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '断路器HA Switch', + : '断路器HA Switch', }), 'context': , 'entity_id': 'switch.duan_lu_qi_ha_switch', @@ -3823,7 +3823,7 @@ # name: test_platform_setup_and_discovery[switch.eau_chaude_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eau Chaude Child lock', + : 'Eau Chaude Child lock', }), 'context': , 'entity_id': 'switch.eau_chaude_child_lock', @@ -3873,7 +3873,7 @@ # name: test_platform_setup_and_discovery[switch.eau_chaude_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Eau Chaude Switch', + : 'Eau Chaude Switch', }), 'context': , 'entity_id': 'switch.eau_chaude_switch', @@ -3923,7 +3923,7 @@ # name: test_platform_setup_and_discovery[switch.edesanya_energy_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Edesanya Energy Switch', + : 'Edesanya Energy Switch', }), 'context': , 'entity_id': 'switch.edesanya_energy_switch', @@ -3973,7 +3973,7 @@ # name: test_platform_setup_and_discovery[switch.el_termostato_de_la_cocina_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'El termostato de la cocina Child lock', + : 'El termostato de la cocina Child lock', }), 'context': , 'entity_id': 'switch.el_termostato_de_la_cocina_child_lock', @@ -4023,7 +4023,7 @@ # name: test_platform_setup_and_discovery[switch.elivco_kitchen_socket_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Elivco Kitchen Socket Child lock', + : 'Elivco Kitchen Socket Child lock', }), 'context': , 'entity_id': 'switch.elivco_kitchen_socket_child_lock', @@ -4073,8 +4073,8 @@ # name: test_platform_setup_and_discovery[switch.elivco_kitchen_socket_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Elivco Kitchen Socket Socket 1', + : 'outlet', + : 'Elivco Kitchen Socket Socket 1', }), 'context': , 'entity_id': 'switch.elivco_kitchen_socket_socket_1', @@ -4124,7 +4124,7 @@ # name: test_platform_setup_and_discovery[switch.elivco_tv_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Elivco TV Child lock', + : 'Elivco TV Child lock', }), 'context': , 'entity_id': 'switch.elivco_tv_child_lock', @@ -4174,8 +4174,8 @@ # name: test_platform_setup_and_discovery[switch.elivco_tv_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Elivco TV Socket 1', + : 'outlet', + : 'Elivco TV Socket 1', }), 'context': , 'entity_id': 'switch.elivco_tv_socket_1', @@ -4225,7 +4225,7 @@ # name: test_platform_setup_and_discovery[switch.empore_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Empore Child lock', + : 'Empore Child lock', }), 'context': , 'entity_id': 'switch.empore_child_lock', @@ -4275,8 +4275,8 @@ # name: test_platform_setup_and_discovery[switch.fakkel_veranda_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'fakkel veranda Socket 1', + : 'outlet', + : 'fakkel veranda Socket 1', }), 'context': , 'entity_id': 'switch.fakkel_veranda_socket_1', @@ -4326,7 +4326,7 @@ # name: test_platform_setup_and_discovery[switch.floor_thermostat_kitchen_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Floor Thermostat Kitchen Child lock', + : 'Floor Thermostat Kitchen Child lock', }), 'context': , 'entity_id': 'switch.floor_thermostat_kitchen_child_lock', @@ -4376,7 +4376,7 @@ # name: test_platform_setup_and_discovery[switch.framboisier_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Framboisier Child lock', + : 'Framboisier Child lock', }), 'context': , 'entity_id': 'switch.framboisier_child_lock', @@ -4426,8 +4426,8 @@ # name: test_platform_setup_and_discovery[switch.framboisier_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Framboisier Socket 1', + : 'outlet', + : 'Framboisier Socket 1', }), 'context': , 'entity_id': 'switch.framboisier_socket_1', @@ -4477,8 +4477,8 @@ # name: test_platform_setup_and_discovery[switch.framboisier_socket_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Framboisier Socket 2', + : 'outlet', + : 'Framboisier Socket 2', }), 'context': , 'entity_id': 'switch.framboisier_socket_2', @@ -4528,8 +4528,8 @@ # name: test_platform_setup_and_discovery[switch.framboisiers_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Framboisiers Switch 1', + : 'outlet', + : 'Framboisiers Switch 1', }), 'context': , 'entity_id': 'switch.framboisiers_switch_1', @@ -4579,7 +4579,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Flip', + : 'Garage Camera Flip', }), 'context': , 'entity_id': 'switch.garage_camera_flip', @@ -4629,7 +4629,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_motion_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Motion alarm', + : 'Garage Camera Motion alarm', }), 'context': , 'entity_id': 'switch.garage_camera_motion_alarm', @@ -4679,7 +4679,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_motion_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Motion recording', + : 'Garage Camera Motion recording', }), 'context': , 'entity_id': 'switch.garage_camera_motion_recording', @@ -4729,7 +4729,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_motion_tracking-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Motion tracking', + : 'Garage Camera Motion tracking', }), 'context': , 'entity_id': 'switch.garage_camera_motion_tracking', @@ -4779,7 +4779,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_privacy_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Privacy mode', + : 'Garage Camera Privacy mode', }), 'context': , 'entity_id': 'switch.garage_camera_privacy_mode', @@ -4829,7 +4829,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Time watermark', + : 'Garage Camera Time watermark', }), 'context': , 'entity_id': 'switch.garage_camera_time_watermark', @@ -4879,7 +4879,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_use_motion_detection_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Use motion detection zone', + : 'Garage Camera Use motion detection zone', }), 'context': , 'entity_id': 'switch.garage_camera_use_motion_detection_zone', @@ -4929,7 +4929,7 @@ # name: test_platform_setup_and_discovery[switch.garage_camera_video_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Garage Camera Video recording', + : 'Garage Camera Video recording', }), 'context': , 'entity_id': 'switch.garage_camera_video_recording', @@ -4979,8 +4979,8 @@ # name: test_platform_setup_and_discovery[switch.garage_socket_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Garage Socket Socket 1', + : 'outlet', + : 'Garage Socket Socket 1', }), 'context': , 'entity_id': 'switch.garage_socket_socket_1', @@ -5030,8 +5030,8 @@ # name: test_platform_setup_and_discovery[switch.garaz_cerpadlo_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Garáž čerpadlo Socket', + : 'outlet', + : 'Garáž čerpadlo Socket', }), 'context': , 'entity_id': 'switch.garaz_cerpadlo_socket', @@ -5081,7 +5081,7 @@ # name: test_platform_setup_and_discovery[switch.ha_socket_delta_test_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HA Socket Delta Test Child lock', + : 'HA Socket Delta Test Child lock', }), 'context': , 'entity_id': 'switch.ha_socket_delta_test_child_lock', @@ -5131,8 +5131,8 @@ # name: test_platform_setup_and_discovery[switch.ha_socket_delta_test_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'HA Socket Delta Test Socket 1', + : 'outlet', + : 'HA Socket Delta Test Socket 1', }), 'context': , 'entity_id': 'switch.ha_socket_delta_test_socket_1', @@ -5182,7 +5182,7 @@ # name: test_platform_setup_and_discovery[switch.hl400_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL400 Child lock', + : 'HL400 Child lock', }), 'context': , 'entity_id': 'switch.hl400_child_lock', @@ -5232,7 +5232,7 @@ # name: test_platform_setup_and_discovery[switch.hl400_ionizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL400 Ionizer', + : 'HL400 Ionizer', }), 'context': , 'entity_id': 'switch.hl400_ionizer', @@ -5282,7 +5282,7 @@ # name: test_platform_setup_and_discovery[switch.hl400_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL400 Power', + : 'HL400 Power', }), 'context': , 'entity_id': 'switch.hl400_power', @@ -5332,7 +5332,7 @@ # name: test_platform_setup_and_discovery[switch.hl400_uv_sterilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'HL400 UV sterilization', + : 'HL400 UV sterilization', }), 'context': , 'entity_id': 'switch.hl400_uv_sterilization', @@ -5382,7 +5382,7 @@ # name: test_platform_setup_and_discovery[switch.home_gateway_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Home Gateway Mute', + : 'Home Gateway Mute', }), 'context': , 'entity_id': 'switch.home_gateway_mute', @@ -5432,7 +5432,7 @@ # name: test_platform_setup_and_discovery[switch.hot_water_heat_pump_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hot Water Heat Pump Switch', + : 'Hot Water Heat Pump Switch', }), 'context': , 'entity_id': 'switch.hot_water_heat_pump_switch', @@ -5482,8 +5482,8 @@ # name: test_platform_setup_and_discovery[switch.hvac_meter_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'HVAC Meter Socket 1', + : 'outlet', + : 'HVAC Meter Socket 1', }), 'context': , 'entity_id': 'switch.hvac_meter_socket_1', @@ -5533,8 +5533,8 @@ # name: test_platform_setup_and_discovery[switch.hvac_meter_socket_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'HVAC Meter Socket 2', + : 'outlet', + : 'HVAC Meter Socket 2', }), 'context': , 'entity_id': 'switch.hvac_meter_socket_2', @@ -5584,7 +5584,7 @@ # name: test_platform_setup_and_discovery[switch.ineox_sp2_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ineox SP2 Child lock', + : 'Ineox SP2 Child lock', }), 'context': , 'entity_id': 'switch.ineox_sp2_child_lock', @@ -5634,8 +5634,8 @@ # name: test_platform_setup_and_discovery[switch.ineox_sp2_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Ineox SP2 Socket 1', + : 'outlet', + : 'Ineox SP2 Socket 1', }), 'context': , 'entity_id': 'switch.ineox_sp2_socket_1', @@ -5685,7 +5685,7 @@ # name: test_platform_setup_and_discovery[switch.intercom_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Intercom Flip', + : 'Intercom Flip', }), 'context': , 'entity_id': 'switch.intercom_flip', @@ -5735,7 +5735,7 @@ # name: test_platform_setup_and_discovery[switch.intercom_motion_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Intercom Motion alarm', + : 'Intercom Motion alarm', }), 'context': , 'entity_id': 'switch.intercom_motion_alarm', @@ -5785,7 +5785,7 @@ # name: test_platform_setup_and_discovery[switch.intercom_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Intercom Time watermark', + : 'Intercom Time watermark', }), 'context': , 'entity_id': 'switch.intercom_time_watermark', @@ -5835,7 +5835,7 @@ # name: test_platform_setup_and_discovery[switch.interruptor_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Interruptor Switch 1', + : 'Interruptor Switch 1', }), 'context': , 'entity_id': 'switch.interruptor_switch_1', @@ -5885,7 +5885,7 @@ # name: test_platform_setup_and_discovery[switch.interruptor_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Interruptor Switch 2', + : 'Interruptor Switch 2', }), 'context': , 'entity_id': 'switch.interruptor_switch_2', @@ -5935,7 +5935,7 @@ # name: test_platform_setup_and_discovery[switch.interruptor_switch_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Interruptor Switch 3', + : 'Interruptor Switch 3', }), 'context': , 'entity_id': 'switch.interruptor_switch_3', @@ -5985,7 +5985,7 @@ # name: test_platform_setup_and_discovery[switch.interruptor_switch_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Interruptor Switch 4', + : 'Interruptor Switch 4', }), 'context': , 'entity_id': 'switch.interruptor_switch_4', @@ -6035,8 +6035,8 @@ # name: test_platform_setup_and_discovery[switch.inverter_pool_heat_pump_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inverter Pool Heat Pump Child lock', - 'icon': 'mdi:account-lock', + : 'Inverter Pool Heat Pump Child lock', + : 'mdi:account-lock', }), 'context': , 'entity_id': 'switch.inverter_pool_heat_pump_child_lock', @@ -6086,7 +6086,7 @@ # name: test_platform_setup_and_discovery[switch.inverter_pool_heat_pump_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Inverter Pool Heat Pump Switch', + : 'Inverter Pool Heat Pump Switch', }), 'context': , 'entity_id': 'switch.inverter_pool_heat_pump_switch', @@ -6136,7 +6136,7 @@ # name: test_platform_setup_and_discovery[switch.ion1000pro_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO Child lock', + : 'ION1000PRO Child lock', }), 'context': , 'entity_id': 'switch.ion1000pro_child_lock', @@ -6186,7 +6186,7 @@ # name: test_platform_setup_and_discovery[switch.ion1000pro_filter_cartridge_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO Filter cartridge reset', + : 'ION1000PRO Filter cartridge reset', }), 'context': , 'entity_id': 'switch.ion1000pro_filter_cartridge_reset', @@ -6236,7 +6236,7 @@ # name: test_platform_setup_and_discovery[switch.ion1000pro_ionizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO Ionizer', + : 'ION1000PRO Ionizer', }), 'context': , 'entity_id': 'switch.ion1000pro_ionizer', @@ -6286,7 +6286,7 @@ # name: test_platform_setup_and_discovery[switch.ion1000pro_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO Power', + : 'ION1000PRO Power', }), 'context': , 'entity_id': 'switch.ion1000pro_power', @@ -6336,7 +6336,7 @@ # name: test_platform_setup_and_discovery[switch.ion1000pro_uv_sterilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'ION1000PRO UV sterilization', + : 'ION1000PRO UV sterilization', }), 'context': , 'entity_id': 'switch.ion1000pro_uv_sterilization', @@ -6386,8 +6386,8 @@ # name: test_platform_setup_and_discovery[switch.jardim_frontal_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Jardim frontal Switch 1', + : 'outlet', + : 'Jardim frontal Switch 1', }), 'context': , 'entity_id': 'switch.jardim_frontal_switch_1', @@ -6437,8 +6437,8 @@ # name: test_platform_setup_and_discovery[switch.jardin_fraises_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'jardin Fraises Switch 1', + : 'outlet', + : 'jardin Fraises Switch 1', }), 'context': , 'entity_id': 'switch.jardin_fraises_switch_1', @@ -6488,7 +6488,7 @@ # name: test_platform_setup_and_discovery[switch.jie_hashuang_xiang_ji_liang_cha_zuo_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '接HA双向计量插座 Child lock', + : '接HA双向计量插座 Child lock', }), 'context': , 'entity_id': 'switch.jie_hashuang_xiang_ji_liang_cha_zuo_child_lock', @@ -6538,8 +6538,8 @@ # name: test_platform_setup_and_discovery[switch.jie_hashuang_xiang_ji_liang_cha_zuo_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': '接HA双向计量插座 Socket 1', + : 'outlet', + : '接HA双向计量插座 Socket 1', }), 'context': , 'entity_id': 'switch.jie_hashuang_xiang_ji_liang_cha_zuo_socket_1', @@ -6589,7 +6589,7 @@ # name: test_platform_setup_and_discovery[switch.kabinet_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Кабінет Child lock', + : 'Кабінет Child lock', }), 'context': , 'entity_id': 'switch.kabinet_child_lock', @@ -6639,7 +6639,7 @@ # name: test_platform_setup_and_discovery[switch.kabinet_frost_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Кабінет Frost protection', + : 'Кабінет Frost protection', }), 'context': , 'entity_id': 'switch.kabinet_frost_protection', @@ -6689,7 +6689,7 @@ # name: test_platform_setup_and_discovery[switch.kalado_air_purifier_filter_cartridge_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kalado Air Purifier Filter cartridge reset', + : 'Kalado Air Purifier Filter cartridge reset', }), 'context': , 'entity_id': 'switch.kalado_air_purifier_filter_cartridge_reset', @@ -6739,7 +6739,7 @@ # name: test_platform_setup_and_discovery[switch.kalado_air_purifier_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kalado Air Purifier Power', + : 'Kalado Air Purifier Power', }), 'context': , 'entity_id': 'switch.kalado_air_purifier_power', @@ -6789,7 +6789,7 @@ # name: test_platform_setup_and_discovery[switch.kattenbak_auto_clean-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kattenbak Auto clean', + : 'Kattenbak Auto clean', }), 'context': , 'entity_id': 'switch.kattenbak_auto_clean', @@ -6839,8 +6839,8 @@ # name: test_platform_setup_and_discovery[switch.keller_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Keller Socket 1', + : 'outlet', + : 'Keller Socket 1', }), 'context': , 'entity_id': 'switch.keller_socket_1', @@ -6890,8 +6890,8 @@ # name: test_platform_setup_and_discovery[switch.keller_socket_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Keller Socket 2', + : 'outlet', + : 'Keller Socket 2', }), 'context': , 'entity_id': 'switch.keller_socket_2', @@ -6941,8 +6941,8 @@ # name: test_platform_setup_and_discovery[switch.keller_socket_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Keller Socket 3', + : 'outlet', + : 'Keller Socket 3', }), 'context': , 'entity_id': 'switch.keller_socket_3', @@ -6992,7 +6992,7 @@ # name: test_platform_setup_and_discovery[switch.keller_usb_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Keller USB 1', + : 'Keller USB 1', }), 'context': , 'entity_id': 'switch.keller_usb_1', @@ -7042,7 +7042,7 @@ # name: test_platform_setup_and_discovery[switch.klarta_humea_sleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'KLARTA HUMEA Sleep', + : 'KLARTA HUMEA Sleep', }), 'context': , 'entity_id': 'switch.klarta_humea_sleep', @@ -7092,7 +7092,7 @@ # name: test_platform_setup_and_discovery[switch.lave_linge_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lave linge Child lock', + : 'Lave linge Child lock', }), 'context': , 'entity_id': 'switch.lave_linge_child_lock', @@ -7142,8 +7142,8 @@ # name: test_platform_setup_and_discovery[switch.lave_linge_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Lave linge Socket 1', + : 'outlet', + : 'Lave linge Socket 1', }), 'context': , 'entity_id': 'switch.lave_linge_socket_1', @@ -7193,8 +7193,8 @@ # name: test_platform_setup_and_discovery[switch.licht_drucker_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Licht drucker Socket 1', + : 'outlet', + : 'Licht drucker Socket 1', }), 'context': , 'entity_id': 'switch.licht_drucker_socket_1', @@ -7244,8 +7244,8 @@ # name: test_platform_setup_and_discovery[switch.living_room_dehumidifier_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room dehumidifier Child lock', - 'icon': 'mdi:account-lock', + : 'Living room dehumidifier Child lock', + : 'mdi:account-lock', }), 'context': , 'entity_id': 'switch.living_room_dehumidifier_child_lock', @@ -7295,8 +7295,8 @@ # name: test_platform_setup_and_discovery[switch.living_room_dehumidifier_ionizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room dehumidifier Ionizer', - 'icon': 'mdi:atom', + : 'Living room dehumidifier Ionizer', + : 'mdi:atom', }), 'context': , 'entity_id': 'switch.living_room_dehumidifier_ionizer', @@ -7346,8 +7346,8 @@ # name: test_platform_setup_and_discovery[switch.livr_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'LivR Socket', + : 'outlet', + : 'LivR Socket', }), 'context': , 'entity_id': 'switch.livr_socket', @@ -7397,7 +7397,7 @@ # name: test_platform_setup_and_discovery[switch.lounge_dark_blind_reverse-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Lounge Dark Blind Reverse', + : 'Lounge Dark Blind Reverse', }), 'context': , 'entity_id': 'switch.lounge_dark_blind_reverse', @@ -7447,8 +7447,8 @@ # name: test_platform_setup_and_discovery[switch.madimack_elite_v3_pool_heat_pump_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Child lock', - 'icon': 'mdi:account-lock', + : 'Madimack Elite V3 Pool Heat Pump Child lock', + : 'mdi:account-lock', }), 'context': , 'entity_id': 'switch.madimack_elite_v3_pool_heat_pump_child_lock', @@ -7498,7 +7498,7 @@ # name: test_platform_setup_and_discovery[switch.madimack_elite_v3_pool_heat_pump_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Madimack Elite V3 Pool Heat Pump Switch', + : 'Madimack Elite V3 Pool Heat Pump Switch', }), 'context': , 'entity_id': 'switch.madimack_elite_v3_pool_heat_pump_switch', @@ -7548,7 +7548,7 @@ # name: test_platform_setup_and_discovery[switch.mesa_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mesa Child lock', + : 'mesa Child lock', }), 'context': , 'entity_id': 'switch.mesa_child_lock', @@ -7598,7 +7598,7 @@ # name: test_platform_setup_and_discovery[switch.mesh_gateway_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mesh-Gateway Mute', + : 'Mesh-Gateway Mute', }), 'context': , 'entity_id': 'switch.mesh_gateway_mute', @@ -7648,7 +7648,7 @@ # name: test_platform_setup_and_discovery[switch.mini_split_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mini-Split Child lock', + : 'Mini-Split Child lock', }), 'context': , 'entity_id': 'switch.mini_split_child_lock', @@ -7698,7 +7698,7 @@ # name: test_platform_setup_and_discovery[switch.mirilla_puerta_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mirilla puerta Flip', + : 'Mirilla puerta Flip', }), 'context': , 'entity_id': 'switch.mirilla_puerta_flip', @@ -7748,7 +7748,7 @@ # name: test_platform_setup_and_discovery[switch.mirilla_puerta_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Mirilla puerta Time watermark', + : 'Mirilla puerta Time watermark', }), 'context': , 'entity_id': 'switch.mirilla_puerta_time_watermark', @@ -7798,7 +7798,7 @@ # name: test_platform_setup_and_discovery[switch.multifunction_alarm_arm_beep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Multifunction alarm Arm beep', + : 'Multifunction alarm Arm beep', }), 'context': , 'entity_id': 'switch.multifunction_alarm_arm_beep', @@ -7848,7 +7848,7 @@ # name: test_platform_setup_and_discovery[switch.multifunction_alarm_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Multifunction alarm Siren', + : 'Multifunction alarm Siren', }), 'context': , 'entity_id': 'switch.multifunction_alarm_siren', @@ -7898,8 +7898,8 @@ # name: test_platform_setup_and_discovery[switch.n4_auto_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'N4-Auto Socket 1', + : 'outlet', + : 'N4-Auto Socket 1', }), 'context': , 'entity_id': 'switch.n4_auto_socket_1', @@ -7949,7 +7949,7 @@ # name: test_platform_setup_and_discovery[switch.office_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Office Child lock', + : 'Office Child lock', }), 'context': , 'entity_id': 'switch.office_child_lock', @@ -7999,8 +7999,8 @@ # name: test_platform_setup_and_discovery[switch.office_lights_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'office lights Switch 1', + : 'outlet', + : 'office lights Switch 1', }), 'context': , 'entity_id': 'switch.office_lights_switch_1', @@ -8050,8 +8050,8 @@ # name: test_platform_setup_and_discovery[switch.office_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Office Socket 1', + : 'outlet', + : 'Office Socket 1', }), 'context': , 'entity_id': 'switch.office_socket_1', @@ -8101,7 +8101,7 @@ # name: test_platform_setup_and_discovery[switch.p1_energia_elettrica_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'P1 Energia Elettrica Switch', + : 'P1 Energia Elettrica Switch', }), 'context': , 'entity_id': 'switch.p1_energia_elettrica_switch', @@ -8151,8 +8151,8 @@ # name: test_platform_setup_and_discovery[switch.pid_relay_2_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'pid_relay_2 Switch 1', + : 'outlet', + : 'pid_relay_2 Switch 1', }), 'context': , 'entity_id': 'switch.pid_relay_2_switch_1', @@ -8202,8 +8202,8 @@ # name: test_platform_setup_and_discovery[switch.pid_relay_2_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'pid_relay_2 Switch 2', + : 'outlet', + : 'pid_relay_2 Switch 2', }), 'context': , 'entity_id': 'switch.pid_relay_2_switch_2', @@ -8253,7 +8253,7 @@ # name: test_platform_setup_and_discovery[switch.pixi_smart_drinking_fountain_filter_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PIXI Smart Drinking Fountain Filter reset', + : 'PIXI Smart Drinking Fountain Filter reset', }), 'context': , 'entity_id': 'switch.pixi_smart_drinking_fountain_filter_reset', @@ -8303,7 +8303,7 @@ # name: test_platform_setup_and_discovery[switch.pixi_smart_drinking_fountain_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PIXI Smart Drinking Fountain Power', + : 'PIXI Smart Drinking Fountain Power', }), 'context': , 'entity_id': 'switch.pixi_smart_drinking_fountain_power', @@ -8353,7 +8353,7 @@ # name: test_platform_setup_and_discovery[switch.pixi_smart_drinking_fountain_reset_of_water_usage_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PIXI Smart Drinking Fountain Reset of water usage days', + : 'PIXI Smart Drinking Fountain Reset of water usage days', }), 'context': , 'entity_id': 'switch.pixi_smart_drinking_fountain_reset_of_water_usage_days', @@ -8403,7 +8403,7 @@ # name: test_platform_setup_and_discovery[switch.pixi_smart_drinking_fountain_uv_sterilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PIXI Smart Drinking Fountain UV sterilization', + : 'PIXI Smart Drinking Fountain UV sterilization', }), 'context': , 'entity_id': 'switch.pixi_smart_drinking_fountain_uv_sterilization', @@ -8453,7 +8453,7 @@ # name: test_platform_setup_and_discovery[switch.pixi_smart_drinking_fountain_water_pump_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'PIXI Smart Drinking Fountain Water pump reset', + : 'PIXI Smart Drinking Fountain Water pump reset', }), 'context': , 'entity_id': 'switch.pixi_smart_drinking_fountain_water_pump_reset', @@ -8503,7 +8503,7 @@ # name: test_platform_setup_and_discovery[switch.plafond_bureau_do_not_disturb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Plafond bureau Do not disturb', + : 'Plafond bureau Do not disturb', }), 'context': , 'entity_id': 'switch.plafond_bureau_do_not_disturb', @@ -8553,7 +8553,7 @@ # name: test_platform_setup_and_discovery[switch.poopy_nano_2_auto_clean-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Poopy Nano 2 Auto clean', + : 'Poopy Nano 2 Auto clean', }), 'context': , 'entity_id': 'switch.poopy_nano_2_auto_clean', @@ -8603,8 +8603,8 @@ # name: test_platform_setup_and_discovery[switch.powerplug_5_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Powerplug 5 Socket 1', + : 'outlet', + : 'Powerplug 5 Socket 1', }), 'context': , 'entity_id': 'switch.powerplug_5_socket_1', @@ -8654,8 +8654,8 @@ # name: test_platform_setup_and_discovery[switch.pro_breeze_30l_compressor_dehumidifier_ionizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Pro Breeze 30L Compressor Dehumidifier Ionizer', - 'icon': 'mdi:atom', + : 'Pro Breeze 30L Compressor Dehumidifier Ionizer', + : 'mdi:atom', }), 'context': , 'entity_id': 'switch.pro_breeze_30l_compressor_dehumidifier_ionizer', @@ -8705,8 +8705,8 @@ # name: test_platform_setup_and_discovery[switch.puerta_casa_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Puerta Casa Switch 1', + : 'outlet', + : 'Puerta Casa Switch 1', }), 'context': , 'entity_id': 'switch.puerta_casa_switch_1', @@ -8756,8 +8756,8 @@ # name: test_platform_setup_and_discovery[switch.qt_switch_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'QT-Switch Switch 1', + : 'outlet', + : 'QT-Switch Switch 1', }), 'context': , 'entity_id': 'switch.qt_switch_switch_1', @@ -8807,7 +8807,7 @@ # name: test_platform_setup_and_discovery[switch.raspy4_home_assistant_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Raspy4 - Home Assistant Child lock', + : 'Raspy4 - Home Assistant Child lock', }), 'context': , 'entity_id': 'switch.raspy4_home_assistant_child_lock', @@ -8857,8 +8857,8 @@ # name: test_platform_setup_and_discovery[switch.raspy4_home_assistant_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Raspy4 - Home Assistant Socket 1', + : 'outlet', + : 'Raspy4 - Home Assistant Socket 1', }), 'context': , 'entity_id': 'switch.raspy4_home_assistant_socket_1', @@ -8908,8 +8908,8 @@ # name: test_platform_setup_and_discovery[switch.rewireable_plug_6930ha_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Rewireable Plug 6930HA Socket 1', + : 'outlet', + : 'Rewireable Plug 6930HA Socket 1', }), 'context': , 'entity_id': 'switch.rewireable_plug_6930ha_socket_1', @@ -8959,7 +8959,7 @@ # name: test_platform_setup_and_discovery[switch.salon_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Salon Child lock', + : 'Salon Child lock', }), 'context': , 'entity_id': 'switch.salon_child_lock', @@ -9009,8 +9009,8 @@ # name: test_platform_setup_and_discovery[switch.sapphire_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Sapphire Socket', + : 'outlet', + : 'Sapphire Socket', }), 'context': , 'entity_id': 'switch.sapphire_socket', @@ -9060,8 +9060,8 @@ # name: test_platform_setup_and_discovery[switch.schuur_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'schuur Socket 1', + : 'outlet', + : 'schuur Socket 1', }), 'context': , 'entity_id': 'switch.schuur_socket_1', @@ -9111,7 +9111,7 @@ # name: test_platform_setup_and_discovery[switch.seating_side_6_ch_smart_switch_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Seating side 6-ch Smart Switch Child lock', + : 'Seating side 6-ch Smart Switch Child lock', }), 'context': , 'entity_id': 'switch.seating_side_6_ch_smart_switch_child_lock', @@ -9161,8 +9161,8 @@ # name: test_platform_setup_and_discovery[switch.seating_side_6_ch_smart_switch_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Seating side 6-ch Smart Switch Switch 1', + : 'outlet', + : 'Seating side 6-ch Smart Switch Switch 1', }), 'context': , 'entity_id': 'switch.seating_side_6_ch_smart_switch_switch_1', @@ -9212,8 +9212,8 @@ # name: test_platform_setup_and_discovery[switch.seating_side_6_ch_smart_switch_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Seating side 6-ch Smart Switch Switch 2', + : 'outlet', + : 'Seating side 6-ch Smart Switch Switch 2', }), 'context': , 'entity_id': 'switch.seating_side_6_ch_smart_switch_switch_2', @@ -9263,8 +9263,8 @@ # name: test_platform_setup_and_discovery[switch.seating_side_6_ch_smart_switch_switch_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Seating side 6-ch Smart Switch Switch 3', + : 'outlet', + : 'Seating side 6-ch Smart Switch Switch 3', }), 'context': , 'entity_id': 'switch.seating_side_6_ch_smart_switch_switch_3', @@ -9314,8 +9314,8 @@ # name: test_platform_setup_and_discovery[switch.seating_side_6_ch_smart_switch_switch_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Seating side 6-ch Smart Switch Switch 4', + : 'outlet', + : 'Seating side 6-ch Smart Switch Switch 4', }), 'context': , 'entity_id': 'switch.seating_side_6_ch_smart_switch_switch_4', @@ -9365,8 +9365,8 @@ # name: test_platform_setup_and_discovery[switch.seating_side_6_ch_smart_switch_switch_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Seating side 6-ch Smart Switch Switch 5', + : 'outlet', + : 'Seating side 6-ch Smart Switch Switch 5', }), 'context': , 'entity_id': 'switch.seating_side_6_ch_smart_switch_switch_5', @@ -9416,8 +9416,8 @@ # name: test_platform_setup_and_discovery[switch.seating_side_6_ch_smart_switch_switch_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Seating side 6-ch Smart Switch Switch 6', + : 'outlet', + : 'Seating side 6-ch Smart Switch Switch 6', }), 'context': , 'entity_id': 'switch.seating_side_6_ch_smart_switch_switch_6', @@ -9467,7 +9467,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_auto_trigger_siren-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Auto-trigger siren', + : 'Security Camera Auto-trigger siren', }), 'context': , 'entity_id': 'switch.security_camera_auto_trigger_siren', @@ -9517,7 +9517,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_flip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Flip', + : 'Security Camera Flip', }), 'context': , 'entity_id': 'switch.security_camera_flip', @@ -9567,7 +9567,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_motion_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Motion alarm', + : 'Security Camera Motion alarm', }), 'context': , 'entity_id': 'switch.security_camera_motion_alarm', @@ -9617,7 +9617,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_motion_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Motion recording', + : 'Security Camera Motion recording', }), 'context': , 'entity_id': 'switch.security_camera_motion_recording', @@ -9667,7 +9667,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_privacy_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Privacy mode', + : 'Security Camera Privacy mode', }), 'context': , 'entity_id': 'switch.security_camera_privacy_mode', @@ -9717,7 +9717,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_sound_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Sound detection', + : 'Security Camera Sound detection', }), 'context': , 'entity_id': 'switch.security_camera_sound_detection', @@ -9767,7 +9767,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_time_watermark-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Time watermark', + : 'Security Camera Time watermark', }), 'context': , 'entity_id': 'switch.security_camera_time_watermark', @@ -9817,7 +9817,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_use_motion_detection_zone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Use motion detection zone', + : 'Security Camera Use motion detection zone', }), 'context': , 'entity_id': 'switch.security_camera_use_motion_detection_zone', @@ -9867,7 +9867,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_video_recording-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Video recording', + : 'Security Camera Video recording', }), 'context': , 'entity_id': 'switch.security_camera_video_recording', @@ -9917,7 +9917,7 @@ # name: test_platform_setup_and_discovery[switch.security_camera_wide_dynamic_range-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Camera Wide dynamic range', + : 'Security Camera Wide dynamic range', }), 'context': , 'entity_id': 'switch.security_camera_wide_dynamic_range', @@ -9967,7 +9967,7 @@ # name: test_platform_setup_and_discovery[switch.security_light_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Security Light Child lock', + : 'Security Light Child lock', }), 'context': , 'entity_id': 'switch.security_light_child_lock', @@ -10017,8 +10017,8 @@ # name: test_platform_setup_and_discovery[switch.security_light_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Security Light Socket 1', + : 'outlet', + : 'Security Light Socket 1', }), 'context': , 'entity_id': 'switch.security_light_socket_1', @@ -10068,8 +10068,8 @@ # name: test_platform_setup_and_discovery[switch.server_fan_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Server Fan Switch 1', + : 'outlet', + : 'Server Fan Switch 1', }), 'context': , 'entity_id': 'switch.server_fan_switch_1', @@ -10119,8 +10119,8 @@ # name: test_platform_setup_and_discovery[switch.signal_repeater_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Signal repeater Socket 1', + : 'outlet', + : 'Signal repeater Socket 1', }), 'context': , 'entity_id': 'switch.signal_repeater_socket_1', @@ -10170,7 +10170,7 @@ # name: test_platform_setup_and_discovery[switch.smart_kettle_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Kettle Start', + : 'Smart Kettle Start', }), 'context': , 'entity_id': 'switch.smart_kettle_start', @@ -10220,7 +10220,7 @@ # name: test_platform_setup_and_discovery[switch.smart_odor_eliminator_pro_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Odor Eliminator-Pro Switch', + : 'Smart Odor Eliminator-Pro Switch', }), 'context': , 'entity_id': 'switch.smart_odor_eliminator_pro_switch', @@ -10270,7 +10270,7 @@ # name: test_platform_setup_and_discovery[switch.smart_switch_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Switch Switch 1', + : 'Smart Switch Switch 1', }), 'context': , 'entity_id': 'switch.smart_switch_switch_1', @@ -10320,7 +10320,7 @@ # name: test_platform_setup_and_discovery[switch.smart_switch_switch_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Switch Switch 2', + : 'Smart Switch Switch 2', }), 'context': , 'entity_id': 'switch.smart_switch_switch_2', @@ -10370,7 +10370,7 @@ # name: test_platform_setup_and_discovery[switch.smart_thermostats_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'smart thermostats Child lock', + : 'smart thermostats Child lock', }), 'context': , 'entity_id': 'switch.smart_thermostats_child_lock', @@ -10420,7 +10420,7 @@ # name: test_platform_setup_and_discovery[switch.smart_thermostats_frost_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'smart thermostats Frost protection', + : 'smart thermostats Frost protection', }), 'context': , 'entity_id': 'switch.smart_thermostats_frost_protection', @@ -10470,7 +10470,7 @@ # name: test_platform_setup_and_discovery[switch.smart_white_noise_machine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart White Noise Machine', + : 'Smart White Noise Machine', }), 'context': , 'entity_id': 'switch.smart_white_noise_machine', @@ -10520,8 +10520,8 @@ # name: test_platform_setup_and_discovery[switch.smart_white_noise_machine_music-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart White Noise Machine Music', - 'icon': 'mdi:music', + : 'Smart White Noise Machine Music', + : 'mdi:music', }), 'context': , 'entity_id': 'switch.smart_white_noise_machine_music', @@ -10571,7 +10571,7 @@ # name: test_platform_setup_and_discovery[switch.smoke_alarm_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smoke Alarm Mute', + : 'Smoke Alarm Mute', }), 'context': , 'entity_id': 'switch.smoke_alarm_mute', @@ -10621,7 +10621,7 @@ # name: test_platform_setup_and_discovery[switch.smoke_detector_upstairs_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': ' Smoke detector upstairs Mute', + : ' Smoke detector upstairs Mute', }), 'context': , 'entity_id': 'switch.smoke_detector_upstairs_mute', @@ -10671,8 +10671,8 @@ # name: test_platform_setup_and_discovery[switch.socket3_switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Socket3 Switch 1', + : 'outlet', + : 'Socket3 Switch 1', }), 'context': , 'entity_id': 'switch.socket3_switch_1', @@ -10722,7 +10722,7 @@ # name: test_platform_setup_and_discovery[switch.socket4_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Socket4 Child lock', + : 'Socket4 Child lock', }), 'context': , 'entity_id': 'switch.socket4_child_lock', @@ -10772,8 +10772,8 @@ # name: test_platform_setup_and_discovery[switch.socket4_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Socket4 Socket 1', + : 'outlet', + : 'Socket4 Socket 1', }), 'context': , 'entity_id': 'switch.socket4_socket_1', @@ -10823,8 +10823,8 @@ # name: test_platform_setup_and_discovery[switch.solar_heater_pump_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Solar Heater Pump Socket 1', + : 'outlet', + : 'Solar Heater Pump Socket 1', }), 'context': , 'entity_id': 'switch.solar_heater_pump_socket_1', @@ -10874,7 +10874,7 @@ # name: test_platform_setup_and_discovery[switch.solar_zijpad_energy_saving-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Solar zijpad Energy saving', + : 'Solar zijpad Energy saving', }), 'context': , 'entity_id': 'switch.solar_zijpad_energy_saving', @@ -10924,7 +10924,7 @@ # name: test_platform_setup_and_discovery[switch.sous_vide_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Sous Vide Start', + : 'Sous Vide Start', }), 'context': , 'entity_id': 'switch.sous_vide_start', @@ -10974,8 +10974,8 @@ # name: test_platform_setup_and_discovery[switch.spa_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Spa Socket 1', + : 'outlet', + : 'Spa Socket 1', }), 'context': , 'entity_id': 'switch.spa_socket_1', @@ -11025,7 +11025,7 @@ # name: test_platform_setup_and_discovery[switch.spot_1_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Spot 1 Child lock', + : 'Spot 1 Child lock', }), 'context': , 'entity_id': 'switch.spot_1_child_lock', @@ -11075,8 +11075,8 @@ # name: test_platform_setup_and_discovery[switch.spot_1_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Spot 1 Socket 1', + : 'outlet', + : 'Spot 1 Socket 1', }), 'context': , 'entity_id': 'switch.spot_1_socket_1', @@ -11126,8 +11126,8 @@ # name: test_platform_setup_and_discovery[switch.spot_4_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Spot 4 Socket 1', + : 'outlet', + : 'Spot 4 Socket 1', }), 'context': , 'entity_id': 'switch.spot_4_socket_1', @@ -11177,8 +11177,8 @@ # name: test_platform_setup_and_discovery[switch.steckdose_2_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Steckdose 2 Socket', + : 'outlet', + : 'Steckdose 2 Socket', }), 'context': , 'entity_id': 'switch.steckdose_2_socket', @@ -11228,9 +11228,9 @@ # name: test_platform_setup_and_discovery[switch.sunbeam_bedding_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Sunbeam Bedding Power', - 'icon': 'mdi:power', + : 'switch', + : 'Sunbeam Bedding Power', + : 'mdi:power', }), 'context': , 'entity_id': 'switch.sunbeam_bedding_power', @@ -11280,9 +11280,9 @@ # name: test_platform_setup_and_discovery[switch.sunbeam_bedding_preheat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Sunbeam Bedding Preheat', - 'icon': 'mdi:radiator', + : 'switch', + : 'Sunbeam Bedding Preheat', + : 'mdi:radiator', }), 'context': , 'entity_id': 'switch.sunbeam_bedding_preheat', @@ -11332,9 +11332,9 @@ # name: test_platform_setup_and_discovery[switch.sunbeam_bedding_side_a_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Sunbeam Bedding Side A Power', - 'icon': 'mdi:alpha-a', + : 'switch', + : 'Sunbeam Bedding Side A Power', + : 'mdi:alpha-a', }), 'context': , 'entity_id': 'switch.sunbeam_bedding_side_a_power', @@ -11384,9 +11384,9 @@ # name: test_platform_setup_and_discovery[switch.sunbeam_bedding_side_a_preheat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Sunbeam Bedding Side A Preheat', - 'icon': 'mdi:radiator', + : 'switch', + : 'Sunbeam Bedding Side A Preheat', + : 'mdi:radiator', }), 'context': , 'entity_id': 'switch.sunbeam_bedding_side_a_preheat', @@ -11436,9 +11436,9 @@ # name: test_platform_setup_and_discovery[switch.sunbeam_bedding_side_b_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Sunbeam Bedding Side B Power', - 'icon': 'mdi:alpha-b', + : 'switch', + : 'Sunbeam Bedding Side B Power', + : 'mdi:alpha-b', }), 'context': , 'entity_id': 'switch.sunbeam_bedding_side_b_power', @@ -11488,9 +11488,9 @@ # name: test_platform_setup_and_discovery[switch.sunbeam_bedding_side_b_preheat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Sunbeam Bedding Side B Preheat', - 'icon': 'mdi:radiator', + : 'switch', + : 'Sunbeam Bedding Side B Preheat', + : 'mdi:radiator', }), 'context': , 'entity_id': 'switch.sunbeam_bedding_side_b_preheat', @@ -11540,7 +11540,7 @@ # name: test_platform_setup_and_discovery[switch.term_prizemi_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Term - Prizemi Child lock', + : 'Term - Prizemi Child lock', }), 'context': , 'entity_id': 'switch.term_prizemi_child_lock', @@ -11590,8 +11590,8 @@ # name: test_platform_setup_and_discovery[switch.terras_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Terras Socket 1', + : 'outlet', + : 'Terras Socket 1', }), 'context': , 'entity_id': 'switch.terras_socket_1', @@ -11641,8 +11641,8 @@ # name: test_platform_setup_and_discovery[switch.terras_socket_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Terras Socket 2', + : 'outlet', + : 'Terras Socket 2', }), 'context': , 'entity_id': 'switch.terras_socket_2', @@ -11692,7 +11692,7 @@ # name: test_platform_setup_and_discovery[switch.tower_fan_ca_407g_smart_ionizer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tower Fan CA-407G Smart Ionizer', + : 'Tower Fan CA-407G Smart Ionizer', }), 'context': , 'entity_id': 'switch.tower_fan_ca_407g_smart_ionizer', @@ -11742,7 +11742,7 @@ # name: test_platform_setup_and_discovery[switch.v20_do_not_disturb-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'V20 Do not disturb', + : 'V20 Do not disturb', }), 'context': , 'entity_id': 'switch.v20_do_not_disturb', @@ -11792,8 +11792,8 @@ # name: test_platform_setup_and_discovery[switch.varmelampa_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Värmelampa Socket 1', + : 'outlet', + : 'Värmelampa Socket 1', }), 'context': , 'entity_id': 'switch.varmelampa_socket_1', @@ -11843,7 +11843,7 @@ # name: test_platform_setup_and_discovery[switch.wallwasher_front_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'wallwasher front Child lock', + : 'wallwasher front Child lock', }), 'context': , 'entity_id': 'switch.wallwasher_front_child_lock', @@ -11893,8 +11893,8 @@ # name: test_platform_setup_and_discovery[switch.wallwasher_front_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'wallwasher front Socket 1', + : 'outlet', + : 'wallwasher front Socket 1', }), 'context': , 'entity_id': 'switch.wallwasher_front_socket_1', @@ -11944,8 +11944,8 @@ # name: test_platform_setup_and_discovery[switch.waschmaschine_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Waschmaschine Socket', + : 'outlet', + : 'Waschmaschine Socket', }), 'context': , 'entity_id': 'switch.waschmaschine_socket', @@ -11995,7 +11995,7 @@ # name: test_platform_setup_and_discovery[switch.water_fountain_filter_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Fountain Filter reset', + : 'Water Fountain Filter reset', }), 'context': , 'entity_id': 'switch.water_fountain_filter_reset', @@ -12045,7 +12045,7 @@ # name: test_platform_setup_and_discovery[switch.water_fountain_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Fountain Power', + : 'Water Fountain Power', }), 'context': , 'entity_id': 'switch.water_fountain_power', @@ -12095,7 +12095,7 @@ # name: test_platform_setup_and_discovery[switch.water_fountain_water_pump_reset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Water Fountain Water pump reset', + : 'Water Fountain Water pump reset', }), 'context': , 'entity_id': 'switch.water_fountain_water_pump_reset', @@ -12145,8 +12145,8 @@ # name: test_platform_setup_and_discovery[switch.weihnachten3_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Weihnachten3 Socket 1', + : 'outlet', + : 'Weihnachten3 Socket 1', }), 'context': , 'entity_id': 'switch.weihnachten3_socket_1', @@ -12196,7 +12196,7 @@ # name: test_platform_setup_and_discovery[switch.weihnachtsmann_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Weihnachtsmann Child lock', + : 'Weihnachtsmann Child lock', }), 'context': , 'entity_id': 'switch.weihnachtsmann_child_lock', @@ -12246,8 +12246,8 @@ # name: test_platform_setup_and_discovery[switch.weihnachtsmann_socket_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Weihnachtsmann Socket 1', + : 'outlet', + : 'Weihnachtsmann Socket 1', }), 'context': , 'entity_id': 'switch.weihnachtsmann_socket_1', @@ -12297,7 +12297,7 @@ # name: test_platform_setup_and_discovery[switch.white_noise_machine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Noise Machine', + : 'White Noise Machine', }), 'context': , 'entity_id': 'switch.white_noise_machine', @@ -12347,8 +12347,8 @@ # name: test_platform_setup_and_discovery[switch.white_noise_machine_music-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'White Noise Machine Music', - 'icon': 'mdi:music', + : 'White Noise Machine Music', + : 'mdi:music', }), 'context': , 'entity_id': 'switch.white_noise_machine_music', @@ -12398,7 +12398,7 @@ # name: test_platform_setup_and_discovery[switch.wifi_smart_gas_boiler_thermostat_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WiFi Smart Gas Boiler Thermostat Child lock', + : 'WiFi Smart Gas Boiler Thermostat Child lock', }), 'context': , 'entity_id': 'switch.wifi_smart_gas_boiler_thermostat_child_lock', @@ -12448,7 +12448,7 @@ # name: test_platform_setup_and_discovery[switch.wifi_smart_gas_boiler_thermostat_frost_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WiFi Smart Gas Boiler Thermostat Frost protection', + : 'WiFi Smart Gas Boiler Thermostat Frost protection', }), 'context': , 'entity_id': 'switch.wifi_smart_gas_boiler_thermostat_frost_protection', @@ -12498,7 +12498,7 @@ # name: test_platform_setup_and_discovery[switch.wifi_smoke_alarm_mute-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WIFI Smoke alarm Mute', + : 'WIFI Smoke alarm Mute', }), 'context': , 'entity_id': 'switch.wifi_smoke_alarm_mute', @@ -12548,7 +12548,7 @@ # name: test_platform_setup_and_discovery[switch.xoca_dac212xc_v2_s1_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'XOCA-DAC212XC V2-S1 Switch', + : 'XOCA-DAC212XC V2-S1 Switch', }), 'context': , 'entity_id': 'switch.xoca_dac212xc_v2_s1_switch', @@ -12598,7 +12598,7 @@ # name: test_platform_setup_and_discovery[switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '一路带计量磁保持通断器 Child lock', + : '一路带计量磁保持通断器 Child lock', }), 'context': , 'entity_id': 'switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_child_lock', @@ -12648,7 +12648,7 @@ # name: test_platform_setup_and_discovery[switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '一路带计量磁保持通断器 Switch', + : '一路带计量磁保持通断器 Switch', }), 'context': , 'entity_id': 'switch.yi_lu_dai_ji_liang_ci_bao_chi_tong_duan_qi_switch', @@ -12698,8 +12698,8 @@ # name: test_platform_setup_and_discovery[switch.zas_01_socket-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'ZAS-01 Socket', + : 'outlet', + : 'ZAS-01 Socket', }), 'context': , 'entity_id': 'switch.zas_01_socket', diff --git a/tests/components/tuya/snapshots/test_vacuum.ambr b/tests/components/tuya/snapshots/test_vacuum.ambr index 1c30e6c7ee3..6efa24da21e 100644 --- a/tests/components/tuya/snapshots/test_vacuum.ambr +++ b/tests/components/tuya/snapshots/test_vacuum.ambr @@ -39,8 +39,8 @@ # name: test_platform_setup_and_discovery[vacuum.hoover-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Hoover', - 'supported_features': , + : 'Hoover', + : , }), 'context': , 'entity_id': 'vacuum.hoover', @@ -102,8 +102,8 @@ 'normal', 'strong', ]), - 'friendly_name': 'V20', - 'supported_features': , + : 'V20', + : , }), 'context': , 'entity_id': 'vacuum.v20', diff --git a/tests/components/tuya/snapshots/test_valve.ambr b/tests/components/tuya/snapshots/test_valve.ambr index f36878f7cde..74bedd56a9f 100644 --- a/tests/components/tuya/snapshots/test_valve.ambr +++ b/tests/components/tuya/snapshots/test_valve.ambr @@ -39,10 +39,10 @@ # name: test_platform_setup_and_discovery[valve.balkonbewasserung_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'balkonbewässerung Valve', + : 'water', + : 'balkonbewässerung Valve', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.balkonbewasserung_valve', @@ -92,10 +92,10 @@ # name: test_platform_setup_and_discovery[valve.garden_valve_yard_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Garden Valve Yard Valve', + : 'water', + : 'Garden Valve Yard Valve', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.garden_valve_yard_valve', @@ -145,10 +145,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 1', + : 'water', + : '接HA水阀 Valve 1', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_1', @@ -198,10 +198,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 2', + : 'water', + : '接HA水阀 Valve 2', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_2', @@ -251,10 +251,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 3', + : 'water', + : '接HA水阀 Valve 3', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_3', @@ -304,10 +304,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 4', + : 'water', + : '接HA水阀 Valve 4', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_4', @@ -357,10 +357,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 5', + : 'water', + : '接HA水阀 Valve 5', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_5', @@ -410,10 +410,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_6-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 6', + : 'water', + : '接HA水阀 Valve 6', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_6', @@ -463,10 +463,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_7-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 7', + : 'water', + : '接HA水阀 Valve 7', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_7', @@ -516,10 +516,10 @@ # name: test_platform_setup_and_discovery[valve.jie_hashui_fa_valve_8-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': '接HA水阀 Valve 8', + : 'water', + : '接HA水阀 Valve 8', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.jie_hashui_fa_valve_8', @@ -569,9 +569,9 @@ # name: test_platform_setup_and_discovery[valve.smart_water_timer_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Smart Water Timer Valve', - 'supported_features': , + : 'water', + : 'Smart Water Timer Valve', + : , }), 'context': , 'entity_id': 'valve.smart_water_timer_valve', @@ -621,10 +621,10 @@ # name: test_platform_setup_and_discovery[valve.sprinkler_cesare_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Sprinkler Cesare Valve', + : 'water', + : 'Sprinkler Cesare Valve', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.sprinkler_cesare_valve', @@ -674,9 +674,9 @@ # name: test_platform_setup_and_discovery[valve.valve_controller_2_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Valve Controller 2 Valve', - 'supported_features': , + : 'water', + : 'Valve Controller 2 Valve', + : , }), 'context': , 'entity_id': 'valve.valve_controller_2_valve', diff --git a/tests/components/twentemilieu/snapshots/test_calendar.ambr b/tests/components/twentemilieu/snapshots/test_calendar.ambr index bd277985b0f..8365f6a7915 100644 --- a/tests/components/twentemilieu/snapshots/test_calendar.ambr +++ b/tests/components/twentemilieu/snapshots/test_calendar.ambr @@ -31,7 +31,7 @@ : True, : '', : '2022-01-07 00:00:00', - 'friendly_name': 'Twente Milieu', + : 'Twente Milieu', : '', : 'Christmas tree pickup', : '2022-01-06 00:00:00', diff --git a/tests/components/twentemilieu/snapshots/test_sensor.ambr b/tests/components/twentemilieu/snapshots/test_sensor.ambr index c29cbdc38ec..8de837cab93 100644 --- a/tests/components/twentemilieu/snapshots/test_sensor.ambr +++ b/tests/components/twentemilieu/snapshots/test_sensor.ambr @@ -2,8 +2,8 @@ # name: test_sensors[sensor.twente_milieu_christmas_tree_pickup] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Twente Milieu Christmas tree pickup', + : 'date', + : 'Twente Milieu Christmas tree pickup', }), 'context': , 'entity_id': 'sensor.twente_milieu_christmas_tree_pickup', @@ -84,8 +84,8 @@ # name: test_sensors[sensor.twente_milieu_non_recyclable_waste_pickup] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Twente Milieu Non-recyclable waste pickup', + : 'date', + : 'Twente Milieu Non-recyclable waste pickup', }), 'context': , 'entity_id': 'sensor.twente_milieu_non_recyclable_waste_pickup', @@ -166,8 +166,8 @@ # name: test_sensors[sensor.twente_milieu_organic_waste_pickup] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Twente Milieu Organic waste pickup', + : 'date', + : 'Twente Milieu Organic waste pickup', }), 'context': , 'entity_id': 'sensor.twente_milieu_organic_waste_pickup', @@ -248,8 +248,8 @@ # name: test_sensors[sensor.twente_milieu_packages_waste_pickup] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Twente Milieu Packages waste pickup', + : 'date', + : 'Twente Milieu Packages waste pickup', }), 'context': , 'entity_id': 'sensor.twente_milieu_packages_waste_pickup', @@ -330,8 +330,8 @@ # name: test_sensors[sensor.twente_milieu_paper_waste_pickup] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'date', - 'friendly_name': 'Twente Milieu Paper waste pickup', + : 'date', + : 'Twente Milieu Paper waste pickup', }), 'context': , 'entity_id': 'sensor.twente_milieu_paper_waste_pickup', diff --git a/tests/components/twinkly/snapshots/test_light.ambr b/tests/components/twinkly/snapshots/test_light.ambr index 2cc7b2651dd..3c30f18143a 100644 --- a/tests/components/twinkly/snapshots/test_light.ambr +++ b/tests/components/twinkly/snapshots/test_light.ambr @@ -54,7 +54,7 @@ '1 Rainbow', '2 Flare', ]), - 'friendly_name': 'Tree 1', + : 'Tree 1', : tuple( 0.0, 0.0, @@ -67,7 +67,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.323, 0.329, diff --git a/tests/components/twinkly/snapshots/test_select.ambr b/tests/components/twinkly/snapshots/test_select.ambr index d89b22ac0b4..de12f0adee3 100644 --- a/tests/components/twinkly/snapshots/test_select.ambr +++ b/tests/components/twinkly/snapshots/test_select.ambr @@ -49,7 +49,7 @@ # name: test_select_entities[select.tree_1_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Tree 1 Mode', + : 'Tree 1 Mode', : list([ 'color', 'demo', diff --git a/tests/components/uhoo/snapshots/test_sensor.ambr b/tests/components/uhoo/snapshots/test_sensor.ambr index b0c646d2ee5..cb2a34e816b 100644 --- a/tests/components/uhoo/snapshots/test_sensor.ambr +++ b/tests/components/uhoo/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_sensor_snapshot[sensor.test_device_carbon_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'Test Device Carbon dioxide', + : 'carbon_dioxide', + : 'Test Device Carbon dioxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.test_device_carbon_dioxide', @@ -96,10 +96,10 @@ # name: test_sensor_snapshot[sensor.test_device_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_monoxide', - 'friendly_name': 'Test Device Carbon monoxide', + : 'carbon_monoxide', + : 'Test Device Carbon monoxide', : , - 'unit_of_measurement': 'ppm', + : 'ppm', }), 'context': , 'entity_id': 'sensor.test_device_carbon_monoxide', @@ -151,10 +151,10 @@ # name: test_sensor_snapshot[sensor.test_device_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test Device Humidity', + : 'humidity', + : 'Test Device Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_device_humidity', @@ -206,7 +206,7 @@ # name: test_sensor_snapshot[sensor.test_device_influenza_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Device Influenza index', + : 'Test Device Influenza index', : , }), 'context': , @@ -259,7 +259,7 @@ # name: test_sensor_snapshot[sensor.test_device_mold_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Device Mold index', + : 'Test Device Mold index', : , }), 'context': , @@ -312,9 +312,9 @@ # name: test_sensor_snapshot[sensor.test_device_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Device Nitrogen dioxide', + : 'Test Device Nitrogen dioxide', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.test_device_nitrogen_dioxide', @@ -366,9 +366,9 @@ # name: test_sensor_snapshot[sensor.test_device_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Device Ozone', + : 'Test Device Ozone', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.test_device_ozone', @@ -420,10 +420,10 @@ # name: test_sensor_snapshot[sensor.test_device_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Test Device PM2.5', + : 'pm25', + : 'Test Device PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.test_device_pm2_5', @@ -478,10 +478,10 @@ # name: test_sensor_snapshot[sensor.test_device_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Test Device Pressure', + : 'pressure', + : 'Test Device Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_pressure', @@ -536,10 +536,10 @@ # name: test_sensor_snapshot[sensor.test_device_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Device Temperature', + : 'temperature', + : 'Test Device Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_device_temperature', @@ -591,7 +591,7 @@ # name: test_sensor_snapshot[sensor.test_device_virus_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Device Virus index', + : 'Test Device Virus index', : , }), 'context': , @@ -644,10 +644,10 @@ # name: test_sensor_snapshot[sensor.test_device_volatile_organic_compounds-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volatile_organic_compounds', - 'friendly_name': 'Test Device Volatile organic compounds', + : 'volatile_organic_compounds', + : 'Test Device Volatile organic compounds', : , - 'unit_of_measurement': 'ppb', + : 'ppb', }), 'context': , 'entity_id': 'sensor.test_device_volatile_organic_compounds', diff --git a/tests/components/unifi/snapshots/test_button.ambr b/tests/components/unifi/snapshots/test_button.ambr index 707d6f039b8..492de518310 100644 --- a/tests/components/unifi/snapshots/test_button.ambr +++ b/tests/components/unifi/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-device_payload0][button.ssid_1_regenerate_password-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'update', - 'friendly_name': 'SSID 1 Regenerate password', + : 'update', + : 'SSID 1 Regenerate password', }), 'context': , 'entity_id': 'button.ssid_1_regenerate_password', @@ -90,8 +90,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-device_payload0][button.switch_port_1_power_cycle-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'switch Port 1 power cycle', + : 'restart', + : 'switch Port 1 power cycle', }), 'context': , 'entity_id': 'button.switch_port_1_power_cycle', @@ -141,8 +141,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-device_payload0][button.switch_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'switch Restart', + : 'restart', + : 'switch Restart', }), 'context': , 'entity_id': 'button.switch_restart', diff --git a/tests/components/unifi/snapshots/test_device_tracker.ambr b/tests/components/unifi/snapshots/test_device_tracker.ambr index c8e22591264..753021c1c5d 100644 --- a/tests/components/unifi/snapshots/test_device_tracker.ambr +++ b/tests/components/unifi/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_entity_and_device_data[site_payload0-device_payload0-client_payload0][device_tracker.switch_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 6 Switch 1', + : 'Device 6 Switch 1', : list([ 'zone.home', ]), @@ -100,7 +100,7 @@ # name: test_entity_and_device_data[site_payload0-device_payload0-client_payload0][device_tracker.wd_client_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 1 wd_client_1', + : 'Device 1 wd_client_1', : 'wd_client_1', : list([ ]), @@ -158,7 +158,7 @@ # name: test_entity_and_device_data[site_payload0-device_payload0-client_payload0][device_tracker.ws_client_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device 0 ws_client_1', + : 'Device 0 ws_client_1', : 'ws_client_1', : list([ ]), diff --git a/tests/components/unifi/snapshots/test_image.ambr b/tests/components/unifi/snapshots/test_image.ambr index 3147f135972..b3058a1d3ee 100644 --- a/tests/components/unifi/snapshots/test_image.ambr +++ b/tests/components/unifi/snapshots/test_image.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.ssid_1_qr_code?token=1', - 'friendly_name': 'SSID 1 QR code', + : '/api/image_proxy/image.ssid_1_qr_code?token=1', + : 'SSID 1 QR code', }), 'context': , 'entity_id': 'image.ssid_1_qr_code', diff --git a/tests/components/unifi/snapshots/test_light.ambr b/tests/components/unifi/snapshots/test_light.ambr index da658dd8c16..4e5f550a381 100644 --- a/tests/components/unifi/snapshots/test_light.ambr +++ b/tests/components/unifi/snapshots/test_light.ambr @@ -45,7 +45,7 @@ 'attributes': ReadOnlyDict({ : 204, : , - 'friendly_name': 'Device with LED LED', + : 'Device with LED LED', : tuple( 240.0, 100.0, @@ -58,7 +58,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.136, 0.04, diff --git a/tests/components/unifi/snapshots/test_sensor.ambr b/tests/components/unifi/snapshots/test_sensor.ambr index fb7734bd15d..efc258d9be8 100644 --- a/tests/components/unifi/snapshots/test_sensor.ambr +++ b/tests/components/unifi/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.device_clients-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device Clients', + : 'Device Clients', : , }), 'context': , @@ -107,8 +107,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.device_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Device State', + : 'enum', + : 'Device State', : list([ 'disconnected', 'connected', @@ -175,9 +175,9 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.device_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Device Temperature', - 'unit_of_measurement': , + : 'temperature', + : 'Device Temperature', + : , }), 'context': , 'entity_id': 'sensor.device_temperature', @@ -227,8 +227,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.device_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Device Uptime', + : 'uptime', + : 'Device Uptime', }), 'context': , 'entity_id': 'sensor.device_uptime', @@ -283,10 +283,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_ac_power_budget-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dummy USP-PDU-Pro AC power budget', + : 'power', + : 'Dummy USP-PDU-Pro AC power budget', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dummy_usp_pdu_pro_ac_power_budget', @@ -341,10 +341,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_ac_power_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dummy USP-PDU-Pro AC power consumption', + : 'power', + : 'Dummy USP-PDU-Pro AC power consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dummy_usp_pdu_pro_ac_power_consumption', @@ -396,7 +396,7 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_clients-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dummy USP-PDU-Pro Clients', + : 'Dummy USP-PDU-Pro Clients', : , }), 'context': , @@ -449,9 +449,9 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_cpu_utilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dummy USP-PDU-Pro CPU utilization', + : 'Dummy USP-PDU-Pro CPU utilization', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dummy_usp_pdu_pro_cpu_utilization', @@ -503,9 +503,9 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_memory_utilization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dummy USP-PDU-Pro Memory utilization', + : 'Dummy USP-PDU-Pro Memory utilization', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.dummy_usp_pdu_pro_memory_utilization', @@ -560,10 +560,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_outlet_2_outlet_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Dummy USP-PDU-Pro Outlet 2 outlet power', + : 'power', + : 'Dummy USP-PDU-Pro Outlet 2 outlet power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dummy_usp_pdu_pro_outlet_2_outlet_power', @@ -628,8 +628,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dummy USP-PDU-Pro State', + : 'enum', + : 'Dummy USP-PDU-Pro State', : list([ 'disconnected', 'connected', @@ -693,8 +693,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.dummy_usp_pdu_pro_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Dummy USP-PDU-Pro Uptime', + : 'uptime', + : 'Dummy USP-PDU-Pro Uptime', }), 'context': , 'entity_id': 'sensor.dummy_usp_pdu_pro_uptime', @@ -746,7 +746,7 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_clients-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'mock-name Clients', + : 'mock-name Clients', : , }), 'context': , @@ -802,10 +802,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_cloudflare_wan2_latency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'mock-name Cloudflare WAN2 latency', + : 'duration', + : 'mock-name Cloudflare WAN2 latency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_cloudflare_wan2_latency', @@ -860,10 +860,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_cloudflare_wan_latency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'mock-name Cloudflare WAN latency', + : 'duration', + : 'mock-name Cloudflare WAN latency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_cloudflare_wan_latency', @@ -918,10 +918,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_google_wan2_latency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'mock-name Google WAN2 latency', + : 'duration', + : 'mock-name Google WAN2 latency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_google_wan2_latency', @@ -976,10 +976,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_google_wan_latency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'mock-name Google WAN latency', + : 'duration', + : 'mock-name Google WAN latency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_google_wan_latency', @@ -1034,10 +1034,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_microsoft_wan2_latency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'mock-name Microsoft WAN2 latency', + : 'duration', + : 'mock-name Microsoft WAN2 latency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_microsoft_wan2_latency', @@ -1092,10 +1092,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_microsoft_wan_latency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'mock-name Microsoft WAN latency', + : 'duration', + : 'mock-name Microsoft WAN latency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_microsoft_wan_latency', @@ -1150,10 +1150,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_1_poe_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'mock-name Port 1 PoE power', + : 'power', + : 'mock-name Port 1 PoE power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_1_poe_power', @@ -1211,10 +1211,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_1_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 1 RX', + : 'data_rate', + : 'mock-name Port 1 RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_1_rx', @@ -1272,10 +1272,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_1_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 1 TX', + : 'data_rate', + : 'mock-name Port 1 TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_1_tx', @@ -1330,10 +1330,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_2_poe_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'mock-name Port 2 PoE power', + : 'power', + : 'mock-name Port 2 PoE power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_2_poe_power', @@ -1391,10 +1391,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_2_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 2 RX', + : 'data_rate', + : 'mock-name Port 2 RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_2_rx', @@ -1452,10 +1452,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_2_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 2 TX', + : 'data_rate', + : 'mock-name Port 2 TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_2_tx', @@ -1513,10 +1513,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_3_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 3 RX', + : 'data_rate', + : 'mock-name Port 3 RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_3_rx', @@ -1574,10 +1574,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_3_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 3 TX', + : 'data_rate', + : 'mock-name Port 3 TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_3_tx', @@ -1632,10 +1632,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_4_poe_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'mock-name Port 4 PoE power', + : 'power', + : 'mock-name Port 4 PoE power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_4_poe_power', @@ -1693,10 +1693,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_4_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 4 RX', + : 'data_rate', + : 'mock-name Port 4 RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_4_rx', @@ -1754,10 +1754,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_port_4_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'mock-name Port 4 TX', + : 'data_rate', + : 'mock-name Port 4 TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.mock_name_port_4_tx', @@ -1822,8 +1822,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'mock-name State', + : 'enum', + : 'mock-name State', : list([ 'disconnected', 'connected', @@ -1887,8 +1887,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.mock_name_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'mock-name Uptime', + : 'uptime', + : 'mock-name Uptime', }), 'context': , 'entity_id': 'sensor.mock_name_uptime', @@ -1940,7 +1940,7 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.ssid_1_clients-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SSID 1 Clients', + : 'SSID 1 Clients', : , }), 'context': , @@ -1996,10 +1996,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.wired_client_link_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Wired client Link speed', + : 'data_rate', + : 'Wired client Link speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wired_client_link_speed', @@ -2054,10 +2054,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.wired_client_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Wired client RX', + : 'data_rate', + : 'Wired client RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wired_client_rx', @@ -2112,10 +2112,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.wired_client_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Wired client TX', + : 'data_rate', + : 'Wired client TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wired_client_tx', @@ -2165,8 +2165,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.wired_client_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Wired client Uptime', + : 'uptime', + : 'Wired client Uptime', }), 'context': , 'entity_id': 'sensor.wired_client_uptime', @@ -2221,10 +2221,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.wireless_client_rx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Wireless client RX', + : 'data_rate', + : 'Wireless client RX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wireless_client_rx', @@ -2279,10 +2279,10 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.wireless_client_tx-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_rate', - 'friendly_name': 'Wireless client TX', + : 'data_rate', + : 'Wireless client TX', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wireless_client_tx', @@ -2332,8 +2332,8 @@ # name: test_entity_and_device_data[wlan_payload0-device_payload0-client_payload0-config_entry_options0][sensor.wireless_client_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Wireless client Uptime', + : 'uptime', + : 'Wireless client Uptime', }), 'context': , 'entity_id': 'sensor.wireless_client_uptime', diff --git a/tests/components/unifi/snapshots/test_switch.ambr b/tests/components/unifi/snapshots/test_switch.ambr index d40df72fb60..68f01838ea4 100644 --- a/tests/components/unifi/snapshots/test_switch.ambr +++ b/tests/components/unifi/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.block_client_1_blocked-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Block Client 1 Blocked', + : 'switch', + : 'Block Client 1 Blocked', }), 'context': , 'entity_id': 'switch.block_client_1_blocked', @@ -90,8 +90,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.dummy_usp_pdu_pro_outlet_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Dummy USP-PDU-Pro Outlet 2', + : 'outlet', + : 'Dummy USP-PDU-Pro Outlet 2', }), 'context': , 'entity_id': 'switch.dummy_usp_pdu_pro_outlet_2', @@ -141,8 +141,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.dummy_usp_pdu_pro_usb_outlet_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Dummy USP-PDU-Pro USB Outlet 1', + : 'outlet', + : 'Dummy USP-PDU-Pro USB Outlet 1', }), 'context': , 'entity_id': 'switch.dummy_usp_pdu_pro_usb_outlet_1', @@ -192,8 +192,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.mock_name_port_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'mock-name Port 1', + : 'switch', + : 'mock-name Port 1', }), 'context': , 'entity_id': 'switch.mock_name_port_1', @@ -243,8 +243,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.mock_name_port_1_poe-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'mock-name Port 1 PoE', + : 'outlet', + : 'mock-name Port 1 PoE', }), 'context': , 'entity_id': 'switch.mock_name_port_1_poe', @@ -294,8 +294,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.mock_name_port_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'mock-name Port 2', + : 'switch', + : 'mock-name Port 2', }), 'context': , 'entity_id': 'switch.mock_name_port_2', @@ -345,8 +345,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.mock_name_port_2_poe-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'mock-name Port 2 PoE', + : 'outlet', + : 'mock-name Port 2 PoE', }), 'context': , 'entity_id': 'switch.mock_name_port_2_poe', @@ -396,8 +396,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.mock_name_port_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'mock-name Port 3', + : 'switch', + : 'mock-name Port 3', }), 'context': , 'entity_id': 'switch.mock_name_port_3', @@ -447,8 +447,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.mock_name_port_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'mock-name Port 4', + : 'switch', + : 'mock-name Port 4', }), 'context': , 'entity_id': 'switch.mock_name_port_4', @@ -498,8 +498,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.mock_name_port_4_poe-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'mock-name Port 4 PoE', + : 'outlet', + : 'mock-name Port 4 PoE', }), 'context': , 'entity_id': 'switch.mock_name_port_4_poe', @@ -549,8 +549,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.plug_outlet_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Plug Outlet 1', + : 'outlet', + : 'Plug Outlet 1', }), 'context': , 'entity_id': 'switch.plug_outlet_1', @@ -600,8 +600,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.ssid_1_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'SSID 1 Enabled', + : 'switch', + : 'SSID 1 Enabled', }), 'context': , 'entity_id': 'switch.ssid_1_enabled', @@ -651,7 +651,7 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.unifi_network_block_media_streaming-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'UniFi Network Block Media Streaming', + : 'UniFi Network Block Media Streaming', }), 'context': , 'entity_id': 'switch.unifi_network_block_media_streaming', @@ -701,8 +701,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.unifi_network_plex-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'UniFi Network plex', + : 'switch', + : 'UniFi Network plex', }), 'context': , 'entity_id': 'switch.unifi_network_plex', @@ -752,8 +752,8 @@ # name: test_entity_and_device_data[site_payload0-wlan_payload0-traffic_rule_payload0-port_forward_payload0-dpi_group_payload0-dpi_app_payload0-device_payload0-client_payload0-config_entry_options0][switch.unifi_network_test_traffic_rule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'UniFi Network Test Traffic Rule', + : 'switch', + : 'UniFi Network Test Traffic Rule', }), 'context': , 'entity_id': 'switch.unifi_network_test_traffic_rule', diff --git a/tests/components/unifi/snapshots/test_update.ambr b/tests/components/unifi/snapshots/test_update.ambr index 904feaaf6e7..e6c64f5691b 100644 --- a/tests/components/unifi/snapshots/test_update.ambr +++ b/tests/components/unifi/snapshots/test_update.ambr @@ -40,17 +40,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/unifi/icon.png', - 'friendly_name': 'Device 1 Firmware', + : '/api/brands/integration/unifi/icon.png', + : 'Device 1 Firmware', : False, : '4.0.42.10433', : '4.3.17.11279', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -103,17 +103,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/unifi/icon.png', - 'friendly_name': 'Device 2 Firmware', + : '/api/brands/integration/unifi/icon.png', + : 'Device 2 Firmware', : False, : '4.0.42.10433', : '4.0.42.10433', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -166,17 +166,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/unifi/icon.png', - 'friendly_name': 'Device 1 Firmware', + : '/api/brands/integration/unifi/icon.png', + : 'Device 1 Firmware', : False, : '4.0.42.10433', : '4.3.17.11279', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -229,17 +229,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/unifi/icon.png', - 'friendly_name': 'Device 2 Firmware', + : '/api/brands/integration/unifi/icon.png', + : 'Device 2 Firmware', : False, : '4.0.42.10433', : '4.0.42.10433', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/unifi_access/snapshots/test_binary_sensor.ambr b/tests/components/unifi_access/snapshots/test_binary_sensor.ambr index cf81d7530a9..d59fe53ba16 100644 --- a/tests/components/unifi_access/snapshots/test_binary_sensor.ambr +++ b/tests/components/unifi_access/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor_entities[binary_sensor.back_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Back Door', + : 'door', + : 'Back Door', }), 'context': , 'entity_id': 'binary_sensor.back_door', @@ -90,8 +90,8 @@ # name: test_binary_sensor_entities[binary_sensor.front_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Front Door', + : 'door', + : 'Front Door', }), 'context': , 'entity_id': 'binary_sensor.front_door', diff --git a/tests/components/unifi_access/snapshots/test_button.ambr b/tests/components/unifi_access/snapshots/test_button.ambr index 81bc834ca7d..dea58360c8e 100644 --- a/tests/components/unifi_access/snapshots/test_button.ambr +++ b/tests/components/unifi_access/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button_entities[button.back_door_unlock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Back Door Unlock', + : 'Back Door Unlock', }), 'context': , 'entity_id': 'button.back_door_unlock', @@ -89,7 +89,7 @@ # name: test_button_entities[button.front_door_unlock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Unlock', + : 'Front Door Unlock', }), 'context': , 'entity_id': 'button.front_door_unlock', diff --git a/tests/components/unifi_access/snapshots/test_event.ambr b/tests/components/unifi_access/snapshots/test_event.ambr index c6632a0f9f6..e2b6e462d05 100644 --- a/tests/components/unifi_access/snapshots/test_event.ambr +++ b/tests/components/unifi_access/snapshots/test_event.ambr @@ -49,7 +49,7 @@ 'access_granted', 'access_denied', ]), - 'friendly_name': 'Back Door Access', + : 'Back Door Access', }), 'context': , 'entity_id': 'event.back_door_access', @@ -103,12 +103,12 @@ # name: test_event_entities[event.back_door_doorbell-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : None, : list([ , ]), - 'friendly_name': 'Back Door Doorbell', + : 'Back Door Doorbell', }), 'context': , 'entity_id': 'event.back_door_doorbell', @@ -168,7 +168,7 @@ 'access_granted', 'access_denied', ]), - 'friendly_name': 'Front Door Access', + : 'Front Door Access', }), 'context': , 'entity_id': 'event.front_door_access', @@ -222,12 +222,12 @@ # name: test_event_entities[event.front_door_doorbell-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'doorbell', + : 'doorbell', : None, : list([ , ]), - 'friendly_name': 'Front Door Doorbell', + : 'Front Door Doorbell', }), 'context': , 'entity_id': 'event.front_door_doorbell', diff --git a/tests/components/unifi_access/snapshots/test_image.ambr b/tests/components/unifi_access/snapshots/test_image.ambr index d8bc0c219c7..3a73fa9368b 100644 --- a/tests/components/unifi_access/snapshots/test_image.ambr +++ b/tests/components/unifi_access/snapshots/test_image.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.front_door_thumbnail?token=1', - 'friendly_name': 'Front Door Thumbnail', + : '/api/image_proxy/image.front_door_thumbnail?token=1', + : 'Front Door Thumbnail', }), 'context': , 'entity_id': 'image.front_door_thumbnail', diff --git a/tests/components/unifi_access/snapshots/test_select.ambr b/tests/components/unifi_access/snapshots/test_select.ambr index 7f2c2517049..5080377860c 100644 --- a/tests/components/unifi_access/snapshots/test_select.ambr +++ b/tests/components/unifi_access/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_select_entities[select.back_door_lock_rule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Back Door Lock rule', + : 'Back Door Lock rule', : list([ 'keep_lock', 'keep_unlock', @@ -109,7 +109,7 @@ # name: test_select_entities[select.front_door_lock_rule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Lock rule', + : 'Front Door Lock rule', : list([ 'keep_lock', 'keep_unlock', diff --git a/tests/components/unifi_access/snapshots/test_sensor.ambr b/tests/components/unifi_access/snapshots/test_sensor.ambr index ff0a0416a02..f3a7fbf1410 100644 --- a/tests/components/unifi_access/snapshots/test_sensor.ambr +++ b/tests/components/unifi_access/snapshots/test_sensor.ambr @@ -49,8 +49,8 @@ # name: test_sensor_entities[sensor.back_door_lock_rule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Back Door Lock rule', + : 'enum', + : 'Back Door Lock rule', : list([ 'schedule', 'keep_lock', @@ -109,8 +109,8 @@ # name: test_sensor_entities[sensor.back_door_rule_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Back Door Rule end time', + : 'timestamp', + : 'Back Door Rule end time', }), 'context': , 'entity_id': 'sensor.back_door_rule_end_time', @@ -170,8 +170,8 @@ # name: test_sensor_entities[sensor.front_door_lock_rule-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Front Door Lock rule', + : 'enum', + : 'Front Door Lock rule', : list([ 'schedule', 'keep_lock', @@ -230,8 +230,8 @@ # name: test_sensor_entities[sensor.front_door_rule_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Front Door Rule end time', + : 'timestamp', + : 'Front Door Rule end time', }), 'context': , 'entity_id': 'sensor.front_door_rule_end_time', diff --git a/tests/components/unifi_access/snapshots/test_switch.ambr b/tests/components/unifi_access/snapshots/test_switch.ambr index ff9561bd9b6..5abd91c41d0 100644 --- a/tests/components/unifi_access/snapshots/test_switch.ambr +++ b/tests/components/unifi_access/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_entities[switch.unifi_access_evacuation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'UniFi Access Evacuation', + : 'UniFi Access Evacuation', }), 'context': , 'entity_id': 'switch.unifi_access_evacuation', @@ -89,7 +89,7 @@ # name: test_switch_entities[switch.unifi_access_lockdown-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'UniFi Access Lockdown', + : 'UniFi Access Lockdown', }), 'context': , 'entity_id': 'switch.unifi_access_lockdown', diff --git a/tests/components/uptime/snapshots/test_sensor.ambr b/tests/components/uptime/snapshots/test_sensor.ambr index f554e386222..0ac1ec00727 100644 --- a/tests/components/uptime/snapshots/test_sensor.ambr +++ b/tests/components/uptime/snapshots/test_sensor.ambr @@ -2,8 +2,8 @@ # name: test_uptime_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Uptime', + : 'uptime', + : 'Uptime', }), 'context': , 'entity_id': 'sensor.uptime', diff --git a/tests/components/uptime_kuma/snapshots/test_sensor.ambr b/tests/components/uptime_kuma/snapshots/test_sensor.ambr index 72bc74e1b61..bad07828cb9 100644 --- a/tests/components/uptime_kuma/snapshots/test_sensor.ambr +++ b/tests/components/uptime_kuma/snapshots/test_sensor.ambr @@ -42,9 +42,9 @@ # name: test_setup[sensor.monitor_1_certificate_expiry-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 1 Certificate expiry', - 'unit_of_measurement': , + : 'duration', + : 'Monitor 1 Certificate expiry', + : , }), 'context': , 'entity_id': 'sensor.monitor_1_certificate_expiry', @@ -129,8 +129,8 @@ # name: test_setup[sensor.monitor_1_monitor_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Monitor 1 Monitor type', + : 'enum', + : 'Monitor 1 Monitor type', : list([ 'http', 'keyword', @@ -214,7 +214,7 @@ # name: test_setup[sensor.monitor_1_monitored_url-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 1 Monitored URL', + : 'Monitor 1 Monitored URL', }), 'context': , 'entity_id': 'sensor.monitor_1_monitored_url', @@ -269,10 +269,10 @@ # name: test_setup[sensor.monitor_1_response_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 1 Response time', + : 'duration', + : 'Monitor 1 Response time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_1_response_time', @@ -330,10 +330,10 @@ # name: test_setup[sensor.monitor_1_response_time_o_1_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 1 Response time Ø (1 day)', + : 'duration', + : 'Monitor 1 Response time Ø (1 day)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_1_response_time_o_1_day', @@ -391,10 +391,10 @@ # name: test_setup[sensor.monitor_1_response_time_o_30_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 1 Response time Ø (30 days)', + : 'duration', + : 'Monitor 1 Response time Ø (30 days)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_1_response_time_o_30_days', @@ -452,10 +452,10 @@ # name: test_setup[sensor.monitor_1_response_time_o_365_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 1 Response time Ø (365 days)', + : 'duration', + : 'Monitor 1 Response time Ø (365 days)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_1_response_time_o_365_days', @@ -512,8 +512,8 @@ # name: test_setup[sensor.monitor_1_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Monitor 1 Status', + : 'enum', + : 'Monitor 1 Status', : list([ 'down', 'up', @@ -569,12 +569,12 @@ # name: test_setup[sensor.monitor_1_tags-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 1 Tags', + : 'Monitor 1 Tags', 'tags': list([ 'tag1', 'tag2:value', ]), - 'unit_of_measurement': 'tags', + : 'tags', }), 'context': , 'entity_id': 'sensor.monitor_1_tags', @@ -629,9 +629,9 @@ # name: test_setup[sensor.monitor_1_uptime_1_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 1 Uptime (1 day)', + : 'Monitor 1 Uptime (1 day)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_1_uptime_1_day', @@ -686,9 +686,9 @@ # name: test_setup[sensor.monitor_1_uptime_30_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 1 Uptime (30 days)', + : 'Monitor 1 Uptime (30 days)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_1_uptime_30_days', @@ -743,9 +743,9 @@ # name: test_setup[sensor.monitor_1_uptime_365_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 1 Uptime (365 days)', + : 'Monitor 1 Uptime (365 days)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_1_uptime_365_days', @@ -830,8 +830,8 @@ # name: test_setup[sensor.monitor_2_monitor_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Monitor 2 Monitor type', + : 'enum', + : 'Monitor 2 Monitor type', : list([ 'http', 'keyword', @@ -915,7 +915,7 @@ # name: test_setup[sensor.monitor_2_monitored_hostname-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 2 Monitored hostname', + : 'Monitor 2 Monitored hostname', }), 'context': , 'entity_id': 'sensor.monitor_2_monitored_hostname', @@ -965,7 +965,7 @@ # name: test_setup[sensor.monitor_2_monitored_port-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 2 Monitored port', + : 'Monitor 2 Monitored port', }), 'context': , 'entity_id': 'sensor.monitor_2_monitored_port', @@ -1020,10 +1020,10 @@ # name: test_setup[sensor.monitor_2_response_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 2 Response time', + : 'duration', + : 'Monitor 2 Response time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_2_response_time', @@ -1081,10 +1081,10 @@ # name: test_setup[sensor.monitor_2_response_time_o_1_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 2 Response time Ø (1 day)', + : 'duration', + : 'Monitor 2 Response time Ø (1 day)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_2_response_time_o_1_day', @@ -1142,10 +1142,10 @@ # name: test_setup[sensor.monitor_2_response_time_o_30_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 2 Response time Ø (30 days)', + : 'duration', + : 'Monitor 2 Response time Ø (30 days)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_2_response_time_o_30_days', @@ -1203,10 +1203,10 @@ # name: test_setup[sensor.monitor_2_response_time_o_365_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 2 Response time Ø (365 days)', + : 'duration', + : 'Monitor 2 Response time Ø (365 days)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_2_response_time_o_365_days', @@ -1263,8 +1263,8 @@ # name: test_setup[sensor.monitor_2_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Monitor 2 Status', + : 'enum', + : 'Monitor 2 Status', : list([ 'down', 'up', @@ -1320,12 +1320,12 @@ # name: test_setup[sensor.monitor_2_tags-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 2 Tags', + : 'Monitor 2 Tags', 'tags': list([ 'tag1', 'tag2:value', ]), - 'unit_of_measurement': 'tags', + : 'tags', }), 'context': , 'entity_id': 'sensor.monitor_2_tags', @@ -1380,9 +1380,9 @@ # name: test_setup[sensor.monitor_2_uptime_1_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 2 Uptime (1 day)', + : 'Monitor 2 Uptime (1 day)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_2_uptime_1_day', @@ -1437,9 +1437,9 @@ # name: test_setup[sensor.monitor_2_uptime_30_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 2 Uptime (30 days)', + : 'Monitor 2 Uptime (30 days)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_2_uptime_30_days', @@ -1494,9 +1494,9 @@ # name: test_setup[sensor.monitor_2_uptime_365_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 2 Uptime (365 days)', + : 'Monitor 2 Uptime (365 days)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_2_uptime_365_days', @@ -1549,9 +1549,9 @@ # name: test_setup[sensor.monitor_3_certificate_expiry-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 3 Certificate expiry', - 'unit_of_measurement': , + : 'duration', + : 'Monitor 3 Certificate expiry', + : , }), 'context': , 'entity_id': 'sensor.monitor_3_certificate_expiry', @@ -1636,8 +1636,8 @@ # name: test_setup[sensor.monitor_3_monitor_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Monitor 3 Monitor type', + : 'enum', + : 'Monitor 3 Monitor type', : list([ 'http', 'keyword', @@ -1721,7 +1721,7 @@ # name: test_setup[sensor.monitor_3_monitored_url-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 3 Monitored URL', + : 'Monitor 3 Monitored URL', }), 'context': , 'entity_id': 'sensor.monitor_3_monitored_url', @@ -1776,10 +1776,10 @@ # name: test_setup[sensor.monitor_3_response_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 3 Response time', + : 'duration', + : 'Monitor 3 Response time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_3_response_time', @@ -1837,10 +1837,10 @@ # name: test_setup[sensor.monitor_3_response_time_o_1_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 3 Response time Ø (1 day)', + : 'duration', + : 'Monitor 3 Response time Ø (1 day)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_3_response_time_o_1_day', @@ -1898,10 +1898,10 @@ # name: test_setup[sensor.monitor_3_response_time_o_30_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 3 Response time Ø (30 days)', + : 'duration', + : 'Monitor 3 Response time Ø (30 days)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_3_response_time_o_30_days', @@ -1959,10 +1959,10 @@ # name: test_setup[sensor.monitor_3_response_time_o_365_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Monitor 3 Response time Ø (365 days)', + : 'duration', + : 'Monitor 3 Response time Ø (365 days)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.monitor_3_response_time_o_365_days', @@ -2019,8 +2019,8 @@ # name: test_setup[sensor.monitor_3_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Monitor 3 Status', + : 'enum', + : 'Monitor 3 Status', : list([ 'down', 'up', @@ -2076,9 +2076,9 @@ # name: test_setup[sensor.monitor_3_tags-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 3 Tags', + : 'Monitor 3 Tags', 'tags': None, - 'unit_of_measurement': 'tags', + : 'tags', }), 'context': , 'entity_id': 'sensor.monitor_3_tags', @@ -2133,9 +2133,9 @@ # name: test_setup[sensor.monitor_3_uptime_1_day-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 3 Uptime (1 day)', + : 'Monitor 3 Uptime (1 day)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_3_uptime_1_day', @@ -2190,9 +2190,9 @@ # name: test_setup[sensor.monitor_3_uptime_30_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 3 Uptime (30 days)', + : 'Monitor 3 Uptime (30 days)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_3_uptime_30_days', @@ -2247,9 +2247,9 @@ # name: test_setup[sensor.monitor_3_uptime_365_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Monitor 3 Uptime (365 days)', + : 'Monitor 3 Uptime (365 days)', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.monitor_3_uptime_365_days', diff --git a/tests/components/uptime_kuma/snapshots/test_update.ambr b/tests/components/uptime_kuma/snapshots/test_update.ambr index f6438371650..6ec4b8cceee 100644 --- a/tests/components/uptime_kuma/snapshots/test_update.ambr +++ b/tests/components/uptime_kuma/snapshots/test_update.ambr @@ -41,15 +41,15 @@ 'attributes': ReadOnlyDict({ : False, : 0, - 'entity_picture': '/api/brands/integration/uptime_kuma/icon.png', - 'friendly_name': 'uptime.example.org Uptime Kuma version', + : '/api/brands/integration/uptime_kuma/icon.png', + : 'uptime.example.org Uptime Kuma version', : False, : '2.0.0', : '2.0.1', : None, : 'https://github.com/louislam/uptime-kuma/releases/tag/2.0.1', : None, - 'supported_features': , + : , : 'Uptime Kuma 2.0.1', : None, }), diff --git a/tests/components/v2c/snapshots/test_light.ambr b/tests/components/v2c/snapshots/test_light.ambr index c47bb60c73e..dd6a4f20eb5 100644 --- a/tests/components/v2c/snapshots/test_light.ambr +++ b/tests/components/v2c/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'EVSE 1.1.1.1 Light LED', + : 'EVSE 1.1.1.1 Light LED', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.evse_1_1_1_1_light_led', @@ -104,11 +104,11 @@ 'attributes': ReadOnlyDict({ : 192, : , - 'friendly_name': 'EVSE 1.1.1.1 Logo LED', + : 'EVSE 1.1.1.1 Logo LED', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.evse_1_1_1_1_logo_led', diff --git a/tests/components/v2c/snapshots/test_number.ambr b/tests/components/v2c/snapshots/test_number.ambr index 5846a1fa1f8..59812c21d5a 100644 --- a/tests/components/v2c/snapshots/test_number.ambr +++ b/tests/components/v2c/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_number[number.evse_1_1_1_1_installation_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'EVSE 1.1.1.1 Installation voltage', + : 'voltage', + : 'EVSE 1.1.1.1 Installation voltage', : 500, : 1, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.evse_1_1_1_1_installation_voltage', @@ -105,13 +105,13 @@ # name: test_number[number.evse_1_1_1_1_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'EVSE 1.1.1.1 Intensity', + : 'current', + : 'EVSE 1.1.1.1 Intensity', : 32, : 6, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.evse_1_1_1_1_intensity', @@ -166,13 +166,13 @@ # name: test_number[number.evse_1_1_1_1_max_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'EVSE 1.1.1.1 Max intensity', + : 'current', + : 'EVSE 1.1.1.1 Max intensity', : 32, : 6, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.evse_1_1_1_1_max_intensity', @@ -227,13 +227,13 @@ # name: test_number[number.evse_1_1_1_1_min_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'EVSE 1.1.1.1 Min intensity', + : 'current', + : 'EVSE 1.1.1.1 Min intensity', : 32, : 6, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.evse_1_1_1_1_min_intensity', diff --git a/tests/components/v2c/snapshots/test_sensor.ambr b/tests/components/v2c/snapshots/test_sensor.ambr index 027c0cc92fc..0a7e9d87afc 100644 --- a/tests/components/v2c/snapshots/test_sensor.ambr +++ b/tests/components/v2c/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[sensor.evse_1_1_1_1_battery_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EVSE 1.1.1.1 Battery power', + : 'power', + : 'EVSE 1.1.1.1 Battery power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_battery_power', @@ -102,10 +102,10 @@ # name: test_sensor[sensor.evse_1_1_1_1_charge_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'EVSE 1.1.1.1 Charge energy', + : 'energy', + : 'EVSE 1.1.1.1 Charge energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_charge_energy', @@ -160,10 +160,10 @@ # name: test_sensor[sensor.evse_1_1_1_1_charge_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EVSE 1.1.1.1 Charge power', + : 'power', + : 'EVSE 1.1.1.1 Charge power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_charge_power', @@ -218,10 +218,10 @@ # name: test_sensor[sensor.evse_1_1_1_1_charge_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'EVSE 1.1.1.1 Charge time', + : 'duration', + : 'EVSE 1.1.1.1 Charge time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_charge_time', @@ -276,10 +276,10 @@ # name: test_sensor[sensor.evse_1_1_1_1_house_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EVSE 1.1.1.1 House power', + : 'power', + : 'EVSE 1.1.1.1 House power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_house_power', @@ -329,7 +329,7 @@ # name: test_sensor[sensor.evse_1_1_1_1_ip_address-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'EVSE 1.1.1.1 IP address', + : 'EVSE 1.1.1.1 IP address', }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_ip_address', @@ -417,8 +417,8 @@ # name: test_sensor[sensor.evse_1_1_1_1_meter_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'EVSE 1.1.1.1 Meter error', + : 'enum', + : 'EVSE 1.1.1.1 Meter error', : list([ 'no_error', 'communication', @@ -510,10 +510,10 @@ # name: test_sensor[sensor.evse_1_1_1_1_photovoltaic_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'EVSE 1.1.1.1 Photovoltaic power', + : 'power', + : 'EVSE 1.1.1.1 Photovoltaic power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_photovoltaic_power', @@ -565,7 +565,7 @@ # name: test_sensor[sensor.evse_1_1_1_1_signal_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'EVSE 1.1.1.1 Signal status', + : 'EVSE 1.1.1.1 Signal status', : , }), 'context': , @@ -616,7 +616,7 @@ # name: test_sensor[sensor.evse_1_1_1_1_ssid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'EVSE 1.1.1.1 SSID', + : 'EVSE 1.1.1.1 SSID', }), 'context': , 'entity_id': 'sensor.evse_1_1_1_1_ssid', diff --git a/tests/components/valve/snapshots/test_init.ambr b/tests/components/valve/snapshots/test_init.ambr index e0deea1ab6e..cb2ef76f060 100644 --- a/tests/components/valve/snapshots/test_init.ambr +++ b/tests/components/valve/snapshots/test_init.ambr @@ -2,9 +2,9 @@ # name: test_valve_setup StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Valve', + : 'Valve', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.valve', @@ -18,9 +18,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50, - 'friendly_name': 'Valve', + : 'Valve', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.valve_2', @@ -33,9 +33,9 @@ # name: test_valve_setup.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Valve', - 'restored': True, - 'supported_features': , + : 'Valve', + : True, + : , }), 'context': , 'entity_id': 'valve.valve', @@ -48,9 +48,9 @@ # name: test_valve_setup.3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Valve', - 'restored': True, - 'supported_features': , + : 'Valve', + : True, + : , }), 'context': , 'entity_id': 'valve.valve_2', diff --git a/tests/components/vegehub/snapshots/test_sensor.ambr b/tests/components/vegehub/snapshots/test_sensor.ambr index c8331f896e2..d0698c475f8 100644 --- a/tests/components/vegehub/snapshots/test_sensor.ambr +++ b/tests/components/vegehub/snapshots/test_sensor.ambr @@ -42,9 +42,9 @@ # name: test_sensor_entities[sensor.vegehub_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'VegeHub Battery voltage', - 'unit_of_measurement': , + : 'voltage', + : 'VegeHub Battery voltage', + : , }), 'context': , 'entity_id': 'sensor.vegehub_battery_voltage', @@ -97,9 +97,9 @@ # name: test_sensor_entities[sensor.vegehub_input_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'VegeHub Input 1', - 'unit_of_measurement': , + : 'voltage', + : 'VegeHub Input 1', + : , }), 'context': , 'entity_id': 'sensor.vegehub_input_1', @@ -152,9 +152,9 @@ # name: test_sensor_entities[sensor.vegehub_input_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'VegeHub Input 2', - 'unit_of_measurement': , + : 'voltage', + : 'VegeHub Input 2', + : , }), 'context': , 'entity_id': 'sensor.vegehub_input_2', @@ -207,9 +207,9 @@ # name: test_sensor_entities[sensor.vegehub_input_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'VegeHub Input 3', - 'unit_of_measurement': , + : 'voltage', + : 'VegeHub Input 3', + : , }), 'context': , 'entity_id': 'sensor.vegehub_input_3', @@ -262,9 +262,9 @@ # name: test_sensor_entities[sensor.vegehub_input_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'VegeHub Input 4', - 'unit_of_measurement': , + : 'voltage', + : 'VegeHub Input 4', + : , }), 'context': , 'entity_id': 'sensor.vegehub_input_4', diff --git a/tests/components/vegehub/snapshots/test_switch.ambr b/tests/components/vegehub/snapshots/test_switch.ambr index 10311f82834..a4bdce31956 100644 --- a/tests/components/vegehub/snapshots/test_switch.ambr +++ b/tests/components/vegehub/snapshots/test_switch.ambr @@ -39,8 +39,8 @@ # name: test_switch_entities[switch.vegehub_actuator_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'VegeHub Actuator 1', + : 'switch', + : 'VegeHub Actuator 1', }), 'context': , 'entity_id': 'switch.vegehub_actuator_1', @@ -90,8 +90,8 @@ # name: test_switch_entities[switch.vegehub_actuator_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'VegeHub Actuator 2', + : 'switch', + : 'VegeHub Actuator 2', }), 'context': , 'entity_id': 'switch.vegehub_actuator_2', diff --git a/tests/components/velbus/snapshots/test_binary_sensor.ambr b/tests/components/velbus/snapshots/test_binary_sensor.ambr index 580ee715b87..89d3dd7ae51 100644 --- a/tests/components/velbus/snapshots/test_binary_sensor.ambr +++ b/tests/components/velbus/snapshots/test_binary_sensor.ambr @@ -39,7 +39,7 @@ # name: test_entities[binary_sensor.bedroom_kid_1_buttonon-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom kid 1 ButtonOn', + : 'Bedroom kid 1 ButtonOn', }), 'context': , 'entity_id': 'binary_sensor.bedroom_kid_1_buttonon', diff --git a/tests/components/velbus/snapshots/test_button.ambr b/tests/components/velbus/snapshots/test_button.ambr index 75b38d28453..84fdf427b40 100644 --- a/tests/components/velbus/snapshots/test_button.ambr +++ b/tests/components/velbus/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_entities[button.bedroom_kid_1_buttonon-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Bedroom kid 1 ButtonOn', + : 'Bedroom kid 1 ButtonOn', }), 'context': , 'entity_id': 'button.bedroom_kid_1_buttonon', diff --git a/tests/components/velbus/snapshots/test_climate.ambr b/tests/components/velbus/snapshots/test_climate.ambr index 317cea71bf4..dd95ab21044 100644 --- a/tests/components/velbus/snapshots/test_climate.ambr +++ b/tests/components/velbus/snapshots/test_climate.ambr @@ -53,7 +53,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.0, - 'friendly_name': 'Living room Temperature', + : 'Living room Temperature', : list([ , , @@ -67,7 +67,7 @@ 'home', 'comfort', ]), - 'supported_features': , + : , : 21.0, }), 'context': , diff --git a/tests/components/velbus/snapshots/test_cover.ambr b/tests/components/velbus/snapshots/test_cover.ambr index a2ee29ce5d0..4d8f7640b0b 100644 --- a/tests/components/velbus/snapshots/test_cover.ambr +++ b/tests/components/velbus/snapshots/test_cover.ambr @@ -40,9 +40,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 50, - 'friendly_name': 'Basement CoverName', + : 'Basement CoverName', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.basement_covername', @@ -92,10 +92,10 @@ # name: test_entities[cover.basement_covernamenopos-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'assumed_state': True, - 'friendly_name': 'Basement CoverNameNoPos', + : True, + : 'Basement CoverNameNoPos', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.basement_covernamenopos', diff --git a/tests/components/velbus/snapshots/test_light.ambr b/tests/components/velbus/snapshots/test_light.ambr index 164c2f7d059..483473455e4 100644 --- a/tests/components/velbus/snapshots/test_light.ambr +++ b/tests/components/velbus/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Bedroom kid 1 LED ButtonOn', + : 'Bedroom kid 1 LED ButtonOn', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.bedroom_kid_1_led_buttonon', @@ -104,11 +104,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Dimmer full name Dimmer', + : 'Dimmer full name Dimmer', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmer_full_name_dimmer', diff --git a/tests/components/velbus/snapshots/test_select.ambr b/tests/components/velbus/snapshots/test_select.ambr index e28b2f93db3..d7bb0ed05b4 100644 --- a/tests/components/velbus/snapshots/test_select.ambr +++ b/tests/components/velbus/snapshots/test_select.ambr @@ -46,7 +46,7 @@ # name: test_entities[select.kitchen_select-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Kitchen select', + : 'Kitchen select', : list([ 'none', 'summer', diff --git a/tests/components/velbus/snapshots/test_sensor.ambr b/tests/components/velbus/snapshots/test_sensor.ambr index 2a762103863..6b034623df6 100644 --- a/tests/components/velbus/snapshots/test_sensor.ambr +++ b/tests/components/velbus/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_entities[sensor.input_buttoncounter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Input ButtonCounter', + : 'power', + : 'Input ButtonCounter', : , - 'unit_of_measurement': 'W', + : 'W', }), 'context': , 'entity_id': 'sensor.input_buttoncounter', @@ -102,11 +102,11 @@ # name: test_entities[sensor.input_buttoncounter_counter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Input ButtonCounter-counter', - 'icon': 'mdi:counter', + : 'energy', + : 'Input ButtonCounter-counter', + : 'mdi:counter', : , - 'unit_of_measurement': 'kWh', + : 'kWh', }), 'context': , 'entity_id': 'sensor.input_buttoncounter_counter', @@ -158,9 +158,9 @@ # name: test_entities[sensor.input_lightsensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Input LightSensor', + : 'Input LightSensor', : , - 'unit_of_measurement': 'illuminance', + : 'illuminance', }), 'context': , 'entity_id': 'sensor.input_lightsensor', @@ -212,9 +212,9 @@ # name: test_entities[sensor.input_sensornumber-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Input SensorNumber', + : 'Input SensorNumber', : , - 'unit_of_measurement': 'm', + : 'm', }), 'context': , 'entity_id': 'sensor.input_sensornumber', @@ -269,10 +269,10 @@ # name: test_entities[sensor.living_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Living room Temperature', + : 'temperature', + : 'Living room Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.living_room_temperature', diff --git a/tests/components/velbus/snapshots/test_switch.ambr b/tests/components/velbus/snapshots/test_switch.ambr index 8a0f82a427d..1b8d166c669 100644 --- a/tests/components/velbus/snapshots/test_switch.ambr +++ b/tests/components/velbus/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.living_room_relayname-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room RelayName', + : 'Living room RelayName', }), 'context': , 'entity_id': 'switch.living_room_relayname', @@ -89,7 +89,7 @@ # name: test_switch_disabled[switch.living_room_relayname-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living room RelayName', + : 'Living room RelayName', }), 'context': , 'entity_id': 'switch.living_room_relayname', diff --git a/tests/components/velux/snapshots/test_button.ambr b/tests/components/velux/snapshots/test_button.ambr index c61be34473a..7d7a790102e 100644 --- a/tests/components/velux/snapshots/test_button.ambr +++ b/tests/components/velux/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_button_snapshot[mock_window][button.klf_200_gateway_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'KLF 200 Gateway Restart', + : 'restart', + : 'KLF 200 Gateway Restart', }), 'context': , 'entity_id': 'button.klf_200_gateway_restart', @@ -90,8 +90,8 @@ # name: test_button_snapshot[mock_window][button.test_window_identify-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'identify', - 'friendly_name': 'Test Window Identify', + : 'identify', + : 'Test Window Identify', }), 'context': , 'entity_id': 'button.test_window_identify', diff --git a/tests/components/velux/snapshots/test_cover.ambr b/tests/components/velux/snapshots/test_cover.ambr index 9f002c7891f..9c2d88de3cc 100644 --- a/tests/components/velux/snapshots/test_cover.ambr +++ b/tests/components/velux/snapshots/test_cover.ambr @@ -41,10 +41,10 @@ 'attributes': ReadOnlyDict({ : 60, : 75, - 'device_class': 'blind', - 'friendly_name': 'Test Blind', + : 'blind', + : 'Test Blind', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_blind', @@ -95,10 +95,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'awning', - 'friendly_name': 'Test Awning', + : 'awning', + : 'Test Awning', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_awning', @@ -149,10 +149,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'shutter', - 'friendly_name': 'Test DualRollerShutter', + : 'shutter', + : 'Test DualRollerShutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_dualrollershutter', @@ -203,10 +203,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'shutter', - 'friendly_name': 'Test DualRollerShutter Lower shutter', + : 'shutter', + : 'Test DualRollerShutter Lower shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_dualrollershutter_lower_shutter', @@ -257,10 +257,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'shutter', - 'friendly_name': 'Test DualRollerShutter Upper shutter', + : 'shutter', + : 'Test DualRollerShutter Upper shutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_dualrollershutter_upper_shutter', @@ -311,10 +311,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'garage', - 'friendly_name': 'Test GarageDoor', + : 'garage', + : 'Test GarageDoor', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_garagedoor', @@ -365,10 +365,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'gate', - 'friendly_name': 'Test Gate', + : 'gate', + : 'Test Gate', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_gate', @@ -419,10 +419,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'shutter', - 'friendly_name': 'Test RollerShutter', + : 'shutter', + : 'Test RollerShutter', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_rollershutter', @@ -473,10 +473,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 70, - 'device_class': 'window', - 'friendly_name': 'Test Window', + : 'window', + : 'Test Window', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_window', diff --git a/tests/components/velux/snapshots/test_light.ambr b/tests/components/velux/snapshots/test_light.ambr index c29fd17a7e8..a8763bea92d 100644 --- a/tests/components/velux/snapshots/test_light.ambr +++ b/tests/components/velux/snapshots/test_light.ambr @@ -45,11 +45,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Test Light', + : 'Test Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_light', @@ -104,11 +104,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'Test On Off Light', + : 'Test On Off Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_on_off_light', diff --git a/tests/components/velux/snapshots/test_number.ambr b/tests/components/velux/snapshots/test_number.ambr index 0ff031dc6d9..652cdc8693f 100644 --- a/tests/components/velux/snapshots/test_number.ambr +++ b/tests/components/velux/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_number_setup[number.test_exterior_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Exterior Heating', + : 'Test Exterior Heating', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.test_exterior_heating', diff --git a/tests/components/velux/snapshots/test_scene.ambr b/tests/components/velux/snapshots/test_scene.ambr index 653e2203a81..d3c2ab4b949 100644 --- a/tests/components/velux/snapshots/test_scene.ambr +++ b/tests/components/velux/snapshots/test_scene.ambr @@ -39,7 +39,7 @@ # name: test_scene_snapshot[scene.klf_200_gateway_test_scene-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'KLF 200 Gateway Test Scene', + : 'KLF 200 Gateway Test Scene', }), 'context': , 'entity_id': 'scene.klf_200_gateway_test_scene', diff --git a/tests/components/velux/snapshots/test_switch.ambr b/tests/components/velux/snapshots/test_switch.ambr index 417f575af1b..09a217432ce 100644 --- a/tests/components/velux/snapshots/test_switch.ambr +++ b/tests/components/velux/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch_setup[mock_onoff_switch][switch.test_on_off_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test On Off Switch', + : 'Test On Off Switch', }), 'context': , 'entity_id': 'switch.test_on_off_switch', diff --git a/tests/components/vesync/snapshots/test_binary_sensor.ambr b/tests/components/vesync/snapshots/test_binary_sensor.ambr index a09cbf425ca..81ab4471507 100644 --- a/tests/components/vesync/snapshots/test_binary_sensor.ambr +++ b/tests/components/vesync/snapshots/test_binary_sensor.ambr @@ -298,8 +298,8 @@ # name: test_sensor_state[Humidifier 200s][binary_sensor.humidifier_200s_low_water] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Humidifier 200s Low water', + : 'problem', + : 'Humidifier 200s Low water', }), 'context': , 'entity_id': 'binary_sensor.humidifier_200s_low_water', @@ -312,8 +312,8 @@ # name: test_sensor_state[Humidifier 200s][binary_sensor.humidifier_200s_water_tank_lifted] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Humidifier 200s Water tank lifted', + : 'problem', + : 'Humidifier 200s Water tank lifted', }), 'context': , 'entity_id': 'binary_sensor.humidifier_200s_water_tank_lifted', @@ -433,8 +433,8 @@ # name: test_sensor_state[Humidifier 6000s][binary_sensor.humidifier_6000s_low_water] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Humidifier 6000s Low water', + : 'problem', + : 'Humidifier 6000s Low water', }), 'context': , 'entity_id': 'binary_sensor.humidifier_6000s_low_water', @@ -447,8 +447,8 @@ # name: test_sensor_state[Humidifier 6000s][binary_sensor.humidifier_6000s_water_tank_lifted] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Humidifier 6000s Water tank lifted', + : 'problem', + : 'Humidifier 6000s Water tank lifted', }), 'context': , 'entity_id': 'binary_sensor.humidifier_6000s_water_tank_lifted', @@ -568,8 +568,8 @@ # name: test_sensor_state[Humidifier 600S][binary_sensor.humidifier_600s_low_water] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Humidifier 600S Low water', + : 'problem', + : 'Humidifier 600S Low water', }), 'context': , 'entity_id': 'binary_sensor.humidifier_600s_low_water', @@ -582,8 +582,8 @@ # name: test_sensor_state[Humidifier 600S][binary_sensor.humidifier_600s_water_tank_lifted] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Humidifier 600S Water tank lifted', + : 'problem', + : 'Humidifier 600S Water tank lifted', }), 'context': , 'entity_id': 'binary_sensor.humidifier_600s_water_tank_lifted', diff --git a/tests/components/vesync/snapshots/test_fan.ambr b/tests/components/vesync/snapshots/test_fan.ambr index 352180f4865..1ffd9f9744b 100644 --- a/tests/components/vesync/snapshots/test_fan.ambr +++ b/tests/components/vesync/snapshots/test_fan.ambr @@ -81,7 +81,7 @@ 'attributes': ReadOnlyDict({ 'active_time': 0, 'display_status': 'on', - 'friendly_name': 'Air Purifier 131s', + : 'Air Purifier 131s', 'mode': 'sleep', : None, : 33.333333333333336, @@ -90,7 +90,7 @@ 'auto', 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.air_purifier_131s', @@ -182,7 +182,7 @@ 'active_time': None, 'child_lock': False, 'display_status': 'on', - 'friendly_name': 'Air Purifier 200s', + : 'Air Purifier 200s', 'mode': 'manual', 'night_light': 'off', : 33, @@ -191,7 +191,7 @@ : list([ 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.air_purifier_200s', @@ -284,7 +284,7 @@ 'active_time': None, 'child_lock': False, 'display_status': 'on', - 'friendly_name': 'Air Purifier 400s', + : 'Air Purifier 400s', 'mode': 'manual', 'night_light': 'off', : 25, @@ -294,7 +294,7 @@ 'auto', 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.air_purifier_400s', @@ -387,7 +387,7 @@ 'active_time': None, 'child_lock': False, 'display_status': 'on', - 'friendly_name': 'Air Purifier 600s', + : 'Air Purifier 600s', 'mode': 'manual', 'night_light': 'off', : 25, @@ -397,7 +397,7 @@ 'auto', 'sleep', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.air_purifier_600s', @@ -787,7 +787,7 @@ 'attributes': ReadOnlyDict({ 'active_time': None, 'display_status': 'off', - 'friendly_name': 'SmartTowerFan', + : 'SmartTowerFan', 'mode': , : True, : 0, @@ -799,7 +799,7 @@ 'sleep', 'turbo', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.smarttowerfan', diff --git a/tests/components/vesync/snapshots/test_humidifier.ambr b/tests/components/vesync/snapshots/test_humidifier.ambr index 8cc1cb70fdb..4f23f141e1f 100644 --- a/tests/components/vesync/snapshots/test_humidifier.ambr +++ b/tests/components/vesync/snapshots/test_humidifier.ambr @@ -382,12 +382,12 @@ 'normal', ]), : 35, - 'friendly_name': 'Humidifier 200s', + : 'Humidifier 200s', : 40, : 80, : 30, : 'normal', - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.humidifier_200s', @@ -488,12 +488,12 @@ 'sleep', ]), : 36, - 'friendly_name': 'Humidifier 6000s', + : 'Humidifier 6000s', : 40, : 80, : 30, : 'humidity', - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.humidifier_6000s', @@ -592,12 +592,12 @@ 'sleep', ]), : 35, - 'friendly_name': 'Humidifier 600S', + : 'Humidifier 600S', : 40, : 80, : 30, : 'normal', - 'supported_features': , + : , }), 'context': , 'entity_id': 'humidifier.humidifier_600s', diff --git a/tests/components/vesync/snapshots/test_light.ambr b/tests/components/vesync/snapshots/test_light.ambr index 4c445aa30b6..3a8e52b7654 100644 --- a/tests/components/vesync/snapshots/test_light.ambr +++ b/tests/components/vesync/snapshots/test_light.ambr @@ -302,11 +302,11 @@ 'attributes': ReadOnlyDict({ : 204, : , - 'friendly_name': 'Dimmable Light', + : 'Dimmable Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmable_light', @@ -397,11 +397,11 @@ 'attributes': ReadOnlyDict({ : 128, : , - 'friendly_name': 'Dimmer Switch', + : 'Dimmer Switch', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.dimmer_switch', @@ -680,7 +680,7 @@ : 128, : , : 3816, - 'friendly_name': 'Temperature Light', + : 'Temperature Light', : tuple( 26.914, 38.308, @@ -695,7 +695,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.432, 0.368, diff --git a/tests/components/vesync/snapshots/test_sensor.ambr b/tests/components/vesync/snapshots/test_sensor.ambr index bff952305bf..907e4afe46d 100644 --- a/tests/components/vesync/snapshots/test_sensor.ambr +++ b/tests/components/vesync/snapshots/test_sensor.ambr @@ -111,7 +111,7 @@ # name: test_sensor_state[Air Purifier 131s][sensor.air_purifier_131s_air_quality] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 131s Air quality', + : 'Air Purifier 131s Air quality', }), 'context': , 'entity_id': 'sensor.air_purifier_131s_air_quality', @@ -124,9 +124,9 @@ # name: test_sensor_state[Air Purifier 131s][sensor.air_purifier_131s_filter_lifetime] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 131s Filter lifetime', + : 'Air Purifier 131s Filter lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.air_purifier_131s_filter_lifetime', @@ -213,9 +213,9 @@ # name: test_sensor_state[Air Purifier 200s][sensor.air_purifier_200s_filter_lifetime] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 200s Filter lifetime', + : 'Air Purifier 200s Filter lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.air_purifier_200s_filter_lifetime', @@ -374,7 +374,7 @@ # name: test_sensor_state[Air Purifier 400s][sensor.air_purifier_400s_air_quality] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 400s Air quality', + : 'Air Purifier 400s Air quality', }), 'context': , 'entity_id': 'sensor.air_purifier_400s_air_quality', @@ -387,9 +387,9 @@ # name: test_sensor_state[Air Purifier 400s][sensor.air_purifier_400s_filter_lifetime] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 400s Filter lifetime', + : 'Air Purifier 400s Filter lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.air_purifier_400s_filter_lifetime', @@ -402,10 +402,10 @@ # name: test_sensor_state[Air Purifier 400s][sensor.air_purifier_400s_pm2_5] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Air Purifier 400s PM2.5', + : 'pm25', + : 'Air Purifier 400s PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.air_purifier_400s_pm2_5', @@ -564,7 +564,7 @@ # name: test_sensor_state[Air Purifier 600s][sensor.air_purifier_600s_air_quality] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 600s Air quality', + : 'Air Purifier 600s Air quality', }), 'context': , 'entity_id': 'sensor.air_purifier_600s_air_quality', @@ -577,9 +577,9 @@ # name: test_sensor_state[Air Purifier 600s][sensor.air_purifier_600s_filter_lifetime] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 600s Filter lifetime', + : 'Air Purifier 600s Filter lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.air_purifier_600s_filter_lifetime', @@ -592,10 +592,10 @@ # name: test_sensor_state[Air Purifier 600s][sensor.air_purifier_600s_pm2_5] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'Air Purifier 600s PM2.5', + : 'pm25', + : 'Air Purifier 600s PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.air_purifier_600s_pm2_5', @@ -847,10 +847,10 @@ # name: test_sensor_state[CS158-AF Air Fryer Cooking][sensor.cs158_af_air_fryer_cooking_cooking_set_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CS158-AF Air Fryer Cooking Cooking set temperature', + : 'temperature', + : 'CS158-AF Air Fryer Cooking Cooking set temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cs158_af_air_fryer_cooking_cooking_set_temperature', @@ -863,9 +863,9 @@ # name: test_sensor_state[CS158-AF Air Fryer Cooking][sensor.cs158_af_air_fryer_cooking_cooking_set_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'CS158-AF Air Fryer Cooking Cooking set time', - 'unit_of_measurement': , + : 'duration', + : 'CS158-AF Air Fryer Cooking Cooking set time', + : , }), 'context': , 'entity_id': 'sensor.cs158_af_air_fryer_cooking_cooking_set_time', @@ -878,8 +878,8 @@ # name: test_sensor_state[CS158-AF Air Fryer Cooking][sensor.cs158_af_air_fryer_cooking_cooking_status] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'CS158-AF Air Fryer Cooking Cooking status', + : 'enum', + : 'CS158-AF Air Fryer Cooking Cooking status', : list([ 'cooking_end', 'cooking', @@ -902,10 +902,10 @@ # name: test_sensor_state[CS158-AF Air Fryer Cooking][sensor.cs158_af_air_fryer_cooking_current_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CS158-AF Air Fryer Cooking Current temperature', + : 'temperature', + : 'CS158-AF Air Fryer Cooking Current temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.cs158_af_air_fryer_cooking_current_temperature', @@ -918,9 +918,9 @@ # name: test_sensor_state[CS158-AF Air Fryer Cooking][sensor.cs158_af_air_fryer_cooking_preheating_set_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'CS158-AF Air Fryer Cooking Preheating set time', - 'unit_of_measurement': , + : 'duration', + : 'CS158-AF Air Fryer Cooking Preheating set time', + : , }), 'context': , 'entity_id': 'sensor.cs158_af_air_fryer_cooking_preheating_set_time', @@ -1166,8 +1166,8 @@ # name: test_sensor_state[CS158-AF Air Fryer Standby][sensor.cs158_af_air_fryer_standby_cooking_set_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CS158-AF Air Fryer Standby Cooking set temperature', + : 'temperature', + : 'CS158-AF Air Fryer Standby Cooking set temperature', : , }), 'context': , @@ -1181,9 +1181,9 @@ # name: test_sensor_state[CS158-AF Air Fryer Standby][sensor.cs158_af_air_fryer_standby_cooking_set_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'CS158-AF Air Fryer Standby Cooking set time', - 'unit_of_measurement': , + : 'duration', + : 'CS158-AF Air Fryer Standby Cooking set time', + : , }), 'context': , 'entity_id': 'sensor.cs158_af_air_fryer_standby_cooking_set_time', @@ -1196,8 +1196,8 @@ # name: test_sensor_state[CS158-AF Air Fryer Standby][sensor.cs158_af_air_fryer_standby_cooking_status] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'CS158-AF Air Fryer Standby Cooking status', + : 'enum', + : 'CS158-AF Air Fryer Standby Cooking status', : list([ 'cooking_end', 'cooking', @@ -1220,8 +1220,8 @@ # name: test_sensor_state[CS158-AF Air Fryer Standby][sensor.cs158_af_air_fryer_standby_current_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'CS158-AF Air Fryer Standby Current temperature', + : 'temperature', + : 'CS158-AF Air Fryer Standby Current temperature', : , }), 'context': , @@ -1235,9 +1235,9 @@ # name: test_sensor_state[CS158-AF Air Fryer Standby][sensor.cs158_af_air_fryer_standby_preheating_set_time] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'CS158-AF Air Fryer Standby Preheating set time', - 'unit_of_measurement': , + : 'duration', + : 'CS158-AF Air Fryer Standby Preheating set time', + : , }), 'context': , 'entity_id': 'sensor.cs158_af_air_fryer_standby_preheating_set_time', @@ -1398,10 +1398,10 @@ # name: test_sensor_state[Humidifier 200s][sensor.humidifier_200s_humidity] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Humidifier 200s Humidity', + : 'humidity', + : 'Humidifier 200s Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humidifier_200s_humidity', @@ -1565,9 +1565,9 @@ # name: test_sensor_state[Humidifier 6000s][sensor.humidifier_6000s_filter_lifetime] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 6000s Filter lifetime', + : 'Humidifier 6000s Filter lifetime', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humidifier_6000s_filter_lifetime', @@ -1580,10 +1580,10 @@ # name: test_sensor_state[Humidifier 6000s][sensor.humidifier_6000s_humidity] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Humidifier 6000s Humidity', + : 'humidity', + : 'Humidifier 6000s Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humidifier_6000s_humidity', @@ -1596,10 +1596,10 @@ # name: test_sensor_state[Humidifier 6000s][sensor.humidifier_6000s_temperature] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Humidifier 6000s Temperature', + : 'temperature', + : 'Humidifier 6000s Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.humidifier_6000s_temperature', @@ -1686,10 +1686,10 @@ # name: test_sensor_state[Humidifier 600S][sensor.humidifier_600s_humidity] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Humidifier 600S Humidity', + : 'humidity', + : 'Humidifier 600S Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.humidifier_600s_humidity', @@ -1979,10 +1979,10 @@ # name: test_sensor_state[Outlet][sensor.outlet_current_power] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Outlet Current power', + : 'power', + : 'Outlet Current power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_current_power', @@ -1995,10 +1995,10 @@ # name: test_sensor_state[Outlet][sensor.outlet_current_voltage] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Outlet Current voltage', + : 'voltage', + : 'Outlet Current voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_current_voltage', @@ -2011,10 +2011,10 @@ # name: test_sensor_state[Outlet][sensor.outlet_energy_use_monthly] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Outlet Energy use monthly', + : 'energy', + : 'Outlet Energy use monthly', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_energy_use_monthly', @@ -2027,10 +2027,10 @@ # name: test_sensor_state[Outlet][sensor.outlet_energy_use_today] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Outlet Energy use today', + : 'energy', + : 'Outlet Energy use today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_energy_use_today', @@ -2043,10 +2043,10 @@ # name: test_sensor_state[Outlet][sensor.outlet_energy_use_weekly] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Outlet Energy use weekly', + : 'energy', + : 'Outlet Energy use weekly', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_energy_use_weekly', @@ -2059,10 +2059,10 @@ # name: test_sensor_state[Outlet][sensor.outlet_energy_use_yearly] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Outlet Energy use yearly', + : 'energy', + : 'Outlet Energy use yearly', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.outlet_energy_use_yearly', diff --git a/tests/components/vesync/snapshots/test_switch.ambr b/tests/components/vesync/snapshots/test_switch.ambr index d988dcf7623..c92aff5a58c 100644 --- a/tests/components/vesync/snapshots/test_switch.ambr +++ b/tests/components/vesync/snapshots/test_switch.ambr @@ -74,7 +74,7 @@ # name: test_switch_state[Air Purifier 131s][switch.air_purifier_131s_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 131s Display', + : 'Air Purifier 131s Display', }), 'context': , 'entity_id': 'switch.air_purifier_131s_display', @@ -194,7 +194,7 @@ # name: test_switch_state[Air Purifier 200s][switch.air_purifier_200s_child_lock] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 200s Child lock', + : 'Air Purifier 200s Child lock', }), 'context': , 'entity_id': 'switch.air_purifier_200s_child_lock', @@ -207,7 +207,7 @@ # name: test_switch_state[Air Purifier 200s][switch.air_purifier_200s_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 200s Display', + : 'Air Purifier 200s Display', }), 'context': , 'entity_id': 'switch.air_purifier_200s_display', @@ -327,7 +327,7 @@ # name: test_switch_state[Air Purifier 400s][switch.air_purifier_400s_child_lock] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 400s Child lock', + : 'Air Purifier 400s Child lock', }), 'context': , 'entity_id': 'switch.air_purifier_400s_child_lock', @@ -340,7 +340,7 @@ # name: test_switch_state[Air Purifier 400s][switch.air_purifier_400s_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 400s Display', + : 'Air Purifier 400s Display', }), 'context': , 'entity_id': 'switch.air_purifier_400s_display', @@ -460,7 +460,7 @@ # name: test_switch_state[Air Purifier 600s][switch.air_purifier_600s_child_lock] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 600s Child lock', + : 'Air Purifier 600s Child lock', }), 'context': , 'entity_id': 'switch.air_purifier_600s_child_lock', @@ -473,7 +473,7 @@ # name: test_switch_state[Air Purifier 600s][switch.air_purifier_600s_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Air Purifier 600s Display', + : 'Air Purifier 600s Display', }), 'context': , 'entity_id': 'switch.air_purifier_600s_display', @@ -741,7 +741,7 @@ # name: test_switch_state[Humidifier 200s][switch.humidifier_200s_auto_off] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 200s Auto Off', + : 'Humidifier 200s Auto Off', }), 'context': , 'entity_id': 'switch.humidifier_200s_auto_off', @@ -754,7 +754,7 @@ # name: test_switch_state[Humidifier 200s][switch.humidifier_200s_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 200s Display', + : 'Humidifier 200s Display', }), 'context': , 'entity_id': 'switch.humidifier_200s_display', @@ -944,7 +944,7 @@ # name: test_switch_state[Humidifier 6000s][switch.humidifier_6000s_auto_off] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 6000s Auto Off', + : 'Humidifier 6000s Auto Off', }), 'context': , 'entity_id': 'switch.humidifier_6000s_auto_off', @@ -957,7 +957,7 @@ # name: test_switch_state[Humidifier 6000s][switch.humidifier_6000s_child_lock] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 6000s Child lock', + : 'Humidifier 6000s Child lock', }), 'context': , 'entity_id': 'switch.humidifier_6000s_child_lock', @@ -970,7 +970,7 @@ # name: test_switch_state[Humidifier 6000s][switch.humidifier_6000s_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 6000s Display', + : 'Humidifier 6000s Display', }), 'context': , 'entity_id': 'switch.humidifier_6000s_display', @@ -983,7 +983,7 @@ # name: test_switch_state[Humidifier 6000s][switch.humidifier_6000s_enable_drying_mode_while_power_is_off] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 6000s Enable drying mode while power is off', + : 'Humidifier 6000s Enable drying mode while power is off', }), 'context': , 'entity_id': 'switch.humidifier_6000s_enable_drying_mode_while_power_is_off', @@ -1103,7 +1103,7 @@ # name: test_switch_state[Humidifier 600S][switch.humidifier_600s_auto_off] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 600S Auto Off', + : 'Humidifier 600S Auto Off', }), 'context': , 'entity_id': 'switch.humidifier_600s_auto_off', @@ -1116,7 +1116,7 @@ # name: test_switch_state[Humidifier 600S][switch.humidifier_600s_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Humidifier 600S Display', + : 'Humidifier 600S Display', }), 'context': , 'entity_id': 'switch.humidifier_600s_display', @@ -1201,8 +1201,8 @@ # name: test_switch_state[Outlet][switch.outlet] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'outlet', - 'friendly_name': 'Outlet', + : 'outlet', + : 'Outlet', }), 'context': , 'entity_id': 'switch.outlet', @@ -1287,7 +1287,7 @@ # name: test_switch_state[SmartTowerFan][switch.smarttowerfan_display] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'SmartTowerFan Display', + : 'SmartTowerFan Display', }), 'context': , 'entity_id': 'switch.smarttowerfan_display', @@ -1409,8 +1409,8 @@ # name: test_switch_state[Wall Switch][switch.wall_switch] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'switch', - 'friendly_name': 'Wall Switch', + : 'switch', + : 'Wall Switch', }), 'context': , 'entity_id': 'switch.wall_switch', diff --git a/tests/components/vesync/snapshots/test_update.ambr b/tests/components/vesync/snapshots/test_update.ambr index c698c2fe7bc..d9decbad21c 100644 --- a/tests/components/vesync/snapshots/test_update.ambr +++ b/tests/components/vesync/snapshots/test_update.ambr @@ -75,17 +75,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Air Purifier 131s Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Air Purifier 131s Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -173,17 +173,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Air Purifier 200s Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Air Purifier 200s Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -271,17 +271,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Air Purifier 400s Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Air Purifier 400s Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -369,17 +369,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Air Purifier 600s Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Air Purifier 600s Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -467,17 +467,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'CS158-AF Air Fryer Cooking Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'CS158-AF Air Fryer Cooking Firmware', : False, : None, : None, : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -565,17 +565,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'CS158-AF Air Fryer Standby Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'CS158-AF Air Fryer Standby Firmware', : False, : None, : None, : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -663,17 +663,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Dimmable Light Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Dimmable Light Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -761,17 +761,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Dimmer Switch Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Dimmer Switch Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -859,17 +859,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Humidifier 200s Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Humidifier 200s Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -957,17 +957,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Humidifier 6000s Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Humidifier 6000s Firmware', : False, : None, : None, : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -1055,17 +1055,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Humidifier 600S Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Humidifier 600S Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -1153,17 +1153,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Outlet Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Outlet Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -1251,17 +1251,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'SmartTowerFan Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'SmartTowerFan Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -1349,17 +1349,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Temperature Light Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Temperature Light Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), @@ -1447,17 +1447,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/vesync/icon.png', - 'friendly_name': 'Wall Switch Firmware', + : '/api/brands/integration/vesync/icon.png', + : 'Wall Switch Firmware', : False, : '1.0.0', : '1.0.1', : None, : None, : None, - 'supported_features': , + : , : None, : None, }), diff --git a/tests/components/vicare/snapshots/test_binary_sensor.ambr b/tests/components/vicare/snapshots/test_binary_sensor.ambr index d16e8104c46..f1fc8742d85 100644 --- a/tests/components/vicare/snapshots/test_binary_sensor.ambr +++ b/tests/components/vicare/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.model0_burner-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 Burner', + : 'running', + : 'model0 Burner', }), 'context': , 'entity_id': 'binary_sensor.model0_burner', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.model0_circulation_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 Circulation pump', + : 'running', + : 'model0 Circulation pump', }), 'context': , 'entity_id': 'binary_sensor.model0_circulation_pump', @@ -141,8 +141,8 @@ # name: test_all_entities[binary_sensor.model0_circulation_pump_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 Circulation pump', + : 'running', + : 'model0 Circulation pump', }), 'context': , 'entity_id': 'binary_sensor.model0_circulation_pump_2', @@ -192,8 +192,8 @@ # name: test_all_entities[binary_sensor.model0_dhw_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 DHW charging', + : 'running', + : 'model0 DHW charging', }), 'context': , 'entity_id': 'binary_sensor.model0_dhw_charging', @@ -243,8 +243,8 @@ # name: test_all_entities[binary_sensor.model0_dhw_circulation_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 DHW circulation pump', + : 'running', + : 'model0 DHW circulation pump', }), 'context': , 'entity_id': 'binary_sensor.model0_dhw_circulation_pump', @@ -294,8 +294,8 @@ # name: test_all_entities[binary_sensor.model0_dhw_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 DHW pump', + : 'running', + : 'model0 DHW pump', }), 'context': , 'entity_id': 'binary_sensor.model0_dhw_pump', @@ -345,7 +345,7 @@ # name: test_all_entities[binary_sensor.model0_frost_protection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Frost protection', + : 'model0 Frost protection', }), 'context': , 'entity_id': 'binary_sensor.model0_frost_protection', @@ -395,7 +395,7 @@ # name: test_all_entities[binary_sensor.model0_frost_protection_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Frost protection', + : 'model0 Frost protection', }), 'context': , 'entity_id': 'binary_sensor.model0_frost_protection_2', @@ -445,8 +445,8 @@ # name: test_all_entities[binary_sensor.model0_one_time_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 One-time charge', + : 'running', + : 'model0 One-time charge', }), 'context': , 'entity_id': 'binary_sensor.model0_one_time_charge', @@ -496,7 +496,7 @@ # name: test_all_entities[binary_sensor.model1_child_safety_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Child safety lock', + : 'model1 Child safety lock', }), 'context': , 'entity_id': 'binary_sensor.model1_child_safety_lock', @@ -546,7 +546,7 @@ # name: test_all_entities[binary_sensor.model1_identification_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Identification mode', + : 'model1 Identification mode', }), 'context': , 'entity_id': 'binary_sensor.model1_identification_mode', @@ -596,7 +596,7 @@ # name: test_all_entities[binary_sensor.model1_mounting_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Mounting mode', + : 'model1 Mounting mode', }), 'context': , 'entity_id': 'binary_sensor.model1_mounting_mode', @@ -646,8 +646,8 @@ # name: test_all_entities[binary_sensor.model1_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'model1 Valve', + : 'door', + : 'model1 Valve', }), 'context': , 'entity_id': 'binary_sensor.model1_valve', @@ -697,7 +697,7 @@ # name: test_all_entities[binary_sensor.model2_identification_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Identification mode', + : 'model2 Identification mode', }), 'context': , 'entity_id': 'binary_sensor.model2_identification_mode', @@ -747,7 +747,7 @@ # name: test_all_entities[binary_sensor.model3_identification_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model3 Identification mode', + : 'model3 Identification mode', }), 'context': , 'entity_id': 'binary_sensor.model3_identification_mode', @@ -797,8 +797,8 @@ # name: test_all_entities[binary_sensor.model4_valve-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'model4 Valve', + : 'door', + : 'model4 Valve', }), 'context': , 'entity_id': 'binary_sensor.model4_valve', @@ -811,8 +811,8 @@ # name: test_binary_sensors[burner] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 Burner', + : 'running', + : 'model0 Burner', }), 'context': , 'entity_id': 'binary_sensor.model0_burner', @@ -825,8 +825,8 @@ # name: test_binary_sensors[circulation_pump] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'model0 Circulation pump', + : 'running', + : 'model0 Circulation pump', }), 'context': , 'entity_id': 'binary_sensor.model0_circulation_pump', @@ -839,7 +839,7 @@ # name: test_binary_sensors[frost_protection] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Frost protection', + : 'model0 Frost protection', }), 'context': , 'entity_id': 'binary_sensor.model0_frost_protection', diff --git a/tests/components/vicare/snapshots/test_button.ambr b/tests/components/vicare/snapshots/test_button.ambr index 4331e9386dc..b200a5af3cd 100644 --- a/tests/components/vicare/snapshots/test_button.ambr +++ b/tests/components/vicare/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.model0_activate_one_time_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Activate one-time charge', + : 'model0 Activate one-time charge', }), 'context': , 'entity_id': 'button.model0_activate_one_time_charge', @@ -89,7 +89,7 @@ # name: test_all_entities[button.model0_deactivate_one_time_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Deactivate one-time charge', + : 'model0 Deactivate one-time charge', }), 'context': , 'entity_id': 'button.model0_deactivate_one_time_charge', diff --git a/tests/components/vicare/snapshots/test_climate.ambr b/tests/components/vicare/snapshots/test_climate.ambr index 5c8d0f1dfdf..dd0fcebe002 100644 --- a/tests/components/vicare/snapshots/test_climate.ambr +++ b/tests/components/vicare/snapshots/test_climate.ambr @@ -52,7 +52,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'model0 Heating', + : 'model0 Heating', : , : list([ ]), @@ -65,7 +65,7 @@ 'home', 'sleep', ]), - 'supported_features': , + : , : 1, : None, 'vicare_programs': list([ @@ -139,7 +139,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'model0 Heating', + : 'model0 Heating', : , : list([ ]), @@ -152,7 +152,7 @@ 'home', 'sleep', ]), - 'supported_features': , + : , : 1, : None, 'vicare_programs': list([ diff --git a/tests/components/vicare/snapshots/test_fan.ambr b/tests/components/vicare/snapshots/test_fan.ambr index 6673a93defb..dcc2cf28247 100644 --- a/tests/components/vicare/snapshots/test_fan.ambr +++ b/tests/components/vicare/snapshots/test_fan.ambr @@ -46,8 +46,8 @@ # name: test_all_entities[fan.model0_ventilation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Ventilation', - 'icon': 'mdi:fan', + : 'model0 Ventilation', + : 'mdi:fan', : 0, : 25.0, : None, @@ -57,7 +57,7 @@ , , ]), - 'supported_features': , + : , 'vicare_quickmodes': list([ 'comfort', 'eco', @@ -118,8 +118,8 @@ # name: test_all_entities[fan.model1_ventilation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Ventilation', - 'icon': 'mdi:fan', + : 'model1 Ventilation', + : 'mdi:fan', : 0, : 25.0, : None, @@ -128,7 +128,7 @@ , , ]), - 'supported_features': , + : , 'vicare_quickmodes': list([ 'comfort', 'eco', @@ -189,15 +189,15 @@ # name: test_all_entities[fan.model2_ventilation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Ventilation', - 'icon': 'mdi:fan', + : 'model2 Ventilation', + : 'mdi:fan', : None, : list([ , , , ]), - 'supported_features': , + : , 'vicare_quickmodes': list([ 'comfort', 'eco', diff --git a/tests/components/vicare/snapshots/test_number.ambr b/tests/components/vicare/snapshots/test_number.ambr index 91b26b21d4d..7fb63618dad 100644 --- a/tests/components/vicare/snapshots/test_number.ambr +++ b/tests/components/vicare/snapshots/test_number.ambr @@ -44,13 +44,13 @@ # name: test_all_entities[number.model0_comfort_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Comfort temperature', + : 'temperature', + : 'model0 Comfort temperature', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_comfort_temperature', @@ -105,13 +105,13 @@ # name: test_all_entities[number.model0_comfort_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Comfort temperature', + : 'temperature', + : 'model0 Comfort temperature', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_comfort_temperature_2', @@ -166,13 +166,13 @@ # name: test_all_entities[number.model0_dhw_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 DHW temperature', + : 'temperature', + : 'model0 DHW temperature', : 100.0, : 0.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_dhw_temperature', @@ -227,13 +227,13 @@ # name: test_all_entities[number.model0_heating_curve_shift-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Heating curve shift', + : 'temperature', + : 'model0 Heating curve shift', : 40, : -13, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_heating_curve_shift', @@ -288,13 +288,13 @@ # name: test_all_entities[number.model0_heating_curve_shift_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Heating curve shift', + : 'temperature', + : 'model0 Heating curve shift', : 40, : -13, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_heating_curve_shift_2', @@ -349,7 +349,7 @@ # name: test_all_entities[number.model0_heating_curve_slope-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Heating curve slope', + : 'model0 Heating curve slope', : 3.5, : 0.2, : , @@ -408,7 +408,7 @@ # name: test_all_entities[number.model0_heating_curve_slope_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Heating curve slope', + : 'model0 Heating curve slope', : 3.5, : 0.2, : , @@ -467,13 +467,13 @@ # name: test_all_entities[number.model0_normal_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Normal temperature', + : 'temperature', + : 'model0 Normal temperature', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_normal_temperature', @@ -528,13 +528,13 @@ # name: test_all_entities[number.model0_normal_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Normal temperature', + : 'temperature', + : 'model0 Normal temperature', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_normal_temperature_2', @@ -589,13 +589,13 @@ # name: test_all_entities[number.model0_reduced_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Reduced temperature', + : 'temperature', + : 'model0 Reduced temperature', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_reduced_temperature', @@ -650,13 +650,13 @@ # name: test_all_entities[number.model0_reduced_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Reduced temperature', + : 'temperature', + : 'model0 Reduced temperature', : 100.0, : 0.0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.model0_reduced_temperature_2', diff --git a/tests/components/vicare/snapshots/test_select.ambr b/tests/components/vicare/snapshots/test_select.ambr index 09509e842c5..e2c32a92b5f 100644 --- a/tests/components/vicare/snapshots/test_select.ambr +++ b/tests/components/vicare/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_all_entities[select.model0_dhw_operating_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 DHW operating mode', + : 'model0 DHW operating mode', : list([ 'efficient_with_min_comfort', 'efficient', diff --git a/tests/components/vicare/snapshots/test_sensor.ambr b/tests/components/vicare/snapshots/test_sensor.ambr index ac5cc4060bf..da2e7554692 100644 --- a/tests/components/vicare/snapshots/test_sensor.ambr +++ b/tests/components/vicare/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.model0_boiler_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Boiler temperature', + : 'temperature', + : 'model0 Boiler temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_boiler_temperature', @@ -99,9 +99,9 @@ # name: test_all_entities[sensor.model0_burner_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Burner hours', + : 'model0 Burner hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_burner_hours', @@ -153,9 +153,9 @@ # name: test_all_entities[sensor.model0_burner_modulation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Burner modulation', + : 'model0 Burner modulation', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model0_burner_modulation', @@ -207,7 +207,7 @@ # name: test_all_entities[sensor.model0_burner_starts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Burner starts', + : 'model0 Burner starts', : , }), 'context': , @@ -260,7 +260,7 @@ # name: test_all_entities[sensor.model0_dhw_gas_consumption_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 DHW gas consumption this month', + : 'model0 DHW gas consumption this month', : , }), 'context': , @@ -313,7 +313,7 @@ # name: test_all_entities[sensor.model0_dhw_gas_consumption_this_week-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 DHW gas consumption this week', + : 'model0 DHW gas consumption this week', : , }), 'context': , @@ -366,7 +366,7 @@ # name: test_all_entities[sensor.model0_dhw_gas_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 DHW gas consumption this year', + : 'model0 DHW gas consumption this year', : , }), 'context': , @@ -419,7 +419,7 @@ # name: test_all_entities[sensor.model0_dhw_gas_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 DHW gas consumption today', + : 'model0 DHW gas consumption today', : , }), 'context': , @@ -475,10 +475,10 @@ # name: test_all_entities[sensor.model0_dhw_max_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 DHW max temperature', + : 'temperature', + : 'model0 DHW max temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_dhw_max_temperature', @@ -533,10 +533,10 @@ # name: test_all_entities[sensor.model0_dhw_min_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 DHW min temperature', + : 'temperature', + : 'model0 DHW min temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_dhw_min_temperature', @@ -591,10 +591,10 @@ # name: test_all_entities[sensor.model0_electricity_consumption_this_week-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model0 Electricity consumption this week', + : 'energy', + : 'model0 Electricity consumption this week', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_electricity_consumption_this_week', @@ -649,10 +649,10 @@ # name: test_all_entities[sensor.model0_electricity_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model0 Electricity consumption this year', + : 'energy', + : 'model0 Electricity consumption this year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_electricity_consumption_this_year', @@ -707,10 +707,10 @@ # name: test_all_entities[sensor.model0_electricity_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model0 Electricity consumption today', + : 'energy', + : 'model0 Electricity consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_electricity_consumption_today', @@ -765,10 +765,10 @@ # name: test_all_entities[sensor.model0_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model0 Energy', + : 'energy', + : 'model0 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_energy', @@ -820,7 +820,7 @@ # name: test_all_entities[sensor.model0_heating_gas_consumption_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Heating gas consumption this month', + : 'model0 Heating gas consumption this month', : , }), 'context': , @@ -873,7 +873,7 @@ # name: test_all_entities[sensor.model0_heating_gas_consumption_this_week-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Heating gas consumption this week', + : 'model0 Heating gas consumption this week', : , }), 'context': , @@ -926,7 +926,7 @@ # name: test_all_entities[sensor.model0_heating_gas_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Heating gas consumption this year', + : 'model0 Heating gas consumption this year', : , }), 'context': , @@ -979,7 +979,7 @@ # name: test_all_entities[sensor.model0_heating_gas_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model0 Heating gas consumption today', + : 'model0 Heating gas consumption today', : , }), 'context': , @@ -1035,10 +1035,10 @@ # name: test_all_entities[sensor.model0_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Outside temperature', + : 'temperature', + : 'model0 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_outside_temperature', @@ -1093,10 +1093,10 @@ # name: test_all_entities[sensor.model0_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Supply temperature', + : 'temperature', + : 'model0 Supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_supply_temperature', @@ -1151,10 +1151,10 @@ # name: test_all_entities[sensor.model0_supply_temperature_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model0 Supply temperature', + : 'temperature', + : 'model0 Supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model0_supply_temperature_2', @@ -1206,9 +1206,9 @@ # name: test_all_entities[sensor.model10_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model10 Signal strength', + : 'model10 Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model10_signal_strength', @@ -1260,9 +1260,9 @@ # name: test_all_entities[sensor.model11_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model11 Signal strength', + : 'model11 Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model11_signal_strength', @@ -1317,10 +1317,10 @@ # name: test_all_entities[sensor.model11_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model11 Supply temperature', + : 'temperature', + : 'model11 Supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model11_supply_temperature', @@ -1375,10 +1375,10 @@ # name: test_all_entities[sensor.model1_boiler_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Boiler supply temperature', + : 'temperature', + : 'model1 Boiler supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_boiler_supply_temperature', @@ -1433,10 +1433,10 @@ # name: test_all_entities[sensor.model1_buffer_main_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Buffer main temperature', + : 'temperature', + : 'model1 Buffer main temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_buffer_main_temperature', @@ -1488,9 +1488,9 @@ # name: test_all_entities[sensor.model1_compressor_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Compressor hours', + : 'model1 Compressor hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_compressor_hours', @@ -1543,9 +1543,9 @@ # name: test_all_entities[sensor.model1_compressor_inlet_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'model1 Compressor inlet pressure', - 'unit_of_measurement': , + : 'pressure', + : 'model1 Compressor inlet pressure', + : , }), 'context': , 'entity_id': 'sensor.model1_compressor_inlet_pressure', @@ -1598,9 +1598,9 @@ # name: test_all_entities[sensor.model1_compressor_inlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Compressor inlet temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model1 Compressor inlet temperature', + : , }), 'context': , 'entity_id': 'sensor.model1_compressor_inlet_temperature', @@ -1653,9 +1653,9 @@ # name: test_all_entities[sensor.model1_compressor_outlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Compressor outlet temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model1 Compressor outlet temperature', + : , }), 'context': , 'entity_id': 'sensor.model1_compressor_outlet_temperature', @@ -1705,7 +1705,7 @@ # name: test_all_entities[sensor.model1_compressor_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Compressor phase', + : 'model1 Compressor phase', }), 'context': , 'entity_id': 'sensor.model1_compressor_phase', @@ -1757,7 +1757,7 @@ # name: test_all_entities[sensor.model1_compressor_starts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Compressor starts', + : 'model1 Compressor starts', : , }), 'context': , @@ -1811,9 +1811,9 @@ # name: test_all_entities[sensor.model1_condenser_liquid_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Condenser liquid temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model1 Condenser liquid temperature', + : , }), 'context': , 'entity_id': 'sensor.model1_condenser_liquid_temperature', @@ -1868,10 +1868,10 @@ # name: test_all_entities[sensor.model1_dhw_electricity_consumption_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 DHW electricity consumption last seven days', + : 'energy', + : 'model1 DHW electricity consumption last seven days', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_electricity_consumption_last_seven_days', @@ -1926,10 +1926,10 @@ # name: test_all_entities[sensor.model1_dhw_electricity_consumption_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 DHW electricity consumption this month', + : 'energy', + : 'model1 DHW electricity consumption this month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_electricity_consumption_this_month', @@ -1984,10 +1984,10 @@ # name: test_all_entities[sensor.model1_dhw_electricity_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 DHW electricity consumption this year', + : 'energy', + : 'model1 DHW electricity consumption this year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_electricity_consumption_this_year', @@ -2042,10 +2042,10 @@ # name: test_all_entities[sensor.model1_dhw_electricity_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 DHW electricity consumption today', + : 'energy', + : 'model1 DHW electricity consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_electricity_consumption_today', @@ -2100,10 +2100,10 @@ # name: test_all_entities[sensor.model1_dhw_energy_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 DHW energy consumption this year', + : 'energy', + : 'model1 DHW energy consumption this year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_energy_consumption_this_year', @@ -2158,10 +2158,10 @@ # name: test_all_entities[sensor.model1_dhw_max_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 DHW max temperature', + : 'temperature', + : 'model1 DHW max temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_max_temperature', @@ -2216,10 +2216,10 @@ # name: test_all_entities[sensor.model1_dhw_min_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 DHW min temperature', + : 'temperature', + : 'model1 DHW min temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_min_temperature', @@ -2274,10 +2274,10 @@ # name: test_all_entities[sensor.model1_dhw_storage_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 DHW storage temperature', + : 'temperature', + : 'model1 DHW storage temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_dhw_storage_temperature', @@ -2332,10 +2332,10 @@ # name: test_all_entities[sensor.model1_electricity_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Electricity consumption this year', + : 'energy', + : 'model1 Electricity consumption this year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_electricity_consumption_this_year', @@ -2390,10 +2390,10 @@ # name: test_all_entities[sensor.model1_electricity_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Electricity consumption today', + : 'energy', + : 'model1 Electricity consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_electricity_consumption_today', @@ -2448,10 +2448,10 @@ # name: test_all_entities[sensor.model1_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Energy', + : 'energy', + : 'model1 Energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_energy', @@ -2504,9 +2504,9 @@ # name: test_all_entities[sensor.model1_evaporator_liquid_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Evaporator liquid temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model1 Evaporator liquid temperature', + : , }), 'context': , 'entity_id': 'sensor.model1_evaporator_liquid_temperature', @@ -2559,9 +2559,9 @@ # name: test_all_entities[sensor.model1_evaporator_overheat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Evaporator overheat temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model1 Evaporator overheat temperature', + : , }), 'context': , 'entity_id': 'sensor.model1_evaporator_overheat_temperature', @@ -2616,10 +2616,10 @@ # name: test_all_entities[sensor.model1_heating_electricity_consumption_last_seven_days-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Heating electricity consumption last seven days', + : 'energy', + : 'model1 Heating electricity consumption last seven days', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_heating_electricity_consumption_last_seven_days', @@ -2674,10 +2674,10 @@ # name: test_all_entities[sensor.model1_heating_electricity_consumption_this_month-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Heating electricity consumption this month', + : 'energy', + : 'model1 Heating electricity consumption this month', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_heating_electricity_consumption_this_month', @@ -2732,10 +2732,10 @@ # name: test_all_entities[sensor.model1_heating_electricity_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Heating electricity consumption this year', + : 'energy', + : 'model1 Heating electricity consumption this year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_heating_electricity_consumption_this_year', @@ -2790,10 +2790,10 @@ # name: test_all_entities[sensor.model1_heating_electricity_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Heating electricity consumption today', + : 'energy', + : 'model1 Heating electricity consumption today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_heating_electricity_consumption_today', @@ -2848,10 +2848,10 @@ # name: test_all_entities[sensor.model1_heating_energy_consumption_this_year-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model1 Heating energy consumption this year', + : 'energy', + : 'model1 Heating energy consumption this year', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_heating_energy_consumption_this_year', @@ -2903,9 +2903,9 @@ # name: test_all_entities[sensor.model1_heating_rod_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Heating rod hours', + : 'model1 Heating rod hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_heating_rod_hours', @@ -2957,7 +2957,7 @@ # name: test_all_entities[sensor.model1_heating_rod_starts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Heating rod starts', + : 'model1 Heating rod starts', : , }), 'context': , @@ -3011,9 +3011,9 @@ # name: test_all_entities[sensor.model1_inverter_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'model1 Inverter current', - 'unit_of_measurement': , + : 'current', + : 'model1 Inverter current', + : , }), 'context': , 'entity_id': 'sensor.model1_inverter_current', @@ -3066,9 +3066,9 @@ # name: test_all_entities[sensor.model1_inverter_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'model1 Inverter power', - 'unit_of_measurement': , + : 'power', + : 'model1 Inverter power', + : , }), 'context': , 'entity_id': 'sensor.model1_inverter_power', @@ -3121,9 +3121,9 @@ # name: test_all_entities[sensor.model1_inverter_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Inverter temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model1 Inverter temperature', + : , }), 'context': , 'entity_id': 'sensor.model1_inverter_temperature', @@ -3178,10 +3178,10 @@ # name: test_all_entities[sensor.model1_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Outside temperature', + : 'temperature', + : 'model1 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_outside_temperature', @@ -3236,10 +3236,10 @@ # name: test_all_entities[sensor.model1_primary_circuit_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Primary circuit supply temperature', + : 'temperature', + : 'model1 Primary circuit supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_primary_circuit_supply_temperature', @@ -3294,10 +3294,10 @@ # name: test_all_entities[sensor.model1_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Return temperature', + : 'temperature', + : 'model1 Return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_return_temperature', @@ -3349,7 +3349,7 @@ # name: test_all_entities[sensor.model1_seasonal_performance_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Seasonal performance factor', + : 'model1 Seasonal performance factor', : , }), 'context': , @@ -3402,7 +3402,7 @@ # name: test_all_entities[sensor.model1_seasonal_performance_factor_domestic_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Seasonal performance factor - domestic hot water', + : 'model1 Seasonal performance factor - domestic hot water', : , }), 'context': , @@ -3455,7 +3455,7 @@ # name: test_all_entities[sensor.model1_seasonal_performance_factor_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Seasonal performance factor - heating', + : 'model1 Seasonal performance factor - heating', : , }), 'context': , @@ -3511,10 +3511,10 @@ # name: test_all_entities[sensor.model1_secondary_circuit_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Secondary circuit supply temperature', + : 'temperature', + : 'model1 Secondary circuit supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_secondary_circuit_supply_temperature', @@ -3566,10 +3566,10 @@ # name: test_all_entities[sensor.model1_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'model1 Signal strength', + : 'signal_strength', + : 'model1 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.model1_signal_strength', @@ -3624,10 +3624,10 @@ # name: test_all_entities[sensor.model1_supply_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'model1 Supply pressure', + : 'pressure', + : 'model1 Supply pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_supply_pressure', @@ -3682,10 +3682,10 @@ # name: test_all_entities[sensor.model1_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model1 Supply temperature', + : 'temperature', + : 'model1 Supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_supply_temperature', @@ -3737,9 +3737,9 @@ # name: test_all_entities[sensor.model1_volumetric_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model1 Volumetric flow', + : 'model1 Volumetric flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model1_volumetric_flow', @@ -3794,10 +3794,10 @@ # name: test_all_entities[sensor.model2_buffer_main_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Buffer main temperature', + : 'temperature', + : 'model2 Buffer main temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_buffer_main_temperature', @@ -3852,10 +3852,10 @@ # name: test_all_entities[sensor.model2_buffer_top_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Buffer top temperature', + : 'temperature', + : 'model2 Buffer top temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_buffer_top_temperature', @@ -3907,7 +3907,7 @@ # name: test_all_entities[sensor.model2_coefficient_of_performance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Coefficient of performance', + : 'model2 Coefficient of performance', : , }), 'context': , @@ -3960,7 +3960,7 @@ # name: test_all_entities[sensor.model2_coefficient_of_performance_cooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Coefficient of performance - cooling', + : 'model2 Coefficient of performance - cooling', : , }), 'context': , @@ -4013,7 +4013,7 @@ # name: test_all_entities[sensor.model2_coefficient_of_performance_domestic_hot_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Coefficient of performance - domestic hot water', + : 'model2 Coefficient of performance - domestic hot water', : , }), 'context': , @@ -4066,7 +4066,7 @@ # name: test_all_entities[sensor.model2_coefficient_of_performance_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Coefficient of performance - heating', + : 'model2 Coefficient of performance - heating', : , }), 'context': , @@ -4119,9 +4119,9 @@ # name: test_all_entities[sensor.model2_compressor_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor hours', + : 'model2 Compressor hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_hours', @@ -4173,9 +4173,9 @@ # name: test_all_entities[sensor.model2_compressor_hours_load_class_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor hours load class 1', + : 'model2 Compressor hours load class 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_hours_load_class_1', @@ -4227,9 +4227,9 @@ # name: test_all_entities[sensor.model2_compressor_hours_load_class_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor hours load class 2', + : 'model2 Compressor hours load class 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_hours_load_class_2', @@ -4281,9 +4281,9 @@ # name: test_all_entities[sensor.model2_compressor_hours_load_class_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor hours load class 3', + : 'model2 Compressor hours load class 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_hours_load_class_3', @@ -4335,9 +4335,9 @@ # name: test_all_entities[sensor.model2_compressor_hours_load_class_4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor hours load class 4', + : 'model2 Compressor hours load class 4', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_hours_load_class_4', @@ -4389,9 +4389,9 @@ # name: test_all_entities[sensor.model2_compressor_hours_load_class_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor hours load class 5', + : 'model2 Compressor hours load class 5', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_hours_load_class_5', @@ -4444,9 +4444,9 @@ # name: test_all_entities[sensor.model2_compressor_inlet_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'model2 Compressor inlet pressure', - 'unit_of_measurement': , + : 'pressure', + : 'model2 Compressor inlet pressure', + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_inlet_pressure', @@ -4499,9 +4499,9 @@ # name: test_all_entities[sensor.model2_compressor_inlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Compressor inlet temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model2 Compressor inlet temperature', + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_inlet_temperature', @@ -4554,9 +4554,9 @@ # name: test_all_entities[sensor.model2_compressor_outlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Compressor outlet temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model2 Compressor outlet temperature', + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_outlet_temperature', @@ -4606,7 +4606,7 @@ # name: test_all_entities[sensor.model2_compressor_phase-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor phase', + : 'model2 Compressor phase', }), 'context': , 'entity_id': 'sensor.model2_compressor_phase', @@ -4659,9 +4659,9 @@ # name: test_all_entities[sensor.model2_compressor_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'model2 Compressor power', - 'unit_of_measurement': , + : 'power', + : 'model2 Compressor power', + : , }), 'context': , 'entity_id': 'sensor.model2_compressor_power', @@ -4713,7 +4713,7 @@ # name: test_all_entities[sensor.model2_compressor_starts-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Compressor starts', + : 'model2 Compressor starts', : , }), 'context': , @@ -4767,9 +4767,9 @@ # name: test_all_entities[sensor.model2_condenser_subcooling_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Condenser subcooling temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model2 Condenser subcooling temperature', + : , }), 'context': , 'entity_id': 'sensor.model2_condenser_subcooling_temperature', @@ -4824,10 +4824,10 @@ # name: test_all_entities[sensor.model2_dhw_max_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 DHW max temperature', + : 'temperature', + : 'model2 DHW max temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_dhw_max_temperature', @@ -4882,10 +4882,10 @@ # name: test_all_entities[sensor.model2_dhw_min_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 DHW min temperature', + : 'temperature', + : 'model2 DHW min temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_dhw_min_temperature', @@ -4940,10 +4940,10 @@ # name: test_all_entities[sensor.model2_dhw_storage_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 DHW storage temperature', + : 'temperature', + : 'model2 DHW storage temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_dhw_storage_temperature', @@ -4998,10 +4998,10 @@ # name: test_all_entities[sensor.model2_dhw_storage_top_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 DHW storage top temperature', + : 'temperature', + : 'model2 DHW storage top temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_dhw_storage_top_temperature', @@ -5054,9 +5054,9 @@ # name: test_all_entities[sensor.model2_evaporator_liquid_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Evaporator liquid temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model2 Evaporator liquid temperature', + : , }), 'context': , 'entity_id': 'sensor.model2_evaporator_liquid_temperature', @@ -5109,9 +5109,9 @@ # name: test_all_entities[sensor.model2_evaporator_overheat_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Evaporator overheat temperature', - 'unit_of_measurement': , + : 'temperature', + : 'model2 Evaporator overheat temperature', + : , }), 'context': , 'entity_id': 'sensor.model2_evaporator_overheat_temperature', @@ -5166,10 +5166,10 @@ # name: test_all_entities[sensor.model2_hot_gas_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'model2 Hot gas pressure', + : 'pressure', + : 'model2 Hot gas pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_hot_gas_pressure', @@ -5224,10 +5224,10 @@ # name: test_all_entities[sensor.model2_hot_gas_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Hot gas temperature', + : 'temperature', + : 'model2 Hot gas temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_hot_gas_temperature', @@ -5282,10 +5282,10 @@ # name: test_all_entities[sensor.model2_liquid_gas_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Liquid gas temperature', + : 'temperature', + : 'model2 Liquid gas temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_liquid_gas_temperature', @@ -5340,10 +5340,10 @@ # name: test_all_entities[sensor.model2_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Outside temperature', + : 'temperature', + : 'model2 Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_outside_temperature', @@ -5395,9 +5395,9 @@ # name: test_all_entities[sensor.model2_primary_circuit_pump_rotation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Primary circuit pump rotation', + : 'model2 Primary circuit pump rotation', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model2_primary_circuit_pump_rotation', @@ -5452,10 +5452,10 @@ # name: test_all_entities[sensor.model2_primary_circuit_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Primary circuit return temperature', + : 'temperature', + : 'model2 Primary circuit return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_primary_circuit_return_temperature', @@ -5510,10 +5510,10 @@ # name: test_all_entities[sensor.model2_primary_circuit_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Primary circuit supply temperature', + : 'temperature', + : 'model2 Primary circuit supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_primary_circuit_supply_temperature', @@ -5568,10 +5568,10 @@ # name: test_all_entities[sensor.model2_return_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Return temperature', + : 'temperature', + : 'model2 Return temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_return_temperature', @@ -5626,10 +5626,10 @@ # name: test_all_entities[sensor.model2_secondary_circuit_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Secondary circuit supply temperature', + : 'temperature', + : 'model2 Secondary circuit supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_secondary_circuit_supply_temperature', @@ -5684,10 +5684,10 @@ # name: test_all_entities[sensor.model2_suction_gas_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'model2 Suction gas pressure', + : 'pressure', + : 'model2 Suction gas pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_suction_gas_pressure', @@ -5742,10 +5742,10 @@ # name: test_all_entities[sensor.model2_suction_gas_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Suction gas temperature', + : 'temperature', + : 'model2 Suction gas temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_suction_gas_temperature', @@ -5800,10 +5800,10 @@ # name: test_all_entities[sensor.model2_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model2 Supply temperature', + : 'temperature', + : 'model2 Supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_supply_temperature', @@ -5855,9 +5855,9 @@ # name: test_all_entities[sensor.model2_ventilation_input_volume_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Ventilation input volume flow', + : 'model2 Ventilation input volume flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_ventilation_input_volume_flow', @@ -5915,8 +5915,8 @@ # name: test_all_entities[sensor.model2_ventilation_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'model2 Ventilation level', + : 'enum', + : 'model2 Ventilation level', : list([ 'standby', 'levelone', @@ -5975,9 +5975,9 @@ # name: test_all_entities[sensor.model2_ventilation_output_volume_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model2 Ventilation output volume flow', + : 'model2 Ventilation output volume flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model2_ventilation_output_volume_flow', @@ -6036,8 +6036,8 @@ # name: test_all_entities[sensor.model2_ventilation_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'model2 Ventilation reason', + : 'enum', + : 'model2 Ventilation reason', : list([ 'standby', 'permanent', @@ -6103,8 +6103,8 @@ # name: test_all_entities[sensor.model3_ventilation_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'model3 Ventilation level', + : 'enum', + : 'model3 Ventilation level', : list([ 'standby', 'levelone', @@ -6170,8 +6170,8 @@ # name: test_all_entities[sensor.model3_ventilation_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'model3 Ventilation reason', + : 'enum', + : 'model3 Ventilation reason', : list([ 'standby', 'permanent', @@ -6231,9 +6231,9 @@ # name: test_all_entities[sensor.model4_filter_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model4 Filter hours', + : 'model4 Filter hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model4_filter_hours', @@ -6285,9 +6285,9 @@ # name: test_all_entities[sensor.model4_filter_overdue_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model4 Filter overdue hours', + : 'model4 Filter overdue hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model4_filter_overdue_hours', @@ -6339,9 +6339,9 @@ # name: test_all_entities[sensor.model4_filter_remaining_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model4 Filter remaining hours', + : 'model4 Filter remaining hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model4_filter_remaining_hours', @@ -6393,10 +6393,10 @@ # name: test_all_entities[sensor.model4_pm1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm1', - 'friendly_name': 'model4 PM1', + : 'pm1', + : 'model4 PM1', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.model4_pm1', @@ -6448,10 +6448,10 @@ # name: test_all_entities[sensor.model4_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'model4 PM10', + : 'pm10', + : 'model4 PM10', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.model4_pm10', @@ -6503,10 +6503,10 @@ # name: test_all_entities[sensor.model4_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'model4 PM2.5', + : 'pm25', + : 'model4 PM2.5', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.model4_pm2_5', @@ -6558,10 +6558,10 @@ # name: test_all_entities[sensor.model4_pm4-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pm4', - 'friendly_name': 'model4 PM4', + : 'pm4', + : 'model4 PM4', : , - 'unit_of_measurement': 'μg/m³', + : 'μg/m³', }), 'context': , 'entity_id': 'sensor.model4_pm4', @@ -6613,10 +6613,10 @@ # name: test_all_entities[sensor.model4_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'model4 Signal strength', + : 'signal_strength', + : 'model4 Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.model4_signal_strength', @@ -6668,9 +6668,9 @@ # name: test_all_entities[sensor.model4_supply_fan_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model4 Supply fan hours', + : 'model4 Supply fan hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model4_supply_fan_hours', @@ -6722,9 +6722,9 @@ # name: test_all_entities[sensor.model4_supply_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model4 Supply fan speed', + : 'model4 Supply fan speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.model4_supply_fan_speed', @@ -6776,10 +6776,10 @@ # name: test_all_entities[sensor.model4_supply_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'model4 Supply humidity', + : 'humidity', + : 'model4 Supply humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model4_supply_humidity', @@ -6834,10 +6834,10 @@ # name: test_all_entities[sensor.model4_supply_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model4 Supply temperature', + : 'temperature', + : 'model4 Supply temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model4_supply_temperature', @@ -6895,8 +6895,8 @@ # name: test_all_entities[sensor.model4_ventilation_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'model4 Ventilation level', + : 'enum', + : 'model4 Ventilation level', : list([ 'standby', 'levelone', @@ -6962,8 +6962,8 @@ # name: test_all_entities[sensor.model4_ventilation_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'model4 Ventilation reason', + : 'enum', + : 'model4 Ventilation reason', : list([ 'standby', 'permanent', @@ -7026,10 +7026,10 @@ # name: test_all_entities[sensor.model5_battery_charge_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'model5 Battery charge total', + : 'energy', + : 'model5 Battery charge total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model5_battery_charge_total', @@ -7081,10 +7081,10 @@ # name: test_all_entities[sensor.model7_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'model7 Battery', + : 'battery', + : 'model7 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model7_battery', @@ -7136,10 +7136,10 @@ # name: test_all_entities[sensor.model7_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'model7 Humidity', + : 'humidity', + : 'model7 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model7_humidity', @@ -7194,10 +7194,10 @@ # name: test_all_entities[sensor.model7_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model7 Temperature', + : 'temperature', + : 'model7 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model7_temperature', @@ -7249,10 +7249,10 @@ # name: test_all_entities[sensor.model8_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'model8 Humidity', + : 'humidity', + : 'model8 Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model8_humidity', @@ -7307,10 +7307,10 @@ # name: test_all_entities[sensor.model8_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model8 Temperature', + : 'temperature', + : 'model8 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model8_temperature', @@ -7362,10 +7362,10 @@ # name: test_all_entities[sensor.model9_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'model9 Battery', + : 'battery', + : 'model9 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model9_battery', @@ -7417,9 +7417,9 @@ # name: test_all_entities[sensor.model9_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model9 Signal strength', + : 'model9 Signal strength', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model9_signal_strength', @@ -7474,10 +7474,10 @@ # name: test_all_entities[sensor.model9_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model9 Target temperature', + : 'temperature', + : 'model9 Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model9_target_temperature', @@ -7532,10 +7532,10 @@ # name: test_all_entities[sensor.model9_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'model9 Temperature', + : 'temperature', + : 'model9 Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.model9_temperature', @@ -7587,9 +7587,9 @@ # name: test_all_entities[sensor.model9_valve_position-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'model9 Valve position', + : 'model9 Valve position', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.model9_valve_position', @@ -7644,10 +7644,10 @@ # name: test_all_entities[sensor.vitovalor_hydraulic_separator_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Vitovalor Hydraulic separator temperature', + : 'temperature', + : 'Vitovalor Hydraulic separator temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.vitovalor_hydraulic_separator_temperature', diff --git a/tests/components/vicare/snapshots/test_water_heater.ambr b/tests/components/vicare/snapshots/test_water_heater.ambr index 9a8001bc5e3..cbdf0cd72fd 100644 --- a/tests/components/vicare/snapshots/test_water_heater.ambr +++ b/tests/components/vicare/snapshots/test_water_heater.ambr @@ -43,10 +43,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'model0 Domestic hot water', + : 'model0 Domestic hot water', : 60, : 10, - 'supported_features': , + : , : None, : None, : None, @@ -103,10 +103,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'model0 Domestic hot water', + : 'model0 Domestic hot water', : 60, : 10, - 'supported_features': , + : , : None, : None, : None, diff --git a/tests/components/victron_ble/snapshots/test_sensor.ambr b/tests/components/victron_ble/snapshots/test_sensor.ambr index 2348aa2e69f..8fafbd67c18 100644 --- a/tests/components/victron_ble/snapshots/test_sensor.ambr +++ b/tests/components/victron_ble/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Charger AC current', + : 'current', + : 'Smart Charger AC current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_ac_current', @@ -117,8 +117,8 @@ # name: test_sensors[ac_charger][sensor.smart_charger_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Charger Charge state', + : 'enum', + : 'Smart Charger Charge state', : list([ 'off', 'low_power', @@ -235,8 +235,8 @@ # name: test_sensors[ac_charger][sensor.smart_charger_charger_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Charger Charger error', + : 'enum', + : 'Smart Charger Charger error', : list([ 'no_error', 'temperature_battery_high', @@ -338,10 +338,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_output_phase_1_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Charger Output phase 1 current', + : 'current', + : 'Smart Charger Output phase 1 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_output_phase_1_current', @@ -396,10 +396,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_output_phase_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Charger Output phase 1 voltage', + : 'voltage', + : 'Smart Charger Output phase 1 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_output_phase_1_voltage', @@ -454,10 +454,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_output_phase_2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Charger Output phase 2 current', + : 'current', + : 'Smart Charger Output phase 2 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_output_phase_2_current', @@ -512,10 +512,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_output_phase_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Charger Output phase 2 voltage', + : 'voltage', + : 'Smart Charger Output phase 2 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_output_phase_2_voltage', @@ -570,10 +570,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_output_phase_3_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Smart Charger Output phase 3 current', + : 'current', + : 'Smart Charger Output phase 3 current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_output_phase_3_current', @@ -628,10 +628,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_output_phase_3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Charger Output phase 3 voltage', + : 'voltage', + : 'Smart Charger Output phase 3 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_output_phase_3_voltage', @@ -683,10 +683,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Smart Charger Signal strength', + : 'signal_strength', + : 'Smart Charger Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.smart_charger_signal_strength', @@ -741,10 +741,10 @@ # name: test_sensors[ac_charger][sensor.smart_charger_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Smart Charger Temperature', + : 'temperature', + : 'Smart Charger Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_charger_temperature', @@ -812,8 +812,8 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Battery Monitor Alarm', + : 'enum', + : 'Battery Monitor Alarm', : list([ 'no_alarm', 'low_voltage', @@ -882,10 +882,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Battery Monitor Battery', + : 'battery', + : 'Battery Monitor Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.battery_monitor_battery', @@ -937,9 +937,9 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_consumed_ampere_hours-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Battery Monitor Consumed ampere hours', + : 'Battery Monitor Consumed ampere hours', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_monitor_consumed_ampere_hours', @@ -994,10 +994,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Battery Monitor Current', + : 'current', + : 'Battery Monitor Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_monitor_current', @@ -1052,10 +1052,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_midpoint_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Battery Monitor Midpoint voltage', + : 'voltage', + : 'Battery Monitor Midpoint voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_monitor_midpoint_voltage', @@ -1110,10 +1110,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_remaining_minutes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Battery Monitor Remaining minutes', + : 'duration', + : 'Battery Monitor Remaining minutes', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_monitor_remaining_minutes', @@ -1165,10 +1165,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Battery Monitor Signal strength', + : 'signal_strength', + : 'Battery Monitor Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.battery_monitor_signal_strength', @@ -1223,10 +1223,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Battery Monitor Temperature', + : 'temperature', + : 'Battery Monitor Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_monitor_temperature', @@ -1281,10 +1281,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Battery Monitor Voltage', + : 'voltage', + : 'Battery Monitor Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_monitor_voltage', @@ -1339,10 +1339,10 @@ # name: test_sensors[battery_monitor][sensor.battery_monitor_voltage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Battery Monitor Voltage', + : 'voltage', + : 'Battery Monitor Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_monitor_voltage_2', @@ -1394,10 +1394,10 @@ # name: test_sensors[battery_sense][sensor.battery_sense_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Battery Sense Signal strength', + : 'signal_strength', + : 'Battery Sense Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.battery_sense_signal_strength', @@ -1452,10 +1452,10 @@ # name: test_sensors[battery_sense][sensor.battery_sense_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Battery Sense Temperature', + : 'temperature', + : 'Battery Sense Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_sense_temperature', @@ -1510,10 +1510,10 @@ # name: test_sensors[battery_sense][sensor.battery_sense_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Battery Sense Voltage', + : 'voltage', + : 'Battery Sense Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.battery_sense_voltage', @@ -1583,8 +1583,8 @@ # name: test_sensors[dc_dc_converter][sensor.dc_dc_converter_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'DC/DC Converter Charge state', + : 'enum', + : 'DC/DC Converter Charge state', : list([ 'off', 'low_power', @@ -1701,8 +1701,8 @@ # name: test_sensors[dc_dc_converter][sensor.dc_dc_converter_charger_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'DC/DC Converter Charger error', + : 'enum', + : 'DC/DC Converter Charger error', : list([ 'no_error', 'temperature_battery_high', @@ -1804,10 +1804,10 @@ # name: test_sensors[dc_dc_converter][sensor.dc_dc_converter_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'DC/DC Converter Input voltage', + : 'voltage', + : 'DC/DC Converter Input voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dc_dc_converter_input_voltage', @@ -1871,8 +1871,8 @@ # name: test_sensors[dc_dc_converter][sensor.dc_dc_converter_off_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'DC/DC Converter Off reason', + : 'enum', + : 'DC/DC Converter Off reason', : list([ 'no_reason', 'no_input_power', @@ -1940,10 +1940,10 @@ # name: test_sensors[dc_dc_converter][sensor.dc_dc_converter_output_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'DC/DC Converter Output voltage', + : 'voltage', + : 'DC/DC Converter Output voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dc_dc_converter_output_voltage', @@ -1995,10 +1995,10 @@ # name: test_sensors[dc_dc_converter][sensor.dc_dc_converter_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'DC/DC Converter Signal strength', + : 'signal_strength', + : 'DC/DC Converter Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.dc_dc_converter_signal_strength', @@ -2066,8 +2066,8 @@ # name: test_sensors[dc_energy_meter][sensor.dc_energy_meter_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'DC Energy Meter Alarm', + : 'enum', + : 'DC Energy Meter Alarm', : list([ 'no_alarm', 'low_voltage', @@ -2139,10 +2139,10 @@ # name: test_sensors[dc_energy_meter][sensor.dc_energy_meter_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'DC Energy Meter Current', + : 'current', + : 'DC Energy Meter Current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dc_energy_meter_current', @@ -2212,8 +2212,8 @@ # name: test_sensors[dc_energy_meter][sensor.dc_energy_meter_meter_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'DC Energy Meter Meter type', + : 'enum', + : 'DC Energy Meter Meter type', : list([ 'solar_charger', 'wind_charger', @@ -2284,10 +2284,10 @@ # name: test_sensors[dc_energy_meter][sensor.dc_energy_meter_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'DC Energy Meter Signal strength', + : 'signal_strength', + : 'DC Energy Meter Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.dc_energy_meter_signal_strength', @@ -2342,10 +2342,10 @@ # name: test_sensors[dc_energy_meter][sensor.dc_energy_meter_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'DC Energy Meter Temperature', + : 'temperature', + : 'DC Energy Meter Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dc_energy_meter_temperature', @@ -2400,10 +2400,10 @@ # name: test_sensors[dc_energy_meter][sensor.dc_energy_meter_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'DC Energy Meter Voltage', + : 'voltage', + : 'DC Energy Meter Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dc_energy_meter_voltage', @@ -2458,10 +2458,10 @@ # name: test_sensors[dc_energy_meter][sensor.dc_energy_meter_voltage_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'DC Energy Meter Voltage', + : 'voltage', + : 'DC Energy Meter Voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dc_energy_meter_voltage_2', @@ -2529,8 +2529,8 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Battery Protect Alarm', + : 'enum', + : 'Smart Battery Protect Alarm', : list([ 'no_alarm', 'low_voltage', @@ -2645,8 +2645,8 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_charger_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Battery Protect Charger error', + : 'enum', + : 'Smart Battery Protect Charger error', : list([ 'no_error', 'temperature_battery_high', @@ -2763,8 +2763,8 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_device_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Battery Protect Device state', + : 'enum', + : 'Smart Battery Protect Device state', : list([ 'off', 'low_power', @@ -2838,10 +2838,10 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Battery Protect Input voltage', + : 'voltage', + : 'Smart Battery Protect Input voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_battery_protect_input_voltage', @@ -2905,8 +2905,8 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_off_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Battery Protect Off reason', + : 'enum', + : 'Smart Battery Protect Off reason', : list([ 'no_reason', 'no_input_power', @@ -2974,10 +2974,10 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_output_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Battery Protect Output voltage', + : 'voltage', + : 'Smart Battery Protect Output voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_battery_protect_output_voltage', @@ -3029,10 +3029,10 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Smart Battery Protect Signal strength', + : 'signal_strength', + : 'Smart Battery Protect Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.smart_battery_protect_signal_strength', @@ -3100,8 +3100,8 @@ # name: test_sensors[smart_battery_protect][sensor.smart_battery_protect_warning-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Battery Protect Warning', + : 'enum', + : 'Smart Battery Protect Warning', : list([ 'no_alarm', 'low_voltage', @@ -3174,8 +3174,8 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_balancer_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Smart Lithium Balancer status', + : 'enum', + : 'Smart Lithium Balancer status', : list([ 'balanced', 'balancing', @@ -3235,10 +3235,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Smart Lithium Battery temperature', + : 'temperature', + : 'Smart Lithium Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_battery_temperature', @@ -3293,10 +3293,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Battery voltage', + : 'voltage', + : 'Smart Lithium Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_battery_voltage', @@ -3351,10 +3351,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_1_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 1 voltage', + : 'voltage', + : 'Smart Lithium Cell 1 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_1_voltage', @@ -3409,10 +3409,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 2 voltage', + : 'voltage', + : 'Smart Lithium Cell 2 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_2_voltage', @@ -3467,10 +3467,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_3_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 3 voltage', + : 'voltage', + : 'Smart Lithium Cell 3 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_3_voltage', @@ -3525,10 +3525,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_4_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 4 voltage', + : 'voltage', + : 'Smart Lithium Cell 4 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_4_voltage', @@ -3583,10 +3583,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_5_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 5 voltage', + : 'voltage', + : 'Smart Lithium Cell 5 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_5_voltage', @@ -3641,10 +3641,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_6_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 6 voltage', + : 'voltage', + : 'Smart Lithium Cell 6 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_6_voltage', @@ -3699,10 +3699,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_7_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 7 voltage', + : 'voltage', + : 'Smart Lithium Cell 7 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_7_voltage', @@ -3757,10 +3757,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_cell_8_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Smart Lithium Cell 8 voltage', + : 'voltage', + : 'Smart Lithium Cell 8 voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.smart_lithium_cell_8_voltage', @@ -3812,10 +3812,10 @@ # name: test_sensors[smart_lithium][sensor.smart_lithium_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Smart Lithium Signal strength', + : 'signal_strength', + : 'Smart Lithium Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.smart_lithium_signal_strength', @@ -3870,10 +3870,10 @@ # name: test_sensors[solar_charger][sensor.solar_charger_battery_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Solar Charger Battery current', + : 'current', + : 'Solar Charger Battery current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_charger_battery_current', @@ -3928,10 +3928,10 @@ # name: test_sensors[solar_charger][sensor.solar_charger_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Solar Charger Battery voltage', + : 'voltage', + : 'Solar Charger Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_charger_battery_voltage', @@ -4001,8 +4001,8 @@ # name: test_sensors[solar_charger][sensor.solar_charger_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Solar Charger Charge state', + : 'enum', + : 'Solar Charger Charge state', : list([ 'off', 'low_power', @@ -4119,8 +4119,8 @@ # name: test_sensors[solar_charger][sensor.solar_charger_charger_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Solar Charger Charger error', + : 'enum', + : 'Solar Charger Charger error', : list([ 'no_error', 'temperature_battery_high', @@ -4222,10 +4222,10 @@ # name: test_sensors[solar_charger][sensor.solar_charger_external_device_load-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Solar Charger External device load', + : 'current', + : 'Solar Charger External device load', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_charger_external_device_load', @@ -4277,10 +4277,10 @@ # name: test_sensors[solar_charger][sensor.solar_charger_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Solar Charger Signal strength', + : 'signal_strength', + : 'Solar Charger Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.solar_charger_signal_strength', @@ -4335,10 +4335,10 @@ # name: test_sensors[solar_charger][sensor.solar_charger_solar_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Solar Charger Solar power', + : 'power', + : 'Solar Charger Solar power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_charger_solar_power', @@ -4393,10 +4393,10 @@ # name: test_sensors[solar_charger][sensor.solar_charger_yield_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Solar Charger Yield today', + : 'energy', + : 'Solar Charger Yield today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.solar_charger_yield_today', @@ -4451,10 +4451,10 @@ # name: test_sensors[vebus][sensor.inverter_charger_ac_in_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter Charger AC-in power', + : 'power', + : 'Inverter Charger AC-in power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_charger_ac_in_power', @@ -4510,8 +4510,8 @@ # name: test_sensors[vebus][sensor.inverter_charger_ac_in_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inverter Charger AC-in state', + : 'enum', + : 'Inverter Charger AC-in state', : list([ 'ac_in_1', 'ac_in_2', @@ -4571,10 +4571,10 @@ # name: test_sensors[vebus][sensor.inverter_charger_ac_out_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Inverter Charger AC-out power', + : 'power', + : 'Inverter Charger AC-out power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_charger_ac_out_power', @@ -4626,10 +4626,10 @@ # name: test_sensors[vebus][sensor.inverter_charger_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Inverter Charger Battery', + : 'battery', + : 'Inverter Charger Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.inverter_charger_battery', @@ -4684,10 +4684,10 @@ # name: test_sensors[vebus][sensor.inverter_charger_battery_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter Charger Battery current', + : 'current', + : 'Inverter Charger Battery current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_charger_battery_current', @@ -4742,10 +4742,10 @@ # name: test_sensors[vebus][sensor.inverter_charger_battery_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Inverter Charger Battery temperature', + : 'temperature', + : 'Inverter Charger Battery temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_charger_battery_temperature', @@ -4800,10 +4800,10 @@ # name: test_sensors[vebus][sensor.inverter_charger_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter Charger Battery voltage', + : 'voltage', + : 'Inverter Charger Battery voltage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.inverter_charger_battery_voltage', @@ -4873,8 +4873,8 @@ # name: test_sensors[vebus][sensor.inverter_charger_device_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inverter Charger Device state', + : 'enum', + : 'Inverter Charger Device state', : list([ 'off', 'low_power', @@ -4945,10 +4945,10 @@ # name: test_sensors[vebus][sensor.inverter_charger_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Inverter Charger Signal strength', + : 'signal_strength', + : 'Inverter Charger Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.inverter_charger_signal_strength', diff --git a/tests/components/victron_gx/snapshots/test_button.ambr b/tests/components/victron_gx/snapshots/test_button.ambr index ae7919c7c34..4318461d1ec 100644 --- a/tests/components/victron_gx/snapshots/test_button.ambr +++ b/tests/components/victron_gx/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_button_entities_snapshot[button.victron_venus_device_reboot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Victron Venus Device reboot', + : 'Victron Venus Device reboot', }), 'context': , 'entity_id': 'button.victron_venus_device_reboot', diff --git a/tests/components/victron_remote_monitoring/snapshots/test_sensor.ambr b/tests/components/victron_remote_monitoring/snapshots/test_sensor.ambr index 17dac31f92f..b9d766f1b22 100644 --- a/tests/components/victron_remote_monitoring/snapshots/test_sensor.ambr +++ b/tests/components/victron_remote_monitoring/snapshots/test_sensor.ambr @@ -47,10 +47,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_consumption_current_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy consumption - Current hour', + : 'energy', + : 'Victron Remote Monitoring Estimated energy consumption - Current hour', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_consumption_current_hour', @@ -108,10 +108,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_consumption_next_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy consumption - Next hour', + : 'energy', + : 'Victron Remote Monitoring Estimated energy consumption - Next hour', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_consumption_next_hour', @@ -169,10 +169,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_consumption_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy consumption - Today', + : 'energy', + : 'Victron Remote Monitoring Estimated energy consumption - Today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_consumption_today', @@ -230,10 +230,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_consumption_today_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy consumption - Today remaining', + : 'energy', + : 'Victron Remote Monitoring Estimated energy consumption - Today remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_consumption_today_remaining', @@ -291,10 +291,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_consumption_tomorrow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy consumption - Tomorrow', + : 'energy', + : 'Victron Remote Monitoring Estimated energy consumption - Tomorrow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_consumption_tomorrow', @@ -352,10 +352,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_consumption_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy consumption - Yesterday', + : 'energy', + : 'Victron Remote Monitoring Estimated energy consumption - Yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_consumption_yesterday', @@ -413,10 +413,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_production_current_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy production - Current hour', + : 'energy', + : 'Victron Remote Monitoring Estimated energy production - Current hour', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_production_current_hour', @@ -474,10 +474,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_production_next_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy production - Next hour', + : 'energy', + : 'Victron Remote Monitoring Estimated energy production - Next hour', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_production_next_hour', @@ -535,10 +535,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_production_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy production - Today', + : 'energy', + : 'Victron Remote Monitoring Estimated energy production - Today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_production_today', @@ -596,10 +596,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_production_today_remaining-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy production - Today remaining', + : 'energy', + : 'Victron Remote Monitoring Estimated energy production - Today remaining', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_production_today_remaining', @@ -657,10 +657,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_production_tomorrow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy production - Tomorrow', + : 'energy', + : 'Victron Remote Monitoring Estimated energy production - Tomorrow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_production_tomorrow', @@ -718,10 +718,10 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_estimated_energy_production_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Victron Remote Monitoring Estimated energy production - Yesterday', + : 'energy', + : 'Victron Remote Monitoring Estimated energy production - Yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_estimated_energy_production_yesterday', @@ -771,8 +771,8 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_highest_consumption_peak_time_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Victron Remote Monitoring Highest consumption peak time - Today', + : 'timestamp', + : 'Victron Remote Monitoring Highest consumption peak time - Today', }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_highest_consumption_peak_time_today', @@ -822,8 +822,8 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_highest_consumption_peak_time_tomorrow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Victron Remote Monitoring Highest consumption peak time - Tomorrow', + : 'timestamp', + : 'Victron Remote Monitoring Highest consumption peak time - Tomorrow', }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_highest_consumption_peak_time_tomorrow', @@ -873,8 +873,8 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_highest_consumption_peak_time_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Victron Remote Monitoring Highest consumption peak time - Yesterday', + : 'timestamp', + : 'Victron Remote Monitoring Highest consumption peak time - Yesterday', }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_highest_consumption_peak_time_yesterday', @@ -924,8 +924,8 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_highest_peak_time_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Victron Remote Monitoring Highest peak time - Today', + : 'timestamp', + : 'Victron Remote Monitoring Highest peak time - Today', }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_highest_peak_time_today', @@ -975,8 +975,8 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_highest_peak_time_tomorrow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Victron Remote Monitoring Highest peak time - Tomorrow', + : 'timestamp', + : 'Victron Remote Monitoring Highest peak time - Tomorrow', }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_highest_peak_time_tomorrow', @@ -1026,8 +1026,8 @@ # name: test_sensors_snapshot[sensor.victron_remote_monitoring_highest_peak_time_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Victron Remote Monitoring Highest peak time - Yesterday', + : 'timestamp', + : 'Victron Remote Monitoring Highest peak time - Yesterday', }), 'context': , 'entity_id': 'sensor.victron_remote_monitoring_highest_peak_time_yesterday', diff --git a/tests/components/vistapool/snapshots/test_binary_sensor.ambr b/tests/components/vistapool/snapshots/test_binary_sensor.ambr index 47ac1308791..86c4341b2f4 100644 --- a/tests/components/vistapool/snapshots/test_binary_sensor.ambr +++ b/tests/components/vistapool/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_backwash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Backwash', + : 'running', + : 'My Pool Backwash', }), 'context': , 'entity_id': 'binary_sensor.my_pool_backwash', @@ -90,7 +90,7 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_chlorine_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Chlorine module', + : 'My Pool Chlorine module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_chlorine_module', @@ -140,8 +140,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_chlorine_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Chlorine pump', + : 'running', + : 'My Pool Chlorine pump', }), 'context': , 'entity_id': 'binary_sensor.my_pool_chlorine_pump', @@ -191,7 +191,7 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_conductivity_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Conductivity module', + : 'My Pool Conductivity module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_conductivity_module', @@ -241,8 +241,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_dosing_tank-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool Dosing tank', + : 'problem', + : 'My Pool Dosing tank', }), 'context': , 'entity_id': 'binary_sensor.my_pool_dosing_tank', @@ -292,8 +292,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_electrolysis_low-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool Electrolysis low', + : 'problem', + : 'My Pool Electrolysis low', }), 'context': , 'entity_id': 'binary_sensor.my_pool_electrolysis_low', @@ -343,8 +343,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_filtration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Filtration', + : 'running', + : 'My Pool Filtration', }), 'context': , 'entity_id': 'binary_sensor.my_pool_filtration', @@ -394,8 +394,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Heating', + : 'running', + : 'My Pool Heating', }), 'context': , 'entity_id': 'binary_sensor.my_pool_heating', @@ -445,8 +445,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_hidro_cover_reduction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Hidro cover reduction', + : 'running', + : 'My Pool Hidro cover reduction', }), 'context': , 'entity_id': 'binary_sensor.my_pool_hidro_cover_reduction', @@ -496,8 +496,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_hidro_fl2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool Hidro FL2', + : 'problem', + : 'My Pool Hidro FL2', }), 'context': , 'entity_id': 'binary_sensor.my_pool_hidro_fl2', @@ -547,8 +547,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_hidro_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool Hidro flow', + : 'problem', + : 'My Pool Hidro flow', }), 'context': , 'entity_id': 'binary_sensor.my_pool_hidro_flow', @@ -598,7 +598,7 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_hidro_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Hidro module', + : 'My Pool Hidro module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_hidro_module', @@ -648,7 +648,7 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_io_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool IO module', + : 'My Pool IO module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_io_module', @@ -698,8 +698,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_ph_acid_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool pH acid pump', + : 'running', + : 'My Pool pH acid pump', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_acid_pump', @@ -749,8 +749,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_ph_base_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool pH base pump', + : 'running', + : 'My Pool pH base pump', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_base_pump', @@ -800,7 +800,7 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_ph_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool pH module', + : 'My Pool pH module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_module', @@ -850,8 +850,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_ph_pump_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool pH pump alarm', + : 'problem', + : 'My Pool pH pump alarm', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_pump_alarm', @@ -901,7 +901,7 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_redox_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Redox module', + : 'My Pool Redox module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_redox_module', @@ -951,8 +951,8 @@ # name: test_all_entities[all_modules_enabled][binary_sensor.my_pool_redox_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Redox pump', + : 'running', + : 'My Pool Redox pump', }), 'context': , 'entity_id': 'binary_sensor.my_pool_redox_pump', @@ -1002,8 +1002,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_backwash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Backwash', + : 'running', + : 'My Pool Backwash', }), 'context': , 'entity_id': 'binary_sensor.my_pool_backwash', @@ -1053,7 +1053,7 @@ # name: test_all_entities[default][binary_sensor.my_pool_chlorine_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Chlorine module', + : 'My Pool Chlorine module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_chlorine_module', @@ -1103,7 +1103,7 @@ # name: test_all_entities[default][binary_sensor.my_pool_conductivity_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Conductivity module', + : 'My Pool Conductivity module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_conductivity_module', @@ -1153,8 +1153,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_dosing_tank-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool Dosing tank', + : 'problem', + : 'My Pool Dosing tank', }), 'context': , 'entity_id': 'binary_sensor.my_pool_dosing_tank', @@ -1204,8 +1204,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_electrolysis_low-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool Electrolysis low', + : 'problem', + : 'My Pool Electrolysis low', }), 'context': , 'entity_id': 'binary_sensor.my_pool_electrolysis_low', @@ -1255,8 +1255,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_filtration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Filtration', + : 'running', + : 'My Pool Filtration', }), 'context': , 'entity_id': 'binary_sensor.my_pool_filtration', @@ -1306,8 +1306,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Heating', + : 'running', + : 'My Pool Heating', }), 'context': , 'entity_id': 'binary_sensor.my_pool_heating', @@ -1357,8 +1357,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_hidro_cover_reduction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Hidro cover reduction', + : 'running', + : 'My Pool Hidro cover reduction', }), 'context': , 'entity_id': 'binary_sensor.my_pool_hidro_cover_reduction', @@ -1408,8 +1408,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_hidro_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool Hidro flow', + : 'problem', + : 'My Pool Hidro flow', }), 'context': , 'entity_id': 'binary_sensor.my_pool_hidro_flow', @@ -1459,7 +1459,7 @@ # name: test_all_entities[default][binary_sensor.my_pool_hidro_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Hidro module', + : 'My Pool Hidro module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_hidro_module', @@ -1509,7 +1509,7 @@ # name: test_all_entities[default][binary_sensor.my_pool_io_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool IO module', + : 'My Pool IO module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_io_module', @@ -1559,8 +1559,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_ph_acid_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool pH acid pump', + : 'running', + : 'My Pool pH acid pump', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_acid_pump', @@ -1610,8 +1610,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_ph_base_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool pH base pump', + : 'running', + : 'My Pool pH base pump', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_base_pump', @@ -1661,7 +1661,7 @@ # name: test_all_entities[default][binary_sensor.my_pool_ph_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool pH module', + : 'My Pool pH module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_module', @@ -1711,8 +1711,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_ph_pump_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'My Pool pH pump alarm', + : 'problem', + : 'My Pool pH pump alarm', }), 'context': , 'entity_id': 'binary_sensor.my_pool_ph_pump_alarm', @@ -1762,7 +1762,7 @@ # name: test_all_entities[default][binary_sensor.my_pool_redox_module-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Redox module', + : 'My Pool Redox module', }), 'context': , 'entity_id': 'binary_sensor.my_pool_redox_module', @@ -1812,8 +1812,8 @@ # name: test_all_entities[default][binary_sensor.my_pool_redox_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'My Pool Redox pump', + : 'running', + : 'My Pool Redox pump', }), 'context': , 'entity_id': 'binary_sensor.my_pool_redox_pump', diff --git a/tests/components/vistapool/snapshots/test_button.ambr b/tests/components/vistapool/snapshots/test_button.ambr index a79bb082231..982f60b2732 100644 --- a/tests/components/vistapool/snapshots/test_button.ambr +++ b/tests/components/vistapool/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.my_pool_led_next_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool LED next color', + : 'My Pool LED next color', }), 'context': , 'entity_id': 'button.my_pool_led_next_color', diff --git a/tests/components/vistapool/snapshots/test_light.ambr b/tests/components/vistapool/snapshots/test_light.ambr index be58ed9393f..02605186d28 100644 --- a/tests/components/vistapool/snapshots/test_light.ambr +++ b/tests/components/vistapool/snapshots/test_light.ambr @@ -44,11 +44,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'My Pool Light', + : 'My Pool Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.my_pool_light', diff --git a/tests/components/vistapool/snapshots/test_number.ambr b/tests/components/vistapool/snapshots/test_number.ambr index 73a7bc0d521..f1dab3db6b3 100644 --- a/tests/components/vistapool/snapshots/test_number.ambr +++ b/tests/components/vistapool/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_all_entities[number.my_pool_electrolysis_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Electrolysis setpoint', + : 'My Pool Electrolysis setpoint', : 22.0, : 0, : , : 0.1, - 'unit_of_measurement': 'g/h', + : 'g/h', }), 'context': , 'entity_id': 'number.my_pool_electrolysis_setpoint', @@ -104,13 +104,13 @@ # name: test_all_entities[number.my_pool_intel_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'My Pool Intel temperature', + : 'temperature', + : 'My Pool Intel temperature', : 40.0, : 5.0, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.my_pool_intel_temperature', @@ -165,8 +165,8 @@ # name: test_all_entities[number.my_pool_ph_maximum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'My Pool pH maximum', + : 'ph', + : 'My Pool pH maximum', : 8, : 6, : , @@ -225,8 +225,8 @@ # name: test_all_entities[number.my_pool_ph_minimum-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'ph', - 'friendly_name': 'My Pool pH minimum', + : 'ph', + : 'My Pool pH minimum', : 8, : 6, : , @@ -285,12 +285,12 @@ # name: test_all_entities[number.my_pool_redox_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Redox setpoint', + : 'My Pool Redox setpoint', : 800, : 500, : , : 1, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.my_pool_redox_setpoint', diff --git a/tests/components/vistapool/snapshots/test_select.ambr b/tests/components/vistapool/snapshots/test_select.ambr index ce6870aaec7..173344e5301 100644 --- a/tests/components/vistapool/snapshots/test_select.ambr +++ b/tests/components/vistapool/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_all_entities[select.my_pool_filtration_timer_speed_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Filtration timer speed 1', + : 'My Pool Filtration timer speed 1', : list([ 'slow', 'medium', @@ -106,7 +106,7 @@ # name: test_all_entities[select.my_pool_filtration_timer_speed_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Filtration timer speed 2', + : 'My Pool Filtration timer speed 2', : list([ 'slow', 'medium', @@ -167,7 +167,7 @@ # name: test_all_entities[select.my_pool_filtration_timer_speed_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Filtration timer speed 3', + : 'My Pool Filtration timer speed 3', : list([ 'slow', 'medium', @@ -230,7 +230,7 @@ # name: test_all_entities[select.my_pool_pump_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Pump mode', + : 'My Pool Pump mode', : list([ 'manual', 'auto', @@ -293,7 +293,7 @@ # name: test_all_entities[select.my_pool_pump_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Pool Pump speed', + : 'My Pool Pump speed', : list([ 'slow', 'medium', diff --git a/tests/components/vivotek/snapshots/test_camera.ambr b/tests/components/vivotek/snapshots/test_camera.ambr index f580a681a7f..fdd9f7962dc 100644 --- a/tests/components/vivotek/snapshots/test_camera.ambr +++ b/tests/components/vivotek/snapshots/test_camera.ambr @@ -41,9 +41,9 @@ 'attributes': ReadOnlyDict({ : '1caab5c3b3', : 'VIVOTEK', - 'entity_picture': '/api/camera_proxy/camera.vivotek_camera?token=1caab5c3b3', - 'friendly_name': 'Vivotek Camera', - 'supported_features': , + : '/api/camera_proxy/camera.vivotek_camera?token=1caab5c3b3', + : 'Vivotek Camera', + : , }), 'context': , 'entity_id': 'camera.vivotek_camera', diff --git a/tests/components/vizio/snapshots/test_media_player.ambr b/tests/components/vizio/snapshots/test_media_player.ambr index 799cc31f450..1a9eed9f1d7 100644 --- a/tests/components/vizio/snapshots/test_media_player.ambr +++ b/tests/components/vizio/snapshots/test_media_player.ambr @@ -50,8 +50,8 @@ # name: test_media_player_entity_setup[speaker][media_player.vizio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'friendly_name': 'Vizio', + : 'speaker', + : 'Vizio', : False, : 'Music', : list([ @@ -65,7 +65,7 @@ 'Bluetooth', 'AUX', ]), - 'supported_features': , + : , : 0.4838709677419355, }), 'context': , @@ -127,8 +127,8 @@ # name: test_media_player_entity_setup[tv][media_player.vizio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tv', - 'friendly_name': 'Vizio', + : 'tv', + : 'Vizio', : False, : 'Music', : list([ @@ -142,7 +142,7 @@ 'Bluetooth', 'AUX', ]), - 'supported_features': , + : , : 0.15, }), 'context': , diff --git a/tests/components/vizio/snapshots/test_remote.ambr b/tests/components/vizio/snapshots/test_remote.ambr index d1e008473f8..3768c5805f5 100644 --- a/tests/components/vizio/snapshots/test_remote.ambr +++ b/tests/components/vizio/snapshots/test_remote.ambr @@ -39,8 +39,8 @@ # name: test_remote_entity_setup[speaker][remote.vizio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vizio', - 'supported_features': , + : 'Vizio', + : , }), 'context': , 'entity_id': 'remote.vizio', @@ -90,8 +90,8 @@ # name: test_remote_entity_setup[tv][remote.vizio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vizio', - 'supported_features': , + : 'Vizio', + : , }), 'context': , 'entity_id': 'remote.vizio', diff --git a/tests/components/vodafone_station/snapshots/test_button.ambr b/tests/components/vodafone_station/snapshots/test_button.ambr index 38d745ae521..c8a1a0e1176 100644 --- a/tests/components/vodafone_station/snapshots/test_button.ambr +++ b/tests/components/vodafone_station/snapshots/test_button.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[button.vodafone_station_m123456789_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'Vodafone Station (m123456789) Restart', + : 'restart', + : 'Vodafone Station (m123456789) Restart', }), 'context': , 'entity_id': 'button.vodafone_station_m123456789_restart', diff --git a/tests/components/vodafone_station/snapshots/test_device_tracker.ambr b/tests/components/vodafone_station/snapshots/test_device_tracker.ambr index 3eaa25b9c7b..7a32e96e70a 100644 --- a/tests/components/vodafone_station/snapshots/test_device_tracker.ambr +++ b/tests/components/vodafone_station/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_all_entities[device_tracker.landevice1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'LanDevice1', + : 'LanDevice1', : 'LanDevice1', : list([ ]), @@ -100,7 +100,7 @@ # name: test_all_entities[device_tracker.wifidevice0-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WifiDevice0', + : 'WifiDevice0', : 'WifiDevice0', : list([ 'zone.home', diff --git a/tests/components/vodafone_station/snapshots/test_image.ambr b/tests/components/vodafone_station/snapshots/test_image.ambr index 696db506327..38b2b3c08c0 100644 --- a/tests/components/vodafone_station/snapshots/test_image.ambr +++ b/tests/components/vodafone_station/snapshots/test_image.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.vodafone_station_m123456789_guest_5ghz_network?token=1', - 'friendly_name': 'Vodafone Station (m123456789) Guest 5GHz network', + : '/api/image_proxy/image.vodafone_station_m123456789_guest_5ghz_network?token=1', + : 'Vodafone Station (m123456789) Guest 5GHz network', }), 'context': , 'entity_id': 'image.vodafone_station_m123456789_guest_5ghz_network', @@ -92,8 +92,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '1', - 'entity_picture': '/api/image_proxy/image.vodafone_station_m123456789_guest_network?token=1', - 'friendly_name': 'Vodafone Station (m123456789) Guest network', + : '/api/image_proxy/image.vodafone_station_m123456789_guest_network?token=1', + : 'Vodafone Station (m123456789) Guest network', }), 'context': , 'entity_id': 'image.vodafone_station_m123456789_guest_network', diff --git a/tests/components/vodafone_station/snapshots/test_sensor.ambr b/tests/components/vodafone_station/snapshots/test_sensor.ambr index 3b0a671dc35..7ed052adeac 100644 --- a/tests/components/vodafone_station/snapshots/test_sensor.ambr +++ b/tests/components/vodafone_station/snapshots/test_sensor.ambr @@ -45,8 +45,8 @@ # name: test_all_entities[sensor.vodafone_station_m123456789_active_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Vodafone Station (m123456789) Active connection', + : 'enum', + : 'Vodafone Station (m123456789) Active connection', : list([ 'dsl', 'fiber', @@ -101,8 +101,8 @@ # name: test_all_entities[sensor.vodafone_station_m123456789_cpu_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vodafone Station (m123456789) CPU usage', - 'unit_of_measurement': '%', + : 'Vodafone Station (m123456789) CPU usage', + : '%', }), 'context': , 'entity_id': 'sensor.vodafone_station_m123456789_cpu_usage', @@ -152,8 +152,8 @@ # name: test_all_entities[sensor.vodafone_station_m123456789_memory_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vodafone Station (m123456789) Memory usage', - 'unit_of_measurement': '%', + : 'Vodafone Station (m123456789) Memory usage', + : '%', }), 'context': , 'entity_id': 'sensor.vodafone_station_m123456789_memory_usage', @@ -203,7 +203,7 @@ # name: test_all_entities[sensor.vodafone_station_m123456789_reboot_cause-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vodafone Station (m123456789) Reboot cause', + : 'Vodafone Station (m123456789) Reboot cause', }), 'context': , 'entity_id': 'sensor.vodafone_station_m123456789_reboot_cause', @@ -253,8 +253,8 @@ # name: test_all_entities[sensor.vodafone_station_m123456789_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'Vodafone Station (m123456789) Uptime', + : 'uptime', + : 'Vodafone Station (m123456789) Uptime', }), 'context': , 'entity_id': 'sensor.vodafone_station_m123456789_uptime', diff --git a/tests/components/vodafone_station/snapshots/test_switch.ambr b/tests/components/vodafone_station/snapshots/test_switch.ambr index 64865f0da2b..f708110fe04 100644 --- a/tests/components/vodafone_station/snapshots/test_switch.ambr +++ b/tests/components/vodafone_station/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.vodafone_station_m123456789_guest_5ghz_network-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vodafone Station (m123456789) Guest 5GHz network', + : 'Vodafone Station (m123456789) Guest 5GHz network', }), 'context': , 'entity_id': 'switch.vodafone_station_m123456789_guest_5ghz_network', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.vodafone_station_m123456789_guest_network-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Vodafone Station (m123456789) Guest network', + : 'Vodafone Station (m123456789) Guest network', }), 'context': , 'entity_id': 'switch.vodafone_station_m123456789_guest_network', diff --git a/tests/components/volvo/snapshots/test_binary_sensor.ambr b/tests/components/volvo/snapshots/test_binary_sensor.ambr index 050a85628da..3bd48d21caf 100644 --- a/tests/components/volvo/snapshots/test_binary_sensor.ambr +++ b/tests/components/volvo/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_brake_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Brake fluid', + : 'problem', + : 'Volvo EX30 Brake fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_brake_fluid', @@ -90,8 +90,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_brake_light_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Brake light center', + : 'problem', + : 'Volvo EX30 Brake light center', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_brake_light_center', @@ -141,8 +141,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_brake_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Brake light left', + : 'problem', + : 'Volvo EX30 Brake light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_brake_light_left', @@ -192,8 +192,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_brake_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Brake light right', + : 'problem', + : 'Volvo EX30 Brake light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_brake_light_right', @@ -243,8 +243,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_coolant_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Coolant level', + : 'problem', + : 'Volvo EX30 Coolant level', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_coolant_level', @@ -294,8 +294,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_daytime_running_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Daytime running light left', + : 'problem', + : 'Volvo EX30 Daytime running light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_daytime_running_light_left', @@ -345,8 +345,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_daytime_running_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Daytime running light right', + : 'problem', + : 'Volvo EX30 Daytime running light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_daytime_running_light_right', @@ -396,8 +396,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_door_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo EX30 Door front left', + : 'door', + : 'Volvo EX30 Door front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_door_front_left', @@ -447,8 +447,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_door_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo EX30 Door front right', + : 'door', + : 'Volvo EX30 Door front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_door_front_right', @@ -498,8 +498,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_door_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo EX30 Door rear left', + : 'door', + : 'Volvo EX30 Door rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_door_rear_left', @@ -549,8 +549,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_door_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo EX30 Door rear right', + : 'door', + : 'Volvo EX30 Door rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_door_rear_right', @@ -600,8 +600,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_engine_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Volvo EX30 Engine status', + : 'running', + : 'Volvo EX30 Engine status', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_engine_status', @@ -651,8 +651,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_fog_light_front-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Fog light front', + : 'problem', + : 'Volvo EX30 Fog light front', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_fog_light_front', @@ -702,8 +702,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_fog_light_rear-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Fog light rear', + : 'problem', + : 'Volvo EX30 Fog light rear', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_fog_light_rear', @@ -753,8 +753,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_hazard_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Hazard lights', + : 'problem', + : 'Volvo EX30 Hazard lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_hazard_lights', @@ -804,8 +804,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_high_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 High beam left', + : 'problem', + : 'Volvo EX30 High beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_high_beam_left', @@ -855,8 +855,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_high_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 High beam right', + : 'problem', + : 'Volvo EX30 High beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_high_beam_right', @@ -906,8 +906,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo EX30 Hood', + : 'door', + : 'Volvo EX30 Hood', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_hood', @@ -957,8 +957,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_low_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Low beam left', + : 'problem', + : 'Volvo EX30 Low beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_low_beam_left', @@ -1008,8 +1008,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_low_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Low beam right', + : 'problem', + : 'Volvo EX30 Low beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_low_beam_right', @@ -1059,8 +1059,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_oil_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Oil level', + : 'problem', + : 'Volvo EX30 Oil level', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_oil_level', @@ -1110,8 +1110,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_position_light_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Position light front left', + : 'problem', + : 'Volvo EX30 Position light front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_position_light_front_left', @@ -1161,8 +1161,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_position_light_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Position light front right', + : 'problem', + : 'Volvo EX30 Position light front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_position_light_front_right', @@ -1212,8 +1212,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_position_light_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Position light rear left', + : 'problem', + : 'Volvo EX30 Position light rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_position_light_rear_left', @@ -1263,8 +1263,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_position_light_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Position light rear right', + : 'problem', + : 'Volvo EX30 Position light rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_position_light_rear_right', @@ -1314,8 +1314,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_registration_plate_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Registration plate light', + : 'problem', + : 'Volvo EX30 Registration plate light', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_registration_plate_light', @@ -1365,8 +1365,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_reverse_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Reverse lights', + : 'problem', + : 'Volvo EX30 Reverse lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_reverse_lights', @@ -1416,8 +1416,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_side_mark_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Side mark lights', + : 'problem', + : 'Volvo EX30 Side mark lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_side_mark_lights', @@ -1467,8 +1467,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo EX30 Sunroof', + : 'window', + : 'Volvo EX30 Sunroof', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_sunroof', @@ -1518,8 +1518,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_tailgate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo EX30 Tailgate', + : 'door', + : 'Volvo EX30 Tailgate', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_tailgate', @@ -1569,8 +1569,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_tank_lid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo EX30 Tank lid', + : 'door', + : 'Volvo EX30 Tank lid', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_tank_lid', @@ -1620,8 +1620,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_tire_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Tire front left', + : 'problem', + : 'Volvo EX30 Tire front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_tire_front_left', @@ -1671,8 +1671,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_tire_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Tire front right', + : 'problem', + : 'Volvo EX30 Tire front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_tire_front_right', @@ -1722,8 +1722,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_tire_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Tire rear left', + : 'problem', + : 'Volvo EX30 Tire rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_tire_rear_left', @@ -1773,8 +1773,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_tire_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Tire rear right', + : 'problem', + : 'Volvo EX30 Tire rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_tire_rear_right', @@ -1824,8 +1824,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_turn_indication_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Turn indication front left', + : 'problem', + : 'Volvo EX30 Turn indication front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_turn_indication_front_left', @@ -1875,8 +1875,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_turn_indication_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Turn indication front right', + : 'problem', + : 'Volvo EX30 Turn indication front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_turn_indication_front_right', @@ -1926,8 +1926,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_turn_indication_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Turn indication rear left', + : 'problem', + : 'Volvo EX30 Turn indication rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_turn_indication_rear_left', @@ -1977,8 +1977,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_turn_indication_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Turn indication rear right', + : 'problem', + : 'Volvo EX30 Turn indication rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_turn_indication_rear_right', @@ -2028,8 +2028,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_washer_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo EX30 Washer fluid', + : 'problem', + : 'Volvo EX30 Washer fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_washer_fluid', @@ -2079,8 +2079,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_window_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo EX30 Window front left', + : 'window', + : 'Volvo EX30 Window front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_window_front_left', @@ -2130,8 +2130,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_window_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo EX30 Window front right', + : 'window', + : 'Volvo EX30 Window front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_window_front_right', @@ -2181,8 +2181,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_window_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo EX30 Window rear left', + : 'window', + : 'Volvo EX30 Window rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_window_rear_left', @@ -2232,8 +2232,8 @@ # name: test_binary_sensor[ex30_2024][binary_sensor.volvo_ex30_window_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo EX30 Window rear right', + : 'window', + : 'Volvo EX30 Window rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_ex30_window_rear_right', @@ -2283,8 +2283,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_brake_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Brake fluid', + : 'problem', + : 'Volvo S90 Brake fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_brake_fluid', @@ -2334,8 +2334,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_brake_light_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Brake light center', + : 'problem', + : 'Volvo S90 Brake light center', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_brake_light_center', @@ -2385,8 +2385,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_brake_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Brake light left', + : 'problem', + : 'Volvo S90 Brake light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_brake_light_left', @@ -2436,8 +2436,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_brake_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Brake light right', + : 'problem', + : 'Volvo S90 Brake light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_brake_light_right', @@ -2487,8 +2487,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_coolant_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Coolant level', + : 'problem', + : 'Volvo S90 Coolant level', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_coolant_level', @@ -2538,8 +2538,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_daytime_running_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Daytime running light left', + : 'problem', + : 'Volvo S90 Daytime running light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_daytime_running_light_left', @@ -2589,8 +2589,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_daytime_running_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Daytime running light right', + : 'problem', + : 'Volvo S90 Daytime running light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_daytime_running_light_right', @@ -2640,8 +2640,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_door_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo S90 Door front left', + : 'door', + : 'Volvo S90 Door front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_door_front_left', @@ -2691,8 +2691,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_door_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo S90 Door front right', + : 'door', + : 'Volvo S90 Door front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_door_front_right', @@ -2742,8 +2742,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_door_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo S90 Door rear left', + : 'door', + : 'Volvo S90 Door rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_door_rear_left', @@ -2793,8 +2793,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_door_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo S90 Door rear right', + : 'door', + : 'Volvo S90 Door rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_door_rear_right', @@ -2844,8 +2844,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_engine_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Volvo S90 Engine status', + : 'running', + : 'Volvo S90 Engine status', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_engine_status', @@ -2895,8 +2895,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_fog_light_front-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Fog light front', + : 'problem', + : 'Volvo S90 Fog light front', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_fog_light_front', @@ -2946,8 +2946,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_fog_light_rear-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Fog light rear', + : 'problem', + : 'Volvo S90 Fog light rear', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_fog_light_rear', @@ -2997,8 +2997,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_hazard_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Hazard lights', + : 'problem', + : 'Volvo S90 Hazard lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_hazard_lights', @@ -3048,8 +3048,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_high_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 High beam left', + : 'problem', + : 'Volvo S90 High beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_high_beam_left', @@ -3099,8 +3099,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_high_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 High beam right', + : 'problem', + : 'Volvo S90 High beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_high_beam_right', @@ -3150,8 +3150,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo S90 Hood', + : 'door', + : 'Volvo S90 Hood', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_hood', @@ -3201,8 +3201,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_low_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Low beam left', + : 'problem', + : 'Volvo S90 Low beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_low_beam_left', @@ -3252,8 +3252,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_low_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Low beam right', + : 'problem', + : 'Volvo S90 Low beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_low_beam_right', @@ -3303,8 +3303,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_oil_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Oil level', + : 'problem', + : 'Volvo S90 Oil level', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_oil_level', @@ -3354,8 +3354,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_position_light_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Position light front left', + : 'problem', + : 'Volvo S90 Position light front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_position_light_front_left', @@ -3405,8 +3405,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_position_light_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Position light front right', + : 'problem', + : 'Volvo S90 Position light front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_position_light_front_right', @@ -3456,8 +3456,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_position_light_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Position light rear left', + : 'problem', + : 'Volvo S90 Position light rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_position_light_rear_left', @@ -3507,8 +3507,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_position_light_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Position light rear right', + : 'problem', + : 'Volvo S90 Position light rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_position_light_rear_right', @@ -3558,8 +3558,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_registration_plate_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Registration plate light', + : 'problem', + : 'Volvo S90 Registration plate light', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_registration_plate_light', @@ -3609,8 +3609,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_reverse_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Reverse lights', + : 'problem', + : 'Volvo S90 Reverse lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_reverse_lights', @@ -3660,8 +3660,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_side_mark_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Side mark lights', + : 'problem', + : 'Volvo S90 Side mark lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_side_mark_lights', @@ -3711,8 +3711,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo S90 Sunroof', + : 'window', + : 'Volvo S90 Sunroof', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_sunroof', @@ -3762,8 +3762,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_tailgate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo S90 Tailgate', + : 'door', + : 'Volvo S90 Tailgate', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_tailgate', @@ -3813,8 +3813,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_tank_lid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo S90 Tank lid', + : 'door', + : 'Volvo S90 Tank lid', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_tank_lid', @@ -3864,8 +3864,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_tire_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Tire front left', + : 'problem', + : 'Volvo S90 Tire front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_tire_front_left', @@ -3915,8 +3915,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_tire_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Tire front right', + : 'problem', + : 'Volvo S90 Tire front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_tire_front_right', @@ -3966,8 +3966,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_tire_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Tire rear left', + : 'problem', + : 'Volvo S90 Tire rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_tire_rear_left', @@ -4017,8 +4017,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_tire_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Tire rear right', + : 'problem', + : 'Volvo S90 Tire rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_tire_rear_right', @@ -4068,8 +4068,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_turn_indication_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Turn indication front left', + : 'problem', + : 'Volvo S90 Turn indication front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_turn_indication_front_left', @@ -4119,8 +4119,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_turn_indication_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Turn indication front right', + : 'problem', + : 'Volvo S90 Turn indication front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_turn_indication_front_right', @@ -4170,8 +4170,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_turn_indication_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Turn indication rear left', + : 'problem', + : 'Volvo S90 Turn indication rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_turn_indication_rear_left', @@ -4221,8 +4221,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_turn_indication_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Turn indication rear right', + : 'problem', + : 'Volvo S90 Turn indication rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_turn_indication_rear_right', @@ -4272,8 +4272,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_washer_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo S90 Washer fluid', + : 'problem', + : 'Volvo S90 Washer fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_washer_fluid', @@ -4323,8 +4323,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_window_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo S90 Window front left', + : 'window', + : 'Volvo S90 Window front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_window_front_left', @@ -4374,8 +4374,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_window_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo S90 Window front right', + : 'window', + : 'Volvo S90 Window front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_window_front_right', @@ -4425,8 +4425,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_window_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo S90 Window rear left', + : 'window', + : 'Volvo S90 Window rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_window_rear_left', @@ -4476,8 +4476,8 @@ # name: test_binary_sensor[s90_diesel_2018][binary_sensor.volvo_s90_window_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo S90 Window rear right', + : 'window', + : 'Volvo S90 Window rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_s90_window_rear_right', @@ -4527,8 +4527,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_brake_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Brake fluid', + : 'problem', + : 'Volvo XC40 Brake fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_brake_fluid', @@ -4578,8 +4578,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_brake_light_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Brake light center', + : 'problem', + : 'Volvo XC40 Brake light center', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_brake_light_center', @@ -4629,8 +4629,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_brake_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Brake light left', + : 'problem', + : 'Volvo XC40 Brake light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_brake_light_left', @@ -4680,8 +4680,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_brake_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Brake light right', + : 'problem', + : 'Volvo XC40 Brake light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_brake_light_right', @@ -4731,8 +4731,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_coolant_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Coolant level', + : 'problem', + : 'Volvo XC40 Coolant level', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_coolant_level', @@ -4782,8 +4782,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_daytime_running_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Daytime running light left', + : 'problem', + : 'Volvo XC40 Daytime running light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_daytime_running_light_left', @@ -4833,8 +4833,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_daytime_running_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Daytime running light right', + : 'problem', + : 'Volvo XC40 Daytime running light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_daytime_running_light_right', @@ -4884,8 +4884,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_door_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC40 Door front left', + : 'door', + : 'Volvo XC40 Door front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_door_front_left', @@ -4935,8 +4935,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_door_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC40 Door front right', + : 'door', + : 'Volvo XC40 Door front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_door_front_right', @@ -4986,8 +4986,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_door_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC40 Door rear left', + : 'door', + : 'Volvo XC40 Door rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_door_rear_left', @@ -5037,8 +5037,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_door_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC40 Door rear right', + : 'door', + : 'Volvo XC40 Door rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_door_rear_right', @@ -5088,8 +5088,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_engine_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Volvo XC40 Engine status', + : 'running', + : 'Volvo XC40 Engine status', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_engine_status', @@ -5139,8 +5139,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_fog_light_front-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Fog light front', + : 'problem', + : 'Volvo XC40 Fog light front', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_fog_light_front', @@ -5190,8 +5190,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_fog_light_rear-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Fog light rear', + : 'problem', + : 'Volvo XC40 Fog light rear', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_fog_light_rear', @@ -5241,8 +5241,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_hazard_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Hazard lights', + : 'problem', + : 'Volvo XC40 Hazard lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_hazard_lights', @@ -5292,8 +5292,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_high_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 High beam left', + : 'problem', + : 'Volvo XC40 High beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_high_beam_left', @@ -5343,8 +5343,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_high_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 High beam right', + : 'problem', + : 'Volvo XC40 High beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_high_beam_right', @@ -5394,8 +5394,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC40 Hood', + : 'door', + : 'Volvo XC40 Hood', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_hood', @@ -5445,8 +5445,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_low_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Low beam left', + : 'problem', + : 'Volvo XC40 Low beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_low_beam_left', @@ -5496,8 +5496,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_low_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Low beam right', + : 'problem', + : 'Volvo XC40 Low beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_low_beam_right', @@ -5547,8 +5547,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_oil_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Oil level', + : 'problem', + : 'Volvo XC40 Oil level', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_oil_level', @@ -5598,8 +5598,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_position_light_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Position light front left', + : 'problem', + : 'Volvo XC40 Position light front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_position_light_front_left', @@ -5649,8 +5649,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_position_light_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Position light front right', + : 'problem', + : 'Volvo XC40 Position light front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_position_light_front_right', @@ -5700,8 +5700,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_position_light_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Position light rear left', + : 'problem', + : 'Volvo XC40 Position light rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_position_light_rear_left', @@ -5751,8 +5751,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_position_light_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Position light rear right', + : 'problem', + : 'Volvo XC40 Position light rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_position_light_rear_right', @@ -5802,8 +5802,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_registration_plate_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Registration plate light', + : 'problem', + : 'Volvo XC40 Registration plate light', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_registration_plate_light', @@ -5853,8 +5853,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_reverse_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Reverse lights', + : 'problem', + : 'Volvo XC40 Reverse lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_reverse_lights', @@ -5904,8 +5904,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_side_mark_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Side mark lights', + : 'problem', + : 'Volvo XC40 Side mark lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_side_mark_lights', @@ -5955,8 +5955,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC40 Sunroof', + : 'window', + : 'Volvo XC40 Sunroof', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_sunroof', @@ -6006,8 +6006,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_tailgate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC40 Tailgate', + : 'door', + : 'Volvo XC40 Tailgate', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_tailgate', @@ -6057,8 +6057,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_tank_lid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC40 Tank lid', + : 'door', + : 'Volvo XC40 Tank lid', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_tank_lid', @@ -6108,8 +6108,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_tire_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Tire front left', + : 'problem', + : 'Volvo XC40 Tire front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_tire_front_left', @@ -6159,8 +6159,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_tire_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Tire front right', + : 'problem', + : 'Volvo XC40 Tire front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_tire_front_right', @@ -6210,8 +6210,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_tire_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Tire rear left', + : 'problem', + : 'Volvo XC40 Tire rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_tire_rear_left', @@ -6261,8 +6261,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_tire_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Tire rear right', + : 'problem', + : 'Volvo XC40 Tire rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_tire_rear_right', @@ -6312,8 +6312,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_turn_indication_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Turn indication front left', + : 'problem', + : 'Volvo XC40 Turn indication front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_turn_indication_front_left', @@ -6363,8 +6363,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_turn_indication_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Turn indication front right', + : 'problem', + : 'Volvo XC40 Turn indication front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_turn_indication_front_right', @@ -6414,8 +6414,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_turn_indication_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Turn indication rear left', + : 'problem', + : 'Volvo XC40 Turn indication rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_turn_indication_rear_left', @@ -6465,8 +6465,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_turn_indication_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Turn indication rear right', + : 'problem', + : 'Volvo XC40 Turn indication rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_turn_indication_rear_right', @@ -6516,8 +6516,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_washer_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC40 Washer fluid', + : 'problem', + : 'Volvo XC40 Washer fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_washer_fluid', @@ -6567,8 +6567,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_window_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC40 Window front left', + : 'window', + : 'Volvo XC40 Window front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_window_front_left', @@ -6618,8 +6618,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_window_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC40 Window front right', + : 'window', + : 'Volvo XC40 Window front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_window_front_right', @@ -6669,8 +6669,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_window_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC40 Window rear left', + : 'window', + : 'Volvo XC40 Window rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_window_rear_left', @@ -6720,8 +6720,8 @@ # name: test_binary_sensor[xc40_electric_2024][binary_sensor.volvo_xc40_window_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC40 Window rear right', + : 'window', + : 'Volvo XC40 Window rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc40_window_rear_right', @@ -6771,8 +6771,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_brake_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Brake fluid', + : 'problem', + : 'Volvo XC90 Brake fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_brake_fluid', @@ -6822,8 +6822,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_brake_light_center-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Brake light center', + : 'problem', + : 'Volvo XC90 Brake light center', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_brake_light_center', @@ -6873,8 +6873,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_brake_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Brake light left', + : 'problem', + : 'Volvo XC90 Brake light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_brake_light_left', @@ -6924,8 +6924,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_brake_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Brake light right', + : 'problem', + : 'Volvo XC90 Brake light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_brake_light_right', @@ -6975,8 +6975,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_coolant_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Coolant level', + : 'problem', + : 'Volvo XC90 Coolant level', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_coolant_level', @@ -7026,8 +7026,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_daytime_running_light_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Daytime running light left', + : 'problem', + : 'Volvo XC90 Daytime running light left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_daytime_running_light_left', @@ -7077,8 +7077,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_daytime_running_light_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Daytime running light right', + : 'problem', + : 'Volvo XC90 Daytime running light right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_daytime_running_light_right', @@ -7128,8 +7128,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_door_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC90 Door front left', + : 'door', + : 'Volvo XC90 Door front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_door_front_left', @@ -7179,8 +7179,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_door_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC90 Door front right', + : 'door', + : 'Volvo XC90 Door front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_door_front_right', @@ -7230,8 +7230,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_door_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC90 Door rear left', + : 'door', + : 'Volvo XC90 Door rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_door_rear_left', @@ -7281,8 +7281,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_door_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC90 Door rear right', + : 'door', + : 'Volvo XC90 Door rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_door_rear_right', @@ -7332,8 +7332,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_engine_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Volvo XC90 Engine status', + : 'running', + : 'Volvo XC90 Engine status', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_engine_status', @@ -7383,8 +7383,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_fog_light_front-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Fog light front', + : 'problem', + : 'Volvo XC90 Fog light front', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_fog_light_front', @@ -7434,8 +7434,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_fog_light_rear-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Fog light rear', + : 'problem', + : 'Volvo XC90 Fog light rear', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_fog_light_rear', @@ -7485,8 +7485,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_hazard_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Hazard lights', + : 'problem', + : 'Volvo XC90 Hazard lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_hazard_lights', @@ -7536,8 +7536,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_high_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 High beam left', + : 'problem', + : 'Volvo XC90 High beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_high_beam_left', @@ -7587,8 +7587,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_high_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 High beam right', + : 'problem', + : 'Volvo XC90 High beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_high_beam_right', @@ -7638,8 +7638,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_hood-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC90 Hood', + : 'door', + : 'Volvo XC90 Hood', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_hood', @@ -7689,8 +7689,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_low_beam_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Low beam left', + : 'problem', + : 'Volvo XC90 Low beam left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_low_beam_left', @@ -7740,8 +7740,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_low_beam_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Low beam right', + : 'problem', + : 'Volvo XC90 Low beam right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_low_beam_right', @@ -7791,8 +7791,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_oil_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Oil level', + : 'problem', + : 'Volvo XC90 Oil level', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_oil_level', @@ -7842,8 +7842,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_position_light_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Position light front left', + : 'problem', + : 'Volvo XC90 Position light front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_position_light_front_left', @@ -7893,8 +7893,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_position_light_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Position light front right', + : 'problem', + : 'Volvo XC90 Position light front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_position_light_front_right', @@ -7944,8 +7944,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_position_light_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Position light rear left', + : 'problem', + : 'Volvo XC90 Position light rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_position_light_rear_left', @@ -7995,8 +7995,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_position_light_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Position light rear right', + : 'problem', + : 'Volvo XC90 Position light rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_position_light_rear_right', @@ -8046,8 +8046,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_registration_plate_light-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Registration plate light', + : 'problem', + : 'Volvo XC90 Registration plate light', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_registration_plate_light', @@ -8097,8 +8097,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_reverse_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Reverse lights', + : 'problem', + : 'Volvo XC90 Reverse lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_reverse_lights', @@ -8148,8 +8148,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_side_mark_lights-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Side mark lights', + : 'problem', + : 'Volvo XC90 Side mark lights', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_side_mark_lights', @@ -8199,8 +8199,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_sunroof-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC90 Sunroof', + : 'window', + : 'Volvo XC90 Sunroof', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_sunroof', @@ -8250,8 +8250,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_tailgate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC90 Tailgate', + : 'door', + : 'Volvo XC90 Tailgate', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_tailgate', @@ -8301,8 +8301,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_tank_lid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Volvo XC90 Tank lid', + : 'door', + : 'Volvo XC90 Tank lid', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_tank_lid', @@ -8352,8 +8352,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_tire_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Tire front left', + : 'problem', + : 'Volvo XC90 Tire front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_tire_front_left', @@ -8403,8 +8403,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_tire_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Tire front right', + : 'problem', + : 'Volvo XC90 Tire front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_tire_front_right', @@ -8454,8 +8454,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_tire_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Tire rear left', + : 'problem', + : 'Volvo XC90 Tire rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_tire_rear_left', @@ -8505,8 +8505,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_tire_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Tire rear right', + : 'problem', + : 'Volvo XC90 Tire rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_tire_rear_right', @@ -8556,8 +8556,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_turn_indication_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Turn indication front left', + : 'problem', + : 'Volvo XC90 Turn indication front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_turn_indication_front_left', @@ -8607,8 +8607,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_turn_indication_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Turn indication front right', + : 'problem', + : 'Volvo XC90 Turn indication front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_turn_indication_front_right', @@ -8658,8 +8658,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_turn_indication_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Turn indication rear left', + : 'problem', + : 'Volvo XC90 Turn indication rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_turn_indication_rear_left', @@ -8709,8 +8709,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_turn_indication_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Turn indication rear right', + : 'problem', + : 'Volvo XC90 Turn indication rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_turn_indication_rear_right', @@ -8760,8 +8760,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_washer_fluid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Volvo XC90 Washer fluid', + : 'problem', + : 'Volvo XC90 Washer fluid', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_washer_fluid', @@ -8811,8 +8811,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_window_front_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC90 Window front left', + : 'window', + : 'Volvo XC90 Window front left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_window_front_left', @@ -8862,8 +8862,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_window_front_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC90 Window front right', + : 'window', + : 'Volvo XC90 Window front right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_window_front_right', @@ -8913,8 +8913,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_window_rear_left-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC90 Window rear left', + : 'window', + : 'Volvo XC90 Window rear left', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_window_rear_left', @@ -8964,8 +8964,8 @@ # name: test_binary_sensor[xc90_petrol_2019][binary_sensor.volvo_xc90_window_rear_right-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'window', - 'friendly_name': 'Volvo XC90 Window rear right', + : 'window', + : 'Volvo XC90 Window rear right', }), 'context': , 'entity_id': 'binary_sensor.volvo_xc90_window_rear_right', diff --git a/tests/components/volvo/snapshots/test_button.ambr b/tests/components/volvo/snapshots/test_button.ambr index 24d10f5a45e..ae8343264e7 100644 --- a/tests/components/volvo/snapshots/test_button.ambr +++ b/tests/components/volvo/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button[ex30_2024][button.volvo_ex30_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Flash', + : 'Volvo EX30 Flash', }), 'context': , 'entity_id': 'button.volvo_ex30_flash', @@ -89,7 +89,7 @@ # name: test_button[ex30_2024][button.volvo_ex30_honk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Honk', + : 'Volvo EX30 Honk', }), 'context': , 'entity_id': 'button.volvo_ex30_honk', @@ -139,7 +139,7 @@ # name: test_button[ex30_2024][button.volvo_ex30_honk_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Honk & flash', + : 'Volvo EX30 Honk & flash', }), 'context': , 'entity_id': 'button.volvo_ex30_honk_flash', @@ -189,7 +189,7 @@ # name: test_button[ex30_2024][button.volvo_ex30_lock_reduced_guard-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Lock reduced guard', + : 'Volvo EX30 Lock reduced guard', }), 'context': , 'entity_id': 'button.volvo_ex30_lock_reduced_guard', @@ -239,7 +239,7 @@ # name: test_button[ex30_2024][button.volvo_ex30_start_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Start climatization', + : 'Volvo EX30 Start climatization', }), 'context': , 'entity_id': 'button.volvo_ex30_start_climatization', @@ -289,7 +289,7 @@ # name: test_button[ex30_2024][button.volvo_ex30_stop_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Stop climatization', + : 'Volvo EX30 Stop climatization', }), 'context': , 'entity_id': 'button.volvo_ex30_stop_climatization', @@ -339,7 +339,7 @@ # name: test_button[s90_diesel_2018][button.volvo_s90_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Flash', + : 'Volvo S90 Flash', }), 'context': , 'entity_id': 'button.volvo_s90_flash', @@ -389,7 +389,7 @@ # name: test_button[s90_diesel_2018][button.volvo_s90_honk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Honk', + : 'Volvo S90 Honk', }), 'context': , 'entity_id': 'button.volvo_s90_honk', @@ -439,7 +439,7 @@ # name: test_button[s90_diesel_2018][button.volvo_s90_honk_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Honk & flash', + : 'Volvo S90 Honk & flash', }), 'context': , 'entity_id': 'button.volvo_s90_honk_flash', @@ -489,7 +489,7 @@ # name: test_button[s90_diesel_2018][button.volvo_s90_lock_reduced_guard-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Lock reduced guard', + : 'Volvo S90 Lock reduced guard', }), 'context': , 'entity_id': 'button.volvo_s90_lock_reduced_guard', @@ -539,7 +539,7 @@ # name: test_button[s90_diesel_2018][button.volvo_s90_start_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Start climatization', + : 'Volvo S90 Start climatization', }), 'context': , 'entity_id': 'button.volvo_s90_start_climatization', @@ -589,7 +589,7 @@ # name: test_button[s90_diesel_2018][button.volvo_s90_stop_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Stop climatization', + : 'Volvo S90 Stop climatization', }), 'context': , 'entity_id': 'button.volvo_s90_stop_climatization', @@ -639,7 +639,7 @@ # name: test_button[xc40_electric_2024][button.volvo_xc40_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Flash', + : 'Volvo XC40 Flash', }), 'context': , 'entity_id': 'button.volvo_xc40_flash', @@ -689,7 +689,7 @@ # name: test_button[xc40_electric_2024][button.volvo_xc40_honk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Honk', + : 'Volvo XC40 Honk', }), 'context': , 'entity_id': 'button.volvo_xc40_honk', @@ -739,7 +739,7 @@ # name: test_button[xc40_electric_2024][button.volvo_xc40_honk_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Honk & flash', + : 'Volvo XC40 Honk & flash', }), 'context': , 'entity_id': 'button.volvo_xc40_honk_flash', @@ -789,7 +789,7 @@ # name: test_button[xc40_electric_2024][button.volvo_xc40_lock_reduced_guard-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Lock reduced guard', + : 'Volvo XC40 Lock reduced guard', }), 'context': , 'entity_id': 'button.volvo_xc40_lock_reduced_guard', @@ -839,7 +839,7 @@ # name: test_button[xc40_electric_2024][button.volvo_xc40_start_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Start climatization', + : 'Volvo XC40 Start climatization', }), 'context': , 'entity_id': 'button.volvo_xc40_start_climatization', @@ -889,7 +889,7 @@ # name: test_button[xc40_electric_2024][button.volvo_xc40_stop_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Stop climatization', + : 'Volvo XC40 Stop climatization', }), 'context': , 'entity_id': 'button.volvo_xc40_stop_climatization', @@ -939,7 +939,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Flash', + : 'Volvo XC90 Flash', }), 'context': , 'entity_id': 'button.volvo_xc90_flash', @@ -989,7 +989,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_honk-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Honk', + : 'Volvo XC90 Honk', }), 'context': , 'entity_id': 'button.volvo_xc90_honk', @@ -1039,7 +1039,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_honk_flash-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Honk & flash', + : 'Volvo XC90 Honk & flash', }), 'context': , 'entity_id': 'button.volvo_xc90_honk_flash', @@ -1089,7 +1089,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_lock_reduced_guard-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Lock reduced guard', + : 'Volvo XC90 Lock reduced guard', }), 'context': , 'entity_id': 'button.volvo_xc90_lock_reduced_guard', @@ -1139,7 +1139,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_start_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Start climatization', + : 'Volvo XC90 Start climatization', }), 'context': , 'entity_id': 'button.volvo_xc90_start_climatization', @@ -1189,7 +1189,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_start_engine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Start engine', + : 'Volvo XC90 Start engine', }), 'context': , 'entity_id': 'button.volvo_xc90_start_engine', @@ -1239,7 +1239,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_stop_climatization-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Stop climatization', + : 'Volvo XC90 Stop climatization', }), 'context': , 'entity_id': 'button.volvo_xc90_stop_climatization', @@ -1289,7 +1289,7 @@ # name: test_button[xc90_petrol_2019][button.volvo_xc90_stop_engine-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Stop engine', + : 'Volvo XC90 Stop engine', }), 'context': , 'entity_id': 'button.volvo_xc90_stop_engine', diff --git a/tests/components/volvo/snapshots/test_device_tracker.ambr b/tests/components/volvo/snapshots/test_device_tracker.ambr index efc050e3223..0eaad5ec01b 100644 --- a/tests/components/volvo/snapshots/test_device_tracker.ambr +++ b/tests/components/volvo/snapshots/test_device_tracker.ambr @@ -41,7 +41,7 @@ # name: test_device_tracker[ex30_2024][device_tracker.volvo_ex30_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Location', + : 'Volvo EX30 Location', : 0, : list([ ]), @@ -100,7 +100,7 @@ # name: test_device_tracker[s90_diesel_2018][device_tracker.volvo_s90_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Location', + : 'Volvo S90 Location', : 0, : list([ ]), @@ -159,7 +159,7 @@ # name: test_device_tracker[xc40_electric_2024][device_tracker.volvo_xc40_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Location', + : 'Volvo XC40 Location', : 0, : list([ ]), @@ -218,7 +218,7 @@ # name: test_device_tracker[xc90_petrol_2019][device_tracker.volvo_xc90_location-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Location', + : 'Volvo XC90 Location', : 0, : list([ ]), diff --git a/tests/components/volvo/snapshots/test_lock.ambr b/tests/components/volvo/snapshots/test_lock.ambr index 74e80d998c6..0e16fb5a20e 100644 --- a/tests/components/volvo/snapshots/test_lock.ambr +++ b/tests/components/volvo/snapshots/test_lock.ambr @@ -39,8 +39,8 @@ # name: test_lock[ex30_2024][lock.volvo_ex30_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Lock', - 'supported_features': , + : 'Volvo EX30 Lock', + : , }), 'context': , 'entity_id': 'lock.volvo_ex30_lock', @@ -90,8 +90,8 @@ # name: test_lock[s90_diesel_2018][lock.volvo_s90_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Lock', - 'supported_features': , + : 'Volvo S90 Lock', + : , }), 'context': , 'entity_id': 'lock.volvo_s90_lock', @@ -141,8 +141,8 @@ # name: test_lock[xc40_electric_2024][lock.volvo_xc40_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Lock', - 'supported_features': , + : 'Volvo XC40 Lock', + : , }), 'context': , 'entity_id': 'lock.volvo_xc40_lock', @@ -192,8 +192,8 @@ # name: test_lock[xc90_petrol_2019][lock.volvo_xc90_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Lock', - 'supported_features': , + : 'Volvo XC90 Lock', + : , }), 'context': , 'entity_id': 'lock.volvo_xc90_lock', diff --git a/tests/components/volvo/snapshots/test_sensor.ambr b/tests/components/volvo/snapshots/test_sensor.ambr index a9ec5ab132a..a5ef479ccae 100644 --- a/tests/components/volvo/snapshots/test_sensor.ambr +++ b/tests/components/volvo/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Volvo EX30 Battery', + : 'battery', + : 'Volvo EX30 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_ex30_battery', @@ -100,9 +100,9 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Volvo EX30 Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Volvo EX30 Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_battery_capacity', @@ -160,8 +160,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_car_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo EX30 Car connection', + : 'enum', + : 'Volvo EX30 Car connection', : list([ 'available', 'car_in_use', @@ -224,8 +224,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_charging_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo EX30 Charging connection status', + : 'enum', + : 'Volvo EX30 Charging connection status', : list([ 'connected', 'disconnected', @@ -285,10 +285,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Volvo EX30 Charging power', + : 'power', + : 'Volvo EX30 Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_charging_power', @@ -346,8 +346,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_charging_power_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo EX30 Charging power status', + : 'enum', + : 'Volvo EX30 Charging power status', : list([ 'fault', 'initialization', @@ -413,8 +413,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_charging_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo EX30 Charging status', + : 'enum', + : 'Volvo EX30 Charging status', : list([ 'charging', 'discharging', @@ -478,8 +478,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_charging_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo EX30 Charging type', + : 'enum', + : 'Volvo EX30 Charging type', : list([ 'ac', 'dc', @@ -537,8 +537,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Direction', - 'unit_of_measurement': '°', + : 'Volvo EX30 Direction', + : '°', }), 'context': , 'entity_id': 'sensor.volvo_ex30_direction', @@ -593,10 +593,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_distance_to_empty_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo EX30 Distance to empty battery', + : 'distance', + : 'Volvo EX30 Distance to empty battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_distance_to_empty_battery', @@ -651,10 +651,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_distance_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo EX30 Distance to service', + : 'distance', + : 'Volvo EX30 Distance to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_distance_to_service', @@ -709,10 +709,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_estimated_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo EX30 Estimated charging time', + : 'duration', + : 'Volvo EX30 Estimated charging time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_estimated_charging_time', @@ -767,10 +767,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo EX30 Odometer', + : 'distance', + : 'Volvo EX30 Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_odometer', @@ -834,8 +834,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo EX30 Service', + : 'enum', + : 'Volvo EX30 Service', : list([ 'distance_driven_almost_time_for_service', 'distance_driven_overdue_for_service', @@ -901,8 +901,8 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_target_battery_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Target battery charge level', - 'unit_of_measurement': '%', + : 'Volvo EX30 Target battery charge level', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_ex30_target_battery_charge_level', @@ -957,10 +957,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_time_to_engine_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo EX30 Time to engine service', + : 'duration', + : 'Volvo EX30 Time to engine service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_time_to_engine_service', @@ -1015,10 +1015,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_time_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo EX30 Time to service', + : 'duration', + : 'Volvo EX30 Time to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_time_to_service', @@ -1073,10 +1073,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_trip_automatic_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo EX30 Trip automatic average speed', + : 'speed', + : 'Volvo EX30 Trip automatic average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_trip_automatic_average_speed', @@ -1131,10 +1131,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_trip_automatic_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo EX30 Trip automatic distance', + : 'distance', + : 'Volvo EX30 Trip automatic distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_trip_automatic_distance', @@ -1189,9 +1189,9 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_trip_manual_average_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo EX30 Trip manual average energy consumption', + : 'Volvo EX30 Trip manual average energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_trip_manual_average_energy_consumption', @@ -1246,10 +1246,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_trip_manual_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo EX30 Trip manual average speed', + : 'speed', + : 'Volvo EX30 Trip manual average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_trip_manual_average_speed', @@ -1304,10 +1304,10 @@ # name: test_sensor[ex30_2024][sensor.volvo_ex30_trip_manual_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo EX30 Trip manual distance', + : 'distance', + : 'Volvo EX30 Trip manual distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_ex30_trip_manual_distance', @@ -1362,10 +1362,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Volvo S90 Battery', + : 'battery', + : 'Volvo S90 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_s90_battery', @@ -1423,8 +1423,8 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_car_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo S90 Car connection', + : 'enum', + : 'Volvo S90 Car connection', : list([ 'available', 'car_in_use', @@ -1484,8 +1484,8 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Direction', - 'unit_of_measurement': '°', + : 'Volvo S90 Direction', + : '°', }), 'context': , 'entity_id': 'sensor.volvo_s90_direction', @@ -1540,10 +1540,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_distance_to_empty_tank-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo S90 Distance to empty tank', + : 'distance', + : 'Volvo S90 Distance to empty tank', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_distance_to_empty_tank', @@ -1598,10 +1598,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_distance_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo S90 Distance to service', + : 'distance', + : 'Volvo S90 Distance to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_distance_to_service', @@ -1656,10 +1656,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_fuel_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Volvo S90 Fuel amount', + : 'volume_storage', + : 'Volvo S90 Fuel amount', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_fuel_amount', @@ -1714,10 +1714,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo S90 Odometer', + : 'distance', + : 'Volvo S90 Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_odometer', @@ -1781,8 +1781,8 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo S90 Service', + : 'enum', + : 'Volvo S90 Service', : list([ 'distance_driven_almost_time_for_service', 'distance_driven_overdue_for_service', @@ -1850,10 +1850,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_time_to_engine_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo S90 Time to engine service', + : 'duration', + : 'Volvo S90 Time to engine service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_time_to_engine_service', @@ -1908,10 +1908,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_time_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo S90 Time to service', + : 'duration', + : 'Volvo S90 Time to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_time_to_service', @@ -1966,10 +1966,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_trip_automatic_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo S90 Trip automatic average speed', + : 'speed', + : 'Volvo S90 Trip automatic average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_trip_automatic_average_speed', @@ -2024,10 +2024,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_trip_automatic_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo S90 Trip automatic distance', + : 'distance', + : 'Volvo S90 Trip automatic distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_trip_automatic_distance', @@ -2082,9 +2082,9 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_trip_manual_average_fuel_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo S90 Trip manual average fuel consumption', + : 'Volvo S90 Trip manual average fuel consumption', : , - 'unit_of_measurement': 'L/100 km', + : 'L/100 km', }), 'context': , 'entity_id': 'sensor.volvo_s90_trip_manual_average_fuel_consumption', @@ -2139,10 +2139,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_trip_manual_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo S90 Trip manual average speed', + : 'speed', + : 'Volvo S90 Trip manual average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_trip_manual_average_speed', @@ -2197,10 +2197,10 @@ # name: test_sensor[s90_diesel_2018][sensor.volvo_s90_trip_manual_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo S90 Trip manual distance', + : 'distance', + : 'Volvo S90 Trip manual distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_s90_trip_manual_distance', @@ -2255,10 +2255,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Volvo XC40 Battery', + : 'battery', + : 'Volvo XC40 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_xc40_battery', @@ -2311,9 +2311,9 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Volvo XC40 Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Volvo XC40 Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_battery_capacity', @@ -2371,8 +2371,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_car_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC40 Car connection', + : 'enum', + : 'Volvo XC40 Car connection', : list([ 'available', 'car_in_use', @@ -2435,8 +2435,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_charging_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC40 Charging connection status', + : 'enum', + : 'Volvo XC40 Charging connection status', : list([ 'connected', 'disconnected', @@ -2496,10 +2496,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_charging_limit-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Volvo XC40 Charging limit', + : 'current', + : 'Volvo XC40 Charging limit', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_charging_limit', @@ -2554,10 +2554,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_charging_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Volvo XC40 Charging power', + : 'power', + : 'Volvo XC40 Charging power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_charging_power', @@ -2615,8 +2615,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_charging_power_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC40 Charging power status', + : 'enum', + : 'Volvo XC40 Charging power status', : list([ 'fault', 'initialization', @@ -2682,8 +2682,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_charging_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC40 Charging status', + : 'enum', + : 'Volvo XC40 Charging status', : list([ 'charging', 'discharging', @@ -2747,8 +2747,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_charging_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC40 Charging type', + : 'enum', + : 'Volvo XC40 Charging type', : list([ 'ac', 'dc', @@ -2806,8 +2806,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Direction', - 'unit_of_measurement': '°', + : 'Volvo XC40 Direction', + : '°', }), 'context': , 'entity_id': 'sensor.volvo_xc40_direction', @@ -2862,10 +2862,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_distance_to_empty_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC40 Distance to empty battery', + : 'distance', + : 'Volvo XC40 Distance to empty battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_distance_to_empty_battery', @@ -2920,10 +2920,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_distance_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC40 Distance to service', + : 'distance', + : 'Volvo XC40 Distance to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_distance_to_service', @@ -2978,10 +2978,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_estimated_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC40 Estimated charging time', + : 'duration', + : 'Volvo XC40 Estimated charging time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_estimated_charging_time', @@ -3036,10 +3036,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC40 Odometer', + : 'distance', + : 'Volvo XC40 Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_odometer', @@ -3103,8 +3103,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC40 Service', + : 'enum', + : 'Volvo XC40 Service', : list([ 'distance_driven_almost_time_for_service', 'distance_driven_overdue_for_service', @@ -3170,8 +3170,8 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_target_battery_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Target battery charge level', - 'unit_of_measurement': '%', + : 'Volvo XC40 Target battery charge level', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_xc40_target_battery_charge_level', @@ -3226,10 +3226,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_time_to_engine_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC40 Time to engine service', + : 'duration', + : 'Volvo XC40 Time to engine service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_time_to_engine_service', @@ -3284,10 +3284,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_time_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC40 Time to service', + : 'duration', + : 'Volvo XC40 Time to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_time_to_service', @@ -3342,10 +3342,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_trip_automatic_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo XC40 Trip automatic average speed', + : 'speed', + : 'Volvo XC40 Trip automatic average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_trip_automatic_average_speed', @@ -3400,10 +3400,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_trip_automatic_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC40 Trip automatic distance', + : 'distance', + : 'Volvo XC40 Trip automatic distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_trip_automatic_distance', @@ -3458,9 +3458,9 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_trip_manual_average_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC40 Trip manual average energy consumption', + : 'Volvo XC40 Trip manual average energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_trip_manual_average_energy_consumption', @@ -3515,10 +3515,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_trip_manual_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo XC40 Trip manual average speed', + : 'speed', + : 'Volvo XC40 Trip manual average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_trip_manual_average_speed', @@ -3573,10 +3573,10 @@ # name: test_sensor[xc40_electric_2024][sensor.volvo_xc40_trip_manual_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC40 Trip manual distance', + : 'distance', + : 'Volvo XC40 Trip manual distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc40_trip_manual_distance', @@ -3631,10 +3631,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Volvo XC60 Battery', + : 'battery', + : 'Volvo XC60 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_xc60_battery', @@ -3687,9 +3687,9 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Volvo XC60 Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Volvo XC60 Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_battery_capacity', @@ -3747,8 +3747,8 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_car_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC60 Car connection', + : 'enum', + : 'Volvo XC60 Car connection', : list([ 'available', 'car_in_use', @@ -3811,8 +3811,8 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_charging_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC60 Charging connection status', + : 'enum', + : 'Volvo XC60 Charging connection status', : list([ 'connected', 'disconnected', @@ -3876,8 +3876,8 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_charging_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC60 Charging status', + : 'enum', + : 'Volvo XC60 Charging status', : list([ 'charging', 'discharging', @@ -3938,8 +3938,8 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC60 Direction', - 'unit_of_measurement': '°', + : 'Volvo XC60 Direction', + : '°', }), 'context': , 'entity_id': 'sensor.volvo_xc60_direction', @@ -3994,10 +3994,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_distance_to_empty_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC60 Distance to empty battery', + : 'distance', + : 'Volvo XC60 Distance to empty battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_distance_to_empty_battery', @@ -4052,10 +4052,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_distance_to_empty_tank-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC60 Distance to empty tank', + : 'distance', + : 'Volvo XC60 Distance to empty tank', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_distance_to_empty_tank', @@ -4110,10 +4110,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_distance_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC60 Distance to service', + : 'distance', + : 'Volvo XC60 Distance to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_distance_to_service', @@ -4168,10 +4168,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_fuel_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Volvo XC60 Fuel amount', + : 'volume_storage', + : 'Volvo XC60 Fuel amount', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_fuel_amount', @@ -4226,10 +4226,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC60 Odometer', + : 'distance', + : 'Volvo XC60 Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_odometer', @@ -4293,8 +4293,8 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC60 Service', + : 'enum', + : 'Volvo XC60 Service', : list([ 'distance_driven_almost_time_for_service', 'distance_driven_overdue_for_service', @@ -4360,8 +4360,8 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_target_battery_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC60 Target battery charge level', - 'unit_of_measurement': '%', + : 'Volvo XC60 Target battery charge level', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_xc60_target_battery_charge_level', @@ -4416,10 +4416,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_time_to_engine_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC60 Time to engine service', + : 'duration', + : 'Volvo XC60 Time to engine service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_time_to_engine_service', @@ -4474,10 +4474,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_time_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC60 Time to service', + : 'duration', + : 'Volvo XC60 Time to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_time_to_service', @@ -4532,10 +4532,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_trip_automatic_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC60 Trip automatic distance', + : 'distance', + : 'Volvo XC60 Trip automatic distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_trip_automatic_distance', @@ -4590,9 +4590,9 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_trip_manual_average_fuel_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC60 Trip manual average fuel consumption', + : 'Volvo XC60 Trip manual average fuel consumption', : , - 'unit_of_measurement': 'L/100 km', + : 'L/100 km', }), 'context': , 'entity_id': 'sensor.volvo_xc60_trip_manual_average_fuel_consumption', @@ -4647,10 +4647,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_trip_manual_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo XC60 Trip manual average speed', + : 'speed', + : 'Volvo XC60 Trip manual average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_trip_manual_average_speed', @@ -4705,10 +4705,10 @@ # name: test_sensor[xc60_phev_2020][sensor.volvo_xc60_trip_manual_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC60 Trip manual distance', + : 'distance', + : 'Volvo XC60 Trip manual distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc60_trip_manual_distance', @@ -4763,10 +4763,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Volvo XC90 Battery', + : 'battery', + : 'Volvo XC90 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_xc90_battery', @@ -4824,8 +4824,8 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_car_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Car connection', + : 'enum', + : 'Volvo XC90 Car connection', : list([ 'available', 'car_in_use', @@ -4885,8 +4885,8 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Direction', - 'unit_of_measurement': '°', + : 'Volvo XC90 Direction', + : '°', }), 'context': , 'entity_id': 'sensor.volvo_xc90_direction', @@ -4941,10 +4941,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_distance_to_empty_tank-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Distance to empty tank', + : 'distance', + : 'Volvo XC90 Distance to empty tank', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_distance_to_empty_tank', @@ -4999,10 +4999,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_distance_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Distance to service', + : 'distance', + : 'Volvo XC90 Distance to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_distance_to_service', @@ -5057,10 +5057,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_fuel_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Volvo XC90 Fuel amount', + : 'volume_storage', + : 'Volvo XC90 Fuel amount', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_fuel_amount', @@ -5115,10 +5115,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Odometer', + : 'distance', + : 'Volvo XC90 Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_odometer', @@ -5182,8 +5182,8 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Service', + : 'enum', + : 'Volvo XC90 Service', : list([ 'distance_driven_almost_time_for_service', 'distance_driven_overdue_for_service', @@ -5251,10 +5251,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_time_to_engine_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC90 Time to engine service', + : 'duration', + : 'Volvo XC90 Time to engine service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_time_to_engine_service', @@ -5309,10 +5309,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_time_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC90 Time to service', + : 'duration', + : 'Volvo XC90 Time to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_time_to_service', @@ -5367,10 +5367,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_trip_automatic_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo XC90 Trip automatic average speed', + : 'speed', + : 'Volvo XC90 Trip automatic average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_automatic_average_speed', @@ -5425,10 +5425,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_trip_automatic_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Trip automatic distance', + : 'distance', + : 'Volvo XC90 Trip automatic distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_automatic_distance', @@ -5483,9 +5483,9 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_trip_manual_average_fuel_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Trip manual average fuel consumption', + : 'Volvo XC90 Trip manual average fuel consumption', : , - 'unit_of_measurement': 'L/100 km', + : 'L/100 km', }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_manual_average_fuel_consumption', @@ -5540,10 +5540,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_trip_manual_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo XC90 Trip manual average speed', + : 'speed', + : 'Volvo XC90 Trip manual average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_manual_average_speed', @@ -5598,10 +5598,10 @@ # name: test_sensor[xc90_petrol_2019][sensor.volvo_xc90_trip_manual_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Trip manual distance', + : 'distance', + : 'Volvo XC90 Trip manual distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_manual_distance', @@ -5656,10 +5656,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Volvo XC90 Battery', + : 'battery', + : 'Volvo XC90 Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_xc90_battery', @@ -5712,9 +5712,9 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_battery_capacity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy_storage', - 'friendly_name': 'Volvo XC90 Battery capacity', - 'unit_of_measurement': , + : 'energy_storage', + : 'Volvo XC90 Battery capacity', + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_battery_capacity', @@ -5772,8 +5772,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_car_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Car connection', + : 'enum', + : 'Volvo XC90 Car connection', : list([ 'available', 'car_in_use', @@ -5836,8 +5836,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_charging_connection_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Charging connection status', + : 'enum', + : 'Volvo XC90 Charging connection status', : list([ 'connected', 'disconnected', @@ -5900,8 +5900,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_charging_power_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Charging power status', + : 'enum', + : 'Volvo XC90 Charging power status', : list([ 'fault', 'initialization', @@ -5967,8 +5967,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_charging_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Charging status', + : 'enum', + : 'Volvo XC90 Charging status', : list([ 'charging', 'discharging', @@ -6032,8 +6032,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_charging_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Charging type', + : 'enum', + : 'Volvo XC90 Charging type', : list([ 'ac', 'dc', @@ -6091,8 +6091,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Direction', - 'unit_of_measurement': '°', + : 'Volvo XC90 Direction', + : '°', }), 'context': , 'entity_id': 'sensor.volvo_xc90_direction', @@ -6147,10 +6147,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_distance_to_empty_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Distance to empty battery', + : 'distance', + : 'Volvo XC90 Distance to empty battery', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_distance_to_empty_battery', @@ -6205,10 +6205,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_distance_to_empty_tank-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Distance to empty tank', + : 'distance', + : 'Volvo XC90 Distance to empty tank', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_distance_to_empty_tank', @@ -6263,10 +6263,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_distance_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Distance to service', + : 'distance', + : 'Volvo XC90 Distance to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_distance_to_service', @@ -6321,10 +6321,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_estimated_charging_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC90 Estimated charging time', + : 'duration', + : 'Volvo XC90 Estimated charging time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_estimated_charging_time', @@ -6379,10 +6379,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_fuel_amount-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_storage', - 'friendly_name': 'Volvo XC90 Fuel amount', + : 'volume_storage', + : 'Volvo XC90 Fuel amount', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_fuel_amount', @@ -6437,10 +6437,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_odometer-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Odometer', + : 'distance', + : 'Volvo XC90 Odometer', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_odometer', @@ -6504,8 +6504,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Volvo XC90 Service', + : 'enum', + : 'Volvo XC90 Service', : list([ 'distance_driven_almost_time_for_service', 'distance_driven_overdue_for_service', @@ -6571,8 +6571,8 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_target_battery_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Target battery charge level', - 'unit_of_measurement': '%', + : 'Volvo XC90 Target battery charge level', + : '%', }), 'context': , 'entity_id': 'sensor.volvo_xc90_target_battery_charge_level', @@ -6627,10 +6627,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_time_to_engine_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC90 Time to engine service', + : 'duration', + : 'Volvo XC90 Time to engine service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_time_to_engine_service', @@ -6685,10 +6685,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_time_to_service-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Volvo XC90 Time to service', + : 'duration', + : 'Volvo XC90 Time to service', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_time_to_service', @@ -6743,9 +6743,9 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_trip_automatic_average_fuel_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Trip automatic average fuel consumption', + : 'Volvo XC90 Trip automatic average fuel consumption', : , - 'unit_of_measurement': 'L/100 km', + : 'L/100 km', }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_automatic_average_fuel_consumption', @@ -6800,10 +6800,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_trip_automatic_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo XC90 Trip automatic average speed', + : 'speed', + : 'Volvo XC90 Trip automatic average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_automatic_average_speed', @@ -6858,10 +6858,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_trip_automatic_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Trip automatic distance', + : 'distance', + : 'Volvo XC90 Trip automatic distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_automatic_distance', @@ -6916,9 +6916,9 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_trip_manual_average_energy_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Trip manual average energy consumption', + : 'Volvo XC90 Trip manual average energy consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_manual_average_energy_consumption', @@ -6973,9 +6973,9 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_trip_manual_average_fuel_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Volvo XC90 Trip manual average fuel consumption', + : 'Volvo XC90 Trip manual average fuel consumption', : , - 'unit_of_measurement': 'L/100 km', + : 'L/100 km', }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_manual_average_fuel_consumption', @@ -7030,10 +7030,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_trip_manual_average_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'Volvo XC90 Trip manual average speed', + : 'speed', + : 'Volvo XC90 Trip manual average speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_manual_average_speed', @@ -7088,10 +7088,10 @@ # name: test_sensor[xc90_phev_2024][sensor.volvo_xc90_trip_manual_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'Volvo XC90 Trip manual distance', + : 'distance', + : 'Volvo XC90 Trip manual distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.volvo_xc90_trip_manual_distance', diff --git a/tests/components/waqi/snapshots/test_sensor.ambr b/tests/components/waqi/snapshots/test_sensor.ambr index 19ef745508b..cd20b7d9005 100644 --- a/tests/components/waqi/snapshots/test_sensor.ambr +++ b/tests/components/waqi/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensor[sensor.de_jongweg_utrecht_air_quality_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'device_class': 'aqi', - 'friendly_name': 'de Jongweg, Utrecht Air quality index', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'aqi', + : 'de Jongweg, Utrecht Air quality index', : , }), 'context': , @@ -96,8 +96,8 @@ # name: test_sensor[sensor.de_jongweg_utrecht_carbon_monoxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'friendly_name': 'de Jongweg, Utrecht Carbon monoxide', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'de Jongweg, Utrecht Carbon monoxide', : , }), 'context': , @@ -158,9 +158,9 @@ # name: test_sensor[sensor.de_jongweg_utrecht_dominant_pollutant-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'device_class': 'enum', - 'friendly_name': 'de Jongweg, Utrecht Dominant pollutant', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'enum', + : 'de Jongweg, Utrecht Dominant pollutant', : list([ 'co', 'no2', @@ -221,11 +221,11 @@ # name: test_sensor[sensor.de_jongweg_utrecht_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'device_class': 'humidity', - 'friendly_name': 'de Jongweg, Utrecht Humidity', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'humidity', + : 'de Jongweg, Utrecht Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.de_jongweg_utrecht_humidity', @@ -277,8 +277,8 @@ # name: test_sensor[sensor.de_jongweg_utrecht_nitrogen_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'friendly_name': 'de Jongweg, Utrecht Nitrogen dioxide', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'de Jongweg, Utrecht Nitrogen dioxide', : , }), 'context': , @@ -331,8 +331,8 @@ # name: test_sensor[sensor.de_jongweg_utrecht_ozone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'friendly_name': 'de Jongweg, Utrecht Ozone', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'de Jongweg, Utrecht Ozone', : , }), 'context': , @@ -385,8 +385,8 @@ # name: test_sensor[sensor.de_jongweg_utrecht_pm10-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'friendly_name': 'de Jongweg, Utrecht PM10', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'de Jongweg, Utrecht PM10', : , }), 'context': , @@ -439,8 +439,8 @@ # name: test_sensor[sensor.de_jongweg_utrecht_pm2_5-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'friendly_name': 'de Jongweg, Utrecht PM2.5', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'de Jongweg, Utrecht PM2.5', : , }), 'context': , @@ -496,11 +496,11 @@ # name: test_sensor[sensor.de_jongweg_utrecht_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'device_class': 'pressure', - 'friendly_name': 'de Jongweg, Utrecht Pressure', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'pressure', + : 'de Jongweg, Utrecht Pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.de_jongweg_utrecht_pressure', @@ -552,8 +552,8 @@ # name: test_sensor[sensor.de_jongweg_utrecht_sulphur_dioxide-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'friendly_name': 'de Jongweg, Utrecht Sulphur dioxide', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'de Jongweg, Utrecht Sulphur dioxide', : , }), 'context': , @@ -609,11 +609,11 @@ # name: test_sensor[sensor.de_jongweg_utrecht_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'device_class': 'temperature', - 'friendly_name': 'de Jongweg, Utrecht Temperature', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'temperature', + : 'de Jongweg, Utrecht Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.de_jongweg_utrecht_temperature', @@ -665,8 +665,8 @@ # name: test_sensor[sensor.de_jongweg_utrecht_visibility_using_nephelometry-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', - 'friendly_name': 'de Jongweg, Utrecht Visibility using nephelometry', + : 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project', + : 'de Jongweg, Utrecht Visibility using nephelometry', : , }), 'context': , diff --git a/tests/components/waterfurnace/snapshots/test_climate.ambr b/tests/components/waterfurnace/snapshots/test_climate.ambr index c8af70efc1a..b06e2b3e040 100644 --- a/tests/components/waterfurnace/snapshots/test_climate.ambr +++ b/tests/components/waterfurnace/snapshots/test_climate.ambr @@ -52,7 +52,7 @@ 'attributes': ReadOnlyDict({ : 43, : 21.2, - 'friendly_name': 'Test ABC Type', + : 'Test ABC Type', : 45, : , : list([ @@ -65,7 +65,7 @@ : 26.7, : 15, : 4.4, - 'supported_features': , + : , : None, : None, : 20.0, diff --git a/tests/components/waterfurnace/snapshots/test_sensor.ambr b/tests/components/waterfurnace/snapshots/test_sensor.ambr index a216a28b73e..2a714657c3f 100644 --- a/tests/components/waterfurnace/snapshots/test_sensor.ambr +++ b/tests/components/waterfurnace/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.test_abc_type_active_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test ABC Type Active setpoint', + : 'temperature', + : 'Test ABC Type Active setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_active_setpoint', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.test_abc_type_aux_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test ABC Type Aux power', + : 'power', + : 'Test ABC Type Aux power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_aux_power', @@ -160,10 +160,10 @@ # name: test_sensors[sensor.test_abc_type_compressor_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test ABC Type Compressor power', + : 'power', + : 'Test ABC Type Compressor power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_compressor_power', @@ -213,7 +213,7 @@ # name: test_sensors[sensor.test_abc_type_compressor_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test ABC Type Compressor speed', + : 'Test ABC Type Compressor speed', }), 'context': , 'entity_id': 'sensor.test_abc_type_compressor_speed', @@ -268,10 +268,10 @@ # name: test_sensors[sensor.test_abc_type_cooling_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test ABC Type Cooling setpoint', + : 'temperature', + : 'Test ABC Type Cooling setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_cooling_setpoint', @@ -323,10 +323,10 @@ # name: test_sensors[sensor.test_abc_type_dehumidification_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test ABC Type Dehumidification setpoint', + : 'humidity', + : 'Test ABC Type Dehumidification setpoint', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_abc_type_dehumidification_setpoint', @@ -381,10 +381,10 @@ # name: test_sensors[sensor.test_abc_type_fan_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test ABC Type Fan power', + : 'power', + : 'Test ABC Type Fan power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_fan_power', @@ -434,7 +434,7 @@ # name: test_sensors[sensor.test_abc_type_fan_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test ABC Type Fan speed', + : 'Test ABC Type Fan speed', }), 'context': , 'entity_id': 'sensor.test_abc_type_fan_speed', @@ -484,7 +484,7 @@ # name: test_sensors[sensor.test_abc_type_furnace_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test ABC Type Furnace mode', + : 'Test ABC Type Furnace mode', }), 'context': , 'entity_id': 'sensor.test_abc_type_furnace_mode', @@ -539,10 +539,10 @@ # name: test_sensors[sensor.test_abc_type_heating_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test ABC Type Heating setpoint', + : 'temperature', + : 'Test ABC Type Heating setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_heating_setpoint', @@ -594,10 +594,10 @@ # name: test_sensors[sensor.test_abc_type_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test ABC Type Humidity', + : 'humidity', + : 'Test ABC Type Humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_abc_type_humidity', @@ -649,10 +649,10 @@ # name: test_sensors[sensor.test_abc_type_humidity_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'Test ABC Type Humidity setpoint', + : 'humidity', + : 'Test ABC Type Humidity setpoint', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_abc_type_humidity_setpoint', @@ -707,10 +707,10 @@ # name: test_sensors[sensor.test_abc_type_leaving_air_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test ABC Type Leaving air temperature', + : 'temperature', + : 'Test ABC Type Leaving air temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_leaving_air_temperature', @@ -765,10 +765,10 @@ # name: test_sensors[sensor.test_abc_type_leaving_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test ABC Type Leaving water temperature', + : 'temperature', + : 'Test ABC Type Leaving water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_leaving_water_temperature', @@ -823,10 +823,10 @@ # name: test_sensors[sensor.test_abc_type_loop_pump_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test ABC Type Loop pump power', + : 'power', + : 'Test ABC Type Loop pump power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_loop_pump_power', @@ -881,10 +881,10 @@ # name: test_sensors[sensor.test_abc_type_loop_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test ABC Type Loop temperature', + : 'temperature', + : 'Test ABC Type Loop temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_loop_temperature', @@ -939,10 +939,10 @@ # name: test_sensors[sensor.test_abc_type_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test ABC Type Room temperature', + : 'temperature', + : 'Test ABC Type Room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_room_temperature', @@ -997,10 +997,10 @@ # name: test_sensors[sensor.test_abc_type_total_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test ABC Type Total power', + : 'power', + : 'Test ABC Type Total power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_total_power', @@ -1055,10 +1055,10 @@ # name: test_sensors[sensor.test_abc_type_water_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Test ABC Type Water flow rate', + : 'volume_flow_rate', + : 'Test ABC Type Water flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_abc_type_water_flow_rate', diff --git a/tests/components/watergate/snapshots/test_event.ambr b/tests/components/watergate/snapshots/test_event.ambr index 574379ea7cc..67579356043 100644 --- a/tests/components/watergate/snapshots/test_event.ambr +++ b/tests/components/watergate/snapshots/test_event.ambr @@ -47,7 +47,7 @@ : list([ 'duration_threshold', ]), - 'friendly_name': 'Sonic Duration auto shut-off', + : 'Sonic Duration auto shut-off', }), 'context': , 'entity_id': 'event.sonic_duration_auto_shut_off', @@ -105,7 +105,7 @@ : list([ 'volume_threshold', ]), - 'friendly_name': 'Sonic Volume auto shut-off', + : 'Sonic Volume auto shut-off', }), 'context': , 'entity_id': 'event.sonic_volume_auto_shut_off', diff --git a/tests/components/watergate/snapshots/test_sensor.ambr b/tests/components/watergate/snapshots/test_sensor.ambr index 06cf4199da4..d4d2da8a11f 100644 --- a/tests/components/watergate/snapshots/test_sensor.ambr +++ b/tests/components/watergate/snapshots/test_sensor.ambr @@ -39,8 +39,8 @@ # name: test_sensor[sensor.sonic_mqtt_up_since-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Sonic MQTT up since', + : 'timestamp', + : 'Sonic MQTT up since', }), 'context': , 'entity_id': 'sensor.sonic_mqtt_up_since', @@ -96,8 +96,8 @@ # name: test_sensor[sensor.sonic_power_supply_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Sonic Power supply mode', + : 'enum', + : 'Sonic Power supply mode', : list([ 'battery', 'external', @@ -154,10 +154,10 @@ # name: test_sensor[sensor.sonic_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Sonic Signal strength', + : 'signal_strength', + : 'Sonic Signal strength', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.sonic_signal_strength', @@ -207,8 +207,8 @@ # name: test_sensor[sensor.sonic_up_since-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Sonic Up since', + : 'timestamp', + : 'Sonic Up since', }), 'context': , 'entity_id': 'sensor.sonic_up_since', @@ -263,10 +263,10 @@ # name: test_sensor[sensor.sonic_volume_flow_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Sonic Volume flow rate', + : 'volume_flow_rate', + : 'Sonic Volume flow rate', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sonic_volume_flow_rate', @@ -321,10 +321,10 @@ # name: test_sensor[sensor.sonic_water_meter_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Sonic Water meter duration', + : 'duration', + : 'Sonic Water meter duration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sonic_water_meter_duration', @@ -379,10 +379,10 @@ # name: test_sensor[sensor.sonic_water_meter_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Sonic Water meter volume', + : 'water', + : 'Sonic Water meter volume', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sonic_water_meter_volume', @@ -437,10 +437,10 @@ # name: test_sensor[sensor.sonic_water_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'Sonic Water pressure', + : 'pressure', + : 'Sonic Water pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sonic_water_pressure', @@ -495,10 +495,10 @@ # name: test_sensor[sensor.sonic_water_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Sonic Water temperature', + : 'temperature', + : 'Sonic Water temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.sonic_water_temperature', @@ -548,8 +548,8 @@ # name: test_sensor[sensor.sonic_wi_fi_up_since-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Sonic Wi-Fi up since', + : 'timestamp', + : 'Sonic Wi-Fi up since', }), 'context': , 'entity_id': 'sensor.sonic_wi_fi_up_since', diff --git a/tests/components/watergate/snapshots/test_valve.ambr b/tests/components/watergate/snapshots/test_valve.ambr index cfeda112fd3..e4a35273487 100644 --- a/tests/components/watergate/snapshots/test_valve.ambr +++ b/tests/components/watergate/snapshots/test_valve.ambr @@ -2,10 +2,10 @@ # name: test_change_valve_state_snapshot StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Sonic', + : 'water', + : 'Sonic', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'valve.sonic', diff --git a/tests/components/watts/snapshots/test_climate.ambr b/tests/components/watts/snapshots/test_climate.ambr index 5bc2db84e4e..3b77c446e78 100644 --- a/tests/components/watts/snapshots/test_climate.ambr +++ b/tests/components/watts/snapshots/test_climate.ambr @@ -54,7 +54,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 19.0, - 'friendly_name': 'Bedroom Thermostat', + : 'Bedroom Thermostat', : , : list([ , @@ -70,7 +70,7 @@ 'defrost', 'timer', ]), - 'supported_features': , + : , : 21.0, }), 'context': , @@ -136,7 +136,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 20.5, - 'friendly_name': 'Living Room Thermostat', + : 'Living Room Thermostat', : , : list([ , @@ -152,7 +152,7 @@ 'defrost', 'timer', ]), - 'supported_features': , + : , : 22.0, }), 'context': , diff --git a/tests/components/watts/snapshots/test_switch.ambr b/tests/components/watts/snapshots/test_switch.ambr index 2b80c34d1b0..341f8897103 100644 --- a/tests/components/watts/snapshots/test_switch.ambr +++ b/tests/components/watts/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_entities[switch.living_room_living_room_switch-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Living Room Switch', + : 'Living Room Switch', }), 'context': , 'entity_id': 'switch.living_room_living_room_switch', diff --git a/tests/components/wattwaechter/snapshots/test_sensor.ambr b/tests/components/wattwaechter/snapshots/test_sensor.ambr index 955106504fb..09318e4724d 100644 --- a/tests/components/wattwaechter/snapshots/test_sensor.ambr +++ b/tests/components/wattwaechter/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.haushalt_test_active_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Haushalt Test Active power', + : 'power', + : 'Haushalt Test Active power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.haushalt_test_active_power', @@ -102,10 +102,10 @@ # name: test_all_entities[sensor.haushalt_test_current_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Haushalt Test Current L1', + : 'current', + : 'Haushalt Test Current L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.haushalt_test_current_l1', @@ -160,10 +160,10 @@ # name: test_all_entities[sensor.haushalt_test_grid_frequency-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'Haushalt Test Grid frequency', + : 'frequency', + : 'Haushalt Test Grid frequency', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.haushalt_test_grid_frequency', @@ -218,8 +218,8 @@ # name: test_all_entities[sensor.haushalt_test_power_factor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power_factor', - 'friendly_name': 'Haushalt Test Power factor', + : 'power_factor', + : 'Haushalt Test Power factor', : , }), 'context': , @@ -275,10 +275,10 @@ # name: test_all_entities[sensor.haushalt_test_total_consumption-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Haushalt Test Total consumption', + : 'energy', + : 'Haushalt Test Total consumption', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.haushalt_test_total_consumption', @@ -333,10 +333,10 @@ # name: test_all_entities[sensor.haushalt_test_total_feed_in-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Haushalt Test Total feed-in', + : 'energy', + : 'Haushalt Test Total feed-in', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.haushalt_test_total_feed_in', @@ -391,10 +391,10 @@ # name: test_all_entities[sensor.haushalt_test_voltage_l1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Haushalt Test Voltage L1', + : 'voltage', + : 'Haushalt Test Voltage L1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.haushalt_test_voltage_l1', diff --git a/tests/components/weatherflow_cloud/snapshots/test_sensor.ambr b/tests/components/weatherflow_cloud/snapshots/test_sensor.ambr index 212eb79ecd5..79bda4f52e3 100644 --- a/tests/components/weatherflow_cloud/snapshots/test_sensor.ambr +++ b/tests/components/weatherflow_cloud/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_all_entities[sensor.my_home_station_air_density-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Air density', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Air density', : , - 'unit_of_measurement': 'kg/m³', + : 'kg/m³', }), 'context': , 'entity_id': 'sensor.my_home_station_air_density', @@ -102,11 +102,11 @@ # name: test_all_entities[sensor.my_home_station_dew_point-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'temperature', - 'friendly_name': 'My Home Station Dew point', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'temperature', + : 'My Home Station Dew point', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_dew_point', @@ -161,11 +161,11 @@ # name: test_all_entities[sensor.my_home_station_feels_like-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'temperature', - 'friendly_name': 'My Home Station Feels like', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'temperature', + : 'My Home Station Feels like', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_feels_like', @@ -220,11 +220,11 @@ # name: test_all_entities[sensor.my_home_station_heat_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'temperature', - 'friendly_name': 'My Home Station Heat index', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'temperature', + : 'My Home Station Heat index', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_heat_index', @@ -279,11 +279,11 @@ # name: test_all_entities[sensor.my_home_station_illuminance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'illuminance', - 'friendly_name': 'My Home Station Illuminance', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'illuminance', + : 'My Home Station Illuminance', : , - 'unit_of_measurement': 'lx', + : 'lx', }), 'context': , 'entity_id': 'sensor.my_home_station_illuminance', @@ -335,8 +335,8 @@ # name: test_all_entities[sensor.my_home_station_lightning_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Lightning count', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Lightning count', : , }), 'context': , @@ -389,8 +389,8 @@ # name: test_all_entities[sensor.my_home_station_lightning_count_last_1_hr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Lightning count last 1 hr', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Lightning count last 1 hr', : , }), 'context': , @@ -443,8 +443,8 @@ # name: test_all_entities[sensor.my_home_station_lightning_count_last_3_hr-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Lightning count last 3 hr', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Lightning count last 3 hr', : , }), 'context': , @@ -500,11 +500,11 @@ # name: test_all_entities[sensor.my_home_station_lightning_last_distance-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'distance', - 'friendly_name': 'My Home Station Lightning last distance', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'distance', + : 'My Home Station Lightning last distance', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_lightning_last_distance', @@ -554,9 +554,9 @@ # name: test_all_entities[sensor.my_home_station_lightning_last_strike-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'timestamp', - 'friendly_name': 'My Home Station Lightning last strike', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'timestamp', + : 'My Home Station Lightning last strike', }), 'context': , 'entity_id': 'sensor.my_home_station_lightning_last_strike', @@ -611,10 +611,10 @@ # name: test_all_entities[sensor.my_home_station_nearcast_precipitation_duration_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Nearcast precipitation duration yesterday', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Nearcast precipitation duration yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_nearcast_precipitation_duration_yesterday', @@ -669,11 +669,11 @@ # name: test_all_entities[sensor.my_home_station_nearcast_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'precipitation', - 'friendly_name': 'My Home Station Nearcast precipitation today', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'precipitation', + : 'My Home Station Nearcast precipitation today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_nearcast_precipitation_today', @@ -728,11 +728,11 @@ # name: test_all_entities[sensor.my_home_station_nearcast_precipitation_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'precipitation', - 'friendly_name': 'My Home Station Nearcast precipitation yesterday', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'precipitation', + : 'My Home Station Nearcast precipitation yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_nearcast_precipitation_yesterday', @@ -787,10 +787,10 @@ # name: test_all_entities[sensor.my_home_station_precipitation_duration_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Precipitation duration today', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Precipitation duration today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_precipitation_duration_today', @@ -845,10 +845,10 @@ # name: test_all_entities[sensor.my_home_station_precipitation_duration_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Precipitation duration yesterday', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Precipitation duration yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_precipitation_duration_yesterday', @@ -903,11 +903,11 @@ # name: test_all_entities[sensor.my_home_station_precipitation_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'precipitation', - 'friendly_name': 'My Home Station Precipitation today', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'precipitation', + : 'My Home Station Precipitation today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_precipitation_today', @@ -968,9 +968,9 @@ # name: test_all_entities[sensor.my_home_station_precipitation_type_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'enum', - 'friendly_name': 'My Home Station Precipitation type yesterday', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'enum', + : 'My Home Station Precipitation type yesterday', : list([ 'none', 'rain', @@ -1032,11 +1032,11 @@ # name: test_all_entities[sensor.my_home_station_precipitation_yesterday-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'precipitation', - 'friendly_name': 'My Home Station Precipitation yesterday', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'precipitation', + : 'My Home Station Precipitation yesterday', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_precipitation_yesterday', @@ -1094,11 +1094,11 @@ # name: test_all_entities[sensor.my_home_station_pressure_barometric-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'My Home Station Pressure barometric', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'atmospheric_pressure', + : 'My Home Station Pressure barometric', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_pressure_barometric', @@ -1156,11 +1156,11 @@ # name: test_all_entities[sensor.my_home_station_pressure_sea_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'atmospheric_pressure', - 'friendly_name': 'My Home Station Pressure sea level', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'atmospheric_pressure', + : 'My Home Station Pressure sea level', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_pressure_sea_level', @@ -1215,11 +1215,11 @@ # name: test_all_entities[sensor.my_home_station_rain_last_hour-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'precipitation', - 'friendly_name': 'My Home Station Rain last hour', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'precipitation', + : 'My Home Station Rain last hour', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_rain_last_hour', @@ -1274,11 +1274,11 @@ # name: test_all_entities[sensor.my_home_station_relative_humidity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'humidity', - 'friendly_name': 'My Home Station Relative humidity', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'humidity', + : 'My Home Station Relative humidity', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.my_home_station_relative_humidity', @@ -1333,11 +1333,11 @@ # name: test_all_entities[sensor.my_home_station_solar_radiation-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'irradiance', - 'friendly_name': 'My Home Station Solar radiation', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'irradiance', + : 'My Home Station Solar radiation', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_solar_radiation', @@ -1392,11 +1392,11 @@ # name: test_all_entities[sensor.my_home_station_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'temperature', - 'friendly_name': 'My Home Station Temperature', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'temperature', + : 'My Home Station Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_temperature', @@ -1451,10 +1451,10 @@ # name: test_all_entities[sensor.my_home_station_uv_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station UV index', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station UV index', : , - 'unit_of_measurement': 'UV index', + : 'UV index', }), 'context': , 'entity_id': 'sensor.my_home_station_uv_index', @@ -1509,11 +1509,11 @@ # name: test_all_entities[sensor.my_home_station_wet_bulb_globe_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'temperature', - 'friendly_name': 'My Home Station Wet bulb globe temperature', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'temperature', + : 'My Home Station Wet bulb globe temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wet_bulb_globe_temperature', @@ -1568,11 +1568,11 @@ # name: test_all_entities[sensor.my_home_station_wet_bulb_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'temperature', - 'friendly_name': 'My Home Station Wet bulb temperature', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'temperature', + : 'My Home Station Wet bulb temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wet_bulb_temperature', @@ -1627,11 +1627,11 @@ # name: test_all_entities[sensor.my_home_station_wind_chill-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'temperature', - 'friendly_name': 'My Home Station Wind chill', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'temperature', + : 'My Home Station Wind chill', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wind_chill', @@ -1681,10 +1681,10 @@ # name: test_all_entities[sensor.my_home_station_wind_direction-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'wind_direction', - 'friendly_name': 'My Home Station Wind direction', - 'unit_of_measurement': '°', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'wind_direction', + : 'My Home Station Wind direction', + : '°', }), 'context': , 'entity_id': 'sensor.my_home_station_wind_direction', @@ -1742,11 +1742,11 @@ # name: test_all_entities[sensor.my_home_station_wind_gust-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'wind_speed', - 'friendly_name': 'My Home Station Wind gust', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'wind_speed', + : 'My Home Station Wind gust', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wind_gust', @@ -1804,11 +1804,11 @@ # name: test_all_entities[sensor.my_home_station_wind_lull-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'wind_speed', - 'friendly_name': 'My Home Station Wind lull', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'wind_speed', + : 'My Home Station Wind lull', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wind_lull', @@ -1863,10 +1863,10 @@ # name: test_all_entities[sensor.my_home_station_wind_sample_interval-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'friendly_name': 'My Home Station Wind sample interval', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'My Home Station Wind sample interval', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wind_sample_interval', @@ -1924,11 +1924,11 @@ # name: test_all_entities[sensor.my_home_station_wind_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'wind_speed', - 'friendly_name': 'My Home Station Wind speed', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'wind_speed', + : 'My Home Station Wind speed', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wind_speed', @@ -1986,11 +1986,11 @@ # name: test_all_entities[sensor.my_home_station_wind_speed_avg-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', - 'device_class': 'wind_speed', - 'friendly_name': 'My Home Station Wind speed (avg)', + : 'Weather data delivered by WeatherFlow/Tempest API', + : 'wind_speed', + : 'My Home Station Wind speed (avg)', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.my_home_station_wind_speed_avg', diff --git a/tests/components/weatherflow_cloud/snapshots/test_weather.ambr b/tests/components/weatherflow_cloud/snapshots/test_weather.ambr index 19f452a2259..17c6c9464cd 100644 --- a/tests/components/weatherflow_cloud/snapshots/test_weather.ambr +++ b/tests/components/weatherflow_cloud/snapshots/test_weather.ambr @@ -39,14 +39,14 @@ # name: test_weather[weather.my_home_station-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Weather data delivered by WeatherFlow/Tempest API', + : 'Weather data delivered by WeatherFlow/Tempest API', : -13.0, - 'friendly_name': 'My Home Station', + : 'My Home Station', : 27, : , : 795.8, : , - 'supported_features': , + : , : 4.0, : , : 2, diff --git a/tests/components/webmin/snapshots/test_sensor.ambr b/tests/components/webmin/snapshots/test_sensor.ambr index 4a3077beb17..45153c4fe99 100644 --- a/tests/components/webmin/snapshots/test_sensor.ambr +++ b/tests/components/webmin/snapshots/test_sensor.ambr @@ -41,7 +41,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_free_inodes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk free inodes /', + : '192.168.1.1 Disk free inodes /', : , }), 'context': , @@ -94,7 +94,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_free_inodes_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk free inodes /media/disk1', + : '192.168.1.1 Disk free inodes /media/disk1', : , }), 'context': , @@ -147,7 +147,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_free_inodes_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk free inodes /media/disk2', + : '192.168.1.1 Disk free inodes /media/disk2', : , }), 'context': , @@ -206,10 +206,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_free_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk free space /', + : 'data_size', + : '192.168.1.1 Disk free space /', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_free_space', @@ -267,10 +267,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_free_space_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk free space /media/disk1', + : 'data_size', + : '192.168.1.1 Disk free space /media/disk1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_free_space_media_disk1', @@ -328,10 +328,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_free_space_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk free space /media/disk2', + : 'data_size', + : '192.168.1.1 Disk free space /media/disk2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_free_space_media_disk2', @@ -383,9 +383,9 @@ # name: test_sensor[sensor.192_168_1_1_disk_inode_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk inode usage /', + : '192.168.1.1 Disk inode usage /', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_inode_usage', @@ -437,9 +437,9 @@ # name: test_sensor[sensor.192_168_1_1_disk_inode_usage_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk inode usage /media/disk1', + : '192.168.1.1 Disk inode usage /media/disk1', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_inode_usage_media_disk1', @@ -491,9 +491,9 @@ # name: test_sensor[sensor.192_168_1_1_disk_inode_usage_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk inode usage /media/disk2', + : '192.168.1.1 Disk inode usage /media/disk2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_inode_usage_media_disk2', @@ -545,7 +545,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_total_inodes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk total inodes /', + : '192.168.1.1 Disk total inodes /', : , }), 'context': , @@ -598,7 +598,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_total_inodes_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk total inodes /media/disk1', + : '192.168.1.1 Disk total inodes /media/disk1', : , }), 'context': , @@ -651,7 +651,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_total_inodes_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk total inodes /media/disk2', + : '192.168.1.1 Disk total inodes /media/disk2', : , }), 'context': , @@ -710,10 +710,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_total_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk total space /', + : 'data_size', + : '192.168.1.1 Disk total space /', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_total_space', @@ -771,10 +771,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_total_space_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk total space /media/disk1', + : 'data_size', + : '192.168.1.1 Disk total space /media/disk1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_total_space_media_disk1', @@ -832,10 +832,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_total_space_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk total space /media/disk2', + : 'data_size', + : '192.168.1.1 Disk total space /media/disk2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_total_space_media_disk2', @@ -887,9 +887,9 @@ # name: test_sensor[sensor.192_168_1_1_disk_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk usage /', + : '192.168.1.1 Disk usage /', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_usage', @@ -941,9 +941,9 @@ # name: test_sensor[sensor.192_168_1_1_disk_usage_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk usage /media/disk1', + : '192.168.1.1 Disk usage /media/disk1', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_usage_media_disk1', @@ -995,9 +995,9 @@ # name: test_sensor[sensor.192_168_1_1_disk_usage_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk usage /media/disk2', + : '192.168.1.1 Disk usage /media/disk2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_usage_media_disk2', @@ -1049,7 +1049,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_used_inodes-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk used inodes /', + : '192.168.1.1 Disk used inodes /', : , }), 'context': , @@ -1102,7 +1102,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_used_inodes_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk used inodes /media/disk1', + : '192.168.1.1 Disk used inodes /media/disk1', : , }), 'context': , @@ -1155,7 +1155,7 @@ # name: test_sensor[sensor.192_168_1_1_disk_used_inodes_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Disk used inodes /media/disk2', + : '192.168.1.1 Disk used inodes /media/disk2', : , }), 'context': , @@ -1214,10 +1214,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_used_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk used space /', + : 'data_size', + : '192.168.1.1 Disk used space /', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_used_space', @@ -1275,10 +1275,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_used_space_media_disk1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk used space /media/disk1', + : 'data_size', + : '192.168.1.1 Disk used space /media/disk1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_used_space_media_disk1', @@ -1336,10 +1336,10 @@ # name: test_sensor[sensor.192_168_1_1_disk_used_space_media_disk2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disk used space /media/disk2', + : 'data_size', + : '192.168.1.1 Disk used space /media/disk2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disk_used_space_media_disk2', @@ -1397,10 +1397,10 @@ # name: test_sensor[sensor.192_168_1_1_disks_free_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disks free space', + : 'data_size', + : '192.168.1.1 Disks free space', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disks_free_space', @@ -1458,10 +1458,10 @@ # name: test_sensor[sensor.192_168_1_1_disks_total_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disks total space', + : 'data_size', + : '192.168.1.1 Disks total space', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disks_total_space', @@ -1519,10 +1519,10 @@ # name: test_sensor[sensor.192_168_1_1_disks_used_space-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Disks used space', + : 'data_size', + : '192.168.1.1 Disks used space', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_disks_used_space', @@ -1574,7 +1574,7 @@ # name: test_sensor[sensor.192_168_1_1_load_15_min-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Load (15 min)', + : '192.168.1.1 Load (15 min)', : , }), 'context': , @@ -1627,7 +1627,7 @@ # name: test_sensor[sensor.192_168_1_1_load_1_min-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Load (1 min)', + : '192.168.1.1 Load (1 min)', : , }), 'context': , @@ -1680,7 +1680,7 @@ # name: test_sensor[sensor.192_168_1_1_load_5_min-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': '192.168.1.1 Load (5 min)', + : '192.168.1.1 Load (5 min)', : , }), 'context': , @@ -1739,10 +1739,10 @@ # name: test_sensor[sensor.192_168_1_1_memory_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Memory free', + : 'data_size', + : '192.168.1.1 Memory free', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_memory_free', @@ -1800,10 +1800,10 @@ # name: test_sensor[sensor.192_168_1_1_memory_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Memory total', + : 'data_size', + : '192.168.1.1 Memory total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_memory_total', @@ -1861,10 +1861,10 @@ # name: test_sensor[sensor.192_168_1_1_swap_free-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Swap free', + : 'data_size', + : '192.168.1.1 Swap free', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_swap_free', @@ -1922,10 +1922,10 @@ # name: test_sensor[sensor.192_168_1_1_swap_total-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': '192.168.1.1 Swap total', + : 'data_size', + : '192.168.1.1 Swap total', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.192_168_1_1_swap_total', diff --git a/tests/components/webostv/snapshots/test_media_player.ambr b/tests/components/webostv/snapshots/test_media_player.ambr index 7876ddef740..75a97e2fd54 100644 --- a/tests/components/webostv/snapshots/test_media_player.ambr +++ b/tests/components/webostv/snapshots/test_media_player.ambr @@ -12,8 +12,8 @@ # name: test_entity_attributes StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'tv', - 'friendly_name': 'LG webOS TV MODEL', + : 'tv', + : 'LG webOS TV MODEL', : False, : , : 'Channel 1', @@ -24,7 +24,7 @@ 'Input02', 'Live TV', ]), - 'supported_features': , + : , : 0.37, }), 'context': , diff --git a/tests/components/weheat/snapshots/test_binary_sensor.ambr b/tests/components/weheat/snapshots/test_binary_sensor.ambr index d48d4200f8f..75cff41a569 100644 --- a/tests/components/weheat/snapshots/test_binary_sensor.ambr +++ b/tests/components/weheat/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_entities[binary_sensor.test_model_indoor_unit_auxiliary_water_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Model Indoor unit auxiliary water pump', + : 'running', + : 'Test Model Indoor unit auxiliary water pump', }), 'context': , 'entity_id': 'binary_sensor.test_model_indoor_unit_auxiliary_water_pump', @@ -90,8 +90,8 @@ # name: test_binary_entities[binary_sensor.test_model_indoor_unit_electric_heater-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Model Indoor unit electric heater', + : 'running', + : 'Test Model Indoor unit electric heater', }), 'context': , 'entity_id': 'binary_sensor.test_model_indoor_unit_electric_heater', @@ -141,7 +141,7 @@ # name: test_binary_entities[binary_sensor.test_model_indoor_unit_gas_boiler_heating_allowed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Model Indoor unit gas boiler heating allowed', + : 'Test Model Indoor unit gas boiler heating allowed', }), 'context': , 'entity_id': 'binary_sensor.test_model_indoor_unit_gas_boiler_heating_allowed', @@ -191,8 +191,8 @@ # name: test_binary_entities[binary_sensor.test_model_indoor_unit_water_pump-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Test Model Indoor unit water pump', + : 'running', + : 'Test Model Indoor unit water pump', }), 'context': , 'entity_id': 'binary_sensor.test_model_indoor_unit_water_pump', diff --git a/tests/components/weheat/snapshots/test_sensor.ambr b/tests/components/weheat/snapshots/test_sensor.ambr index c1d0e8b9f4b..778773ee67d 100644 --- a/tests/components/weheat/snapshots/test_sensor.ambr +++ b/tests/components/weheat/snapshots/test_sensor.ambr @@ -52,8 +52,8 @@ # name: test_all_entities[sensor.test_model-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Test Model', + : 'enum', + : 'Test Model', : list([ 'offline', 'standby', @@ -120,10 +120,10 @@ # name: test_all_entities[sensor.test_model_central_heating_inlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model Central heating inlet temperature', + : 'temperature', + : 'Test Model Central heating inlet temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_central_heating_inlet_temperature', @@ -178,10 +178,10 @@ # name: test_all_entities[sensor.test_model_central_heating_pump_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Test Model Central heating pump flow', + : 'volume_flow_rate', + : 'Test Model Central heating pump flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_central_heating_pump_flow', @@ -233,9 +233,9 @@ # name: test_all_entities[sensor.test_model_compressor_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Model Compressor speed', + : 'Test Model Compressor speed', : , - 'unit_of_measurement': 'rpm', + : 'rpm', }), 'context': , 'entity_id': 'sensor.test_model_compressor_speed', @@ -287,9 +287,9 @@ # name: test_all_entities[sensor.test_model_compressor_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Model Compressor usage', + : 'Test Model Compressor usage', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.test_model_compressor_usage', @@ -344,7 +344,7 @@ # name: test_all_entities[sensor.test_model_cop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Test Model COP', + : 'Test Model COP', : , }), 'context': , @@ -400,10 +400,10 @@ # name: test_all_entities[sensor.test_model_current_room_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model Current room temperature', + : 'temperature', + : 'Test Model Current room temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_current_room_temperature', @@ -458,10 +458,10 @@ # name: test_all_entities[sensor.test_model_dhw_bottom_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model DHW bottom temperature', + : 'temperature', + : 'Test Model DHW bottom temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_dhw_bottom_temperature', @@ -516,10 +516,10 @@ # name: test_all_entities[sensor.test_model_dhw_pump_flow-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'Test Model DHW pump flow', + : 'volume_flow_rate', + : 'Test Model DHW pump flow', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_dhw_pump_flow', @@ -574,10 +574,10 @@ # name: test_all_entities[sensor.test_model_dhw_top_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model DHW top temperature', + : 'temperature', + : 'Test Model DHW top temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_dhw_top_temperature', @@ -632,10 +632,10 @@ # name: test_all_entities[sensor.test_model_electricity_used-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Electricity used', + : 'energy', + : 'Test Model Electricity used', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_electricity_used', @@ -690,10 +690,10 @@ # name: test_all_entities[sensor.test_model_electricity_used_cooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Electricity used cooling', + : 'energy', + : 'Test Model Electricity used cooling', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_electricity_used_cooling', @@ -748,10 +748,10 @@ # name: test_all_entities[sensor.test_model_electricity_used_defrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Electricity used defrost', + : 'energy', + : 'Test Model Electricity used defrost', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_electricity_used_defrost', @@ -806,10 +806,10 @@ # name: test_all_entities[sensor.test_model_electricity_used_dhw-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Electricity used DHW', + : 'energy', + : 'Test Model Electricity used DHW', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_electricity_used_dhw', @@ -864,10 +864,10 @@ # name: test_all_entities[sensor.test_model_electricity_used_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Electricity used heating', + : 'energy', + : 'Test Model Electricity used heating', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_electricity_used_heating', @@ -922,10 +922,10 @@ # name: test_all_entities[sensor.test_model_electricity_used_standby-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Electricity used standby', + : 'energy', + : 'Test Model Electricity used standby', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_electricity_used_standby', @@ -980,10 +980,10 @@ # name: test_all_entities[sensor.test_model_energy_output_cooling-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Energy output cooling', + : 'energy', + : 'Test Model Energy output cooling', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_energy_output_cooling', @@ -1038,10 +1038,10 @@ # name: test_all_entities[sensor.test_model_energy_output_defrost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Energy output defrost', + : 'energy', + : 'Test Model Energy output defrost', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_energy_output_defrost', @@ -1096,10 +1096,10 @@ # name: test_all_entities[sensor.test_model_energy_output_dhw-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Energy output DHW', + : 'energy', + : 'Test Model Energy output DHW', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_energy_output_dhw', @@ -1154,10 +1154,10 @@ # name: test_all_entities[sensor.test_model_energy_output_heating-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Energy output heating', + : 'energy', + : 'Test Model Energy output heating', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_energy_output_heating', @@ -1212,10 +1212,10 @@ # name: test_all_entities[sensor.test_model_input_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Model Input power', + : 'power', + : 'Test Model Input power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_input_power', @@ -1270,10 +1270,10 @@ # name: test_all_entities[sensor.test_model_output_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Test Model Output power', + : 'power', + : 'Test Model Output power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_output_power', @@ -1328,10 +1328,10 @@ # name: test_all_entities[sensor.test_model_outside_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model Outside temperature', + : 'temperature', + : 'Test Model Outside temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_outside_temperature', @@ -1386,10 +1386,10 @@ # name: test_all_entities[sensor.test_model_room_temperature_setpoint-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model Room temperature setpoint', + : 'temperature', + : 'Test Model Room temperature setpoint', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_room_temperature_setpoint', @@ -1444,10 +1444,10 @@ # name: test_all_entities[sensor.test_model_total_energy_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Test Model Total energy output', + : 'energy', + : 'Test Model Total energy output', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_total_energy_output', @@ -1502,10 +1502,10 @@ # name: test_all_entities[sensor.test_model_water_inlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model Water inlet temperature', + : 'temperature', + : 'Test Model Water inlet temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_water_inlet_temperature', @@ -1560,10 +1560,10 @@ # name: test_all_entities[sensor.test_model_water_outlet_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model Water outlet temperature', + : 'temperature', + : 'Test Model Water outlet temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_water_outlet_temperature', @@ -1618,10 +1618,10 @@ # name: test_all_entities[sensor.test_model_water_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Test Model Water target temperature', + : 'temperature', + : 'Test Model Water target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.test_model_water_target_temperature', diff --git a/tests/components/whirlpool/snapshots/test_binary_sensor.ambr b/tests/components/whirlpool/snapshots/test_binary_sensor.ambr index 03ced2973c6..a45745d5142 100644 --- a/tests/components/whirlpool/snapshots/test_binary_sensor.ambr +++ b/tests/components/whirlpool/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.dryer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Dryer Door', + : 'door', + : 'Dryer Door', }), 'context': , 'entity_id': 'binary_sensor.dryer_door', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.washer_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Washer Door', + : 'door', + : 'Washer Door', }), 'context': , 'entity_id': 'binary_sensor.washer_door', diff --git a/tests/components/whirlpool/snapshots/test_button.ambr b/tests/components/whirlpool/snapshots/test_button.ambr index 59ff78dcaae..1e8aab5ce76 100644 --- a/tests/components/whirlpool/snapshots/test_button.ambr +++ b/tests/components/whirlpool/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[button.dual_cavity_oven_lower_oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dual cavity oven Lower oven stop', + : 'Dual cavity oven Lower oven stop', }), 'context': , 'entity_id': 'button.dual_cavity_oven_lower_oven_stop', @@ -89,7 +89,7 @@ # name: test_all_entities[button.dual_cavity_oven_upper_oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Dual cavity oven Upper oven stop', + : 'Dual cavity oven Upper oven stop', }), 'context': , 'entity_id': 'button.dual_cavity_oven_upper_oven_stop', @@ -139,7 +139,7 @@ # name: test_all_entities[button.single_cavity_oven_stop-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Single cavity oven Stop', + : 'Single cavity oven Stop', }), 'context': , 'entity_id': 'button.single_cavity_oven_stop', diff --git a/tests/components/whirlpool/snapshots/test_climate.ambr b/tests/components/whirlpool/snapshots/test_climate.ambr index 93dd72462ac..fb7a87d80d0 100644 --- a/tests/components/whirlpool/snapshots/test_climate.ambr +++ b/tests/components/whirlpool/snapshots/test_climate.ambr @@ -70,7 +70,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Aircon said1', + : 'Aircon said1', : list([ , , @@ -79,7 +79,7 @@ ]), : 30, : 16, - 'supported_features': , + : , : 'horizontal', : list([ 'horizontal', @@ -167,7 +167,7 @@ 'medium', 'high', ]), - 'friendly_name': 'Aircon said2', + : 'Aircon said2', : list([ , , @@ -176,7 +176,7 @@ ]), : 30, : 16, - 'supported_features': , + : , : 'horizontal', : list([ 'horizontal', diff --git a/tests/components/whirlpool/snapshots/test_select.ambr b/tests/components/whirlpool/snapshots/test_select.ambr index 9a65b7121da..3371180eadc 100644 --- a/tests/components/whirlpool/snapshots/test_select.ambr +++ b/tests/components/whirlpool/snapshots/test_select.ambr @@ -47,7 +47,7 @@ # name: test_all_entities[select.beer_fridge_temperature_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Beer fridge Temperature level', + : 'Beer fridge Temperature level', : list([ '-4', '-2', @@ -55,7 +55,7 @@ '3', '5', ]), - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'select.beer_fridge_temperature_level', diff --git a/tests/components/whirlpool/snapshots/test_sensor.ambr b/tests/components/whirlpool/snapshots/test_sensor.ambr index 91399e9c6a4..f4ec93c81fe 100644 --- a/tests/components/whirlpool/snapshots/test_sensor.ambr +++ b/tests/components/whirlpool/snapshots/test_sensor.ambr @@ -39,9 +39,9 @@ # name: test_all_entities[sensor.dryer_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Dryer End time', - 'icon': 'mdi:progress-clock', + : 'timestamp', + : 'Dryer End time', + : 'mdi:progress-clock', }), 'context': , 'entity_id': 'sensor.dryer_end_time', @@ -115,8 +115,8 @@ # name: test_all_entities[sensor.dryer_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dryer State', + : 'enum', + : 'Dryer State', : list([ 'standby', 'setting', @@ -200,8 +200,8 @@ # name: test_all_entities[sensor.dual_cavity_oven_lower_oven_cook_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dual cavity oven Lower oven cook mode', + : 'enum', + : 'Dual cavity oven Lower oven cook mode', : list([ 'standby', 'bake', @@ -266,10 +266,10 @@ # name: test_all_entities[sensor.dual_cavity_oven_lower_oven_current_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dual cavity oven Lower oven current temperature', + : 'temperature', + : 'Dual cavity oven Lower oven current temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dual_cavity_oven_lower_oven_current_temperature', @@ -325,8 +325,8 @@ # name: test_all_entities[sensor.dual_cavity_oven_lower_oven_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dual cavity oven Lower oven state', + : 'enum', + : 'Dual cavity oven Lower oven state', : list([ 'standby', 'preheating', @@ -386,10 +386,10 @@ # name: test_all_entities[sensor.dual_cavity_oven_lower_oven_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dual cavity oven Lower oven target temperature', + : 'temperature', + : 'Dual cavity oven Lower oven target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dual_cavity_oven_lower_oven_target_temperature', @@ -450,8 +450,8 @@ # name: test_all_entities[sensor.dual_cavity_oven_upper_oven_cook_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dual cavity oven Upper oven cook mode', + : 'enum', + : 'Dual cavity oven Upper oven cook mode', : list([ 'standby', 'bake', @@ -516,10 +516,10 @@ # name: test_all_entities[sensor.dual_cavity_oven_upper_oven_current_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dual cavity oven Upper oven current temperature', + : 'temperature', + : 'Dual cavity oven Upper oven current temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dual_cavity_oven_upper_oven_current_temperature', @@ -575,8 +575,8 @@ # name: test_all_entities[sensor.dual_cavity_oven_upper_oven_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Dual cavity oven Upper oven state', + : 'enum', + : 'Dual cavity oven Upper oven state', : list([ 'standby', 'preheating', @@ -636,10 +636,10 @@ # name: test_all_entities[sensor.dual_cavity_oven_upper_oven_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Dual cavity oven Upper oven target temperature', + : 'temperature', + : 'Dual cavity oven Upper oven target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.dual_cavity_oven_upper_oven_target_temperature', @@ -700,8 +700,8 @@ # name: test_all_entities[sensor.single_cavity_oven_cook_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Single cavity oven Cook mode', + : 'enum', + : 'Single cavity oven Cook mode', : list([ 'standby', 'bake', @@ -766,10 +766,10 @@ # name: test_all_entities[sensor.single_cavity_oven_current_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Single cavity oven Current temperature', + : 'temperature', + : 'Single cavity oven Current temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.single_cavity_oven_current_temperature', @@ -825,8 +825,8 @@ # name: test_all_entities[sensor.single_cavity_oven_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Single cavity oven State', + : 'enum', + : 'Single cavity oven State', : list([ 'standby', 'preheating', @@ -886,10 +886,10 @@ # name: test_all_entities[sensor.single_cavity_oven_target_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'Single cavity oven Target temperature', + : 'temperature', + : 'Single cavity oven Target temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.single_cavity_oven_target_temperature', @@ -947,8 +947,8 @@ # name: test_all_entities[sensor.washer_detergent_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer Detergent level', + : 'enum', + : 'Washer Detergent level', : list([ 'empty', '25', @@ -1005,9 +1005,9 @@ # name: test_all_entities[sensor.washer_end_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Washer End time', - 'icon': 'mdi:progress-clock', + : 'timestamp', + : 'Washer End time', + : 'mdi:progress-clock', }), 'context': , 'entity_id': 'sensor.washer_end_time', @@ -1085,8 +1085,8 @@ # name: test_all_entities[sensor.washer_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Washer State', + : 'enum', + : 'Washer State', : list([ 'standby', 'setting', diff --git a/tests/components/whois/snapshots/test_sensor.ambr b/tests/components/whois/snapshots/test_sensor.ambr index a6fcad19c8c..885a32234dd 100644 --- a/tests/components/whois/snapshots/test_sensor.ambr +++ b/tests/components/whois/snapshots/test_sensor.ambr @@ -2,7 +2,7 @@ # name: test_whois_sensors[sensor.home_assistant_io_admin] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home-assistant.io Admin', + : 'home-assistant.io Admin', }), 'context': , 'entity_id': 'sensor.home_assistant_io_admin', @@ -83,8 +83,8 @@ # name: test_whois_sensors[sensor.home_assistant_io_created] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'home-assistant.io Created', + : 'timestamp', + : 'home-assistant.io Created', }), 'context': , 'entity_id': 'sensor.home_assistant_io_created', @@ -166,10 +166,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'expires': '2023-01-01T00:00:00', - 'friendly_name': 'home-assistant.io Days until expiration', + : 'home-assistant.io Days until expiration', 'name_servers': 'ns1.example.com ns2.example.com', 'registrar': 'My Registrar', - 'unit_of_measurement': , + : , 'updated': '2022-01-01T00:00:00+01:00', }), 'context': , @@ -251,8 +251,8 @@ # name: test_whois_sensors[sensor.home_assistant_io_expires] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'home-assistant.io Expires', + : 'timestamp', + : 'home-assistant.io Expires', }), 'context': , 'entity_id': 'sensor.home_assistant_io_expires', @@ -333,8 +333,8 @@ # name: test_whois_sensors[sensor.home_assistant_io_last_updated] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'home-assistant.io Last updated', + : 'timestamp', + : 'home-assistant.io Last updated', }), 'context': , 'entity_id': 'sensor.home_assistant_io_last_updated', @@ -415,7 +415,7 @@ # name: test_whois_sensors[sensor.home_assistant_io_owner] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home-assistant.io Owner', + : 'home-assistant.io Owner', }), 'context': , 'entity_id': 'sensor.home_assistant_io_owner', @@ -496,7 +496,7 @@ # name: test_whois_sensors[sensor.home_assistant_io_registrant] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home-assistant.io Registrant', + : 'home-assistant.io Registrant', }), 'context': , 'entity_id': 'sensor.home_assistant_io_registrant', @@ -577,7 +577,7 @@ # name: test_whois_sensors[sensor.home_assistant_io_registrar] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home-assistant.io Registrar', + : 'home-assistant.io Registrar', }), 'context': , 'entity_id': 'sensor.home_assistant_io_registrar', @@ -658,7 +658,7 @@ # name: test_whois_sensors[sensor.home_assistant_io_reseller] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'home-assistant.io Reseller', + : 'home-assistant.io Reseller', }), 'context': , 'entity_id': 'sensor.home_assistant_io_reseller', @@ -739,8 +739,8 @@ # name: test_whois_sensors[sensor.home_assistant_io_status] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'home-assistant.io Status', + : 'enum', + : 'home-assistant.io Status', : list([ 'add_period', 'auto_renew_period', @@ -872,8 +872,8 @@ # name: test_whois_sensors_missing_some_attrs StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'home-assistant.io Last updated', + : 'timestamp', + : 'home-assistant.io Last updated', }), 'context': , 'entity_id': 'sensor.home_assistant_io_last_updated', diff --git a/tests/components/withings/snapshots/test_sensor.ambr b/tests/components/withings/snapshots/test_sensor.ambr index e61af787e25..4eddd0eec6f 100644 --- a/tests/components/withings/snapshots/test_sensor.ambr +++ b/tests/components/withings/snapshots/test_sensor.ambr @@ -45,8 +45,8 @@ # name: test_all_entities[sensor.body_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Body+ Battery', + : 'enum', + : 'Body+ Battery', : list([ 'low', 'medium', @@ -106,10 +106,10 @@ # name: test_all_entities[sensor.henk_active_calories_burnt_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Active calories burnt today', + : 'henk Active calories burnt today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': 'calories', + : 'calories', }), 'context': , 'entity_id': 'sensor.henk_active_calories_burnt_today', @@ -167,11 +167,11 @@ # name: test_all_entities[sensor.henk_active_time_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Active time today', + : 'duration', + : 'henk Active time today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_active_time_today', @@ -223,9 +223,9 @@ # name: test_all_entities[sensor.henk_average_heart_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Average heart rate', + : 'henk Average heart rate', : , - 'unit_of_measurement': 'bpm', + : 'bpm', }), 'context': , 'entity_id': 'sensor.henk_average_heart_rate', @@ -277,9 +277,9 @@ # name: test_all_entities[sensor.henk_average_respiratory_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Average respiratory rate', + : 'henk Average respiratory rate', : , - 'unit_of_measurement': 'br/min', + : 'br/min', }), 'context': , 'entity_id': 'sensor.henk_average_respiratory_rate', @@ -334,10 +334,10 @@ # name: test_all_entities[sensor.henk_body_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'henk Body temperature', + : 'temperature', + : 'henk Body temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_body_temperature', @@ -392,10 +392,10 @@ # name: test_all_entities[sensor.henk_bone_mass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Bone mass', + : 'weight', + : 'henk Bone mass', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_bone_mass', @@ -447,7 +447,7 @@ # name: test_all_entities[sensor.henk_breathing_disturbances_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Breathing disturbances intensity', + : 'henk Breathing disturbances intensity', : , }), 'context': , @@ -501,8 +501,8 @@ # name: test_all_entities[sensor.henk_calories_burnt_last_workout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Calories burnt last workout', - 'unit_of_measurement': 'calories', + : 'henk Calories burnt last workout', + : 'calories', }), 'context': , 'entity_id': 'sensor.henk_calories_burnt_last_workout', @@ -560,10 +560,10 @@ # name: test_all_entities[sensor.henk_deep_sleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Deep sleep', + : 'duration', + : 'henk Deep sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_deep_sleep', @@ -618,10 +618,10 @@ # name: test_all_entities[sensor.henk_diastolic_blood_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'henk Diastolic blood pressure', + : 'pressure', + : 'henk Diastolic blood pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_diastolic_blood_pressure', @@ -674,9 +674,9 @@ # name: test_all_entities[sensor.henk_distance_travelled_last_workout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'henk Distance travelled last workout', - 'unit_of_measurement': , + : 'distance', + : 'henk Distance travelled last workout', + : , }), 'context': , 'entity_id': 'sensor.henk_distance_travelled_last_workout', @@ -731,11 +731,11 @@ # name: test_all_entities[sensor.henk_distance_travelled_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'henk Distance travelled today', + : 'distance', + : 'henk Distance travelled today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_distance_travelled_today', @@ -785,8 +785,8 @@ # name: test_all_entities[sensor.henk_electrodermal_activity_feet-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Electrodermal activity feet', - 'unit_of_measurement': '%', + : 'henk Electrodermal activity feet', + : '%', }), 'context': , 'entity_id': 'sensor.henk_electrodermal_activity_feet', @@ -836,8 +836,8 @@ # name: test_all_entities[sensor.henk_electrodermal_activity_left_foot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Electrodermal activity left foot', - 'unit_of_measurement': '%', + : 'henk Electrodermal activity left foot', + : '%', }), 'context': , 'entity_id': 'sensor.henk_electrodermal_activity_left_foot', @@ -887,8 +887,8 @@ # name: test_all_entities[sensor.henk_electrodermal_activity_right_foot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Electrodermal activity right foot', - 'unit_of_measurement': '%', + : 'henk Electrodermal activity right foot', + : '%', }), 'context': , 'entity_id': 'sensor.henk_electrodermal_activity_right_foot', @@ -941,9 +941,9 @@ # name: test_all_entities[sensor.henk_elevation_change_last_workout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'henk Elevation change last workout', - 'unit_of_measurement': , + : 'distance', + : 'henk Elevation change last workout', + : , }), 'context': , 'entity_id': 'sensor.henk_elevation_change_last_workout', @@ -998,11 +998,11 @@ # name: test_all_entities[sensor.henk_elevation_change_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'henk Elevation change today', + : 'distance', + : 'henk Elevation change today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_elevation_change_today', @@ -1057,10 +1057,10 @@ # name: test_all_entities[sensor.henk_extracellular_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Extracellular water', + : 'weight', + : 'henk Extracellular water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_extracellular_water', @@ -1115,10 +1115,10 @@ # name: test_all_entities[sensor.henk_fat_free_mass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat free mass', + : 'weight', + : 'henk Fat free mass', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_free_mass', @@ -1173,10 +1173,10 @@ # name: test_all_entities[sensor.henk_fat_free_mass_in_left_arm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat free mass in left arm', + : 'weight', + : 'henk Fat free mass in left arm', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_free_mass_in_left_arm', @@ -1231,10 +1231,10 @@ # name: test_all_entities[sensor.henk_fat_free_mass_in_left_leg-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat free mass in left leg', + : 'weight', + : 'henk Fat free mass in left leg', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_free_mass_in_left_leg', @@ -1289,10 +1289,10 @@ # name: test_all_entities[sensor.henk_fat_free_mass_in_right_arm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat free mass in right arm', + : 'weight', + : 'henk Fat free mass in right arm', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_free_mass_in_right_arm', @@ -1347,10 +1347,10 @@ # name: test_all_entities[sensor.henk_fat_free_mass_in_right_leg-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat free mass in right leg', + : 'weight', + : 'henk Fat free mass in right leg', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_free_mass_in_right_leg', @@ -1405,10 +1405,10 @@ # name: test_all_entities[sensor.henk_fat_free_mass_in_torso-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat free mass in torso', + : 'weight', + : 'henk Fat free mass in torso', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_free_mass_in_torso', @@ -1463,10 +1463,10 @@ # name: test_all_entities[sensor.henk_fat_mass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat mass', + : 'weight', + : 'henk Fat mass', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_mass', @@ -1521,10 +1521,10 @@ # name: test_all_entities[sensor.henk_fat_mass_in_left_arm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat mass in left arm', + : 'weight', + : 'henk Fat mass in left arm', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_mass_in_left_arm', @@ -1579,10 +1579,10 @@ # name: test_all_entities[sensor.henk_fat_mass_in_left_leg-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat mass in left leg', + : 'weight', + : 'henk Fat mass in left leg', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_mass_in_left_leg', @@ -1637,10 +1637,10 @@ # name: test_all_entities[sensor.henk_fat_mass_in_right_arm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat mass in right arm', + : 'weight', + : 'henk Fat mass in right arm', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_mass_in_right_arm', @@ -1695,10 +1695,10 @@ # name: test_all_entities[sensor.henk_fat_mass_in_right_leg-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat mass in right leg', + : 'weight', + : 'henk Fat mass in right leg', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_mass_in_right_leg', @@ -1753,10 +1753,10 @@ # name: test_all_entities[sensor.henk_fat_mass_in_torso-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Fat mass in torso', + : 'weight', + : 'henk Fat mass in torso', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_fat_mass_in_torso', @@ -1811,9 +1811,9 @@ # name: test_all_entities[sensor.henk_fat_ratio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Fat ratio', + : 'henk Fat ratio', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.henk_fat_ratio', @@ -1865,9 +1865,9 @@ # name: test_all_entities[sensor.henk_heart_pulse-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Heart pulse', + : 'henk Heart pulse', : , - 'unit_of_measurement': 'bpm', + : 'bpm', }), 'context': , 'entity_id': 'sensor.henk_heart_pulse', @@ -1922,10 +1922,10 @@ # name: test_all_entities[sensor.henk_height-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'distance', - 'friendly_name': 'henk Height', + : 'distance', + : 'henk Height', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_height', @@ -1980,10 +1980,10 @@ # name: test_all_entities[sensor.henk_hydration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Hydration', + : 'weight', + : 'henk Hydration', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_hydration', @@ -2041,11 +2041,11 @@ # name: test_all_entities[sensor.henk_intense_activity_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Intense activity today', + : 'duration', + : 'henk Intense activity today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_intense_activity_today', @@ -2100,10 +2100,10 @@ # name: test_all_entities[sensor.henk_intracellular_water-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Intracellular water', + : 'weight', + : 'henk Intracellular water', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_intracellular_water', @@ -2159,9 +2159,9 @@ # name: test_all_entities[sensor.henk_last_workout_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Last workout duration', - 'unit_of_measurement': , + : 'duration', + : 'henk Last workout duration', + : , }), 'context': , 'entity_id': 'sensor.henk_last_workout_duration', @@ -2211,7 +2211,7 @@ # name: test_all_entities[sensor.henk_last_workout_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Last workout intensity', + : 'henk Last workout intensity', }), 'context': , 'entity_id': 'sensor.henk_last_workout_intensity', @@ -2313,8 +2313,8 @@ # name: test_all_entities[sensor.henk_last_workout_type-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'henk Last workout type', + : 'enum', + : 'henk Last workout type', : list([ 'walk', 'run', @@ -2423,10 +2423,10 @@ # name: test_all_entities[sensor.henk_light_sleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Light sleep', + : 'duration', + : 'henk Light sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_light_sleep', @@ -2478,9 +2478,9 @@ # name: test_all_entities[sensor.henk_maximum_heart_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Maximum heart rate', + : 'henk Maximum heart rate', : , - 'unit_of_measurement': 'bpm', + : 'bpm', }), 'context': , 'entity_id': 'sensor.henk_maximum_heart_rate', @@ -2532,9 +2532,9 @@ # name: test_all_entities[sensor.henk_maximum_respiratory_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Maximum respiratory rate', + : 'henk Maximum respiratory rate', : , - 'unit_of_measurement': 'br/min', + : 'br/min', }), 'context': , 'entity_id': 'sensor.henk_maximum_respiratory_rate', @@ -2586,9 +2586,9 @@ # name: test_all_entities[sensor.henk_minimum_heart_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Minimum heart rate', + : 'henk Minimum heart rate', : , - 'unit_of_measurement': 'bpm', + : 'bpm', }), 'context': , 'entity_id': 'sensor.henk_minimum_heart_rate', @@ -2640,9 +2640,9 @@ # name: test_all_entities[sensor.henk_minimum_respiratory_rate-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Minimum respiratory rate', + : 'henk Minimum respiratory rate', : , - 'unit_of_measurement': 'br/min', + : 'br/min', }), 'context': , 'entity_id': 'sensor.henk_minimum_respiratory_rate', @@ -2700,11 +2700,11 @@ # name: test_all_entities[sensor.henk_moderate_activity_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Moderate activity today', + : 'duration', + : 'henk Moderate activity today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_moderate_activity_today', @@ -2759,10 +2759,10 @@ # name: test_all_entities[sensor.henk_muscle_mass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Muscle mass', + : 'weight', + : 'henk Muscle mass', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_muscle_mass', @@ -2817,10 +2817,10 @@ # name: test_all_entities[sensor.henk_muscle_mass_in_left_arm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Muscle mass in left arm', + : 'weight', + : 'henk Muscle mass in left arm', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_muscle_mass_in_left_arm', @@ -2875,10 +2875,10 @@ # name: test_all_entities[sensor.henk_muscle_mass_in_left_leg-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Muscle mass in left leg', + : 'weight', + : 'henk Muscle mass in left leg', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_muscle_mass_in_left_leg', @@ -2933,10 +2933,10 @@ # name: test_all_entities[sensor.henk_muscle_mass_in_right_arm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Muscle mass in right arm', + : 'weight', + : 'henk Muscle mass in right arm', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_muscle_mass_in_right_arm', @@ -2991,10 +2991,10 @@ # name: test_all_entities[sensor.henk_muscle_mass_in_right_leg-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Muscle mass in right leg', + : 'weight', + : 'henk Muscle mass in right leg', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_muscle_mass_in_right_leg', @@ -3049,10 +3049,10 @@ # name: test_all_entities[sensor.henk_muscle_mass_in_torso-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Muscle mass in torso', + : 'weight', + : 'henk Muscle mass in torso', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_muscle_mass_in_torso', @@ -3108,9 +3108,9 @@ # name: test_all_entities[sensor.henk_pause_during_last_workout-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Pause during last workout', - 'unit_of_measurement': , + : 'duration', + : 'henk Pause during last workout', + : , }), 'context': , 'entity_id': 'sensor.henk_pause_during_last_workout', @@ -3165,10 +3165,10 @@ # name: test_all_entities[sensor.henk_pulse_wave_velocity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speed', - 'friendly_name': 'henk Pulse wave velocity', + : 'speed', + : 'henk Pulse wave velocity', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_pulse_wave_velocity', @@ -3226,10 +3226,10 @@ # name: test_all_entities[sensor.henk_rem_sleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk REM sleep', + : 'duration', + : 'henk REM sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_rem_sleep', @@ -3284,10 +3284,10 @@ # name: test_all_entities[sensor.henk_skin_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'henk Skin temperature', + : 'temperature', + : 'henk Skin temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_skin_temperature', @@ -3345,10 +3345,10 @@ # name: test_all_entities[sensor.henk_sleep_goal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Sleep goal', + : 'duration', + : 'henk Sleep goal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_sleep_goal', @@ -3400,9 +3400,9 @@ # name: test_all_entities[sensor.henk_sleep_score-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Sleep score', + : 'henk Sleep score', : , - 'unit_of_measurement': 'points', + : 'points', }), 'context': , 'entity_id': 'sensor.henk_sleep_score', @@ -3460,10 +3460,10 @@ # name: test_all_entities[sensor.henk_snoring-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Snoring', + : 'duration', + : 'henk Snoring', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_snoring', @@ -3515,7 +3515,7 @@ # name: test_all_entities[sensor.henk_snoring_episode_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Snoring episode count', + : 'henk Snoring episode count', : , }), 'context': , @@ -3574,11 +3574,11 @@ # name: test_all_entities[sensor.henk_soft_activity_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Soft activity today', + : 'duration', + : 'henk Soft activity today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_soft_activity_today', @@ -3630,9 +3630,9 @@ # name: test_all_entities[sensor.henk_spo2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk SpO2', + : 'henk SpO2', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.henk_spo2', @@ -3684,9 +3684,9 @@ # name: test_all_entities[sensor.henk_step_goal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Step goal', + : 'henk Step goal', : , - 'unit_of_measurement': 'steps', + : 'steps', }), 'context': , 'entity_id': 'sensor.henk_step_goal', @@ -3738,10 +3738,10 @@ # name: test_all_entities[sensor.henk_steps_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Steps today', + : 'henk Steps today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': 'steps', + : 'steps', }), 'context': , 'entity_id': 'sensor.henk_steps_today', @@ -3796,10 +3796,10 @@ # name: test_all_entities[sensor.henk_systolic_blood_pressure-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'henk Systolic blood pressure', + : 'pressure', + : 'henk Systolic blood pressure', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_systolic_blood_pressure', @@ -3854,10 +3854,10 @@ # name: test_all_entities[sensor.henk_temperature-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'henk Temperature', + : 'temperature', + : 'henk Temperature', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_temperature', @@ -3915,10 +3915,10 @@ # name: test_all_entities[sensor.henk_time_to_sleep-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Time to sleep', + : 'duration', + : 'henk Time to sleep', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_time_to_sleep', @@ -3976,10 +3976,10 @@ # name: test_all_entities[sensor.henk_time_to_wakeup-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Time to wakeup', + : 'duration', + : 'henk Time to wakeup', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_time_to_wakeup', @@ -4034,10 +4034,10 @@ # name: test_all_entities[sensor.henk_total_calories_burnt_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Total calories burnt today', + : 'henk Total calories burnt today', : '2023-10-21T00:00:00-07:00', : , - 'unit_of_measurement': 'calories', + : 'calories', }), 'context': , 'entity_id': 'sensor.henk_total_calories_burnt_today', @@ -4087,7 +4087,7 @@ # name: test_all_entities[sensor.henk_vascular_age-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Vascular age', + : 'henk Vascular age', }), 'context': , 'entity_id': 'sensor.henk_vascular_age', @@ -4137,7 +4137,7 @@ # name: test_all_entities[sensor.henk_visceral_fat_index-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Visceral fat index', + : 'henk Visceral fat index', }), 'context': , 'entity_id': 'sensor.henk_visceral_fat_index', @@ -4189,9 +4189,9 @@ # name: test_all_entities[sensor.henk_vo2_max-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk VO2 max', + : 'henk VO2 max', : , - 'unit_of_measurement': 'ml/min/kg', + : 'ml/min/kg', }), 'context': , 'entity_id': 'sensor.henk_vo2_max', @@ -4243,9 +4243,9 @@ # name: test_all_entities[sensor.henk_wakeup_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'henk Wakeup count', + : 'henk Wakeup count', : , - 'unit_of_measurement': 'times', + : 'times', }), 'context': , 'entity_id': 'sensor.henk_wakeup_count', @@ -4303,10 +4303,10 @@ # name: test_all_entities[sensor.henk_wakeup_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'henk Wakeup time', + : 'duration', + : 'henk Wakeup time', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_wakeup_time', @@ -4361,10 +4361,10 @@ # name: test_all_entities[sensor.henk_weight-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Weight', + : 'weight', + : 'henk Weight', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_weight', @@ -4419,10 +4419,10 @@ # name: test_all_entities[sensor.henk_weight_goal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'weight', - 'friendly_name': 'henk Weight goal', + : 'weight', + : 'henk Weight goal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.henk_weight_goal', diff --git a/tests/components/wiz/snapshots/test_fan.ambr b/tests/components/wiz/snapshots/test_fan.ambr index 2ade3e3b766..48902072c9c 100644 --- a/tests/components/wiz/snapshots/test_fan.ambr +++ b/tests/components/wiz/snapshots/test_fan.ambr @@ -44,14 +44,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'forward', - 'friendly_name': 'Mock Title', + : 'Mock Title', : 16, : 16.666666666666668, : None, : list([ 'breeze', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.mock_title', @@ -106,14 +106,14 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'forward', - 'friendly_name': 'Mock Title', + : 'Mock Title', : 16, : 16.666666666666668, : None, : list([ 'breeze', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.mock_title', diff --git a/tests/components/wled/snapshots/test_button.ambr b/tests/components/wled/snapshots/test_button.ambr index d075ba774bf..a833087b808 100644 --- a/tests/components/wled/snapshots/test_button.ambr +++ b/tests/components/wled/snapshots/test_button.ambr @@ -74,8 +74,8 @@ # name: test_snapshots[button.wled_rgb_light_restart-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'restart', - 'friendly_name': 'WLED RGB Light Restart', + : 'restart', + : 'WLED RGB Light Restart', }), 'context': , 'entity_id': 'button.wled_rgb_light_restart', diff --git a/tests/components/wled/snapshots/test_light.ambr b/tests/components/wled/snapshots/test_light.ambr index c321a981bf7..f6250d366a4 100644 --- a/tests/components/wled/snapshots/test_light.ambr +++ b/tests/components/wled/snapshots/test_light.ambr @@ -414,7 +414,7 @@ 'Rocktaves', 'Akemi', ]), - 'friendly_name': 'WLED CCT light', + : 'WLED CCT light', : tuple( 27.924, 58.494, @@ -431,7 +431,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.501, 0.384, @@ -854,7 +854,7 @@ 'Rocktaves', 'Akemi', ]), - 'friendly_name': 'WLED RGB Light', + : 'WLED RGB Light', : tuple( 218.906, 50.196, @@ -867,7 +867,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.208, 0.217, @@ -888,7 +888,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'group_entities': list([ + : list([ 'light.wled_rgb_light', 'light.wled_rgb_light_segment_1', ]), @@ -931,15 +931,15 @@ 'attributes': ReadOnlyDict({ : 128, : , - 'friendly_name': 'WLED RGB Light Main', - 'group_entities': list([ + : 'WLED RGB Light Main', + : list([ 'light.wled_rgb_light', 'light.wled_rgb_light_segment_1', ]), : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.wled_rgb_light_main', @@ -1358,7 +1358,7 @@ 'Rocktaves', 'Akemi', ]), - 'friendly_name': 'WLED RGB Light Segment 1', + : 'WLED RGB Light Segment 1', : tuple( 40.0, 100.0, @@ -1371,7 +1371,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.555, 0.422, @@ -1794,7 +1794,7 @@ 'Rocktaves', 'Akemi', ]), - 'friendly_name': 'WLED RGB Light', + : 'WLED RGB Light', : tuple( 218.906, 50.196, @@ -1807,7 +1807,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.208, 0.217, @@ -2230,7 +2230,7 @@ 'Rocktaves', 'Akemi', ]), - 'friendly_name': 'WLED WebSocket', + : 'WLED WebSocket', : tuple( 218.906, 50.196, @@ -2243,7 +2243,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.208, 0.217, @@ -2666,7 +2666,7 @@ 'Rocktaves', 'Akemi', ]), - 'friendly_name': 'WLED RGBW Light', + : 'WLED RGBW Light', : tuple( 0.0, 64.706, @@ -2685,7 +2685,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.6, 0.307, diff --git a/tests/components/wled/snapshots/test_number.ambr b/tests/components/wled/snapshots/test_number.ambr index 60f20298fd3..51225d30083 100644 --- a/tests/components/wled/snapshots/test_number.ambr +++ b/tests/components/wled/snapshots/test_number.ambr @@ -2,7 +2,7 @@ # name: test_numbers[number.wled_rgb_light_segment_1_intensity-42-intensity] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Segment 1 intensity', + : 'WLED RGB Light Segment 1 intensity', : 255, : 0, : , @@ -96,7 +96,7 @@ # name: test_numbers[number.wled_rgb_light_segment_1_speed-42-speed] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Segment 1 speed', + : 'WLED RGB Light Segment 1 speed', : 255, : 0, : , @@ -232,7 +232,7 @@ # name: test_snapshots[number.wled_rgb_light_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Intensity', + : 'WLED RGB Light Intensity', : 255, : 0, : , @@ -291,7 +291,7 @@ # name: test_snapshots[number.wled_rgb_light_segment_1_intensity-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Segment 1 intensity', + : 'WLED RGB Light Segment 1 intensity', : 255, : 0, : , @@ -350,7 +350,7 @@ # name: test_snapshots[number.wled_rgb_light_segment_1_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Segment 1 speed', + : 'WLED RGB Light Segment 1 speed', : 255, : 0, : , @@ -409,7 +409,7 @@ # name: test_snapshots[number.wled_rgb_light_speed-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Speed', + : 'WLED RGB Light Speed', : 255, : 0, : , diff --git a/tests/components/wled/snapshots/test_select.ambr b/tests/components/wled/snapshots/test_select.ambr index f20bd080d5a..334e4842703 100644 --- a/tests/components/wled/snapshots/test_select.ambr +++ b/tests/components/wled/snapshots/test_select.ambr @@ -113,7 +113,7 @@ # name: test_snapshots[select.wled_rgb_light_color_palette-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Color palette', + : 'WLED RGB Light Color palette', : list([ '* Color 1', '* Color Gradient', @@ -242,7 +242,7 @@ # name: test_snapshots[select.wled_rgb_light_live_override-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Live override', + : 'WLED RGB Light Live override', : list([ '0', '1', @@ -300,7 +300,7 @@ # name: test_snapshots[select.wled_rgb_light_playlist-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Playlist', + : 'WLED RGB Light Playlist', : list([ ]), }), @@ -355,7 +355,7 @@ # name: test_snapshots[select.wled_rgb_light_preset-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Preset', + : 'WLED RGB Light Preset', : list([ ]), }), @@ -481,7 +481,7 @@ # name: test_snapshots[select.wled_rgb_light_segment_1_color_palette-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Segment 1 color palette', + : 'WLED RGB Light Segment 1 color palette', : list([ '* Color 1', '* Color Gradient', diff --git a/tests/components/wled/snapshots/test_sensor.ambr b/tests/components/wled/snapshots/test_sensor.ambr index 4d55d021fa8..bcab4eddf6f 100644 --- a/tests/components/wled/snapshots/test_sensor.ambr +++ b/tests/components/wled/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_snapshots[sensor.wled_rgb_light_estimated_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'WLED RGB Light Estimated current', + : 'current', + : 'WLED RGB Light Estimated current', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wled_rgb_light_estimated_current', @@ -102,10 +102,10 @@ # name: test_snapshots[sensor.wled_rgb_light_free_memory-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'WLED RGB Light Free memory', + : 'data_size', + : 'WLED RGB Light Free memory', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.wled_rgb_light_free_memory', @@ -155,7 +155,7 @@ # name: test_snapshots[sensor.wled_rgb_light_ip-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light IP', + : 'WLED RGB Light IP', }), 'context': , 'entity_id': 'sensor.wled_rgb_light_ip', @@ -205,8 +205,8 @@ # name: test_snapshots[sensor.wled_rgb_light_led_count-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light LED count', - 'unit_of_measurement': 'LEDs', + : 'WLED RGB Light LED count', + : 'LEDs', }), 'context': , 'entity_id': 'sensor.wled_rgb_light_led_count', @@ -259,9 +259,9 @@ # name: test_snapshots[sensor.wled_rgb_light_max_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'WLED RGB Light Max current', - 'unit_of_measurement': , + : 'current', + : 'WLED RGB Light Max current', + : , }), 'context': , 'entity_id': 'sensor.wled_rgb_light_max_current', @@ -311,8 +311,8 @@ # name: test_snapshots[sensor.wled_rgb_light_uptime-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'uptime', - 'friendly_name': 'WLED RGB Light Uptime', + : 'uptime', + : 'WLED RGB Light Uptime', }), 'context': , 'entity_id': 'sensor.wled_rgb_light_uptime', @@ -362,7 +362,7 @@ # name: test_snapshots[sensor.wled_rgb_light_wi_fi_bssid-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Wi-Fi BSSID', + : 'WLED RGB Light Wi-Fi BSSID', }), 'context': , 'entity_id': 'sensor.wled_rgb_light_wi_fi_bssid', @@ -412,7 +412,7 @@ # name: test_snapshots[sensor.wled_rgb_light_wi_fi_channel-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Wi-Fi channel', + : 'WLED RGB Light Wi-Fi channel', }), 'context': , 'entity_id': 'sensor.wled_rgb_light_wi_fi_channel', @@ -464,10 +464,10 @@ # name: test_snapshots[sensor.wled_rgb_light_wi_fi_rssi-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'WLED RGB Light Wi-Fi RSSI', + : 'signal_strength', + : 'WLED RGB Light Wi-Fi RSSI', : , - 'unit_of_measurement': 'dBm', + : 'dBm', }), 'context': , 'entity_id': 'sensor.wled_rgb_light_wi_fi_rssi', @@ -519,9 +519,9 @@ # name: test_snapshots[sensor.wled_rgb_light_wi_fi_signal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Wi-Fi signal', + : 'WLED RGB Light Wi-Fi signal', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.wled_rgb_light_wi_fi_signal', diff --git a/tests/components/wled/snapshots/test_switch.ambr b/tests/components/wled/snapshots/test_switch.ambr index 192361da872..1c4034c2f4c 100644 --- a/tests/components/wled/snapshots/test_switch.ambr +++ b/tests/components/wled/snapshots/test_switch.ambr @@ -40,7 +40,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'duration': 60, - 'friendly_name': 'WLED RGB Light Nightlight', + : 'WLED RGB Light Nightlight', 'target_brightness': 0, }), 'context': , @@ -91,7 +91,7 @@ # name: test_snapshots[rgb][switch.wled_rgb_light_reverse-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Reverse', + : 'WLED RGB Light Reverse', }), 'context': , 'entity_id': 'switch.wled_rgb_light_reverse', @@ -141,7 +141,7 @@ # name: test_snapshots[rgb][switch.wled_rgb_light_segment_1_reverse-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Segment 1 reverse', + : 'WLED RGB Light Segment 1 reverse', }), 'context': , 'entity_id': 'switch.wled_rgb_light_segment_1_reverse', @@ -191,7 +191,7 @@ # name: test_snapshots[rgb][switch.wled_rgb_light_freeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Freeze', + : 'WLED RGB Light Freeze', }), 'context': , 'entity_id': 'switch.wled_rgb_light_freeze', @@ -241,7 +241,7 @@ # name: test_snapshots[rgb][switch.wled_rgb_light_segment_1_freeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Segment 1 freeze', + : 'WLED RGB Light Segment 1 freeze', }), 'context': , 'entity_id': 'switch.wled_rgb_light_segment_1_freeze', @@ -291,7 +291,7 @@ # name: test_snapshots[rgb][switch.wled_rgb_light_sync_receive-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Sync receive', + : 'WLED RGB Light Sync receive', 'udp_port': 21324, }), 'context': , @@ -342,7 +342,7 @@ # name: test_snapshots[rgb][switch.wled_rgb_light_sync_send-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Sync send', + : 'WLED RGB Light Sync send', 'udp_port': 21324, }), 'context': , @@ -394,7 +394,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'duration': 60, - 'friendly_name': 'WLED RGB Light Nightlight', + : 'WLED RGB Light Nightlight', 'target_brightness': 0, }), 'context': , @@ -445,7 +445,7 @@ # name: test_snapshots[rgb_single_segment][switch.wled_rgb_light_reverse-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Reverse', + : 'WLED RGB Light Reverse', }), 'context': , 'entity_id': 'switch.wled_rgb_light_reverse', @@ -495,7 +495,7 @@ # name: test_snapshots[rgb_single_segment][switch.wled_rgb_light_freeze-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Freeze', + : 'WLED RGB Light Freeze', }), 'context': , 'entity_id': 'switch.wled_rgb_light_freeze', @@ -545,7 +545,7 @@ # name: test_snapshots[rgb_single_segment][switch.wled_rgb_light_sync_receive-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Sync receive', + : 'WLED RGB Light Sync receive', 'udp_port': 21324, }), 'context': , @@ -596,7 +596,7 @@ # name: test_snapshots[rgb_single_segment][switch.wled_rgb_light_sync_send-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'WLED RGB Light Sync send', + : 'WLED RGB Light Sync send', 'udp_port': 21324, }), 'context': , diff --git a/tests/components/wled/snapshots/test_update.ambr b/tests/components/wled/snapshots/test_update.ambr index 47a269d2a98..f93a581cc6d 100644 --- a/tests/components/wled/snapshots/test_update.ambr +++ b/tests/components/wled/snapshots/test_update.ambr @@ -3,17 +3,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/wled/icon.png', - 'friendly_name': 'WLED WebSocket Firmware', + : '/api/brands/integration/wled/icon.png', + : 'WLED WebSocket Firmware', : False, : '0.99.0', : '0.99.0', : None, : 'https://github.com/wled/WLED/releases/tag/v0.99.0', : None, - 'supported_features': , + : , : 'WLED', : None, }), @@ -29,17 +29,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/wled/icon.png', - 'friendly_name': 'WLED RGB Light Firmware', + : '/api/brands/integration/wled/icon.png', + : 'WLED RGB Light Firmware', : False, : '0.14.4', : '0.99.0', : None, : 'https://github.com/wled/WLED/releases/tag/v0.99.0', : None, - 'supported_features': , + : , : 'WLED', : None, }), @@ -92,17 +92,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/wled/icon.png', - 'friendly_name': 'WLED RGB Light Firmware', + : '/api/brands/integration/wled/icon.png', + : 'WLED RGB Light Firmware', : False, : '0.14.4', : '0.99.0', : None, : 'https://github.com/wled/WLED/releases/tag/v0.99.0', : None, - 'supported_features': , + : , : 'WLED', : None, }), @@ -118,17 +118,17 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : False, - 'device_class': 'firmware', + : 'firmware', : 0, - 'entity_picture': '/api/brands/integration/wled/icon.png', - 'friendly_name': 'WLED RGB Light Firmware', + : '/api/brands/integration/wled/icon.png', + : 'WLED RGB Light Firmware', : False, : '0.14.4', : None, : None, : None, : None, - 'supported_features': , + : , : 'WLED', : None, }), diff --git a/tests/components/wmspro/snapshots/test_button.ambr b/tests/components/wmspro/snapshots/test_button.ambr index 199576c1cc6..1f6caa234a3 100644 --- a/tests/components/wmspro/snapshots/test_button.ambr +++ b/tests/components/wmspro/snapshots/test_button.ambr @@ -2,9 +2,9 @@ # name: test_button_update[config_prod_awning_dimmer.json-status_prod_awning.json] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', - 'device_class': 'identify', - 'friendly_name': 'Markise Identify', + : 'Data provided by WMS WebControl pro API', + : 'identify', + : 'Markise Identify', }), 'context': , 'entity_id': 'button.terrasse_markise_identify', diff --git a/tests/components/wmspro/snapshots/test_cover.ambr b/tests/components/wmspro/snapshots/test_cover.ambr index d84c587cba4..26bf8feed48 100644 --- a/tests/components/wmspro/snapshots/test_cover.ambr +++ b/tests/components/wmspro/snapshots/test_cover.ambr @@ -33,12 +33,12 @@ # name: test_cover_update[config_prod_awning_dimmer.json-status_prod_awning.json] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', + : 'Data provided by WMS WebControl pro API', : 0, - 'device_class': 'awning', - 'friendly_name': 'Markise', + : 'awning', + : 'Markise', : True, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.terrasse_markise', diff --git a/tests/components/wmspro/snapshots/test_light.ambr b/tests/components/wmspro/snapshots/test_light.ambr index a8286e2d858..3fb4ac620ef 100644 --- a/tests/components/wmspro/snapshots/test_light.ambr +++ b/tests/components/wmspro/snapshots/test_light.ambr @@ -33,14 +33,14 @@ # name: test_light_update[config_prod_awning_dimmer.json-status_prod_dimmer.json] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', + : 'Data provided by WMS WebControl pro API', : None, : None, - 'friendly_name': 'Licht', + : 'Licht', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.terrasse_licht', diff --git a/tests/components/wmspro/snapshots/test_number.ambr b/tests/components/wmspro/snapshots/test_number.ambr index fde90193381..ffc1e1db4b2 100644 --- a/tests/components/wmspro/snapshots/test_number.ambr +++ b/tests/components/wmspro/snapshots/test_number.ambr @@ -2,8 +2,8 @@ # name: test_number_update[config_prod_slat_rotate.json-status_prod_slat_rotate.json-number.zonwering_begane_grond_keuken_alle_maximum_rotation] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', - 'friendly_name': 'Keuken alle Maximum Rotation', + : 'Data provided by WMS WebControl pro API', + : 'Keuken alle Maximum Rotation', : 127, : 0, : , @@ -20,8 +20,8 @@ # name: test_number_update[config_prod_slat_rotate.json-status_prod_slat_rotate.json-number.zonwering_begane_grond_keuken_alle_minimum_rotation] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', - 'friendly_name': 'Keuken alle Minimum Rotation', + : 'Data provided by WMS WebControl pro API', + : 'Keuken alle Minimum Rotation', : 0, : -127, : , @@ -38,8 +38,8 @@ # name: test_number_update[config_prod_slat_rotate.json-status_prod_slat_rotate.json-number.zonwering_begane_grond_keuken_alle_raw_rotation] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', - 'friendly_name': 'Keuken alle Raw Rotation', + : 'Data provided by WMS WebControl pro API', + : 'Keuken alle Raw Rotation', : 127, : -127, : , diff --git a/tests/components/wmspro/snapshots/test_scene.ambr b/tests/components/wmspro/snapshots/test_scene.ambr index 8e00e5ac4eb..95dfd47a905 100644 --- a/tests/components/wmspro/snapshots/test_scene.ambr +++ b/tests/components/wmspro/snapshots/test_scene.ambr @@ -2,8 +2,8 @@ # name: test_scene_activate[config_test.json] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', - 'friendly_name': 'Raum 0 Gute Nacht', + : 'Data provided by WMS WebControl pro API', + : 'Raum 0 Gute Nacht', }), 'context': , 'entity_id': 'scene.raum_0_raum_0_gute_nacht', diff --git a/tests/components/wmspro/snapshots/test_switch.ambr b/tests/components/wmspro/snapshots/test_switch.ambr index 14b8b12fc7b..b5fcc25c5ea 100644 --- a/tests/components/wmspro/snapshots/test_switch.ambr +++ b/tests/components/wmspro/snapshots/test_switch.ambr @@ -33,8 +33,8 @@ # name: test_switch_update[config_prod_load_switch.json-status_prod_load_switch.json] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'attribution': 'Data provided by WMS WebControl pro API', - 'friendly_name': 'HEIZUNG LINKS', + : 'Data provided by WMS WebControl pro API', + : 'HEIZUNG LINKS', }), 'context': , 'entity_id': 'switch.terasse_heizung_links', diff --git a/tests/components/wolflink/snapshots/test_sensor.ambr b/tests/components/wolflink/snapshots/test_sensor.ambr index a78e68a0815..88ce626f4aa 100644 --- a/tests/components/wolflink/snapshots/test_sensor.ambr +++ b/tests/components/wolflink/snapshots/test_sensor.ambr @@ -75,12 +75,12 @@ # name: test_sensors[sensor.test_device_energy_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'test-device Energy Parameter', + : 'energy', + : 'test-device Energy Parameter', 'parameter_id': 6005200000, 'parent': 'Heating', : , - 'unit_of_measurement': , + : , 'value_id': 6002800000, }), 'context': , @@ -136,12 +136,12 @@ # name: test_sensors[sensor.test_device_flow_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'volume_flow_rate', - 'friendly_name': 'test-device Flow Parameter', + : 'volume_flow_rate', + : 'test-device Flow Parameter', 'parameter_id': 11005200000, 'parent': 'Heating', : , - 'unit_of_measurement': , + : , 'value_id': 1100280001, }), 'context': , @@ -197,12 +197,12 @@ # name: test_sensors[sensor.test_device_frequency_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'frequency', - 'friendly_name': 'test-device Frequency Parameter', + : 'frequency', + : 'test-device Frequency Parameter', 'parameter_id': 9005200000, 'parent': 'Heating', : , - 'unit_of_measurement': , + : , 'value_id': 9002800000, }), 'context': , @@ -258,13 +258,13 @@ # name: test_sensors[sensor.test_device_hours_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'test-device Hours Parameter', - 'icon': 'mdi:clock', + : 'duration', + : 'test-device Hours Parameter', + : 'mdi:clock', 'parameter_id': 7005200000, 'parent': 'Heating', : , - 'unit_of_measurement': , + : , 'value_id': 7002800000, }), 'context': , @@ -315,7 +315,7 @@ # name: test_sensors[sensor.test_device_list_item_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device List Item Parameter', + : 'test-device List Item Parameter', 'parameter_id': 8005200000, 'parent': 'Heating', 'value_id': 8002800000, @@ -370,11 +370,11 @@ # name: test_sensors[sensor.test_device_percentage_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device Percentage Parameter', + : 'test-device Percentage Parameter', 'parameter_id': 2005200000, 'parent': 'Solar', : , - 'unit_of_measurement': '%', + : '%', 'value_id': 2002800000, }), 'context': , @@ -430,12 +430,12 @@ # name: test_sensors[sensor.test_device_power_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'test-device Power Parameter', + : 'power', + : 'test-device Power Parameter', 'parameter_id': 5005200000, 'parent': 'Heating', : , - 'unit_of_measurement': , + : , 'value_id': 5002800000, }), 'context': , @@ -491,12 +491,12 @@ # name: test_sensors[sensor.test_device_pressure_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'pressure', - 'friendly_name': 'test-device Pressure Parameter', + : 'pressure', + : 'test-device Pressure Parameter', 'parameter_id': 4005200000, 'parent': 'Heating', : , - 'unit_of_measurement': , + : , 'value_id': 4002800000, }), 'context': , @@ -549,11 +549,11 @@ # name: test_sensors[sensor.test_device_rpm_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device RPM Parameter', + : 'test-device RPM Parameter', 'parameter_id': 10005200000, 'parent': 'Heating', : , - 'unit_of_measurement': 'rpm', + : 'rpm', 'value_id': 1000280001, }), 'context': , @@ -604,7 +604,7 @@ # name: test_sensors[sensor.test_device_simple_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-device Simple Parameter', + : 'test-device Simple Parameter', 'parameter_id': 1005200000, 'parent': 'DHW', 'value_id': 1002800000, @@ -662,12 +662,12 @@ # name: test_sensors[sensor.test_device_temperature_parameter-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'test-device Temperature Parameter', + : 'temperature', + : 'test-device Temperature Parameter', 'parameter_id': 3005200000, 'parent': 'Solar', : , - 'unit_of_measurement': , + : , 'value_id': 3002800000, }), 'context': , diff --git a/tests/components/wsdot/snapshots/test_sensor.ambr b/tests/components/wsdot/snapshots/test_sensor.ambr index dfc8ca5fad2..d4248a98dd5 100644 --- a/tests/components/wsdot/snapshots/test_sensor.ambr +++ b/tests/components/wsdot/snapshots/test_sensor.ambr @@ -62,10 +62,10 @@ }), 'TimeUpdated': datetime.datetime(2017, 1, 21, 15, 10, tzinfo=datetime.timezone(datetime.timedelta(days=-1, seconds=57600))), 'TravelTimeID': 96, - 'attribution': 'Data provided by WSDOT', - 'friendly_name': 'Seattle-Bellevue via I-90 (EB AM)', - 'icon': 'mdi:car', - 'unit_of_measurement': , + : 'Data provided by WSDOT', + : 'Seattle-Bellevue via I-90 (EB AM)', + : 'mdi:car', + : , }), 'context': , 'entity_id': 'sensor.seattle_bellevue_via_i_90_eb_am', diff --git a/tests/components/xbox/snapshots/test_binary_sensor.ambr b/tests/components/xbox/snapshots/test_binary_sensor.ambr index ca2df2b0c75..b6c560548ad 100644 --- a/tests/components/xbox/snapshots/test_binary_sensor.ambr +++ b/tests/components/xbox/snapshots/test_binary_sensor.ambr @@ -41,8 +41,8 @@ 'attributes': ReadOnlyDict({ 'bio': '', 'display_name': 'erics273', - 'entity_picture': 'https://images-eds-ssl.xboxlive.com/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc8LY1LO8JeulzCEFHaqqItKdg9oJ84qjO.VNwvUWuq_iR5iTyx1gQsqHSvWLbqIrRI-&background=0xababab&format=png', - 'friendly_name': 'erics273', + : 'https://images-eds-ssl.xboxlive.com/image?url=rwljod2fPqLqGP3DBV9F_yK9iuxAt3_MH6tcOnQXTc8LY1LO8JeulzCEFHaqqItKdg9oJ84qjO.VNwvUWuq_iR5iTyx1gQsqHSvWLbqIrRI-&background=0xababab&format=png', + : 'erics273', 'location': 'home', 'real_name': None, }), @@ -94,7 +94,7 @@ # name: test_binary_sensors[binary_sensor.erics273_in_game-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 In game', + : 'erics273 In game', }), 'context': , 'entity_id': 'binary_sensor.erics273_in_game', @@ -144,7 +144,7 @@ # name: test_binary_sensors[binary_sensor.erics273_subscribed_to_xbox_game_pass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 Subscribed to Xbox Game Pass', + : 'erics273 Subscribed to Xbox Game Pass', }), 'context': , 'entity_id': 'binary_sensor.erics273_subscribed_to_xbox_game_pass', @@ -196,8 +196,8 @@ 'attributes': ReadOnlyDict({ 'bio': 'My mind is a swirling miasma of scintillating thoughts and turgid ideas.', 'display_name': 'GSR Ae', - 'entity_picture': 'https://images-eds-ssl.xboxlive.com/image?url=wHwbXKif8cus8csoZ03RW_ES.ojiJijNBGRVUbTnZKsoCCCkjlsEJrrMqDkYqs3M0aLOK2kxE9mbLm9M2.R0stAQYoDsGCDJxqDzG9WF3oa4rOCjEK7DbZXdBmBWnMrfErA3M_Q4y_mUTEQLqSAEeYFGlGeCXYsccnQMvEecxRg-&format=png', - 'friendly_name': 'GSR Ae', + : 'https://images-eds-ssl.xboxlive.com/image?url=wHwbXKif8cus8csoZ03RW_ES.ojiJijNBGRVUbTnZKsoCCCkjlsEJrrMqDkYqs3M0aLOK2kxE9mbLm9M2.R0stAQYoDsGCDJxqDzG9WF3oa4rOCjEK7DbZXdBmBWnMrfErA3M_Q4y_mUTEQLqSAEeYFGlGeCXYsccnQMvEecxRg-&format=png', + : 'GSR Ae', 'location': None, 'real_name': 'Test Test', }), @@ -249,7 +249,7 @@ # name: test_binary_sensors[binary_sensor.gsr_ae_in_game-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae In game', + : 'GSR Ae In game', }), 'context': , 'entity_id': 'binary_sensor.gsr_ae_in_game', @@ -299,7 +299,7 @@ # name: test_binary_sensors[binary_sensor.gsr_ae_subscribed_to_xbox_game_pass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae Subscribed to Xbox Game Pass', + : 'GSR Ae Subscribed to Xbox Game Pass', }), 'context': , 'entity_id': 'binary_sensor.gsr_ae_subscribed_to_xbox_game_pass', @@ -351,8 +351,8 @@ 'attributes': ReadOnlyDict({ 'bio': 'Bio', 'display_name': 'Ikken Hissatsuu', - 'entity_picture': 'https://images-eds-ssl.xboxlive.com/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANogj9vJpb.t4ZQMMLIWOuBZBBZs5MjD7okwh5Zwnit1SAtO3OAsFXxJc1ALIbaVoRo7gsiun9FdcaTpzkM60nqzT8ip1659eQpB1SLyupscP.ec_wAGvXwkhCcTKCNHQMrxg-&format=png', - 'friendly_name': 'Ikken Hissatsuu', + : 'https://images-eds-ssl.xboxlive.com/image?url=7OTVnZUMVj4OV2zUUGecWvn3U00nQQLfK7_kwpANogj9vJpb.t4ZQMMLIWOuBZBBZs5MjD7okwh5Zwnit1SAtO3OAsFXxJc1ALIbaVoRo7gsiun9FdcaTpzkM60nqzT8ip1659eQpB1SLyupscP.ec_wAGvXwkhCcTKCNHQMrxg-&format=png', + : 'Ikken Hissatsuu', 'location': 'Rock Hill', 'real_name': None, }), @@ -404,7 +404,7 @@ # name: test_binary_sensors[binary_sensor.ikken_hissatsuu_in_game-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu In game', + : 'Ikken Hissatsuu In game', }), 'context': , 'entity_id': 'binary_sensor.ikken_hissatsuu_in_game', @@ -454,7 +454,7 @@ # name: test_binary_sensors[binary_sensor.ikken_hissatsuu_subscribed_to_xbox_game_pass-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu Subscribed to Xbox Game Pass', + : 'Ikken Hissatsuu Subscribed to Xbox Game Pass', }), 'context': , 'entity_id': 'binary_sensor.ikken_hissatsuu_subscribed_to_xbox_game_pass', diff --git a/tests/components/xbox/snapshots/test_image.ambr b/tests/components/xbox/snapshots/test_image.ambr index 942d683b32c..29f3f7214b5 100644 --- a/tests/components/xbox/snapshots/test_image.ambr +++ b/tests/components/xbox/snapshots/test_image.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.erics273_avatar?token=520', - 'friendly_name': 'erics273 Avatar', + : '/api/image_proxy/image.erics273_avatar?token=520', + : 'erics273 Avatar', }), 'context': , 'entity_id': 'image.erics273_avatar', @@ -92,8 +92,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.erics273_gamerpic?token=520', - 'friendly_name': 'erics273 Gamerpic', + : '/api/image_proxy/image.erics273_gamerpic?token=520', + : 'erics273 Gamerpic', }), 'context': , 'entity_id': 'image.erics273_gamerpic', @@ -144,8 +144,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.erics273_now_playing?token=520', - 'friendly_name': 'erics273 Now playing', + : '/api/image_proxy/image.erics273_now_playing?token=520', + : 'erics273 Now playing', }), 'context': , 'entity_id': 'image.erics273_now_playing', @@ -196,8 +196,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.gsr_ae_avatar?token=520', - 'friendly_name': 'GSR Ae Avatar', + : '/api/image_proxy/image.gsr_ae_avatar?token=520', + : 'GSR Ae Avatar', }), 'context': , 'entity_id': 'image.gsr_ae_avatar', @@ -248,8 +248,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.gsr_ae_gamerpic?token=520', - 'friendly_name': 'GSR Ae Gamerpic', + : '/api/image_proxy/image.gsr_ae_gamerpic?token=520', + : 'GSR Ae Gamerpic', }), 'context': , 'entity_id': 'image.gsr_ae_gamerpic', @@ -300,8 +300,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.gsr_ae_now_playing?token=520', - 'friendly_name': 'GSR Ae Now playing', + : '/api/image_proxy/image.gsr_ae_now_playing?token=520', + : 'GSR Ae Now playing', }), 'context': , 'entity_id': 'image.gsr_ae_now_playing', @@ -352,8 +352,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.ikken_hissatsuu_avatar?token=520', - 'friendly_name': 'Ikken Hissatsuu Avatar', + : '/api/image_proxy/image.ikken_hissatsuu_avatar?token=520', + : 'Ikken Hissatsuu Avatar', }), 'context': , 'entity_id': 'image.ikken_hissatsuu_avatar', @@ -404,8 +404,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.ikken_hissatsuu_gamerpic?token=520', - 'friendly_name': 'Ikken Hissatsuu Gamerpic', + : '/api/image_proxy/image.ikken_hissatsuu_gamerpic?token=520', + : 'Ikken Hissatsuu Gamerpic', }), 'context': , 'entity_id': 'image.ikken_hissatsuu_gamerpic', @@ -456,8 +456,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '520', - 'entity_picture': '/api/image_proxy/image.ikken_hissatsuu_now_playing?token=520', - 'friendly_name': 'Ikken Hissatsuu Now playing', + : '/api/image_proxy/image.ikken_hissatsuu_now_playing?token=520', + : 'Ikken Hissatsuu Now playing', }), 'context': , 'entity_id': 'image.ikken_hissatsuu_now_playing', diff --git a/tests/components/xbox/snapshots/test_media_player.ambr b/tests/components/xbox/snapshots/test_media_player.ambr index f5ddee4d9c3..780cf82f608 100644 --- a/tests/components/xbox/snapshots/test_media_player.ambr +++ b/tests/components/xbox/snapshots/test_media_player.ambr @@ -165,13 +165,13 @@ # name: test_media_players[app][media_player.xone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://store-images.s-microsoft.com/image/apps.9815.9007199266246365.7dc5d343-fe4a-40c3-93dd-c78e77f97331.45eebdef-f725-4799-bbf8-9ad8391a8279', + : 'https://store-images.s-microsoft.com/image/apps.9815.9007199266246365.7dc5d343-fe4a-40c3-93dd-c78e77f97331.45eebdef-f725-4799-bbf8-9ad8391a8279', : '/api/media_player_proxy/media_player.xone?token=mock_token&cache=1cae983bd1c4c429', - 'friendly_name': 'XONE', + : 'XONE', : '9WZDNCRFJ3TJ', : , : 'Netflix', - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.xone', @@ -222,13 +222,13 @@ # name: test_media_players[app][media_player.xonex-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://store-images.s-microsoft.com/image/apps.9815.9007199266246365.7dc5d343-fe4a-40c3-93dd-c78e77f97331.45eebdef-f725-4799-bbf8-9ad8391a8279', + : 'https://store-images.s-microsoft.com/image/apps.9815.9007199266246365.7dc5d343-fe4a-40c3-93dd-c78e77f97331.45eebdef-f725-4799-bbf8-9ad8391a8279', : '/api/media_player_proxy/media_player.xonex?token=mock_token&cache=1cae983bd1c4c429', - 'friendly_name': 'XONEX', + : 'XONEX', : '9WZDNCRFJ3TJ', : , : 'Netflix', - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.xonex', @@ -280,9 +280,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'XONE', + : 'XONE', : , - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.xone', @@ -334,9 +334,9 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'XONEX', + : 'XONEX', : , - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.xonex', @@ -387,13 +387,13 @@ # name: test_media_players[livetvapp][media_player.xone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcbx57bBxf63xu2Ef8acP3S7Uz80NbHc5nza..4R00GT1V5G760cdfX7Hl0uIHdHCbkzTikdvNE0TedhKgQfQy.2gjOGbd8kXZXzy4VzeJiNPLhLq2QUQbo8q3sVoSPaw73J4BxM7gaNX8V8qLcWtO5sn6vgbTso51OaEIn4zeAiw-', + : 'https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcbx57bBxf63xu2Ef8acP3S7Uz80NbHc5nza..4R00GT1V5G760cdfX7Hl0uIHdHCbkzTikdvNE0TedhKgQfQy.2gjOGbd8kXZXzy4VzeJiNPLhLq2QUQbo8q3sVoSPaw73J4BxM7gaNX8V8qLcWtO5sn6vgbTso51OaEIn4zeAiw-', : '/api/media_player_proxy/media_player.xone?token=mock_token&cache=cf419ddd9fb966d6', - 'friendly_name': 'XONE', + : 'XONE', : '9VWGNH0VBZJX', : , : 'TV', - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.xone', @@ -444,13 +444,13 @@ # name: test_media_players[livetvapp][media_player.xonex-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcbx57bBxf63xu2Ef8acP3S7Uz80NbHc5nza..4R00GT1V5G760cdfX7Hl0uIHdHCbkzTikdvNE0TedhKgQfQy.2gjOGbd8kXZXzy4VzeJiNPLhLq2QUQbo8q3sVoSPaw73J4BxM7gaNX8V8qLcWtO5sn6vgbTso51OaEIn4zeAiw-', + : 'https://images-eds-ssl.xboxlive.com/image?url=8Oaj9Ryq1G1_p3lLnXlsaZgGzAie6Mnu24_PawYuDYIoH77pJ.X5Z.MqQPibUVTcbx57bBxf63xu2Ef8acP3S7Uz80NbHc5nza..4R00GT1V5G760cdfX7Hl0uIHdHCbkzTikdvNE0TedhKgQfQy.2gjOGbd8kXZXzy4VzeJiNPLhLq2QUQbo8q3sVoSPaw73J4BxM7gaNX8V8qLcWtO5sn6vgbTso51OaEIn4zeAiw-', : '/api/media_player_proxy/media_player.xonex?token=mock_token&cache=cf419ddd9fb966d6', - 'friendly_name': 'XONEX', + : 'XONEX', : '9VWGNH0VBZJX', : , : 'TV', - 'supported_features': , + : , }), 'context': , 'entity_id': 'media_player.xonex', diff --git a/tests/components/xbox/snapshots/test_remote.ambr b/tests/components/xbox/snapshots/test_remote.ambr index fcca3e5a7dc..e3c11c2b3e2 100644 --- a/tests/components/xbox/snapshots/test_remote.ambr +++ b/tests/components/xbox/snapshots/test_remote.ambr @@ -39,8 +39,8 @@ # name: test_remotes[remote.xone-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'XONE', - 'supported_features': , + : 'XONE', + : , }), 'context': , 'entity_id': 'remote.xone', @@ -90,8 +90,8 @@ # name: test_remotes[remote.xonex-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'XONEX', - 'supported_features': , + : 'XONEX', + : , }), 'context': , 'entity_id': 'remote.xonex', diff --git a/tests/components/xbox/snapshots/test_sensor.ambr b/tests/components/xbox/snapshots/test_sensor.ambr index f0d83ec93c7..10e1d91d6ae 100644 --- a/tests/components/xbox/snapshots/test_sensor.ambr +++ b/tests/components/xbox/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensors[sensor.erics273_follower-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 Follower', + : 'erics273 Follower', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.erics273_follower', @@ -95,9 +95,9 @@ # name: test_sensors[sensor.erics273_following-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 Following', + : 'erics273 Following', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.erics273_following', @@ -149,9 +149,9 @@ # name: test_sensors[sensor.erics273_friends-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 Friends', + : 'erics273 Friends', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.erics273_friends', @@ -203,9 +203,9 @@ # name: test_sensors[sensor.erics273_gamerscore-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 Gamerscore', + : 'erics273 Gamerscore', : , - 'unit_of_measurement': 'points', + : 'points', }), 'context': , 'entity_id': 'sensor.erics273_gamerscore', @@ -255,8 +255,8 @@ # name: test_sensors[sensor.erics273_in_party-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 In party', - 'unit_of_measurement': 'people', + : 'erics273 In party', + : 'people', }), 'context': , 'entity_id': 'sensor.erics273_in_party', @@ -306,8 +306,8 @@ # name: test_sensors[sensor.erics273_last_online-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'erics273 Last online', + : 'timestamp', + : 'erics273 Last online', }), 'context': , 'entity_id': 'sensor.erics273_last_online', @@ -359,7 +359,7 @@ 'attributes': ReadOnlyDict({ 'achievements': None, 'developer': None, - 'friendly_name': 'erics273 Now playing', + : 'erics273 Now playing', 'gamerscore': None, 'genres': None, 'min_age': None, @@ -422,8 +422,8 @@ # name: test_sensors[sensor.erics273_party_join_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'erics273 Party join restrictions', + : 'enum', + : 'erics273 Party join restrictions', : list([ 'invite_only', 'joinable', @@ -477,7 +477,7 @@ # name: test_sensors[sensor.erics273_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'erics273 Status', + : 'erics273 Status', }), 'context': , 'entity_id': 'sensor.erics273_status', @@ -529,9 +529,9 @@ # name: test_sensors[sensor.gsr_ae_follower-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae Follower', + : 'GSR Ae Follower', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.gsr_ae_follower', @@ -583,9 +583,9 @@ # name: test_sensors[sensor.gsr_ae_following-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae Following', + : 'GSR Ae Following', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.gsr_ae_following', @@ -637,9 +637,9 @@ # name: test_sensors[sensor.gsr_ae_friends-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae Friends', + : 'GSR Ae Friends', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.gsr_ae_friends', @@ -691,9 +691,9 @@ # name: test_sensors[sensor.gsr_ae_gamerscore-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae Gamerscore', + : 'GSR Ae Gamerscore', : , - 'unit_of_measurement': 'points', + : 'points', }), 'context': , 'entity_id': 'sensor.gsr_ae_gamerscore', @@ -743,8 +743,8 @@ # name: test_sensors[sensor.gsr_ae_in_party-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae In party', - 'unit_of_measurement': 'people', + : 'GSR Ae In party', + : 'people', }), 'context': , 'entity_id': 'sensor.gsr_ae_in_party', @@ -794,8 +794,8 @@ # name: test_sensors[sensor.gsr_ae_last_online-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'GSR Ae Last online', + : 'timestamp', + : 'GSR Ae Last online', }), 'context': , 'entity_id': 'sensor.gsr_ae_last_online', @@ -847,8 +847,8 @@ 'attributes': ReadOnlyDict({ 'achievements': '2 / 43', 'developer': 'Mistwalker / Artoon', - 'entity_picture': 'https://store-images.s-microsoft.com/image/apps.35072.13670972585585116.70570f0d-17aa-4f97-b692-5412fa183673.25a97451-9369-4f6b-b66b-3427913235eb', - 'friendly_name': 'GSR Ae Now playing', + : 'https://store-images.s-microsoft.com/image/apps.35072.13670972585585116.70570f0d-17aa-4f97-b692-5412fa183673.25a97451-9369-4f6b-b66b-3427913235eb', + : 'GSR Ae Now playing', 'gamerscore': '10 / 1000', 'genres': 'Role Playing', 'min_age': 13, @@ -911,8 +911,8 @@ # name: test_sensors[sensor.gsr_ae_party_join_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'GSR Ae Party join restrictions', + : 'enum', + : 'GSR Ae Party join restrictions', : list([ 'invite_only', 'joinable', @@ -966,7 +966,7 @@ # name: test_sensors[sensor.gsr_ae_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'GSR Ae Status', + : 'GSR Ae Status', }), 'context': , 'entity_id': 'sensor.gsr_ae_status', @@ -1018,9 +1018,9 @@ # name: test_sensors[sensor.ikken_hissatsuu_follower-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu Follower', + : 'Ikken Hissatsuu Follower', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.ikken_hissatsuu_follower', @@ -1072,9 +1072,9 @@ # name: test_sensors[sensor.ikken_hissatsuu_following-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu Following', + : 'Ikken Hissatsuu Following', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.ikken_hissatsuu_following', @@ -1126,9 +1126,9 @@ # name: test_sensors[sensor.ikken_hissatsuu_friends-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu Friends', + : 'Ikken Hissatsuu Friends', : , - 'unit_of_measurement': 'people', + : 'people', }), 'context': , 'entity_id': 'sensor.ikken_hissatsuu_friends', @@ -1180,9 +1180,9 @@ # name: test_sensors[sensor.ikken_hissatsuu_gamerscore-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu Gamerscore', + : 'Ikken Hissatsuu Gamerscore', : , - 'unit_of_measurement': 'points', + : 'points', }), 'context': , 'entity_id': 'sensor.ikken_hissatsuu_gamerscore', @@ -1232,8 +1232,8 @@ # name: test_sensors[sensor.ikken_hissatsuu_in_party-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu In party', - 'unit_of_measurement': 'people', + : 'Ikken Hissatsuu In party', + : 'people', }), 'context': , 'entity_id': 'sensor.ikken_hissatsuu_in_party', @@ -1283,8 +1283,8 @@ # name: test_sensors[sensor.ikken_hissatsuu_last_online-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'timestamp', - 'friendly_name': 'Ikken Hissatsuu Last online', + : 'timestamp', + : 'Ikken Hissatsuu Last online', }), 'context': , 'entity_id': 'sensor.ikken_hissatsuu_last_online', @@ -1336,7 +1336,7 @@ 'attributes': ReadOnlyDict({ 'achievements': None, 'developer': None, - 'friendly_name': 'Ikken Hissatsuu Now playing', + : 'Ikken Hissatsuu Now playing', 'gamerscore': None, 'genres': None, 'min_age': None, @@ -1399,8 +1399,8 @@ # name: test_sensors[sensor.ikken_hissatsuu_party_join_restrictions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Ikken Hissatsuu Party join restrictions', + : 'enum', + : 'Ikken Hissatsuu Party join restrictions', : list([ 'invite_only', 'joinable', @@ -1454,7 +1454,7 @@ # name: test_sensors[sensor.ikken_hissatsuu_status-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Ikken Hissatsuu Status', + : 'Ikken Hissatsuu Status', }), 'context': , 'entity_id': 'sensor.ikken_hissatsuu_status', @@ -1512,10 +1512,10 @@ # name: test_sensors[sensor.xone_free_space_external-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'XONE Free space - External', + : 'data_size', + : 'XONE Free space - External', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xone_free_space_external', @@ -1573,10 +1573,10 @@ # name: test_sensors[sensor.xone_free_space_internal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'XONE Free space - Internal', + : 'data_size', + : 'XONE Free space - Internal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xone_free_space_internal', @@ -1634,10 +1634,10 @@ # name: test_sensors[sensor.xone_total_space_external-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'XONE Total space - External', + : 'data_size', + : 'XONE Total space - External', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xone_total_space_external', @@ -1695,10 +1695,10 @@ # name: test_sensors[sensor.xone_total_space_internal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'XONE Total space - Internal', + : 'data_size', + : 'XONE Total space - Internal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xone_total_space_internal', @@ -1756,10 +1756,10 @@ # name: test_sensors[sensor.xonex_free_space_internal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'XONEX Free space - Internal', + : 'data_size', + : 'XONEX Free space - Internal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xonex_free_space_internal', @@ -1817,10 +1817,10 @@ # name: test_sensors[sensor.xonex_total_space_internal-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'data_size', - 'friendly_name': 'XONEX Total space - Internal', + : 'data_size', + : 'XONEX Total space - Internal', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.xonex_total_space_internal', diff --git a/tests/components/xiaomi_miio/snapshots/test_fan.ambr b/tests/components/xiaomi_miio/snapshots/test_fan.ambr index 0b58f2e9b60..1f1b4ec3b70 100644 --- a/tests/components/xiaomi_miio/snapshots/test_fan.ambr +++ b/tests/components/xiaomi_miio/snapshots/test_fan.ambr @@ -45,7 +45,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'test_fan', + : 'test_fan', : None, : None, : 1.0, @@ -54,7 +54,7 @@ 'Normal', 'Nature', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.test_fan', @@ -110,7 +110,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : None, - 'friendly_name': 'test_fan', + : 'test_fan', : False, : None, : 1.0, @@ -119,7 +119,7 @@ 'Normal', 'Nature', ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.test_fan', diff --git a/tests/components/xthings_cloud/snapshots/test_light.ambr b/tests/components/xthings_cloud/snapshots/test_light.ambr index d8a6b37b94d..e1561f79240 100644 --- a/tests/components/xthings_cloud/snapshots/test_light.ambr +++ b/tests/components/xthings_cloud/snapshots/test_light.ambr @@ -49,7 +49,7 @@ : 191, : , : None, - 'friendly_name': 'Bedroom Light', + : 'Bedroom Light', : tuple( 150, 80, @@ -65,7 +65,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.174, 0.53, @@ -125,11 +125,11 @@ 'attributes': ReadOnlyDict({ : None, : None, - 'friendly_name': 'Hallway Light', + : 'Hallway Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.hallway_light', @@ -184,11 +184,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Porch Light', + : 'Porch Light', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.porch_light', diff --git a/tests/components/xthings_cloud/snapshots/test_lock.ambr b/tests/components/xthings_cloud/snapshots/test_lock.ambr index e4f74e9b3e7..66427ad580c 100644 --- a/tests/components/xthings_cloud/snapshots/test_lock.ambr +++ b/tests/components/xthings_cloud/snapshots/test_lock.ambr @@ -39,8 +39,8 @@ # name: test_locks[lock.front_door_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Front Door Lock', - 'supported_features': , + : 'Front Door Lock', + : , }), 'context': , 'entity_id': 'lock.front_door_lock', diff --git a/tests/components/xthings_cloud/snapshots/test_switch.ambr b/tests/components/xthings_cloud/snapshots/test_switch.ambr index 90fc9226409..1782b9f96f0 100644 --- a/tests/components/xthings_cloud/snapshots/test_switch.ambr +++ b/tests/components/xthings_cloud/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switches[switch.smart_plug_50-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Plug 50', + : 'Smart Plug 50', }), 'context': , 'entity_id': 'switch.smart_plug_50', @@ -89,7 +89,7 @@ # name: test_switches[switch.smart_plug_100-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Smart Plug 100', + : 'Smart Plug 100', }), 'context': , 'entity_id': 'switch.smart_plug_100', diff --git a/tests/components/yale/snapshots/test_sensor.ambr b/tests/components/yale/snapshots/test_sensor.ambr index 6ff2b6e74f2..239e5a6da7c 100644 --- a/tests/components/yale/snapshots/test_sensor.ambr +++ b/tests/components/yale/snapshots/test_sensor.ambr @@ -2,7 +2,7 @@ # name: test_lock_operator_autorelock ReadOnlyDict({ 'autorelock': True, - 'friendly_name': 'online_with_doorsense Name Operator', + : 'online_with_doorsense Name Operator', 'keypad': False, 'manual': False, 'method': 'autorelock', @@ -13,7 +13,7 @@ # name: test_lock_operator_keypad ReadOnlyDict({ 'autorelock': False, - 'friendly_name': 'online_with_doorsense Name Operator', + : 'online_with_doorsense Name Operator', 'keypad': True, 'manual': False, 'method': 'keypad', @@ -24,7 +24,7 @@ # name: test_lock_operator_manual ReadOnlyDict({ 'autorelock': False, - 'friendly_name': 'online_with_doorsense Name Operator', + : 'online_with_doorsense Name Operator', 'keypad': False, 'manual': True, 'method': 'manual', @@ -35,7 +35,7 @@ # name: test_lock_operator_remote ReadOnlyDict({ 'autorelock': False, - 'friendly_name': 'online_with_doorsense Name Operator', + : 'online_with_doorsense Name Operator', 'keypad': False, 'manual': False, 'method': 'remote', @@ -47,8 +47,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'autorelock': False, - 'entity_picture': 'image.png', - 'friendly_name': 'online_with_doorsense Name Operator', + : 'image.png', + : 'online_with_doorsense Name Operator', 'keypad': False, 'manual': False, 'method': 'tag', @@ -67,7 +67,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ 'autorelock': False, - 'friendly_name': 'online_with_doorsense Name Operator', + : 'online_with_doorsense Name Operator', 'keypad': False, 'manual': True, 'method': 'manual', @@ -85,7 +85,7 @@ # name: test_unlock_operator_tag ReadOnlyDict({ 'autorelock': False, - 'friendly_name': 'online_with_doorsense Name Operator', + : 'online_with_doorsense Name Operator', 'keypad': False, 'manual': False, 'method': 'tag', diff --git a/tests/components/yale_smart_alarm/snapshots/test_alarm_control_panel.ambr b/tests/components/yale_smart_alarm/snapshots/test_alarm_control_panel.ambr index f9b36cfbdef..1951a392aa5 100644 --- a/tests/components/yale_smart_alarm/snapshots/test_alarm_control_panel.ambr +++ b/tests/components/yale_smart_alarm/snapshots/test_alarm_control_panel.ambr @@ -42,8 +42,8 @@ : None, : False, : None, - 'friendly_name': 'test-username', - 'supported_features': , + : 'test-username', + : , }), 'context': , 'entity_id': 'alarm_control_panel.test_username', diff --git a/tests/components/yale_smart_alarm/snapshots/test_binary_sensor.ambr b/tests/components/yale_smart_alarm/snapshots/test_binary_sensor.ambr index db3c6db7eac..69fa274d7bb 100644 --- a/tests/components/yale_smart_alarm/snapshots/test_binary_sensor.ambr +++ b/tests/components/yale_smart_alarm/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.device4_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Device4 Battery', + : 'battery', + : 'Device4 Battery', }), 'context': , 'entity_id': 'binary_sensor.device4_battery', @@ -90,8 +90,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.device4_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Device4 Door', + : 'door', + : 'Device4 Door', }), 'context': , 'entity_id': 'binary_sensor.device4_door', @@ -141,8 +141,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.device5_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Device5 Battery', + : 'battery', + : 'Device5 Battery', }), 'context': , 'entity_id': 'binary_sensor.device5_battery', @@ -192,8 +192,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.device5_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Device5 Door', + : 'door', + : 'Device5 Door', }), 'context': , 'entity_id': 'binary_sensor.device5_door', @@ -243,8 +243,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.device6_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Device6 Battery', + : 'battery', + : 'Device6 Battery', }), 'context': , 'entity_id': 'binary_sensor.device6_battery', @@ -294,8 +294,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.device6_door-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'door', - 'friendly_name': 'Device6 Door', + : 'door', + : 'Device6 Door', }), 'context': , 'entity_id': 'binary_sensor.device6_door', @@ -345,8 +345,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.test_username_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-username Battery', + : 'problem', + : 'test-username Battery', }), 'context': , 'entity_id': 'binary_sensor.test_username_battery', @@ -396,8 +396,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.test_username_jam-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-username Jam', + : 'problem', + : 'test-username Jam', }), 'context': , 'entity_id': 'binary_sensor.test_username_jam', @@ -447,8 +447,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.test_username_power_loss-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-username Power loss', + : 'problem', + : 'test-username Power loss', }), 'context': , 'entity_id': 'binary_sensor.test_username_power_loss', @@ -498,8 +498,8 @@ # name: test_binary_sensor[load_platforms0][binary_sensor.test_username_tamper-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'test-username Tamper', + : 'problem', + : 'test-username Tamper', }), 'context': , 'entity_id': 'binary_sensor.test_username_tamper', diff --git a/tests/components/yale_smart_alarm/snapshots/test_button.ambr b/tests/components/yale_smart_alarm/snapshots/test_button.ambr index 24fa3355648..9035cfda5ff 100644 --- a/tests/components/yale_smart_alarm/snapshots/test_button.ambr +++ b/tests/components/yale_smart_alarm/snapshots/test_button.ambr @@ -39,7 +39,7 @@ # name: test_button[load_platforms0][button.test_username_panic_button-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'test-username Panic button', + : 'test-username Panic button', }), 'context': , 'entity_id': 'button.test_username_panic_button', diff --git a/tests/components/yale_smart_alarm/snapshots/test_lock.ambr b/tests/components/yale_smart_alarm/snapshots/test_lock.ambr index 280576d61a4..f4a446d2059 100644 --- a/tests/components/yale_smart_alarm/snapshots/test_lock.ambr +++ b/tests/components/yale_smart_alarm/snapshots/test_lock.ambr @@ -40,8 +40,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '^\\d{6}$', - 'friendly_name': 'Device1', - 'supported_features': , + : 'Device1', + : , }), 'context': , 'entity_id': 'lock.device1', @@ -92,8 +92,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '^\\d{6}$', - 'friendly_name': 'Device2', - 'supported_features': , + : 'Device2', + : , }), 'context': , 'entity_id': 'lock.device2', @@ -144,8 +144,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '^\\d{6}$', - 'friendly_name': 'Device3', - 'supported_features': , + : 'Device3', + : , }), 'context': , 'entity_id': 'lock.device3', @@ -196,8 +196,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '^\\d{6}$', - 'friendly_name': 'Device7', - 'supported_features': , + : 'Device7', + : , }), 'context': , 'entity_id': 'lock.device7', @@ -248,8 +248,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '^\\d{6}$', - 'friendly_name': 'Device8', - 'supported_features': , + : 'Device8', + : , }), 'context': , 'entity_id': 'lock.device8', @@ -300,8 +300,8 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : '^\\d{6}$', - 'friendly_name': 'Device9', - 'supported_features': , + : 'Device9', + : , }), 'context': , 'entity_id': 'lock.device9', diff --git a/tests/components/yale_smart_alarm/snapshots/test_select.ambr b/tests/components/yale_smart_alarm/snapshots/test_select.ambr index 394d98c1a80..4f2eb01572e 100644 --- a/tests/components/yale_smart_alarm/snapshots/test_select.ambr +++ b/tests/components/yale_smart_alarm/snapshots/test_select.ambr @@ -45,7 +45,7 @@ # name: test_switch[load_platforms0][select.device1_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device1 Volume', + : 'Device1 Volume', : list([ 'high', 'low', @@ -106,7 +106,7 @@ # name: test_switch[load_platforms0][select.device2_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device2 Volume', + : 'Device2 Volume', : list([ 'high', 'low', @@ -167,7 +167,7 @@ # name: test_switch[load_platforms0][select.device3_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device3 Volume', + : 'Device3 Volume', : list([ 'high', 'low', @@ -228,7 +228,7 @@ # name: test_switch[load_platforms0][select.device7_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device7 Volume', + : 'Device7 Volume', : list([ 'high', 'low', @@ -289,7 +289,7 @@ # name: test_switch[load_platforms0][select.device8_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device8 Volume', + : 'Device8 Volume', : list([ 'high', 'low', @@ -350,7 +350,7 @@ # name: test_switch[load_platforms0][select.device9_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device9 Volume', + : 'Device9 Volume', : list([ 'high', 'low', diff --git a/tests/components/yale_smart_alarm/snapshots/test_switch.ambr b/tests/components/yale_smart_alarm/snapshots/test_switch.ambr index fccca7a9d16..2c95de4083a 100644 --- a/tests/components/yale_smart_alarm/snapshots/test_switch.ambr +++ b/tests/components/yale_smart_alarm/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_switch[load_platforms0][switch.device1_autolock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device1 Autolock', + : 'Device1 Autolock', }), 'context': , 'entity_id': 'switch.device1_autolock', @@ -89,7 +89,7 @@ # name: test_switch[load_platforms0][switch.device2_autolock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device2 Autolock', + : 'Device2 Autolock', }), 'context': , 'entity_id': 'switch.device2_autolock', @@ -139,7 +139,7 @@ # name: test_switch[load_platforms0][switch.device3_autolock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device3 Autolock', + : 'Device3 Autolock', }), 'context': , 'entity_id': 'switch.device3_autolock', @@ -189,7 +189,7 @@ # name: test_switch[load_platforms0][switch.device7_autolock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device7 Autolock', + : 'Device7 Autolock', }), 'context': , 'entity_id': 'switch.device7_autolock', @@ -239,7 +239,7 @@ # name: test_switch[load_platforms0][switch.device8_autolock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device8 Autolock', + : 'Device8 Autolock', }), 'context': , 'entity_id': 'switch.device8_autolock', @@ -289,7 +289,7 @@ # name: test_switch[load_platforms0][switch.device9_autolock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Device9 Autolock', + : 'Device9 Autolock', }), 'context': , 'entity_id': 'switch.device9_autolock', diff --git a/tests/components/yardian/snapshots/test_binary_sensor.ambr b/tests/components/yardian/snapshots/test_binary_sensor.ambr index 0a21c87400b..a06c5a2f0cd 100644 --- a/tests/components/yardian/snapshots/test_binary_sensor.ambr +++ b/tests/components/yardian/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.yardian_smart_sprinkler_freeze_prevent-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Yardian Smart Sprinkler Freeze prevent', + : 'problem', + : 'Yardian Smart Sprinkler Freeze prevent', }), 'context': , 'entity_id': 'binary_sensor.yardian_smart_sprinkler_freeze_prevent', @@ -90,7 +90,7 @@ # name: test_all_entities[binary_sensor.yardian_smart_sprinkler_standby-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Yardian Smart Sprinkler Standby', + : 'Yardian Smart Sprinkler Standby', }), 'context': , 'entity_id': 'binary_sensor.yardian_smart_sprinkler_standby', @@ -140,8 +140,8 @@ # name: test_all_entities[binary_sensor.yardian_smart_sprinkler_watering_running-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'running', - 'friendly_name': 'Yardian Smart Sprinkler Watering running', + : 'running', + : 'Yardian Smart Sprinkler Watering running', }), 'context': , 'entity_id': 'binary_sensor.yardian_smart_sprinkler_watering_running', @@ -191,7 +191,7 @@ # name: test_all_entities[binary_sensor.zone_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zone 1', + : 'Zone 1', }), 'context': , 'entity_id': 'binary_sensor.zone_1', @@ -241,7 +241,7 @@ # name: test_all_entities[binary_sensor.zone_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zone 2', + : 'Zone 2', }), 'context': , 'entity_id': 'binary_sensor.zone_2', diff --git a/tests/components/yardian/snapshots/test_sensor.ambr b/tests/components/yardian/snapshots/test_sensor.ambr index 3372b7d9642..931f3c4b8e1 100644 --- a/tests/components/yardian/snapshots/test_sensor.ambr +++ b/tests/components/yardian/snapshots/test_sensor.ambr @@ -41,9 +41,9 @@ # name: test_sensor_entities[sensor.yardian_smart_sprinkler_active_zones-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Yardian Smart Sprinkler Active zones', + : 'Yardian Smart Sprinkler Active zones', : , - 'unit_of_measurement': 'zones', + : 'zones', }), 'context': , 'entity_id': 'sensor.yardian_smart_sprinkler_active_zones', @@ -98,10 +98,10 @@ # name: test_sensor_entities[sensor.yardian_smart_sprinkler_rain_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Yardian Smart Sprinkler Rain delay', + : 'duration', + : 'Yardian Smart Sprinkler Rain delay', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.yardian_smart_sprinkler_rain_delay', @@ -154,9 +154,9 @@ # name: test_sensor_entities[sensor.yardian_smart_sprinkler_water_hammer_duration-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Yardian Smart Sprinkler Water hammer duration', - 'unit_of_measurement': , + : 'duration', + : 'Yardian Smart Sprinkler Water hammer duration', + : , }), 'context': , 'entity_id': 'sensor.yardian_smart_sprinkler_water_hammer_duration', @@ -209,9 +209,9 @@ # name: test_sensor_entities[sensor.yardian_smart_sprinkler_zone_delay-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Yardian Smart Sprinkler Zone delay', - 'unit_of_measurement': , + : 'duration', + : 'Yardian Smart Sprinkler Zone delay', + : , }), 'context': , 'entity_id': 'sensor.yardian_smart_sprinkler_zone_delay', diff --git a/tests/components/yardian/snapshots/test_switch.ambr b/tests/components/yardian/snapshots/test_switch.ambr index df8b22b66bd..c4991904509 100644 --- a/tests/components/yardian/snapshots/test_switch.ambr +++ b/tests/components/yardian/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.zone_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zone 1', + : 'Zone 1', }), 'context': , 'entity_id': 'switch.zone_1', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.zone_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zone 2', + : 'Zone 2', }), 'context': , 'entity_id': 'switch.zone_2', diff --git a/tests/components/yeelight/snapshots/test_light.ambr b/tests/components/yeelight/snapshots/test_light.ambr index ba678fb917e..dea1c06a145 100644 --- a/tests/components/yeelight/snapshots/test_light.ambr +++ b/tests/components/yeelight/snapshots/test_light.ambr @@ -35,7 +35,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Ambilight', + : 'Yeelight Color 0x15243f Ambilight', : tuple( 27.001, 19.243, @@ -54,7 +54,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.371, 0.349, @@ -97,7 +97,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Ambilight', + : 'Yeelight Color 0x15243f Ambilight', : tuple( 200, 70, @@ -116,7 +116,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.168, 0.247, @@ -159,7 +159,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Ambilight', + : 'Yeelight Color 0x15243f Ambilight', : tuple( 120.0, 100.0, @@ -178,7 +178,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.172, 0.747, @@ -221,7 +221,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 26.812, 34.87, @@ -240,7 +240,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.42, 0.365, @@ -251,13 +251,13 @@ ReadOnlyDict({ : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[color_ct][color_ct_nightlight_mode] @@ -296,7 +296,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 28.401, 100.0, @@ -315,7 +315,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.62, 0.368, @@ -358,7 +358,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 100, 35, @@ -377,7 +377,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.31, 0.45, @@ -388,13 +388,13 @@ ReadOnlyDict({ : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[color_hsv_no_hue] @@ -433,7 +433,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : None, : 6500, : 1700, @@ -445,7 +445,7 @@ , , ]), - 'supported_features': , + : , : None, }) # --- @@ -453,13 +453,13 @@ ReadOnlyDict({ : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[color_rgb] @@ -498,7 +498,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 0.0, 100.0, @@ -517,7 +517,7 @@ , , ]), - 'supported_features': , + : , : tuple( 0.701, 0.299, @@ -528,13 +528,13 @@ ReadOnlyDict({ : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[color_rgb_no_color] @@ -573,7 +573,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : None, : 6500, : 1700, @@ -585,7 +585,7 @@ , , ]), - 'supported_features': , + : , : None, }) # --- @@ -593,13 +593,13 @@ ReadOnlyDict({ : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[color_unsupported] @@ -638,7 +638,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : None, : 6500, : 1700, @@ -650,7 +650,7 @@ , , ]), - 'supported_features': , + : , : None, }) # --- @@ -658,13 +658,13 @@ ReadOnlyDict({ : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[default] @@ -687,13 +687,13 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', 'music_mode': False, 'night_light': False, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[white] @@ -716,13 +716,13 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', 'music_mode': False, 'night_light': False, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[whitetemp] @@ -736,7 +736,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 26.812, 34.87, @@ -753,7 +753,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.42, 0.365, @@ -765,13 +765,13 @@ : 59, : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[whitetemp][whitetemp_nightlight_mode] @@ -785,7 +785,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 28.395, 65.723, @@ -802,7 +802,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.525, 0.388, @@ -820,7 +820,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 26.812, 34.87, @@ -837,7 +837,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.42, 0.365, @@ -849,13 +849,13 @@ : 59, : , 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f Nightlight', + : 'Yeelight Color 0x15243f Nightlight', 'music_mode': False, 'night_light': True, : list([ , ]), - 'supported_features': , + : , }) # --- # name: test_device_types[whitetempmood][whitetempmood_nightlight_mode] @@ -869,7 +869,7 @@ 'Stop', ]), 'flowing': False, - 'friendly_name': 'Yeelight Color 0x15243f', + : 'Yeelight Color 0x15243f', : tuple( 28.395, 65.723, @@ -886,7 +886,7 @@ : list([ , ]), - 'supported_features': , + : , : tuple( 0.525, 0.388, diff --git a/tests/components/yoto/snapshots/test_binary_sensor.ambr b/tests/components/yoto/snapshots/test_binary_sensor.ambr index 023fba0b0eb..3c63e9f8871 100644 --- a/tests/components/yoto/snapshots/test_binary_sensor.ambr +++ b/tests/components/yoto/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.nursery_yoto_bluetooth_audio-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Nursery Yoto Bluetooth audio', + : 'connectivity', + : 'Nursery Yoto Bluetooth audio', }), 'context': , 'entity_id': 'binary_sensor.nursery_yoto_bluetooth_audio', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.nursery_yoto_charging-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery_charging', - 'friendly_name': 'Nursery Yoto Charging', + : 'battery_charging', + : 'Nursery Yoto Charging', }), 'context': , 'entity_id': 'binary_sensor.nursery_yoto_charging', @@ -141,8 +141,8 @@ # name: test_all_entities[binary_sensor.nursery_yoto_headphones-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Nursery Yoto Headphones', + : 'connectivity', + : 'Nursery Yoto Headphones', }), 'context': , 'entity_id': 'binary_sensor.nursery_yoto_headphones', diff --git a/tests/components/yoto/snapshots/test_media_player.ambr b/tests/components/yoto/snapshots/test_media_player.ambr index a8b971bc6b5..503a3b79e78 100644 --- a/tests/components/yoto/snapshots/test_media_player.ambr +++ b/tests/components/yoto/snapshots/test_media_player.ambr @@ -40,17 +40,17 @@ # name: test_entity_state[media_player.nursery_yoto-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'speaker', - 'entity_picture': 'https://example.test/cover.jpg', + : 'speaker', + : 'https://example.test/cover.jpg', : '/api/media_player_proxy/media_player.nursery_yoto?token=abcdef&cache=1cbba102718cbf3f', - 'friendly_name': 'Nursery Yoto', + : 'Nursery Yoto', : 'Outer Space', : 'Ladybird Audio Adventures', : 300, : 120, : datetime.datetime(2026, 5, 8, 12, 0, tzinfo=datetime.timezone.utc), : 'Introduction', - 'supported_features': , + : , : 0.5, }), 'context': , diff --git a/tests/components/yoto/snapshots/test_number.ambr b/tests/components/yoto/snapshots/test_number.ambr index d3387ab0a2c..185493bfb52 100644 --- a/tests/components/yoto/snapshots/test_number.ambr +++ b/tests/components/yoto/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_all_entities[number.nursery_yoto_day_mode_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Day mode brightness', + : 'Nursery Yoto Day mode brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.nursery_yoto_day_mode_brightness', @@ -104,7 +104,7 @@ # name: test_all_entities[number.nursery_yoto_day_mode_maximum_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Day mode maximum volume', + : 'Nursery Yoto Day mode maximum volume', : 16, : 0, : , @@ -163,12 +163,12 @@ # name: test_all_entities[number.nursery_yoto_night_mode_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Night mode brightness', + : 'Nursery Yoto Night mode brightness', : 100, : 0, : , : 1, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.nursery_yoto_night_mode_brightness', @@ -223,7 +223,7 @@ # name: test_all_entities[number.nursery_yoto_night_mode_maximum_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Night mode maximum volume', + : 'Nursery Yoto Night mode maximum volume', : 16, : 0, : , diff --git a/tests/components/yoto/snapshots/test_select.ambr b/tests/components/yoto/snapshots/test_select.ambr index a1376de458c..7e26ada4ea0 100644 --- a/tests/components/yoto/snapshots/test_select.ambr +++ b/tests/components/yoto/snapshots/test_select.ambr @@ -50,7 +50,7 @@ # name: test_all_entities[select.nursery_yoto_day_mode_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Day mode color', + : 'Nursery Yoto Day mode color', : list([ 'orange_peel', 'tambourine_red', @@ -121,7 +121,7 @@ # name: test_all_entities[select.nursery_yoto_night_mode_color-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Night mode color', + : 'Nursery Yoto Night mode color', : list([ 'orange_peel', 'tambourine_red', diff --git a/tests/components/yoto/snapshots/test_sensor.ambr b/tests/components/yoto/snapshots/test_sensor.ambr index 66d09b86d0d..523f1a41e43 100644 --- a/tests/components/yoto/snapshots/test_sensor.ambr +++ b/tests/components/yoto/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.nursery_yoto_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Nursery Yoto Battery', + : 'battery', + : 'Nursery Yoto Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.nursery_yoto_battery', @@ -101,8 +101,8 @@ # name: test_all_entities[sensor.nursery_yoto_card_slot-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Nursery Yoto Card slot', + : 'enum', + : 'Nursery Yoto Card slot', : list([ 'none', 'physical', @@ -163,8 +163,8 @@ # name: test_all_entities[sensor.nursery_yoto_day_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Nursery Yoto Day mode', + : 'enum', + : 'Nursery Yoto Day mode', : list([ 'day', 'night', diff --git a/tests/components/yoto/snapshots/test_switch.ambr b/tests/components/yoto/snapshots/test_switch.ambr index 023cebc7b5c..2bc2047ae7c 100644 --- a/tests/components/yoto/snapshots/test_switch.ambr +++ b/tests/components/yoto/snapshots/test_switch.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[switch.nursery_yoto_bluetooth_pairing-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Bluetooth pairing', + : 'Nursery Yoto Bluetooth pairing', }), 'context': , 'entity_id': 'switch.nursery_yoto_bluetooth_pairing', @@ -89,7 +89,7 @@ # name: test_all_entities[switch.nursery_yoto_day_mode_automatic_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Day mode automatic brightness', + : 'Nursery Yoto Day mode automatic brightness', }), 'context': , 'entity_id': 'switch.nursery_yoto_day_mode_automatic_brightness', @@ -139,7 +139,7 @@ # name: test_all_entities[switch.nursery_yoto_maximum_headphone_volume-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Maximum headphone volume', + : 'Nursery Yoto Maximum headphone volume', }), 'context': , 'entity_id': 'switch.nursery_yoto_maximum_headphone_volume', @@ -189,7 +189,7 @@ # name: test_all_entities[switch.nursery_yoto_night_mode_automatic_brightness-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Night mode automatic brightness', + : 'Nursery Yoto Night mode automatic brightness', }), 'context': , 'entity_id': 'switch.nursery_yoto_night_mode_automatic_brightness', diff --git a/tests/components/yoto/snapshots/test_time.ambr b/tests/components/yoto/snapshots/test_time.ambr index 2398a2f5854..84c1b42c862 100644 --- a/tests/components/yoto/snapshots/test_time.ambr +++ b/tests/components/yoto/snapshots/test_time.ambr @@ -39,7 +39,7 @@ # name: test_all_entities[time.nursery_yoto_day_mode_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Day mode start', + : 'Nursery Yoto Day mode start', }), 'context': , 'entity_id': 'time.nursery_yoto_day_mode_start', @@ -89,7 +89,7 @@ # name: test_all_entities[time.nursery_yoto_night_mode_start-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Nursery Yoto Night mode start', + : 'Nursery Yoto Night mode start', }), 'context': , 'entity_id': 'time.nursery_yoto_night_mode_start', diff --git a/tests/components/youless/snapshots/test_sensor.ambr b/tests/components/youless/snapshots/test_sensor.ambr index f9a96dfc4bb..4fb25e02412 100644 --- a/tests/components/youless/snapshots/test_sensor.ambr +++ b/tests/components/youless/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.energy_delivery_meter_energy_export_tariff_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy delivery meter Energy export tariff 1', + : 'energy', + : 'Energy delivery meter Energy export tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_delivery_meter_energy_export_tariff_1', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.energy_delivery_meter_energy_export_tariff_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Energy delivery meter Energy export tariff 2', + : 'energy', + : 'Energy delivery meter Energy export tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.energy_delivery_meter_energy_export_tariff_2', @@ -160,10 +160,10 @@ # name: test_sensors[sensor.gas_meter_total_gas_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'gas', - 'friendly_name': 'Gas meter Total gas usage', + : 'gas', + : 'Gas meter Total gas usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.gas_meter_total_gas_usage', @@ -218,10 +218,10 @@ # name: test_sensors[sensor.power_meter_average_peak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power meter Average peak', + : 'power', + : 'Power meter Average peak', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_average_peak', @@ -276,10 +276,10 @@ # name: test_sensors[sensor.power_meter_current_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Power meter Current phase 1', + : 'current', + : 'Power meter Current phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_current_phase_1', @@ -334,10 +334,10 @@ # name: test_sensors[sensor.power_meter_current_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Power meter Current phase 2', + : 'current', + : 'Power meter Current phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_current_phase_2', @@ -392,10 +392,10 @@ # name: test_sensors[sensor.power_meter_current_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Power meter Current phase 3', + : 'current', + : 'Power meter Current phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_current_phase_3', @@ -450,10 +450,10 @@ # name: test_sensors[sensor.power_meter_current_power_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power meter Current power usage', + : 'power', + : 'Power meter Current power usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_current_power_usage', @@ -508,10 +508,10 @@ # name: test_sensors[sensor.power_meter_energy_import_tariff_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Power meter Energy import tariff 1', + : 'energy', + : 'Power meter Energy import tariff 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_energy_import_tariff_1', @@ -566,10 +566,10 @@ # name: test_sensors[sensor.power_meter_energy_import_tariff_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Power meter Energy import tariff 2', + : 'energy', + : 'Power meter Energy import tariff 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_energy_import_tariff_2', @@ -624,10 +624,10 @@ # name: test_sensors[sensor.power_meter_month_peak-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power meter Month peak', + : 'power', + : 'Power meter Month peak', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_month_peak', @@ -682,10 +682,10 @@ # name: test_sensors[sensor.power_meter_power_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power meter Power phase 1', + : 'power', + : 'Power meter Power phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_power_phase_1', @@ -740,10 +740,10 @@ # name: test_sensors[sensor.power_meter_power_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power meter Power phase 2', + : 'power', + : 'Power meter Power phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_power_phase_2', @@ -798,10 +798,10 @@ # name: test_sensors[sensor.power_meter_power_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Power meter Power phase 3', + : 'power', + : 'Power meter Power phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_power_phase_3', @@ -856,8 +856,8 @@ # name: test_sensors[sensor.power_meter_tariff-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Power meter Tariff', + : 'enum', + : 'Power meter Tariff', : list([ '1', '2', @@ -916,10 +916,10 @@ # name: test_sensors[sensor.power_meter_total_energy_import-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Power meter Total energy import', + : 'energy', + : 'Power meter Total energy import', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_total_energy_import', @@ -974,10 +974,10 @@ # name: test_sensors[sensor.power_meter_voltage_phase_1-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Power meter Voltage phase 1', + : 'voltage', + : 'Power meter Voltage phase 1', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_voltage_phase_1', @@ -1032,10 +1032,10 @@ # name: test_sensors[sensor.power_meter_voltage_phase_2-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Power meter Voltage phase 2', + : 'voltage', + : 'Power meter Voltage phase 2', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_voltage_phase_2', @@ -1090,10 +1090,10 @@ # name: test_sensors[sensor.power_meter_voltage_phase_3-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Power meter Voltage phase 3', + : 'voltage', + : 'Power meter Voltage phase 3', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.power_meter_voltage_phase_3', @@ -1148,10 +1148,10 @@ # name: test_sensors[sensor.s0_meter_current_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'S0 meter Current usage', + : 'power', + : 'S0 meter Current usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.s0_meter_current_usage', @@ -1206,10 +1206,10 @@ # name: test_sensors[sensor.s0_meter_total_energy-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'S0 meter Total energy', + : 'energy', + : 'S0 meter Total energy', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.s0_meter_total_energy', @@ -1264,10 +1264,10 @@ # name: test_sensors[sensor.water_meter_total_water_usage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'water', - 'friendly_name': 'Water meter Total water usage', + : 'water', + : 'Water meter Total water usage', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.water_meter_total_water_usage', diff --git a/tests/components/youtube/snapshots/test_sensor.ambr b/tests/components/youtube/snapshots/test_sensor.ambr index fbae77d4bf9..3c110c276d0 100644 --- a/tests/components/youtube/snapshots/test_sensor.ambr +++ b/tests/components/youtube/snapshots/test_sensor.ambr @@ -2,8 +2,8 @@ # name: test_sensor StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://i.ytimg.com/vi/wysukDrMdqU/maxresdefault.jpg', - 'friendly_name': 'Google for Developers Latest upload', + : 'https://i.ytimg.com/vi/wysukDrMdqU/maxresdefault.jpg', + : 'Google for Developers Latest upload', 'published_at': datetime.datetime(2023, 5, 11, 0, 20, 46, tzinfo=TzInfo(0)), 'video_id': 'wysukDrMdqU', }), @@ -18,10 +18,10 @@ # name: test_sensor.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', - 'friendly_name': 'Google for Developers Subscribers', + : 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', + : 'Google for Developers Subscribers', : , - 'unit_of_measurement': 'subscribers', + : 'subscribers', }), 'context': , 'entity_id': 'sensor.google_for_developers_subscribers', @@ -34,10 +34,10 @@ # name: test_sensor.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Google for Developers Videos', - 'icon': 'mdi:filmstrip-box-multiple', + : 'Google for Developers Videos', + : 'mdi:filmstrip-box-multiple', : , - 'unit_of_measurement': 'videos', + : 'videos', }), 'context': , 'entity_id': 'sensor.google_for_developers_videos', @@ -50,10 +50,10 @@ # name: test_sensor.3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', - 'friendly_name': 'Google for Developers Views', + : 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', + : 'Google for Developers Views', : , - 'unit_of_measurement': 'views', + : 'views', }), 'context': , 'entity_id': 'sensor.google_for_developers_views', @@ -66,7 +66,7 @@ # name: test_sensor_without_uploaded_video StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Google for Developers Latest upload', + : 'Google for Developers Latest upload', }), 'context': , 'entity_id': 'sensor.google_for_developers_latest_upload', @@ -79,10 +79,10 @@ # name: test_sensor_without_uploaded_video.1 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', - 'friendly_name': 'Google for Developers Subscribers', + : 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', + : 'Google for Developers Subscribers', : , - 'unit_of_measurement': 'subscribers', + : 'subscribers', }), 'context': , 'entity_id': 'sensor.google_for_developers_subscribers', @@ -95,10 +95,10 @@ # name: test_sensor_without_uploaded_video.2 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Google for Developers Videos', - 'icon': 'mdi:filmstrip-box-multiple', + : 'Google for Developers Videos', + : 'mdi:filmstrip-box-multiple', : , - 'unit_of_measurement': 'videos', + : 'videos', }), 'context': , 'entity_id': 'sensor.google_for_developers_videos', @@ -111,10 +111,10 @@ # name: test_sensor_without_uploaded_video.3 StateSnapshot({ 'attributes': ReadOnlyDict({ - 'entity_picture': 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', - 'friendly_name': 'Google for Developers Views', + : 'https://yt3.ggpht.com/fca_HuJ99xUxflWdex0XViC3NfctBFreIl8y4i9z411asnGTWY-Ql3MeH_ybA4kNaOjY7kyA=s800-c-k-c0x00ffffff-no-rj', + : 'Google for Developers Views', : , - 'unit_of_measurement': 'views', + : 'views', }), 'context': , 'entity_id': 'sensor.google_for_developers_views', diff --git a/tests/components/zeversolar/snapshots/test_sensor.ambr b/tests/components/zeversolar/snapshots/test_sensor.ambr index f3c1e922c40..ac47d4dba92 100644 --- a/tests/components/zeversolar/snapshots/test_sensor.ambr +++ b/tests/components/zeversolar/snapshots/test_sensor.ambr @@ -44,10 +44,10 @@ # name: test_sensors[sensor.zeversolar_sensor_energy_today-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'energy', - 'friendly_name': 'Zeversolar Sensor Energy today', + : 'energy', + : 'Zeversolar Sensor Energy today', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.zeversolar_sensor_energy_today', @@ -102,10 +102,10 @@ # name: test_sensors[sensor.zeversolar_sensor_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Zeversolar Sensor Power', + : 'power', + : 'Zeversolar Sensor Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.zeversolar_sensor_power', diff --git a/tests/components/zimi/snapshots/test_cover.ambr b/tests/components/zimi/snapshots/test_cover.ambr index 0892c408997..048e4545e8d 100644 --- a/tests/components/zimi/snapshots/test_cover.ambr +++ b/tests/components/zimi/snapshots/test_cover.ambr @@ -3,10 +3,10 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 0, - 'device_class': 'garage', - 'friendly_name': 'Cover Controller Test Entity Name', + : 'garage', + : 'Cover Controller Test Entity Name', : False, - 'supported_features': , + : , }), 'context': , 'entity_id': 'cover.test_entity_room_cover_controller_test_entity_name', diff --git a/tests/components/zimi/snapshots/test_fan.ambr b/tests/components/zimi/snapshots/test_fan.ambr index d049b36e02d..cf5496c5f97 100644 --- a/tests/components/zimi/snapshots/test_fan.ambr +++ b/tests/components/zimi/snapshots/test_fan.ambr @@ -2,12 +2,12 @@ # name: test_fan_entity StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Fan Controller Test Entity Name', + : 'Fan Controller Test Entity Name', : 1, : 12.5, : None, : None, - 'supported_features': , + : , }), 'context': , 'entity_id': 'fan.test_entity_room_fan_controller_test_entity_name', diff --git a/tests/components/zimi/snapshots/test_light.ambr b/tests/components/zimi/snapshots/test_light.ambr index 29492cf9e8d..3fdde8fabc6 100644 --- a/tests/components/zimi/snapshots/test_light.ambr +++ b/tests/components/zimi/snapshots/test_light.ambr @@ -4,11 +4,11 @@ 'attributes': ReadOnlyDict({ : 0, : , - 'friendly_name': 'Light Controller Test Entity Name', + : 'Light Controller Test Entity Name', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_entity_room_light_controller_test_entity_name', @@ -22,11 +22,11 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : , - 'friendly_name': 'Light Controller Test Entity Name', + : 'Light Controller Test Entity Name', : list([ , ]), - 'supported_features': , + : , }), 'context': , 'entity_id': 'light.test_entity_room_light_controller_test_entity_name', diff --git a/tests/components/zimi/snapshots/test_switch.ambr b/tests/components/zimi/snapshots/test_switch.ambr index 9ae184222e3..17e8d54bc7a 100644 --- a/tests/components/zimi/snapshots/test_switch.ambr +++ b/tests/components/zimi/snapshots/test_switch.ambr @@ -2,7 +2,7 @@ # name: test_switch_entity StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Switch Controller Test Entity Name', + : 'Switch Controller Test Entity Name', }), 'context': , 'entity_id': 'switch.test_entity_room_switch_controller_test_entity_name', diff --git a/tests/components/zinvolt/snapshots/test_binary_sensor.ambr b/tests/components/zinvolt/snapshots/test_binary_sensor.ambr index 60166ab2955..bad477f5abf 100644 --- a/tests/components/zinvolt/snapshots/test_binary_sensor.ambr +++ b/tests/components/zinvolt/snapshots/test_binary_sensor.ambr @@ -39,8 +39,8 @@ # name: test_all_entities[binary_sensor.battery_2_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Battery - 2 Charge', + : 'problem', + : 'Battery - 2 Charge', }), 'context': , 'entity_id': 'binary_sensor.battery_2_charge', @@ -90,8 +90,8 @@ # name: test_all_entities[binary_sensor.battery_2_communication-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Battery - 2 Communication', + : 'problem', + : 'Battery - 2 Communication', }), 'context': , 'entity_id': 'binary_sensor.battery_2_communication', @@ -141,8 +141,8 @@ # name: test_all_entities[binary_sensor.battery_2_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Battery - 2 Current', + : 'problem', + : 'Battery - 2 Current', }), 'context': , 'entity_id': 'binary_sensor.battery_2_current', @@ -192,8 +192,8 @@ # name: test_all_entities[binary_sensor.battery_2_discharge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Battery - 2 Discharge', + : 'problem', + : 'Battery - 2 Discharge', }), 'context': , 'entity_id': 'binary_sensor.battery_2_discharge', @@ -243,8 +243,8 @@ # name: test_all_entities[binary_sensor.battery_2_heat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Battery - 2 Heat', + : 'heat', + : 'Battery - 2 Heat', }), 'context': , 'entity_id': 'binary_sensor.battery_2_heat', @@ -294,8 +294,8 @@ # name: test_all_entities[binary_sensor.battery_2_other_problems-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Battery - 2 Other problems', + : 'problem', + : 'Battery - 2 Other problems', }), 'context': , 'entity_id': 'binary_sensor.battery_2_other_problems', @@ -345,8 +345,8 @@ # name: test_all_entities[binary_sensor.battery_2_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Battery - 2 Voltage', + : 'problem', + : 'Battery - 2 Voltage', }), 'context': , 'entity_id': 'binary_sensor.battery_2_voltage', @@ -396,8 +396,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_charge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zinvolt Batterij Charge', + : 'problem', + : 'Zinvolt Batterij Charge', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_charge', @@ -447,8 +447,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_communication-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zinvolt Batterij Communication', + : 'problem', + : 'Zinvolt Batterij Communication', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_communication', @@ -498,8 +498,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zinvolt Batterij Current', + : 'problem', + : 'Zinvolt Batterij Current', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_current', @@ -549,8 +549,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_discharge-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zinvolt Batterij Discharge', + : 'problem', + : 'Zinvolt Batterij Discharge', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_discharge', @@ -600,8 +600,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_grid_connection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'connectivity', - 'friendly_name': 'Zinvolt Batterij Grid connection', + : 'connectivity', + : 'Zinvolt Batterij Grid connection', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_grid_connection', @@ -651,8 +651,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_heat-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'heat', - 'friendly_name': 'Zinvolt Batterij Heat', + : 'heat', + : 'Zinvolt Batterij Heat', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_heat', @@ -702,8 +702,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_other_problems-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zinvolt Batterij Other problems', + : 'problem', + : 'Zinvolt Batterij Other problems', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_other_problems', @@ -753,8 +753,8 @@ # name: test_all_entities[binary_sensor.zinvolt_batterij_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'problem', - 'friendly_name': 'Zinvolt Batterij Voltage', + : 'problem', + : 'Zinvolt Batterij Voltage', }), 'context': , 'entity_id': 'binary_sensor.zinvolt_batterij_voltage', diff --git a/tests/components/zinvolt/snapshots/test_number.ambr b/tests/components/zinvolt/snapshots/test_number.ambr index 710fb328549..752e8117dd4 100644 --- a/tests/components/zinvolt/snapshots/test_number.ambr +++ b/tests/components/zinvolt/snapshots/test_number.ambr @@ -44,12 +44,12 @@ # name: test_all_entities[number.zinvolt_batterij_maximum_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zinvolt Batterij Maximum charge level', + : 'Zinvolt Batterij Maximum charge level', : 100, : 0, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.zinvolt_batterij_maximum_charge_level', @@ -104,13 +104,13 @@ # name: test_all_entities[number.zinvolt_batterij_maximum_output-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Zinvolt Batterij Maximum output', + : 'power', + : 'Zinvolt Batterij Maximum output', : 800, : 0, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.zinvolt_batterij_maximum_output', @@ -165,12 +165,12 @@ # name: test_all_entities[number.zinvolt_batterij_minimum_charge_level-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zinvolt Batterij Minimum charge level', + : 'Zinvolt Batterij Minimum charge level', : 100, : 9, : , : 1.0, - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'number.zinvolt_batterij_minimum_charge_level', @@ -225,13 +225,13 @@ # name: test_all_entities[number.zinvolt_batterij_standby_time-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'duration', - 'friendly_name': 'Zinvolt Batterij Standby time', + : 'duration', + : 'Zinvolt Batterij Standby time', : 60, : 5, : , : 1.0, - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'number.zinvolt_batterij_standby_time', diff --git a/tests/components/zinvolt/snapshots/test_select.ambr b/tests/components/zinvolt/snapshots/test_select.ambr index cc45c4e6864..f12d9fda77c 100644 --- a/tests/components/zinvolt/snapshots/test_select.ambr +++ b/tests/components/zinvolt/snapshots/test_select.ambr @@ -47,7 +47,7 @@ # name: test_all_entities[select.zinvolt_batterij_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'friendly_name': 'Zinvolt Batterij Mode', + : 'Zinvolt Batterij Mode', : list([ 'dynamic', 'self_use', diff --git a/tests/components/zinvolt/snapshots/test_sensor.ambr b/tests/components/zinvolt/snapshots/test_sensor.ambr index bf1fea14188..cd358431a79 100644 --- a/tests/components/zinvolt/snapshots/test_sensor.ambr +++ b/tests/components/zinvolt/snapshots/test_sensor.ambr @@ -41,10 +41,10 @@ # name: test_all_entities[sensor.zinvolt_batterij_battery-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'battery', - 'friendly_name': 'Zinvolt Batterij Battery', + : 'battery', + : 'Zinvolt Batterij Battery', : , - 'unit_of_measurement': '%', + : '%', }), 'context': , 'entity_id': 'sensor.zinvolt_batterij_battery', @@ -99,10 +99,10 @@ # name: test_all_entities[sensor.zinvolt_batterij_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'power', - 'friendly_name': 'Zinvolt Batterij Power', + : 'power', + : 'Zinvolt Batterij Power', : , - 'unit_of_measurement': , + : , }), 'context': , 'entity_id': 'sensor.zinvolt_batterij_power',