249 Commits

Author SHA1 Message Date
Erwin Douna
d761b5ddbf Add tests and typing to Tado config flow (#98281)
* Upgrading tests

* Code improvements and removing unused function

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Importing Any

* Rerunning Blackformatter

* Adding fallback scenario to options flow

* Adding constants

* Adding a retry on the exceptions

* Refactoring to standard

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Adding type to validate_input

* Updating test

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-17 19:37:34 +02:00
Erwin Douna
2d4decc9b1 Revert "Integration tado bump" (#98505)
Revert "Integration tado bump (#97791)"

This reverts commit 65365d1db5.
2023-08-17 16:16:47 +02:00
Erwin Douna
ea5272ba62 Revert "Fix fanSpeed issue in Tado" (#98506)
Revert "Fix fanSpeed issue (#98293)"

This reverts commit d6498aa39e.
2023-08-17 15:44:23 +02:00
Marc Mueller
8b0fdd6fd2 Use asyncio.timeout [s-z] (#98452) 2023-08-15 14:34:18 +02:00
Erwin Douna
d6498aa39e Fix fanSpeed issue (#98293) 2023-08-12 10:27:45 +02:00
Erik Montnemery
045c327928 Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Erwin Douna
65365d1db5 Integration tado bump (#97791)
* Bumping to PyTado 0.16 and adding test coverage

* Removing comment

* Upgrading the deprecated functions

* Updating tests to support paramterization

* Delete test_config_flow.py

Reverting the tests, which will be placed in a different PR.

* Revert "Delete test_config_flow.py"

This reverts commit 1719ebc990a32d3309f241f8adc8262008ca4ff3.

* Reverting back changes
2023-08-07 15:59:46 +02:00
Joost Lekkerkerker
26152adb23 Add entity translations to Tado (#96226) 2023-07-23 14:32:25 +02:00
Franck Nijhof
4edec69637 Migrate integration services (T-V) to support translations (#96379) 2023-07-12 07:37:13 +02:00
chiefdragon
9672db0354 Add new preset to Tado to enable geofencing mode (#92877)
* Add new preset to Tado to enable geofencing mode
Add new 'auto' preset mode to enable Tado to be set to auto geofencing
mode.  The existing ‘home’ and ‘away’ presets switched Tado into manual
geofencing mode and there was no way to restore it to auto mode.
Note 1: Since preset modes (home, away and auto) apply to the Tado home
holistically, irrespective of the Tado climate entity used to select
the preset, three new sensors have been added to display the state of
the Tado home
Note 2: Auto mode is only supported if the Auto Assist skill is enabled
in the owner's Tado home. Various checks have been added to ensure the
Tado supports auto geofencing and if it is not supported, the preset is
not listed in the preset modes available

* Update codeowners in manifest.json

* Update main codeowners file for Tado component
2023-05-23 19:08:00 +02:00
rich-kettlewell
f2997ce4cc Tado set_water_heater_timer should use water_heater domain (#91364) 2023-04-13 19:49:07 +02:00
avee87
cc404cfe77 Refactor Tado to use entity descriptions and new naming style (#75750)
* Refactor Tado to use entity descriptions and new naming style

* minor fixes

* typing
2023-03-28 08:24:19 -04:00
Fabian Pfütsch
ea4d2bd1e8 Sync tado zones after updating climate preset (#79715) 2023-03-06 10:40:34 +01:00
epenet
4a3c0cd0a8 Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
PatrickGlesner
5b49648846 Update Tado services.yaml defaults (#88929)
Update services.yaml

Deletes default values in 'time_period' and 'requested_overlay' fields in 'set_climate_timer'.
2023-02-28 22:02:52 -05:00
Erik Montnemery
b0b1d8143f Sort manifests 10 (#87031) 2023-02-08 20:41:50 +01:00
Franck Nijhof
939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
ca1a12898c Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Erik Montnemery
096ef5da47 Use Home Assistant swing modes in tado climate (#84278) 2023-01-17 16:13:49 +01:00
epenet
2ae986d45b Remove invalid state class in tado (#85624) 2023-01-10 16:55:34 +01:00
GitHub Action
5169721916 [ci skip] Translation update 2023-01-04 00:22:58 +00:00
Franck Nijhof
f39f3b612a String formatting and max line length - Part 5 (#84501)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 16:43:17 +01:00
epenet
79d3d4ceae Use UnitOfTemperature in integrations (t-z) (#84309) 2022-12-20 18:50:39 +01:00
GitHub Action
1e0345a377 [ci skip] Translation update 2022-12-10 00:21:35 +00:00
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action
3ab9a14ce7 [ci skip] Translation update 2022-12-06 00:21:31 +00:00
epenet
63e8dd58ef Use UnitOfTemperature in water_heater entities (#83132) 2022-12-05 11:42:15 +01:00
epenet
c7a6b5983f Use UnitOfTemperature in climate entities [t-z] (#83129) 2022-12-05 10:18:57 +01:00
GitHub Action
5f9290e572 [ci skip] Translation update 2022-12-05 00:23:07 +00:00
north3221
d8a7336a3f Remove as codeowner for tado (#82919) 2022-11-29 13:58:53 +01:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
GitHub Action
3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
epenet
c62c19e58b Use _attr_supported_features in tado climate (#82219) 2022-11-16 21:52:36 +02:00
Franck Nijhof
a8f1cc0d33 Remove unneeded guards from (async_)add_entities call (#80471) 2022-10-17 21:11:58 +02:00
GitHub Action
388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
epenet
6affd9c6fb Import climate constants from root [m-z] (#78178) 2022-09-10 23:42:28 +02:00
epenet
f71313ee1e Adjust get_scanner pylint checks (#77944) 2022-09-07 10:58:54 +02:00
epenet
458001a06e Improve entity type hints [t] (#77883) 2022-09-06 13:35:52 +02:00
epenet
0c401bcab2 Use _attr_temperature_unit in climate entities (#77472) 2022-08-29 10:20:55 +02:00
epenet
2b9116f1f8 Use _attr_should_poll in components [s-t] (#77368)
* Use _attr_should_poll in components [s-t]

* Adjust touchline

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-26 22:03:50 -04:00
GitHub Action
bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action
6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action
519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action
81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
J. Nick Koston
cd03c49fc2 Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
epenet
42ed0fd47b Add async_get_options_flow type hints (n-z) (#73431) 2022-06-13 13:30:41 +02:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00