From c26b25982b1d59111c7e9ebc1f7860fbcf3e94dc Mon Sep 17 00:00:00 2001 From: MrConorAE Date: Thu, 30 Jan 2025 23:26:01 +0000 Subject: [PATCH] Remove unused string and changed key --- homeassistant/components/starlink/binary_sensor.py | 2 +- homeassistant/components/starlink/strings.json | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/homeassistant/components/starlink/binary_sensor.py b/homeassistant/components/starlink/binary_sensor.py index 89fe40f5d40a61..f31b9f1592d548 100644 --- a/homeassistant/components/starlink/binary_sensor.py +++ b/homeassistant/components/starlink/binary_sensor.py @@ -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"), ), diff --git a/homeassistant/components/starlink/strings.json b/homeassistant/components/starlink/strings.json index 8084ad2bcd40cf..395b6288c71988 100644 --- a/homeassistant/components/starlink/strings.json +++ b/homeassistant/components/starlink/strings.json @@ -76,9 +76,6 @@ }, "download": { "name": "Download" - }, - "status": { - "name": "Status" } }, "switch": {