sensors_wslink updated to stable version
Updating to stable version, retaining CH3 sensors. Left outside battery unchanged. Will work on bug in next commit.pull/72/head^2
parent
2d758835dc
commit
827fb71e25
|
|
@ -244,25 +244,25 @@ SENSOR_TYPES_WSLINK: tuple[WeatherSensorEntityDescription, ...] = (
|
||||||
translation_key=CH2_HUMIDITY,
|
translation_key=CH2_HUMIDITY,
|
||||||
value_fn=lambda data: cast("int", data),
|
value_fn=lambda data: cast("int", data),
|
||||||
),
|
),
|
||||||
# WeatherSensorEntityDescription(
|
WeatherSensorEntityDescription(
|
||||||
# key=CH3_TEMP,
|
key=CH3_TEMP,
|
||||||
# native_unit_of_measurement=UnitOfTemperature.FAHRENHEIT,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
# state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
# device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
# suggested_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
suggested_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
# icon="mdi:weather-sunny",
|
icon="mdi:weather-sunny",
|
||||||
# translation_key=CH3_TEMP,
|
translation_key=CH3_TEMP,
|
||||||
# value_fn=lambda data: cast(float, data),
|
value_fn=lambda data: cast(float, data),
|
||||||
# ),
|
),
|
||||||
# WeatherSensorEntityDescription(
|
WeatherSensorEntityDescription(
|
||||||
# key=CH3_HUMIDITY,
|
key=CH3_HUMIDITY,
|
||||||
# native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
# state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
# device_class=SensorDeviceClass.HUMIDITY,
|
device_class=SensorDeviceClass.HUMIDITY,
|
||||||
# icon="mdi:weather-sunny",
|
icon="mdi:weather-sunny",
|
||||||
# translation_key=CH3_HUMIDITY,
|
translation_key=CH3_HUMIDITY,
|
||||||
# value_fn=lambda data: cast(int, data),
|
value_fn=lambda data: cast(int, data),
|
||||||
# ),
|
),
|
||||||
# WeatherSensorEntityDescription(
|
# WeatherSensorEntityDescription(
|
||||||
# key=CH4_TEMP,
|
# key=CH4_TEMP,
|
||||||
# native_unit_of_measurement=UnitOfTemperature.FAHRENHEIT,
|
# native_unit_of_measurement=UnitOfTemperature.FAHRENHEIT,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue