Commit Graph
62 Commits
Author SHA1 Message Date
Thomas55555andGitHub 528d67ee06 Remove unused snapshots [a-f] (#117999) 2024-05-24 08:28:04 +02:00
epenetandGitHub 0a625baeed Rename fritz coordinator module (#117440)
* Rename fritz coordinator module

* Update .coveragerc

* Adjust .coveragerc

* Adjust coverage

* Adjust coverage
2024-05-15 21:58:29 +02:00
MichaelandGitHub d8cca482b3 Add reconfigure flow to AVM Fritz!Tools (#116057)
add reconfigure flow
2024-04-24 07:52:14 +02:00
r-binderandGitHub 68225abce5 Add tls support for AVM Fritz!Tools (#112714) 2024-04-20 23:08:29 +02:00
J. Nick KostonandGitHub 213cf76781 Fix flakey fritz image test (#115161) 2024-04-07 13:46:38 -10:00
epenetandGitHub 0b01326f9f Use is in ConfigEntryState enum comparison in tests (A-M) (#114925) 2024-04-05 17:16:55 +02:00
Chris BräuckerandGitHub 51a3e79048 Add wake on LAN via Fritz!Box for tracked devices (#106778) 2024-04-03 18:37:20 +02:00
Joost LekkerkerkerandGitHub 906d3198e3 Use is in enum comparison in config flow tests F-J (#114670)
* Use right enum expression F-J

* Fix
2024-04-02 23:01:37 +02:00
J. Nick KostonandGitHub 9a79320861 Mark executor jobs as background unless created from a tracked task (#114450)
* Mark executor jobs as background unless created from a tracked task

If the current task is not tracked the executor job should not
be a background task to avoid delaying startup and shutdown.

Currently any executor job created in a untracked task or
background task would end up being tracked and delaying
startup/shutdown

* import exec has the same issue

* Avoid tracking import executor jobs

There is no reason to track these jobs as they are always awaited
and we do not want to support fire and forget import executor jobs

* fix xiaomi_miio

* lots of fire time changed without background await

* revert changes moved to other PR

* more

* more

* more

* m

* m

* p

* fix fire and forget tests

* scrape

* sonos

* system

* more

* capture callback before block

* coverage

* more

* more races

* more races

* more

* missed some

* more fixes

* missed some more

* fix

* remove unneeded

* one more race

* two
2024-03-30 00:16:53 -04:00
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00
Marc MuellerandGitHub 81c34ac952 Fix spelling [docstrings + comments] (#114168) 2024-03-25 11:33:00 +01:00
Marc MuellerandGitHub 32f3f46542 Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
Marc MuellerandGitHub c88b337600 Add empty line after module docstring [tests f-k] (#112709) 2024-03-08 14:50:04 +01:00
Joost LekkerkerkerandGitHub 9e2db708b9 Add icon translations to Fritz (#111547)
* Add icon translations to Fritz

* Add icon translations to Fritz
2024-02-27 00:17:15 +01:00
Erik MontnemeryandGitHub ae39945a85 Correct config entry setup in fritz tests (#110669) 2024-02-15 20:52:40 +01:00
f7909ee34a Clean up Fritz options flow (#109111)
Co-authored-by: Joost Lekkerkerker <[email protected]>
Co-authored-by: Franck Nijhof <[email protected]>
2024-01-30 13:19:40 +01:00
MichaelandGitHub 3d1751bdfa Prevent runtime issue during entity registration in coordinator of AVM Fritz!Tools (#108667)
prevent dictionary changed size during iteration
2024-01-22 14:26:46 -05:00
Franck NijhofandGitHub 4a824284d6 Mark flaky fritz update test as xfail (#108447) 2024-01-20 08:51:23 +01:00
MichaelandGitHub 84b20edeca Add missing wifi data in AVM!Fritz Tools tests (#107373) 2024-01-07 10:51:31 +01:00
MichaelandGitHub 0614e291c1 Set WiFi QR code entity to unknown when Fritzbox is not available (#105870) 2023-12-21 10:29:01 +01:00
706add4a57 Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <[email protected]>
2023-11-27 14:38:59 +01:00
MichaelandGitHub 3d28c6d636 Fix AVM Fritz!Tools update entity (#100151)
* move update entity to coordinator

* fix tests
2023-09-11 22:30:50 -04:00
Ville SkyttäandGitHub e7b6037419 Remove unnnecessary pylint configs from components [e-l]* (#99004) 2023-08-25 09:46:34 +02:00
Franck NijhofandGitHub 868a5f377f Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
MichaelandGitHub facd6ef765 Display current version in common format in AVM Fritz!Tools (#96424) 2023-07-21 21:58:18 +02:00
MichaelandGitHub 400c513209 Always add guest wifi qr code entity in AVM Fritz!Tools (#96435) 2023-07-12 20:54:48 +02:00
MichaelandGitHub 5a87186916 Improve integration startup in AVM Fritz!Tools (#96269) 2023-07-11 18:01:05 +02:00
MichaelandGitHub b64be798df Fix qr code data update in AVM Fritz!Tools (#95470)
* use async_update

* improve tests

* use async_image
2023-06-28 19:57:03 +02:00
MichaelandGitHub 4daacf9c4b Add Guest WiFi QR-Code image entity to AVM Fritz!Tools (#95282) 2023-06-27 23:48:28 +02:00
12129e9d21 Update service call return values and error handling (#94657)
* Update return signature of service calls

* Add timeout error handling in websocket api for service calls

* Update recorder tests to remove assertion on service call

* Remove timeout behavior and update callers that depend on it today

* Fix tests

* Add missing else

* await coro directly

* Fix more tests

* Update the intent task to use wait instead of timeout

* Remove script service call limits and limit constants

* Update tests that depend on service call limits

* Use wait instead of wait_for and add test

* Update homeassistant/helpers/intent.py

Co-authored-by: Martin Hjelmare <[email protected]>

---------

Co-authored-by: Paulus Schoutsen <[email protected]>
Co-authored-by: Martin Hjelmare <[email protected]>
2023-06-16 07:01:40 -07:00
MichaelandGitHub 33a4c2c162 Add entity name translations to AVM Fritz!Tools (#90703)
* add entity name translation

* apply suggestions

* sort strings
2023-04-03 07:35:35 -04:00
Franck NijhofandGitHub ed79265843 Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenetandGitHub b68f502769 Add type hints to integration tests (part 7) (#87980) 2023-02-13 09:53:09 +01:00
epenetandGitHub a79be493e5 Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Franck NijhofandGitHub 5e81d28116 Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
MichaelandGitHub 2f51059b7f Proper handling of authentication errors in AVM Fritz!Tools (#79434) 2023-02-01 16:03:18 +01:00
Franck NijhofandGitHub 62dcbe5258 Enable Ruff PT001 (#86730) 2023-01-26 18:05:05 +01:00
64a72daa27 Add IPv6 sensor to fritz component (#75708)
* Add IPv6 sensor to fritz component

* Cast return type to string

* Make ipv6 sensor suitable

* simplify cast to str

* use extisting property

Co-authored-by: chemelli74 <[email protected]>
Co-authored-by: mib1185 <[email protected]>
2022-12-05 00:48:41 +01:00
epenetandGitHub fe747601ff Cleanup DeviceClass and StateClass in tests (#78811) 2022-09-20 10:49:11 -04:00
epenetandGitHub 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
Franck NijhofandGitHub a6244eea28 Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
MichaelandGitHub 8c34067f17 Fix creating unique IDs for WiFi switches in Fritz!Tools (#73183) 2022-06-07 16:11:38 -07:00
MichaelandGitHub 287bc5e3dc Add release url to Fritz!Tools update entity (#71606)
* add release url to update entity

* fix test
2022-05-09 23:07:47 +03:00
Mask3007andGitHub 2228ea5ee0 Add update entity to fritz integration (#70096) 2022-04-19 17:12:21 +02:00
MichaelandGitHub 3d64d1b76b Add tests for Fritz!Tools sensors (#67776) 2022-03-29 16:54:16 -07:00
MichaelandGitHub 94c5dbfd16 Rework config flow in AVM Fritz!Tools (#67767) 2022-03-29 16:53:53 -07:00
777ae584d4 Add unique_id to Fritz diagnostics (#67384)
Co-authored-by: Paulus Schoutsen <[email protected]>
2022-03-04 14:43:33 -08:00
MichaelandGitHub b8590fde40 Improve tests of Fritz!Tools (part1) (#66972) 2022-02-22 16:35:22 -08:00
MichaelandGitHub c9f38355f7 Improve debugging and error handling in Fritz!Tools (#65324) 2022-01-31 15:28:11 -08:00
Simone ChemelliandGitHub 3da33679a2 Fritz tests cleanup (#65054) 2022-01-28 21:06:19 -08:00