Add missing state to the Tractive tracker state sensor (#114654)

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
This commit is contained in:
Maciej Bieniek
2024-04-02 18:28:52 +02:00
committed by GitHub
parent 52bd3efad9
commit 25c920b1ee
2 changed files with 2 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ SENSOR_TYPES: tuple[TractiveSensorEntityDescription, ...] = (
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.DIAGNOSTIC,
device_class=SensorDeviceClass.ENUM, device_class=SensorDeviceClass.ENUM,
options=[ options=[
"inaccurate_position",
"not_reporting", "not_reporting",
"operational", "operational",
"system_shutdown_user", "system_shutdown_user",

View File

@@ -70,6 +70,7 @@
"tracker_state": { "tracker_state": {
"name": "Tracker state", "name": "Tracker state",
"state": { "state": {
"inaccurate_position": "Inaccurate position",
"not_reporting": "Not reporting", "not_reporting": "Not reporting",
"operational": "Operational", "operational": "Operational",
"system_shutdown_user": "System shutdown user", "system_shutdown_user": "System shutdown user",