tado

package module
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 12 Imported by: 1

README

tado

Release Go Report Card License GoDoc

Go API for Tadoº devices.

⚠ v2 is generated from an OpenAPI Specification and not backward-compatible with v1.

Authors

  • Christophe Lambin

Acknowledgements

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Documentation

Overview

Package tado provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	Oauth2Scopes = "oauth2.Scopes"
)
View Source
const ServerURL = "https://my.tado.com/api/v2"

Variables

This section is empty.

Functions

func MustNewOAuth2Client

func MustNewOAuth2Client(ctx context.Context, username string, password string) *http.Client

func NewActivateOpenWindowStateRequest added in v2.4.0

func NewActivateOpenWindowStateRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewActivateOpenWindowStateRequest generates requests for ActivateOpenWindowState

func NewCreateZoneRequest

func NewCreateZoneRequest(server string, homeId HomeId, params *CreateZoneParams, body CreateZoneJSONRequestBody) (*http.Request, error)

NewCreateZoneRequest calls the generic CreateZone builder with application/json body

func NewCreateZoneRequestWithBody

func NewCreateZoneRequestWithBody(server string, homeId HomeId, params *CreateZoneParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateZoneRequestWithBody generates requests for CreateZone with any type of body

func NewDeactivateOpenWindowStateRequest added in v2.4.0

func NewDeactivateOpenWindowStateRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewDeactivateOpenWindowStateRequest generates requests for DeactivateOpenWindowState

func NewDeleteMobileDeviceFromHomeRequest

func NewDeleteMobileDeviceFromHomeRequest(server string, homeId HomeId, mobileDeviceId int64, params *DeleteMobileDeviceFromHomeParams) (*http.Request, error)

NewDeleteMobileDeviceFromHomeRequest generates requests for DeleteMobileDeviceFromHome

func NewDeletePresenceLockRequest

func NewDeletePresenceLockRequest(server string, homeId HomeId) (*http.Request, error)

NewDeletePresenceLockRequest generates requests for DeletePresenceLock

func NewDeleteZoneOverlayRequest

func NewDeleteZoneOverlayRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewDeleteZoneOverlayRequest generates requests for DeleteZoneOverlay

func NewDeleteZoneOverlaysRequest

func NewDeleteZoneOverlaysRequest(server string, homeId HomeId, params *DeleteZoneOverlaysParams) (*http.Request, error)

NewDeleteZoneOverlaysRequest generates requests for DeleteZoneOverlays

func NewGetActiveTimetableTypeRequest

func NewGetActiveTimetableTypeRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetActiveTimetableTypeRequest generates requests for GetActiveTimetableType

func NewGetAirComfortRequest

func NewGetAirComfortRequest(server string, homeId HomeId) (*http.Request, error)

NewGetAirComfortRequest generates requests for GetAirComfort

func NewGetAwayConfigurationRequest

func NewGetAwayConfigurationRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetAwayConfigurationRequest generates requests for GetAwayConfiguration

func NewGetBoilerInfoRequest added in v2.4.0

func NewGetBoilerInfoRequest(server string, bridgeId BridgeId, params *GetBoilerInfoParams) (*http.Request, error)

NewGetBoilerInfoRequest generates requests for GetBoilerInfo

func NewGetBoilerMaxOutputTemperatureRequest added in v2.4.0

func NewGetBoilerMaxOutputTemperatureRequest(server string, bridgeId BridgeId, params *GetBoilerMaxOutputTemperatureParams) (*http.Request, error)

NewGetBoilerMaxOutputTemperatureRequest generates requests for GetBoilerMaxOutputTemperature

func NewGetBoilerWiringInstallationStateRequest added in v2.4.0

func NewGetBoilerWiringInstallationStateRequest(server string, bridgeId BridgeId, params *GetBoilerWiringInstallationStateParams) (*http.Request, error)

NewGetBoilerWiringInstallationStateRequest generates requests for GetBoilerWiringInstallationState

func NewGetBridgeRequest added in v2.4.0

func NewGetBridgeRequest(server string, bridgeId BridgeId, params *GetBridgeParams) (*http.Request, error)

NewGetBridgeRequest generates requests for GetBridge

func NewGetDefaultZoneOverlayRequest

func NewGetDefaultZoneOverlayRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetDefaultZoneOverlayRequest generates requests for GetDefaultZoneOverlay

func NewGetDeviceListRequest

func NewGetDeviceListRequest(server string, homeId HomeId) (*http.Request, error)

NewGetDeviceListRequest generates requests for GetDeviceList

func NewGetDeviceRequest

func NewGetDeviceRequest(server string, deviceId DeviceId) (*http.Request, error)

NewGetDeviceRequest generates requests for GetDevice

func NewGetDevicesRequest

func NewGetDevicesRequest(server string, homeId HomeId) (*http.Request, error)

NewGetDevicesRequest generates requests for GetDevices

func NewGetEarlyStartRequest

func NewGetEarlyStartRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetEarlyStartRequest generates requests for GetEarlyStart

func NewGetHeatingCircuitsRequest

func NewGetHeatingCircuitsRequest(server string, homeId HomeId) (*http.Request, error)

NewGetHeatingCircuitsRequest generates requests for GetHeatingCircuits

func NewGetHeatingSystemRequest

func NewGetHeatingSystemRequest(server string, homeId HomeId) (*http.Request, error)

NewGetHeatingSystemRequest generates requests for GetHeatingSystem

func NewGetHomeRequest

func NewGetHomeRequest(server string, homeId HomeId) (*http.Request, error)

NewGetHomeRequest generates requests for GetHome

func NewGetHomeStateRequest

func NewGetHomeStateRequest(server string, homeId HomeId) (*http.Request, error)

NewGetHomeStateRequest generates requests for GetHomeState

func NewGetIncidentDetectionRequest

func NewGetIncidentDetectionRequest(server string, homeId HomeId) (*http.Request, error)

NewGetIncidentDetectionRequest generates requests for GetIncidentDetection

func NewGetInstallationsRequest

func NewGetInstallationsRequest(server string, homeId HomeId) (*http.Request, error)

NewGetInstallationsRequest generates requests for GetInstallations

func NewGetMeRequest

func NewGetMeRequest(server string) (*http.Request, error)

NewGetMeRequest generates requests for GetMe

func NewGetMobileDeviceRequest

func NewGetMobileDeviceRequest(server string, homeId HomeId, mobileDeviceId MobileDeviceId) (*http.Request, error)

NewGetMobileDeviceRequest generates requests for GetMobileDevice

func NewGetMobileDeviceSettingsRequest

func NewGetMobileDeviceSettingsRequest(server string, homeId HomeId, mobileDeviceId MobileDeviceId) (*http.Request, error)

NewGetMobileDeviceSettingsRequest generates requests for GetMobileDeviceSettings

func NewGetMobileDevicesRequest

func NewGetMobileDevicesRequest(server string, homeId HomeId) (*http.Request, error)

NewGetMobileDevicesRequest generates requests for GetMobileDevices

func NewGetTemperatureOffsetRequest

func NewGetTemperatureOffsetRequest(server string, deviceId DeviceId) (*http.Request, error)

NewGetTemperatureOffsetRequest generates requests for GetTemperatureOffset

func NewGetTimetableBlocksByDayTypeRequest

func NewGetTimetableBlocksByDayTypeRequest(server string, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType) (*http.Request, error)

NewGetTimetableBlocksByDayTypeRequest generates requests for GetTimetableBlocksByDayType

func NewGetUsersRequest

func NewGetUsersRequest(server string, homeId HomeId) (*http.Request, error)

NewGetUsersRequest generates requests for GetUsers

func NewGetWeatherRequest

func NewGetWeatherRequest(server string, homeId HomeId) (*http.Request, error)

NewGetWeatherRequest generates requests for GetWeather

func NewGetZoneCapabilitiesRequest

func NewGetZoneCapabilitiesRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetZoneCapabilitiesRequest generates requests for GetZoneCapabilities

func NewGetZoneControlRequest

func NewGetZoneControlRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetZoneControlRequest generates requests for GetZoneControl

func NewGetZoneDayReportRequest

func NewGetZoneDayReportRequest(server string, homeId HomeId, zoneId ZoneId, params *GetZoneDayReportParams) (*http.Request, error)

NewGetZoneDayReportRequest generates requests for GetZoneDayReport

func NewGetZoneMeasuringDeviceRequest

func NewGetZoneMeasuringDeviceRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetZoneMeasuringDeviceRequest generates requests for GetZoneMeasuringDevice

func NewGetZoneOverlayRequest

func NewGetZoneOverlayRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetZoneOverlayRequest generates requests for GetZoneOverlay

func NewGetZoneStateRequest

func NewGetZoneStateRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetZoneStateRequest generates requests for GetZoneState

func NewGetZoneStatesRequest

func NewGetZoneStatesRequest(server string, homeId HomeId) (*http.Request, error)

NewGetZoneStatesRequest generates requests for GetZoneStates

func NewGetZoneTimetableBlocksRequest

func NewGetZoneTimetableBlocksRequest(server string, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId) (*http.Request, error)

NewGetZoneTimetableBlocksRequest generates requests for GetZoneTimetableBlocks

func NewGetZoneTimetableRequest

func NewGetZoneTimetableRequest(server string, homeId HomeId, zoneId ZoneId, timetableTypeId int) (*http.Request, error)

NewGetZoneTimetableRequest generates requests for GetZoneTimetable

func NewGetZoneTimetablesRequest

func NewGetZoneTimetablesRequest(server string, homeId HomeId, zoneId ZoneId) (*http.Request, error)

NewGetZoneTimetablesRequest generates requests for GetZoneTimetables

func NewGetZonesRequest

func NewGetZonesRequest(server string, homeId HomeId) (*http.Request, error)

NewGetZonesRequest generates requests for GetZones

func NewIdentifyDeviceRequest

func NewIdentifyDeviceRequest(server string, deviceId DeviceId) (*http.Request, error)

NewIdentifyDeviceRequest generates requests for IdentifyDevice

func NewMoveDeviceRequest

func NewMoveDeviceRequest(server string, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, body MoveDeviceJSONRequestBody) (*http.Request, error)

NewMoveDeviceRequest calls the generic MoveDevice builder with application/json body

func NewMoveDeviceRequestWithBody

func NewMoveDeviceRequestWithBody(server string, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, contentType string, body io.Reader) (*http.Request, error)

NewMoveDeviceRequestWithBody generates requests for MoveDevice with any type of body

func NewOAuth2Client

func NewOAuth2Client(ctx context.Context, username string, password string) (*http.Client, error)

func NewSetActiveTimetableTypeRequest

func NewSetActiveTimetableTypeRequest(server string, homeId HomeId, zoneId ZoneId, body SetActiveTimetableTypeJSONRequestBody) (*http.Request, error)

NewSetActiveTimetableTypeRequest calls the generic SetActiveTimetableType builder with application/json body

func NewSetActiveTimetableTypeRequestWithBody

func NewSetActiveTimetableTypeRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetActiveTimetableTypeRequestWithBody generates requests for SetActiveTimetableType with any type of body

func NewSetAwayConfigurationRequest

func NewSetAwayConfigurationRequest(server string, homeId HomeId, zoneId ZoneId, body SetAwayConfigurationJSONRequestBody) (*http.Request, error)

NewSetAwayConfigurationRequest calls the generic SetAwayConfiguration builder with application/json body

func NewSetAwayConfigurationRequestWithBody

func NewSetAwayConfigurationRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetAwayConfigurationRequestWithBody generates requests for SetAwayConfiguration with any type of body

func NewSetAwayRadiusInMetersRequest

func NewSetAwayRadiusInMetersRequest(server string, homeId HomeId, body SetAwayRadiusInMetersJSONRequestBody) (*http.Request, error)

NewSetAwayRadiusInMetersRequest calls the generic SetAwayRadiusInMeters builder with application/json body

func NewSetAwayRadiusInMetersRequestWithBody

func NewSetAwayRadiusInMetersRequestWithBody(server string, homeId HomeId, contentType string, body io.Reader) (*http.Request, error)

NewSetAwayRadiusInMetersRequestWithBody generates requests for SetAwayRadiusInMeters with any type of body

func NewSetBoilerMaxOutputTemperatureRequest added in v2.4.0

func NewSetBoilerMaxOutputTemperatureRequest(server string, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, body SetBoilerMaxOutputTemperatureJSONRequestBody) (*http.Request, error)

NewSetBoilerMaxOutputTemperatureRequest calls the generic SetBoilerMaxOutputTemperature builder with application/json body

func NewSetBoilerMaxOutputTemperatureRequestWithBody added in v2.4.0

func NewSetBoilerMaxOutputTemperatureRequestWithBody(server string, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, contentType string, body io.Reader) (*http.Request, error)

NewSetBoilerMaxOutputTemperatureRequestWithBody generates requests for SetBoilerMaxOutputTemperature with any type of body

func NewSetBoilerRequest

func NewSetBoilerRequest(server string, homeId HomeId, body SetBoilerJSONRequestBody) (*http.Request, error)

NewSetBoilerRequest calls the generic SetBoiler builder with application/json body

func NewSetBoilerRequestWithBody

func NewSetBoilerRequestWithBody(server string, homeId HomeId, contentType string, body io.Reader) (*http.Request, error)

NewSetBoilerRequestWithBody generates requests for SetBoiler with any type of body

func NewSetChildLockRequest added in v2.4.0

func NewSetChildLockRequest(server string, deviceId DeviceId) (*http.Request, error)

NewSetChildLockRequest generates requests for SetChildLock

func NewSetDazzleRequest

func NewSetDazzleRequest(server string, homeId HomeId, zoneId ZoneId, body SetDazzleJSONRequestBody) (*http.Request, error)

NewSetDazzleRequest calls the generic SetDazzle builder with application/json body

func NewSetDazzleRequestWithBody

func NewSetDazzleRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetDazzleRequestWithBody generates requests for SetDazzle with any type of body

func NewSetDefaultZoneOverlayRequest

func NewSetDefaultZoneOverlayRequest(server string, homeId HomeId, zoneId ZoneId, body SetDefaultZoneOverlayJSONRequestBody) (*http.Request, error)

NewSetDefaultZoneOverlayRequest calls the generic SetDefaultZoneOverlay builder with application/json body

func NewSetDefaultZoneOverlayRequestWithBody

func NewSetDefaultZoneOverlayRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetDefaultZoneOverlayRequestWithBody generates requests for SetDefaultZoneOverlay with any type of body

func NewSetDetailsRequest

func NewSetDetailsRequest(server string, homeId HomeId, zoneId ZoneId, body SetDetailsJSONRequestBody) (*http.Request, error)

NewSetDetailsRequest calls the generic SetDetails builder with application/json body

func NewSetDetailsRequestWithBody

func NewSetDetailsRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetDetailsRequestWithBody generates requests for SetDetails with any type of body

func NewSetEarlyStartRequest

func NewSetEarlyStartRequest(server string, homeId HomeId, zoneId ZoneId, body SetEarlyStartJSONRequestBody) (*http.Request, error)

NewSetEarlyStartRequest calls the generic SetEarlyStart builder with application/json body

func NewSetEarlyStartRequestWithBody

func NewSetEarlyStartRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetEarlyStartRequestWithBody generates requests for SetEarlyStart with any type of body

func NewSetHeatingCircuitRequest

func NewSetHeatingCircuitRequest(server string, homeId HomeId, zoneId ZoneId, body SetHeatingCircuitJSONRequestBody) (*http.Request, error)

NewSetHeatingCircuitRequest calls the generic SetHeatingCircuit builder with application/json body

func NewSetHeatingCircuitRequestWithBody

func NewSetHeatingCircuitRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetHeatingCircuitRequestWithBody generates requests for SetHeatingCircuit with any type of body

func NewSetHomeDetailsRequest

func NewSetHomeDetailsRequest(server string, homeId HomeId, body SetHomeDetailsJSONRequestBody) (*http.Request, error)

NewSetHomeDetailsRequest calls the generic SetHomeDetails builder with application/json body

func NewSetHomeDetailsRequestWithBody

func NewSetHomeDetailsRequestWithBody(server string, homeId HomeId, contentType string, body io.Reader) (*http.Request, error)

NewSetHomeDetailsRequestWithBody generates requests for SetHomeDetails with any type of body

func NewSetIncidentDetectionRequest

func NewSetIncidentDetectionRequest(server string, homeId HomeId, body SetIncidentDetectionJSONRequestBody) (*http.Request, error)

NewSetIncidentDetectionRequest calls the generic SetIncidentDetection builder with application/json body

func NewSetIncidentDetectionRequestWithBody

func NewSetIncidentDetectionRequestWithBody(server string, homeId HomeId, contentType string, body io.Reader) (*http.Request, error)

NewSetIncidentDetectionRequestWithBody generates requests for SetIncidentDetection with any type of body

func NewSetMobileDeviceSettingsRequest

func NewSetMobileDeviceSettingsRequest(server string, homeId HomeId, mobileDeviceId int64, body SetMobileDeviceSettingsJSONRequestBody) (*http.Request, error)

NewSetMobileDeviceSettingsRequest calls the generic SetMobileDeviceSettings builder with application/json body

func NewSetMobileDeviceSettingsRequestWithBody

func NewSetMobileDeviceSettingsRequestWithBody(server string, homeId HomeId, mobileDeviceId int64, contentType string, body io.Reader) (*http.Request, error)

NewSetMobileDeviceSettingsRequestWithBody generates requests for SetMobileDeviceSettings with any type of body

func NewSetOpenWindowDetectionRequest

func NewSetOpenWindowDetectionRequest(server string, homeId HomeId, zoneId ZoneId, body SetOpenWindowDetectionJSONRequestBody) (*http.Request, error)

NewSetOpenWindowDetectionRequest calls the generic SetOpenWindowDetection builder with application/json body

func NewSetOpenWindowDetectionRequestWithBody

func NewSetOpenWindowDetectionRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetOpenWindowDetectionRequestWithBody generates requests for SetOpenWindowDetection with any type of body

func NewSetPresenceLockRequest

func NewSetPresenceLockRequest(server string, homeId HomeId, body SetPresenceLockJSONRequestBody) (*http.Request, error)

NewSetPresenceLockRequest calls the generic SetPresenceLock builder with application/json body

func NewSetPresenceLockRequestWithBody

func NewSetPresenceLockRequestWithBody(server string, homeId HomeId, contentType string, body io.Reader) (*http.Request, error)

NewSetPresenceLockRequestWithBody generates requests for SetPresenceLock with any type of body

func NewSetTemperatureOffsetRequest

func NewSetTemperatureOffsetRequest(server string, deviceId DeviceId, body SetTemperatureOffsetJSONRequestBody) (*http.Request, error)

NewSetTemperatureOffsetRequest calls the generic SetTemperatureOffset builder with application/json body

func NewSetTemperatureOffsetRequestWithBody

func NewSetTemperatureOffsetRequestWithBody(server string, deviceId DeviceId, contentType string, body io.Reader) (*http.Request, error)

NewSetTemperatureOffsetRequestWithBody generates requests for SetTemperatureOffset with any type of body

func NewSetTimetableBlocksForDayTypeRequest

func NewSetTimetableBlocksForDayTypeRequest(server string, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, body SetTimetableBlocksForDayTypeJSONRequestBody) (*http.Request, error)

NewSetTimetableBlocksForDayTypeRequest calls the generic SetTimetableBlocksForDayType builder with application/json body

func NewSetTimetableBlocksForDayTypeRequestWithBody

func NewSetTimetableBlocksForDayTypeRequestWithBody(server string, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, contentType string, body io.Reader) (*http.Request, error)

NewSetTimetableBlocksForDayTypeRequestWithBody generates requests for SetTimetableBlocksForDayType with any type of body

func NewSetUnderfloorHeatingRequest

func NewSetUnderfloorHeatingRequest(server string, homeId HomeId, body SetUnderfloorHeatingJSONRequestBody) (*http.Request, error)

NewSetUnderfloorHeatingRequest calls the generic SetUnderfloorHeating builder with application/json body

func NewSetUnderfloorHeatingRequestWithBody

func NewSetUnderfloorHeatingRequestWithBody(server string, homeId HomeId, contentType string, body io.Reader) (*http.Request, error)

NewSetUnderfloorHeatingRequestWithBody generates requests for SetUnderfloorHeating with any type of body

func NewSetZoneMeasuringDeviceRequest

func NewSetZoneMeasuringDeviceRequest(server string, homeId HomeId, zoneId ZoneId, body SetZoneMeasuringDeviceJSONRequestBody) (*http.Request, error)

NewSetZoneMeasuringDeviceRequest calls the generic SetZoneMeasuringDevice builder with application/json body

func NewSetZoneMeasuringDeviceRequestWithBody

func NewSetZoneMeasuringDeviceRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetZoneMeasuringDeviceRequestWithBody generates requests for SetZoneMeasuringDevice with any type of body

func NewSetZoneOverlayRequest

func NewSetZoneOverlayRequest(server string, homeId HomeId, zoneId ZoneId, body SetZoneOverlayJSONRequestBody) (*http.Request, error)

NewSetZoneOverlayRequest calls the generic SetZoneOverlay builder with application/json body

func NewSetZoneOverlayRequestWithBody

func NewSetZoneOverlayRequestWithBody(server string, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewSetZoneOverlayRequestWithBody generates requests for SetZoneOverlay with any type of body

func NewSetZoneOverlaysRequest

func NewSetZoneOverlaysRequest(server string, homeId HomeId, body SetZoneOverlaysJSONRequestBody) (*http.Request, error)

NewSetZoneOverlaysRequest calls the generic SetZoneOverlays builder with application/json body

func NewSetZoneOverlaysRequestWithBody

func NewSetZoneOverlaysRequestWithBody(server string, homeId HomeId, contentType string, body io.Reader) (*http.Request, error)

NewSetZoneOverlaysRequestWithBody generates requests for SetZoneOverlays with any type of body

Types

type AccessDenied403

type AccessDenied403 = ErrorResponse

AccessDenied403 error object returned for non-200 responses

type ActivateOpenWindowStateResponse added in v2.4.0

type ActivateOpenWindowStateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseActivateOpenWindowStateResponse added in v2.4.0

func ParseActivateOpenWindowStateResponse(rsp *http.Response) (*ActivateOpenWindowStateResponse, error)

ParseActivateOpenWindowStateResponse parses an HTTP response from a ActivateOpenWindowStateWithResponse call

func (ActivateOpenWindowStateResponse) Status added in v2.4.0

Status returns HTTPResponse.Status

func (ActivateOpenWindowStateResponse) StatusCode added in v2.4.0

func (r ActivateOpenWindowStateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ActivityDataPoints added in v2.1.0

type ActivityDataPoints struct {
	// HeatingPower Used in Weather and ZoneState, to express quantities like heating power, humidity and solar intensity.
	HeatingPower *PercentageDataPoint `json:"heatingPower,omitempty"`
}

ActivityDataPoints Part of ZoneState. Empty for a HOT_WATER zone

type AirComfort

type AirComfort struct {
	Comfort *[]struct {
		Coordinate *struct {
			Angular *int     `json:"angular,omitempty"`
			Radial  *float32 `json:"radial,omitempty"`
		} `json:"coordinate,omitempty"`

		// HumidityLevel Element of AirComfort
		HumidityLevel *HumidityLevel `json:"humidityLevel,omitempty"`

		// RoomId ID of a zone (unique only within the home it belongs to)
		RoomId *ZoneId `json:"roomId,omitempty"`

		// TemperatureLevel Used in AirComfort
		TemperatureLevel *TemperatureLevel `json:"temperatureLevel,omitempty"`
	} `json:"comfort,omitempty"`
	Freshness *struct {
		LastOpenWindow *time.Time `json:"lastOpenWindow,omitempty"`

		// Value The air freshness level for the entire home. Used in AirComfort.
		Value *AirFreshness `json:"value,omitempty"`
	} `json:"freshness,omitempty"`
}

AirComfort Result of /homes/{homeId}/airComfort. Comfort properties (except roomId) are not present when there is no connection with the measuring device in the room (e.g because of an empty device battery).

type AirConditioningMode

type AirConditioningMode string

AirConditioningMode defines model for AirConditioningMode.

const (
	AirConditioningModeAUTO AirConditioningMode = "AUTO"
	AirConditioningModeCOOL AirConditioningMode = "COOL"
	AirConditioningModeDRY  AirConditioningMode = "DRY"
	AirConditioningModeFAN  AirConditioningMode = "FAN"
	AirConditioningModeHEAT AirConditioningMode = "HEAT"
)

Defines values for AirConditioningMode.

type AirConditioningModeCapabilities

type AirConditioningModeCapabilities struct {
	FanLevel        *[]FanLevel        `json:"fanLevel,omitempty"`
	HorizontalSwing *[]HorizontalSwing `json:"horizontalSwing,omitempty"`
	Light           *[]Light           `json:"light,omitempty"`

	// Temperatures property available for zone type HEATING
	Temperatures  *TemperatureCapability `json:"temperatures,omitempty"`
	VerticalSwing *[]VerticalSwing       `json:"verticalSwing,omitempty"`
}

AirConditioningModeCapabilities defines model for AirConditioningModeCapabilities.

type AirConditioningModeCapabilitiesBase

type AirConditioningModeCapabilitiesBase struct {
	FanLevel        *[]FanLevel        `json:"fanLevel,omitempty"`
	HorizontalSwing *[]HorizontalSwing `json:"horizontalSwing,omitempty"`
	Light           *[]Light           `json:"light,omitempty"`
	VerticalSwing   *[]VerticalSwing   `json:"verticalSwing,omitempty"`
}

AirConditioningModeCapabilitiesBase used in ZoneCapabilities for zones of type AIR_CONDITIONING

type AirConditioningZoneSettings

type AirConditioningZoneSettings struct {
	// FanLevel Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	FanLevel *FanLevel `json:"fanLevel,omitempty"`

	// HorizontalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	HorizontalSwing *HorizontalSwing `json:"horizontalSwing,omitempty"`

	// Light Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	Light       *Light       `json:"light,omitempty"`
	Temperature *Temperature `json:"temperature,omitempty"`

	// VerticalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	VerticalSwing *VerticalSwing `json:"verticalSwing,omitempty"`
}

AirConditioningZoneSettings defines model for AirConditioningZoneSettings.

type AirConditioningZoneSettingsBase

type AirConditioningZoneSettingsBase struct {
	// FanLevel Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	FanLevel *FanLevel `json:"fanLevel,omitempty"`

	// HorizontalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	HorizontalSwing *HorizontalSwing `json:"horizontalSwing,omitempty"`

	// Light Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	Light *Light `json:"light,omitempty"`

	// VerticalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	VerticalSwing *VerticalSwing `json:"verticalSwing,omitempty"`
}

AirConditioningZoneSettingsBase used in ZoneCapabilities for zones of type AIR_CONDITIONING

type AirFreshness

type AirFreshness string

AirFreshness The air freshness level for the entire home. Used in AirComfort.

const (
	FAIR  AirFreshness = "FAIR"
	FRESH AirFreshness = "FRESH"
)

Defines values for AirFreshness.

type AwayRadiusInput

type AwayRadiusInput struct {
	AwayRadiusInMeters *float32 `json:"awayRadiusInMeters,omitempty"`
}

AwayRadiusInput defines model for AwayRadiusInput.

type BatteryState

type BatteryState string

BatteryState device property known to be present for DeviceType SU02, VA02

const (
	BatteryStateLOW    BatteryState = "LOW"
	BatteryStateNORMAL BatteryState = "NORMAL"
)

Defines values for BatteryState.

type Boiler1 added in v2.4.0

type Boiler1 struct {
	Found *bool `json:"found,omitempty"`

	// Id Tado specific id of the type of boiler you have, it gets set when you select a boiler via the app
	Id      *int  `json:"id,omitempty"`
	Present *bool `json:"present,omitempty"`
}

Boiler1 element of HeatingSystem

type Boiler2 added in v2.4.0

type Boiler2 struct {
	// BoilerId Tado specific id of the type of boiler you have, it gets set when you select a boiler via the app
	BoilerId      *int  `json:"boilerId,omitempty"`
	BoilerPresent *bool `json:"boilerPresent,omitempty"`
}

Boiler2 Response of GET /homeByBridge/{bridgeId}/boilerInfo

type BoilerMaxOutputTemperature added in v2.4.0

type BoilerMaxOutputTemperature struct {
	BoilerMaxOutputTemperatureInCelsius *float32 `json:"boilerMaxOutputTemperatureInCelsius,omitempty"`
}

BoilerMaxOutputTemperature Used in GET/POST /homeByBridge/{bridgeId}/boilerMaxOutputTemperature

type BoilerWiringInstallationState added in v2.4.0

type BoilerWiringInstallationState struct {
	Boiler *struct {
		OutputTemperature *struct {
			Celsius   *float32   `json:"celsius,omitempty"`
			Timestamp *time.Time `json:"timestamp,omitempty"`
		} `json:"outputTemperature,omitempty"`
	} `json:"boiler,omitempty"`
	BridgeConnected     *bool `json:"bridgeConnected,omitempty"`
	DeviceWiredToBoiler *struct {
		Connected            *bool      `json:"connected,omitempty"`
		LastRequestTimestamp *time.Time `json:"lastRequestTimestamp,omitempty"`
		SerialNo             *string    `json:"serialNo,omitempty"`

		// ThermInterfaceType known values:
		//
		// * OPENTHERM
		// * UBA_BUS
		ThermInterfaceType *string `json:"thermInterfaceType,omitempty"`
		Type               *string `json:"type,omitempty"`
	} `json:"deviceWiredToBoiler,omitempty"`
	HotWaterZonePresent *bool   `json:"hotWaterZonePresent,omitempty"`
	State               *string `json:"state,omitempty"`
}

BoilerWiringInstallationState response of GET /homeByBridge/{bridgeId}/boilerWiringInstallationState

type BooleanDataInterval

type BooleanDataInterval struct {
	From  *time.Time `json:"from,omitempty"`
	To    *time.Time `json:"to,omitempty"`
	Value *bool      `json:"value,omitempty"`
}

BooleanDataInterval defines model for BooleanDataInterval.

type BooleanTimeSeries

type BooleanTimeSeries struct {
	DataIntervals  *[]BooleanDataInterval `json:"dataIntervals,omitempty"`
	TimeSeriesType *string                `json:"timeSeriesType,omitempty"`
	ValueType      *string                `json:"valueType,omitempty"`
}

BooleanTimeSeries Element of DayReport and ZoneState. Used to express measuredData.measuringDeviceConnected (ZoneState), hotWaterProduction (ZoneState) and weather.sunny (DayReport)

type Bridge added in v2.4.0

type Bridge struct {
	// HomeId unique home ID
	HomeId *HomeId `json:"homeId,omitempty"`

	// Partner meaning and type of this property is unknown
	Partner *interface{} `json:"partner,omitempty"`
}

Bridge tado Internet Bridge

type BridgeId added in v2.4.0

type BridgeId = string

BridgeId the serialNo of a tado Internet bridge

type CallForHeatDataInterval

type CallForHeatDataInterval struct {
	From *time.Time `json:"from,omitempty"`
	To   *time.Time `json:"to,omitempty"`

	// Value element of DayReport
	Value *CallForHeatValue `json:"value,omitempty"`
}

CallForHeatDataInterval defines model for CallForHeatDataInterval.

type CallForHeatTimeSeries

type CallForHeatTimeSeries struct {
	DataIntervals  *[]CallForHeatDataInterval `json:"dataIntervals,omitempty"`
	TimeSeriesType *string                    `json:"timeSeriesType,omitempty"`
	ValueType      *string                    `json:"valueType,omitempty"`
}

CallForHeatTimeSeries element of DayReport

type CallForHeatValue

type CallForHeatValue string

CallForHeatValue element of DayReport

const (
	CallForHeatValueHIGH   CallForHeatValue = "HIGH"
	CallForHeatValueLOW    CallForHeatValue = "LOW"
	CallForHeatValueMEDIUM CallForHeatValue = "MEDIUM"
	CallForHeatValueNONE   CallForHeatValue = "NONE"
)

Defines values for CallForHeatValue.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) ActivateOpenWindowState added in v2.4.0

func (c *Client) ActivateOpenWindowState(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateZone

func (c *Client) CreateZone(ctx context.Context, homeId HomeId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateZoneWithBody

func (c *Client) CreateZoneWithBody(ctx context.Context, homeId HomeId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeactivateOpenWindowState added in v2.4.0

func (c *Client) DeactivateOpenWindowState(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMobileDeviceFromHome

func (c *Client) DeleteMobileDeviceFromHome(ctx context.Context, homeId HomeId, mobileDeviceId int64, params *DeleteMobileDeviceFromHomeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePresenceLock

func (c *Client) DeletePresenceLock(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteZoneOverlay

func (c *Client) DeleteZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteZoneOverlays

func (c *Client) DeleteZoneOverlays(ctx context.Context, homeId HomeId, params *DeleteZoneOverlaysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetActiveTimetableType

func (c *Client) GetActiveTimetableType(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAirComfort

func (c *Client) GetAirComfort(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAwayConfiguration

func (c *Client) GetAwayConfiguration(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBoilerInfo added in v2.4.0

func (c *Client) GetBoilerInfo(ctx context.Context, bridgeId BridgeId, params *GetBoilerInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBoilerMaxOutputTemperature added in v2.4.0

func (c *Client) GetBoilerMaxOutputTemperature(ctx context.Context, bridgeId BridgeId, params *GetBoilerMaxOutputTemperatureParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBoilerWiringInstallationState added in v2.4.0

func (c *Client) GetBoilerWiringInstallationState(ctx context.Context, bridgeId BridgeId, params *GetBoilerWiringInstallationStateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBridge added in v2.4.0

func (c *Client) GetBridge(ctx context.Context, bridgeId BridgeId, params *GetBridgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDefaultZoneOverlay

func (c *Client) GetDefaultZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDevice

func (c *Client) GetDevice(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDeviceList

func (c *Client) GetDeviceList(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDevices

func (c *Client) GetDevices(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEarlyStart

func (c *Client) GetEarlyStart(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHeatingCircuits

func (c *Client) GetHeatingCircuits(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHeatingSystem

func (c *Client) GetHeatingSystem(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHome

func (c *Client) GetHome(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHomeState

func (c *Client) GetHomeState(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIncidentDetection

func (c *Client) GetIncidentDetection(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInstallations

func (c *Client) GetInstallations(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMe

func (c *Client) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMobileDevice

func (c *Client) GetMobileDevice(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMobileDeviceSettings

func (c *Client) GetMobileDeviceSettings(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMobileDevices

func (c *Client) GetMobileDevices(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTemperatureOffset

func (c *Client) GetTemperatureOffset(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTimetableBlocksByDayType

func (c *Client) GetTimetableBlocksByDayType(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsers

func (c *Client) GetUsers(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWeather

func (c *Client) GetWeather(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneCapabilities

func (c *Client) GetZoneCapabilities(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneControl

func (c *Client) GetZoneControl(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneDayReport

func (c *Client) GetZoneDayReport(ctx context.Context, homeId HomeId, zoneId ZoneId, params *GetZoneDayReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneMeasuringDevice

func (c *Client) GetZoneMeasuringDevice(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneOverlay

func (c *Client) GetZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneState

func (c *Client) GetZoneState(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneStates

func (c *Client) GetZoneStates(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneTimetable

func (c *Client) GetZoneTimetable(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneTimetableBlocks

func (c *Client) GetZoneTimetableBlocks(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZoneTimetables

func (c *Client) GetZoneTimetables(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetZones

func (c *Client) GetZones(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IdentifyDevice

func (c *Client) IdentifyDevice(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MoveDevice

func (c *Client) MoveDevice(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, body MoveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MoveDeviceWithBody

func (c *Client) MoveDeviceWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetActiveTimetableType

func (c *Client) SetActiveTimetableType(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetActiveTimetableTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetActiveTimetableTypeWithBody

func (c *Client) SetActiveTimetableTypeWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetAwayConfiguration

func (c *Client) SetAwayConfiguration(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetAwayConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetAwayConfigurationWithBody

func (c *Client) SetAwayConfigurationWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetAwayRadiusInMeters

func (c *Client) SetAwayRadiusInMeters(ctx context.Context, homeId HomeId, body SetAwayRadiusInMetersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetAwayRadiusInMetersWithBody

func (c *Client) SetAwayRadiusInMetersWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBoiler

func (c *Client) SetBoiler(ctx context.Context, homeId HomeId, body SetBoilerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBoilerMaxOutputTemperature added in v2.4.0

func (c *Client) SetBoilerMaxOutputTemperature(ctx context.Context, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, body SetBoilerMaxOutputTemperatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBoilerMaxOutputTemperatureWithBody added in v2.4.0

func (c *Client) SetBoilerMaxOutputTemperatureWithBody(ctx context.Context, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBoilerWithBody

func (c *Client) SetBoilerWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetChildLock added in v2.4.0

func (c *Client) SetChildLock(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDazzle

func (c *Client) SetDazzle(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDazzleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDazzleWithBody

func (c *Client) SetDazzleWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDefaultZoneOverlay

func (c *Client) SetDefaultZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDefaultZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDefaultZoneOverlayWithBody

func (c *Client) SetDefaultZoneOverlayWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDetails

func (c *Client) SetDetails(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetDetailsWithBody

func (c *Client) SetDetailsWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetEarlyStart

func (c *Client) SetEarlyStart(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetEarlyStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetEarlyStartWithBody

func (c *Client) SetEarlyStartWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetHeatingCircuit

func (c *Client) SetHeatingCircuit(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetHeatingCircuitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetHeatingCircuitWithBody

func (c *Client) SetHeatingCircuitWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetHomeDetails

func (c *Client) SetHomeDetails(ctx context.Context, homeId HomeId, body SetHomeDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetHomeDetailsWithBody

func (c *Client) SetHomeDetailsWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetIncidentDetection

func (c *Client) SetIncidentDetection(ctx context.Context, homeId HomeId, body SetIncidentDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetIncidentDetectionWithBody

func (c *Client) SetIncidentDetectionWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMobileDeviceSettings

func (c *Client) SetMobileDeviceSettings(ctx context.Context, homeId HomeId, mobileDeviceId int64, body SetMobileDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMobileDeviceSettingsWithBody

func (c *Client) SetMobileDeviceSettingsWithBody(ctx context.Context, homeId HomeId, mobileDeviceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetOpenWindowDetection

func (c *Client) SetOpenWindowDetection(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetOpenWindowDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetOpenWindowDetectionWithBody

func (c *Client) SetOpenWindowDetectionWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetPresenceLock

func (c *Client) SetPresenceLock(ctx context.Context, homeId HomeId, body SetPresenceLockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetPresenceLockWithBody

func (c *Client) SetPresenceLockWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetTemperatureOffset

func (c *Client) SetTemperatureOffset(ctx context.Context, deviceId DeviceId, body SetTemperatureOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetTemperatureOffsetWithBody

func (c *Client) SetTemperatureOffsetWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetTimetableBlocksForDayType

func (c *Client) SetTimetableBlocksForDayType(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, body SetTimetableBlocksForDayTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetTimetableBlocksForDayTypeWithBody

func (c *Client) SetTimetableBlocksForDayTypeWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetUnderfloorHeating

func (c *Client) SetUnderfloorHeating(ctx context.Context, homeId HomeId, body SetUnderfloorHeatingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetUnderfloorHeatingWithBody

func (c *Client) SetUnderfloorHeatingWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetZoneMeasuringDevice

func (c *Client) SetZoneMeasuringDevice(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneMeasuringDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetZoneMeasuringDeviceWithBody

func (c *Client) SetZoneMeasuringDeviceWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetZoneOverlay

func (c *Client) SetZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetZoneOverlayWithBody

func (c *Client) SetZoneOverlayWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetZoneOverlays

func (c *Client) SetZoneOverlays(ctx context.Context, homeId HomeId, body SetZoneOverlaysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetZoneOverlaysWithBody

func (c *Client) SetZoneOverlaysWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetBridge request
	GetBridge(ctx context.Context, bridgeId BridgeId, params *GetBridgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDevice request
	GetDevice(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetChildLock request
	SetChildLock(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IdentifyDevice request
	IdentifyDevice(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemperatureOffset request
	GetTemperatureOffset(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetTemperatureOffsetWithBody request with any body
	SetTemperatureOffsetWithBody(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetTemperatureOffset(ctx context.Context, deviceId DeviceId, body SetTemperatureOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBoilerInfo request
	GetBoilerInfo(ctx context.Context, bridgeId BridgeId, params *GetBoilerInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBoilerMaxOutputTemperature request
	GetBoilerMaxOutputTemperature(ctx context.Context, bridgeId BridgeId, params *GetBoilerMaxOutputTemperatureParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBoilerMaxOutputTemperatureWithBody request with any body
	SetBoilerMaxOutputTemperatureWithBody(ctx context.Context, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBoilerMaxOutputTemperature(ctx context.Context, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, body SetBoilerMaxOutputTemperatureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBoilerWiringInstallationState request
	GetBoilerWiringInstallationState(ctx context.Context, bridgeId BridgeId, params *GetBoilerWiringInstallationStateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHome request
	GetHome(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAirComfort request
	GetAirComfort(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAwayRadiusInMetersWithBody request with any body
	SetAwayRadiusInMetersWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetAwayRadiusInMeters(ctx context.Context, homeId HomeId, body SetAwayRadiusInMetersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetHomeDetailsWithBody request with any body
	SetHomeDetailsWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetHomeDetails(ctx context.Context, homeId HomeId, body SetHomeDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeviceList request
	GetDeviceList(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDevices request
	GetDevices(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHeatingCircuits request
	GetHeatingCircuits(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHeatingSystem request
	GetHeatingSystem(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBoilerWithBody request with any body
	SetBoilerWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBoiler(ctx context.Context, homeId HomeId, body SetBoilerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetUnderfloorHeatingWithBody request with any body
	SetUnderfloorHeatingWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetUnderfloorHeating(ctx context.Context, homeId HomeId, body SetUnderfloorHeatingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIncidentDetection request
	GetIncidentDetection(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetIncidentDetectionWithBody request with any body
	SetIncidentDetectionWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetIncidentDetection(ctx context.Context, homeId HomeId, body SetIncidentDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstallations request
	GetInstallations(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMobileDevices request
	GetMobileDevices(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMobileDeviceFromHome request
	DeleteMobileDeviceFromHome(ctx context.Context, homeId HomeId, mobileDeviceId int64, params *DeleteMobileDeviceFromHomeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMobileDevice request
	GetMobileDevice(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMobileDeviceSettings request
	GetMobileDeviceSettings(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetMobileDeviceSettingsWithBody request with any body
	SetMobileDeviceSettingsWithBody(ctx context.Context, homeId HomeId, mobileDeviceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetMobileDeviceSettings(ctx context.Context, homeId HomeId, mobileDeviceId int64, body SetMobileDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteZoneOverlays request
	DeleteZoneOverlays(ctx context.Context, homeId HomeId, params *DeleteZoneOverlaysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetZoneOverlaysWithBody request with any body
	SetZoneOverlaysWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetZoneOverlays(ctx context.Context, homeId HomeId, body SetZoneOverlaysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePresenceLock request
	DeletePresenceLock(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPresenceLockWithBody request with any body
	SetPresenceLockWithBody(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetPresenceLock(ctx context.Context, homeId HomeId, body SetPresenceLockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHomeState request
	GetHomeState(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsers request
	GetUsers(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWeather request
	GetWeather(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneStates request
	GetZoneStates(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZones request
	GetZones(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateZoneWithBody request with any body
	CreateZoneWithBody(ctx context.Context, homeId HomeId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateZone(ctx context.Context, homeId HomeId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneCapabilities request
	GetZoneCapabilities(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneControl request
	GetZoneControl(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetHeatingCircuitWithBody request with any body
	SetHeatingCircuitWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetHeatingCircuit(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetHeatingCircuitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneDayReport request
	GetZoneDayReport(ctx context.Context, homeId HomeId, zoneId ZoneId, params *GetZoneDayReportParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDazzleWithBody request with any body
	SetDazzleWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetDazzle(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDazzleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDefaultZoneOverlay request
	GetDefaultZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDefaultZoneOverlayWithBody request with any body
	SetDefaultZoneOverlayWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetDefaultZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDefaultZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDetailsWithBody request with any body
	SetDetailsWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetDetails(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MoveDeviceWithBody request with any body
	MoveDeviceWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	MoveDevice(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, body MoveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEarlyStart request
	GetEarlyStart(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetEarlyStartWithBody request with any body
	SetEarlyStartWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetEarlyStart(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetEarlyStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneMeasuringDevice request
	GetZoneMeasuringDevice(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetZoneMeasuringDeviceWithBody request with any body
	SetZoneMeasuringDeviceWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetZoneMeasuringDevice(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneMeasuringDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetOpenWindowDetectionWithBody request with any body
	SetOpenWindowDetectionWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetOpenWindowDetection(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetOpenWindowDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteZoneOverlay request
	DeleteZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneOverlay request
	GetZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetZoneOverlayWithBody request with any body
	SetZoneOverlayWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetZoneOverlay(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetActiveTimetableType request
	GetActiveTimetableType(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetActiveTimetableTypeWithBody request with any body
	SetActiveTimetableTypeWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetActiveTimetableType(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetActiveTimetableTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAwayConfiguration request
	GetAwayConfiguration(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAwayConfigurationWithBody request with any body
	SetAwayConfigurationWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetAwayConfiguration(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetAwayConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneTimetables request
	GetZoneTimetables(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneTimetable request
	GetZoneTimetable(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneTimetableBlocks request
	GetZoneTimetableBlocks(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTimetableBlocksByDayType request
	GetTimetableBlocksByDayType(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetTimetableBlocksForDayTypeWithBody request with any body
	SetTimetableBlocksForDayTypeWithBody(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetTimetableBlocksForDayType(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, body SetTimetableBlocksForDayTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneState request
	GetZoneState(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeactivateOpenWindowState request
	DeactivateOpenWindowState(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActivateOpenWindowState request
	ActivateOpenWindowState(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMe request
	GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) ActivateOpenWindowStateWithResponse added in v2.4.0

func (c *ClientWithResponses) ActivateOpenWindowStateWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ActivateOpenWindowStateResponse, error)

ActivateOpenWindowStateWithResponse request returning *ActivateOpenWindowStateResponse

func (*ClientWithResponses) CreateZoneWithBodyWithResponse

func (c *ClientWithResponses) CreateZoneWithBodyWithResponse(ctx context.Context, homeId HomeId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

CreateZoneWithBodyWithResponse request with arbitrary body returning *CreateZoneResponse

func (*ClientWithResponses) CreateZoneWithResponse

func (c *ClientWithResponses) CreateZoneWithResponse(ctx context.Context, homeId HomeId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

func (*ClientWithResponses) DeactivateOpenWindowStateWithResponse added in v2.4.0

func (c *ClientWithResponses) DeactivateOpenWindowStateWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeactivateOpenWindowStateResponse, error)

DeactivateOpenWindowStateWithResponse request returning *DeactivateOpenWindowStateResponse

func (*ClientWithResponses) DeleteMobileDeviceFromHomeWithResponse

func (c *ClientWithResponses) DeleteMobileDeviceFromHomeWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId int64, params *DeleteMobileDeviceFromHomeParams, reqEditors ...RequestEditorFn) (*DeleteMobileDeviceFromHomeResponse, error)

DeleteMobileDeviceFromHomeWithResponse request returning *DeleteMobileDeviceFromHomeResponse

func (*ClientWithResponses) DeletePresenceLockWithResponse

func (c *ClientWithResponses) DeletePresenceLockWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*DeletePresenceLockResponse, error)

DeletePresenceLockWithResponse request returning *DeletePresenceLockResponse

func (*ClientWithResponses) DeleteZoneOverlayWithResponse

func (c *ClientWithResponses) DeleteZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeleteZoneOverlayResponse, error)

DeleteZoneOverlayWithResponse request returning *DeleteZoneOverlayResponse

func (*ClientWithResponses) DeleteZoneOverlaysWithResponse

func (c *ClientWithResponses) DeleteZoneOverlaysWithResponse(ctx context.Context, homeId HomeId, params *DeleteZoneOverlaysParams, reqEditors ...RequestEditorFn) (*DeleteZoneOverlaysResponse, error)

DeleteZoneOverlaysWithResponse request returning *DeleteZoneOverlaysResponse

func (*ClientWithResponses) GetActiveTimetableTypeWithResponse

func (c *ClientWithResponses) GetActiveTimetableTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetActiveTimetableTypeResponse, error)

GetActiveTimetableTypeWithResponse request returning *GetActiveTimetableTypeResponse

func (*ClientWithResponses) GetAirComfortWithResponse

func (c *ClientWithResponses) GetAirComfortWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetAirComfortResponse, error)

GetAirComfortWithResponse request returning *GetAirComfortResponse

func (*ClientWithResponses) GetAwayConfigurationWithResponse

func (c *ClientWithResponses) GetAwayConfigurationWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetAwayConfigurationResponse, error)

GetAwayConfigurationWithResponse request returning *GetAwayConfigurationResponse

func (*ClientWithResponses) GetBoilerInfoWithResponse added in v2.4.0

func (c *ClientWithResponses) GetBoilerInfoWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBoilerInfoParams, reqEditors ...RequestEditorFn) (*GetBoilerInfoResponse, error)

GetBoilerInfoWithResponse request returning *GetBoilerInfoResponse

func (*ClientWithResponses) GetBoilerMaxOutputTemperatureWithResponse added in v2.4.0

func (c *ClientWithResponses) GetBoilerMaxOutputTemperatureWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBoilerMaxOutputTemperatureParams, reqEditors ...RequestEditorFn) (*GetBoilerMaxOutputTemperatureResponse, error)

GetBoilerMaxOutputTemperatureWithResponse request returning *GetBoilerMaxOutputTemperatureResponse

func (*ClientWithResponses) GetBoilerWiringInstallationStateWithResponse added in v2.4.0

func (c *ClientWithResponses) GetBoilerWiringInstallationStateWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBoilerWiringInstallationStateParams, reqEditors ...RequestEditorFn) (*GetBoilerWiringInstallationStateResponse, error)

GetBoilerWiringInstallationStateWithResponse request returning *GetBoilerWiringInstallationStateResponse

func (*ClientWithResponses) GetBridgeWithResponse added in v2.4.0

func (c *ClientWithResponses) GetBridgeWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBridgeParams, reqEditors ...RequestEditorFn) (*GetBridgeResponse, error)

GetBridgeWithResponse request returning *GetBridgeResponse

func (*ClientWithResponses) GetDefaultZoneOverlayWithResponse

func (c *ClientWithResponses) GetDefaultZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetDefaultZoneOverlayResponse, error)

GetDefaultZoneOverlayWithResponse request returning *GetDefaultZoneOverlayResponse

func (*ClientWithResponses) GetDeviceListWithResponse

func (c *ClientWithResponses) GetDeviceListWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetDeviceListResponse, error)

GetDeviceListWithResponse request returning *GetDeviceListResponse

func (*ClientWithResponses) GetDeviceWithResponse

func (c *ClientWithResponses) GetDeviceWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)

GetDeviceWithResponse request returning *GetDeviceResponse

func (*ClientWithResponses) GetDevicesWithResponse

func (c *ClientWithResponses) GetDevicesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetDevicesResponse, error)

GetDevicesWithResponse request returning *GetDevicesResponse

func (*ClientWithResponses) GetEarlyStartWithResponse

func (c *ClientWithResponses) GetEarlyStartWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetEarlyStartResponse, error)

GetEarlyStartWithResponse request returning *GetEarlyStartResponse

func (*ClientWithResponses) GetHeatingCircuitsWithResponse

func (c *ClientWithResponses) GetHeatingCircuitsWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHeatingCircuitsResponse, error)

GetHeatingCircuitsWithResponse request returning *GetHeatingCircuitsResponse

func (*ClientWithResponses) GetHeatingSystemWithResponse

func (c *ClientWithResponses) GetHeatingSystemWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHeatingSystemResponse, error)

GetHeatingSystemWithResponse request returning *GetHeatingSystemResponse

func (*ClientWithResponses) GetHomeStateWithResponse

func (c *ClientWithResponses) GetHomeStateWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHomeStateResponse, error)

GetHomeStateWithResponse request returning *GetHomeStateResponse

func (*ClientWithResponses) GetHomeWithResponse

func (c *ClientWithResponses) GetHomeWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHomeResponse, error)

GetHomeWithResponse request returning *GetHomeResponse

func (*ClientWithResponses) GetIncidentDetectionWithResponse

func (c *ClientWithResponses) GetIncidentDetectionWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetIncidentDetectionResponse, error)

GetIncidentDetectionWithResponse request returning *GetIncidentDetectionResponse

func (*ClientWithResponses) GetInstallationsWithResponse

func (c *ClientWithResponses) GetInstallationsWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetInstallationsResponse, error)

GetInstallationsWithResponse request returning *GetInstallationsResponse

func (*ClientWithResponses) GetMeWithResponse

func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)

GetMeWithResponse request returning *GetMeResponse

func (*ClientWithResponses) GetMobileDeviceSettingsWithResponse

func (c *ClientWithResponses) GetMobileDeviceSettingsWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*GetMobileDeviceSettingsResponse, error)

GetMobileDeviceSettingsWithResponse request returning *GetMobileDeviceSettingsResponse

func (*ClientWithResponses) GetMobileDeviceWithResponse

func (c *ClientWithResponses) GetMobileDeviceWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*GetMobileDeviceResponse, error)

GetMobileDeviceWithResponse request returning *GetMobileDeviceResponse

func (*ClientWithResponses) GetMobileDevicesWithResponse

func (c *ClientWithResponses) GetMobileDevicesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetMobileDevicesResponse, error)

GetMobileDevicesWithResponse request returning *GetMobileDevicesResponse

func (*ClientWithResponses) GetTemperatureOffsetWithResponse

func (c *ClientWithResponses) GetTemperatureOffsetWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetTemperatureOffsetResponse, error)

GetTemperatureOffsetWithResponse request returning *GetTemperatureOffsetResponse

func (*ClientWithResponses) GetTimetableBlocksByDayTypeWithResponse

func (c *ClientWithResponses) GetTimetableBlocksByDayTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, reqEditors ...RequestEditorFn) (*GetTimetableBlocksByDayTypeResponse, error)

GetTimetableBlocksByDayTypeWithResponse request returning *GetTimetableBlocksByDayTypeResponse

func (*ClientWithResponses) GetUsersWithResponse

func (c *ClientWithResponses) GetUsersWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)

GetUsersWithResponse request returning *GetUsersResponse

func (*ClientWithResponses) GetWeatherWithResponse

func (c *ClientWithResponses) GetWeatherWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetWeatherResponse, error)

GetWeatherWithResponse request returning *GetWeatherResponse

func (*ClientWithResponses) GetZoneCapabilitiesWithResponse

func (c *ClientWithResponses) GetZoneCapabilitiesWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneCapabilitiesResponse, error)

GetZoneCapabilitiesWithResponse request returning *GetZoneCapabilitiesResponse

func (*ClientWithResponses) GetZoneControlWithResponse

func (c *ClientWithResponses) GetZoneControlWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneControlResponse, error)

GetZoneControlWithResponse request returning *GetZoneControlResponse

func (*ClientWithResponses) GetZoneDayReportWithResponse

func (c *ClientWithResponses) GetZoneDayReportWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, params *GetZoneDayReportParams, reqEditors ...RequestEditorFn) (*GetZoneDayReportResponse, error)

GetZoneDayReportWithResponse request returning *GetZoneDayReportResponse

func (*ClientWithResponses) GetZoneMeasuringDeviceWithResponse

func (c *ClientWithResponses) GetZoneMeasuringDeviceWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneMeasuringDeviceResponse, error)

GetZoneMeasuringDeviceWithResponse request returning *GetZoneMeasuringDeviceResponse

func (*ClientWithResponses) GetZoneOverlayWithResponse

func (c *ClientWithResponses) GetZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneOverlayResponse, error)

GetZoneOverlayWithResponse request returning *GetZoneOverlayResponse

func (*ClientWithResponses) GetZoneStateWithResponse

func (c *ClientWithResponses) GetZoneStateWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneStateResponse, error)

GetZoneStateWithResponse request returning *GetZoneStateResponse

func (*ClientWithResponses) GetZoneStatesWithResponse

func (c *ClientWithResponses) GetZoneStatesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetZoneStatesResponse, error)

GetZoneStatesWithResponse request returning *GetZoneStatesResponse

func (*ClientWithResponses) GetZoneTimetableBlocksWithResponse

func (c *ClientWithResponses) GetZoneTimetableBlocksWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, reqEditors ...RequestEditorFn) (*GetZoneTimetableBlocksResponse, error)

GetZoneTimetableBlocksWithResponse request returning *GetZoneTimetableBlocksResponse

func (*ClientWithResponses) GetZoneTimetableWithResponse

func (c *ClientWithResponses) GetZoneTimetableWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId int, reqEditors ...RequestEditorFn) (*GetZoneTimetableResponse, error)

GetZoneTimetableWithResponse request returning *GetZoneTimetableResponse

func (*ClientWithResponses) GetZoneTimetablesWithResponse

func (c *ClientWithResponses) GetZoneTimetablesWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneTimetablesResponse, error)

GetZoneTimetablesWithResponse request returning *GetZoneTimetablesResponse

func (*ClientWithResponses) GetZonesWithResponse

func (c *ClientWithResponses) GetZonesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetZonesResponse, error)

GetZonesWithResponse request returning *GetZonesResponse

func (*ClientWithResponses) IdentifyDeviceWithResponse

func (c *ClientWithResponses) IdentifyDeviceWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*IdentifyDeviceResponse, error)

IdentifyDeviceWithResponse request returning *IdentifyDeviceResponse

func (*ClientWithResponses) MoveDeviceWithBodyWithResponse

func (c *ClientWithResponses) MoveDeviceWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveDeviceResponse, error)

MoveDeviceWithBodyWithResponse request with arbitrary body returning *MoveDeviceResponse

func (*ClientWithResponses) MoveDeviceWithResponse

func (c *ClientWithResponses) MoveDeviceWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, body MoveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveDeviceResponse, error)

func (*ClientWithResponses) SetActiveTimetableTypeWithBodyWithResponse

func (c *ClientWithResponses) SetActiveTimetableTypeWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetActiveTimetableTypeResponse, error)

SetActiveTimetableTypeWithBodyWithResponse request with arbitrary body returning *SetActiveTimetableTypeResponse

func (*ClientWithResponses) SetActiveTimetableTypeWithResponse

func (c *ClientWithResponses) SetActiveTimetableTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetActiveTimetableTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*SetActiveTimetableTypeResponse, error)

func (*ClientWithResponses) SetAwayConfigurationWithBodyWithResponse

func (c *ClientWithResponses) SetAwayConfigurationWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAwayConfigurationResponse, error)

SetAwayConfigurationWithBodyWithResponse request with arbitrary body returning *SetAwayConfigurationResponse

func (*ClientWithResponses) SetAwayConfigurationWithResponse

func (c *ClientWithResponses) SetAwayConfigurationWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetAwayConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAwayConfigurationResponse, error)

func (*ClientWithResponses) SetAwayRadiusInMetersWithBodyWithResponse

func (c *ClientWithResponses) SetAwayRadiusInMetersWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAwayRadiusInMetersResponse, error)

SetAwayRadiusInMetersWithBodyWithResponse request with arbitrary body returning *SetAwayRadiusInMetersResponse

func (*ClientWithResponses) SetAwayRadiusInMetersWithResponse

func (c *ClientWithResponses) SetAwayRadiusInMetersWithResponse(ctx context.Context, homeId HomeId, body SetAwayRadiusInMetersJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAwayRadiusInMetersResponse, error)

func (*ClientWithResponses) SetBoilerMaxOutputTemperatureWithBodyWithResponse added in v2.4.0

func (c *ClientWithResponses) SetBoilerMaxOutputTemperatureWithBodyWithResponse(ctx context.Context, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBoilerMaxOutputTemperatureResponse, error)

SetBoilerMaxOutputTemperatureWithBodyWithResponse request with arbitrary body returning *SetBoilerMaxOutputTemperatureResponse

func (*ClientWithResponses) SetBoilerMaxOutputTemperatureWithResponse added in v2.4.0

func (*ClientWithResponses) SetBoilerWithBodyWithResponse

func (c *ClientWithResponses) SetBoilerWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBoilerResponse, error)

SetBoilerWithBodyWithResponse request with arbitrary body returning *SetBoilerResponse

func (*ClientWithResponses) SetBoilerWithResponse

func (c *ClientWithResponses) SetBoilerWithResponse(ctx context.Context, homeId HomeId, body SetBoilerJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBoilerResponse, error)

func (*ClientWithResponses) SetChildLockWithResponse added in v2.4.0

func (c *ClientWithResponses) SetChildLockWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SetChildLockResponse, error)

SetChildLockWithResponse request returning *SetChildLockResponse

func (*ClientWithResponses) SetDazzleWithBodyWithResponse

func (c *ClientWithResponses) SetDazzleWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDazzleResponse, error)

SetDazzleWithBodyWithResponse request with arbitrary body returning *SetDazzleResponse

func (*ClientWithResponses) SetDazzleWithResponse

func (c *ClientWithResponses) SetDazzleWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDazzleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDazzleResponse, error)

func (*ClientWithResponses) SetDefaultZoneOverlayWithBodyWithResponse

func (c *ClientWithResponses) SetDefaultZoneOverlayWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDefaultZoneOverlayResponse, error)

SetDefaultZoneOverlayWithBodyWithResponse request with arbitrary body returning *SetDefaultZoneOverlayResponse

func (*ClientWithResponses) SetDefaultZoneOverlayWithResponse

func (c *ClientWithResponses) SetDefaultZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDefaultZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDefaultZoneOverlayResponse, error)

func (*ClientWithResponses) SetDetailsWithBodyWithResponse

func (c *ClientWithResponses) SetDetailsWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDetailsResponse, error)

SetDetailsWithBodyWithResponse request with arbitrary body returning *SetDetailsResponse

func (*ClientWithResponses) SetDetailsWithResponse

func (c *ClientWithResponses) SetDetailsWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDetailsResponse, error)

func (*ClientWithResponses) SetEarlyStartWithBodyWithResponse

func (c *ClientWithResponses) SetEarlyStartWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetEarlyStartResponse, error)

SetEarlyStartWithBodyWithResponse request with arbitrary body returning *SetEarlyStartResponse

func (*ClientWithResponses) SetEarlyStartWithResponse

func (c *ClientWithResponses) SetEarlyStartWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetEarlyStartJSONRequestBody, reqEditors ...RequestEditorFn) (*SetEarlyStartResponse, error)

func (*ClientWithResponses) SetHeatingCircuitWithBodyWithResponse

func (c *ClientWithResponses) SetHeatingCircuitWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetHeatingCircuitResponse, error)

SetHeatingCircuitWithBodyWithResponse request with arbitrary body returning *SetHeatingCircuitResponse

func (*ClientWithResponses) SetHeatingCircuitWithResponse

func (c *ClientWithResponses) SetHeatingCircuitWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetHeatingCircuitJSONRequestBody, reqEditors ...RequestEditorFn) (*SetHeatingCircuitResponse, error)

func (*ClientWithResponses) SetHomeDetailsWithBodyWithResponse

func (c *ClientWithResponses) SetHomeDetailsWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetHomeDetailsResponse, error)

SetHomeDetailsWithBodyWithResponse request with arbitrary body returning *SetHomeDetailsResponse

func (*ClientWithResponses) SetHomeDetailsWithResponse

func (c *ClientWithResponses) SetHomeDetailsWithResponse(ctx context.Context, homeId HomeId, body SetHomeDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetHomeDetailsResponse, error)

func (*ClientWithResponses) SetIncidentDetectionWithBodyWithResponse

func (c *ClientWithResponses) SetIncidentDetectionWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetIncidentDetectionResponse, error)

SetIncidentDetectionWithBodyWithResponse request with arbitrary body returning *SetIncidentDetectionResponse

func (*ClientWithResponses) SetIncidentDetectionWithResponse

func (c *ClientWithResponses) SetIncidentDetectionWithResponse(ctx context.Context, homeId HomeId, body SetIncidentDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetIncidentDetectionResponse, error)

func (*ClientWithResponses) SetMobileDeviceSettingsWithBodyWithResponse

func (c *ClientWithResponses) SetMobileDeviceSettingsWithBodyWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMobileDeviceSettingsResponse, error)

SetMobileDeviceSettingsWithBodyWithResponse request with arbitrary body returning *SetMobileDeviceSettingsResponse

func (*ClientWithResponses) SetMobileDeviceSettingsWithResponse

func (c *ClientWithResponses) SetMobileDeviceSettingsWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId int64, body SetMobileDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMobileDeviceSettingsResponse, error)

func (*ClientWithResponses) SetOpenWindowDetectionWithBodyWithResponse

func (c *ClientWithResponses) SetOpenWindowDetectionWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOpenWindowDetectionResponse, error)

SetOpenWindowDetectionWithBodyWithResponse request with arbitrary body returning *SetOpenWindowDetectionResponse

func (*ClientWithResponses) SetOpenWindowDetectionWithResponse

func (c *ClientWithResponses) SetOpenWindowDetectionWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetOpenWindowDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOpenWindowDetectionResponse, error)

func (*ClientWithResponses) SetPresenceLockWithBodyWithResponse

func (c *ClientWithResponses) SetPresenceLockWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPresenceLockResponse, error)

SetPresenceLockWithBodyWithResponse request with arbitrary body returning *SetPresenceLockResponse

func (*ClientWithResponses) SetPresenceLockWithResponse

func (c *ClientWithResponses) SetPresenceLockWithResponse(ctx context.Context, homeId HomeId, body SetPresenceLockJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPresenceLockResponse, error)

func (*ClientWithResponses) SetTemperatureOffsetWithBodyWithResponse

func (c *ClientWithResponses) SetTemperatureOffsetWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTemperatureOffsetResponse, error)

SetTemperatureOffsetWithBodyWithResponse request with arbitrary body returning *SetTemperatureOffsetResponse

func (*ClientWithResponses) SetTemperatureOffsetWithResponse

func (c *ClientWithResponses) SetTemperatureOffsetWithResponse(ctx context.Context, deviceId DeviceId, body SetTemperatureOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTemperatureOffsetResponse, error)

func (*ClientWithResponses) SetTimetableBlocksForDayTypeWithBodyWithResponse

func (c *ClientWithResponses) SetTimetableBlocksForDayTypeWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTimetableBlocksForDayTypeResponse, error)

SetTimetableBlocksForDayTypeWithBodyWithResponse request with arbitrary body returning *SetTimetableBlocksForDayTypeResponse

func (*ClientWithResponses) SetTimetableBlocksForDayTypeWithResponse

func (c *ClientWithResponses) SetTimetableBlocksForDayTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, body SetTimetableBlocksForDayTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTimetableBlocksForDayTypeResponse, error)

func (*ClientWithResponses) SetUnderfloorHeatingWithBodyWithResponse

func (c *ClientWithResponses) SetUnderfloorHeatingWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUnderfloorHeatingResponse, error)

SetUnderfloorHeatingWithBodyWithResponse request with arbitrary body returning *SetUnderfloorHeatingResponse

func (*ClientWithResponses) SetUnderfloorHeatingWithResponse

func (c *ClientWithResponses) SetUnderfloorHeatingWithResponse(ctx context.Context, homeId HomeId, body SetUnderfloorHeatingJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUnderfloorHeatingResponse, error)

func (*ClientWithResponses) SetZoneMeasuringDeviceWithBodyWithResponse

func (c *ClientWithResponses) SetZoneMeasuringDeviceWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetZoneMeasuringDeviceResponse, error)

SetZoneMeasuringDeviceWithBodyWithResponse request with arbitrary body returning *SetZoneMeasuringDeviceResponse

func (*ClientWithResponses) SetZoneMeasuringDeviceWithResponse

func (c *ClientWithResponses) SetZoneMeasuringDeviceWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneMeasuringDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*SetZoneMeasuringDeviceResponse, error)

func (*ClientWithResponses) SetZoneOverlayWithBodyWithResponse

func (c *ClientWithResponses) SetZoneOverlayWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetZoneOverlayResponse, error)

SetZoneOverlayWithBodyWithResponse request with arbitrary body returning *SetZoneOverlayResponse

func (*ClientWithResponses) SetZoneOverlayWithResponse

func (c *ClientWithResponses) SetZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*SetZoneOverlayResponse, error)

func (*ClientWithResponses) SetZoneOverlaysWithBodyWithResponse

func (c *ClientWithResponses) SetZoneOverlaysWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetZoneOverlaysResponse, error)

SetZoneOverlaysWithBodyWithResponse request with arbitrary body returning *SetZoneOverlaysResponse

func (*ClientWithResponses) SetZoneOverlaysWithResponse

func (c *ClientWithResponses) SetZoneOverlaysWithResponse(ctx context.Context, homeId HomeId, body SetZoneOverlaysJSONRequestBody, reqEditors ...RequestEditorFn) (*SetZoneOverlaysResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetBridgeWithResponse request
	GetBridgeWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBridgeParams, reqEditors ...RequestEditorFn) (*GetBridgeResponse, error)

	// GetDeviceWithResponse request
	GetDeviceWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetDeviceResponse, error)

	// SetChildLockWithResponse request
	SetChildLockWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*SetChildLockResponse, error)

	// IdentifyDeviceWithResponse request
	IdentifyDeviceWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*IdentifyDeviceResponse, error)

	// GetTemperatureOffsetWithResponse request
	GetTemperatureOffsetWithResponse(ctx context.Context, deviceId DeviceId, reqEditors ...RequestEditorFn) (*GetTemperatureOffsetResponse, error)

	// SetTemperatureOffsetWithBodyWithResponse request with any body
	SetTemperatureOffsetWithBodyWithResponse(ctx context.Context, deviceId DeviceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTemperatureOffsetResponse, error)

	SetTemperatureOffsetWithResponse(ctx context.Context, deviceId DeviceId, body SetTemperatureOffsetJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTemperatureOffsetResponse, error)

	// GetBoilerInfoWithResponse request
	GetBoilerInfoWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBoilerInfoParams, reqEditors ...RequestEditorFn) (*GetBoilerInfoResponse, error)

	// GetBoilerMaxOutputTemperatureWithResponse request
	GetBoilerMaxOutputTemperatureWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBoilerMaxOutputTemperatureParams, reqEditors ...RequestEditorFn) (*GetBoilerMaxOutputTemperatureResponse, error)

	// SetBoilerMaxOutputTemperatureWithBodyWithResponse request with any body
	SetBoilerMaxOutputTemperatureWithBodyWithResponse(ctx context.Context, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBoilerMaxOutputTemperatureResponse, error)

	SetBoilerMaxOutputTemperatureWithResponse(ctx context.Context, bridgeId BridgeId, params *SetBoilerMaxOutputTemperatureParams, body SetBoilerMaxOutputTemperatureJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBoilerMaxOutputTemperatureResponse, error)

	// GetBoilerWiringInstallationStateWithResponse request
	GetBoilerWiringInstallationStateWithResponse(ctx context.Context, bridgeId BridgeId, params *GetBoilerWiringInstallationStateParams, reqEditors ...RequestEditorFn) (*GetBoilerWiringInstallationStateResponse, error)

	// GetHomeWithResponse request
	GetHomeWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHomeResponse, error)

	// GetAirComfortWithResponse request
	GetAirComfortWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetAirComfortResponse, error)

	// SetAwayRadiusInMetersWithBodyWithResponse request with any body
	SetAwayRadiusInMetersWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAwayRadiusInMetersResponse, error)

	SetAwayRadiusInMetersWithResponse(ctx context.Context, homeId HomeId, body SetAwayRadiusInMetersJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAwayRadiusInMetersResponse, error)

	// SetHomeDetailsWithBodyWithResponse request with any body
	SetHomeDetailsWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetHomeDetailsResponse, error)

	SetHomeDetailsWithResponse(ctx context.Context, homeId HomeId, body SetHomeDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetHomeDetailsResponse, error)

	// GetDeviceListWithResponse request
	GetDeviceListWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetDeviceListResponse, error)

	// GetDevicesWithResponse request
	GetDevicesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetDevicesResponse, error)

	// GetHeatingCircuitsWithResponse request
	GetHeatingCircuitsWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHeatingCircuitsResponse, error)

	// GetHeatingSystemWithResponse request
	GetHeatingSystemWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHeatingSystemResponse, error)

	// SetBoilerWithBodyWithResponse request with any body
	SetBoilerWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBoilerResponse, error)

	SetBoilerWithResponse(ctx context.Context, homeId HomeId, body SetBoilerJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBoilerResponse, error)

	// SetUnderfloorHeatingWithBodyWithResponse request with any body
	SetUnderfloorHeatingWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetUnderfloorHeatingResponse, error)

	SetUnderfloorHeatingWithResponse(ctx context.Context, homeId HomeId, body SetUnderfloorHeatingJSONRequestBody, reqEditors ...RequestEditorFn) (*SetUnderfloorHeatingResponse, error)

	// GetIncidentDetectionWithResponse request
	GetIncidentDetectionWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetIncidentDetectionResponse, error)

	// SetIncidentDetectionWithBodyWithResponse request with any body
	SetIncidentDetectionWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetIncidentDetectionResponse, error)

	SetIncidentDetectionWithResponse(ctx context.Context, homeId HomeId, body SetIncidentDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetIncidentDetectionResponse, error)

	// GetInstallationsWithResponse request
	GetInstallationsWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetInstallationsResponse, error)

	// GetMobileDevicesWithResponse request
	GetMobileDevicesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetMobileDevicesResponse, error)

	// DeleteMobileDeviceFromHomeWithResponse request
	DeleteMobileDeviceFromHomeWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId int64, params *DeleteMobileDeviceFromHomeParams, reqEditors ...RequestEditorFn) (*DeleteMobileDeviceFromHomeResponse, error)

	// GetMobileDeviceWithResponse request
	GetMobileDeviceWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*GetMobileDeviceResponse, error)

	// GetMobileDeviceSettingsWithResponse request
	GetMobileDeviceSettingsWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId MobileDeviceId, reqEditors ...RequestEditorFn) (*GetMobileDeviceSettingsResponse, error)

	// SetMobileDeviceSettingsWithBodyWithResponse request with any body
	SetMobileDeviceSettingsWithBodyWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMobileDeviceSettingsResponse, error)

	SetMobileDeviceSettingsWithResponse(ctx context.Context, homeId HomeId, mobileDeviceId int64, body SetMobileDeviceSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMobileDeviceSettingsResponse, error)

	// DeleteZoneOverlaysWithResponse request
	DeleteZoneOverlaysWithResponse(ctx context.Context, homeId HomeId, params *DeleteZoneOverlaysParams, reqEditors ...RequestEditorFn) (*DeleteZoneOverlaysResponse, error)

	// SetZoneOverlaysWithBodyWithResponse request with any body
	SetZoneOverlaysWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetZoneOverlaysResponse, error)

	SetZoneOverlaysWithResponse(ctx context.Context, homeId HomeId, body SetZoneOverlaysJSONRequestBody, reqEditors ...RequestEditorFn) (*SetZoneOverlaysResponse, error)

	// DeletePresenceLockWithResponse request
	DeletePresenceLockWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*DeletePresenceLockResponse, error)

	// SetPresenceLockWithBodyWithResponse request with any body
	SetPresenceLockWithBodyWithResponse(ctx context.Context, homeId HomeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPresenceLockResponse, error)

	SetPresenceLockWithResponse(ctx context.Context, homeId HomeId, body SetPresenceLockJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPresenceLockResponse, error)

	// GetHomeStateWithResponse request
	GetHomeStateWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetHomeStateResponse, error)

	// GetUsersWithResponse request
	GetUsersWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)

	// GetWeatherWithResponse request
	GetWeatherWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetWeatherResponse, error)

	// GetZoneStatesWithResponse request
	GetZoneStatesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetZoneStatesResponse, error)

	// GetZonesWithResponse request
	GetZonesWithResponse(ctx context.Context, homeId HomeId, reqEditors ...RequestEditorFn) (*GetZonesResponse, error)

	// CreateZoneWithBodyWithResponse request with any body
	CreateZoneWithBodyWithResponse(ctx context.Context, homeId HomeId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

	CreateZoneWithResponse(ctx context.Context, homeId HomeId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

	// GetZoneCapabilitiesWithResponse request
	GetZoneCapabilitiesWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneCapabilitiesResponse, error)

	// GetZoneControlWithResponse request
	GetZoneControlWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneControlResponse, error)

	// SetHeatingCircuitWithBodyWithResponse request with any body
	SetHeatingCircuitWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetHeatingCircuitResponse, error)

	SetHeatingCircuitWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetHeatingCircuitJSONRequestBody, reqEditors ...RequestEditorFn) (*SetHeatingCircuitResponse, error)

	// GetZoneDayReportWithResponse request
	GetZoneDayReportWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, params *GetZoneDayReportParams, reqEditors ...RequestEditorFn) (*GetZoneDayReportResponse, error)

	// SetDazzleWithBodyWithResponse request with any body
	SetDazzleWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDazzleResponse, error)

	SetDazzleWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDazzleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDazzleResponse, error)

	// GetDefaultZoneOverlayWithResponse request
	GetDefaultZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetDefaultZoneOverlayResponse, error)

	// SetDefaultZoneOverlayWithBodyWithResponse request with any body
	SetDefaultZoneOverlayWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDefaultZoneOverlayResponse, error)

	SetDefaultZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDefaultZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDefaultZoneOverlayResponse, error)

	// SetDetailsWithBodyWithResponse request with any body
	SetDetailsWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDetailsResponse, error)

	SetDetailsWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDetailsResponse, error)

	// MoveDeviceWithBodyWithResponse request with any body
	MoveDeviceWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveDeviceResponse, error)

	MoveDeviceWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, params *MoveDeviceParams, body MoveDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveDeviceResponse, error)

	// GetEarlyStartWithResponse request
	GetEarlyStartWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetEarlyStartResponse, error)

	// SetEarlyStartWithBodyWithResponse request with any body
	SetEarlyStartWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetEarlyStartResponse, error)

	SetEarlyStartWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetEarlyStartJSONRequestBody, reqEditors ...RequestEditorFn) (*SetEarlyStartResponse, error)

	// GetZoneMeasuringDeviceWithResponse request
	GetZoneMeasuringDeviceWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneMeasuringDeviceResponse, error)

	// SetZoneMeasuringDeviceWithBodyWithResponse request with any body
	SetZoneMeasuringDeviceWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetZoneMeasuringDeviceResponse, error)

	SetZoneMeasuringDeviceWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneMeasuringDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*SetZoneMeasuringDeviceResponse, error)

	// SetOpenWindowDetectionWithBodyWithResponse request with any body
	SetOpenWindowDetectionWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOpenWindowDetectionResponse, error)

	SetOpenWindowDetectionWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetOpenWindowDetectionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOpenWindowDetectionResponse, error)

	// DeleteZoneOverlayWithResponse request
	DeleteZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeleteZoneOverlayResponse, error)

	// GetZoneOverlayWithResponse request
	GetZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneOverlayResponse, error)

	// SetZoneOverlayWithBodyWithResponse request with any body
	SetZoneOverlayWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetZoneOverlayResponse, error)

	SetZoneOverlayWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetZoneOverlayJSONRequestBody, reqEditors ...RequestEditorFn) (*SetZoneOverlayResponse, error)

	// GetActiveTimetableTypeWithResponse request
	GetActiveTimetableTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetActiveTimetableTypeResponse, error)

	// SetActiveTimetableTypeWithBodyWithResponse request with any body
	SetActiveTimetableTypeWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetActiveTimetableTypeResponse, error)

	SetActiveTimetableTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetActiveTimetableTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*SetActiveTimetableTypeResponse, error)

	// GetAwayConfigurationWithResponse request
	GetAwayConfigurationWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetAwayConfigurationResponse, error)

	// SetAwayConfigurationWithBodyWithResponse request with any body
	SetAwayConfigurationWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAwayConfigurationResponse, error)

	SetAwayConfigurationWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, body SetAwayConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAwayConfigurationResponse, error)

	// GetZoneTimetablesWithResponse request
	GetZoneTimetablesWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneTimetablesResponse, error)

	// GetZoneTimetableWithResponse request
	GetZoneTimetableWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId int, reqEditors ...RequestEditorFn) (*GetZoneTimetableResponse, error)

	// GetZoneTimetableBlocksWithResponse request
	GetZoneTimetableBlocksWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, reqEditors ...RequestEditorFn) (*GetZoneTimetableBlocksResponse, error)

	// GetTimetableBlocksByDayTypeWithResponse request
	GetTimetableBlocksByDayTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, reqEditors ...RequestEditorFn) (*GetTimetableBlocksByDayTypeResponse, error)

	// SetTimetableBlocksForDayTypeWithBodyWithResponse request with any body
	SetTimetableBlocksForDayTypeWithBodyWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTimetableBlocksForDayTypeResponse, error)

	SetTimetableBlocksForDayTypeWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, timetableTypeId TimetableTypeId, dayType DayType, body SetTimetableBlocksForDayTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTimetableBlocksForDayTypeResponse, error)

	// GetZoneStateWithResponse request
	GetZoneStateWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneStateResponse, error)

	// DeactivateOpenWindowStateWithResponse request
	DeactivateOpenWindowStateWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeactivateOpenWindowStateResponse, error)

	// ActivateOpenWindowStateWithResponse request
	ActivateOpenWindowStateWithResponse(ctx context.Context, homeId HomeId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ActivateOpenWindowStateResponse, error)

	// GetMeWithResponse request
	GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateZoneJSONRequestBody

type CreateZoneJSONRequestBody = ZoneCreate

CreateZoneJSONRequestBody defines body for CreateZone for application/json ContentType.

type CreateZoneParams

type CreateZoneParams struct {
	// Force To be investigated further.  'true' seems to indicate that the zone the device belonged to previously should be deleted.
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

CreateZoneParams defines parameters for CreateZone.

type CreateZoneResponse

type CreateZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseCreateZoneResponse

func ParseCreateZoneResponse(rsp *http.Response) (*CreateZoneResponse, error)

ParseCreateZoneResponse parses an HTTP response from a CreateZoneWithResponse call

func (CreateZoneResponse) Status

func (r CreateZoneResponse) Status() string

Status returns HTTPResponse.Status

func (CreateZoneResponse) StatusCode

func (r CreateZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DataInterval

type DataInterval struct {
	From *time.Time `json:"from,omitempty"`
	To   *time.Time `json:"to,omitempty"`
}

DataInterval element of a DayReport

type DayReport

type DayReport struct {
	// CallForHeat element of DayReport
	CallForHeat *CallForHeatTimeSeries `json:"callForHeat,omitempty"`

	// HotWaterProduction Element of DayReport and ZoneState.  Used to express measuredData.measuringDeviceConnected (ZoneState), hotWaterProduction (ZoneState)  and weather.sunny (DayReport)
	HotWaterProduction *BooleanTimeSeries `json:"hotWaterProduction,omitempty"`
	HoursInDay         *int               `json:"hoursInDay,omitempty"`
	Interval           *struct {
		From *time.Time `json:"from,omitempty"`
		To   *time.Time `json:"to,omitempty"`
	} `json:"interval,omitempty"`
	MeasuredData *struct {
		// Humidity Element of DayReport, used to express humidity.
		Humidity *PercentageTimeSeries `json:"humidity,omitempty"`

		// InsideTemperature Element of DayReport, used to express inside temperature.
		InsideTemperature *TemperatureTimeSeries `json:"insideTemperature,omitempty"`

		// MeasuringDeviceConnected Element of DayReport and ZoneState.  Used to express measuredData.measuringDeviceConnected (ZoneState), hotWaterProduction (ZoneState)  and weather.sunny (DayReport)
		MeasuringDeviceConnected *BooleanTimeSeries `json:"measuringDeviceConnected,omitempty"`
	} `json:"measuredData,omitempty"`

	// Settings element of DayReport
	Settings *HeatingSettingTimeSeries `json:"settings,omitempty"`

	// Stripes Element of DayReport
	Stripes *StripesTimeSeries `json:"stripes,omitempty"`
	Weather *struct {
		// Condition Element of DayReport
		Condition *WeatherConditionTimeSeries `json:"condition,omitempty"`

		// Slots Element of DayReport
		Slots *WeatherSlotTimeSeries `json:"slots,omitempty"`

		// Sunny Element of DayReport and ZoneState.  Used to express measuredData.measuringDeviceConnected (ZoneState), hotWaterProduction (ZoneState)  and weather.sunny (DayReport)
		Sunny *BooleanTimeSeries `json:"sunny,omitempty"`
	} `json:"weather,omitempty"`
	ZoneType *ZoneType `json:"zoneType,omitempty"`
}

DayReport result of /homes/{homeId}/zones/{zoneId}/dayReport

type DayType

type DayType string

DayType used in timetables

applicable values: * for timetableType 0 (ONE_DAY) : MONDAY_TO_SUNDAY * for timetableType 1 (THREE_DAY): MONDAY_TO_FRIDAY, SATURDAY, SUNDAY * for timetableType 2 (SEVEN_DAY): MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY

const (
	FRIDAY         DayType = "FRIDAY"
	MONDAY         DayType = "MONDAY"
	MONDAYTOFRIDAY DayType = "MONDAY_TO_FRIDAY"
	MONDAYTOSUNDAY DayType = "MONDAY_TO_SUNDAY"
	SATURDAY       DayType = "SATURDAY"
	SUNDAY         DayType = "SUNDAY"
	THURSDAY       DayType = "THURSDAY"
	TUESDAY        DayType = "TUESDAY"
	WEDNESDAY      DayType = "WEDNESDAY"
)

Defines values for DayType.

type DazzleInput

type DazzleInput struct {
	Enabled *bool `json:"enabled,omitempty"`
}

DazzleInput Used in PUT /homes/{homeId}/zones/{zoneId}/dazzle

type DeactivateOpenWindowStateResponse added in v2.4.0

type DeactivateOpenWindowStateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseDeactivateOpenWindowStateResponse added in v2.4.0

func ParseDeactivateOpenWindowStateResponse(rsp *http.Response) (*DeactivateOpenWindowStateResponse, error)

ParseDeactivateOpenWindowStateResponse parses an HTTP response from a DeactivateOpenWindowStateWithResponse call

func (DeactivateOpenWindowStateResponse) Status added in v2.4.0

Status returns HTTPResponse.Status

func (DeactivateOpenWindowStateResponse) StatusCode added in v2.4.0

func (r DeactivateOpenWindowStateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DefaultZoneOverlay

type DefaultZoneOverlay struct {
	TerminationCondition *struct {
		// DurationInSeconds only applicable when type is TIMER
		DurationInSeconds *int `json:"durationInSeconds,omitempty"`

		// Type Element of a zone overlay.
		// Does not contain NEXT_TIME_BLOCK which is present in the ZoneOverlayTerminationTypeSkillBasedApp enum.
		// Value descriptions:
		// * MANUAL: the (temperature) settings in the ZoneOverlay will last indefinitely
		// * TIMER: the (temperature) settings in the ZoneOverlay will last for a fixed number of seconds,  starting at the moment the ZoneOverlay was set (requires setting durationInSeconds as well)
		// * TADO_MODE: the (temperature) settings in the ZoneOverlay will last until the next time block in the active timetable starts
		Type *ZoneOverlayTerminationType `json:"type,omitempty"`
	} `json:"terminationCondition,omitempty"`
}

DefaultZoneOverlay Used in /homes/{homeId}/zones/{zoneId}/defaultOverlay. It defines the default zone overlay termination type which tado will use when a user set zone settings (like temperature) via a physical tado device like a Smart Thermostat. (this results in setting a ZoneOverlay). The `type` defined here is used as the value for ZoneOverlay.termination.typeSkillBasedApp when setting a ZoneOverlay.

type DeleteMobileDeviceFromHomeParams

type DeleteMobileDeviceFromHomeParams struct {
	// ContentType Strangely enough a 'Content-Type' header with value 'application/json'  is mandatory for this specific endpoint. No other endpoint requires it.
	ContentType string `json:"Content-Type"`
}

DeleteMobileDeviceFromHomeParams defines parameters for DeleteMobileDeviceFromHome.

type DeleteMobileDeviceFromHomeResponse

type DeleteMobileDeviceFromHomeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseDeleteMobileDeviceFromHomeResponse

func ParseDeleteMobileDeviceFromHomeResponse(rsp *http.Response) (*DeleteMobileDeviceFromHomeResponse, error)

ParseDeleteMobileDeviceFromHomeResponse parses an HTTP response from a DeleteMobileDeviceFromHomeWithResponse call

func (DeleteMobileDeviceFromHomeResponse) Status

Status returns HTTPResponse.Status

func (DeleteMobileDeviceFromHomeResponse) StatusCode

func (r DeleteMobileDeviceFromHomeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePresenceLockResponse

type DeletePresenceLockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseDeletePresenceLockResponse

func ParseDeletePresenceLockResponse(rsp *http.Response) (*DeletePresenceLockResponse, error)

ParseDeletePresenceLockResponse parses an HTTP response from a DeletePresenceLockWithResponse call

func (DeletePresenceLockResponse) Status

Status returns HTTPResponse.Status

func (DeletePresenceLockResponse) StatusCode

func (r DeletePresenceLockResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteZoneOverlayResponse

type DeleteZoneOverlayResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseDeleteZoneOverlayResponse

func ParseDeleteZoneOverlayResponse(rsp *http.Response) (*DeleteZoneOverlayResponse, error)

ParseDeleteZoneOverlayResponse parses an HTTP response from a DeleteZoneOverlayWithResponse call

func (DeleteZoneOverlayResponse) Status

func (r DeleteZoneOverlayResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteZoneOverlayResponse) StatusCode

func (r DeleteZoneOverlayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteZoneOverlaysParams

type DeleteZoneOverlaysParams struct {
	// Rooms list of zone IDs whose overlay should be removed (do not include a HOT_WATER zone ID)
	Rooms []ZoneId `form:"rooms" json:"rooms"`
}

DeleteZoneOverlaysParams defines parameters for DeleteZoneOverlays.

type DeleteZoneOverlaysResponse

type DeleteZoneOverlaysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseDeleteZoneOverlaysResponse

func ParseDeleteZoneOverlaysResponse(rsp *http.Response) (*DeleteZoneOverlaysResponse, error)

ParseDeleteZoneOverlaysResponse parses an HTTP response from a DeleteZoneOverlaysWithResponse call

func (DeleteZoneOverlaysResponse) Status

Status returns HTTPResponse.Status

func (DeleteZoneOverlaysResponse) StatusCode

func (r DeleteZoneOverlaysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Device

type Device struct {
	// BatteryState device property known to be present for DeviceType SU02, VA02
	BatteryState    *BatteryState `json:"batteryState,omitempty"`
	Characteristics *struct {
		// Capabilities array known to be empty for DeviceType BR02
		Capabilities *[]string `json:"capabilities,omitempty"`
	} `json:"characteristics,omitempty"`

	// ChildLockEnabled property known to be present for DeviceType VA02
	ChildLockEnabled *bool `json:"childLockEnabled,omitempty"`

	// ConnectionState property known to be present for DeviceType SU02, VA02, BR02
	ConnectionState *struct {
		Timestamp *time.Time `json:"timestamp,omitempty"`
		Value     *bool      `json:"value,omitempty"`
	} `json:"connectionState,omitempty"`
	CurrentFwVersion *string `json:"currentFwVersion,omitempty"`

	// DeviceType data element of Device
	//
	// known values:  * GW01 (Gateway V1)
	// * GW02 (Bridge V2)
	// * IB01 (Internet Bridge V3+)
	// * BX02 (Box V1)
	// * BU01 (Extension Kit UK)
	// * EK01 (Extension Kit UK)
	// * BR02 (Wireless Receiver V3+)
	// * BP02 (Wireless Receiver UK V3+)
	// * RU01 (Smart Thermostat V3)
	// * RU02 (Wired Smart Thermostat V3+)
	// * TS02 (Temp Sensor V1)
	// * SU02 (Wireless Temperature Sensor V3+)
	// * VA01 (Smart Radiator Thermostat V3)
	// * VA02 (Smart Radiator Thermostat V3+)
	DeviceType *DeviceType `json:"deviceType,omitempty"`

	// InPairingMode property known to be present for DeviceType IB01
	InPairingMode *bool `json:"inPairingMode,omitempty"`

	// IsDriverConfigured property known to be present for DeviceType BR02
	IsDriverConfigured *bool `json:"isDriverConfigured,omitempty"`

	// MountingState property known to be present for DeviceType VA02
	MountingState *struct {
		Timestamp *time.Time `json:"timestamp,omitempty"`

		// Value known values:
		// * CALIBRATED
		// * CALIBRATING
		Value *string `json:"value,omitempty"`
	} `json:"mountingState,omitempty"`

	// MountingStateWithError property known to be present for DeviceType VA02;
	// known values:
	// * CALIBRATED
	// * CALIBRATING
	MountingStateWithError *string `json:"mountingStateWithError,omitempty"`

	// Orientation tado device property known to be present for DeviceType VA02
	Orientation *Orientation `json:"orientation,omitempty"`

	// SerialNo the serialNo of a tado device
	SerialNo      *DeviceId `json:"serialNo,omitempty"`
	ShortSerialNo *string   `json:"shortSerialNo,omitempty"`
}

Device A piece of tado hardware

Some of the properties are only available for certain device types. Certain values for some properties are only applicable to certain device types. Wherever device type specific information is known, it is documented. But you cannot count on this information being fully complete.

type DeviceExtra

type DeviceExtra struct {
	// BatteryState device property known to be present for DeviceType SU02, VA02
	BatteryState    *BatteryState `json:"batteryState,omitempty"`
	Characteristics *struct {
		// Capabilities array known to be empty for DeviceType BR02
		Capabilities *[]string `json:"capabilities,omitempty"`
	} `json:"characteristics,omitempty"`

	// ChildLockEnabled property known to be present for DeviceType VA02
	ChildLockEnabled *bool `json:"childLockEnabled,omitempty"`

	// ConnectionState property known to be present for DeviceType SU02, VA02, BR02
	ConnectionState *struct {
		Timestamp *time.Time `json:"timestamp,omitempty"`
		Value     *bool      `json:"value,omitempty"`
	} `json:"connectionState,omitempty"`
	CurrentFwVersion *string `json:"currentFwVersion,omitempty"`

	// DeviceType data element of Device
	//
	// known values:  * GW01 (Gateway V1)
	// * GW02 (Bridge V2)
	// * IB01 (Internet Bridge V3+)
	// * BX02 (Box V1)
	// * BU01 (Extension Kit UK)
	// * EK01 (Extension Kit UK)
	// * BR02 (Wireless Receiver V3+)
	// * BP02 (Wireless Receiver UK V3+)
	// * RU01 (Smart Thermostat V3)
	// * RU02 (Wired Smart Thermostat V3+)
	// * TS02 (Temp Sensor V1)
	// * SU02 (Wireless Temperature Sensor V3+)
	// * VA01 (Smart Radiator Thermostat V3)
	// * VA02 (Smart Radiator Thermostat V3+)
	DeviceType *DeviceType `json:"deviceType,omitempty"`
	Duties     *[]string   `json:"duties,omitempty"`

	// InPairingMode property known to be present for DeviceType IB01
	InPairingMode *bool `json:"inPairingMode,omitempty"`

	// IsDriverConfigured property known to be present for DeviceType BR02
	IsDriverConfigured *bool `json:"isDriverConfigured,omitempty"`

	// MountingState property known to be present for DeviceType VA02
	MountingState *struct {
		Timestamp *time.Time `json:"timestamp,omitempty"`

		// Value known values:
		// * CALIBRATED
		// * CALIBRATING
		Value *string `json:"value,omitempty"`
	} `json:"mountingState,omitempty"`

	// MountingStateWithError property known to be present for DeviceType VA02;
	// known values:
	// * CALIBRATED
	// * CALIBRATING
	MountingStateWithError *string `json:"mountingStateWithError,omitempty"`

	// Orientation tado device property known to be present for DeviceType VA02
	Orientation *Orientation `json:"orientation,omitempty"`

	// SerialNo the serialNo of a tado device
	SerialNo      *DeviceId `json:"serialNo,omitempty"`
	ShortSerialNo *string   `json:"shortSerialNo,omitempty"`
}

DeviceExtra defines model for DeviceExtra.

type DeviceId

type DeviceId = string

DeviceId the serialNo of a tado device

type DeviceList

type DeviceList struct {
	Entries *[]DeviceListItem `json:"entries,omitempty"`
}

DeviceList result of /homes/{homeId}/zones/{zoneId}/deviceList

type DeviceListItem

type DeviceListItem struct {
	// Device A piece of tado hardware
	//
	// Some of the properties are only available for certain device types.  Certain values for some properties are only applicable to certain device types.  Wherever device type specific information is known, it is documented.  But you cannot count on this information being fully complete.
	Device *Device `json:"device,omitempty"`

	// Type data element of Device
	//
	// known values:  * GW01 (Gateway V1)
	// * GW02 (Bridge V2)
	// * IB01 (Internet Bridge V3+)
	// * BX02 (Box V1)
	// * BU01 (Extension Kit UK)
	// * EK01 (Extension Kit UK)
	// * BR02 (Wireless Receiver V3+)
	// * BP02 (Wireless Receiver UK V3+)
	// * RU01 (Smart Thermostat V3)
	// * RU02 (Wired Smart Thermostat V3+)
	// * TS02 (Temp Sensor V1)
	// * SU02 (Wireless Temperature Sensor V3+)
	// * VA01 (Smart Radiator Thermostat V3)
	// * VA02 (Smart Radiator Thermostat V3+)
	Type *DeviceType `json:"type,omitempty"`

	// Zone This property is not present for devices of type 'IB01' (Internet Bridge) and 'BR02' (Wireless Receiver).
	Zone *struct {
		// Discriminator ID of a zone (unique only within the home it belongs to)
		Discriminator *ZoneId `json:"discriminator,omitempty"`

		// Duties This property has only been seen for devices of type 'SU02'
		Duties *[]string `json:"duties,omitempty"`
	} `json:"zone,omitempty"`
}

DeviceListItem Element of DeviceList

type DeviceType

type DeviceType = string

DeviceType data element of Device

known values: * GW01 (Gateway V1) * GW02 (Bridge V2) * IB01 (Internet Bridge V3+) * BX02 (Box V1) * BU01 (Extension Kit UK) * EK01 (Extension Kit UK) * BR02 (Wireless Receiver V3+) * BP02 (Wireless Receiver UK V3+) * RU01 (Smart Thermostat V3) * RU02 (Wired Smart Thermostat V3+) * TS02 (Temp Sensor V1) * SU02 (Wireless Temperature Sensor V3+) * VA01 (Smart Radiator Thermostat V3) * VA02 (Smart Radiator Thermostat V3+)

type EarlyStart

type EarlyStart struct {
	Enabled *bool `json:"enabled,omitempty"`
}

EarlyStart defines model for EarlyStart.

type Error

type Error struct {
	// Code meaningful textual code associated with the HTTP status code like 'accessDenied' (for 403) or 'unauthorized' for (401)
	Code *string `json:"code,omitempty"`

	// Title detailed description of the error in natural language (english)
	Title *string `json:"title,omitempty"`
}

Error defines model for Error.

type Error422 added in v2.0.1

type Error422 struct {
	// Code meaningful textual code associated with the HTTP status code like 'accessDenied' (for 403) or 'unauthorized' for (401)
	Code *string `json:"code,omitempty"`

	// Title detailed description of the error in natural language (english)
	Title    *string   `json:"title,omitempty"`
	ZoneType *ZoneType `json:"zoneType,omitempty"`
}

Error422 defines model for Error422.

type ErrorResponse

type ErrorResponse struct {
	Errors *[]Error `json:"errors,omitempty"`
}

ErrorResponse error object returned for non-200 responses

type ErrorResponse422

type ErrorResponse422 struct {
	Errors *[]Error422 `json:"errors,omitempty"`
}

ErrorResponse422 error object returned for 422 responses

type FanLevel

type FanLevel string

FanLevel Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase

const (
	FanLevelAUTO   FanLevel = "AUTO"
	FanLevelLEVEL1 FanLevel = "LEVEL1"
	FanLevelLEVEL2 FanLevel = "LEVEL2"
	FanLevelLEVEL3 FanLevel = "LEVEL3"
	FanLevelLEVEL4 FanLevel = "LEVEL4"
	FanLevelLEVEL5 FanLevel = "LEVEL5"
	FanLevelSILENT FanLevel = "SILENT"
)

Defines values for FanLevel.

type GetActiveTimetableTypeResponse

type GetActiveTimetableTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TimetableType
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseGetActiveTimetableTypeResponse

func ParseGetActiveTimetableTypeResponse(rsp *http.Response) (*GetActiveTimetableTypeResponse, error)

ParseGetActiveTimetableTypeResponse parses an HTTP response from a GetActiveTimetableTypeWithResponse call

func (GetActiveTimetableTypeResponse) Status

Status returns HTTPResponse.Status

func (GetActiveTimetableTypeResponse) StatusCode

func (r GetActiveTimetableTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAirComfortResponse

type GetAirComfortResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AirComfort
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetAirComfortResponse

func ParseGetAirComfortResponse(rsp *http.Response) (*GetAirComfortResponse, error)

ParseGetAirComfortResponse parses an HTTP response from a GetAirComfortWithResponse call

func (GetAirComfortResponse) Status

func (r GetAirComfortResponse) Status() string

Status returns HTTPResponse.Status

func (GetAirComfortResponse) StatusCode

func (r GetAirComfortResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAwayConfigurationResponse

type GetAwayConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneAwayConfiguration
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetAwayConfigurationResponse

func ParseGetAwayConfigurationResponse(rsp *http.Response) (*GetAwayConfigurationResponse, error)

ParseGetAwayConfigurationResponse parses an HTTP response from a GetAwayConfigurationWithResponse call

func (GetAwayConfigurationResponse) Status

Status returns HTTPResponse.Status

func (GetAwayConfigurationResponse) StatusCode

func (r GetAwayConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBoilerInfoParams added in v2.4.0

type GetBoilerInfoParams struct {
	// AuthKey printed on your tado Internet Bridge
	AuthKey string `form:"authKey" json:"authKey"`
}

GetBoilerInfoParams defines parameters for GetBoilerInfo.

type GetBoilerInfoResponse added in v2.4.0

type GetBoilerInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Boiler2
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetBoilerInfoResponse added in v2.4.0

func ParseGetBoilerInfoResponse(rsp *http.Response) (*GetBoilerInfoResponse, error)

ParseGetBoilerInfoResponse parses an HTTP response from a GetBoilerInfoWithResponse call

func (GetBoilerInfoResponse) Status added in v2.4.0

func (r GetBoilerInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetBoilerInfoResponse) StatusCode added in v2.4.0

func (r GetBoilerInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBoilerMaxOutputTemperatureParams added in v2.4.0

type GetBoilerMaxOutputTemperatureParams struct {
	// AuthKey printed on your tado Internet Bridge
	AuthKey string `form:"authKey" json:"authKey"`
}

GetBoilerMaxOutputTemperatureParams defines parameters for GetBoilerMaxOutputTemperature.

type GetBoilerMaxOutputTemperatureResponse added in v2.4.0

type GetBoilerMaxOutputTemperatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BoilerMaxOutputTemperature
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetBoilerMaxOutputTemperatureResponse added in v2.4.0

func ParseGetBoilerMaxOutputTemperatureResponse(rsp *http.Response) (*GetBoilerMaxOutputTemperatureResponse, error)

ParseGetBoilerMaxOutputTemperatureResponse parses an HTTP response from a GetBoilerMaxOutputTemperatureWithResponse call

func (GetBoilerMaxOutputTemperatureResponse) Status added in v2.4.0

Status returns HTTPResponse.Status

func (GetBoilerMaxOutputTemperatureResponse) StatusCode added in v2.4.0

StatusCode returns HTTPResponse.StatusCode

type GetBoilerWiringInstallationStateParams added in v2.4.0

type GetBoilerWiringInstallationStateParams struct {
	// AuthKey printed on your tado Internet Bridge
	AuthKey string `form:"authKey" json:"authKey"`
}

GetBoilerWiringInstallationStateParams defines parameters for GetBoilerWiringInstallationState.

type GetBoilerWiringInstallationStateResponse added in v2.4.0

type GetBoilerWiringInstallationStateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BoilerWiringInstallationState
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetBoilerWiringInstallationStateResponse added in v2.4.0

func ParseGetBoilerWiringInstallationStateResponse(rsp *http.Response) (*GetBoilerWiringInstallationStateResponse, error)

ParseGetBoilerWiringInstallationStateResponse parses an HTTP response from a GetBoilerWiringInstallationStateWithResponse call

func (GetBoilerWiringInstallationStateResponse) Status added in v2.4.0

Status returns HTTPResponse.Status

func (GetBoilerWiringInstallationStateResponse) StatusCode added in v2.4.0

StatusCode returns HTTPResponse.StatusCode

type GetBridgeParams added in v2.4.0

type GetBridgeParams struct {
	// AuthKey printed on your tado Internet Bridge
	AuthKey string `form:"authKey" json:"authKey"`
}

GetBridgeParams defines parameters for GetBridge.

type GetBridgeResponse added in v2.4.0

type GetBridgeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Bridge
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetBridgeResponse added in v2.4.0

func ParseGetBridgeResponse(rsp *http.Response) (*GetBridgeResponse, error)

ParseGetBridgeResponse parses an HTTP response from a GetBridgeWithResponse call

func (GetBridgeResponse) Status added in v2.4.0

func (r GetBridgeResponse) Status() string

Status returns HTTPResponse.Status

func (GetBridgeResponse) StatusCode added in v2.4.0

func (r GetBridgeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDefaultZoneOverlayResponse

type GetDefaultZoneOverlayResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DefaultZoneOverlay
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetDefaultZoneOverlayResponse

func ParseGetDefaultZoneOverlayResponse(rsp *http.Response) (*GetDefaultZoneOverlayResponse, error)

ParseGetDefaultZoneOverlayResponse parses an HTTP response from a GetDefaultZoneOverlayWithResponse call

func (GetDefaultZoneOverlayResponse) Status

Status returns HTTPResponse.Status

func (GetDefaultZoneOverlayResponse) StatusCode

func (r GetDefaultZoneOverlayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeviceListResponse

type GetDeviceListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeviceList
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetDeviceListResponse

func ParseGetDeviceListResponse(rsp *http.Response) (*GetDeviceListResponse, error)

ParseGetDeviceListResponse parses an HTTP response from a GetDeviceListWithResponse call

func (GetDeviceListResponse) Status

func (r GetDeviceListResponse) Status() string

Status returns HTTPResponse.Status

func (GetDeviceListResponse) StatusCode

func (r GetDeviceListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeviceResponse

type GetDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Device
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetDeviceResponse

func ParseGetDeviceResponse(rsp *http.Response) (*GetDeviceResponse, error)

ParseGetDeviceResponse parses an HTTP response from a GetDeviceWithResponse call

func (GetDeviceResponse) Status

func (r GetDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (GetDeviceResponse) StatusCode

func (r GetDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDevicesResponse

type GetDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Device
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetDevicesResponse

func ParseGetDevicesResponse(rsp *http.Response) (*GetDevicesResponse, error)

ParseGetDevicesResponse parses an HTTP response from a GetDevicesWithResponse call

func (GetDevicesResponse) Status

func (r GetDevicesResponse) Status() string

Status returns HTTPResponse.Status

func (GetDevicesResponse) StatusCode

func (r GetDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEarlyStartResponse

type GetEarlyStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EarlyStart
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseGetEarlyStartResponse

func ParseGetEarlyStartResponse(rsp *http.Response) (*GetEarlyStartResponse, error)

ParseGetEarlyStartResponse parses an HTTP response from a GetEarlyStartWithResponse call

func (GetEarlyStartResponse) Status

func (r GetEarlyStartResponse) Status() string

Status returns HTTPResponse.Status

func (GetEarlyStartResponse) StatusCode

func (r GetEarlyStartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHeatingCircuitsResponse

type GetHeatingCircuitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]HeatingCircuit
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetHeatingCircuitsResponse

func ParseGetHeatingCircuitsResponse(rsp *http.Response) (*GetHeatingCircuitsResponse, error)

ParseGetHeatingCircuitsResponse parses an HTTP response from a GetHeatingCircuitsWithResponse call

func (GetHeatingCircuitsResponse) Status

Status returns HTTPResponse.Status

func (GetHeatingCircuitsResponse) StatusCode

func (r GetHeatingCircuitsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHeatingSystemResponse

type GetHeatingSystemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *HeatingSystem
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetHeatingSystemResponse

func ParseGetHeatingSystemResponse(rsp *http.Response) (*GetHeatingSystemResponse, error)

ParseGetHeatingSystemResponse parses an HTTP response from a GetHeatingSystemWithResponse call

func (GetHeatingSystemResponse) Status

func (r GetHeatingSystemResponse) Status() string

Status returns HTTPResponse.Status

func (GetHeatingSystemResponse) StatusCode

func (r GetHeatingSystemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHomeResponse

type GetHomeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Home
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetHomeResponse

func ParseGetHomeResponse(rsp *http.Response) (*GetHomeResponse, error)

ParseGetHomeResponse parses an HTTP response from a GetHomeWithResponse call

func (GetHomeResponse) Status

func (r GetHomeResponse) Status() string

Status returns HTTPResponse.Status

func (GetHomeResponse) StatusCode

func (r GetHomeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHomeStateResponse

type GetHomeStateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *HomeState
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetHomeStateResponse

func ParseGetHomeStateResponse(rsp *http.Response) (*GetHomeStateResponse, error)

ParseGetHomeStateResponse parses an HTTP response from a GetHomeStateWithResponse call

func (GetHomeStateResponse) Status

func (r GetHomeStateResponse) Status() string

Status returns HTTPResponse.Status

func (GetHomeStateResponse) StatusCode

func (r GetHomeStateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIncidentDetectionResponse

type GetIncidentDetectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IncidentDetection
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetIncidentDetectionResponse

func ParseGetIncidentDetectionResponse(rsp *http.Response) (*GetIncidentDetectionResponse, error)

ParseGetIncidentDetectionResponse parses an HTTP response from a GetIncidentDetectionWithResponse call

func (GetIncidentDetectionResponse) Status

Status returns HTTPResponse.Status

func (GetIncidentDetectionResponse) StatusCode

func (r GetIncidentDetectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstallationsResponse

type GetInstallationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]map[string]interface{}
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetInstallationsResponse

func ParseGetInstallationsResponse(rsp *http.Response) (*GetInstallationsResponse, error)

ParseGetInstallationsResponse parses an HTTP response from a GetInstallationsWithResponse call

func (GetInstallationsResponse) Status

func (r GetInstallationsResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstallationsResponse) StatusCode

func (r GetInstallationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMeResponse

type GetMeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON401      *Unauthorized401
}

func ParseGetMeResponse

func ParseGetMeResponse(rsp *http.Response) (*GetMeResponse, error)

ParseGetMeResponse parses an HTTP response from a GetMeWithResponse call

func (GetMeResponse) Status

func (r GetMeResponse) Status() string

Status returns HTTPResponse.Status

func (GetMeResponse) StatusCode

func (r GetMeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMobileDeviceResponse

type GetMobileDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MobileDevice
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetMobileDeviceResponse

func ParseGetMobileDeviceResponse(rsp *http.Response) (*GetMobileDeviceResponse, error)

ParseGetMobileDeviceResponse parses an HTTP response from a GetMobileDeviceWithResponse call

func (GetMobileDeviceResponse) Status

func (r GetMobileDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (GetMobileDeviceResponse) StatusCode

func (r GetMobileDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMobileDeviceSettingsResponse

type GetMobileDeviceSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MobileDeviceSettings
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetMobileDeviceSettingsResponse

func ParseGetMobileDeviceSettingsResponse(rsp *http.Response) (*GetMobileDeviceSettingsResponse, error)

ParseGetMobileDeviceSettingsResponse parses an HTTP response from a GetMobileDeviceSettingsWithResponse call

func (GetMobileDeviceSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetMobileDeviceSettingsResponse) StatusCode

func (r GetMobileDeviceSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMobileDevicesResponse

type GetMobileDevicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MobileDevice
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetMobileDevicesResponse

func ParseGetMobileDevicesResponse(rsp *http.Response) (*GetMobileDevicesResponse, error)

ParseGetMobileDevicesResponse parses an HTTP response from a GetMobileDevicesWithResponse call

func (GetMobileDevicesResponse) Status

func (r GetMobileDevicesResponse) Status() string

Status returns HTTPResponse.Status

func (GetMobileDevicesResponse) StatusCode

func (r GetMobileDevicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemperatureOffsetResponse

type GetTemperatureOffsetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Temperature
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetTemperatureOffsetResponse

func ParseGetTemperatureOffsetResponse(rsp *http.Response) (*GetTemperatureOffsetResponse, error)

ParseGetTemperatureOffsetResponse parses an HTTP response from a GetTemperatureOffsetWithResponse call

func (GetTemperatureOffsetResponse) Status

Status returns HTTPResponse.Status

func (GetTemperatureOffsetResponse) StatusCode

func (r GetTemperatureOffsetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTimetableBlocksByDayTypeResponse

type GetTimetableBlocksByDayTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TimetableBlock
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetTimetableBlocksByDayTypeResponse

func ParseGetTimetableBlocksByDayTypeResponse(rsp *http.Response) (*GetTimetableBlocksByDayTypeResponse, error)

ParseGetTimetableBlocksByDayTypeResponse parses an HTTP response from a GetTimetableBlocksByDayTypeWithResponse call

func (GetTimetableBlocksByDayTypeResponse) Status

Status returns HTTPResponse.Status

func (GetTimetableBlocksByDayTypeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUsersResponse

type GetUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]User
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetUsersResponse

func ParseGetUsersResponse(rsp *http.Response) (*GetUsersResponse, error)

ParseGetUsersResponse parses an HTTP response from a GetUsersWithResponse call

func (GetUsersResponse) Status

func (r GetUsersResponse) Status() string

Status returns HTTPResponse.Status

func (GetUsersResponse) StatusCode

func (r GetUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWeatherResponse

type GetWeatherResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Weather
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetWeatherResponse

func ParseGetWeatherResponse(rsp *http.Response) (*GetWeatherResponse, error)

ParseGetWeatherResponse parses an HTTP response from a GetWeatherWithResponse call

func (GetWeatherResponse) Status

func (r GetWeatherResponse) Status() string

Status returns HTTPResponse.Status

func (GetWeatherResponse) StatusCode

func (r GetWeatherResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneCapabilitiesResponse

type GetZoneCapabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneCapabilities
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneCapabilitiesResponse

func ParseGetZoneCapabilitiesResponse(rsp *http.Response) (*GetZoneCapabilitiesResponse, error)

ParseGetZoneCapabilitiesResponse parses an HTTP response from a GetZoneCapabilitiesWithResponse call

func (GetZoneCapabilitiesResponse) Status

Status returns HTTPResponse.Status

func (GetZoneCapabilitiesResponse) StatusCode

func (r GetZoneCapabilitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneControlResponse

type GetZoneControlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneControl
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneControlResponse

func ParseGetZoneControlResponse(rsp *http.Response) (*GetZoneControlResponse, error)

ParseGetZoneControlResponse parses an HTTP response from a GetZoneControlWithResponse call

func (GetZoneControlResponse) Status

func (r GetZoneControlResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneControlResponse) StatusCode

func (r GetZoneControlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneDayReportParams

type GetZoneDayReportParams struct {
	Date openapi_types.Date `form:"date" json:"date"`
}

GetZoneDayReportParams defines parameters for GetZoneDayReport.

type GetZoneDayReportResponse

type GetZoneDayReportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DayReport
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneDayReportResponse

func ParseGetZoneDayReportResponse(rsp *http.Response) (*GetZoneDayReportResponse, error)

ParseGetZoneDayReportResponse parses an HTTP response from a GetZoneDayReportWithResponse call

func (GetZoneDayReportResponse) Status

func (r GetZoneDayReportResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneDayReportResponse) StatusCode

func (r GetZoneDayReportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneMeasuringDeviceResponse

type GetZoneMeasuringDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Device
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneMeasuringDeviceResponse

func ParseGetZoneMeasuringDeviceResponse(rsp *http.Response) (*GetZoneMeasuringDeviceResponse, error)

ParseGetZoneMeasuringDeviceResponse parses an HTTP response from a GetZoneMeasuringDeviceWithResponse call

func (GetZoneMeasuringDeviceResponse) Status

Status returns HTTPResponse.Status

func (GetZoneMeasuringDeviceResponse) StatusCode

func (r GetZoneMeasuringDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneOverlayResponse

type GetZoneOverlayResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneOverlay
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneOverlayResponse

func ParseGetZoneOverlayResponse(rsp *http.Response) (*GetZoneOverlayResponse, error)

ParseGetZoneOverlayResponse parses an HTTP response from a GetZoneOverlayWithResponse call

func (GetZoneOverlayResponse) Status

func (r GetZoneOverlayResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneOverlayResponse) StatusCode

func (r GetZoneOverlayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneStateResponse

type GetZoneStateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneState
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneStateResponse

func ParseGetZoneStateResponse(rsp *http.Response) (*GetZoneStateResponse, error)

ParseGetZoneStateResponse parses an HTTP response from a GetZoneStateWithResponse call

func (GetZoneStateResponse) Status

func (r GetZoneStateResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneStateResponse) StatusCode

func (r GetZoneStateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneStatesResponse

type GetZoneStatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneStates
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneStatesResponse

func ParseGetZoneStatesResponse(rsp *http.Response) (*GetZoneStatesResponse, error)

ParseGetZoneStatesResponse parses an HTTP response from a GetZoneStatesWithResponse call

func (GetZoneStatesResponse) Status

func (r GetZoneStatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneStatesResponse) StatusCode

func (r GetZoneStatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneTimetableBlocksResponse

type GetZoneTimetableBlocksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TimetableBlock
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneTimetableBlocksResponse

func ParseGetZoneTimetableBlocksResponse(rsp *http.Response) (*GetZoneTimetableBlocksResponse, error)

ParseGetZoneTimetableBlocksResponse parses an HTTP response from a GetZoneTimetableBlocksWithResponse call

func (GetZoneTimetableBlocksResponse) Status

Status returns HTTPResponse.Status

func (GetZoneTimetableBlocksResponse) StatusCode

func (r GetZoneTimetableBlocksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneTimetableResponse

type GetZoneTimetableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TimetableType
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
}

func ParseGetZoneTimetableResponse

func ParseGetZoneTimetableResponse(rsp *http.Response) (*GetZoneTimetableResponse, error)

ParseGetZoneTimetableResponse parses an HTTP response from a GetZoneTimetableWithResponse call

func (GetZoneTimetableResponse) Status

func (r GetZoneTimetableResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneTimetableResponse) StatusCode

func (r GetZoneTimetableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneTimetablesResponse

type GetZoneTimetablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TimetableType
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetZoneTimetablesResponse

func ParseGetZoneTimetablesResponse(rsp *http.Response) (*GetZoneTimetablesResponse, error)

ParseGetZoneTimetablesResponse parses an HTTP response from a GetZoneTimetablesWithResponse call

func (GetZoneTimetablesResponse) Status

func (r GetZoneTimetablesResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneTimetablesResponse) StatusCode

func (r GetZoneTimetablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZonesResponse

type GetZonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Zone
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseGetZonesResponse

func ParseGetZonesResponse(rsp *http.Response) (*GetZonesResponse, error)

ParseGetZonesResponse parses an HTTP response from a GetZonesWithResponse call

func (GetZonesResponse) Status

func (r GetZonesResponse) Status() string

Status returns HTTPResponse.Status

func (GetZonesResponse) StatusCode

func (r GetZonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HeatingCircuit

type HeatingCircuit struct {
	// DriverSerialNo serial number of the tado device which controls the heating circuit
	DriverSerialNo *string `json:"driverSerialNo,omitempty"`

	// DriverShortSerialNo short serial number of the tado device which controls the heating circuit
	DriverShortSerialNo *string           `json:"driverShortSerialNo,omitempty"`
	Number              *HeatingCircuitId `json:"number,omitempty"`
}

HeatingCircuit Result of /homes/{homeId}/heatingCircuits

A tado device which controls a heating circuit

type HeatingCircuitId

type HeatingCircuitId = int

HeatingCircuitId defines model for HeatingCircuitId.

type HeatingCircuitInput

type HeatingCircuitInput struct {
	CircuitNumber *HeatingCircuitId `json:"circuitNumber,omitempty"`
}

HeatingCircuitInput Used in PUT /homes/{homeId}/zones/{zoneId}/control/heatingCircuit

type HeatingSettingDataInterval

type HeatingSettingDataInterval struct {
	From  *time.Time           `json:"from,omitempty"`
	To    *time.Time           `json:"to,omitempty"`
	Value *HeatingSettingValue `json:"value,omitempty"`
}

HeatingSettingDataInterval defines model for HeatingSettingDataInterval.

type HeatingSettingTimeSeries

type HeatingSettingTimeSeries struct {
	DataIntervals  *[]HeatingSettingDataInterval `json:"dataIntervals,omitempty"`
	TimeSeriesType *string                       `json:"timeSeriesType,omitempty"`
	ValueType      *string                       `json:"valueType,omitempty"`
}

HeatingSettingTimeSeries element of DayReport

type HeatingSettingValue

type HeatingSettingValue struct {
	// Power used in ZoneSetting
	Power       *Power       `json:"power,omitempty"`
	Temperature *Temperature `json:"temperature,omitempty"`
	Type        *string      `json:"type,omitempty"`
}

HeatingSettingValue defines model for HeatingSettingValue.

type HeatingSystem

type HeatingSystem struct {
	// Boiler element of HeatingSystem
	Boiler *Boiler1 `json:"boiler,omitempty"`

	// UnderfloorHeating Element of HeatingSystem
	UnderfloorHeating *UnderfloorHeating `json:"underfloorHeating,omitempty"`
}

HeatingSystem result of /homes/{homeId}/heatingSystem

type Home

type Home struct {
	// Address postal address of this home
	Address *struct {
		AddressLine1 *string `json:"addressLine1,omitempty"`
		AddressLine2 *string `json:"addressLine2"`
		City         *string `json:"city,omitempty"`

		// Country most probably an ISO 3166-1 alpha-3 country code
		Country *string `json:"country,omitempty"`
		State   *string `json:"state"`
		ZipCode *string `json:"zipCode,omitempty"`
	} `json:"address,omitempty"`
	AwayRadiusInMeters *int `json:"awayRadiusInMeters,omitempty"`

	// ChristmasModeEnabled no idea what this means, but would be really interesting to know more...
	ChristmasModeEnabled  *bool `json:"christmasModeEnabled,omitempty"`
	ConsentGrantSkippable *bool `json:"consentGrantSkippable,omitempty"`

	// ContactDetails the primary contact for this home;  also appears to be the only one to receive any email notifications (like 'low battery' or 'open window' warnings)
	ContactDetails *struct {
		Email *string `json:"email,omitempty"`
		Name  *string `json:"name,omitempty"`
		Phone *string `json:"phone,omitempty"`
	} `json:"contactDetails,omitempty"`
	DateCreated     *time.Time `json:"dateCreated,omitempty"`
	DateTimeZone    *string    `json:"dateTimeZone,omitempty"`
	EnabledFeatures *[]string  `json:"enabledFeatures,omitempty"`

	// Generation known values:
	// * PRE_LINE_X
	// * LINE_X
	Generation *string `json:"generation,omitempty"`

	// Geolocation Geo location of this home.
	Geolocation *struct {
		Latitude  *float32 `json:"latitude,omitempty"`
		Longitude *float32 `json:"longitude,omitempty"`
	} `json:"geolocation,omitempty"`

	// Id unique home ID
	Id *HomeId `json:"id,omitempty"`

	// IncidentDetection Data elements of a Home. And used in /homes/{homeId}/incidentDetection
	IncidentDetection     *IncidentDetection `json:"incidentDetection,omitempty"`
	InstallationCompleted *bool              `json:"installationCompleted,omitempty"`
	IsAirComfortEligible  *bool              `json:"isAirComfortEligible,omitempty"`
	IsBalanceAcEligible   *bool              `json:"isBalanceAcEligible,omitempty"`
	IsBalanceHpEligible   *bool              `json:"isBalanceHpEligible,omitempty"`
	IsEnergyIqEligible    *bool              `json:"isEnergyIqEligible,omitempty"`
	IsHeatPumpInstalled   *bool              `json:"isHeatPumpInstalled,omitempty"`
	IsHeatSourceInstalled *bool              `json:"isHeatSourceInstalled,omitempty"`
	Language              *string            `json:"language,omitempty"`

	// Name user assigned name for this home
	Name *string `json:"name,omitempty"`

	// Partner meaning and type of this property is unknown
	Partner                    *interface{} `json:"partner"`
	ShowAutoAssistReminders    *bool        `json:"showAutoAssistReminders,omitempty"`
	SimpleSmartScheduleEnabled *bool        `json:"simpleSmartScheduleEnabled,omitempty"`

	// Skills this is assumed to be an array of strings, currently tested set-up returns an empty array
	Skills                              *[]string            `json:"skills,omitempty"`
	SupportsFlowTemperatureOptimization *bool                `json:"supportsFlowTemperatureOptimization,omitempty"`
	TemperatureUnit                     *HomeTemperatureUnit `json:"temperatureUnit,omitempty"`

	// ZonesCount number of zones is this home
	ZonesCount *int `json:"zonesCount,omitempty"`
}

Home defines model for Home.

type HomeBase

type HomeBase struct {
	// Id unique home ID
	Id *HomeId `json:"id,omitempty"`

	// Name user assigned name for this home
	Name *string `json:"name,omitempty"`
}

HomeBase basic home information which is present in the User component

type HomeDetails

type HomeDetails struct {
	// Address postal address of this home
	Address *struct {
		AddressLine1 *string `json:"addressLine1,omitempty"`
		AddressLine2 *string `json:"addressLine2"`
		City         *string `json:"city,omitempty"`

		// Country most probably an ISO 3166-1 alpha-3 country code
		Country *string `json:"country,omitempty"`
		State   *string `json:"state"`
		ZipCode *string `json:"zipCode,omitempty"`
	} `json:"address,omitempty"`

	// ContactDetails the primary contact for this home;  also appears to be the only one to receive any email notifications (like 'low battery' or 'open window' warnings)
	ContactDetails *struct {
		Email *string `json:"email,omitempty"`
		Name  *string `json:"name,omitempty"`
		Phone *string `json:"phone,omitempty"`
	} `json:"contactDetails,omitempty"`

	// Geolocation Geo location of this home.
	Geolocation *struct {
		Latitude  *float32 `json:"latitude,omitempty"`
		Longitude *float32 `json:"longitude,omitempty"`
	} `json:"geolocation,omitempty"`

	// Id unique home ID
	Id *HomeId `json:"id,omitempty"`

	// Name user assigned name for this home
	Name *string `json:"name,omitempty"`
}

HomeDetails defines model for HomeDetails.

type HomeId

type HomeId = int64

HomeId unique home ID

type HomePresence

type HomePresence string

HomePresence defines model for HomePresence.

const (
	AWAY HomePresence = "AWAY"
	HOME HomePresence = "HOME"
)

Defines values for HomePresence.

type HomeState

type HomeState struct {
	Presence       *HomePresence `json:"presence,omitempty"`
	PresenceLocked *bool         `json:"presenceLocked,omitempty"`

	// ShowHomePresenceSwitchButton This property is present when all mobile devices linked to this home which have geo-tracking enabled
	// are no longer in (or near) the home.
	//
	// It is a hint to the user to manually set the home presence to AWAY.
	// When you have a Auto-Assist subscription, tado will do that automatically for you.
	ShowHomePresenceSwitchButton *bool `json:"showHomePresenceSwitchButton,omitempty"`
}

HomeState Indicates if tado acts as if there are people present in the home or not. Result of /homes/{homeId}/state.

Presence can be auto-determined by tado based on geo-tracking of the mobile devices linked to the home (requires a paid Auto-Assist subscription), or can be manually set by a user.

type HomeTemperatureUnit

type HomeTemperatureUnit string

HomeTemperatureUnit defines model for Home.TemperatureUnit.

const (
	CELSIUS    HomeTemperatureUnit = "CELSIUS"
	FAHRENHEIT HomeTemperatureUnit = "FAHRENHEIT"
)

Defines values for HomeTemperatureUnit.

type HorizontalSwing

type HorizontalSwing string

HorizontalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase

const (
	HorizontalSwingLEFT     HorizontalSwing = "LEFT"
	HorizontalSwingMIDLEFT  HorizontalSwing = "MID_LEFT"
	HorizontalSwingMIDRIGHT HorizontalSwing = "MID_RIGHT"
	HorizontalSwingOFF      HorizontalSwing = "OFF"
	HorizontalSwingON       HorizontalSwing = "ON"
	HorizontalSwingRIGHT    HorizontalSwing = "RIGHT"
)

Defines values for HorizontalSwing.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type HumidityLevel

type HumidityLevel string

HumidityLevel Element of AirComfort

const (
	HumidityLevelCOMFY HumidityLevel = "COMFY"
	HumidityLevelDRY   HumidityLevel = "DRY"
	HumidityLevelHUMID HumidityLevel = "HUMID"
)

Defines values for HumidityLevel.

type IdentifyDeviceResponse

type IdentifyDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseIdentifyDeviceResponse

func ParseIdentifyDeviceResponse(rsp *http.Response) (*IdentifyDeviceResponse, error)

ParseIdentifyDeviceResponse parses an HTTP response from a IdentifyDeviceWithResponse call

func (IdentifyDeviceResponse) Status

func (r IdentifyDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (IdentifyDeviceResponse) StatusCode

func (r IdentifyDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncidentDetection

type IncidentDetection struct {
	Enabled   *bool `json:"enabled,omitempty"`
	Supported *bool `json:"supported,omitempty"`
}

IncidentDetection Data elements of a Home. And used in /homes/{homeId}/incidentDetection

type IncidentDetectionInput

type IncidentDetectionInput struct {
	Enabled *bool `json:"enabled,omitempty"`
}

IncidentDetectionInput Used in PUT /homes/{homeId}/incidentDetection

type InputError422

type InputError422 = ErrorResponse422

InputError422 error object returned for 422 responses

type Light

type Light string

Light Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase

const (
	LightOFF Light = "OFF"
	LightON  Light = "ON"
)

Defines values for Light.

type MobileDevice

type MobileDevice struct {
	DeviceMetadata *struct {
		Locale    *string `json:"locale,omitempty"`
		Model     *string `json:"model,omitempty"`
		OsVersion *string `json:"osVersion,omitempty"`
		Platform  *string `json:"platform,omitempty"`
	} `json:"deviceMetadata,omitempty"`
	Id *MobileDeviceId `json:"id,omitempty"`

	// Location This data element is only present for mobile devices which have geo-tracking switched on in their tado app.
	Location *MobileDeviceLocation `json:"location,omitempty"`

	// Name user assigned name for this device
	Name *string `json:"name,omitempty"`

	// Settings Data element of a MobileDevice. And used in /homes/{homeId}/mobileDevices/{mobileDeviceId}/settings.
	Settings *MobileDeviceSettings `json:"settings,omitempty"`
}

MobileDevice A phone/tablet/iPad which has the tado app installed, belonging to a particular user who is a member/resident of a home controlled by tado.

type MobileDeviceId

type MobileDeviceId = int64

MobileDeviceId defines model for MobileDeviceId.

type MobileDeviceLocation

type MobileDeviceLocation struct {
	AtHome          *bool `json:"atHome,omitempty"`
	BearingFromHome *struct {
		Degrees *float32 `json:"degrees,omitempty"`
		Radians *float32 `json:"radians,omitempty"`
	} `json:"bearingFromHome,omitempty"`
	RelativeDistanceFromHomeFence *float32 `json:"relativeDistanceFromHomeFence,omitempty"`
	Stale                         *bool    `json:"stale,omitempty"`
}

MobileDeviceLocation This data element is only present for mobile devices which have geo-tracking switched on in their tado app.

type MobileDeviceSettings

type MobileDeviceSettings struct {
	// GeoTrackingEnabled When geo-tracking is enabled for a MobileDevice,  and the tado app installed on the device has location permissions on the device,  the MobileDevice object will also contain location details.
	GeoTrackingEnabled          *bool `json:"geoTrackingEnabled,omitempty"`
	OnDemandLogRetrievalEnabled *bool `json:"onDemandLogRetrievalEnabled,omitempty"`
	PushNotifications           *struct {
		AwayModeReminder            *bool `json:"awayModeReminder,omitempty"`
		EnergyIqReminder            *bool `json:"energyIqReminder,omitempty"`
		EnergySavingsReportReminder *bool `json:"energySavingsReportReminder,omitempty"`
		HomeModeReminder            *bool `json:"homeModeReminder,omitempty"`
		IncidentDetection           *bool `json:"incidentDetection,omitempty"`
		LowBatteryReminder          *bool `json:"lowBatteryReminder,omitempty"`
		OpenWindowReminder          *bool `json:"openWindowReminder,omitempty"`
		TariffHighPriceAlert        *bool `json:"tariffHighPriceAlert,omitempty"`
		TariffLowPriceAlert         *bool `json:"tariffLowPriceAlert,omitempty"`
	} `json:"pushNotifications,omitempty"`
	SpecialOffersEnabled *bool `json:"specialOffersEnabled,omitempty"`
}

MobileDeviceSettings Data element of a MobileDevice. And used in /homes/{homeId}/mobileDevices/{mobileDeviceId}/settings.

type MoveDeviceJSONBody

type MoveDeviceJSONBody struct {
	// SerialNo the serialNo of a tado device
	SerialNo *DeviceId `json:"serialNo,omitempty"`
}

MoveDeviceJSONBody defines parameters for MoveDevice.

type MoveDeviceJSONRequestBody

type MoveDeviceJSONRequestBody MoveDeviceJSONBody

MoveDeviceJSONRequestBody defines body for MoveDevice for application/json ContentType.

type MoveDeviceParams

type MoveDeviceParams struct {
	// Force To be investigated further.  'true' seems to indicate that the zone the device belonged to previously should be deleted.
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

MoveDeviceParams defines parameters for MoveDevice.

type MoveDeviceResponse

type MoveDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseMoveDeviceResponse

func ParseMoveDeviceResponse(rsp *http.Response) (*MoveDeviceResponse, error)

ParseMoveDeviceResponse parses an HTTP response from a MoveDeviceWithResponse call

func (MoveDeviceResponse) Status

func (r MoveDeviceResponse) Status() string

Status returns HTTPResponse.Status

func (MoveDeviceResponse) StatusCode

func (r MoveDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NotFound404

type NotFound404 = ErrorResponse

NotFound404 error object returned for non-200 responses

type OpenWindowDetectionInput

type OpenWindowDetectionInput struct {
	Enabled *bool `json:"enabled,omitempty"`

	// RoomId ID of a zone (unique only within the home it belongs to)
	RoomId           *ZoneId `json:"roomId,omitempty"`
	TimeoutInSeconds *int    `json:"timeoutInSeconds,omitempty"`
}

OpenWindowDetectionInput Used in PUT /homes/{homeId}/zones/{zoneId}/openWindowDetection

type Orientation

type Orientation string

Orientation tado device property known to be present for DeviceType VA02

const (
	HORIZONTAL Orientation = "HORIZONTAL"
	VERTICAL   Orientation = "VERTICAL"
)

Defines values for Orientation.

type PercentageDataPoint

type PercentageDataPoint struct {
	Percentage *float32   `json:"percentage,omitempty"`
	Timestamp  *time.Time `json:"timestamp,omitempty"`
	Type       *string    `json:"type,omitempty"`
}

PercentageDataPoint Used in Weather and ZoneState, to express quantities like heating power, humidity and solar intensity.

type PercentageDataPointInTimeSeries

type PercentageDataPointInTimeSeries struct {
	Timestamp *time.Time `json:"timestamp,omitempty"`
	Value     *float32   `json:"value,omitempty"`
}

PercentageDataPointInTimeSeries Element of DayReport, used to express humidity.

type PercentageTimeSeries

type PercentageTimeSeries struct {
	DataPoints     *[]PercentageDataPointInTimeSeries `json:"dataPoints,omitempty"`
	Max            *float32                           `json:"max,omitempty"`
	Min            *float32                           `json:"min,omitempty"`
	PercentageUnit *string                            `json:"percentageUnit,omitempty"`
	TimeSeriesType *string                            `json:"timeSeriesType,omitempty"`
	ValueType      *string                            `json:"valueType,omitempty"`
}

PercentageTimeSeries Element of DayReport, used to express humidity.

type Power

type Power string

Power used in ZoneSetting

const (
	PowerOFF Power = "OFF"
	PowerON  Power = "ON"
)

Defines values for Power.

type PresenceLock

type PresenceLock struct {
	HomePresence *HomePresence `json:"homePresence,omitempty"`
}

PresenceLock Used in /homes/{homeId}/presenceLock

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SensorDataPoints

type SensorDataPoints struct {
	// Humidity Used in Weather and ZoneState, to express quantities like heating power, humidity and solar intensity.
	Humidity *PercentageDataPoint `json:"humidity,omitempty"`

	// InsideTemperature Used in Weather and ZoneState, used to express outside or inside temperature.
	InsideTemperature *TemperatureDataPoint `json:"insideTemperature,omitempty"`
}

SensorDataPoints Element of ZoneState. Empty for a HOT_WATER zone

type SetActiveTimetableTypeJSONRequestBody

type SetActiveTimetableTypeJSONRequestBody = TimetableType

SetActiveTimetableTypeJSONRequestBody defines body for SetActiveTimetableType for application/json ContentType.

type SetActiveTimetableTypeResponse

type SetActiveTimetableTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TimetableType
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetActiveTimetableTypeResponse

func ParseSetActiveTimetableTypeResponse(rsp *http.Response) (*SetActiveTimetableTypeResponse, error)

ParseSetActiveTimetableTypeResponse parses an HTTP response from a SetActiveTimetableTypeWithResponse call

func (SetActiveTimetableTypeResponse) Status

Status returns HTTPResponse.Status

func (SetActiveTimetableTypeResponse) StatusCode

func (r SetActiveTimetableTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetAwayConfigurationJSONRequestBody

type SetAwayConfigurationJSONRequestBody = ZoneAwayConfiguration

SetAwayConfigurationJSONRequestBody defines body for SetAwayConfiguration for application/json ContentType.

type SetAwayConfigurationResponse

type SetAwayConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetAwayConfigurationResponse

func ParseSetAwayConfigurationResponse(rsp *http.Response) (*SetAwayConfigurationResponse, error)

ParseSetAwayConfigurationResponse parses an HTTP response from a SetAwayConfigurationWithResponse call

func (SetAwayConfigurationResponse) Status

Status returns HTTPResponse.Status

func (SetAwayConfigurationResponse) StatusCode

func (r SetAwayConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetAwayRadiusInMetersJSONRequestBody

type SetAwayRadiusInMetersJSONRequestBody = AwayRadiusInput

SetAwayRadiusInMetersJSONRequestBody defines body for SetAwayRadiusInMeters for application/json ContentType.

type SetAwayRadiusInMetersResponse

type SetAwayRadiusInMetersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetAwayRadiusInMetersResponse

func ParseSetAwayRadiusInMetersResponse(rsp *http.Response) (*SetAwayRadiusInMetersResponse, error)

ParseSetAwayRadiusInMetersResponse parses an HTTP response from a SetAwayRadiusInMetersWithResponse call

func (SetAwayRadiusInMetersResponse) Status

Status returns HTTPResponse.Status

func (SetAwayRadiusInMetersResponse) StatusCode

func (r SetAwayRadiusInMetersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetBoilerJSONRequestBody

type SetBoilerJSONRequestBody = Boiler1

SetBoilerJSONRequestBody defines body for SetBoiler for application/json ContentType.

type SetBoilerMaxOutputTemperatureJSONRequestBody added in v2.4.0

type SetBoilerMaxOutputTemperatureJSONRequestBody = BoilerMaxOutputTemperature

SetBoilerMaxOutputTemperatureJSONRequestBody defines body for SetBoilerMaxOutputTemperature for application/json ContentType.

type SetBoilerMaxOutputTemperatureParams added in v2.4.0

type SetBoilerMaxOutputTemperatureParams struct {
	// AuthKey printed on your tado Internet Bridge
	AuthKey string `form:"authKey" json:"authKey"`
}

SetBoilerMaxOutputTemperatureParams defines parameters for SetBoilerMaxOutputTemperature.

type SetBoilerMaxOutputTemperatureResponse added in v2.4.0

type SetBoilerMaxOutputTemperatureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetBoilerMaxOutputTemperatureResponse added in v2.4.0

func ParseSetBoilerMaxOutputTemperatureResponse(rsp *http.Response) (*SetBoilerMaxOutputTemperatureResponse, error)

ParseSetBoilerMaxOutputTemperatureResponse parses an HTTP response from a SetBoilerMaxOutputTemperatureWithResponse call

func (SetBoilerMaxOutputTemperatureResponse) Status added in v2.4.0

Status returns HTTPResponse.Status

func (SetBoilerMaxOutputTemperatureResponse) StatusCode added in v2.4.0

StatusCode returns HTTPResponse.StatusCode

type SetBoilerResponse

type SetBoilerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetBoilerResponse

func ParseSetBoilerResponse(rsp *http.Response) (*SetBoilerResponse, error)

ParseSetBoilerResponse parses an HTTP response from a SetBoilerWithResponse call

func (SetBoilerResponse) Status

func (r SetBoilerResponse) Status() string

Status returns HTTPResponse.Status

func (SetBoilerResponse) StatusCode

func (r SetBoilerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetChildLockResponse added in v2.4.0

type SetChildLockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
}

func ParseSetChildLockResponse added in v2.4.0

func ParseSetChildLockResponse(rsp *http.Response) (*SetChildLockResponse, error)

ParseSetChildLockResponse parses an HTTP response from a SetChildLockWithResponse call

func (SetChildLockResponse) Status added in v2.4.0

func (r SetChildLockResponse) Status() string

Status returns HTTPResponse.Status

func (SetChildLockResponse) StatusCode added in v2.4.0

func (r SetChildLockResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetDazzleJSONRequestBody

type SetDazzleJSONRequestBody = DazzleInput

SetDazzleJSONRequestBody defines body for SetDazzle for application/json ContentType.

type SetDazzleResponse

type SetDazzleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetDazzleResponse

func ParseSetDazzleResponse(rsp *http.Response) (*SetDazzleResponse, error)

ParseSetDazzleResponse parses an HTTP response from a SetDazzleWithResponse call

func (SetDazzleResponse) Status

func (r SetDazzleResponse) Status() string

Status returns HTTPResponse.Status

func (SetDazzleResponse) StatusCode

func (r SetDazzleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetDefaultZoneOverlayJSONRequestBody

type SetDefaultZoneOverlayJSONRequestBody = DefaultZoneOverlay

SetDefaultZoneOverlayJSONRequestBody defines body for SetDefaultZoneOverlay for application/json ContentType.

type SetDefaultZoneOverlayResponse

type SetDefaultZoneOverlayResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DefaultZoneOverlay
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetDefaultZoneOverlayResponse

func ParseSetDefaultZoneOverlayResponse(rsp *http.Response) (*SetDefaultZoneOverlayResponse, error)

ParseSetDefaultZoneOverlayResponse parses an HTTP response from a SetDefaultZoneOverlayWithResponse call

func (SetDefaultZoneOverlayResponse) Status

Status returns HTTPResponse.Status

func (SetDefaultZoneOverlayResponse) StatusCode

func (r SetDefaultZoneOverlayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetDetailsJSONRequestBody

type SetDetailsJSONRequestBody = ZoneDetailsInput

SetDetailsJSONRequestBody defines body for SetDetails for application/json ContentType.

type SetDetailsResponse

type SetDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Zone
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetDetailsResponse

func ParseSetDetailsResponse(rsp *http.Response) (*SetDetailsResponse, error)

ParseSetDetailsResponse parses an HTTP response from a SetDetailsWithResponse call

func (SetDetailsResponse) Status

func (r SetDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (SetDetailsResponse) StatusCode

func (r SetDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetEarlyStartJSONRequestBody

type SetEarlyStartJSONRequestBody = EarlyStart

SetEarlyStartJSONRequestBody defines body for SetEarlyStart for application/json ContentType.

type SetEarlyStartResponse

type SetEarlyStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EarlyStart
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetEarlyStartResponse

func ParseSetEarlyStartResponse(rsp *http.Response) (*SetEarlyStartResponse, error)

ParseSetEarlyStartResponse parses an HTTP response from a SetEarlyStartWithResponse call

func (SetEarlyStartResponse) Status

func (r SetEarlyStartResponse) Status() string

Status returns HTTPResponse.Status

func (SetEarlyStartResponse) StatusCode

func (r SetEarlyStartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetHeatingCircuitJSONRequestBody

type SetHeatingCircuitJSONRequestBody = HeatingCircuitInput

SetHeatingCircuitJSONRequestBody defines body for SetHeatingCircuit for application/json ContentType.

type SetHeatingCircuitResponse

type SetHeatingCircuitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneControl
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetHeatingCircuitResponse

func ParseSetHeatingCircuitResponse(rsp *http.Response) (*SetHeatingCircuitResponse, error)

ParseSetHeatingCircuitResponse parses an HTTP response from a SetHeatingCircuitWithResponse call

func (SetHeatingCircuitResponse) Status

func (r SetHeatingCircuitResponse) Status() string

Status returns HTTPResponse.Status

func (SetHeatingCircuitResponse) StatusCode

func (r SetHeatingCircuitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetHomeDetailsJSONRequestBody

type SetHomeDetailsJSONRequestBody = HomeDetails

SetHomeDetailsJSONRequestBody defines body for SetHomeDetails for application/json ContentType.

type SetHomeDetailsResponse

type SetHomeDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetHomeDetailsResponse

func ParseSetHomeDetailsResponse(rsp *http.Response) (*SetHomeDetailsResponse, error)

ParseSetHomeDetailsResponse parses an HTTP response from a SetHomeDetailsWithResponse call

func (SetHomeDetailsResponse) Status

func (r SetHomeDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (SetHomeDetailsResponse) StatusCode

func (r SetHomeDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetIncidentDetectionJSONRequestBody

type SetIncidentDetectionJSONRequestBody = IncidentDetectionInput

SetIncidentDetectionJSONRequestBody defines body for SetIncidentDetection for application/json ContentType.

type SetIncidentDetectionResponse

type SetIncidentDetectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetIncidentDetectionResponse

func ParseSetIncidentDetectionResponse(rsp *http.Response) (*SetIncidentDetectionResponse, error)

ParseSetIncidentDetectionResponse parses an HTTP response from a SetIncidentDetectionWithResponse call

func (SetIncidentDetectionResponse) Status

Status returns HTTPResponse.Status

func (SetIncidentDetectionResponse) StatusCode

func (r SetIncidentDetectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetMobileDeviceSettingsJSONRequestBody

type SetMobileDeviceSettingsJSONRequestBody = MobileDeviceSettings

SetMobileDeviceSettingsJSONRequestBody defines body for SetMobileDeviceSettings for application/json ContentType.

type SetMobileDeviceSettingsResponse

type SetMobileDeviceSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MobileDeviceSettings
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetMobileDeviceSettingsResponse

func ParseSetMobileDeviceSettingsResponse(rsp *http.Response) (*SetMobileDeviceSettingsResponse, error)

ParseSetMobileDeviceSettingsResponse parses an HTTP response from a SetMobileDeviceSettingsWithResponse call

func (SetMobileDeviceSettingsResponse) Status

Status returns HTTPResponse.Status

func (SetMobileDeviceSettingsResponse) StatusCode

func (r SetMobileDeviceSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetOpenWindowDetectionJSONRequestBody

type SetOpenWindowDetectionJSONRequestBody = OpenWindowDetectionInput

SetOpenWindowDetectionJSONRequestBody defines body for SetOpenWindowDetection for application/json ContentType.

type SetOpenWindowDetectionResponse

type SetOpenWindowDetectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetOpenWindowDetectionResponse

func ParseSetOpenWindowDetectionResponse(rsp *http.Response) (*SetOpenWindowDetectionResponse, error)

ParseSetOpenWindowDetectionResponse parses an HTTP response from a SetOpenWindowDetectionWithResponse call

func (SetOpenWindowDetectionResponse) Status

Status returns HTTPResponse.Status

func (SetOpenWindowDetectionResponse) StatusCode

func (r SetOpenWindowDetectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPresenceLockJSONRequestBody

type SetPresenceLockJSONRequestBody = PresenceLock

SetPresenceLockJSONRequestBody defines body for SetPresenceLock for application/json ContentType.

type SetPresenceLockResponse

type SetPresenceLockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetPresenceLockResponse

func ParseSetPresenceLockResponse(rsp *http.Response) (*SetPresenceLockResponse, error)

ParseSetPresenceLockResponse parses an HTTP response from a SetPresenceLockWithResponse call

func (SetPresenceLockResponse) Status

func (r SetPresenceLockResponse) Status() string

Status returns HTTPResponse.Status

func (SetPresenceLockResponse) StatusCode

func (r SetPresenceLockResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetTemperatureOffsetJSONRequestBody

type SetTemperatureOffsetJSONRequestBody = Temperature

SetTemperatureOffsetJSONRequestBody defines body for SetTemperatureOffset for application/json ContentType.

type SetTemperatureOffsetResponse

type SetTemperatureOffsetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Temperature
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetTemperatureOffsetResponse

func ParseSetTemperatureOffsetResponse(rsp *http.Response) (*SetTemperatureOffsetResponse, error)

ParseSetTemperatureOffsetResponse parses an HTTP response from a SetTemperatureOffsetWithResponse call

func (SetTemperatureOffsetResponse) Status

Status returns HTTPResponse.Status

func (SetTemperatureOffsetResponse) StatusCode

func (r SetTemperatureOffsetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetTimetableBlocksForDayTypeJSONBody

type SetTimetableBlocksForDayTypeJSONBody = []TimetableBlock

SetTimetableBlocksForDayTypeJSONBody defines parameters for SetTimetableBlocksForDayType.

type SetTimetableBlocksForDayTypeJSONRequestBody

type SetTimetableBlocksForDayTypeJSONRequestBody = SetTimetableBlocksForDayTypeJSONBody

SetTimetableBlocksForDayTypeJSONRequestBody defines body for SetTimetableBlocksForDayType for application/json ContentType.

type SetTimetableBlocksForDayTypeResponse

type SetTimetableBlocksForDayTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TimetableBlock
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetTimetableBlocksForDayTypeResponse

func ParseSetTimetableBlocksForDayTypeResponse(rsp *http.Response) (*SetTimetableBlocksForDayTypeResponse, error)

ParseSetTimetableBlocksForDayTypeResponse parses an HTTP response from a SetTimetableBlocksForDayTypeWithResponse call

func (SetTimetableBlocksForDayTypeResponse) Status

Status returns HTTPResponse.Status

func (SetTimetableBlocksForDayTypeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetUnderfloorHeatingJSONRequestBody

type SetUnderfloorHeatingJSONRequestBody = UnderfloorHeating

SetUnderfloorHeatingJSONRequestBody defines body for SetUnderfloorHeating for application/json ContentType.

type SetUnderfloorHeatingResponse

type SetUnderfloorHeatingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetUnderfloorHeatingResponse

func ParseSetUnderfloorHeatingResponse(rsp *http.Response) (*SetUnderfloorHeatingResponse, error)

ParseSetUnderfloorHeatingResponse parses an HTTP response from a SetUnderfloorHeatingWithResponse call

func (SetUnderfloorHeatingResponse) Status

Status returns HTTPResponse.Status

func (SetUnderfloorHeatingResponse) StatusCode

func (r SetUnderfloorHeatingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetZoneMeasuringDeviceJSONBody

type SetZoneMeasuringDeviceJSONBody struct {
	// SerialNo the serialNo of a tado device
	SerialNo *DeviceId `json:"serialNo,omitempty"`
}

SetZoneMeasuringDeviceJSONBody defines parameters for SetZoneMeasuringDevice.

type SetZoneMeasuringDeviceJSONRequestBody

type SetZoneMeasuringDeviceJSONRequestBody SetZoneMeasuringDeviceJSONBody

SetZoneMeasuringDeviceJSONRequestBody defines body for SetZoneMeasuringDevice for application/json ContentType.

type SetZoneMeasuringDeviceResponse

type SetZoneMeasuringDeviceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON404      *NotFound404
	JSON422      *InputError422
}

func ParseSetZoneMeasuringDeviceResponse

func ParseSetZoneMeasuringDeviceResponse(rsp *http.Response) (*SetZoneMeasuringDeviceResponse, error)

ParseSetZoneMeasuringDeviceResponse parses an HTTP response from a SetZoneMeasuringDeviceWithResponse call

func (SetZoneMeasuringDeviceResponse) Status

Status returns HTTPResponse.Status

func (SetZoneMeasuringDeviceResponse) StatusCode

func (r SetZoneMeasuringDeviceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetZoneOverlayJSONRequestBody

type SetZoneOverlayJSONRequestBody = ZoneOverlay

SetZoneOverlayJSONRequestBody defines body for SetZoneOverlay for application/json ContentType.

type SetZoneOverlayResponse

type SetZoneOverlayResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneOverlay
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetZoneOverlayResponse

func ParseSetZoneOverlayResponse(rsp *http.Response) (*SetZoneOverlayResponse, error)

ParseSetZoneOverlayResponse parses an HTTP response from a SetZoneOverlayWithResponse call

func (SetZoneOverlayResponse) Status

func (r SetZoneOverlayResponse) Status() string

Status returns HTTPResponse.Status

func (SetZoneOverlayResponse) StatusCode

func (r SetZoneOverlayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetZoneOverlaysJSONRequestBody

type SetZoneOverlaysJSONRequestBody = ZoneOverlays

SetZoneOverlaysJSONRequestBody defines body for SetZoneOverlays for application/json ContentType.

type SetZoneOverlaysResponse

type SetZoneOverlaysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized401
	JSON403      *AccessDenied403
	JSON422      *InputError422
}

func ParseSetZoneOverlaysResponse

func ParseSetZoneOverlaysResponse(rsp *http.Response) (*SetZoneOverlaysResponse, error)

ParseSetZoneOverlaysResponse parses an HTTP response from a SetZoneOverlaysWithResponse call

func (SetZoneOverlaysResponse) Status

func (r SetZoneOverlaysResponse) Status() string

Status returns HTTPResponse.Status

func (SetZoneOverlaysResponse) StatusCode

func (r SetZoneOverlaysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StripesDataInterval

type StripesDataInterval struct {
	From  *time.Time `json:"from,omitempty"`
	To    *time.Time `json:"to,omitempty"`
	Value *struct {
		// Setting (temperature) settings for a zone which is used in scheduled TimeTableBlocks,  in ZoneOverlays (manual override for the scheduled setting), and in AwayConfiguration (settings to be used when the home is in AWAY mode).
		//
		// The applicable properties depend on the zone type and the zone capabilities.
		Setting *ZoneSetting `json:"setting,omitempty"`

		// StripeType known values:
		//
		//  * HOME
		//
		//  * HOME_LOCATION_BASED_CONTROL_OFF
		//
		//  * OPEN_WINDOW_DETECTED
		//
		//  * OVERLAY_ACTIVE
		StripeType *string `json:"stripeType,omitempty"`
	} `json:"value,omitempty"`
}

StripesDataInterval defines model for StripesDataInterval.

type StripesTimeSeries

type StripesTimeSeries struct {
	DataIntervals  *[]StripesDataInterval `json:"dataIntervals,omitempty"`
	TimeSeriesType *string                `json:"timeSeriesType,omitempty"`
	ValueType      *string                `json:"valueType,omitempty"`
}

StripesTimeSeries Element of DayReport

type Temperature

type Temperature struct {
	Celsius    *float32 `json:"celsius,omitempty"`
	Fahrenheit *float32 `json:"fahrenheit,omitempty"`
}

Temperature defines model for Temperature.

type TemperatureCapability

type TemperatureCapability struct {
	Celsius *struct {
		Max  *int     `json:"max,omitempty"`
		Min  *int     `json:"min,omitempty"`
		Step *float32 `json:"step,omitempty"`
	} `json:"celsius,omitempty"`
	Fahrenheit *struct {
		Max  *int     `json:"max,omitempty"`
		Min  *int     `json:"min,omitempty"`
		Step *float32 `json:"step,omitempty"`
	} `json:"fahrenheit,omitempty"`
}

TemperatureCapability property available for zone type HEATING

type TemperatureDataPoint

type TemperatureDataPoint struct {
	Celsius    *float32              `json:"celsius,omitempty"`
	Fahrenheit *float32              `json:"fahrenheit,omitempty"`
	Precision  *TemperaturePrecision `json:"precision,omitempty"`
	Timestamp  *time.Time            `json:"timestamp,omitempty"`
	Type       *string               `json:"type,omitempty"`
}

TemperatureDataPoint defines model for TemperatureDataPoint.

type TemperatureDataPointInTimeSeries

type TemperatureDataPointInTimeSeries struct {
	Timestamp *time.Time   `json:"timestamp,omitempty"`
	Value     *Temperature `json:"value,omitempty"`
}

TemperatureDataPointInTimeSeries Element of DayReport

type TemperatureLevel

type TemperatureLevel string

TemperatureLevel Used in AirComfort

const (
	TemperatureLevelCOLD  TemperatureLevel = "COLD"
	TemperatureLevelCOMFY TemperatureLevel = "COMFY"
	TemperatureLevelHOT   TemperatureLevel = "HOT"
	TemperatureLevelWARM  TemperatureLevel = "WARM"
)

Defines values for TemperatureLevel.

type TemperaturePrecision

type TemperaturePrecision struct {
	Celsius    *float32 `json:"celsius,omitempty"`
	Fahrenheit *float32 `json:"fahrenheit,omitempty"`
}

TemperaturePrecision defines model for TemperaturePrecision.

type TemperatureTimeSeries

type TemperatureTimeSeries struct {
	DataPoints     *[]TemperatureDataPointInTimeSeries `json:"dataPoints,omitempty"`
	Max            *Temperature                        `json:"max,omitempty"`
	Min            *Temperature                        `json:"min,omitempty"`
	TimeSeriesType *string                             `json:"timeSeriesType,omitempty"`
	ValueType      *string                             `json:"valueType,omitempty"`
}

TemperatureTimeSeries Element of DayReport, used to express inside temperature.

type TimetableBlock

type TimetableBlock struct {
	// DayType used in timetables
	//
	// applicable values:
	// * for timetableType 0 (ONE_DAY) : MONDAY_TO_SUNDAY
	// * for timetableType 1 (THREE_DAY): MONDAY_TO_FRIDAY, SATURDAY, SUNDAY
	// * for timetableType 2 (SEVEN_DAY): MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
	DayType *DayType `json:"dayType,omitempty"`

	// End end time of this block in 24 hour clock notation
	End *string `json:"end,omitempty"`

	// GeolocationOverride When false, the settings of this time block are only active when tado is in HOME mode.  If in AWAY mode, tado will use the AwayConfiguration settings for this zone.
	// When true, the settings of this time block are always active, regardless of whether tado is in HOME or AWAY mode.
	GeolocationOverride *bool `json:"geolocationOverride,omitempty"`

	// Setting (temperature) settings for a zone which is used in scheduled TimeTableBlocks,  in ZoneOverlays (manual override for the scheduled setting), and in AwayConfiguration (settings to be used when the home is in AWAY mode).
	//
	// The applicable properties depend on the zone type and the zone capabilities.
	Setting *ZoneSetting `json:"setting,omitempty"`

	// Start start time of this block in 24 hour clock notation
	Start *string `json:"start,omitempty"`
}

TimetableBlock Time segment of a scheduled timetable to control the (temperature) settings of a zone (a.k.a. room)

type TimetableType

type TimetableType struct {
	// Id 0 = ONE_DAY, 1 = THREE_DAY, 2 = SEVEN_DAY
	Id *TimetableTypeId `json:"id,omitempty"`

	// Type Each zone has a schedule which controls the zone's (temperature) settings based on day of the week and time. Each schedule consists of three timetables, one for each timeTableType.  Only one timetable is active at anyone time.
	// The timetable type controls the granularity of `DayType`s used in the timetable:
	// * ONE_DAY = a timetable which support a single day type (MONDAY_TO_SUNDAY), used for every day of the week
	// * THREE_DAY = a timetable which supports 3 day types, one for MONDAY_TO_FRIDAY, one for SATURDAY and one for SUNDAY
	// * SEVEN_DAY = at timetable which supports 7 day types, one for every day of the week
	Type *TimetableTypeType `json:"type,omitempty"`
}

TimetableType defines model for TimetableType.

type TimetableTypeId

type TimetableTypeId int

TimetableTypeId 0 = ONE_DAY, 1 = THREE_DAY, 2 = SEVEN_DAY

const (
	N0 TimetableTypeId = 0
	N1 TimetableTypeId = 1
	N2 TimetableTypeId = 2
)

Defines values for TimetableTypeId.

type TimetableTypeType

type TimetableTypeType string

TimetableTypeType Each zone has a schedule which controls the zone's (temperature) settings based on day of the week and time. Each schedule consists of three timetables, one for each timeTableType. Only one timetable is active at anyone time. The timetable type controls the granularity of `DayType`s used in the timetable: * ONE_DAY = a timetable which support a single day type (MONDAY_TO_SUNDAY), used for every day of the week * THREE_DAY = a timetable which supports 3 day types, one for MONDAY_TO_FRIDAY, one for SATURDAY and one for SUNDAY * SEVEN_DAY = at timetable which supports 7 day types, one for every day of the week

const (
	ONEDAY   TimetableTypeType = "ONE_DAY"
	SEVENDAY TimetableTypeType = "SEVEN_DAY"
	THREEDAY TimetableTypeType = "THREE_DAY"
)

Defines values for TimetableTypeType.

type Unauthorized401

type Unauthorized401 = ErrorResponse

Unauthorized401 error object returned for non-200 responses

type UnderfloorHeating

type UnderfloorHeating struct {
	Present *bool `json:"present,omitempty"`
}

UnderfloorHeating Element of HeatingSystem

type User

type User struct {
	Email *string `json:"email,omitempty"`

	// Homes the homes this user is linked to
	Homes *[]HomeBase `json:"homes,omitempty"`

	// Id globally unique user ID
	Id *openapi_types.UUID `json:"id,omitempty"`

	// Locale language code for the user selected language in the Account settings part of the app
	Locale        *string         `json:"locale,omitempty"`
	MobileDevices *[]MobileDevice `json:"mobileDevices,omitempty"`
	Name          *string         `json:"name,omitempty"`
	Username      *string         `json:"username,omitempty"`
}

User a user with a tado account

type VerticalSwing

type VerticalSwing string

VerticalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase

const (
	VerticalSwingDOWN    VerticalSwing = "DOWN"
	VerticalSwingMID     VerticalSwing = "MID"
	VerticalSwingMIDDOWN VerticalSwing = "MID_DOWN"
	VerticalSwingMIDUP   VerticalSwing = "MID_UP"
	VerticalSwingOFF     VerticalSwing = "OFF"
	VerticalSwingON      VerticalSwing = "ON"
	VerticalSwingUP      VerticalSwing = "UP"
)

Defines values for VerticalSwing.

type Weather

type Weather struct {
	// OutsideTemperature Used in Weather and ZoneState, used to express outside or inside temperature.
	OutsideTemperature *TemperatureDataPoint `json:"outsideTemperature,omitempty"`

	// SolarIntensity Used in Weather and ZoneState, to express quantities like heating power, humidity and solar intensity.
	SolarIntensity *PercentageDataPoint `json:"solarIntensity,omitempty"`

	// WeatherState Used in Weather
	WeatherState *WeatherStateDataPoint `json:"weatherState,omitempty"`
}

Weather Result of /homes/{homeId}/weather

type WeatherConditionDataInterval

type WeatherConditionDataInterval struct {
	From  *time.Time `json:"from,omitempty"`
	To    *time.Time `json:"to,omitempty"`
	Value *struct {
		// State Used in DayReport and Weather
		State       *WeatherState `json:"state,omitempty"`
		Temperature *Temperature  `json:"temperature,omitempty"`
	} `json:"value,omitempty"`
}

WeatherConditionDataInterval defines model for WeatherConditionDataInterval.

type WeatherConditionTimeSeries

type WeatherConditionTimeSeries struct {
	DataIntervals  *[]WeatherConditionDataInterval `json:"dataIntervals,omitempty"`
	TimeSeriesType *string                         `json:"timeSeriesType,omitempty"`
	ValueType      *string                         `json:"valueType,omitempty"`
}

WeatherConditionTimeSeries Element of DayReport

type WeatherSlot

type WeatherSlot struct {
	// State Used in DayReport and Weather
	State       *WeatherState `json:"state,omitempty"`
	Temperature *Temperature  `json:"temperature,omitempty"`
}

WeatherSlot Element of DayReport

type WeatherSlotTimeSeries

type WeatherSlotTimeSeries struct {
	Slots *struct {
		// N0400 Element of DayReport
		N0400 *WeatherSlot `json:"04:00,omitempty"`

		// N0800 Element of DayReport
		N0800 *WeatherSlot `json:"08:00,omitempty"`

		// N1200 Element of DayReport
		N1200 *WeatherSlot `json:"12:00,omitempty"`

		// N1600 Element of DayReport
		N1600 *WeatherSlot `json:"16:00,omitempty"`

		// N2000 Element of DayReport
		N2000 *WeatherSlot `json:"20:00,omitempty"`
	} `json:"slots,omitempty"`
	TimeSeriesType *string `json:"timeSeriesType,omitempty"`
	ValueType      *string `json:"valueType,omitempty"`
}

WeatherSlotTimeSeries Element of DayReport

type WeatherState

type WeatherState string

WeatherState Used in DayReport and Weather

const (
	CLOUDY            WeatherState = "CLOUDY"
	CLOUDYMOSTLY      WeatherState = "CLOUDY_MOSTLY"
	CLOUDYPARTLY      WeatherState = "CLOUDY_PARTLY"
	DRIZZLE           WeatherState = "DRIZZLE"
	FOGGY             WeatherState = "FOGGY"
	NIGHTCLEAR        WeatherState = "NIGHT_CLEAR"
	NIGHTCLOUDY       WeatherState = "NIGHT_CLOUDY"
	RAIN              WeatherState = "RAIN"
	SCATTEREDRAIN     WeatherState = "SCATTERED_RAIN"
	SCATTEREDRAINSNOW WeatherState = "SCATTERED_RAIN_SNOW"
	SCATTEREDSNOW     WeatherState = "SCATTERED_SNOW"
	SNOW              WeatherState = "SNOW"
	SUN               WeatherState = "SUN"
	THUNDERSTORM      WeatherState = "THUNDERSTORM"
)

Defines values for WeatherState.

type WeatherStateDataPoint

type WeatherStateDataPoint struct {
	Timestamp *time.Time `json:"timestamp,omitempty"`
	Type      *string    `json:"type,omitempty"`

	// Value Used in DayReport and Weather
	Value *WeatherState `json:"value,omitempty"`
}

WeatherStateDataPoint Used in Weather

type Zone

type Zone struct {
	DateCreated   *time.Time `json:"dateCreated,omitempty"`
	DazzleEnabled *bool      `json:"dazzleEnabled,omitempty"`
	DazzleMode    *struct {
		Enabled   *bool `json:"enabled,omitempty"`
		Supported *bool `json:"supported,omitempty"`
	} `json:"dazzleMode,omitempty"`
	DeviceTypes *[]DeviceType  `json:"deviceTypes,omitempty"`
	Devices     *[]DeviceExtra `json:"devices,omitempty"`

	// Id ID of a zone (unique only within the home it belongs to)
	Id *ZoneId `json:"id,omitempty"`

	// Name user assigned name
	Name                *string `json:"name,omitempty"`
	OpenWindowDetection *struct {
		Enabled          *bool `json:"enabled,omitempty"`
		Supported        *bool `json:"supported,omitempty"`
		TimeoutInSeconds *int  `json:"timeoutInSeconds,omitempty"`
	} `json:"openWindowDetection,omitempty"`
	ReportAvailable   *bool     `json:"reportAvailable,omitempty"`
	ShowScheduleSetup *bool     `json:"showScheduleSetup,omitempty"`
	SupportsDazzle    *bool     `json:"supportsDazzle,omitempty"`
	Type              *ZoneType `json:"type,omitempty"`
}

Zone a room in a home whose temperature is controlled by tado

type ZoneAwayConfiguration

type ZoneAwayConfiguration struct {
	// AutoAdjust property present for zone type HEATING
	AutoAdjust *bool `json:"autoAdjust,omitempty"`

	// ComfortLevel property present for zone type HEATING
	ComfortLevel *string `json:"comfortLevel"`

	// Setting (temperature) settings for a zone which is used in scheduled TimeTableBlocks,  in ZoneOverlays (manual override for the scheduled setting), and in AwayConfiguration (settings to be used when the home is in AWAY mode).
	//
	// The applicable properties depend on the zone type and the zone capabilities.
	Setting *ZoneSetting `json:"setting,omitempty"`
	Type    *ZoneType    `json:"type,omitempty"`
}

ZoneAwayConfiguration Controls the (temperature) settings for a zone when the home the zone belongs to is in AWAY mode. The scheduled timetable settings are not used in such a situation. Used in /homes/{homeId}/zones/{zoneId}/awayConfiguration.

type ZoneCapabilities

type ZoneCapabilities struct {
	// AUTO used in ZoneCapabilities for zones of type AIR_CONDITIONING
	AUTO *AirConditioningModeCapabilitiesBase `json:"AUTO,omitempty"`

	// COOL used in ZoneCapabilities for zones of type AIR_CONDITIONING
	COOL *AirConditioningModeCapabilities `json:"COOL,omitempty"`

	// DRY used in ZoneCapabilities for zones of type AIR_CONDITIONING
	DRY *AirConditioningModeCapabilities `json:"DRY,omitempty"`

	// FAN used in ZoneCapabilities for zones of type AIR_CONDITIONING
	FAN *AirConditioningModeCapabilities `json:"FAN,omitempty"`

	// HEAT used in ZoneCapabilities for zones of type AIR_CONDITIONING
	HEAT *AirConditioningModeCapabilities `json:"HEAT,omitempty"`

	// CanSetTemperature property available for zone type HOT_WATER
	CanSetTemperature *bool `json:"canSetTemperature,omitempty"`
	InitialStates     *struct {
		Mode  *AirConditioningMode `json:"mode,omitempty"`
		Modes *struct {
			// AUTO used in ZoneCapabilities for zones of type AIR_CONDITIONING
			AUTO *AirConditioningZoneSettingsBase `json:"AUTO,omitempty"`

			// COOL used in ZoneCapabilities for zones of type AIR_CONDITIONING
			COOL *AirConditioningZoneSettings `json:"COOL,omitempty"`

			// DRY used in ZoneCapabilities for zones of type AIR_CONDITIONING
			DRY *AirConditioningZoneSettings `json:"DRY,omitempty"`

			// FAN used in ZoneCapabilities for zones of type AIR_CONDITIONING
			FAN *AirConditioningZoneSettings `json:"FAN,omitempty"`

			// HEAT used in ZoneCapabilities for zones of type AIR_CONDITIONING
			HEAT *AirConditioningZoneSettings `json:"HEAT,omitempty"`
		} `json:"modes,omitempty"`
	} `json:"initialStates,omitempty"`

	// Temperatures property available for zone type HEATING
	Temperatures *TemperatureCapability `json:"temperatures,omitempty"`
	Type         *ZoneType              `json:"type,omitempty"`
}

ZoneCapabilities The presence of the various properties depends on the ZoneType and capabilities of the zone who's capabilities are requested. E.g. `temperatures` will not be available for a HOT_WATER zone with `canSetTemperature: false`. Used in /homes/{homeId}/zones/{zoneId}/capabilities.

type ZoneControl

type ZoneControl struct {
	Duties *struct {
		// Driver A piece of tado hardware
		//
		// Some of the properties are only available for certain device types.  Certain values for some properties are only applicable to certain device types.  Wherever device type specific information is known, it is documented.  But you cannot count on this information being fully complete.
		Driver  *Device   `json:"driver,omitempty"`
		Drivers *[]Device `json:"drivers,omitempty"`

		// Leader A piece of tado hardware
		//
		// Some of the properties are only available for certain device types.  Certain values for some properties are only applicable to certain device types.  Wherever device type specific information is known, it is documented.  But you cannot count on this information being fully complete.
		Leader  *Device   `json:"leader,omitempty"`
		Leaders *[]Device `json:"leaders,omitempty"`
		Type    *ZoneType `json:"type,omitempty"`

		// Ui A piece of tado hardware
		//
		// Some of the properties are only available for certain device types.  Certain values for some properties are only applicable to certain device types.  Wherever device type specific information is known, it is documented.  But you cannot count on this information being fully complete.
		Ui  *Device   `json:"ui,omitempty"`
		Uis *[]Device `json:"uis,omitempty"`
	} `json:"duties,omitempty"`

	// EarlyStartEnabled applicable for ZoneType HEATING
	EarlyStartEnabled *bool             `json:"earlyStartEnabled,omitempty"`
	HeatingCircuit    *HeatingCircuitId `json:"heatingCircuit,omitempty"`
	Type              *ZoneType         `json:"type,omitempty"`
}

ZoneControl Result of /homes/{homeId}/zones/{zoneId}/control.

Groups the devices in a given zone by their duty. The elements included in the result depend on the ZoneType: * AIR_CONDITIONING: _unknown_ * HEATING: includes earlyStartEnabled, heatingCircuit, duties.leader, duties.drivers and duties.uis * HOT_WATER: includes duties.driver and duties.ui

type ZoneCreate

type ZoneCreate struct {
	Devices *[]struct {
		// SerialNo the serialNo of a tado device
		SerialNo *DeviceId `json:"serialNo,omitempty"`
	} `json:"devices,omitempty"`

	// Type known values: IMPLICIT_CONTROL
	Type     *string   `json:"type,omitempty"`
	ZoneType *ZoneType `json:"zoneType,omitempty"`
}

ZoneCreate Input for POST /home/{homeId}/zones

type ZoneDetailsInput

type ZoneDetailsInput struct {
	Name *string `json:"name,omitempty"`
}

ZoneDetailsInput Used in PUT /homes/{homeId}/zones/{zoneId}/details

type ZoneId

type ZoneId = int

ZoneId ID of a zone (unique only within the home it belongs to)

type ZoneOpenWindow

type ZoneOpenWindow struct {
	DetectedTime           *time.Time `json:"detectedTime,omitempty"`
	DurationInSeconds      *int       `json:"durationInSeconds,omitempty"`
	Expiry                 *time.Time `json:"expiry,omitempty"`
	RemainingTimeInSeconds *int       `json:"remainingTimeInSeconds,omitempty"`
}

ZoneOpenWindow Open Window is set when Tado detects an open window in the zone. While Open Window is active, heating is switched off.

type ZoneOverlay

type ZoneOverlay struct {
	// Setting (temperature) settings for a zone which is used in scheduled TimeTableBlocks,  in ZoneOverlays (manual override for the scheduled setting), and in AwayConfiguration (settings to be used when the home is in AWAY mode).
	//
	// The applicable properties depend on the zone type and the zone capabilities.
	Setting *ZoneSetting `json:"setting,omitempty"`

	// Termination Defines if/how the overlay terminates.
	Termination *ZoneOverlayTermination `json:"termination,omitempty"`

	// Type Type of a ZoneOverlay. Only known value is MANUAL, but not entirely sure, so no enum
	Type *ZoneOverlayType `json:"type,omitempty"`
}

ZoneOverlay A zone overlay is a user controlled override for the user defined scheduled (temperature) settings of a zone. As long as a zone overlay is present for a zone, the zone's scheduled (temperature) settings do not take effect. Termination of the zone overlay (either never, a set time or when the next block in the active timetable starts) is part of the zone overlay definition.

type ZoneOverlayTermination

type ZoneOverlayTermination struct {
	// DurationInSeconds applicable when termination.type = TIMER
	DurationInSeconds *int `json:"durationInSeconds,omitempty"`

	// Expiry applicable when termination.type = TIMER
	Expiry *time.Time `json:"expiry"`

	// ProjectedExpiry applicable when termination.type = TIMER
	ProjectedExpiry *time.Time `json:"projectedExpiry"`

	// RemainingTimeInSeconds applicable when termination.type = TIMER
	RemainingTimeInSeconds *int `json:"remainingTimeInSeconds,omitempty"`

	// Type Element of a zone overlay.
	// Does not contain NEXT_TIME_BLOCK which is present in the ZoneOverlayTerminationTypeSkillBasedApp enum.
	// Value descriptions:
	// * MANUAL: the (temperature) settings in the ZoneOverlay will last indefinitely
	// * TIMER: the (temperature) settings in the ZoneOverlay will last for a fixed number of seconds,  starting at the moment the ZoneOverlay was set (requires setting durationInSeconds as well)
	// * TADO_MODE: the (temperature) settings in the ZoneOverlay will last until the next time block in the active timetable starts
	Type *ZoneOverlayTerminationType `json:"type,omitempty"`

	// TypeSkillBasedApp When setting a ZoneOverlay this value is used to specify until when the ZoneOverlay should be active.
	//
	// Compared to ZoneOverlayTerminationType it contains NEXT_TIME_BLOCK as an extra value.
	//
	// Value descriptions:
	// * MANUAL: the (temperature) settings in the ZoneOverlay will last indefinitely
	// * TIMER: the (temperature) settings in the ZoneOverlay will last for a fixed number of seconds,  starting at the moment the ZoneOverlay was set (requires setting durationInSeconds as well)
	// * TADO_MODE and NEXT_TIME_BLOCK: the (temperature) settings in the ZoneOverlay will last until the next time block in the active timetable starts
	//
	// NEXT_TIME_BLOCK could be a deprecated value. The app features which allow a user to set an ZoneOverlay (or a DefaultZoneOverlay) only offer options that translate into MANUAL, TIMER or TADO_MODE.
	TypeSkillBasedApp *ZoneOverlayTerminationTypeSkillBasedApp `json:"typeSkillBasedApp,omitempty"`
}

ZoneOverlayTermination Defines if/how the overlay terminates.

type ZoneOverlayTerminationType

type ZoneOverlayTerminationType string

ZoneOverlayTerminationType Element of a zone overlay. Does not contain NEXT_TIME_BLOCK which is present in the ZoneOverlayTerminationTypeSkillBasedApp enum. Value descriptions: * MANUAL: the (temperature) settings in the ZoneOverlay will last indefinitely * TIMER: the (temperature) settings in the ZoneOverlay will last for a fixed number of seconds, starting at the moment the ZoneOverlay was set (requires setting durationInSeconds as well) * TADO_MODE: the (temperature) settings in the ZoneOverlay will last until the next time block in the active timetable starts

const (
	ZoneOverlayTerminationTypeMANUAL   ZoneOverlayTerminationType = "MANUAL"
	ZoneOverlayTerminationTypeTADOMODE ZoneOverlayTerminationType = "TADO_MODE"
	ZoneOverlayTerminationTypeTIMER    ZoneOverlayTerminationType = "TIMER"
)

Defines values for ZoneOverlayTerminationType.

type ZoneOverlayTerminationTypeSkillBasedApp

type ZoneOverlayTerminationTypeSkillBasedApp string

ZoneOverlayTerminationTypeSkillBasedApp When setting a ZoneOverlay this value is used to specify until when the ZoneOverlay should be active.

Compared to ZoneOverlayTerminationType it contains NEXT_TIME_BLOCK as an extra value.

Value descriptions: * MANUAL: the (temperature) settings in the ZoneOverlay will last indefinitely * TIMER: the (temperature) settings in the ZoneOverlay will last for a fixed number of seconds, starting at the moment the ZoneOverlay was set (requires setting durationInSeconds as well) * TADO_MODE and NEXT_TIME_BLOCK: the (temperature) settings in the ZoneOverlay will last until the next time block in the active timetable starts

NEXT_TIME_BLOCK could be a deprecated value. The app features which allow a user to set an ZoneOverlay (or a DefaultZoneOverlay) only offer options that translate into MANUAL, TIMER or TADO_MODE.

const (
	ZoneOverlayTerminationTypeSkillBasedAppMANUAL        ZoneOverlayTerminationTypeSkillBasedApp = "MANUAL"
	ZoneOverlayTerminationTypeSkillBasedAppNEXTTIMEBLOCK ZoneOverlayTerminationTypeSkillBasedApp = "NEXT_TIME_BLOCK"
	ZoneOverlayTerminationTypeSkillBasedAppTADOMODE      ZoneOverlayTerminationTypeSkillBasedApp = "TADO_MODE"
	ZoneOverlayTerminationTypeSkillBasedAppTIMER         ZoneOverlayTerminationTypeSkillBasedApp = "TIMER"
)

Defines values for ZoneOverlayTerminationTypeSkillBasedApp.

type ZoneOverlayType

type ZoneOverlayType = string

ZoneOverlayType Type of a ZoneOverlay. Only known value is MANUAL, but not entirely sure, so no enum

type ZoneOverlays

type ZoneOverlays struct {
	Overlays *[]struct {
		// Overlay A zone overlay is a user controlled override for the user defined scheduled (temperature) settings of a zone. As long as a zone overlay is present for a zone, the zone's scheduled (temperature) settings do not take effect.
		// Termination of the zone overlay (either never, a set time or when the next block in the active timetable starts)  is part of the zone overlay definition.
		Overlay *ZoneOverlay `json:"overlay,omitempty"`

		// Room ID of a zone (unique only within the home it belongs to)
		Room *ZoneId `json:"room,omitempty"`
	} `json:"overlays,omitempty"`
}

ZoneOverlays input for POST /homes/{homeId}/overlay

type ZoneSetting

type ZoneSetting struct {
	// FanLevel Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	FanLevel *FanLevel `json:"fanLevel,omitempty"`

	// HorizontalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	HorizontalSwing *HorizontalSwing `json:"horizontalSwing,omitempty"`
	IsBoost         *bool            `json:"isBoost,omitempty"`

	// Light Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	Light *Light               `json:"light,omitempty"`
	Mode  *AirConditioningMode `json:"mode,omitempty"`

	// Power used in ZoneSetting
	Power       *Power       `json:"power,omitempty"`
	Temperature *Temperature `json:"temperature,omitempty"`
	Type        *ZoneType    `json:"type,omitempty"`

	// VerticalSwing Used in AirConditioningZoneSettingsBase and AirConditioningModeCapabilitiesBase
	VerticalSwing *VerticalSwing `json:"verticalSwing,omitempty"`
}

ZoneSetting defines model for ZoneSetting.

type ZoneState

type ZoneState struct {
	// ActivityDataPoints Part of ZoneState. Empty for a HOT_WATER zone
	ActivityDataPoints             *ActivityDataPoints `json:"activityDataPoints,omitempty"`
	GeolocationOverride            *bool               `json:"geolocationOverride,omitempty"`
	GeolocationOverrideDisableTime *interface{}        `json:"geolocationOverrideDisableTime"`
	Link                           *struct {
		Reason *struct {
			Code  *string `json:"code,omitempty"`
			Title *string `json:"title,omitempty"`
		} `json:"reason,omitempty"`

		// State known values:
		// * ONLINE * OFFLINE
		State *string `json:"state,omitempty"`
	} `json:"link,omitempty"`
	NextScheduleChange *struct {
		// Setting (temperature) settings for a zone which is used in scheduled TimeTableBlocks,  in ZoneOverlays (manual override for the scheduled setting), and in AwayConfiguration (settings to be used when the home is in AWAY mode).
		//
		// The applicable properties depend on the zone type and the zone capabilities.
		Setting *ZoneSetting `json:"setting,omitempty"`
		Start   *time.Time   `json:"start,omitempty"`
	} `json:"nextScheduleChange"`
	NextTimeBlock *struct {
		Start *time.Time `json:"start,omitempty"`
	} `json:"nextTimeBlock,omitempty"`

	// OpenWindow Open Window is set when Tado detects an open window in the zone. While Open Window is active, heating is switched off.
	OpenWindow *ZoneOpenWindow `json:"openWindow,omitempty"`

	// Overlay A zone overlay is a user controlled override for the user defined scheduled (temperature) settings of a zone. As long as a zone overlay is present for a zone, the zone's scheduled (temperature) settings do not take effect.
	// Termination of the zone overlay (either never, a set time or when the next block in the active timetable starts)  is part of the zone overlay definition.
	Overlay *ZoneOverlay `json:"overlay,omitempty"`

	// OverlayType Type of a ZoneOverlay. Only known value is MANUAL, but not entirely sure, so no enum
	OverlayType            *ZoneOverlayType `json:"overlayType,omitempty"`
	Preparation            *interface{}     `json:"preparation"`
	RunningOfflineSchedule *bool            `json:"runningOfflineSchedule,omitempty"`

	// SensorDataPoints Element of ZoneState. Empty for a HOT_WATER zone
	SensorDataPoints *SensorDataPoints `json:"sensorDataPoints,omitempty"`

	// Setting (temperature) settings for a zone which is used in scheduled TimeTableBlocks,  in ZoneOverlays (manual override for the scheduled setting), and in AwayConfiguration (settings to be used when the home is in AWAY mode).
	//
	// The applicable properties depend on the zone type and the zone capabilities.
	Setting  *ZoneSetting  `json:"setting,omitempty"`
	TadoMode *HomePresence `json:"tadoMode,omitempty"`
}

ZoneState Result of /homes/{homeId}/zone/{zoneId}/state

type ZoneStates

type ZoneStates struct {
	// ZoneStates a dictionary with zone IDs (a.k.a. room IDs) as keys
	ZoneStates *map[string]ZoneState `json:"zoneStates,omitempty"`
}

ZoneStates Result of /homes/{homeId}/zoneStates. Basically a map with a zoneID as key and ZoneState as value.

type ZoneType

type ZoneType string

ZoneType defines model for ZoneType.

const (
	AIRCONDITIONING ZoneType = "AIR_CONDITIONING"
	HEATING         ZoneType = "HEATING"
	HOTWATER        ZoneType = "HOT_WATER"
)

Defines values for ZoneType.

Directories

Path Synopsis
Package tools contains various tools to make it easier to use the Tado API
Package tools contains various tools to make it easier to use the Tado API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL