mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Bump python-tado to 0.17.7 (#129842)
This commit is contained in:
parent
eafed2b86c
commit
15bf652f37
@ -14,5 +14,5 @@
|
||||
},
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["PyTado"],
|
||||
"requirements": ["python-tado==0.17.6"]
|
||||
"requirements": ["python-tado==0.17.7"]
|
||||
}
|
||||
|
@ -2405,7 +2405,7 @@ python-smarttub==0.0.36
|
||||
python-songpal==0.16.2
|
||||
|
||||
# homeassistant.components.tado
|
||||
python-tado==0.17.6
|
||||
python-tado==0.17.7
|
||||
|
||||
# homeassistant.components.technove
|
||||
python-technove==1.3.1
|
||||
|
@ -1926,7 +1926,7 @@ python-smarttub==0.0.36
|
||||
python-songpal==0.16.2
|
||||
|
||||
# homeassistant.components.tado
|
||||
python-tado==0.17.6
|
||||
python-tado==0.17.7
|
||||
|
||||
# homeassistant.components.technove
|
||||
python-technove==1.3.1
|
||||
|
47
tests/components/tado/fixtures/home.json
Normal file
47
tests/components/tado/fixtures/home.json
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": 1,
|
||||
"name": "My Home",
|
||||
"dateTimeZone": "Europe/Berlin",
|
||||
"dateCreated": "2019-03-24T16:16:19.541Z",
|
||||
"temperatureUnit": "CELSIUS",
|
||||
"partner": null,
|
||||
"simpleSmartScheduleEnabled": true,
|
||||
"awayRadiusInMeters": 100.0,
|
||||
"installationCompleted": true,
|
||||
"incidentDetection": { "supported": true, "enabled": true },
|
||||
"generation": "PRE_LINE_X",
|
||||
"zonesCount": 7,
|
||||
"language": "de-DE",
|
||||
"skills": ["AUTO_ASSIST"],
|
||||
"christmasModeEnabled": true,
|
||||
"showAutoAssistReminders": true,
|
||||
"contactDetails": {
|
||||
"name": "Max Mustermann",
|
||||
"email": "max@example.com",
|
||||
"phone": "+493023125431"
|
||||
},
|
||||
"address": {
|
||||
"addressLine1": "Musterstrasse 123",
|
||||
"addressLine2": null,
|
||||
"zipCode": "12345",
|
||||
"city": "Berlin",
|
||||
"state": null,
|
||||
"country": "DEU"
|
||||
},
|
||||
"geolocation": { "latitude": 52.0, "longitude": 13.0 },
|
||||
"consentGrantSkippable": true,
|
||||
"enabledFeatures": [
|
||||
"EIQ_SETTINGS_AS_WEBVIEW",
|
||||
"HIDE_BOILER_REPAIR_SERVICE",
|
||||
"INTERCOM_ENABLED",
|
||||
"MORE_AS_WEBVIEW",
|
||||
"OWD_SETTINGS_AS_WEBVIEW",
|
||||
"SETTINGS_OVERVIEW_AS_WEBVIEW"
|
||||
],
|
||||
"isAirComfortEligible": true,
|
||||
"isBalanceAcEligible": false,
|
||||
"isEnergyIqEligible": true,
|
||||
"isHeatSourceInstalled": false,
|
||||
"isHeatPumpInstalled": false,
|
||||
"supportsFlowTemperatureOptimization": false
|
||||
}
|
@ -20,6 +20,7 @@ async def async_init_integration(
|
||||
mobile_devices_fixture = "tado/mobile_devices.json"
|
||||
me_fixture = "tado/me.json"
|
||||
weather_fixture = "tado/weather.json"
|
||||
home_fixture = "tado/home.json"
|
||||
home_state_fixture = "tado/home_state.json"
|
||||
zones_fixture = "tado/zones.json"
|
||||
zone_states_fixture = "tado/zone_states.json"
|
||||
@ -65,6 +66,10 @@ async def async_init_integration(
|
||||
"https://my.tado.com/api/v2/me",
|
||||
text=load_fixture(me_fixture),
|
||||
)
|
||||
m.get(
|
||||
"https://my.tado.com/api/v2/homes/1/",
|
||||
text=load_fixture(home_fixture),
|
||||
)
|
||||
m.get(
|
||||
"https://my.tado.com/api/v2/homes/1/weather",
|
||||
text=load_fixture(weather_fixture),
|
||||
|
Loading…
x
Reference in New Issue
Block a user