Closed piranha32 closed 2 years ago
This issue should have been addressed by several recent patches around compatibility with classic models and not crashing the update_device calls when air sensor datapoints are not available or not in the expected format.
In a configuration where there are no air quality sensors (only an air filter is registered), the component raises an exception during initialization:
Call to the API returns the following record:
{'uuid': <uuid>, 'start': 0, 'end': 0, 'sensors': ['time', 'pm', 'tmp', 'hum', 'co2', 'voc', 'allpollu'], 'units': ['s', 'ugm3', 'C', 'pc', 'ppm', 'ppb', '%'], 'datapoints': []}
results
variable returned bytransform_data_point
is an empty list.blueair
command from theblueair
python package returns the following list of device attributes: