Replies: 4 comments 7 replies
-
I would totally love this |
Beta Was this translation helpful? Give feedback.
-
I like it, it simplified the UX, it will cause a breaking change but certainly willing to make the change. |
Beta Was this translation helpful? Give feedback.
-
100% for it. :) |
Beta Was this translation helpful? Give feedback.
-
Based on what seems to be unanimous feedback, I've updated dev so the controls that have corresponding sensors use them for their current values. These are:
No other control has a corresponding sensor at the moment. I'll slowly add more sensors and add them to their controls. You'll see that with the binary controls, if you click to change the state, the control echoes what you did but very quickly after reverts to the old state. That's because the app has to send the request to the car, wait for its response and then update the sensor. So shortly after reverting to the old state the control flips to the state you requested (assuming it all works of course). It would be good if I can find a way to delay the feedback to mask this. Oh, and I've also added a control to vent and close the windows. I use this a lot to cool the car down before I get in the car. I'm going to pause here to get some feedback in case there are any issues. If all goes well, I'll promote to main in a day or so. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've learnt today that it's possible for controls to include the sensors they are controlling to give their actual state. So, for example, the climate switch can use the climate sensor to tell the climate current state. Thus, in the device info page, it will show the current state in the controls section and only give you the option to change it to its opposite state (so if it's on, you can only switch it off). The actual on/off actions will still be available. Similarly, the charge current and charge limits could use their current values.
When you change a value/state, the value/state will change accordingly. There is a delay to this change as the car is polled and the new value/state determined. For a short while it might look like the change hasn't worked.
Personally I think this is definitely better despite the short delay. But before I make this change, I want to canvas people's opinion. There shouldn't be any backward incompatibility issues other than the display looking slightly different.
Beta Was this translation helpful? Give feedback.
All reactions