diff --git a/custom_components/tech/sensor.py b/custom_components/tech/sensor.py index 2e2c27e..82768f8 100644 --- a/custom_components/tech/sensor.py +++ b/custom_components/tech/sensor.py @@ -559,7 +559,7 @@ def get_state(self, device: dict[str, Any]) -> Any: """Get the state of the device.""" -class TileTemperatureSensor(TileSensor, SensorEntity): +class TileTemperatureSensor(SensorEntity, TileSensor): """Representation of a Tile Temperature Sensor.""" def __init__( @@ -647,7 +647,7 @@ def get_state(self, device: dict[str, Any]) -> str: return device[CONF_PARAMS]["widget2"][VALUE] / 10 -class TileValveSensor(TileSensor, SensorEntity): +class TileValveSensor(SensorEntity, TileSensor): """Representation of a Tile Valve Sensor.""" def __init__( @@ -699,7 +699,7 @@ def update_properties(self, device: dict[str, Any]) -> None: self.attrs["setTemp"] = device[CONF_PARAMS]["setTemp"] -class TileMixingValveSensor(TileSensor, SensorEntity): +class TileMixingValveSensor(SensorEntity, TileSensor): """Representation of a Tile Mixing Valve Sensor.""" _attr_native_unit_of_measurement = PERCENTAGE