* 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>
Pin google-cloud-pubsub to an older version, since newer versions have a
pin that is incompatible with the existing grpcio pin already in package_constraints.txt
* pyflexit first argument should be a ModbusSerialClient
This component broke with 2021.6
I have tested this patch on my setup and it restores functionality
* Implemented async reading of modbus values
Stopped using pyflexit as this is outdated and not needed
Instead using async_pymodbus_call from ModbusHub class
* Bugfix: Reading fan mode from wrong register
* Implemented async writing
Set target temperature and fan mode using modbus call
Added some error handling
* No longer require pyflexit
* Review comments.
Co-authored-by: jan Iversen <jancasacondor@gmail.com>
* Add state class and implement in kostal_plenticore
* Add support for more entity variants
* Add the state_class to the total values too
* Reformat kostal const.py
* Add `last_reset` to kostal_plenticore entities when `state_class` is set
Also reformat sensor.py
* Fix import
* Remove the constants from the homeassistant constants file
* Use sensor constants for the state_class
* Reformat
* Reformat
* Move last_reset from sensor.py into const.py
* Remove last_reset on PERCENTAGE entities
* Address lint issues
* Update homeassistant/components/kostal_plenticore/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Import datetime
* Apply suggestions from code review
* Fix isort
* Fix more isort
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Convert all HomeKit service info to string prior to checking for max length
* Added check for None software version
* Added test case for numeric version number
* Update tests/components/homekit/test_accessories.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fix style & none version test
* Fix test
* revert other change since it should be covered by the format_sw_version fix
Co-authored-by: J. Nick Koston <nick@koston.org>