Correct core Purpleair integration's RSSI sensor to use RSSI value rather than barometric pressure (#149418)

This commit is contained in:
petep0p
2025-07-27 07:13:31 -06:00
committed by GitHub
parent 22d0fbcbd2
commit 0e9ced3c00
+1 -1
View File
@@ -132,7 +132,7 @@ SENSOR_DESCRIPTIONS = [
entity_registry_enabled_default=False,
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
state_class=SensorStateClass.MEASUREMENT,
value_fn=lambda sensor: sensor.pressure,
value_fn=lambda sensor: sensor.rssi,
),
PurpleAirSensorEntityDescription(
key="temperature",