Fueling
→ GetGasFlapState
Declaration
hmkit.autoapi.commands.get_gasflap_state.GetGasFlapState()
Discussion
Command to Get Gas Flap State of the car. The car will respond with the Gas Flap State(gasflap_state.GasFlapState) message.
← ControlGasFlap
Declaration
hmkit.autoapi.commands.control_gas_flap.ControlGasFlap(lock, pos)
Parameters
lock | class Enum properties.value.position |
pos | properties.value.lock |
Discussion
Command to control the gas flap of the car.
→ GasFlapState
Declaration
hmkit.autoapi.commands.gasflap_state.GasFlapState()
Discussion
GasFlapState response.
getLock
Declaration
hmkit.autoapi.commands.gasflap_state.getLock()
Returns
Enum properties.value.lock.Lock
Discussion
Returns lock state.
getPosition
Declaration
hmkit.autoapi.commands.gasflap_state.getPosition()
Returns
Enum properties.value.position.Position
Discussion
Returns the position.
isLocked
Declaration
hmkit.autoapi.commands.gasflap_state.isLocked()
Returns
bool
Discussion
Returns if Gas Flap State is Locked or not. true/false.