Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MMM-BMWConnected.js #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChrizZz90
Copy link

Switched the if values because in my case without a sunroof the alert appears, that the sunroof is open. The following values can the sunroof (+hatch, trunk, doors, windows) variable have: CLOSED, OPEN, OPEN_TILT, INTERMEDIATE, INVALID. Might make sense to change the other if clauses too, but I think the sunroof is special based on being optional.

Source of the values: https://github.com/bimmerconnected/bimmer_connected/blob/dev/bimmer_connected/vehicle_status.py

Switched the if values because in my case without a sunroof the alert appears, that the sunroof is open. The following values can the sunroof (+hatch, trunk, doors, windows) variable have: CLOSED, OPEN, OPEN_TILT, INTERMEDIATE, INVALID. Might make sense to change the other if clauses too, but I think the sunroof is special based on being optional.

Source of the values: https://github.com/bimmerconnected/bimmer_connected/blob/dev/bimmer_connected/vehicle_status.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant