packages feed

tesla 0.4.1.2 → 0.4.1.3

raw patch · 3 files changed

+9/−6 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

src/Tesla/Car.hs view
@@ -120,10 +120,10 @@  -- | Giant blob of VehicleData describing all known state of the vehicle. ----- This is not separated into discrete--- A VehicleIDfields because that's easy enough to do with Aeson and--- Lens when you need it but some convenience methods for common--- | A VehicleIDaccesses are available in this module.+-- This is not separated into discrete fields because that's easy+-- enough to do with Aeson and Lens when you need it but some+-- convenience methods for common accesses are available in this+-- module. type VehicleData = BL.ByteString  -- | vehicleStatus returns the current status of the current vehicle.
src/Tesla/Energy.hs view
@@ -71,9 +71,12 @@ siteSummary = currentEnergyID >>= \e -> jget (energyURL e "status") -} +-- | Fetch the "live_status" describing the current active state of an+-- energy site. siteData :: (FromJSON j, MonadIO m) => Energy m j siteData = currentEnergyID >>= \e -> jgetAuth (energyURL e "live_status") +-- | Fetch the "site_info" describing the basic configuration of an energy site. siteConfig :: (FromJSON j, MonadIO m) => Energy m j siteConfig = currentEnergyID >>= \e -> jgetAuth (energyURL e "site_info") 
tesla.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 7d092c8b93fbd4dc61585f245cf23032c57b15f49d80d94d6483d45de331129d+-- hash: 5822d046f556526df7df83678077d331881386b90f7f164b89597b8f4997c04b  name:           tesla-version:        0.4.1.2+version:        0.4.1.3 synopsis:       Tesla API client. description:    Please see the README on GitHub at <https://github.com/dustin/tesla#readme> category:       Web