mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Migrate Tractive translations (#83321)
This commit is contained in:
parent
67875b99a3
commit
f125fd5772
@ -145,7 +145,7 @@ SENSOR_TYPES: tuple[TractiveSensorEntityDescription, ...] = (
|
|||||||
# More states are available by polling the data
|
# More states are available by polling the data
|
||||||
key=ATTR_TRACKER_STATE,
|
key=ATTR_TRACKER_STATE,
|
||||||
name="Tracker state",
|
name="Tracker state",
|
||||||
device_class="tractive__tracker_state",
|
translation_key="tracker_state",
|
||||||
entity_class=TractiveHardwareSensor,
|
entity_class=TractiveHardwareSensor,
|
||||||
),
|
),
|
||||||
TractiveSensorEntityDescription(
|
TractiveSensorEntityDescription(
|
||||||
|
@ -17,5 +17,17 @@
|
|||||||
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
||||||
"reauth_failed_existing": "Could not update the config entry, please remove the integration and set it up again."
|
"reauth_failed_existing": "Could not update the config entry, please remove the integration and set it up again."
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"tracker_state": {
|
||||||
|
"state": {
|
||||||
|
"not_reporting": "Not reporting",
|
||||||
|
"operational": "Operational",
|
||||||
|
"system_shutdown_user": "System shutdown user",
|
||||||
|
"system_startup": "System startup"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"state": {
|
|
||||||
"tractive__tracker_state": {
|
|
||||||
"not_reporting": "Not reporting",
|
|
||||||
"operational": "Operational",
|
|
||||||
"system_shutdown_user": "System shutdown user",
|
|
||||||
"system_startup": "System startup"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -17,5 +17,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"tracker_state": {
|
||||||
|
"state": {
|
||||||
|
"not_reporting": "Not reporting",
|
||||||
|
"operational": "Operational",
|
||||||
|
"system_shutdown_user": "System shutdown user",
|
||||||
|
"system_startup": "System startup"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user