* Update nest static types from aditional PR feedback
Update nest and device helper static types based on post-merge discussion in PR #53475
* Remove unused type: ignore in synology
* Remove check for None device type
Remove check for None device type in order to reduce untested code as this is
a case not allowed by the nest python library.
* Add reauthentication to Uptime Robot
* Fix en strings
* format
* Fix docstring
* Remove unused patch
* Handle no existing entry
* Handle account mismatch during reauthentication
* Add test to validate reauth is triggered properly
* Test reauth after setup
* Adjust tests
* Add full context for reauth init
* 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>
* 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>