Skip to content

Commit

Permalink
add hood to door total status
Browse files Browse the repository at this point in the history
  • Loading branch information
itchannel committed Oct 15, 2023
1 parent 5eae37c commit 30a066f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/fordpass/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ def get_value(self, ftype):
continue
if value["value"] != "CLOSED":
return "Open"
if "hoodStatus" in self.data:
if self.data["hoodStatus"]["value"] == "OPEN":
return "Open"
return "Closed"
if self.sensor == "windowPosition":
if "windowStatus" in self.data:
Expand Down
6 changes: 6 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## **Changelog**
### Version 1.58
- Rewrote auth function to allow for more granular debugging
- Changed odometer to use native conversions in HA (pick from sensor options)
- No longer displays "unavaliable" if sensor goes offline, will instead show previous data and report an error in logs
- More EV features

### Version 1.57
- Rewrote command function to actively poll until success or failure is returned
- Fixed bug where elveh attributes wasn't showing
Expand Down

0 comments on commit 30a066f

Please sign in to comment.