diff --git a/custom_components/fordpass/manifest.json b/custom_components/fordpass/manifest.json index 4695988..c545d66 100644 --- a/custom_components/fordpass/manifest.json +++ b/custom_components/fordpass/manifest.json @@ -5,7 +5,7 @@ "integration_type": "device", "documentation": "https://github.com/itchannel/fordpass-ha", "issue_tracker": "https://github.com/itchannel/fordpass-ha/issues", - "version": "0.1.43", + "version": "0.1.45", "requirements": [], "ssdp": [], "zeroconf": [], diff --git a/custom_components/fordpass/sensor.py b/custom_components/fordpass/sensor.py index 5737717..844a467 100644 --- a/custom_components/fordpass/sensor.py +++ b/custom_components/fordpass/sensor.py @@ -100,7 +100,7 @@ def get_value(self, ftype): return "Unsupported" status = "Closed" for key, value in self.coordinator.data[self.sensor].items(): - if "open" or "btwn" in value["value"].lower(): + if "open" in value["value"].lower(): status = "Open" return status elif self.sensor == "lastRefresh": diff --git a/info.md b/info.md index 2aca455..dd27669 100644 --- a/info.md +++ b/info.md @@ -1,4 +1,9 @@ ## **Changelog** +### Version 1.45 +- Fix window position reporting as open always +### Version 1.44 +- Fix incorrect window position status +- Add reload integration service ### Version 1.43 - Add DPF status on supported vehicles - Incorrect vehicle refresh time (@ronytomen)