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
epenet
073833fcec
Use climate enums in netatmo ( #70724 )
2022-04-26 09:18:09 +02:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02:00
Paulus Schoutsen
a5383e40eb
Media source to verify domain to avoid KeyError ( #67137 )
2022-02-23 16:22:39 -08:00
Tobias Sauerwein
3d1cad9f67
Improve handling of cloud hook registration ( #65664 )
...
Signed-off-by: cgtobi <cgtobi@gmail.com>
2022-02-16 16:42:45 +01:00
Paulus Schoutsen
707f112f51
Improve raised exception consistency for media source ( #66497 )
2022-02-14 15:41:53 +01:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Joakim Sørensen
0a2f57e4f8
Move netatmo dataclass registrations ( #65052 )
2022-01-28 10:51:32 +01:00
Tobias Sauerwein
aecb342fda
Update Netatmo diagnostics ( #64610 )
2022-01-21 10:26:18 +01:00
Paulus Schoutsen
520ba0a82e
Introduce new redact helper ( #64579 )
2022-01-20 23:02:47 +01:00
Tobias Sauerwein
801011863b
Add diagnostics to Netatmo integration ( #64392 )
2022-01-19 15:52:20 -08:00
epenet
e492cb5156
Import webhook in netatmo ( #64105 )
...
* Import webhook in netatmo
* Adjust tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 13:01:14 +01:00
Ville Skyttä
f913961d63
Use DeviceAutomationType in tests/components/[m-r]* ( #62443 )
2021-12-20 22:29:22 +01:00
Tobias Sauerwein
45c463b61c
Fix Netatmo climate issue ( #61154 )
...
Signed-off-by: cgtobi <cgtobi@gmail.com>
2021-12-07 13:56:31 +01:00
Tobias Sauerwein
cf7a614309
Add battery sensor for Netatmo climate devices ( #60911 )
2021-12-03 09:33:24 -08:00
Tobias Sauerwein
653fb5b637
Update Netatmo climate platform ( #59974 )
2021-12-02 10:31:54 +01:00
epenet
77dfeb062f
Update ZeroconfServiceInfo in tests (n-t) ( #60219 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:35:44 -06:00
epenet
3cdca4a657
Use ZeroconfServiceInfo in netatmo tests ( #60048 )
2021-11-21 08:40:46 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Tobias Sauerwein
3970a50553
Add reauth for Netatmo when token or token scope is invalid ( #57487 )
2021-10-26 16:09:10 +02:00