Change friendly names of all photovoltaic entities to "PV …" #224739
Annotations
3 errors
Run pytest:
tests/components/vicare/test_binary_sensor.py#L33
test_binary_sensors[circulation_pump]
AssertionError: assert [+ received] == [- snapshot]
- StateSnapshot({
+ None
- 'attributes': ReadOnlyDict({
- 'device_class': 'running',
- 'friendly_name': 'model0 Circulation pump',
- }),
- 'context': <ANY>,
- 'entity_id': 'binary_sensor.model0_circulation_pump',
- 'last_changed': <ANY>,
- 'last_reported': <ANY>,
- 'last_updated': <ANY>,
- 'state': 'unavailable',
- })
|
Run pytest:
tests/components/vicare/test_binary_sensor.py#L51
test_all_entities
AssertionError: assert [+ received] == [- snapshot]
Snapshot 'test_all_entities[binary_sensor.model0_heating_circulation_pump-entry]' does not exist!
+ EntityRegistryEntrySnapshot({
+ 'aliases': set({
+ }),
+ 'area_id': None,
+ 'capabilities': None,
+ 'config_entry_id': <ANY>,
+ 'device_class': None,
+ 'device_id': <ANY>,
+ 'disabled_by': None,
+ 'domain': 'binary_sensor',
+ 'entity_category': None,
+ 'entity_id': 'binary_sensor.model0_heating_circulation_pump',
+ 'has_entity_name': True,
+ 'hidden_by': None,
+ 'icon': None,
+ 'id': <ANY>,
+ 'labels': set({
+ }),
+ 'name': None,
+ 'options': dict({
+ }),
+ 'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
+ 'original_icon': None,
+ 'original_name': 'Heating circulation pump',
+ 'platform': 'vicare',
+ 'previous_unique_id': None,
+ 'supported_features': 0,
+ 'translation_key': 'circulation_pump',
+ 'unique_id': 'gateway0_deviceSerialVitodens300W-circulationpump_active-0',
+ 'unit_of_measurement': None,
+ })
|
Run pytest
Process completed with exit code 1.
|
Loading