tesla-0.5.2.1: Tesla API client.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Tesla.Car.Command.Climate

Synopsis

Documentation

hvacOn :: forall {m}. MonadIO m => Car m CommandResponse Source #

hvacOff :: forall {m}. MonadIO m => Car m CommandResponse Source #

heatSeat :: MonadIO m => Seat -> Int -> Car m CommandResponse Source #

Set heating levels for various seats.

setTemps :: MonadIO m => (Double, Double) -> Car m CommandResponse Source #

Set the main HVAC temperatures.

wheelHeater :: MonadIO m => Bool -> Car m CommandResponse Source #

Turn on the steering wheel heater

wakeUp :: forall {m}. MonadIO m => Car m CommandResponse Source #

bioweaponMode :: MonadIO m => Bool -> Car m CommandResponse Source #

Turn on or off bioweapon defense mode.

If HVAC is off, turning on bioweapon defense mode will also turn on HVAC.

data Sometimes Source #

When configuring scheduled departure, preconditioning and off-peak charging both have weekday only options.

Constructors

Never 
Always 
WeekdaysOnly 

data OffPeakConfig Source #

Configuration for off-peak charging for a schedule departure.

type Preconditioning = Sometimes Source #

Type alias to make scheduleDeparture more readable.

scheduleDeparture :: MonadIO m => Time -> Preconditioning -> Maybe OffPeakConfig -> Car m CommandResponse Source #

Schedule a departure.

For this to do anything useful, you need to specify at least one of Preconditioning and/or OffPeakConfig.