mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 03:19:34 +00:00
Rename Starlink Last boot time to Last restart (#155596)
This commit is contained in:
@@ -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: (
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user