Commit Graph

30512 Commits (0dd128af7777c2cdf75264477e54366c6dc3d217)

Author SHA1 Message Date
Daniel Hjelseth Høyer 6a93f5b7ad
Tractive name (#55342) 2021-08-28 08:57:57 -07:00
Maciej Bieniek 19873e6547
Address late review for Tractive integration (#55371) 2021-08-28 17:49:34 +02:00
Joakim Sørensen 2fcd77098d
Pin regex to 2021.8.28 (#55368) 2021-08-28 15:00:14 +02:00
jan iversen d1965eef8b
Activate mypy for sonar (#55327)
* Please mypy.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-28 12:05:48 +02:00
Nathan Spencer e2f257cb63
Bump pylitterbot to 2021.8.1 (#55360) 2021-08-27 20:58:21 -07:00
Maciej Bieniek ea8702b0df
Address late review for Xiaomi Miio number platform (#55275) 2021-08-27 21:41:15 -05:00
Joakim Sørensen 470aa7e871
Add data update coordinator to the Tautulli integration (#54706)
* Add data update coordinator to the Tautulli integration

* update .coveragerc

* Add guard for UpdateFailed

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* ignore issues

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2021-08-27 20:39:12 -05:00
Jason Hunter 61a7ce173c
close connection on connection retry, bump onvif lib (#55363) 2021-08-27 17:34:32 -07:00
GitHub Action b0c52220bc [ci skip] Translation update 2021-08-28 00:11:00 +00:00
Raman Gupta 714564eaa6
Listen to node events in the zwave_js node status sensor (#55341) 2021-08-27 15:01:20 -07:00
Aaron Bach 1f37c215f6
Ensure ReCollect Waste starts up even if no future pickup is found (#55349) 2021-08-27 15:00:17 -07:00
Paulus Schoutsen 46d0523f98
Convert solarlog to coordinator (#55345) 2021-08-27 14:59:55 -07:00
Paulus Schoutsen eb458fb1d5
Fix wolflink super call (#55359) 2021-08-27 14:59:28 -07:00
J. Nick Koston 10fa63775d
Ensure yeelights resync state if they are busy on first connect (#55333) 2021-08-27 12:43:53 -05:00
Anders Melchiorsen ed19fdd462
Upgrade aiolifx to 0.6.10 (#55344) 2021-08-27 09:53:42 -07:00
J. Nick Koston 2cc87cb7ab
Retrigger config flow when the ssdp location changes for a UDN (#55343)
Fixes #55229
2021-08-27 09:53:29 -07:00
jan iversen 7ac72ebf38
Add modbus name to log_error (#55336) 2021-08-27 09:26:57 -07:00
Robert Hillis 98c8782c2b
Fix sonos alarm schema (#55318) 2021-08-27 09:25:40 -07:00
realPy 7bd7d644a0
Correct flash light livarno when use hue (#55294)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-27 09:25:27 -07:00
prwood80 3f2fad1a27
Improve performance of ring camera still images (#53803)
Co-authored-by: Pat Wood <prwood80@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-27 09:22:49 -07:00
Chris Talkington 819fd811af
Fix reauth for sonarr (#55329)
* fix reauth for sonarr

* Update config_flow.py

* Update config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update config_flow.py
2021-08-27 11:04:07 -05:00
Michael e2dac31471
Use EntityDescription - fritzbox (#55104)
* Use sensor entity description

* check if not none instead if callable

* List comprehension in switch and climate

* change state to native_value in description

* merge FritzBoxSensorEntity into FritzBoxEntity

* rename SENSOR_DESCRIPTIONS to SENSOR_TYPES

* use mixins for descriptions

* use comprehension in async_setup_entry()

* improve extra_state_attributes
2021-08-27 17:09:34 +02:00
Erik Montnemery 7e70252de5
Handle statistics for sensor with changing state class (#55316) 2021-08-27 16:18:49 +02:00
J. Nick Koston cc857abfd2
Adjust zha comment to be readable (#55330) 2021-08-27 16:01:26 +02:00
epenet adab367f0e
Renault code quality improvements (#55313)
* Use constants

* Drop entity_class for binary_sensor

* Move data property from RenaultDataEntity to RenaultSensor

* Update function description
2021-08-27 12:12:09 +02:00
rikroe 259eeb3169
Bump bimmer_connected to 0.7.20 (#55299) 2021-08-27 12:03:25 +02:00
J. Nick Koston efb1fb9978
Always send powerview move command in case shade is out of sync (#55308) 2021-08-27 08:49:50 +02:00
Aaron Bach 5693f9ff9b
Bump simplisafe-python to 11.0.5 (#55306) 2021-08-27 08:48:20 +02:00
epenet 9ba504cd78
Address late review for Renault integration (#55230)
* Add type hints

* Fix isort

* tweaks to state attributes

* Move lambdas to regular functions

* Split CHECK_ATTRIBUTES into DYNAMIC_ATTRIBUTES and FIXED_ATTRIBUTES

* Clarify tests

* Fix typo
2021-08-27 07:22:23 +02:00
J. Nick Koston 176fd39e0b
Fix lifx model to be a string (#55309)
Fixes #55307
2021-08-27 06:37:28 +02:00
Matthias Alphart cd0ae66d58
Add CONF_STATE_CLASS to `sensor/__init__.py` (#54106)
* add CONF_STATE_CLASS to const.py

* move to `sensor/__init__.py`

* move to sensor/const.py

* Revert "move to sensor/const.py"

This reverts commit 604d0d066b.

* move it to `sensor/const.py` but import it from `sensor/__init__.py`

* add Modbus
2021-08-27 05:54:50 +02:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
J. Nick Koston 5393a16c44
Set yeelight capabilities from external discovery (#55280) 2021-08-26 19:04:12 -05:00
Aaron Bach cbd65efe52
Bump aiorecollect to 1.0.8 (#55300) 2021-08-26 16:59:27 -06:00
J. Nick Koston ef10773202
Fix creation of new nmap tracker entities (#55297) 2021-08-26 15:02:49 -07:00
J. Nick Koston dfc2556669
Gracefully handle pyudev failing to filter on WSL (#55286)
* Gracefully handle pyudev failing to filter on WSL

* add debug message

* add mocks so we reach the new check
2021-08-26 15:47:10 -05:00
Chris 14aa19b814
Fix unique_id conflict in smarttthings (#55235) 2021-08-26 13:43:26 -07:00
J. Nick Koston c3972b22fd
Fix yeelight brightness when nightlight switch is disabled (#55278) 2021-08-26 15:18:36 -05:00
J. Nick Koston ae1d2926cf
Fix some yeelights showing wrong state after on/off (#55279) 2021-08-26 13:25:26 -05:00
J. Nick Koston 089dfad78a
Ensure yeelight model is set in the config entry (#55281)
* Ensure yeelight model is set in the config entry

- If the model was not set in the config entry the light could
  be sent commands it could not handle

* update tests

* fix test
2021-08-26 13:02:59 -05:00
Paulus Schoutsen f6bb5c77a0
Bump ring to 0.7.1 (#55282) 2021-08-26 10:37:53 -07:00
Maciej Bieniek eb9d242ade
Move AirlySensorEntityDescription to sensor platform (#55277) 2021-08-26 18:40:42 +02:00
J. Nick Koston fbcf21412d
Only warn once per entity when the async_camera_image signature needs to be updated (#55238) 2021-08-26 09:36:25 -07:00
jjlawren b3e84c6ee8
Set up polling task with subscriptions in Sonos (#54355) 2021-08-26 09:35:35 -07:00
Florian Gareis c3316df31d
Don't create DSL sensor for devices that don't support DSL (#55269) 2021-08-26 09:33:41 -07:00
Maciej Bieniek f942cb03a4
Fix AttributeError for non-MIOT Xiaomi Miio purifiers (#55271) 2021-08-26 09:29:25 -07:00
Alexei Chetroi d3ac72d013
Bump up ZHA dependencies (#55242)
* Bump up ZHA dependencies

* Bump up zha-device-handlers
2021-08-26 11:38:35 -04:00
J. Nick Koston d59ea5329e
Abort zha usb discovery if deconz is setup (#55245)
* Abort zha usb discovery if deconz is setup

* Update tests/components/zha/test_config_flow.py

* add deconz domain const

* Update homeassistant/components/zha/config_flow.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-08-26 10:00:32 -04:00
J. Nick Koston d4fa625a7f
Defer zha auto configure probe until after clicking configure (#55239) 2021-08-26 09:59:41 -04:00
J. Nick Koston a89057ece5
Limit USB discovery to specific manufacturer/description/serial_number matches (#55236)
* Limit USB discovery to specific manufacturer/description/serial_number matches

* test for None case
2021-08-26 09:59:02 -04:00
jan iversen 2d5176eee9
Change entity_timers to be a local variable. (#55258)
Ensure outstanding pymodbus calls are handled before closing.
2021-08-26 15:23:00 +02:00
Erik Montnemery 0a07ff4d23
Warn if a sensor with state_class_total has a decreasing value twice (#55251) 2021-08-26 14:27:14 +02:00
Franck Nijhof 96303a1d80
Fix MQTT add-on discovery to be ignorable (#55250) 2021-08-26 11:14:42 +02:00
Joakim Sørensen 03d3bbfba1
Only postfix image name for container (#55248) 2021-08-26 10:54:42 +02:00
Eric Severance 56246056ce
Be tolerant of Wemo insight_param keys that might not exist (#55232) 2021-08-26 10:27:06 +02:00
Erik Montnemery 6d4a47a53d
Fix double precision float for postgresql (#55249) 2021-08-26 10:06:53 +02:00
Milan Meulemans e6d710c203
Remove option and range checks in Rituals integration (#55222)
* Fix number

* Fix select
2021-08-26 08:37:27 +02:00
Sean Vig b45c985d58
Remove un-needed asserts on hass in Amecrest (#55244) 2021-08-26 08:34:58 +02:00
GitHub Action 3d7bfa8357 [ci skip] Translation update 2021-08-26 00:13:27 +00:00
Marc Mueller b81c2806bb
Remove temperature conversion - tado (#55231) 2021-08-26 00:37:18 +02:00
Franck Nijhof 06a30c882f
Bump version to 2021.10.0dev0 (#55227) 2021-08-25 23:19:14 +02:00
epenet 9315f3bdd9
Use EntityDescription - renault (#55061)
* Cleanup sensor.py

* Add EntityDescription

* Add checks for state attributes

* Fix pylint

* Simplify checks

* Add icon checks

* Update data type

* Use mixin for required keys, and review class initialisation

* Add constraint to TypeVar("T")

* Enable lambda for icon handling

* Enable lambda for value handling

* Enable lambda for value handling
2021-08-25 23:15:49 +02:00
J. Nick Koston 35d943ba56
Add services to bond to start and stop increase/decrease brightness (#55006) 2021-08-25 22:07:31 +02:00
J. Nick Koston e6e8d7eded
Convert color temperature to visible color in lights (#55219) 2021-08-25 21:56:36 +02:00
Milan Meulemans 59d401e7b7
Add Nanoleaf reauth flow (#55217)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-25 21:56:10 +02:00
Diogo Gomes fb28665cfa
Add "cron patterns" to define utility_meter cycles (#46795)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-25 14:52:39 -05:00
Raman Gupta 2f7a7b0309
Add template functions to get area_id and area_name (#54248)
* Add template function to get area_id

* fix int bug

* Prefer area name lookup

* remove unnecessary checks

* fix import

* Add area_name function

* change behavior to fail in ambiguous scenarios

* Revert lotto winning exception checking

* review comments

* try except else
2021-08-25 15:16:51 -04:00
jan iversen d60f5e1721
Add missing convert to fan/light/switch modbus platform (#55203) 2021-08-25 21:02:06 +02:00
Paulus Schoutsen 7c5a0174ba
Add an energy solar platform for solar forecasts (#54576)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-25 11:37:03 -07:00
Paulus Schoutsen 038121e87b
Bump frontend to 20210825.0 (#55221) 2021-08-25 11:36:06 -07:00
Raman Gupta e9625e4b7a
Add number platform to template integration (#54789) 2021-08-25 11:34:20 -07:00
Raman Gupta 8407ad01d4
Add select platform to template integration (#54835) 2021-08-25 11:21:24 -07:00
Aidan Timson e062d7aec0
Honeywell Lyric - Entity Descriptions (#54956)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-25 10:29:34 -07:00
Giuseppe Iannello ec3bfcea46
Support for EnergyStorageTrait for vacuum cleaners (#55134) 2021-08-25 10:12:31 -07:00
Maciej Bieniek b97d131fb3
Add support for Xiaomi Miio pedestal fans (#55114)
Co-authored-by: Teemu R. <tpr@iki.fi>
2021-08-25 12:09:01 -05:00
Ben Edmunds b167e05a56
Sonos add bass & treble EQ option (#53978) 2021-08-25 17:42:40 +02:00
Milan Meulemans 5c6451d11b
Address review of Nanoleaf Config Flow (#55215) 2021-08-25 17:41:48 +02:00
Erik Montnemery 80cfd59939
Implement color_mode support for mysensors (#52068) 2021-08-25 17:41:33 +02:00
jan iversen 3a0a8da648
Change logging to do rollover() instead of rotate() (#55177)
* Change to rollover from rotate.

* Remove test log files.
2021-08-25 17:32:48 +02:00
J. Nick Koston bd0af57ef2
Support device triggers in HomeKit (#53869) 2021-08-25 16:47:39 +02:00
Marc Mueller 72410044cd
Remove temperature conversion - sht31 (#55213) 2021-08-25 16:44:27 +02:00
Aaron Bach 6bc5c1c9af
Finish EntityDescription implementation for RainMachine (#55180) 2021-08-25 08:36:25 -06:00
Marc Mueller 53851cb1b4
Remove temperature conversion - synology_dsm (#55214) 2021-08-25 09:32:35 -05:00
Erik Montnemery 20d8c4da90
Report average of position and tilt_position for cover groups (#52713) 2021-08-25 16:12:29 +02:00
Denis Milanović 35ccad7904
Ignore unsupported MeasureType-s from Withings (#55205) 2021-08-25 15:57:07 +02:00
Erik Montnemery 7f80781f9b
Prevent setting _attr_unit_of_measurement in subclasses of SensorEntity (#55211) 2021-08-25 15:44:35 +02:00
Erik Montnemery 856f4ad740
Fix Fjäråskupan RSSI sensor unit (#55210) 2021-08-25 15:39:49 +02:00
Otto Winter e633cc177e
ESPHome sensor use total_increasing state class (#55208) 2021-08-25 15:33:26 +02:00
Maciej Bieniek 06604728c5
Remove should poll property from Xiaomi Miio fan platform (#55201) 2021-08-25 15:25:46 +02:00
Erik Montnemery 517fda1383
Fix last_reset in utility_meter (#55209) 2021-08-25 15:24:51 +02:00
Marc Mueller 1224d68d05
Remove redundant str cast - sensor value conversion (#55204) 2021-08-25 15:01:17 +02:00
jan iversen d4064e7044
Cancel entity timers. (#55141) 2021-08-25 14:49:37 +02:00
Aaron Bach 2271f3b5f9
Clean up usage of EntityDescription in OpenUV (#55127)
* Clean up usage of EntityDescription in OpenUV

* Remove redundant typing

* Code review

* Update homeassistant/components/openuv/__init__.py

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

* Black

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-25 14:18:53 +02:00
Daniel Hjelseth Høyer 7dd169b48e
Utility meter, add STATE_CLASS_TOTAL_INCREASING (#54871)
* Utility meter, STATE_CLASS_TOTAL_INCREASING

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* update test

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* update test

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-25 14:03:30 +02:00
Marc Mueller 7f203069a4
Use EntityDescription - mhz19 (#55187)
* Use EntityDescription - mhz19

* Fix tests
2021-08-25 13:52:59 +02:00
jan iversen 504d23ac72
Activate mypy for switchbot (#55196)
* Please mypy.

* Update homeassistant/components/switchbot/switch.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-25 13:37:08 +02:00
Sean Vig 6b4e3bca6f
Add type annotations to amcrest integration (#54761)
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-08-25 13:24:29 +02:00
Erik Montnemery bb42eb1176
Warn if a sensor with state_class_total has a decreasing value (#55197) 2021-08-25 13:01:55 +02:00
Erik Montnemery ffbd2d79c8
Generate statistics for all sensors with a supported state_class (#54882)
* Generate statistics for all sensors

* Fix bugs, add tests

* Address review comments

* Cleanup warnings

* Simplify tests

* Simplify selection of statistics

* Fix tests
2021-08-25 13:00:35 +02:00
Børge Nordli 0d654fa6b3
Extract attribute names out of vol.Optional when validating entity service schema (#55157) 2021-08-25 13:00:11 +02:00
Marc Mueller bd407f3ff4
Fix name - temper (#55189) 2021-08-25 12:59:31 +02:00
jan iversen 7df8d0c973
Check for duplicate host/port and integration name in modbus (#54664)
* Check for duplicate host/port and integration name.

* Change to use set().

* Please CI.

* Add basic tests.
2021-08-25 12:29:00 +02:00
Meow a23f4dac62
Add service to clear completed shoppinglist items (#55032) 2021-08-25 12:26:37 +02:00
Erik Montnemery 3432efddaa
Remember state of MQTT availability topics when reconfiguring (#55199) 2021-08-25 12:23:42 +02:00
Yuval Aboulafia ebe48e78b7
Refactor Jewish Calendar to use EntityDescription (#54852) 2021-08-25 12:05:58 +02:00
Matthias Alphart 51361fbd2b
Add configurable `state_class` to Modbus sensors (#54103)
* add configurable state_class

* Add test of new parameter.

Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-08-25 11:50:54 +02:00
Paulus Schoutsen 186b8d4f4b
Fix rainforest eagle incorrectly fetch conncted first try (#55193) 2021-08-25 11:43:08 +02:00
Marc Mueller bf1112bc10
Remove temperature conversion - temper (#55188) 2021-08-25 11:19:28 +02:00
Klaas Schoute 49041b1469
Add account type to Forecast.Solar integration (#55175) 2021-08-25 11:16:23 +02:00
András Rutkai db5e159b6d
Updating IBM Watson SDK (#54914) 2021-08-25 10:55:46 +02:00
Aaron Bach e99761fd7f
Use EntityDescription - flunearyou (#55126) 2021-08-25 10:52:37 +02:00
Aaron Bach c9e8d42405
Use EntityDescription - airvisual (#55125) 2021-08-25 10:51:02 +02:00
Aaron Bach f92ba18a6b
Use EntityDescription - notion (#55120) 2021-08-25 10:42:57 +02:00
Marc Mueller 4a03d8dc47
Use EntityDescription - bme280 (#55184) 2021-08-25 10:39:59 +02:00
Marc Mueller 5e44498f1c
Use EntityDescription - bme680 (#55185) 2021-08-25 10:36:41 +02:00
Marc Mueller 839b9563ad
Use EntityDescription - htu21d (#55186) 2021-08-25 10:35:15 +02:00
Aaron Bach bf6d549910
Use EntityDescription - guardian (#55118) 2021-08-25 10:34:02 +02:00
jan iversen e2b1122eec
Activate mypy in gtfs (followup on reverted #54328) (#55195) 2021-08-25 10:30:29 +02:00
Marc Mueller 4036ba82fe
Remove temperature conversion - mhz19 (#55164) 2021-08-25 10:29:59 +02:00
Marc Mueller ed95bda781
Use EntityDescription - dht (#55183) 2021-08-25 10:28:43 +02:00
Luke Waite ab6be2890a
Add statistics for emoncms power and energy feeds (#55109) 2021-08-25 10:02:53 +02:00
GitHub Action b4238443c8 [ci skip] Translation update 2021-08-25 00:14:22 +00:00
Aaron Bach b8d4e9806e
Remove unreachable code in OpenUV (#55181) 2021-08-24 16:31:38 -05:00
Aaron Bach 24d017f974
Add ability to configure OpenUV "protection window" UV indices (#54562) 2021-08-24 15:37:50 -05:00
Alexei Chetroi 289734c748
Update ZHA config entry radio detection (#55128) 2021-08-24 15:25:31 -05:00
jjlawren 6cf312f3c8
Fix Sonos missing group member race condition on startup (#55158) 2021-08-24 14:13:18 -05:00
Richard Meyer 2932a3d6a7
Update version for smart-meter-texas to 0.4.7 (#54493)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-24 14:10:28 -05:00
Milan Meulemans 8570502681
Convert Nanoleaf yaml and discovery to config flow (#52199)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-24 14:09:36 -05:00
Milan Meulemans 9555a34691
Add missing baseclass for rituals perfume genie entities (#55166) 2021-08-24 14:08:48 -05:00
Marc Mueller 18f80c32d7
Remove temperature conversion - htu21d (#55165) 2021-08-24 20:00:16 +02:00
Marc Mueller f3ab174cd3
Remove temperature conversion - bme680 (#55163) 2021-08-24 19:58:43 +02:00
Marc Mueller cb556fe98e
Remove temperature conversion - bme280 (#55162) 2021-08-24 19:57:43 +02:00
Marc Mueller 81a6bec818
Remove temperature conversion - dht (#55161) 2021-08-24 19:56:46 +02:00
Alexei Chetroi 2927dcd809
Use a debouncer when updating ZHA group state (#53263) 2021-08-24 10:09:36 -07:00
Joakim Sørensen 29f1fab7f7
Move to aiogithubapi any async for the GitHub integration (#55143) 2021-08-24 11:46:44 -05:00
Aaron David Schneider 39d5ae77a9
Address late review of Fritz switch (#54842) 2021-08-24 18:10:32 +02:00
Erik Montnemery 38f0020619
Improve Tasmota MQTT discovery flow (#55147) 2021-08-24 18:08:17 +02:00
Niels Mündler abfba1f455
Handle missing mac address in syncthru (#55154)
* Fix access errors to mac address

printer.raw() is the only attribute accessed and will always be present.
However depending on the printer, the mac address might be missing.

* Update homeassistant/components/syncthru/__init__.py

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

* Update homeassistant/components/syncthru/__init__.py

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

* Update homeassistant/components/syncthru/__init__.py

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-24 10:56:36 -05:00
J. Nick Koston 2e62de5116
Adjust yeelight homekit model match (#55159) 2021-08-24 17:51:25 +02:00
Erik Montnemery fa9f91325c
Allow small dip in total_increasing sensor without detecting a reset (#55153) 2021-08-24 17:23:55 +02:00
Erik Montnemery 8877f37da0
Fix statistics for sensors setting last_reset (#55136)
* Re-add state_class total to sensor

* Make energy cost sensor enforce state_class total_increasing

* Drop state_class total

* Only report energy sensor issues once
2021-08-24 17:02:34 +02:00
Maciej Bieniek 8d3ccad38e
Convert number value to int in Xiaomi Miio (#55145) 2021-08-24 15:19:01 +02:00
Maciej Bieniek ca245f8e93
Fix min value for Xiaomi Miio volume entity (#55139) 2021-08-24 14:40:14 +02:00
jan iversen 98a3ad6fd4
Revert "Please mypy in gtfs and implement needed changes (#54328)" (#55148) 2021-08-24 14:29:03 +02:00
Sean Vig 5cbb217318
Update amcrest to use binary sensor entity description (#55092) 2021-08-24 14:06:19 +02:00
Erik Montnemery 828d862339
Fix Tasmota MQTT discovery flow (#55140) 2021-08-24 13:23:26 +02:00
posixx 547ede1e91
Implementation of new Vacation mode for MQTT-based alarm panels (#53561)
* Impelentation of new Vacation Mode for MQTT-based alarm panels

* Fixed typo

* another typo fix

* Split integrations: remove manual_mqtt

* added newline

* Impelentation of new Vacation Mode for MQTT-based alarm panels

* Fixed typo

* another typo fix

* Split integrations: remove manual_mqtt

* added newline

* missing abbreviation

* Fix tests

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-24 13:22:49 +02:00
Aidan Timson a5e498207d
OVO Energy - Sensor Entity Descriptions (#54952) 2021-08-24 12:53:32 +02:00
Matthias Alphart 17a7f7adeb
Configurable default `hvac_mode` for KNX climate (#54289) 2021-08-24 12:53:11 +02:00
Andre Richter 0fdea8ec8f
SMA: Add statistics support for power sensors (#54422) 2021-08-24 12:16:31 +02:00
jjlawren d5fe7e0e5a
Fallback to try all known Plex servers if none marked present (#53643) 2021-08-24 12:05:24 +02:00
cdheiser ede916f42f
Provide unique IDs for Lutron Entities (#51395)
Co-authored-by: cdheiser <cdheiser@users.noreply.github.com>
2021-08-24 11:50:32 +02:00
Jasper Smulders 5aa6f9dbb2
Add deCONZ support for Sonoff SNZB-01 switches (#54919) 2021-08-24 11:33:19 +02:00
jan iversen e2ce1d8b24
Please mypy in gtfs and implement needed changes (#54328) 2021-08-24 11:28:45 +02:00
jan iversen 336aa74317
Activate mypy for todoist (#55096) 2021-08-24 11:23:33 +02:00
jan iversen 0ab99fc8bf
Activate mypy for surepetcare (#55079) 2021-08-24 11:21:57 +02:00
Jan Bouwhuis 5bb9aa8f3d
Remove MQTT Fan legacy speeds (#54768)
* Remove MQTT Fan legacy speeds

* deprecated attibutes are not disruptive
2021-08-24 11:21:35 +02:00
Erik Montnemery 0624859bf4
Set statistics columns to double precision (#55053) 2021-08-24 11:18:59 +02:00
Klaas Schoute 96056f3fce
Fix bug removing API key on Forecast Solar (#55119) 2021-08-24 11:08:15 +02:00
Ernst Klamer d3f17de072
Change Solarlog Watt-peak to Watt (#55110) 2021-08-24 10:55:40 +02:00
J. Nick Koston dc851b9dd5
Ensure camera scaling always produces an image of at least the requested width and height (#55033) 2021-08-24 10:44:12 +02:00
epenet ccaf0d5c75
Use EntityDescription - onewire (#55003) 2021-08-24 10:37:59 +02:00
Marc Mueller 2796f65453
Use EntityDescription - broadlink (#55019) 2021-08-24 10:31:40 +02:00
Marc Mueller a527872a10
Use EntityDescription - comed_hourly_pricing (#55066) 2021-08-24 10:27:26 +02:00
Marc Mueller 8f2ea5f3cc
Use EntityDescription - rtorrent (#55067) 2021-08-24 10:24:16 +02:00
Marc Mueller 9f4f38dbef
Use switch instead of toggle entity (#55111) 2021-08-24 10:22:06 +02:00
Andre Richter a08f42e516
Use EntityDescription - Vallox (#54891)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-24 10:14:34 +02:00
Allen Porter 58f170ba45
Pin google-api-core to avoid new version of grpcio (#55115) 2021-08-24 09:43:29 +02:00
Klaas Schoute 5a58aa99b6
Bump Forecast Solar to v2.1.0 (#55121) 2021-08-24 09:15:57 +02:00
Paulus Schoutsen 9fc96818df
Guard for unparsable date time (#55108) 2021-08-23 23:56:47 -07:00
Paulus Schoutsen c8f584f4ef
Validate requirements format in hassfest (#55094)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-08-24 08:51:07 +02:00
Paulus Schoutsen cac486440f
Mark eagle entities as unavailable if connection with meter losts (#55102) 2021-08-23 22:35:26 -07:00
J. Nick Koston e92e206544
Fix race that allowed multiple config flows with the same unique id (#55131)
- If a config flow set a unique id and then did an await to
  return control to the event loop, another discovery with
  the same unique id could start and it would not see
  the first one because it was still uninitialized. We now
  check uninitialized flows when setting the unique id
2021-08-23 23:01:21 -05:00
Jesse Hills e06f3a5e95
Bump aioesphomeapi to 7.0.0 (#55129) 2021-08-23 22:40:01 -05:00
J. Nick Koston ce0a42a407
Fix updating device path from discovery in zha (#55124) 2021-08-23 22:36:24 -05:00
J. Nick Koston 6f75a853f8
Bump httpx to 0.19.0 (#55106)
* Bump httpx to 0.19.0

* regen constraints
2021-08-23 20:27:53 -07:00
Giuseppe Iannello 4d7de0fd4c
Add support for Google Assistant's LocatorTrait for vacuum cleaners (#55015)
* Support for LocatorTrait for vacuum cleaners

* Handle Locator request with `silence: True`

* Update homeassistant/components/google_assistant/trait.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

* Black

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-23 20:16:50 -07:00
GitHub Action ff14a11254 [ci skip] Translation update 2021-08-24 01:55:24 +00:00
RDFurman 2aed7b94c5
Add multi device support back to honeywell (#54003)
* Add multi device support back to honeywell

* Fix device reference in honeywell climate

* Use deviceid for unique_id

* Add test for multiple thermostats

* Reduce recursive jobs

* Remove old filter

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-23 17:54:55 -05:00
Maciej Bieniek 09b872d51f
Add `sensor` platform for Tractive integration (#54143)
* Add sensor platform

* Add extra_state_attributes

* Add more constants

* Add sensor.py to .coveragerc file

* Use native value

* Suggested change

* Move SENSOR_TYPES to sensor platform

* Add domain as prefix to the signal

* Use TractiveEntity class

* Add model.py to .coveragerc file

* Clean up files

* Add entity_class attribute to TractiveSensorEntityDescription class

* TractiveEntity inherits from Entity

* Suggested change

* Define _attr_icon as class attribute

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-08-24 00:20:28 +02:00
Marc Mueller 7314b1c8e1
Use EntityDescription - thinkingcleaner (#55068) 2021-08-23 23:04:17 +02:00
Marc Mueller 354dbe91b7
Use EntityDescription - ombi (#55086) 2021-08-23 23:00:14 +02:00
jan iversen dae40530bd
Activate mypy for synology_srm (#55059) 2021-08-23 22:57:33 +02:00
Marc Mueller c2b2c8604f
Use EntityDescription - volkszaehler (#55034) 2021-08-23 22:56:31 +02:00
jan iversen 9b472aee9a
Activate mypy for wink (#55077) 2021-08-23 22:55:00 +02:00
Maciej Bieniek 0c68a54dea
Fix TypeError in Xiaomi Miio fan platform (#55091) 2021-08-23 22:51:29 +02:00
J. Nick Koston 52bbaa8277
Bump pymyq to 3.1.3 (#55099) 2021-08-23 22:50:44 +02:00
Marc Mueller 4d93f23feb
Use EntityDescription - enocean (#55087) 2021-08-23 22:47:46 +02:00
Marc Mueller 9fe434ac36
Use EntityDescription - zamg (#54942) 2021-08-23 22:44:03 +02:00
Marc Mueller 1152330865
Use EntityDescription - dovado (#54945) 2021-08-23 22:41:02 +02:00
Marc Mueller a23f27a7a8
Use EntityDescription - magicseaweed (#54943) 2021-08-23 22:38:10 +02:00
Marc Mueller c7926e56b8
Use EntityDescription - sensehat (#54995) 2021-08-23 22:35:59 +02:00
Marc Mueller 4a1906a833
Use EntityDescription - startca (#55036) 2021-08-23 22:33:59 +02:00
Marc Mueller 1f6a70bafd
Use EntityDescription - amcrest (#54998) 2021-08-23 22:32:01 +02:00
Marc Mueller e5a350e786
Use EntityDescription - miflora (#55020) 2021-08-23 22:30:01 +02:00
Marc Mueller 4b069b42f0
Use EntityDescription - radarr (#54997) 2021-08-23 22:27:42 +02:00
Marc Mueller a84f1284c0
Use EntityDescription - bbox (#55064) 2021-08-23 22:24:32 +02:00
gjong 90f7131328
Update YouLess integration for long time measurements (#54767) 2021-08-23 22:14:56 +02:00
Ernst Klamer 4a57392881
Add state_class and device_class to Solarlog platform (#53946)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-23 22:11:20 +02:00
Marc Mueller 3bd309299e
Use EntityDescription - foobot (#54996) 2021-08-23 21:38:40 +02:00