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 06:13:31 -07:00 committed by GitHub
parent 22d0fbcbd2
commit 0e9ced3c00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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",