mirror of https://github.com/home-assistant/core
490 lines
14 KiB
Plaintext
490 lines
14 KiB
Plaintext
# serializer version: 1
|
|
# name: test_switch[switch.energy_site_allow_charging_from_grid-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.energy_site_allow_charging_from_grid',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Allow charging from grid',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'components_disallow_charge_from_grid_with_solar_installed',
|
|
'unique_id': '123456-components_disallow_charge_from_grid_with_solar_installed',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# 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',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.energy_site_allow_charging_from_grid',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.energy_site_storm_watch-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.energy_site_storm_watch',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Storm watch',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'user_settings_storm_mode_enabled',
|
|
'unique_id': '123456-user_settings_storm_mode_enabled',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.energy_site_storm_watch-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Energy Site Storm watch',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.energy_site_storm_watch',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_auto_seat_climate_left-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.test_auto_seat_climate_left',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Auto seat climate left',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'climate_state_auto_seat_climate_left',
|
|
'unique_id': 'LRWXF7EK4KC700000-climate_state_auto_seat_climate_left',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_auto_seat_climate_left-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Auto seat climate left',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_auto_seat_climate_left',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_auto_seat_climate_right-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.test_auto_seat_climate_right',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Auto seat climate right',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'climate_state_auto_seat_climate_right',
|
|
'unique_id': 'LRWXF7EK4KC700000-climate_state_auto_seat_climate_right',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_auto_seat_climate_right-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Auto seat climate right',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_auto_seat_climate_right',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_auto_steering_wheel_heater-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.test_auto_steering_wheel_heater',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Auto steering wheel heater',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'climate_state_auto_steering_wheel_heat',
|
|
'unique_id': 'LRWXF7EK4KC700000-climate_state_auto_steering_wheel_heat',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_auto_steering_wheel_heater-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Auto steering wheel heater',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_auto_steering_wheel_heater',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_charge-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.test_charge',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Charge',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'charge_state_user_charge_enable_request',
|
|
'unique_id': 'LRWXF7EK4KC700000-charge_state_user_charge_enable_request',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_charge-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Charge',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_charge',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_defrost-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.test_defrost',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Defrost',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'climate_state_defrost_mode',
|
|
'unique_id': 'LRWXF7EK4KC700000-climate_state_defrost_mode',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_defrost-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Defrost',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_defrost',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_sentry_mode-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.test_sentry_mode',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>,
|
|
'original_icon': None,
|
|
'original_name': 'Sentry mode',
|
|
'platform': 'teslemetry',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'vehicle_state_sentry_mode',
|
|
'unique_id': 'LRWXF7EK4KC700000-vehicle_state_sentry_mode',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_switch[switch.test_sentry_mode-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Sentry mode',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_sentry_mode',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# 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',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.energy_site_allow_charging_from_grid',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch_alt[switch.energy_site_storm_watch-statealt]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Energy Site Storm watch',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.energy_site_storm_watch',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_switch_alt[switch.test_auto_seat_climate_left-statealt]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Auto seat climate left',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_auto_seat_climate_left',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch_alt[switch.test_auto_seat_climate_right-statealt]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Auto seat climate right',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_auto_seat_climate_right',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch_alt[switch.test_auto_steering_wheel_heater-statealt]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Auto steering wheel heater',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_auto_steering_wheel_heater',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch_alt[switch.test_charge-statealt]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Charge',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_charge',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|
|
# name: test_switch_alt[switch.test_defrost-statealt]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Defrost',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_defrost',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_switch_alt[switch.test_sentry_mode-statealt]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'switch',
|
|
'friendly_name': 'Test Sentry mode',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.test_sentry_mode',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|