Skip to content

Commit

Permalink
Remove unused string and changed key
Browse files Browse the repository at this point in the history
  • Loading branch information
MrConorAE committed Jan 30, 2025
1 parent ae8d8b8 commit c26b259
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/starlink/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def is_on(self) -> bool | None:
value_fn=lambda data: data.alert["alert_unexpected_location"],
),
StarlinkBinarySensorEntityDescription(
key="connected",
key="connection",
device_class=BinarySensorDeviceClass.CONNECTIVITY,
value_fn=lambda data: (data.status["state"] == "CONNECTED"),
),
Expand Down
3 changes: 0 additions & 3 deletions homeassistant/components/starlink/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@
},
"download": {
"name": "Download"
},
"status": {
"name": "Status"
}
},
"switch": {
Expand Down

0 comments on commit c26b259

Please sign in to comment.