mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Fix Starlink ping drop rate reporting (#97555)
This commit is contained in:
@@ -130,6 +130,6 @@ SENSORS: tuple[StarlinkSensorEntityDescription, ...] = (
|
||||
translation_key="ping_drop_rate",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
value_fn=lambda data: data.status["pop_ping_drop_rate"],
|
||||
value_fn=lambda data: data.status["pop_ping_drop_rate"] * 100,
|
||||
),
|
||||
)
|
||||
|
Reference in New Issue
Block a user