mirror of
https://github.com/home-assistant/core.git
synced 2026-09-10 15:41:22 +01:00
136 lines
3.8 KiB
Plaintext
136 lines
3.8 KiB
Plaintext
# serializer version: 1
|
|
# name: test_diagnostics_polling_instance
|
|
dict({
|
|
'config': dict({
|
|
'back_led_brightness': None,
|
|
'buzzer_enabled': None,
|
|
'cloud_connection': None,
|
|
'co2_automatic_baseline_calibration_days': 8,
|
|
'configuration_control': 'local',
|
|
'corrections': None,
|
|
'country': 'DE',
|
|
'display_brightness': 0,
|
|
'front_led_brightness': None,
|
|
'gps_mode': None,
|
|
'led_bar_brightness': 100,
|
|
'led_bar_mode': 'co2',
|
|
'measurement_interval': None,
|
|
'nox_learning_offset': 12,
|
|
'pm_standard': 'ugm3',
|
|
'post_data_to_airgradient': True,
|
|
'temperature_unit': 'c',
|
|
'touch_led_intensity': None,
|
|
'tvoc_learning_offset': 12,
|
|
}),
|
|
'measures': dict({
|
|
'ambient_temperature': 22.17,
|
|
'battery_percentage': None,
|
|
'battery_voltage': None,
|
|
'boot_time': 28,
|
|
'charge_voltage': None,
|
|
'compensated_ambient_temperature': 22.17,
|
|
'compensated_pm02': None,
|
|
'compensated_relative_humidity': 47.0,
|
|
'firmware_version': '3.1.1',
|
|
'model': 'I-9PSL',
|
|
'nitrogen_index': 1,
|
|
'pm003_count': 270,
|
|
'pm005_count': None,
|
|
'pm01': 22,
|
|
'pm01_count': None,
|
|
'pm02': 34.0,
|
|
'pm02_count': None,
|
|
'pm10': 41,
|
|
'pm10_count': None,
|
|
'pm50_count': None,
|
|
'raw_ambient_temperature': 27.96,
|
|
'raw_nitrogen': 16931.0,
|
|
'raw_pm02': 34,
|
|
'raw_relative_humidity': 48.0,
|
|
'raw_total_volatile_organic_component': 31792.0,
|
|
'rco2': 778,
|
|
'relative_humidity': 47.0,
|
|
'serial_number': '84fce612f5b8',
|
|
'signal_strength': -52,
|
|
'total_volatile_organic_component_index': 99,
|
|
}),
|
|
})
|
|
# ---
|
|
# name: test_v1_diagnostics
|
|
dict({
|
|
'config': dict({
|
|
'back_led_brightness': 2,
|
|
'buzzer_enabled': True,
|
|
'cloud_connection': True,
|
|
'co2_automatic_baseline_calibration_days': 7,
|
|
'configuration_control': 'local',
|
|
'corrections': dict({
|
|
'humidity': dict({
|
|
'correction_algorithm': 'none',
|
|
'slr': None,
|
|
}),
|
|
'pm25': dict({
|
|
'correction_algorithm': 'custom_via_pm25_raw',
|
|
'slr': dict({
|
|
'intercept': 1.5,
|
|
'scaling_factor': 0.75,
|
|
'use_epa_2021': True,
|
|
}),
|
|
}),
|
|
'temperature': dict({
|
|
'correction_algorithm': 'custom',
|
|
'slr': dict({
|
|
'intercept': -1.0,
|
|
'scaling_factor': 1.1,
|
|
}),
|
|
}),
|
|
}),
|
|
'country': None,
|
|
'display_brightness': None,
|
|
'front_led_brightness': 1,
|
|
'gps_mode': 'tracking',
|
|
'led_bar_brightness': None,
|
|
'led_bar_mode': None,
|
|
'measurement_interval': 10,
|
|
'nox_learning_offset': 12,
|
|
'pm_standard': 'ugm3',
|
|
'post_data_to_airgradient': None,
|
|
'temperature_unit': 'c',
|
|
'touch_led_intensity': 2,
|
|
'tvoc_learning_offset': 12,
|
|
}),
|
|
'measures': dict({
|
|
'ambient_temperature': 21.5,
|
|
'battery_percentage': 87,
|
|
'battery_voltage': 3.91,
|
|
'boot_time': 42,
|
|
'charge_voltage': 5.02,
|
|
'compensated_ambient_temperature': None,
|
|
'compensated_pm02': None,
|
|
'compensated_relative_humidity': None,
|
|
'firmware_version': '1.0.0',
|
|
'model': 'P-1PSG',
|
|
'nitrogen_index': 2,
|
|
'pm003_count': 100,
|
|
'pm005_count': 90,
|
|
'pm01': 1.25,
|
|
'pm01_count': 80,
|
|
'pm02': 2.5,
|
|
'pm02_count': 70,
|
|
'pm10': 3.75,
|
|
'pm10_count': 50,
|
|
'pm50_count': 60,
|
|
'raw_ambient_temperature': None,
|
|
'raw_nitrogen': 16000,
|
|
'raw_pm02': None,
|
|
'raw_relative_humidity': None,
|
|
'raw_total_volatile_organic_component': 32100,
|
|
'rco2': 612,
|
|
'relative_humidity': 48.25,
|
|
'serial_number': '84fce612f5b8',
|
|
'signal_strength': -57,
|
|
'total_volatile_organic_component_index': 101,
|
|
}),
|
|
})
|
|
# ---
|