Commit Graph

38207 Commits (f03b160c4637507691480de717b3f2d78e6ab844)

Author SHA1 Message Date
Jørgen Rørvik 6830eec549
Flexit component fix for updated modbus (#53583)
* 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>
2021-08-07 09:45:53 +02:00
Robert Hillis 0b52e13eb8
Fix androidtv media_image_hash (#54188) 2021-08-07 07:18:08 +02:00
Gian Klug 8b8f3b55b6
Add state class and last reset in kostal_plenticore (#54084)
* 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>
2021-08-07 06:25:35 +02:00
GitHub Action 98bcdc2cf5 [ci skip] Translation update 2021-08-07 00:10:12 +00:00
ollo69 099a1de92b
Use SensorEntityDescription for AsusWRT sensors (#54111) 2021-08-06 15:43:39 -07:00
J. Nick Koston acc0288f4c
Bump zeroconf to 0.33.4 to ensure zeroconf can startup when ipv6 is disabled (#54165)
Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.33.3...0.33.4
2021-08-06 12:48:00 -07:00
Joakim Plate 13e7cd237e
Convert to using sensor descriptors (#54115) 2021-08-06 09:56:51 -07:00
Zoe ✨ ddbd455827
Add statistics support for the PVOutput sensor (#54149) 2021-08-06 09:56:27 -07:00
Niccolo Zapponi 483a4535c8
Handle software version being None when setting up HomeKit accessories (#54130)
* 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>
2021-08-06 09:34:42 -07:00
Tom Brien d842fc288f
Ignore Coinbase vault wallets (#54133)
* Exclude vault balances

* Update option flow validation

* Update test name

* Add missed check

* Fix dangerous default
2021-08-06 09:34:21 -07:00
Raj Laud 2db278a7a7
Fix Squeezebox dhcp discovery (#54137)
* Fix Squeezebox dhcp discovery and allow ignore

* Test ignoring known Squeezebox players

* Fix linter errors
2021-08-06 09:29:52 -07:00
J. Nick Koston 5f790f6bd9
Fetch interface index from network integration instead of socket.if_nametoindex in zeroconf (#54152) 2021-08-06 09:15:35 -07:00
Michael 206073632f
Fix sensor PLATFORM_SCHEMA for ebox and enphase_envoy (#54142)
* Fix sensor PLATFORM_SCHEMA

* fix pylint
2021-08-06 14:59:00 +02:00
Oscar Calvo 19adce844c
Gracefully handle additional GSM errors (#54114) 2021-08-06 12:18:29 +02:00
Paulus Schoutsen 1cc3ffe20d
Fix jinja warning (#54109) 2021-08-06 06:41:50 +02:00
Matthias Alphart ab34ef475e
Test KNX binary sensor (#53820)
* test binary_sensor

* test binary_sensor with reset_after
2021-08-05 23:33:20 -05:00
Matthias Alphart 8ead20a76b
Test knx sensor (#54090) 2021-08-05 23:26:02 -05:00
Milan Meulemans 02d6918165
Run coordinator config_entry_first_refresh in rituals_perfume_genie setup (#54080) 2021-08-05 23:13:47 -05:00
Simone Chemelli 582f2ae2f6
Two fixes (#54102) 2021-08-05 19:24:41 -07:00
J. Nick Koston adc9f75493
Increase time before scene and script HomeKit entities are reset (#54105) 2021-08-05 19:24:24 -07:00
J. Nick Koston 46ad55455b
Bump zeroconf to 0.33.3 (#54108) 2021-08-05 19:24:09 -07:00
Shay Levy 58ccfff067
Fix Shelly last_reset (#54101) 2021-08-05 19:23:05 -07:00
GitHub Action 64c9f9e1cb [ci skip] Translation update 2021-08-06 00:15:04 +00:00
Paulus Schoutsen 8377b557da
Packages to support config platforms (#54085) 2021-08-05 13:11:01 -07:00
Paulus Schoutsen fcc3d24904
We shouldn't add measurement without last_reset to metered entities (#54087) 2021-08-05 13:10:42 -07:00
J. Nick Koston 26cb588ee2
Handle empty software version when setting up HomeKit (#54068)
Fixes #54059 Fixes #54024
2021-08-05 10:47:14 -07:00
puddly 5dc87d959c
Bump up ZHA dependencies (#54079) 2021-08-05 10:46:58 -07:00
Matthias Alphart 98877924d3
Add `state_class` for KNX sensors (#53996) 2021-08-05 10:11:01 -07:00
Paulus Schoutsen 3655859be2
Add some metadata to pvoutput energy sensor (#54074) 2021-08-05 10:09:56 -07:00
Ian b930e17d64
Bump py-nextbusnext to 0.1.5 (#53924)
* NextBus: Rebrand and bump new version of py-nextbusnext

* Revert rebrand
2021-08-05 18:47:23 +02:00
Joakim Sørensen 786a83f844
Add unique_id to Uptime Robot config_flow (#54055) 2021-08-05 14:58:29 +02:00
Milan Meulemans debcc6689f
Activate mypy for Cloudflare (#54041) 2021-08-05 13:01:12 +02:00
Gleb Sinyavskiy 25eb27cb9f
Add tractive integration (#51002)
* Scaffold

* Implement config flow

* Add dymmy device tracker and TractiveClient

* Add simple DeviceTracker

* Add device info

* Listen to tractive event and update tracker entities accordingly

* Refactoring

* Fix logging level

* Handle connection errors

* Remove sleep

* Fix logging

* Remove unused strings

* Replace username config with email

* Update aiotractive

* Use debug instead of info

* Cover config_flow

* Update .coveragerc

* Add quality scale to manifest

* pylint

* Update aiotractive

* Do not emit SERVER_AVAILABLE, properly handle availability

* Use async_get_clientsession

Co-authored-by:  Daniel Hjelseth Høyer <mail@dahoiv.net>

* Add @Danielhiversen as a codeowner

* Remove the title from strings and translations

* Update homeassistant/components/tractive/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Force CI

* Use _attr style properties instead of methods

* Remove entry_type

* Remove quality scale

* Make pyupgrade happy

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-05 12:47:42 +02:00
Franck Nijhof 91ab86c17c
Add state class support to Netatmo (#54051) 2021-08-05 12:29:00 +02:00
Joakim Sørensen 4a37ff2dda
Bump pyuptimerobot to 21.8.1 (#53995)
* Bump pyuptimerobot to 21.08.0

* pylint

* bump to 21.8.1

* Uppdate strings

* Update homeassistant/components/uptimerobot/strings.json

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-05 12:13:47 +02:00
Franck Nijhof 1bc3c743db
Add missing device class to SAJ energy sensors (#54048) 2021-08-05 12:12:06 +02:00
Michael 29e604bd22
Add vscode task code coverage (#53783)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-05 11:46:21 +02:00
Nathan Spencer dd479d410a
Bump pylitterbot to 2021.8.0 (#54000) 2021-08-05 10:29:23 +02:00
Milan Meulemans be880fdaa9
Activate mypy for Updater (#53950) 2021-08-05 09:18:03 +02:00
Milan Meulemans 36c0478c4a
Activate mypy for Reddit (#53949) 2021-08-05 09:16:47 +02:00
Dermot Duffy f2f084abe2
Use SwitchEntityDescription instead of EntityDescription in the motionEye integration (#54019) 2021-08-05 08:17:15 +02:00
Matthias Alphart 4d6c95a126
Don't double-validate KNX select options (#54020) 2021-08-05 08:16:33 +02:00
Aaron Bach c3a509bdd8
Add support for jammed status to SimpliSafe locks (#54006) 2021-08-04 19:50:09 -05:00
GitHub Action ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
jan iversen b2fffdd13e
Add temporary fix to modbus to solve upstream problem (#53857) 2021-08-04 17:03:31 -07:00
Bram Kragten a8e4482594
Update frontend to 20210804.0 (#53997) 2021-08-04 17:03:04 -07:00
Joakim Sørensen caf0bdd5b9
Add config flow to uptimerobot (#53938) 2021-08-04 22:20:03 +02:00
G Johansson 4ef859a9a9
Fix coordinator not defined in yale_smart_alarm (#53973)
* Bugfix coordinator not defined

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-04 22:16:39 +02:00
jjlawren 6eae5231f1
Fix empty sonos_group entity attribute on startup (#53985) 2021-08-04 21:57:19 +02:00
Simone Chemelli 316c2baa12
Fix divider for Fritz sensors (#53980) 2021-08-04 21:53:07 +02:00