3.1.9.2.7. waf_tools.bms_config_model.CurrentSensor

class waf_tools.bms_config_model.CurrentSensor(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

Current sensor hardware configuration.

Defines which current sensor is used in the system and its communication interface type.

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.