3.1.9.2.2. waf_tools.bms_config_model.AerosolSensor

class waf_tools.bms_config_model.AerosolSensor(manufacturer: Annotated[str, BeforeValidator(func=_to_lower, json_schema_input_type=PydanticUndefined), FieldInfo(annotation=NoneType, required=True, metadata=[Strict(strict=True)])], model: Annotated[str, BeforeValidator(func=_to_lower, json_schema_input_type=PydanticUndefined), FieldInfo(annotation=NoneType, required=True, metadata=[Strict(strict=True)])], type: Annotated[str, BeforeValidator(func=_to_lower, json_schema_input_type=PydanticUndefined), FieldInfo(annotation=NoneType, required=True, metadata=[Strict(strict=True)])])

Bases: object

Aerosol sensor hardware configuration.

All fields are required. The sensor is disabled by omitting the aerosol-sensor key in bms.json, see _replace_disabled_device.

manufacturer

Sensor manufacturer.

Type:

str

model

Sensor model identifier.

Type:

str

_type

Communication type.

Raises:

ValueError – If the manufacturer/model/type combination is unsupported or inconsistent.