* Update sensor.py
Added information about the upstream line accorrding to fritzconnection library (available since V1.5.0) .
New information available are line sync speed,, noise margin and power attenuation.
Tested with ADSL and VDSL lines on fritzbox 7590, 7490 and 7390.
Not tested on cable internet / fiber. According to upstrem library should also work / fail gracefully.
* Update sensor.py
Fixed errors from automated tests
Sorry it took so long
* Update homeassistant/components/fritz/sensor.py
Thank you this sounds even better
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Update homeassistant/components/fritz/sensor.py
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* black & mypy fixes
* Rebase, fix multiplier, add conditional create
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* removes old profile switches and add new switches based on new method
* use Ellipsis instead of pass
* refactor async_add_profile_switches
* - add forgotten update_ha_state
- add notimplemtederror for devicebase
* 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>
* comments
* fix for devices that were not connected
* 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>
Co-authored-by: J. Nick Koston <nick@koston.org>
* 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>