mirror of
https://github.com/home-assistant/core.git
synced 2026-09-27 18:08:37 -04:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
177 lines
5.8 KiB
Plaintext
177 lines
5.8 KiB
Plaintext
# serializer version: 1
|
|
# name: test_entry_diagnostics
|
|
dict({
|
|
'entry': dict({
|
|
'data': dict({
|
|
'auth_implementation': 'yoto',
|
|
'token': dict({
|
|
'access_token': '**REDACTED**',
|
|
'expires_in': 3600,
|
|
'refresh_token': '**REDACTED**',
|
|
'scope': 'offline_access family:view family:devices:view family:devices:control family:devices:manage family:library:view user:content:view user:icons:manage',
|
|
'token_type': 'Bearer',
|
|
}),
|
|
}),
|
|
'disabled_by': None,
|
|
'discovery_keys': dict({
|
|
}),
|
|
'domain': 'yoto',
|
|
'minor_version': 1,
|
|
'options': dict({
|
|
}),
|
|
'pref_disable_new_entities': False,
|
|
'pref_disable_polling': False,
|
|
'source': 'user',
|
|
'subentries': list([
|
|
]),
|
|
'title': 'Yoto',
|
|
'unique_id': 'auth0|user-test',
|
|
'version': 1,
|
|
}),
|
|
'players': dict({
|
|
'player-test': dict({
|
|
'device': dict({
|
|
'description': None,
|
|
'device_family': 'v3',
|
|
'device_group': None,
|
|
'device_id': 'player-test',
|
|
'device_type': 'v3',
|
|
'form_factor': None,
|
|
'generation': 'gen3',
|
|
'has_user_given_name': False,
|
|
'name': 'Nursery Yoto',
|
|
'release_channel': None,
|
|
}),
|
|
'devices_refreshed_at': '2026-05-08T12:00:00+00:00',
|
|
'extended_status': dict({
|
|
'active_card': None,
|
|
'ambient_light_sensor_reading': None,
|
|
'average_download_speed_bytes_second': None,
|
|
'battery_level_percentage': None,
|
|
'battery_level_raw': None,
|
|
'battery_profile': None,
|
|
'battery_temperature': None,
|
|
'battery_voltage_mv': None,
|
|
'card_insertion_state': None,
|
|
'current_display_brightness': None,
|
|
'day_mode': None,
|
|
'free_disk_space_bytes': None,
|
|
'is_audio_device_connected': None,
|
|
'is_background_download_active': None,
|
|
'is_bluetooth_audio_connected': None,
|
|
'is_charging': None,
|
|
'network_ssid': None,
|
|
'nightlight_mode': None,
|
|
'power_source': None,
|
|
'system_volume_percentage': None,
|
|
'temperature_celcius': None,
|
|
'total_disk_space_bytes': None,
|
|
'updated_at': None,
|
|
'uptime': None,
|
|
'user_volume_percentage': None,
|
|
'utc_offset_seconds': None,
|
|
'utc_time': None,
|
|
'wifi_strength': None,
|
|
}),
|
|
'info': dict({
|
|
'activation_pop_code': None,
|
|
'config': dict({
|
|
'alarms': list([
|
|
]),
|
|
'bluetooth_enabled': True,
|
|
'bt_headphones_enabled': None,
|
|
'clock_face': None,
|
|
'day_ambient_colour': '#ff0000',
|
|
'day_display_brightness': 100,
|
|
'day_display_brightness_auto': False,
|
|
'day_max_volume_limit': 16,
|
|
'day_sounds_off': None,
|
|
'day_time': dict({
|
|
'__type': "<class 'datetime.time'>",
|
|
'isoformat': '07:00:00',
|
|
}),
|
|
'day_yoto_daily': None,
|
|
'day_yoto_radio': None,
|
|
'display_dim_brightness': None,
|
|
'display_dim_timeout': None,
|
|
'headphones_volume_limited': True,
|
|
'hour_format': None,
|
|
'locale': None,
|
|
'log_level': None,
|
|
'night_ambient_colour': '#40bfd9',
|
|
'night_display_brightness': 50,
|
|
'night_display_brightness_auto': False,
|
|
'night_max_volume_limit': 8,
|
|
'night_sounds_off': None,
|
|
'night_time': dict({
|
|
'__type': "<class 'datetime.time'>",
|
|
'isoformat': '19:00:00',
|
|
}),
|
|
'night_yoto_daily': None,
|
|
'night_yoto_radio': None,
|
|
'pause_power_button': None,
|
|
'pause_volume_down': None,
|
|
'repeat_all': None,
|
|
'show_diagnostics': None,
|
|
'shutdown_timeout': None,
|
|
'system_volume': None,
|
|
'timezone': None,
|
|
'volume_level': None,
|
|
}),
|
|
'device_family': None,
|
|
'device_group': None,
|
|
'device_type': None,
|
|
'error_code': None,
|
|
'firmware_version': 'v2.17.5',
|
|
'geo_timezone': None,
|
|
'mac': '**REDACTED**',
|
|
'name': None,
|
|
'pop_code': None,
|
|
'release_channel_id': None,
|
|
}),
|
|
'info_refreshed_at': '2026-05-08T12:00:00+00:00',
|
|
'is_online': True,
|
|
'last_event': dict({
|
|
'card_id': 'card-test',
|
|
'chapter_key': '01',
|
|
'chapter_title': 'Chapter 1',
|
|
'event_utc': None,
|
|
'playback_status': 'playing',
|
|
'playback_wait': None,
|
|
'player_id': 'player-test',
|
|
'position': 120,
|
|
'repeat_all': None,
|
|
'request_id': None,
|
|
'sleep_timer_active': None,
|
|
'sleep_timer_seconds': None,
|
|
'source': None,
|
|
'streaming': None,
|
|
'track_key': '01-INT',
|
|
'track_length': 300,
|
|
'track_title': 'Introduction',
|
|
'volume': 8,
|
|
'volume_max': 16,
|
|
}),
|
|
'last_event_received_at': '2026-05-08T12:00:00+00:00',
|
|
'online_refreshed_at': None,
|
|
'status': dict({
|
|
'active_card': None,
|
|
'ambient_light_sensor_reading': None,
|
|
'battery_level_percentage': 75,
|
|
'card_insertion_state': 1,
|
|
'current_display_brightness': None,
|
|
'day_mode': 1,
|
|
'free_disk_space_bytes': None,
|
|
'is_audio_device_connected': False,
|
|
'is_bluetooth_audio_connected': False,
|
|
'is_charging': True,
|
|
'nightlight_mode': None,
|
|
'system_volume_percentage': None,
|
|
'updated_at': None,
|
|
'user_volume_percentage': None,
|
|
}),
|
|
}),
|
|
}),
|
|
})
|
|
# ---
|