Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
J. Nick Koston
a6f4f6eae8
Use eager task creation to add entities to entity platform ( #111553 )
2024-02-27 09:54:51 -10:00
Franck Nijhof
e0a9dcd996
Add label registry ( #110821 )
2024-02-19 11:59:08 +01:00
G Johansson
bc720b48b4
Add TURN_OFF and TURN_ON to ClimateEntityFeature ( #101673 )
...
* Add ClimateEntityFeature.TURN_OFF
* Fixes
* Fixes
* wording
* Change to services
* Fixing
* Fixing
* Last bits
* Review comments
* Add hvac_modes checks
* Fixes
* Add tests
* Review comments
* Update snapshots
* balboa
* coolmaster
* ecobee
* mqtt
* nest
* plugwise
* smarttub
* whirlpool
* zwave_js
* fix test climate
* test climate
* zwave
* nexia
* nuheat
* venstar
* tado
* smartthings
* self.hvac_modes not None
* more tests
* homekit_controller
* homekit controller snapshot
2024-01-30 15:07:47 +01:00
Erik Montnemery
97e038eb2e
Fix light color mode in netatmo ( #108759 )
2024-01-24 15:29:16 +01:00
J. Nick Koston
c399cab427
Small speed up to checking core state ( #107845 )
2024-01-18 08:41:32 -10:00
G Johansson
7dffc9f515
Remove config import from netatmo ( #107972 )
...
* Remove config import from netatmo
* Fix tests
2024-01-16 22:17:18 +01:00
Tobias Sauerwein
f808c2ff14
Add Netatmo fan platform ( #107989 )
...
* Add fan platform
to support NLLF centralized ventilation devices
* Update tests/components/netatmo/test_fan.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/netatmo/test_fan.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/netatmo/test_fan.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/netatmo/test_fan.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* add snapshots
* update snapshot
* fix docstring
* address comment
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-14 11:47:20 +01:00
Joost Lekkerkerker
9471f81a18
Give name to Netatmo device snapshots ( #107938 )
2024-01-13 11:09:47 +01:00
Joost Lekkerkerker
f601104418
Snapshot Netatmo devices ( #107935 )
2024-01-13 10:59:36 +01:00
Joost Lekkerkerker
902619a4db
Add snapshot tests to Netatmo platforms ( #107932 )
...
* Add snapshot tests to Netatmo platforms
* Add snapshot tests to Netatmo platforms
2024-01-13 10:18:21 +01:00
Joost Lekkerkerker
7bcfcfef5f
Improve Netatmo tests ( #107902 )
...
* Improve Netatmo tests
* Improve Netatmo tests
2024-01-12 23:27:31 +01:00
G Johansson
83f4d3af5c
Implement mode validation in Climate entity component ( #105745 )
...
* Implement mode validation in Climate entity component
* Fix some tests
* more tests
* Fix translations
* fix deconz tests
* Fix switcher_kis tests
* not None
* Fix homematicip_cloud test
* Always validate
* Fix shelly
* reverse logic in validation
* modes_str
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-27 14:51:39 +01: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
Erik Montnemery
6908497c3d
Add minor version to config entries ( #105479 )
2023-12-12 08:44:35 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +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
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
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
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
Erik Montnemery
50827405d0
Fix patch of PLATFORMS constant in netatmo ( #101038 )
2023-09-29 16:30:33 +02:00
J. Nick Koston
0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions ( #100567 )
2023-09-19 18:58:46 +02:00
Jan-Philipp Benecke
cf59ea3c47
Use snapshot assertion for netatmo diagnostics test ( #99159 )
2023-09-01 19:27:54 +02:00
Marc Mueller
6f43dd1c14
Adjust netatmo test ( #99071 )
2023-08-26 07:35:10 +02:00
Marc Mueller
1a77121c02
Fix aiohttp code DeprecationWarnings ( #97621 )
2023-08-02 20:28:18 +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
Erik Montnemery
7f0be78ebb
Teach netatmo device trigger about entity registry ids ( #94980 )
2023-06-21 14:51:24 +02:00
Erik Montnemery
eba04824a4
Replace assert_lists_same with pytest_unordered in integrations n-s ( #94902 )
2023-06-20 20:23:14 +02:00
Ville Skyttä
2e59ae9e90
Import `util.dt` as `dt_util` in `components/[k-o]*` ( #93760 )
2023-05-29 23:02:14 +02:00
J. Nick Koston
48485fc2bf
Complete persistent notifications migration ( #92828 )
...
* Complete migration of persistent notifications
Persistent notifications are no longer stored in
the state machine and no longer fire events
* Complete migration of persistent notifications
Persistent notifications are no longer stored in
the state machine and no longer fire events
* fixes
* fixes
* fixes
* ws test
* update tests
* update tests
* fix more tests
* fix more tests
* more fixes
* fix
* fix person
* fix person
* keep whitelist
* use singleton
2023-05-25 23:09:13 -04:00
Eric Severance
94f35ea968
Add webhook trigger allowed_methods/local_only options ( #66494 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-14 12:49:12 +02:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
J. Nick Koston
6f38bc274a
Fix netatmo with python 3.11 ( #88093 )
2023-02-15 14:02:33 +01:00
epenet
50cbabb2d8
Add type hints to integration tests (part 15) ( #88006 )
2023-02-15 10:00:49 +01:00
Franck Nijhof
330e1c6cbb
Clean up unnecessary registry mocks from integration tests ( #87763 )
2023-02-09 10:43:45 +01:00
epenet
3abf7ea18a
Add type hints to integration tests (m-p) ( #87705 )
2023-02-08 07:48:54 -08:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Tobias Sauerwein
927b8b2eef
Bump pyatmo to 7.3.0 ( #81290 )
...
* Bump pyatmo to 7.3.0
* Update test fixture data and tests
2022-10-31 11:09:15 +01:00
Tobias Sauerwein
fa350b984a
Clean up superfluous Netatmo API calls ( #81095 )
2022-10-27 14:42:16 -04:00
Tobias Sauerwein
aa58d7fbd6
Fix Netatmo device trigger ( #80047 )
2022-10-10 22:04:41 +02:00
Tobias Sauerwein
3e411935bb
Fix Netatmo scope issue with HA cloud ( #79437 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-01 21:11:54 -04:00
Tobias Sauerwein
81abeac83e
Netatmo refactor to use pyatmo 7.0.1 ( #73482 ) ( #78523 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-09-25 21:55:58 -04:00
Paulus Schoutsen
56e5774e26
Disable force update Netatmo ( #78913 )
2022-09-21 22:31:14 -04:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
epenet
e6970cb62f
Adjust root-import in netatmo tests ( #78771 )
2022-09-19 15:42:59 +02:00
epenet
7bc2712142
Adjust root-import in tests ( #78761 )
...
* Adjust root-import in tests
* Adjust diagnostics
* Adjust button
* Adjust select
* Adjust device_tracker
* Adjust camera
* Adjust humidifier
* Adjust media_source
* Adjust update
* Adjust siren
* Adjust number
* Adjust alarm_control_panel
* Adjust notify
* Adjust sensor
* Adjust switch
* Revert anthemav
* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Tobias Sauerwein
49854b809c
Netatmo entity renaming and clean up ( #75337 )
2022-07-27 14:17:38 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Erik Montnemery
47d0cc9b09
Update integrations to pass target player when resolving media ( #72597 )
2022-05-27 09:05:06 -07:00