1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 09:38:58 +01:00
Files
core/tests/components/watts/snapshots/test_diagnostics.ambr
T

164 lines
4.8 KiB
Plaintext

# serializer version: 1
# name: test_diagnostics
dict({
'devices': dict({
'switch_789': dict({
'device': dict({
'device_id': 'switch_789',
'device_name': 'Living Room Switch',
'device_type': 'switch',
'interface': 'homeassistant.components.SWITCH',
'is_online': True,
'is_turned_on': False,
'room_name': 'Living Room',
}),
'fast_polling_active': False,
'fast_polling_until': None,
'last_update_success': True,
}),
'thermostat_123': dict({
'device': dict({
'available_thermostat_modes': list([
'Program',
'Eco',
'Comfort',
'Off',
'Defrost',
'Timer',
]),
'current_temperature': 20.5,
'device_id': 'thermostat_123',
'device_name': 'Living Room Thermostat',
'device_type': 'thermostat',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
'min_allowed_temperature': 5.0,
'room_name': 'Living Room',
'setpoint': 22.0,
'temperature_unit': 'C',
'thermostat_mode': 'Comfort',
}),
'fast_polling_active': False,
'fast_polling_until': None,
'last_update_success': True,
}),
'thermostat_456': dict({
'device': dict({
'available_thermostat_modes': list([
'Program',
'Eco',
'Comfort',
'Off',
]),
'current_temperature': 19.0,
'device_id': 'thermostat_456',
'device_name': 'Bedroom Thermostat',
'device_type': 'thermostat',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
'min_allowed_temperature': 5.0,
'room_name': 'Bedroom',
'setpoint': 21.0,
'temperature_unit': 'C',
'thermostat_mode': 'Program',
}),
'fast_polling_active': False,
'fast_polling_until': None,
'last_update_success': True,
}),
}),
'entry': dict({
'created_at': '2026-01-01T12:00:00+00:00',
'data': dict({
'auth_implementation': 'watts',
'token': dict({
'access_token': '**REDACTED**',
'expires_at': 9999999999,
'id_token': '**REDACTED**',
'profile_info': '**REDACTED**',
'refresh_token': '**REDACTED**',
}),
}),
'disabled_by': None,
'discovery_keys': dict({
}),
'domain': 'watts',
'entry_id': '01J0BC4QM2YBRP6H5G933CETI8',
'minor_version': 1,
'modified_at': '2026-01-01T12:00:00+00:00',
'options': dict({
}),
'pref_disable_new_entities': False,
'pref_disable_polling': False,
'source': 'user',
'subentries': list([
]),
'title': 'Watts Vision',
'unique_id': '**REDACTED**',
'version': 1,
}),
'hub_coordinator': dict({
'last_discovery': '2026-01-01T12:00:00',
'last_exception': None,
'last_update_success': True,
'supported_devices': 3,
'total_devices': 3,
}),
'hub_data': dict({
'switch_789': dict({
'device_id': 'switch_789',
'device_name': 'Living Room Switch',
'device_type': 'switch',
'interface': 'homeassistant.components.SWITCH',
'is_online': True,
'is_turned_on': False,
'room_name': 'Living Room',
}),
'thermostat_123': dict({
'available_thermostat_modes': list([
'Program',
'Eco',
'Comfort',
'Off',
'Defrost',
'Timer',
]),
'current_temperature': 20.5,
'device_id': 'thermostat_123',
'device_name': 'Living Room Thermostat',
'device_type': 'thermostat',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
'min_allowed_temperature': 5.0,
'room_name': 'Living Room',
'setpoint': 22.0,
'temperature_unit': 'C',
'thermostat_mode': 'Comfort',
}),
'thermostat_456': dict({
'available_thermostat_modes': list([
'Program',
'Eco',
'Comfort',
'Off',
]),
'current_temperature': 19.0,
'device_id': 'thermostat_456',
'device_name': 'Bedroom Thermostat',
'device_type': 'thermostat',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
'min_allowed_temperature': 5.0,
'room_name': 'Bedroom',
'setpoint': 21.0,
'temperature_unit': 'C',
'thermostat_mode': 'Program',
}),
}),
})
# ---