Remove expected lingering test fixture from Matter (#127713)
This commit is contained in:
parent
808d93d767
commit
f90ed9e9db
20 changed files with 138 additions and 266 deletions
|
@ -1,5 +1,5 @@
|
|||
# serializer version: 1
|
||||
# name: test_binary_sensors[door_lock-True][binary_sensor.mock_door_lock_battery-entry]
|
||||
# name: test_binary_sensors[door_lock][binary_sensor.mock_door_lock_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -32,7 +32,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[door_lock-True][binary_sensor.mock_door_lock_battery-state]
|
||||
# name: test_binary_sensors[door_lock][binary_sensor.mock_door_lock_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
|
@ -46,7 +46,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[door_lock-True][binary_sensor.mock_door_lock_door-entry]
|
||||
# name: test_binary_sensors[door_lock][binary_sensor.mock_door_lock_door-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -79,7 +79,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[door_lock-True][binary_sensor.mock_door_lock_door-state]
|
||||
# name: test_binary_sensors[door_lock][binary_sensor.mock_door_lock_door-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'door',
|
||||
|
@ -93,7 +93,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[door_lock_with_unbolt-True][binary_sensor.mock_door_lock_battery-entry]
|
||||
# name: test_binary_sensors[door_lock_with_unbolt][binary_sensor.mock_door_lock_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -126,7 +126,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[door_lock_with_unbolt-True][binary_sensor.mock_door_lock_battery-state]
|
||||
# name: test_binary_sensors[door_lock_with_unbolt][binary_sensor.mock_door_lock_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
|
@ -140,7 +140,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[door_lock_with_unbolt-True][binary_sensor.mock_door_lock_door-entry]
|
||||
# name: test_binary_sensors[door_lock_with_unbolt][binary_sensor.mock_door_lock_door-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -173,7 +173,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[door_lock_with_unbolt-True][binary_sensor.mock_door_lock_door-state]
|
||||
# name: test_binary_sensors[door_lock_with_unbolt][binary_sensor.mock_door_lock_door-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'door',
|
||||
|
@ -187,7 +187,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[eve_contact_sensor-True][binary_sensor.eve_door_door-entry]
|
||||
# name: test_binary_sensors[eve_contact_sensor][binary_sensor.eve_door_door-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -220,7 +220,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[eve_contact_sensor-True][binary_sensor.eve_door_door-state]
|
||||
# name: test_binary_sensors[eve_contact_sensor][binary_sensor.eve_door_door-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'door',
|
||||
|
@ -234,7 +234,7 @@
|
|||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[leak_sensor-True][binary_sensor.water_leak_detector_water_leak-entry]
|
||||
# name: test_binary_sensors[leak_sensor][binary_sensor.water_leak_detector_water_leak-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -267,7 +267,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[leak_sensor-True][binary_sensor.water_leak_detector_water_leak-state]
|
||||
# name: test_binary_sensors[leak_sensor][binary_sensor.water_leak_detector_water_leak-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'moisture',
|
||||
|
@ -281,7 +281,7 @@
|
|||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[occupancy_sensor-True][binary_sensor.mock_occupancy_sensor_occupancy-entry]
|
||||
# name: test_binary_sensors[occupancy_sensor][binary_sensor.mock_occupancy_sensor_occupancy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -314,7 +314,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[occupancy_sensor-True][binary_sensor.mock_occupancy_sensor_occupancy-state]
|
||||
# name: test_binary_sensors[occupancy_sensor][binary_sensor.mock_occupancy_sensor_occupancy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'occupancy',
|
||||
|
@ -328,7 +328,7 @@
|
|||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[onoff_light_alt_name-True][binary_sensor.mock_onoff_light_occupancy-entry]
|
||||
# name: test_binary_sensors[onoff_light_alt_name][binary_sensor.mock_onoff_light_occupancy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -361,7 +361,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[onoff_light_alt_name-True][binary_sensor.mock_onoff_light_occupancy-state]
|
||||
# name: test_binary_sensors[onoff_light_alt_name][binary_sensor.mock_onoff_light_occupancy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'occupancy',
|
||||
|
@ -375,7 +375,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[onoff_light_no_name-True][binary_sensor.mock_light_occupancy-entry]
|
||||
# name: test_binary_sensors[onoff_light_no_name][binary_sensor.mock_light_occupancy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -408,7 +408,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[onoff_light_no_name-True][binary_sensor.mock_light_occupancy-state]
|
||||
# name: test_binary_sensors[onoff_light_no_name][binary_sensor.mock_light_occupancy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'occupancy',
|
||||
|
@ -422,7 +422,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_battery_alert-entry]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_battery_alert-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -455,7 +455,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_battery_alert-state]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_battery_alert-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
|
@ -469,7 +469,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_end_of_service-entry]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_end_of_service-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -502,7 +502,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_end_of_service-state]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_end_of_service-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'problem',
|
||||
|
@ -516,7 +516,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_hardware_fault-entry]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_hardware_fault-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -549,7 +549,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_hardware_fault-state]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_hardware_fault-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'problem',
|
||||
|
@ -563,7 +563,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_muted-entry]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_muted-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -596,7 +596,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_muted-state]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_muted-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Smoke sensor Muted',
|
||||
|
@ -609,7 +609,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_smoke-entry]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_smoke-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -642,7 +642,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_smoke-state]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_smoke-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'smoke',
|
||||
|
@ -656,7 +656,7 @@
|
|||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_test_in_progress-entry]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_test_in_progress-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -689,7 +689,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_binary_sensors[smoke_detector-True][binary_sensor.smoke_sensor_test_in_progress-state]
|
||||
# name: test_binary_sensors[smoke_detector][binary_sensor.smoke_sensor_test_in_progress-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'running',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# serializer version: 1
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_activated_carbon_filter_condition-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_activated_carbon_filter_condition-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -34,7 +34,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_activated_carbon_filter_condition-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_activated_carbon_filter_condition-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Air Purifier Activated carbon filter condition',
|
||||
|
@ -49,7 +49,7 @@
|
|||
'state': '100',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_air_quality-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_air_quality-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -91,7 +91,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_air_quality-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_air_quality-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'enum',
|
||||
|
@ -113,7 +113,7 @@
|
|||
'state': 'good',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_carbon_dioxide-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_carbon_dioxide-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -148,7 +148,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_carbon_dioxide-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_carbon_dioxide-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'carbon_dioxide',
|
||||
|
@ -164,7 +164,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_carbon_monoxide-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_carbon_monoxide-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -199,7 +199,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_carbon_monoxide-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_carbon_monoxide-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'carbon_monoxide',
|
||||
|
@ -215,7 +215,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_hepa_filter_condition-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_hepa_filter_condition-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -250,7 +250,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_hepa_filter_condition-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_hepa_filter_condition-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Air Purifier Hepa filter condition',
|
||||
|
@ -265,7 +265,7 @@
|
|||
'state': '100',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_humidity-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_humidity-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -300,7 +300,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_humidity-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_humidity-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'humidity',
|
||||
|
@ -316,7 +316,7 @@
|
|||
'state': '50.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_nitrogen_dioxide-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_nitrogen_dioxide-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -351,7 +351,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_nitrogen_dioxide-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_nitrogen_dioxide-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'nitrogen_dioxide',
|
||||
|
@ -367,7 +367,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_ozone-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_ozone-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -402,7 +402,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_ozone-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_ozone-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'ozone',
|
||||
|
@ -418,7 +418,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_pm1-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_pm1-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -453,7 +453,7 @@
|
|||
'unit_of_measurement': 'µg/m³',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_pm1-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_pm1-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pm1',
|
||||
|
@ -469,7 +469,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_pm10-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_pm10-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -504,7 +504,7 @@
|
|||
'unit_of_measurement': 'µg/m³',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_pm10-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_pm10-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pm10',
|
||||
|
@ -520,7 +520,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_pm2_5-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_pm2_5-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -555,7 +555,7 @@
|
|||
'unit_of_measurement': 'µg/m³',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_pm2_5-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_pm2_5-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pm25',
|
||||
|
@ -571,7 +571,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_temperature-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_temperature-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -606,7 +606,7 @@
|
|||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_temperature-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_temperature-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'temperature',
|
||||
|
@ -622,7 +622,7 @@
|
|||
'state': '20.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_vocs-entry]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_vocs-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -657,7 +657,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_purifier-True][sensor.air_purifier_vocs-state]
|
||||
# name: test_sensors[air_purifier][sensor.air_purifier_vocs-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'volatile_organic_compounds_parts',
|
||||
|
@ -673,7 +673,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_air_quality-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_air_quality-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -715,7 +715,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_air_quality-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_air_quality-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'enum',
|
||||
|
@ -737,7 +737,7 @@
|
|||
'state': 'unknown',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_carbon_dioxide-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_carbon_dioxide-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -772,7 +772,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_carbon_dioxide-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_carbon_dioxide-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'carbon_dioxide',
|
||||
|
@ -788,7 +788,7 @@
|
|||
'state': '678.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_humidity-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_humidity-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -823,7 +823,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_humidity-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_humidity-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'humidity',
|
||||
|
@ -839,7 +839,7 @@
|
|||
'state': '28.75',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_nitrogen_dioxide-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_nitrogen_dioxide-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -874,7 +874,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_nitrogen_dioxide-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_nitrogen_dioxide-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'nitrogen_dioxide',
|
||||
|
@ -890,7 +890,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_pm1-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm1-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -925,7 +925,7 @@
|
|||
'unit_of_measurement': 'µg/m³',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_pm1-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm1-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pm1',
|
||||
|
@ -941,7 +941,7 @@
|
|||
'state': '3.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_pm10-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm10-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -976,7 +976,7 @@
|
|||
'unit_of_measurement': 'µg/m³',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_pm10-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm10-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pm10',
|
||||
|
@ -992,7 +992,7 @@
|
|||
'state': '3.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_pm2_5-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm2_5-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1027,7 +1027,7 @@
|
|||
'unit_of_measurement': 'µg/m³',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_pm2_5-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_pm2_5-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pm25',
|
||||
|
@ -1043,7 +1043,7 @@
|
|||
'state': '3.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_temperature-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_temperature-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1078,7 +1078,7 @@
|
|||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_temperature-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_temperature-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'temperature',
|
||||
|
@ -1094,7 +1094,7 @@
|
|||
'state': '20.08',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_vocs-entry]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_vocs-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1129,7 +1129,7 @@
|
|||
'unit_of_measurement': 'ppm',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[air_quality_sensor-True][sensor.lightfi_aq1_air_quality_sensor_vocs-state]
|
||||
# name: test_sensors[air_quality_sensor][sensor.lightfi_aq1_air_quality_sensor_vocs-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'volatile_organic_compounds_parts',
|
||||
|
@ -1145,7 +1145,7 @@
|
|||
'state': '189.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_contact_sensor-True][sensor.eve_door_battery-entry]
|
||||
# name: test_sensors[eve_contact_sensor][sensor.eve_door_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1180,7 +1180,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_contact_sensor-True][sensor.eve_door_battery-state]
|
||||
# name: test_sensors[eve_contact_sensor][sensor.eve_door_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
|
@ -1196,7 +1196,7 @@
|
|||
'state': '100',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_contact_sensor-True][sensor.eve_door_voltage-entry]
|
||||
# name: test_sensors[eve_contact_sensor][sensor.eve_door_voltage-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1231,7 +1231,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_contact_sensor-True][sensor.eve_door_voltage-state]
|
||||
# name: test_sensors[eve_contact_sensor][sensor.eve_door_voltage-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'voltage',
|
||||
|
@ -1247,7 +1247,7 @@
|
|||
'state': '3.558',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_current-entry]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_current-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1285,7 +1285,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricCurrent.AMPERE: 'A'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_current-state]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_current-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'current',
|
||||
|
@ -1301,7 +1301,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_energy-entry]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_energy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1339,7 +1339,7 @@
|
|||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_energy-state]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_energy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
|
@ -1355,7 +1355,7 @@
|
|||
'state': '0.220000028610229',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_power-entry]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_power-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1393,7 +1393,7 @@
|
|||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_power-state]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_power-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
|
@ -1409,7 +1409,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_voltage-entry]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_voltage-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1447,7 +1447,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug-True][sensor.eve_energy_plug_voltage-state]
|
||||
# name: test_sensors[eve_energy_plug][sensor.eve_energy_plug_voltage-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'voltage',
|
||||
|
@ -1463,7 +1463,7 @@
|
|||
'state': '238.800003051758',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_current-entry]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_current-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1501,7 +1501,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricCurrent.AMPERE: 'A'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_current-state]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_current-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'current',
|
||||
|
@ -1517,7 +1517,7 @@
|
|||
'state': '2.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_energy-entry]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_energy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1555,7 +1555,7 @@
|
|||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_energy-state]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_energy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
|
@ -1571,7 +1571,7 @@
|
|||
'state': '0.0025',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_power-entry]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_power-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1609,7 +1609,7 @@
|
|||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_power-state]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_power-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
|
@ -1625,7 +1625,7 @@
|
|||
'state': '550.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_voltage-entry]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_voltage-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1663,7 +1663,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_energy_plug_patched-True][sensor.eve_energy_plug_patched_voltage-state]
|
||||
# name: test_sensors[eve_energy_plug_patched][sensor.eve_energy_plug_patched_voltage-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'voltage',
|
||||
|
@ -1679,7 +1679,7 @@
|
|||
'state': '220.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_thermo-True][sensor.eve_thermo_battery-entry]
|
||||
# name: test_sensors[eve_thermo][sensor.eve_thermo_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1714,7 +1714,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_thermo-True][sensor.eve_thermo_battery-state]
|
||||
# name: test_sensors[eve_thermo][sensor.eve_thermo_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
|
@ -1730,7 +1730,7 @@
|
|||
'state': '100',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_thermo-True][sensor.eve_thermo_valve_position-entry]
|
||||
# name: test_sensors[eve_thermo][sensor.eve_thermo_valve_position-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1763,7 +1763,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_thermo-True][sensor.eve_thermo_valve_position-state]
|
||||
# name: test_sensors[eve_thermo][sensor.eve_thermo_valve_position-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Eve Thermo Valve position',
|
||||
|
@ -1777,7 +1777,7 @@
|
|||
'state': '10',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_thermo-True][sensor.eve_thermo_voltage-entry]
|
||||
# name: test_sensors[eve_thermo][sensor.eve_thermo_voltage-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1812,7 +1812,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_thermo-True][sensor.eve_thermo_voltage-state]
|
||||
# name: test_sensors[eve_thermo][sensor.eve_thermo_voltage-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'voltage',
|
||||
|
@ -1828,7 +1828,7 @@
|
|||
'state': '3.05',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_battery-entry]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1863,7 +1863,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_battery-state]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
|
@ -1879,7 +1879,7 @@
|
|||
'state': '100',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_humidity-entry]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_humidity-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1914,7 +1914,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_humidity-state]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_humidity-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'humidity',
|
||||
|
@ -1930,7 +1930,7 @@
|
|||
'state': '80.66',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_pressure-entry]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_pressure-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -1968,7 +1968,7 @@
|
|||
'unit_of_measurement': <UnitOfPressure.HPA: 'hPa'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_pressure-state]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_pressure-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pressure',
|
||||
|
@ -1984,7 +1984,7 @@
|
|||
'state': '1008.5',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_temperature-entry]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_temperature-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2019,7 +2019,7 @@
|
|||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_temperature-state]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_temperature-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'temperature',
|
||||
|
@ -2035,7 +2035,7 @@
|
|||
'state': '16.03',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_voltage-entry]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_voltage-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2070,7 +2070,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[eve_weather_sensor-True][sensor.eve_weather_voltage-state]
|
||||
# name: test_sensors[eve_weather_sensor][sensor.eve_weather_voltage-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'voltage',
|
||||
|
@ -2086,7 +2086,7 @@
|
|||
'state': '2.956',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[flow_sensor-True][sensor.mock_flow_sensor_flow-entry]
|
||||
# name: test_sensors[flow_sensor][sensor.mock_flow_sensor_flow-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2121,7 +2121,7 @@
|
|||
'unit_of_measurement': <UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR: 'm³/h'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[flow_sensor-True][sensor.mock_flow_sensor_flow-state]
|
||||
# name: test_sensors[flow_sensor][sensor.mock_flow_sensor_flow-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Mock Flow Sensor Flow',
|
||||
|
@ -2136,7 +2136,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[humidity_sensor-True][sensor.mock_humidity_sensor_humidity-entry]
|
||||
# name: test_sensors[humidity_sensor][sensor.mock_humidity_sensor_humidity-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2171,7 +2171,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[humidity_sensor-True][sensor.mock_humidity_sensor_humidity-state]
|
||||
# name: test_sensors[humidity_sensor][sensor.mock_humidity_sensor_humidity-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'humidity',
|
||||
|
@ -2187,7 +2187,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[light_sensor-True][sensor.mock_light_sensor_illuminance-entry]
|
||||
# name: test_sensors[light_sensor][sensor.mock_light_sensor_illuminance-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2222,7 +2222,7 @@
|
|||
'unit_of_measurement': 'lx',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[light_sensor-True][sensor.mock_light_sensor_illuminance-state]
|
||||
# name: test_sensors[light_sensor][sensor.mock_light_sensor_illuminance-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'illuminance',
|
||||
|
@ -2238,7 +2238,7 @@
|
|||
'state': '1.3',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[microwave_oven-True][sensor.microwave_oven_operational_state-entry]
|
||||
# name: test_sensors[microwave_oven][sensor.microwave_oven_operational_state-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2278,7 +2278,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[microwave_oven-True][sensor.microwave_oven_operational_state-state]
|
||||
# name: test_sensors[microwave_oven][sensor.microwave_oven_operational_state-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'enum',
|
||||
|
@ -2298,7 +2298,7 @@
|
|||
'state': 'stopped',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[pressure_sensor-True][sensor.mock_pressure_sensor_pressure-entry]
|
||||
# name: test_sensors[pressure_sensor][sensor.mock_pressure_sensor_pressure-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2333,7 +2333,7 @@
|
|||
'unit_of_measurement': <UnitOfPressure.KPA: 'kPa'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[pressure_sensor-True][sensor.mock_pressure_sensor_pressure-state]
|
||||
# name: test_sensors[pressure_sensor][sensor.mock_pressure_sensor_pressure-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'pressure',
|
||||
|
@ -2349,7 +2349,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[room_airconditioner-True][sensor.room_airconditioner_temperature-entry]
|
||||
# name: test_sensors[room_airconditioner][sensor.room_airconditioner_temperature-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2384,7 +2384,7 @@
|
|||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[room_airconditioner-True][sensor.room_airconditioner_temperature-state]
|
||||
# name: test_sensors[room_airconditioner][sensor.room_airconditioner_temperature-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'temperature',
|
||||
|
@ -2400,7 +2400,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_current-entry]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_current-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2438,7 +2438,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricCurrent.AMPERE: 'A'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_current-state]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_current-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'current',
|
||||
|
@ -2454,7 +2454,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_energy-entry]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_energy-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2492,7 +2492,7 @@
|
|||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_energy-state]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_energy-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
|
@ -2508,7 +2508,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_operational_state-entry]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_operational_state-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2549,7 +2549,7 @@
|
|||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_operational_state-state]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_operational_state-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'enum',
|
||||
|
@ -2570,7 +2570,7 @@
|
|||
'state': 'stopped',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_power-entry]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_power-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2608,7 +2608,7 @@
|
|||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_power-state]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_power-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
|
@ -2624,7 +2624,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_voltage-entry]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_voltage-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2662,7 +2662,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[silabs_dishwasher-True][sensor.dishwasher_voltage-state]
|
||||
# name: test_sensors[silabs_dishwasher][sensor.dishwasher_voltage-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'voltage',
|
||||
|
@ -2678,7 +2678,7 @@
|
|||
'state': '120.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[smoke_detector-True][sensor.smoke_sensor_battery-entry]
|
||||
# name: test_sensors[smoke_detector][sensor.smoke_sensor_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2713,7 +2713,7 @@
|
|||
'unit_of_measurement': '%',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[smoke_detector-True][sensor.smoke_sensor_battery-state]
|
||||
# name: test_sensors[smoke_detector][sensor.smoke_sensor_battery-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'battery',
|
||||
|
@ -2729,7 +2729,7 @@
|
|||
'state': '94',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[smoke_detector-True][sensor.smoke_sensor_voltage-entry]
|
||||
# name: test_sensors[smoke_detector][sensor.smoke_sensor_voltage-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2764,7 +2764,7 @@
|
|||
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[smoke_detector-True][sensor.smoke_sensor_voltage-state]
|
||||
# name: test_sensors[smoke_detector][sensor.smoke_sensor_voltage-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'voltage',
|
||||
|
@ -2780,7 +2780,7 @@
|
|||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[temperature_sensor-True][sensor.mock_temperature_sensor_temperature-entry]
|
||||
# name: test_sensors[temperature_sensor][sensor.mock_temperature_sensor_temperature-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
|
@ -2815,7 +2815,7 @@
|
|||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_sensors[temperature_sensor-True][sensor.mock_temperature_sensor_temperature-state]
|
||||
# name: test_sensors[temperature_sensor][sensor.mock_temperature_sensor_temperature-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'temperature',
|
||||
|
|
|
@ -18,8 +18,6 @@ from tests.common import MockConfigEntry
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_node")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "name"),
|
||||
[
|
||||
|
@ -54,8 +52,6 @@ async def test_device_registry_single_node_device(
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_node")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["on_off_plugin_unit"])
|
||||
async def test_device_registry_single_node_device_alt(
|
||||
hass: HomeAssistant,
|
||||
|
@ -125,8 +121,6 @@ async def test_device_registry_bridge(
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("integration")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_node_added_subscription(
|
||||
hass: HomeAssistant,
|
||||
matter_client: MagicMock,
|
||||
|
|
|
@ -27,8 +27,6 @@ from tests.common import MockConfigEntry
|
|||
from tests.typing import WebSocketGenerator
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_commission(
|
||||
hass: HomeAssistant,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
|
@ -65,8 +63,6 @@ async def test_commission(
|
|||
matter_client.commission_with_code.assert_called_once_with("12345678", False)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_commission_on_network(
|
||||
hass: HomeAssistant,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
|
@ -103,8 +99,6 @@ async def test_commission_on_network(
|
|||
matter_client.commission_on_network.assert_called_once_with(1234, "1.2.3.4")
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_set_thread_dataset(
|
||||
hass: HomeAssistant,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
|
@ -145,8 +139,6 @@ async def test_set_thread_dataset(
|
|||
matter_client.set_thread_operational_dataset.assert_called_once_with("test_dataset")
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_set_wifi_credentials(
|
||||
hass: HomeAssistant,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
|
@ -196,8 +188,6 @@ async def test_set_wifi_credentials(
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_node")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
# setup (mock) integration with a random node fixture
|
||||
@pytest.mark.parametrize("node_fixture", ["onoff_light"])
|
||||
async def test_node_diagnostics(
|
||||
|
@ -267,8 +257,6 @@ async def test_node_diagnostics(
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_node")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
# setup (mock) integration with a random node fixture
|
||||
@pytest.mark.parametrize("node_fixture", ["onoff_light"])
|
||||
async def test_ping_node(
|
||||
|
@ -324,8 +312,6 @@ async def test_ping_node(
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_node")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
# setup (mock) integration with a random node fixture
|
||||
@pytest.mark.parametrize("node_fixture", ["onoff_light"])
|
||||
async def test_open_commissioning_window(
|
||||
|
@ -387,8 +373,6 @@ async def test_open_commissioning_window(
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_node")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
# setup (mock) integration with a random node fixture
|
||||
@pytest.mark.parametrize("node_fixture", ["onoff_light"])
|
||||
async def test_remove_matter_fabric(
|
||||
|
@ -440,8 +424,6 @@ async def test_remove_matter_fabric(
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_node")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
# setup (mock) integration with a random node fixture
|
||||
@pytest.mark.parametrize("node_fixture", ["onoff_light"])
|
||||
async def test_interview_node(
|
||||
|
|
|
@ -34,8 +34,6 @@ def binary_sensor_platform() -> Generator[None]:
|
|||
|
||||
|
||||
@pytest.mark.usefixtures("matter_devices")
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_binary_sensors(
|
||||
hass: HomeAssistant,
|
||||
entity_registry: er.EntityRegistry,
|
||||
|
@ -45,8 +43,6 @@ async def test_binary_sensors(
|
|||
snapshot_matter_entities(hass, entity_registry, snapshot, Platform.BINARY_SENSOR)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["occupancy_sensor"])
|
||||
async def test_occupancy_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -68,8 +64,6 @@ async def test_occupancy_sensor(
|
|||
assert state.state == "off"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -100,8 +94,6 @@ async def test_boolean_state_sensors(
|
|||
assert state.state == "off"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["door_lock"])
|
||||
async def test_battery_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -9,8 +9,6 @@ import pytest
|
|||
from homeassistant.core import HomeAssistant
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["eve_energy_plug"])
|
||||
async def test_identify_button(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -13,8 +13,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["thermostat"])
|
||||
async def test_thermostat_base(
|
||||
hass: HomeAssistant,
|
||||
|
@ -129,8 +127,6 @@ async def test_thermostat_base(
|
|||
assert state.attributes["temperature"] == 20
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["thermostat"])
|
||||
async def test_thermostat_service_calls(
|
||||
hass: HomeAssistant,
|
||||
|
@ -284,8 +280,6 @@ async def test_thermostat_service_calls(
|
|||
matter_client.write_attribute.reset_mock()
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["room_airconditioner"])
|
||||
async def test_room_airconditioner(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -19,8 +19,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -91,8 +89,6 @@ async def test_cover(
|
|||
matter_client.send_device_command.reset_mock()
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -141,8 +137,6 @@ async def test_cover_lift(
|
|||
assert state.state == STATE_OPENING
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -180,8 +174,6 @@ async def test_cover_lift_only(
|
|||
assert state.attributes["supported_features"] & CoverEntityFeature.SET_POSITION != 0
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -226,8 +218,6 @@ async def test_cover_position_aware_lift(
|
|||
assert state.state == STATE_CLOSED
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -278,8 +268,6 @@ async def test_cover_tilt(
|
|||
assert state.state == STATE_OPENING
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -315,8 +303,6 @@ async def test_cover_tilt_only(
|
|||
)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
|
|
@ -56,8 +56,6 @@ async def test_matter_attribute_redact(device_diagnostics: dict[str, Any]) -> No
|
|||
assert redacted_device_diagnostics == device_diagnostics
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_config_entry_diagnostics(
|
||||
hass: HomeAssistant,
|
||||
hass_client: ClientSessionGenerator,
|
||||
|
@ -76,8 +74,6 @@ async def test_config_entry_diagnostics(
|
|||
assert diagnostics == config_entry_diagnostics_redacted
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["device_diagnostics"])
|
||||
async def test_device_diagnostics(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -12,8 +12,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["generic_switch"])
|
||||
async def test_generic_switch_node(
|
||||
hass: HomeAssistant,
|
||||
|
@ -53,8 +51,6 @@ async def test_generic_switch_node(
|
|||
assert state.attributes[ATTR_EVENT_TYPE] == "initial_press"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["generic_switch_multi"])
|
||||
async def test_generic_switch_multi_node(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -23,8 +23,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["air_purifier"])
|
||||
async def test_fan_base(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -20,8 +20,6 @@ from .common import setup_integration_with_node_fixture
|
|||
from tests.common import MockConfigEntry
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["device_diagnostics"])
|
||||
async def test_get_device_id(
|
||||
hass: HomeAssistant,
|
||||
|
@ -34,8 +32,6 @@ async def test_get_device_id(
|
|||
assert device_id == "00000000000004D2-0000000000000005-MatterNodeDevice"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_get_node_from_device_entry(
|
||||
hass: HomeAssistant,
|
||||
device_registry: dr.DeviceRegistry,
|
||||
|
|
|
@ -80,8 +80,6 @@ async def test_entry_setup_unload(
|
|||
assert entity_state.state == STATE_UNAVAILABLE
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_home_assistant_stop(
|
||||
hass: HomeAssistant,
|
||||
matter_client: MagicMock,
|
||||
|
@ -448,8 +446,6 @@ async def test_update_addon(
|
|||
assert update_addon.call_count == update_calls
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
(
|
||||
"connect_side_effect",
|
||||
|
@ -664,8 +660,6 @@ async def test_remove_entry(
|
|||
assert "Failed to uninstall the Matter Server add-on" in caplog.text
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_remove_config_entry_device(
|
||||
hass: HomeAssistant,
|
||||
device_registry: dr.DeviceRegistry,
|
||||
|
@ -698,8 +692,6 @@ async def test_remove_config_entry_device(
|
|||
assert not hass.states.get(entity_id)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_remove_config_entry_device_no_node(
|
||||
hass: HomeAssistant,
|
||||
device_registry: dr.DeviceRegistry,
|
||||
|
|
|
@ -12,8 +12,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id", "supported_color_modes"),
|
||||
[
|
||||
|
@ -99,8 +97,6 @@ async def test_light_turn_on_off(
|
|||
matter_client.send_device_command.reset_mock()
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -169,8 +165,6 @@ async def test_dimmable_light(
|
|||
matter_client.send_device_command.reset_mock()
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
@ -260,8 +254,6 @@ async def test_color_temperature_light(
|
|||
matter_client.send_device_command.reset_mock()
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize(
|
||||
("node_fixture", "entity_id"),
|
||||
[
|
||||
|
|
|
@ -15,8 +15,6 @@ import homeassistant.helpers.entity_registry as er
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["door_lock"])
|
||||
async def test_lock(
|
||||
hass: HomeAssistant,
|
||||
|
@ -100,8 +98,6 @@ async def test_lock(
|
|||
assert state.attributes["supported_features"] & LockEntityFeature.OPEN
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["door_lock"])
|
||||
async def test_lock_requires_pin(
|
||||
hass: HomeAssistant,
|
||||
|
@ -165,8 +161,6 @@ async def test_lock_requires_pin(
|
|||
)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["door_lock_with_unbolt"])
|
||||
async def test_lock_with_unbolt(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -12,8 +12,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["dimmable_light"])
|
||||
async def test_level_control_config_entities(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -11,8 +11,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["dimmable_light"])
|
||||
async def test_mode_select_entities(
|
||||
hass: HomeAssistant,
|
||||
|
@ -63,8 +61,6 @@ async def test_mode_select_entities(
|
|||
)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["dimmable_light"])
|
||||
async def test_attribute_select_entities(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -17,8 +17,6 @@ from .common import (
|
|||
)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.usefixtures("matter_devices")
|
||||
async def test_sensors(
|
||||
hass: HomeAssistant,
|
||||
|
@ -29,8 +27,6 @@ async def test_sensors(
|
|||
snapshot_matter_entities(hass, entity_registry, snapshot, Platform.SENSOR)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["flow_sensor"])
|
||||
async def test_sensor_null_value(
|
||||
hass: HomeAssistant,
|
||||
|
@ -50,8 +46,6 @@ async def test_sensor_null_value(
|
|||
assert state.state == "unknown"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["flow_sensor"])
|
||||
async def test_flow_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -71,8 +65,6 @@ async def test_flow_sensor(
|
|||
assert state.state == "2.0"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["humidity_sensor"])
|
||||
async def test_humidity_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -92,8 +84,6 @@ async def test_humidity_sensor(
|
|||
assert state.state == "40.0"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["light_sensor"])
|
||||
async def test_light_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -113,8 +103,6 @@ async def test_light_sensor(
|
|||
assert state.state == "2.0"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["temperature_sensor"])
|
||||
async def test_temperature_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -134,8 +122,6 @@ async def test_temperature_sensor(
|
|||
assert state.state == "25.0"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["eve_contact_sensor"])
|
||||
async def test_battery_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -162,8 +148,6 @@ async def test_battery_sensor(
|
|||
assert entry.entity_category == EntityCategory.DIAGNOSTIC
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["eve_contact_sensor"])
|
||||
async def test_battery_sensor_voltage(
|
||||
hass: HomeAssistant,
|
||||
|
@ -190,8 +174,6 @@ async def test_battery_sensor_voltage(
|
|||
assert entry.entity_category == EntityCategory.DIAGNOSTIC
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["eve_thermo"])
|
||||
async def test_eve_thermo_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -212,8 +194,6 @@ async def test_eve_thermo_sensor(
|
|||
assert state.state == "0"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["pressure_sensor"])
|
||||
async def test_pressure_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
@ -252,8 +232,6 @@ async def test_eve_weather_sensor_custom_cluster(
|
|||
assert state.state == "800.0"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["air_quality_sensor"])
|
||||
async def test_air_quality_sensor(
|
||||
hass: HomeAssistant,
|
||||
|
|
|
@ -11,8 +11,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["on_off_plugin_unit"])
|
||||
async def test_turn_on(
|
||||
hass: HomeAssistant,
|
||||
|
@ -48,8 +46,6 @@ async def test_turn_on(
|
|||
assert state.state == "on"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["on_off_plugin_unit"])
|
||||
async def test_turn_off(
|
||||
hass: HomeAssistant,
|
||||
|
@ -78,8 +74,6 @@ async def test_turn_off(
|
|||
)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["switch_unit"])
|
||||
async def test_switch_unit(hass: HomeAssistant, matter_node: MatterNode) -> None:
|
||||
"""Test if a switch entity is discovered from any (non-light) OnOf cluster device."""
|
||||
|
@ -92,8 +86,6 @@ async def test_switch_unit(hass: HomeAssistant, matter_node: MatterNode) -> None
|
|||
assert state.attributes["friendly_name"] == "Mock SwitchUnit Switch"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["room_airconditioner"])
|
||||
async def test_power_switch(hass: HomeAssistant, matter_node: MatterNode) -> None:
|
||||
"""Test if a Power switch entity is created for a device that supports that."""
|
||||
|
|
|
@ -11,8 +11,6 @@ from homeassistant.core import HomeAssistant
|
|||
from .common import set_node_attribute, trigger_subscription_callback
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
@pytest.mark.parametrize("node_fixture", ["valve"])
|
||||
async def test_valve(
|
||||
hass: HomeAssistant,
|
||||
|
|
Loading…
Add table
Reference in a new issue