Add balanced grid import/export to enphase_envoy #211275
Annotations
3 errors
tests/components/enphase_envoy/test_sensor.py#L46
test_sensor[envoy_nobatt_metered_3p]
AssertionError: assert [+ received] == [- snapshot]
Snapshot 'test_sensor[envoy_nobatt_metered_3p][sensor.envoy_1234_net_consumption_ct_current-entry]' does not exist!
+ EntityRegistryEntrySnapshot({
+ 'aliases': set({
+ }),
+ 'area_id': None,
+ 'capabilities': dict({
+ 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
+ }),
+ 'config_entry_id': <ANY>,
+ 'device_class': None,
+ 'device_id': <ANY>,
+ 'disabled_by': None,
+ 'domain': 'sensor',
+ 'entity_category': None,
+ 'entity_id': 'sensor.envoy_1234_net_consumption_ct_current',
+ 'has_entity_name': True,
+ 'hidden_by': None,
+ 'icon': None,
+ 'id': <ANY>,
+ 'labels': set({
+ }),
+ 'name': None,
+ 'options': dict({
+ 'sensor': dict({
+ 'suggested_display_precision': 3,
+ }),
+ 'sensor.private': dict({
+ 'suggested_unit_of_measurement': <UnitOfElectricCurrent.AMPERE: 'A'>,
+ }),
+ }),
+ 'original_device_class': <SensorDeviceClass.CURRENT: 'current'>,
+ 'original_icon': 'mdi:flash',
+ 'original_name': 'Net consumption CT current',
+ 'platform': 'enphase_envoy',
+ 'previous_unique_id': None,
+ 'supported_features': 0,
+ 'translation_key': 'net_ct_current',
+ 'unique_id': '1234_net_ct_current',
+ 'unit_of_measurement': <UnitOfElectricCurrent.AMPERE: 'A'>,
+ })
|
tests/components/enphase_envoy/test_sensor.py#L46
test_sensor[envoy_tot_cons_metered]
AssertionError: assert [+ received] == [- snapshot]
Snapshot 'test_sensor[envoy_tot_cons_metered][sensor.envoy_1234_frequency_production_ct-entry]' does not exist!
+ EntityRegistryEntrySnapshot({
+ 'aliases': set({
+ }),
+ 'area_id': None,
+ 'capabilities': dict({
+ 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
+ }),
+ 'config_entry_id': <ANY>,
+ 'device_class': None,
+ 'device_id': <ANY>,
+ 'disabled_by': None,
+ 'domain': 'sensor',
+ 'entity_category': None,
+ 'entity_id': 'sensor.envoy_1234_frequency_production_ct',
+ 'has_entity_name': True,
+ 'hidden_by': None,
+ 'icon': None,
+ 'id': <ANY>,
+ 'labels': set({
+ }),
+ 'name': None,
+ 'options': dict({
+ 'sensor': dict({
+ 'suggested_display_precision': 1,
+ }),
+ }),
+ 'original_device_class': <SensorDeviceClass.FREQUENCY: 'frequency'>,
+ 'original_icon': 'mdi:flash',
+ 'original_name': 'Frequency production CT',
+ 'platform': 'enphase_envoy',
+ 'previous_unique_id': None,
+ 'supported_features': 0,
+ 'translation_key': 'production_ct_frequency',
+ 'unique_id': '1234_production_ct_frequency',
+ 'unit_of_measurement': <UnitOfFrequency.HERTZ: 'Hz'>,
+ })
|
|
This job failed
Loading