Improves parking state detection and logging
All checks were successful
Build, Push and Run Container / build (push) Successful in 28s
All checks were successful
Build, Push and Run Container / build (push) Successful in 28s
Enhances parking state logic by setting the initial gear to "P" and adding more detailed logging for state changes and parking events. This provides better insight into vehicle states and parking behaviors.
This commit is contained in:
@@ -2,7 +2,7 @@ namespace ProofOfConcept.Models;
|
||||
|
||||
public class TeslaState
|
||||
{
|
||||
private string gear = "";
|
||||
private string gear = "P";
|
||||
private bool locked;
|
||||
private bool driverSeatOccupied;
|
||||
private bool gpsState;
|
||||
|
||||
Reference in New Issue
Block a user