mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
Correct core Purpleair integration's RSSI sensor to use RSSI value rather than barometric pressure (#149418)
This commit is contained in:
parent
22d0fbcbd2
commit
0e9ced3c00
@ -132,7 +132,7 @@ SENSOR_DESCRIPTIONS = [
|
|||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
value_fn=lambda sensor: sensor.pressure,
|
value_fn=lambda sensor: sensor.rssi,
|
||||||
),
|
),
|
||||||
PurpleAirSensorEntityDescription(
|
PurpleAirSensorEntityDescription(
|
||||||
key="temperature",
|
key="temperature",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user