1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
Commit Graph

532 Commits

Author SHA1 Message Date
Tobias Sauerwein
6a582b29f1
Bump pyatmo to v8.0.2 (#106758) 2023-12-31 10:04:42 +01:00
Tobias Sauerwein
7ef20c4431
Fix Netatmo light switching states by assuming state until next update (#106162) 2023-12-22 07:37:57 +01:00
Tobias Sauerwein
69dcc159ae
Bump pyatmo to 8.0.1 (#106094)
Fix missing NLFE
2023-12-20 20:32:03 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Tobias Sauerwein
57a6effd70
Fix unreachable Netatmo sensor returning false values (#105954)
* Fix unreachable sensor returning false values

* Clean up unnecessary code
2023-12-18 13:57:34 +01:00
deosrc
5623834b37
Add Netatmo temperature services (#104124)
* Update datetime strings to match input_datetime integration

* Add netatmo service to set temperature

* Add netatmo service to clear temperature setting

* Fix formatting

* Add tests for new services

* Fix mypy error

* Fix formatting

* Fix formatting

* Apply suggestions from code review (WIP)

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

* Complete changes from review suggestions

* Fix build error

* Add service to set temperature for time period

* Expand and fix test

* Replace duplicated strings with links

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-11-23 08:10:10 +01:00
Cody C
2ff9beb9c9
Fix typo in Netatmo homekit auto-discovery (#104060)
* Fix typo in Netatmo auto-discovery manifest.json

* Update zeroconf.py to fix CI issue with Netatmo
2023-11-17 14:36:28 +01:00
deosrc
c92945ecd6
Fix netatmo authentication when using cloud authentication credentials (#104021)
* Fix netatmo authentication loop

* Update unit tests

* Move logic to determine api scopes

* Add unit tests for new method

* Use pyatmo scope list (#1)

* Exclude scopes not working with cloud

* Fix linting error

---------

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2023-11-15 15:28:16 -05:00
Jan Bouwhuis
f94167a4bb
Fix invalid oauth2_unauthorized translation ref (#103873)
* Fix invalids oauth2_unauthorized translation ref

* Fix oauth2_failed
2023-11-12 21:13:38 +01:00
Allen Porter
787fb3b954
Improve OAuth error handling in configuration flows (#103157)
* Improve OAuth error handling in configuration flows

* Update strings for all integrations that use oauth2 config flow

* Remove invalid_auth strings

* Revert change to release

* Revert close change in aiohttp mock
2023-11-11 11:02:51 +01:00
Tobias Sauerwein
35791d7d6c
Bump pyatmo to v7.6.0 (#103410)
Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>
2023-11-05 21:13:45 +01:00
Tobias Sauerwein
fa6d8d281d
Change log level to debug in Netatmo (#103365)
Change log level to debug
2023-11-04 12:31:57 +01:00
Tobias Sauerwein
96409cf0e0
Use pyatmo device type enum instead of string (#103030) 2023-11-04 11:28:26 +01:00
Tobias Sauerwein
302b444269
Add service set_preset_mode_with_end_datetime in Netatmo integration (#101674)
* Add Netatmo climate service set_preset_mode_with_end_datetime to allow you to specify an end datetime for a preset mode

* Make end date optional

* address review comments

* Update strings

* Update homeassistant/components/netatmo/const.py

* Update homeassistant/components/netatmo/strings.json

---------

Co-authored-by: Adrien JOLY <adrien.joly-veillith@live.fr>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-10-14 14:44:16 +02:00
Joost Lekkerkerker
b75a59aad0
Unregister callback on Netatmo config entry unload (#101647) 2023-10-08 12:44:27 +02:00
Anil Daoud
f3864e6e2f
Handle ClientConnectorError in Netatmo data handler (#99116) 2023-10-07 14:19:57 +02:00
Robert Hillis
1c590f8d0e
Remove unnecessary defaults from Netatmo sensor (#101528) 2023-10-06 13:35:20 +02:00
Joost Lekkerkerker
1b43d79717
Use async_at_started in Netatmo (#100996)
* Use async_at_started in Netatmo

* Make nice
2023-10-02 11:41:06 +02:00
J. Nick Koston
cc252f705f
Use short handle attributes for device class in netatmo cover (#100228) 2023-09-12 13:34:50 -05: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
Marc Mueller
1a77121c02
Fix aiohttp code DeprecationWarnings (#97621) 2023-08-02 20:28:18 +02:00
G Johansson
2d4040c70a
Netatmo add issue for yaml deprecation (#97360)
Netatmo add issue
2023-07-27 22:50:50 +02:00
Franck Nijhof
86708b5590
Update ruff to v0.0.280 (#97102) 2023-07-23 22:00:26 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck Nijhof
90d839724c
Migrate integration services (N-P) to support translations (#96376) 2023-07-12 00:33:37 +02:00
Jan Bouwhuis
7eb087a9d7
Use common string references for device_automation translations (#95897) 2023-07-10 12:56:51 +02:00
Paulus Schoutsen
149ac4f99e
Capitalize a bunch of translations (#95421) 2023-06-28 11:08:53 +02:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
Erik Montnemery
7f0be78ebb
Teach netatmo device trigger about entity registry ids (#94980) 2023-06-21 14:51:24 +02:00
Francesco Carnielli
57af4672d5
Fix power sensor state_class in Netatmo integration (#92468) 2023-05-04 17:36:31 +02:00
epenet
2aa90b1d12
Fix lingering timer in netatmo (#91728) 2023-04-20 21:00:24 +02:00
epenet
d173590477
Remove combined translations in integrations (#91337)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-04-15 15:51:04 +02:00
epenet
f69d76702a
Adjust entity registry access in integrations (2) (#88947) 2023-03-01 08:02:51 +01:00
J. Nick Koston
6f38bc274a
Fix netatmo with python 3.11 (#88093) 2023-02-15 14:02:33 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 (#87027) 2023-02-08 20:38:43 +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
71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
Petter Ljungqvist
23c9580a4a
Change pressure unit of measurement from mbar to hPa in Netatmo integration (#86210)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-01-25 13:18:47 +01:00
Marc Mueller
077ca97ef8
Fix local_partial_types errors (#86410)
Fix local_partial_types errors
2023-01-23 10:29:11 +01:00
GitHub Action
771e07c68b [ci skip] Translation update 2023-01-22 00:25:52 +00:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
epenet
1766df3faa
Improve integration type hints for diagnostics (#85526) 2023-01-09 15:17:48 +01:00
Tobias Sauerwein
5d6ca6dd44
Bump pyatmo to v7.5.0 (#85016) 2023-01-02 18:52:47 -05:00
Michaël Arnauts
627a208d9f
Use a global const for CONF_UUID (#84093) 2022-12-19 12:16:30 +01:00
GitHub Action
1e0345a377 [ci skip] Translation update 2022-12-10 00:21:35 +00:00
epenet
061cef1a5e
Use SoundPressure unit and device class in integrations (#83585)
* Use SoundPressure unit and device class in integrations

* Adjust tests
2022-12-09 07:56:09 +01:00
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00