Commit Graph

80 Commits (87f284c7e9093522820dc773d25ed0e7eb47b76a)

Author SHA1 Message Date
Michael 26f7843800
Fix uptime sensor deviation detection in Fritz!Tools (#92907) 2023-05-11 09:10:06 +02:00
Marc Mueller d66056cfab
Improve fritz generic typing (#92327) 2023-05-01 21:11:40 +02:00
Michael 895c0be82c
Fix call deflection update in Fritz!Tools (#92267)
fix
2023-04-29 20:19:41 -04:00
Michael ac4d9216d6
Turn AVM FRITZ!Box Tools call deflection switches into coordinator entities (#91913)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-04-29 18:51:38 +02:00
Michael 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
Michael 03aeaba7ef
Turn AVM FRITZ!Box Tools sensors into coordinator entities (#89953)
* make sensors coordinator entities

* apply suggestions

* move _attr_has_entity_name up
2023-03-22 22:34:23 +01:00
Marc Mueller 07a3046d11
Update pylint to 2.16.0 (#87083) 2023-02-02 12:49:01 +01:00
Michael 5fbc005224
Make central AvmWrapper class fully async in Fritz!Tools (#83768) 2023-01-16 20:54:32 +01:00
Marc Mueller 1de41ab123
Improve DataUpdateCoordinator typing in integrations (1) (#84655) 2022-12-27 22:44:25 +01:00
Franck Nijhof cb13418bab
String formatting and max line length - Part 2 (#84393) 2022-12-22 11:38:59 +01:00
Michael 4fbaefe55a
Fix IPv6 sensor is only loaded when Fritz!Box is in router mode (#83757)
do not check ipv6 when device is not a router
2022-12-11 13:22:54 -05:00
Stephan Singer 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 <simone.chemelli@gmail.com>
Co-authored-by: mib1185 <mail@mib85.de>
2022-12-05 00:48:41 +01:00
Simone Chemelli bb5c1ad659
Remove some low level calls from Fritz (#77848)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-09-15 16:05:58 +02:00
epenet b5402f9b57
Import device tracker constants from root (#78242) 2022-09-12 20:50:44 -04:00
epenet 859effee56
Remove unnecessary property from fritz (#77269) 2022-08-24 21:59:00 -04:00
Martin Hjelmare c05905ebda
Remove callback decorator from coroutine functions (#75626)
* Remove callback decorator from coroutine functions

* Remove some more callback decorators
2022-07-22 19:09:02 +02:00
Michael 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
Simone Chemelli bf23abdfae
Avoid fritz API calls during shutdown (#69225) 2022-04-04 11:04:54 +02:00
Marc Mueller 354fc4c1ae
Update coordinator typing (2) [e-f] (#68462) 2022-03-21 14:13:16 +01:00
Simone Chemelli 405c2f9cf3
Fix internet access switch for old discovery (#67777) 2022-03-07 17:23:08 +01:00
Simone Chemelli 53543f15a5
Allign logic for Fritz sensors and binary_sensors (#67623) 2022-03-04 14:38:28 -08:00
Simone Chemelli b75993d809
Check if UPnP is enabled on Fritz device (#67512)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-03 15:41:50 -08:00
Simone Chemelli c76d2c4283
Fritz device_trackers for non mesh devices (#67006) 2022-02-22 16:35:48 -08:00
Simone Chemelli f0fbc7bb2c
Fritz: fix unbound topology (#66877)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-02-19 21:07:40 -08:00
Simone Chemelli e069074f9e
Fix mesh role for Fritz old devices (#66369) 2022-02-12 13:58:35 -08:00
Simone Chemelli bfc3c29c6a
Change detection of router devices for Fritz (#65965) 2022-02-09 09:44:04 +01:00
Paulus Schoutsen f820806e3c
Remove duplicate methods from Frtiz (#65956) 2022-02-06 14:38:26 -08:00
Michael dc65c621ed
check wan access type (#65389) 2022-02-06 14:17:10 -08:00
Timo S d6693cdff9
Add fritz set guest wifi password service (#62892)
* Add a new service set_guest_wifi_password to the fritz integration.

* Remove unnecessary params defaults

* Remove default password length

* Add service schema, cleanup code

* Fix min password length in services.yaml

* Move schema to `services.py`, add typing

* Add default password length from upstream lib

* Remove None typing

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

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-02-04 08:57:14 +01:00
Michael 8432fe7bd6
Extend diagnostics data in Fritz!Tools (#65573) 2022-02-03 13:36:36 -08:00
Michael 80102e1e84
Fix data update when guest client disappears in Fritz!Tools (#65564)
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2022-02-03 12:32:36 -08:00
Michael 1b8252fa2f
Fix wan_access switch for disconnected devices in Fritz!Tools (#65378) 2022-02-01 09:57:34 -08:00
Michael c9f38355f7
Improve debugging and error handling in Fritz!Tools (#65324) 2022-01-31 15:28:11 -08:00
Michael ef74dab352
Fix "internet access" switch for Fritz connected device without known IP address (#65190)
* fix get wan access

* small improvement
- default wan_access to None
- test if dev_info.ip_address is not empty
2022-01-30 13:22:32 -08:00
Simone Chemelli 3cde472e43
Fix status for Fritz device tracker (#65152) 2022-01-28 21:14:51 -08:00
Simone Chemelli f369cef32f
Handle FritzInternalError exception for Fritz (#65124) 2022-01-28 08:32:46 -08:00
Simone Chemelli 02df6eb10e
Move call_action to AvmWrapper for Fritz (#64667) 2022-01-23 13:04:19 +01:00
Michael 09297520c0
Let the new wrapper just extend the `FritzBoxTools` class (#64133)
* let wrapper just extend the FritzBoxTools class

* keep avm_device in method names
2022-01-20 12:43:32 +01:00
Josh Soref 83c0b7910b
spelling: components/fritz (#64259)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 11:09:58 +01:00
Simone Chemelli e6419fd505
Fritz: small optimization (#63693)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Small optimization
2022-01-09 00:39:51 +02:00
Simone Chemelli e3c793718c
Add button and deprecate service for Fritz cleanup (#63692)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Add cleanup button

* Wrong commit

* Add service deprecation warning
2022-01-09 00:38:28 +02:00
Simone Chemelli 38244dd245
Fritz cleanup: part2 (triggers for button/service) (#63564)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Fritz cleanup: part2 (triggers for button/service)

* Remove commit

* Fix func overlapping

* Apply review comments

* Remove too early warning

* Missing wrapping
2022-01-08 19:23:12 +01:00
Simone Chemelli 60b6871b46
Fritz cleanup: part1 (naming) (#63535) 2022-01-06 12:15:40 +01:00
Simone Chemelli c3a432620c
Improve cleanup service for Fritz (#61484) 2022-01-05 20:21:15 +01:00
Simone Chemelli cd5bd2ff8b
Fix internet access switch for Fritz Wi-Fi guest devices (#63407) 2022-01-05 12:47:47 +01:00
Paulus Schoutsen 2b4bb49eb7
Make device tracker entities work better (#63328)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08:00
Simone Chemelli 6725e4033c
Use mesh topology and add 3 more attr for Fritz (#63049)
* Use mesh topology and add 3 more attr

* Apply review comment
2021-12-30 23:23:55 +01:00
Simone Chemelli 105ad861bd
Add buttons and deprecate services for Fritz (#61483)
* Add buttons and deprecate services

* Exclude tests

* Log full service name
2021-12-16 13:25:06 +01:00
Simone Chemelli 116759f2a1
Implement DataUpdateCoordinator for Fritz (#60909)
* Implement DataUpdateCoordinator for Fritz

* mypy

* Wrap sync method to async

* Apply review comments + final cleanup

* CoordinatorEntity
2021-12-16 13:24:32 +01:00
Simone Chemelli 82a422930b
Honor "Enable newly added entities" for Fritz (#59948) 2021-11-21 18:51:48 -06:00