diff --git a/tests/components/victron_ble/snapshots/test_sensor.ambr b/tests/components/victron_ble/snapshots/test_sensor.ambr index 22b3cc92ecd2..8a7ac98d7b1e 100644 --- a/tests/components/victron_ble/snapshots/test_sensor.ambr +++ b/tests/components/victron_ble/snapshots/test_sensor.ambr @@ -2478,7 +2478,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -2516,10 +2516,10 @@ # name: test_sensors[inverter][sensor.inverter_ac_apparent_power-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'apparent_power', - 'friendly_name': 'Inverter AC apparent power', - 'state_class': , - 'unit_of_measurement': , + : 'apparent_power', + : 'Inverter AC apparent power', + : , + : , }), 'context': , 'entity_id': 'sensor.inverter_ac_apparent_power', @@ -2536,7 +2536,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -2574,10 +2574,10 @@ # name: test_sensors[inverter][sensor.inverter_ac_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Inverter AC current', - 'state_class': , - 'unit_of_measurement': , + : 'current', + : 'Inverter AC current', + : , + : , }), 'context': , 'entity_id': 'sensor.inverter_ac_current', @@ -2594,7 +2594,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -2632,10 +2632,10 @@ # name: test_sensors[inverter][sensor.inverter_ac_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter AC voltage', - 'state_class': , - 'unit_of_measurement': , + : 'voltage', + : 'Inverter AC voltage', + : , + : , }), 'context': , 'entity_id': 'sensor.inverter_ac_voltage', @@ -2652,7 +2652,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'options': list([ + : list([ 'no_alarm', 'low_voltage', 'high_voltage', @@ -2703,9 +2703,9 @@ # name: test_sensors[inverter][sensor.inverter_alarm-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inverter Alarm', - 'options': list([ + : 'enum', + : 'Inverter Alarm', + : list([ 'no_alarm', 'low_voltage', 'high_voltage', @@ -2738,7 +2738,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -2776,10 +2776,10 @@ # name: test_sensors[inverter][sensor.inverter_battery_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Inverter Battery voltage', - 'state_class': , - 'unit_of_measurement': , + : 'voltage', + : 'Inverter Battery voltage', + : , + : , }), 'context': , 'entity_id': 'sensor.inverter_battery_voltage', @@ -2796,7 +2796,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'options': list([ + : list([ 'off', 'low_power', 'fault', @@ -2849,9 +2849,9 @@ # name: test_sensors[inverter][sensor.inverter_device_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Inverter Device state', - 'options': list([ + : 'enum', + : 'Inverter Device state', + : list([ 'off', 'low_power', 'fault', @@ -2886,7 +2886,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -2921,10 +2921,10 @@ # name: test_sensors[inverter][sensor.inverter_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Inverter Signal strength', - 'state_class': , - 'unit_of_measurement': 'dBm', + : 'signal_strength', + : 'Inverter Signal strength', + : , + : 'dBm', }), 'context': , 'entity_id': 'sensor.inverter_signal_strength', @@ -2941,7 +2941,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'options': list([ + : list([ 'off', 'low_power', 'fault', @@ -2994,9 +2994,9 @@ # name: test_sensors[orion_xs][sensor.orion_xs_charge_state-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Orion XS Charge state', - 'options': list([ + : 'enum', + : 'Orion XS Charge state', + : list([ 'off', 'low_power', 'fault', @@ -3031,7 +3031,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'options': list([ + : list([ 'no_error', 'temperature_battery_high', 'voltage_high', @@ -3112,9 +3112,9 @@ # name: test_sensors[orion_xs][sensor.orion_xs_charger_error-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Orion XS Charger error', - 'options': list([ + : 'enum', + : 'Orion XS Charger error', + : list([ 'no_error', 'temperature_battery_high', 'voltage_high', @@ -3177,7 +3177,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -3215,10 +3215,10 @@ # name: test_sensors[orion_xs][sensor.orion_xs_input_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Orion XS Input current', - 'state_class': , - 'unit_of_measurement': , + : 'current', + : 'Orion XS Input current', + : , + : , }), 'context': , 'entity_id': 'sensor.orion_xs_input_current', @@ -3235,7 +3235,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -3273,10 +3273,10 @@ # name: test_sensors[orion_xs][sensor.orion_xs_input_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Orion XS Input voltage', - 'state_class': , - 'unit_of_measurement': , + : 'voltage', + : 'Orion XS Input voltage', + : , + : , }), 'context': , 'entity_id': 'sensor.orion_xs_input_voltage', @@ -3293,7 +3293,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'options': list([ + : list([ 'no_reason', 'no_input_power', 'switched_off_switch', @@ -3340,9 +3340,9 @@ # name: test_sensors[orion_xs][sensor.orion_xs_off_reason-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'enum', - 'friendly_name': 'Orion XS Off reason', - 'options': list([ + : 'enum', + : 'Orion XS Off reason', + : list([ 'no_reason', 'no_input_power', 'switched_off_switch', @@ -3371,7 +3371,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -3409,10 +3409,10 @@ # name: test_sensors[orion_xs][sensor.orion_xs_output_current-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'current', - 'friendly_name': 'Orion XS Output current', - 'state_class': , - 'unit_of_measurement': , + : 'current', + : 'Orion XS Output current', + : , + : , }), 'context': , 'entity_id': 'sensor.orion_xs_output_current', @@ -3429,7 +3429,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -3467,10 +3467,10 @@ # name: test_sensors[orion_xs][sensor.orion_xs_output_voltage-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'voltage', - 'friendly_name': 'Orion XS Output voltage', - 'state_class': , - 'unit_of_measurement': , + : 'voltage', + : 'Orion XS Output voltage', + : , + : , }), 'context': , 'entity_id': 'sensor.orion_xs_output_voltage', @@ -3487,7 +3487,7 @@ ]), 'area_id': None, 'capabilities': dict({ - 'state_class': , + : , }), 'config_entry_id': , 'config_subentry_id': , @@ -3522,10 +3522,10 @@ # name: test_sensors[orion_xs][sensor.orion_xs_signal_strength-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - 'device_class': 'signal_strength', - 'friendly_name': 'Orion XS Signal strength', - 'state_class': , - 'unit_of_measurement': 'dBm', + : 'signal_strength', + : 'Orion XS Signal strength', + : , + : 'dBm', }), 'context': , 'entity_id': 'sensor.orion_xs_signal_strength',