FlyingDiver / Indigo-Connected-Drive

Plugin for the BMW Connected Drive portal
MIT License
3 stars 0 forks source link

Indigo UI state = "LockState.UNLOCKED" #30

Open ryanbuckner opened 3 months ago

ryanbuckner commented 3 months ago

In the previous version, the UI state showed "UNLOCKED" and the latest update changed that to "LockState.UNLOCKED". I don't think it affects functionality but in case it's an unintended mistake I wanted to report it.

lockstate
FlyingDiver commented 3 months ago

I did not make any changes that could effect that state.

Is it possible this change actually came from an Indigo update?

FlyingDiver commented 3 months ago

Or maybe it's a Python string formatting change. Here's the code that sets that, and it hasn't changed since I implemented that state value option.

                case 'door_lock_state':
                    status_value = vehicle.doors_and_windows.door_lock_state
                    status_ui = f"{vehicle.doors_and_windows.door_lock_state}"