Commit graph

19 commits

Author SHA1 Message Date
Mask3007
2228ea5ee0
Add update entity to fritz integration () 2022-04-19 17:12:21 +02:00
Michael
3d64d1b76b
Add tests for Fritz!Tools sensors () 2022-03-29 16:54:16 -07:00
Michael
94c5dbfd16
Rework config flow in AVM Fritz!Tools () 2022-03-29 16:53:53 -07:00
Simone Chemelli
777ae584d4
Add unique_id to Fritz diagnostics ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-04 14:43:33 -08:00
Michael
b8590fde40
Improve tests of Fritz!Tools (part1) () 2022-02-22 16:35:22 -08:00
Michael
c9f38355f7
Improve debugging and error handling in Fritz!Tools () 2022-01-31 15:28:11 -08:00
Simone Chemelli
3da33679a2
Fritz tests cleanup () 2022-01-28 21:06:19 -08:00
epenet
431d15bf8b
Remove deprecated async_get_scanner from fritz ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:27:33 +01:00
epenet
f292691b7b
Use SsdpServiceInfo for ssdp tests (part 3) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 11:46:20 -06:00
Simone Chemelli
9d231ac2f8
Abort Fritz config flow for configured hostnames ()
* Abort Fritz config flow for configured hostnames

* Fix tests + consider all combinations

* Fix async context
2021-10-25 22:44:23 +02:00
Simone Chemelli
8993ff0377
Fritz new binary sensor for link and firmware status + code cleanup () 2021-09-30 11:18:04 +02:00
Erik Montnemery
7dbe8070f7
Mock out network.util.async_get_source_ip in tests () 2021-09-02 20:44:50 +02:00
Simone Chemelli
7959225fef
Add switch platform to Fritz ()
* Add switch platform to Fritz

* Fix tests

* Pylint

* Small fix

* Bump fritzprofiles to fix log level and identifier

* Fix different WiFi networks with same name

* Changed exposed attributes

* Moved to extra_state

* Remove redundant lambda

* Add missing wait

* Removed identifiers

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Add mapping dict

* Device Profile disabled by default

* Heavy cleanup

* Tweak

* Bug fix

* Update homeassistant/components/fritz/switch.py

Co-authored-by: Aaron David Schneider <aaron.schneider@nbi.ku.dk>

* Fix port forward switching + small log improvement

* Cleanup from old approach

* Handle port mapping hot removal (from device)

* Minor fixes

* Typying

* Removed lambda call

* Last missing strict typing

* Split get entities

* Func rename

* Move FritzBoxBaseSwitch to switch.py

* Removed lambda

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Fixes after applying comments

* Remvoed redundant try block

* Removed broad-except

* Optimized async/sync switch

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Address remaining comments

* Optimize return list

* More optimization for return lists

* Some missing strict typing

* Redundant typing

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Wrong if

* Introduce const for profile status

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Fix mypy

* Switch back to get_local_ip()

* Address latest comments

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Aaron David Schneider <aaron.schneider@nbi.ku.dk>
2021-06-29 11:57:34 -04:00
Ville Skyttä
7d03b02192
Spelling fixes () 2021-06-11 13:35:03 +02:00
Simone Chemelli
987e8ed5ed
Add consider_home option to Fritz device_tracker ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-24 09:54:57 -05:00
Simone Chemelli
4d55290932
Fritz code quality improvements from and ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-14 11:46:37 -05:00
Simone Chemelli
4e24640ff7
Remove pytest-mock dependency () 2021-05-11 17:17:00 +03:00
Simone Chemelli
55c96ae86f
Create Fritz device and connectivity sensor ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-03 17:11:21 -10:00
Simone Chemelli
b92f29997e
Rework Fritz config_flow and device_tracker ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 00:10:33 -10:00