Documentation ¶
Index ¶
- func DeleteMobileDevice(client *Client, userHome *UserHome, mobileDevice *MobileDevice) error
- func DeleteZoneOverlay(client *Client, userHome *UserHome, zone *Zone) error
- func DisableEarlyStart(client *Client, userHome *UserHome, zone *Zone) error
- func EnableEarlyStart(client *Client, userHome *UserHome, zone *Zone) error
- func IsEarlyStartEnabled(client *Client, userHome *UserHome, zone *Zone) (bool, error)
- func SetActiveTimetable(client *Client, userHome *UserHome, zone *Zone, timetable *ScheduleTimetable) error
- func SetAwayComfortLevel(client *Client, userHome *UserHome, zone *Zone, comfortLevel int32) error
- func SetAwayConfiguration(client *Client, userHome *UserHome, zone *Zone, awayConfig *AwayConfiguration) error
- func SetAwayTemperature(client *Client, userHome *UserHome, zone *Zone, temperature float64) error
- func SetMobileDeviceSettings(client *Client, userHome *UserHome, mobileDevice *MobileDevice, ...) error
- func SetPresenceAuto(client *Client, userHome *UserHome) error
- func SetPresenceAway(client *Client, userHome *UserHome) error
- func SetPresenceHome(client *Client, userHome *UserHome) error
- func SetSchedule(client *Client, userHome *UserHome, zone *Zone, timetable *ScheduleTimetable, ...) error
- func SetWindowClosed(client *Client, userHome *UserHome, zone *Zone) error
- func SetWindowOpen(client *Client, userHome *UserHome, zone *Zone) error
- func SetZoneOverlayHeatingOff(client *Client, userHome *UserHome, zone *Zone) error
- type AwayConfiguration
- type AwayConfigurationSetting
- type AwayConfigurationSettingTemperature
- type Client
- func (c *Client) Do(req *http.Request) (*http.Response, error)
- func (c *Client) Request(method, url string, body io.Reader) (*http.Response, error)
- func (c *Client) WithCredentials(ctx context.Context, username, password string) (*Client, error)
- func (c *Client) WithTimeout(timeout time.Duration) *Client
- type Device
- type DeviceCharacteristics
- type DeviceConnectionState
- type DeviceMountingState
- type EarlyStart
- type Home
- type HomeAddress
- type HomeContactDetails
- type HomeGeolocation
- type HomeIncidentDetection
- type HomeState
- type Installation
- type MobileDevice
- type MobileDeviceLocation
- type MobileDeviceLocationBearingFromHome
- type MobileDeviceMetadata
- type MobileDeviceSettings
- type MobileDeviceSettingsPushNotifications
- type PresenceLock
- type ScheduleBlock
- type ScheduleBlockSetting
- type ScheduleBlockSettingTemperature
- type ScheduleTimetable
- type User
- type UserHome
- type Weather
- type WeatherOutsideTemperature
- type WeatherOutsideTemperaturePrecision
- type WeatherSolarIntensity
- type WeatherState
- type Zone
- type ZoneCapabilities
- type ZoneCapabilitiesTemperatureValues
- type ZoneCapabilitiesTemperatures
- type ZoneDazzleMode
- type ZoneOpenWindowDetection
- type ZoneOverlay
- type ZoneOverlaySetting
- type ZoneOverlaySettingTemperature
- type ZoneOverlayTermination
- type ZoneState
- type ZoneStateActivityDataPoints
- type ZoneStateActivityDataPointsHeatingPower
- type ZoneStateLink
- type ZoneStateOpenWindow
- type ZoneStateSensorDataPoints
- type ZoneStateSensorDataPointsHumidity
- type ZoneStateSensorDataPointsInsideTemperature
- type ZoneStateSensorDataPointsInsideTemperaturePrecision
- type ZoneStateSetting
- type ZoneStateSettingTemperature
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteMobileDevice ¶ added in v0.3.0
func DeleteMobileDevice(client *Client, userHome *UserHome, mobileDevice *MobileDevice) error
DeleteMobileDevice deletes the given mobile device
func DeleteZoneOverlay ¶ added in v0.2.0
DeleteZoneOverlay removes an overlay from a zone, thereby returning a zone to smart schedule
func DisableEarlyStart ¶ added in v0.3.0
DisableEarlyStart disables early start in the given zone
func EnableEarlyStart ¶ added in v0.3.0
EnableEarlyStart enables early start in the given zone
func IsEarlyStartEnabled ¶ added in v0.3.0
IsEarlyStartEnabled returns if the given zone has turned on early start
func SetActiveTimetable ¶ added in v0.2.0
func SetActiveTimetable(client *Client, userHome *UserHome, zone *Zone, timetable *ScheduleTimetable) error
SetActiveTimetable sets the active schedule timetable for the given zone
func SetAwayComfortLevel ¶ added in v0.3.0
SetAwayComfortLevel sets the away configuration to auto-adjust at the given comfort level ("preheat"). Allowed values got the comfort level are 0, 50 and 100 (Eco, Balanced, Comfort)
func SetAwayConfiguration ¶ added in v0.3.0
func SetAwayConfiguration(client *Client, userHome *UserHome, zone *Zone, awayConfig *AwayConfiguration) error
SetAwayConfiguration sets an away configuration for the given zone
func SetAwayTemperature ¶ added in v0.3.0
SetAwayTemperature sets the manual temperature for a zone when everybody leaves the house
func SetMobileDeviceSettings ¶ added in v0.3.0
func SetMobileDeviceSettings(client *Client, userHome *UserHome, mobileDevice *MobileDevice, settings MobileDeviceSettings) error
SetMobileDeviceSettings updates the given mobile device with the given settings
func SetPresenceAuto ¶ added in v0.3.0
SetPresenceAuto removes a locked geofencing presence and returns to auto mode
func SetPresenceAway ¶ added in v0.3.0
SetPresenceAway sets the geofencing presence to 'away'
func SetPresenceHome ¶ added in v0.3.0
SetPresenceHome sets the geofencing presence to 'at home'
func SetSchedule ¶ added in v0.2.0
func SetSchedule(client *Client, userHome *UserHome, zone *Zone, timetable *ScheduleTimetable, schedule []*ScheduleBlock) error
SetSchedule sets the heating schedule for one block of the given zone
func SetWindowClosed ¶
SetWindowClosed marks the window in a zone as closed
func SetWindowOpen ¶
SetWindowOpen marks the window in a zone as open (open window must have been detected before)
Types ¶
type AwayConfiguration ¶ added in v0.3.0
type AwayConfiguration struct { Type string `json:"type"` AutoAdjust bool `json:"autoAdjust"` // Comfort Level must be 0 (Eco), 50 (Balanced) or 100 (Comfort) ComfortLevel int32 `json:"comfortLevel"` Setting *AwayConfigurationSetting `json:"setting"` }
AwayConfiguration holds the settings to use when everybody leaves the house
func GetAwayConfiguration ¶ added in v0.3.0
func GetAwayConfiguration(client *Client, userHome *UserHome, zone *Zone) (*AwayConfiguration, error)
GetAwayConfiguration returns the away configuration of the given zone
type AwayConfigurationSetting ¶ added in v0.3.0
type AwayConfigurationSetting struct { Type string `json:"type"` Power string `json:"power"` Temperature *AwayConfigurationSettingTemperature `json:"temperature,omitempty"` }
AwayConfigurationSetting holds the setting of an away configuration
type AwayConfigurationSettingTemperature ¶ added in v0.3.0
type AwayConfigurationSettingTemperature struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` }
AwayConfigurationSettingTemperature holds the temperature of an away configuration setting
type Client ¶
type Client struct { // ClientID specifies the client ID to use for authentication ClientID string // ClientSecret specifies the client secret to use for authentication ClientSecret string // contains filtered or unexported fields }
Client to access the tado° API
func (*Client) WithCredentials ¶
WithCredentials sets the given credentials and scopes for the tado° API
type Device ¶ added in v0.3.0
type Device struct { DeviceType string `json:"deviceType"` SerialNo string `json:"serialNo"` ShortSerialNo string `json:"shortSerialNo"` CurrentFwVersion string `json:"currentFwVersion"` ConnectionState DeviceConnectionState `json:"connectionState"` Characteristics DeviceCharacteristics `json:"characteristics"` InPairingMode *bool `json:"inPairingMode,omitempty"` MountingState *DeviceMountingState `json:"mountingState,omitempty"` BatteryState *string `json:"batteryState,omitempty"` ChildLockEnabled *bool `json:"childLockEnabled,omitempty"` GatewayOperation *string `json:"gatewayOperation,omitempty"` }
Device represents a tado° device such as a thermostat or a bridge
type DeviceCharacteristics ¶ added in v0.3.0
type DeviceCharacteristics struct {
Capabilities []string `json:"characteristics"`
}
DeviceCharacteristics lists the capabilities of a device
type DeviceConnectionState ¶ added in v0.3.0
DeviceConnectionState specifies if the device is connected or not
type DeviceMountingState ¶ added in v0.3.0
DeviceMountingState holds the mounting state of a device, e.g. if it is calibrated
type EarlyStart ¶ added in v0.3.0
type EarlyStart struct {
Enabled bool `json:"enabled"`
}
EarlyStart controls whether tado° ensures that a set temperature is reached at the start of a block.
type Home ¶
type Home struct { ID int32 `json:"id"` Name string `json:"name"` DateTimeZone string `json:"dateTimeZone"` DateCreated string `json:"dateCreated"` TemperatureUnit string `json:"temperatureUnit"` // TODO partner missing SimpleSmartScheduleEnabled bool `json:"simpleSmartScheduleEnabled"` AwayRadiusInmeters float32 `json:"awayRadiusInMeters"` InstallationCompleted bool `json:"installationCompleted"` IncidentDetection HomeIncidentDetection `json:"incidentDetection"` AutoAssistFreeTrialEnabled bool `json:"autoAssistFreeTrialEnabled"` Skills []string `json:"skills"` ChristmasModeEnabled bool `json:"christmasModeEnabled"` ShowAutoAssistReminders bool `json:"showAutoAssistReminders"` ContactDetails HomeContactDetails `json:"contactDetails"` Address HomeAddress `json:"address"` Geolocation HomeGeolocation `json:"geolocation"` ConsentGrantSkippable bool `json:"consentGrantSkippable"` }
Home represents a home equipped with tado°
type HomeAddress ¶
type HomeAddress struct { AddressLine1 *string `json:"addressLine1"` AddressLine2 *string `json:"addressLine2"` ZipCode *string `json:"zipCode"` City *string `json:"city"` State *string `json:"state"` Country *string `json:"country"` }
HomeAddress holds the address of a home
type HomeContactDetails ¶
type HomeContactDetails struct { Name *string `json:"name"` Email *string `json:"email"` Phone *string `json:"phone"` }
HomeContactDetails holds the contact details for a home
type HomeGeolocation ¶
type HomeGeolocation struct { Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` }
HomeGeolocation holds the coordinates of a home
type HomeIncidentDetection ¶
type HomeIncidentDetection struct { Supported bool `json:"supported"` Enabled bool `json:"enabled"` }
HomeIncidentDetection holds incident detection options for a home
type HomeState ¶ added in v0.3.0
type HomeState struct { Presence string `json:"presence"` PresenceLocked bool `json:"presenceLocked"` }
HomeState represents the state of a tado° home
type Installation ¶ added in v0.3.0
type Installation struct { ID int32 `json:"id"` Type string `json:"type"` Revision int32 `json:"revision"` State string `json:"state"` Devices []Device `json:"devices"` }
Installation holds information about a tado° hardware installation
func GetInstallations ¶ added in v0.3.0
func GetInstallations(client *Client, userHome *UserHome) ([]*Installation, error)
GetInstallations lists all installations in the given home
type MobileDevice ¶ added in v0.3.0
type MobileDevice struct { Name string `json:"name"` ID int32 `json:"id"` Settings MobileDeviceSettings `json:"settings"` Location *MobileDeviceLocation `json:"location"` DeviceMetadata MobileDeviceMetadata `json:"deviceMetadata"` }
MobileDevice represents a mobile device with the tado° app installed
func GetMobileDevices ¶ added in v0.3.0
func GetMobileDevices(client *Client, userHome *UserHome) ([]*MobileDevice, error)
GetMobileDevices lists all mobile devices linked to the given home
type MobileDeviceLocation ¶ added in v0.3.0
type MobileDeviceLocation struct { Stale bool `json:"stale"` AtHome bool `json:"atHome"` BearingFromHome MobileDeviceLocationBearingFromHome `json:"bearingFromHome"` RelativeDistanceFromHomeFence float64 `json:"relativeDistanceFromHomeFence"` }
MobileDeviceLocation holds information regarding the current location of mobile device
type MobileDeviceLocationBearingFromHome ¶ added in v0.3.0
type MobileDeviceLocationBearingFromHome struct { Degrees float64 `json:"degrees"` Radians float64 `json:"radians"` }
MobileDeviceLocationBearingFromHome holds the current bearing of a mobile device from the home
type MobileDeviceMetadata ¶ added in v0.3.0
type MobileDeviceMetadata struct { Platform string `json:"platform"` OSVersion string `json:"osVersion"` Model string `json:"model"` Locale string `json:"locale"` }
MobileDeviceMetadata holds some general metadata about a mobile device
type MobileDeviceSettings ¶ added in v0.3.0
type MobileDeviceSettings struct { GeoTrackingEnabled bool `json:"geoTrackingEnabled"` PushNotifications *MobileDeviceSettingsPushNotifications `json:"pushNotifications,omitempty"` }
MobileDeviceSettings holds the settings of a mobile device
type MobileDeviceSettingsPushNotifications ¶ added in v0.3.0
type MobileDeviceSettingsPushNotifications struct { LowBatteryReminder bool `json:"lowBatteryReminder"` AwayModeReminder bool `json:"awayModeReminder"` HomeModeReminder bool `json:"homeModeReminder"` OpenWindowReminder bool `json:"openWindowReminder"` EnergySavingsReportReminder bool `json:"energySavingsReportReminder"` IncidentDetection bool `json:"incidentDetection"` }
MobileDeviceSettingsPushNotifications holds the push notification settings
type PresenceLock ¶ added in v0.3.0
type PresenceLock struct {
HomePresence string `json:"homePresence"`
}
PresenceLock holds a locked presence setting for a home
type ScheduleBlock ¶ added in v0.2.0
type ScheduleBlock struct { DayType string `json:"dayType"` Start string `json:"start"` End string `json:"end"` GeolocationOverride bool `json:"geolocationOverride"` Setting ScheduleBlockSetting `json:"setting"` }
ScheduleBlock is a block in a tado° schedule
func GetSchedule ¶ added in v0.2.0
func GetSchedule(client *Client, userHome *UserHome, zone *Zone, timetable *ScheduleTimetable) ([]*ScheduleBlock, error)
GetSchedule returns the heating schedule of the given zone
type ScheduleBlockSetting ¶ added in v0.2.0
type ScheduleBlockSetting struct { Type string `json:"type"` Power string `json:"power"` Temperature *ScheduleBlockSettingTemperature `json:"temperature,omitempty"` }
ScheduleBlockSetting holds the setting of a schedule block
type ScheduleBlockSettingTemperature ¶ added in v0.2.0
type ScheduleBlockSettingTemperature struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` }
ZoneOverlaySettingTemperature holds the temperature of a schedule block setting
type ScheduleTimetable ¶ added in v0.2.0
ScheduleTimetable is the type of a tado° schedule timetable
func GetActiveTimetable ¶ added in v0.2.0
func GetActiveTimetable(client *Client, userHome *UserHome, zone *Zone) (*ScheduleTimetable, error)
GetActiveTimetable returns the active schedule timetable for the given zone
func GetTimetables ¶ added in v0.2.0
func GetTimetables(client *Client, userHome *UserHome, zone *Zone) ([]*ScheduleTimetable, error)
GetTimetables lists available schedule timetables for the given zone
type User ¶
type User struct { Name string `json:"name"` Email string `json:"email"` Username string `json:"username"` ID string `json:"id"` Homes []UserHome `json:"homes"` Locale string `json:"locale"` MobileDevices []MobileDevice `json:"mobileDevices"` }
User represents a tado° user
type Weather ¶ added in v0.3.0
type Weather struct { SolarIntensity *WeatherSolarIntensity `json:"solarIntensity"` OutsideTemperature *WeatherOutsideTemperature `json:"outsideTemperature"` WeatherState *WeatherState `json:"weatherState"` }
Weather holds weather information from the home's location
type WeatherOutsideTemperature ¶ added in v0.3.0
type WeatherOutsideTemperature struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` Timestamp string `json:"timestamp"` Type string `json:"type"` Precision WeatherOutsideTemperaturePrecision `json:"precision"` }
WeatherOutsideTemperature holds the temperature outside of the home
type WeatherOutsideTemperaturePrecision ¶ added in v0.3.0
type WeatherOutsideTemperaturePrecision struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` }
WeatherOutsideTemperaturePrecision holds the precision of the home's outside temperature
type WeatherSolarIntensity ¶ added in v0.3.0
type WeatherSolarIntensity struct { Type string `json:"type"` Percentage float64 `json:"percentage"` Timestamp string `json:"timestamp"` }
WeatherSolarIntensity holds the solar intensity at the home's location as a percentage
type WeatherState ¶ added in v0.3.0
type WeatherState struct { Type string `json:"type"` Value string `json:"value"` Timestamp string `json:"timestamp"` }
WeatherState stores the state of the weather, e.g. rain, sunny, foggy...
type Zone ¶
type Zone struct { ID int32 `json:"id"` Name string `json:"name"` Type string `json:"type"` DateCreated string `json:"dateCreated"` DeviceTypes []string `json:"deviceTypes"` // TODO devices missing ReportAvailable bool `json:"reportAvailable"` SupportsDazzle bool `json:"supportsDazzle"` DazzleEnabled bool `json:"dazzleEnabled"` DazzleMode ZoneDazzleMode `json:"dazzleMode"` OpenWindowDetection ZoneOpenWindowDetection `json:"openWindowDetection"` }
Zone represents a tado° zone
type ZoneCapabilities ¶ added in v0.3.0
type ZoneCapabilities struct { Type string `json:"type"` CanSetTemperature *bool `json:"canSetTemperature,omitempty"` Temperatures *ZoneCapabilitiesTemperatures `json:"temperatures,omitempty"` }
ZoneCapabilitiesstores the capabilities of a zone, such as the supported min/max temperatures
func GetZoneCapabilities ¶ added in v0.3.0
func GetZoneCapabilities(client *Client, userHome *UserHome, zone *Zone) (*ZoneCapabilities, error)
GetZoneCapabilities returns the capabilities of the given zone
type ZoneCapabilitiesTemperatureValues ¶ added in v0.3.0
type ZoneCapabilitiesTemperatureValues struct { Min int32 `json:"min"` Max int32 `json:"max"` Step float32 `json:"step"` }
ZoneCapabilitiesTemperatureValues holds the numeric values of temperature related capabilities of a zone
type ZoneCapabilitiesTemperatures ¶ added in v0.3.0
type ZoneCapabilitiesTemperatures struct { Celsius *ZoneCapabilitiesTemperatureValues `json:"celsius,omitempty"` Fahrenheit *ZoneCapabilitiesTemperatureValues `json:"fahrenheit,omitempty"` }
ZoneCapabilitiesTemperatures holds the temperature related capabilities of a zone
type ZoneDazzleMode ¶
ZoneDazzleMode holds information about dazzle mode in a zone
type ZoneOpenWindowDetection ¶
type ZoneOpenWindowDetection struct { Supported bool `json:"supported"` Enabled bool `json:"enabled"` TimeoutInSeconds int32 `json:"timeoutInSeconds"` }
ZoneOpenWindowDetection holds information about open window detection in a zone
type ZoneOverlay ¶ added in v0.2.0
type ZoneOverlay struct { Type string `json:"type,omitempty"` Setting ZoneOverlaySetting `json:"setting"` Termination *ZoneOverlayTermination `json:"termination,omitempty"` }
ZoneOverlay holds overlay information of a zone
func SetZoneOverlayHeatingOn ¶ added in v0.2.0
func SetZoneOverlayHeatingOn(client *Client, userHome *UserHome, zone *Zone, temperature float64) (*ZoneOverlay, error)
SetZoneOverlayHeatingOn turns on heating in a zone. The temperature should use the unit configured for the home. Returns the resulting overlay if successful.
type ZoneOverlaySetting ¶ added in v0.2.0
type ZoneOverlaySetting struct { Type string `json:"type"` Power string `json:"power"` Temperature *ZoneOverlaySettingTemperature `json:"temperature,omitempty"` }
ZoneOverlaySetting holds the setting of a zone overlay
type ZoneOverlaySettingTemperature ¶ added in v0.2.0
type ZoneOverlaySettingTemperature struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` }
ZoneOverlaySettingTemperature holds the temperature of a zone state setting
type ZoneOverlayTermination ¶ added in v0.2.0
type ZoneOverlayTermination struct { Type string `json:"type"` TypeSkillBasedApp string `json:"typeSkillBasedApp"` DurationInSeconds int32 `json:"durationInSeconds,omitempty"` Expiry string `json:"expiry,omitempty"` RemainingTimeInSeconds int32 `json:"remainingTimeInSeconds,omitempty"` ProjectedExpiry *string `json:"projectedExpiry"` }
ZoneOverlayTermination holdes the termination information of a zone overlay
type ZoneState ¶
type ZoneState struct { TadoMode string `json:"tadoMode"` GeolocationOverride bool `json:"geolocationOverride"` // TODO missing geolocationOverrideDisableTime // TODO missing preparation Setting ZoneStateSetting `json:"setting"` OverlayType *string `json:"overlayType"` Overlay *ZoneOverlay `json:"overlay"` OpenWindow *ZoneStateOpenWindow `json:"openWindow"` // TODO missing nextScheduleChange // TODO missing nextTimeBlock Link ZoneStateLink `json:"link"` // TODO missing activityDataPoints SensorDataPoints *ZoneStateSensorDataPoints `json:"sensorDataPoints"` }
ZoneState represents the state of a tado° zone
type ZoneStateActivityDataPoints ¶
type ZoneStateActivityDataPoints struct {
HeatingPower *ZoneStateActivityDataPointsHeatingPower `json:"heatingPower"`
}
ZoneStateActivityDataPoints holds activity data points for a zone
type ZoneStateActivityDataPointsHeatingPower ¶
type ZoneStateActivityDataPointsHeatingPower struct { Type string `json:"type"` Percentage float64 `json:"percentage"` Timestamp string `json:"timestamp"` }
ZoneStateActivityDataPointsHeatingPower holds information about the heating power in a zone
type ZoneStateLink ¶
type ZoneStateLink struct {
State string `json:"state"`
}
ZoneStateLink holds the link information of a tado zone
type ZoneStateOpenWindow ¶
type ZoneStateOpenWindow struct { DetectedTime string `json:"detectedTime"` DurationInSeconds int32 `json:"durationInSeconds"` Expiry string `json:"expiry"` RemainingTimeInSeconds int32 `json:"remainingTimeInSeconds"` }
ZoneStateOpenWindow holds the information about an open window of a zone state
type ZoneStateSensorDataPoints ¶
type ZoneStateSensorDataPoints struct { InsideTemperature *ZoneStateSensorDataPointsInsideTemperature `json:"insideTemperature"` Humidity *ZoneStateSensorDataPointsHumidity `json:"humidity"` }
ZoneStateSensorDataPoints holds sensor data points for a zone
type ZoneStateSensorDataPointsHumidity ¶
type ZoneStateSensorDataPointsHumidity struct { Type string `json:"type"` Percentage float64 `json:"percentage"` Timestamp string `json:"timestamp"` }
ZoneStateSensorDataPointsHumidity holds humidity information of a zone
type ZoneStateSensorDataPointsInsideTemperature ¶
type ZoneStateSensorDataPointsInsideTemperature struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` Timestamp string `json:"timestamp"` Type string `json:"type"` Precision ZoneStateSensorDataPointsInsideTemperaturePrecision `json:"precision"` }
ZoneStateSensorDataPointsInsideTemperature holds information about the inside temperature of a zone
type ZoneStateSensorDataPointsInsideTemperaturePrecision ¶
type ZoneStateSensorDataPointsInsideTemperaturePrecision struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` }
ZoneStateSensorDataPointsInsideTemperaturePrecision holds the precision of inside temperature of a zone
type ZoneStateSetting ¶
type ZoneStateSetting struct { Type string `json:"type"` Power string `json:"power"` Temperature ZoneStateSettingTemperature `json:"temperature"` }
ZoneStateSetting holds the setting of a zone
type ZoneStateSettingTemperature ¶
type ZoneStateSettingTemperature struct { Celsius float64 `json:"celsius"` Fahrenheit float64 `json:"fahrenheit"` }
ZoneStateSettingTemperature holds the temperature of a zone state setting