Skip to content

Commit

Permalink
Add missing state to the Tractive tracker state sensor (#114654)
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
  • Loading branch information
bieniu and bieniu committed Apr 2, 2024
1 parent 52bd3ef commit 25c920b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/tractive/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def handle_status_update(self, event: dict[str, Any]) -> None:
entity_category=EntityCategory.DIAGNOSTIC,
device_class=SensorDeviceClass.ENUM,
options=[
"inaccurate_position",
"not_reporting",
"operational",
"system_shutdown_user",
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/tractive/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"tracker_state": {
"name": "Tracker state",
"state": {
"inaccurate_position": "Inaccurate position",
"not_reporting": "Not reporting",
"operational": "Operational",
"system_shutdown_user": "System shutdown user",
Expand Down

0 comments on commit 25c920b

Please sign in to comment.