Rename Starlink Last boot time to Last restart (#155596)

This commit is contained in:
David Rapan
2025-11-01 12:19:05 +01:00
committed by GitHub
parent 6011df8952
commit cc57732e24
2 changed files with 3 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ SENSORS: tuple[StarlinkSensorEntityDescription, ...] = (
), ),
StarlinkSensorEntityDescription( StarlinkSensorEntityDescription(
key="last_boot_time", key="last_boot_time",
translation_key="last_boot_time", translation_key="last_restart",
device_class=SensorDeviceClass.TIMESTAMP, device_class=SensorDeviceClass.TIMESTAMP,
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.DIAGNOSTIC,
value_fn=lambda data: ( value_fn=lambda data: (

View File

@@ -62,8 +62,8 @@
"elevation": { "elevation": {
"name": "[%key:common::config_flow::data::elevation%]" "name": "[%key:common::config_flow::data::elevation%]"
}, },
"last_boot_time": { "last_restart": {
"name": "Last boot time" "name": "Last restart"
}, },
"ping": { "ping": {
"name": "Ping" "name": "Ping"