Commit Graph

174 Commits (b52a8ba37a5e5e05b80beddff06b116371941d86)

Author SHA1 Message Date
Simone Chemelli bdea7fad75
Fritz: introduce wrapper.py - part 1 (sensor) (#63682)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Fritz: introduce api.py - part 1 (sensor)

* Revert

* coverage

* Apply review comments

* Better naming

* Coverage

* fix naming

* Avoid "ignore[no-any-return]"
2022-01-11 17:31:52 -10:00
epenet 431d15bf8b
Remove deprecated async_get_scanner from fritz (#63857)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:27:33 +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
GitHub Action 0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
Michael f8a78a49bb
Fix cleanup service to just run on loaded config entries in Fritz!Tools (#63570) 2022-01-06 12:28:12 -10: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 fc02260146
Fix management of Fritz repeaters (#63110) 2022-01-02 14:59:41 +01: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 c2938c50c3
Fix unique id for Fritz buttons (#63072)
* Fix unique id for Fritz buttons

* Apply review comment
2021-12-30 17:44:02 +01:00
Simone Chemelli da24b7ce2f
Bump fritzconnection and remove workarounds (#63050)
* Bump fritzconnection and remove workarounds

* Cleanup fritzbox_callmonitor
2021-12-30 12:53:54 +01:00
GitHub Action f07030c425 [ci skip] Translation update 2021-12-24 00:13:45 +00:00
Simone Chemelli 51a49f3d39
Fix missing exception handling from upstream lib in Fritz (#62617)
* Fix missing exception handling from upstream lib

* isort
2021-12-22 20:59:56 +01:00
Simone Chemelli 925e4998b4
Fix missing object assignment for Fritz (#62575) 2021-12-22 12:59:54 +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
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
epenet 80b65c679f
Use new enums in fritz (#61446)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-10 08:58:34 -05:00
Marc Mueller cd1b923e16
Use platform enum (2) [E-G] (#60933) 2021-12-04 13:26:40 +01:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
Simone Chemelli 00605c1e35
Fix old model network suffix for Fritz (#60802) 2021-12-02 09:59:07 +01:00
epenet 6544b440d2
Use dataclass properties in fritz discovery (#60697)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:02:58 +01:00
epenet ec1c52d945
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
Simone Chemelli 3cd80b95db
Logging issue workaround for fritzconnection library (#60448)
* Logging issue workaround

* Better approach
2021-11-27 07:56:53 -08:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
Marc Mueller de78c4f0f8
Import Callable from collections.abc (#60354) 2021-11-25 22:23:48 +01:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
Michael 6588879b6e
Use native datetime value in AVM Fritz!Tools sensors (#60233) 2021-11-23 21:20:51 +01:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
Simone Chemelli 82a422930b
Honor "Enable newly added entities" for Fritz (#59948) 2021-11-21 18:51:48 -06:00
GitHub Action 31d4239b64 [ci skip] Translation update 2021-11-22 00:13:02 +00:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
Simone Chemelli 06d35853b6
Fix typo in attribute for Fritz (#59791) 2021-11-16 19:30:50 +01:00
Simone Chemelli 4cfac18e1a
Fix firmware status check for Fritz (#59578) 2021-11-12 19:09:03 +01:00
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
Simone Chemelli c6a1fe0a5d
Fix condition for fritz integration (#59281) 2021-11-07 15:17:50 +01:00
GitHub Action 332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
GitHub Action 4e419d8c6f [ci skip] Translation update 2021-11-01 00:13:04 +00:00
Simone Chemelli f8af44cac2
Fritz clean device_tracker service (#56535) 2021-10-27 05:01:06 -05:00
Simone Chemelli 9d231ac2f8
Abort Fritz config flow for configured hostnames (#58140)
* Abort Fritz config flow for configured hostnames

* Fix tests + consider all combinations

* Fix async context
2021-10-25 22:44:23 +02:00
Robert Hillis 63646a19cc
Use DeviceInfo Class F-G (#58255) 2021-10-23 12:01:21 +02:00
epenet f6ffae9e10
Use DeviceInfo on components with configuration_url (#58223)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 17:40:13 +02:00
Simone Chemelli 1a9ac6b657
Switch Fritz to device selector for services (#58005) 2021-10-22 14:34:02 +02:00