Commit Graph

29908 Commits (d11c58dac83c375a4907ebc7f7c0e8be44a83fb7)

Author SHA1 Message Date
Paulus Schoutsen 1cc3ffe20d
Fix jinja warning (#54109) 2021-08-06 06:41:50 +02: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
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
Michael f7fb4ad782
Fix attr_unit_of_measurement in update of apcupsd entity (#53947) 2021-08-04 21:24:19 +02:00
Milan Meulemans 3f6282eb7a
Activate mypy for LG webOS Smart TV (#53958) 2021-08-04 19:31:24 +03:00
Jan Bouwhuis 1f9331f9db
Remove Xiaomi_miio select option validation (#53936) 2021-08-04 14:00:18 +02:00
Jan Bouwhuis 1054419498
Remove Xiaomi_miio number value validation (#53934) 2021-08-04 12:50:08 +02:00
Alex Henry b77335d6f9
Fix Panasonic Viera TV going unavailable when turned off (#53788) 2021-08-04 12:44:16 +02:00
Alex Henry fe957b74be
Upgrade anthemav dependency to 1.2.0 (#53931) 2021-08-04 12:43:30 +02:00
jan iversen 129cdda932
Late review. (#53933) 2021-08-04 12:34:04 +02:00
Maciej Bieniek 3b212b9109
Use `NumberEntityDescription` for Xiaomi Miio (#53911) 2021-08-04 12:03:18 +02:00
Jan Bouwhuis 8f014361d4
Validate Number value before calling entity method (#52343)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-04 11:57:26 +02:00
starkillerOG af38ff1ec1
Add xiaomi miio lumi.gateway.aqhm01 support (#53929) 2021-08-04 11:23:21 +02:00
Jan Bouwhuis 8299d0a7c3
Validate Select option before calling entity method (#52352)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-04 11:12:42 +02:00
Joakim Sørensen f9071a40de
Address review comments for 53918 (#53927) 2021-08-04 09:29:51 +02:00
jan iversen 083868ac01
Enable mypy for Yamaha (#53920) 2021-08-04 08:47:28 +02:00
Matt Zimmerman 515a47212e
Add target high/low temperatures to prometheus integration (#50071)
* add target high/low temperatures to prometheus integration

* use labels

* Revert "use labels"

This reverts commit 09c56d6359.

* fix naming

* tests

* cleanup

* use three separate metrics

* fix descriptions
2021-08-04 07:42:47 +02:00
Bram Kragten c682d5d5e4
Update frontend to 20210803.2 (#53923) 2021-08-04 02:10:33 +02:00
Adam Ernst 5735669693
Add "stop watering" service to rachio (#53764)
Co-authored-by: Brian Rogers <brg468@hotmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-03 16:51:52 -05:00
Martin Hjelmare c959a0a484
Limit zwave_js meter sensor last reset (#53921) 2021-08-03 22:50:14 +02:00
Joakim Sørensen f02259eb2d
Limit API usage for Uptime Robot (#53918) 2021-08-03 11:20:12 -07:00
Paulus Schoutsen 71375be54d
Handle Shelly get name on uninitialized device (#53917) 2021-08-03 11:16:00 -07:00
J. Nick Koston df03cce471
Enforce maximum length for HomeKit characteristics (#53913) 2021-08-03 10:09:10 -07:00
Jim Shank fa9ac71c3a
Check for torrents in queue before calling the api stop_torrent() (#53895)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-03 18:26:21 +02:00
Aaron Bach 7518c58806
Handle scenario where SimpliSafe code is falsey (#53912) 2021-08-03 16:56:15 +02:00
Joakim Sørensen 56360feb9a
Stream API requests to the supervisor (#53909) 2021-08-03 16:48:22 +02:00
Maciej Bieniek 2105419a4e
Use `SelectEntityDescription` for Xiaomi Miio integration (#53907)
* Use SelectEntityDescription

* Use SelectEntityDescription

* Remove service field from XiaomiMiioSelectDescription class

* Fix typo

* Use lowercase for options
2021-08-03 15:58:30 +02:00
Jesse Hills 672a74fa37
Allow esphome entities to be disabled by default (#53898) 2021-08-03 14:53:48 +02:00
Jc2k 081b2d533b
Add support for Eve Degree's air pressure sensor (#53891) 2021-08-03 07:30:50 -05:00
Maciej Bieniek 1286734ce9
Use SensorEntityDescription class for Xiaomi Miio (#53890) 2021-08-03 13:56:56 +02:00
Greg Dowling 7e63e12ece
Bump pyroon to 0.0.38 (#53906) 2021-08-03 13:52:59 +02:00
Jesse Hills 15d36734b0
Bump aioesphomeapi to 6.0.1 (#53905) 2021-08-03 13:39:35 +02:00
Joakim Sørensen 3f2e18fe17
Add user to homeassistant system health (#53902) 2021-08-03 11:58:27 +02:00
Paulus Schoutsen 27848720a4
Bump frontend to 20210803.0 (#53897) 2021-08-02 21:39:53 -07:00
Aaron Bach b6de8626de
Only show a SimpliSafe code entry when one exists (#53894) 2021-08-02 20:52:44 -07:00
Chris cfc5111561
Handle powerConsumption reports with null value (#53888) 2021-08-02 20:50:57 -07:00
GitHub Action d6c3d05517 [ci skip] Translation update 2021-08-03 00:10:03 +00:00
Paulus Schoutsen 91e55bdd14
Bump aiohue to 2.6.1 (#53887) 2021-08-02 14:44:15 -07:00
Aidan Timson 18f4d125c3
System Bridge v2.3.0+ - Data from WebSocket (#53443)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-02 22:11:26 +02:00
Maciej Bieniek 938ec27a86
Add support for MJJSQ humidifiers for Xiaomi MIIO integration (#53807) 2021-08-02 22:08:37 +02:00
Otto Winter d4cb819e1f
ESPHome implement light color modes (#53854) 2021-08-02 22:07:37 +02:00
Jc2k d414b58769
Fix watts unit for homekit_controller power sensors (#53877) 2021-08-02 10:47:11 -07:00
Paulus Schoutsen 80a8f35a42
Bump frontend to 20210802.0 (#53876) 2021-08-02 10:42:04 -07:00
Joakim Sørensen c3d623a37e
Fix issue when data is None (#53875) 2021-08-02 19:35:11 +02:00
Franck Nijhof 3bf06de363
Fix growat server config entry missing URL key (#53867) 2021-08-02 09:48:17 -07:00
Michael b2725918b1
Fix TP-Link smart strip devices (#53799) 2021-08-02 09:47:54 -07:00
Joakim Sørensen 1c38e9168c
Add base energy analytics (#53855) 2021-08-02 09:46:07 -07:00
Michael bffa9f960d
Add state class measurement to all suitable sensors on Speedtest.net (#53693)
* Add state class measurement

* use tuple instead of list
2021-08-02 17:00:25 +02:00
pdcemulator 1265aa0f64
Add edl21 OBIS IDs for DZG DWS76 (#53029) 2021-08-02 16:58:45 +02:00
Franck Nijhof d722d13b0e
Add measurement state class to ZHA power devices (#53866) 2021-08-02 16:33:27 +02:00
Franck Nijhof f3d4dac11f
Fix cloud accountlinking replacing token data (#53865) 2021-08-02 16:33:13 +02:00
Michael 4241c4ca5b
Fix crash when AVM FRITZ!SmartHome devices are unreachable (#53809) 2021-08-02 16:13:54 +02:00
jan iversen 3296772bd3
Late review on hdmi_cec (#53763) (#53863) 2021-08-02 16:02:39 +02:00
Milan Meulemans 8ab3d9cc12
Use homeassistant.const instead of integration const for device_info ATTR_ (#53703) 2021-08-02 15:11:41 +02:00
Graham Rogers 4f96f05a75
Improve Universal media player toggle default behavior (#49395)
Before it could not be overridden and the default behavior meant nothing was called when all children were off, so it could not be used to turn on the media player. The new default behavior is to delegate to `turn_on` and `turn_off` instead, which is more likely to be the expected behavior.
2021-08-02 15:10:56 +02:00
J. Nick Koston 65c6943784
Bump HAP-python to 4.0.0 (#53780) 2021-08-02 15:08:32 +02:00
jan iversen 857031df14
Activate mypy for Norway_air (#53787) 2021-08-02 15:07:27 +02:00
Franck Nijhof 4022d539fe
Add RPi.GPIO dependency to rpi_rf integration (#53858) 2021-08-02 15:00:43 +02:00
Felipe Martins Diel e8aee5ecf7
Fix entry setup for Broadlink SP4 sensors (#53765) 2021-08-02 14:59:23 +02:00
Vinny Furia 4f8c799610
Fix Radiothermostat hold value updates (#53656) 2021-08-02 14:57:10 +02:00
jan iversen 0f8a286cc7
Allow combinations write_coil/read_coils and write_coils/read_coil for modbus switch (#53856) 2021-08-02 14:55:52 +02:00
Emilv2 1012d823a0
Fix missing default reconnect interval in dsmr (#53760) 2021-08-02 14:54:33 +02:00
jan iversen bb11dc19d3
Convert @property to _attr_variable for hdmi_sec (#53816)
Convert @property to _attr_variable.
Break __init__ with a local function.
Make _attr_should_poll a class variable.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-02 14:30:30 +02:00
Daniel Hjelseth Høyer e4fe27061a
Add STATE_CLASS_MEASUREMENT to Tibber (#53802) 2021-08-02 11:50:52 +02:00
René Klomp 14db83e4c1
Bump pysma to 0.6.5 (#53792) 2021-08-02 11:14:45 +02:00
Joakim Sørensen da3419945c
Rename snapshot -> backup (#53851) 2021-08-02 11:07:21 +02:00
jan iversen 38832618bf
Please mypy. (#53786) 2021-08-02 09:18:59 +02:00
Jc2k 73bc62949b
Fix error in homekit_controller causing some entities to get an incorrect unique id (#53848) 2021-08-01 20:59:32 -07:00
GitHub Action 8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Chris 8ac1f5d28a
Add energy consumption sensors to smartthings devices (#53759) 2021-08-01 20:35:03 -07:00
Bram Kragten 32c2d42863
Update frontend to 20210801.0 (#53841) 2021-08-01 15:06:28 -07:00
B-Hartley 736fb2e90d
ForecastSolar - power production now w not k w (#53797) 2021-08-01 15:01:34 -07:00
Michael da1a9bcbf0
Do not block setup of TP-Link when device unreachable (#53770) 2021-08-01 14:58:55 -07:00
Maciej Bieniek 7d1324d66d
Remove `led` from Xiaomi Miio humidifier features (#53796) 2021-08-01 14:58:31 -07:00
Robert Hillis 822e8645eb
Fix file path error in nfandroidtv (#53814) 2021-08-01 10:08:39 +02:00
Sean Vig 673be4f7dd
Bump Amcrest version to 1.8.0 (#53784)
* Bump Amcrest version to 1.8.0
* Add codeowner to Amcrest.

Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-08-01 00:22:19 +02:00
jan iversen e41bc1a0da
Activate mypy for hdmi_cec (#53763)
* Please mypy.
* Remove CEC_DEVICES.
2021-07-31 23:18:37 +02:00
jan iversen 3d52bfc8f6
Simplify DATA_TYPE -> struct conversion. (#53805) 2021-07-31 23:17:23 +02:00
Maciej Bieniek f1f293de02
Clean Xiaomi Miio humidifier services (#53806) 2021-07-31 21:19:00 +02:00
Andreas Brett 172769d19c
Fix onkyo UnboundLocalError (#53793)
audio_information_raw and video_information_raw were in some cases used before being assigned

error: UnboundLocalError: local variable 'video_information_raw' referenced before assignment
2021-07-31 14:47:51 +02:00
Maciej Bieniek c6a2e247fe
Fix name migration of the Xiaomi Miio humidifier (#53790) 2021-07-31 12:32:16 +02:00
Paulus Schoutsen 370799bd22
Revert "Improve light scene support for white mode (#53768)" (#53782)
This reverts commit 6ffe0f6405.
2021-07-30 21:10:32 -07:00
Aidan Timson 82abae1f7d
Bump vallox-websocket-api to 2.8.1 (#53463) 2021-07-30 23:45:18 +02:00
Paulus Schoutsen 90cf94bb30
Bump Hue and only fire events for button presses (#53781)
* Bump Hue and only fire events for button presses

* Fix tests
2021-07-30 14:14:58 -07:00
Aaron Bach befe2cbefe
Fix parsing of non-string values in Slack data (#53775) 2021-07-30 14:13:53 -07:00
Bram Kragten c72fc0c08c
Update frontend to 20210730.0 (#53778) 2021-07-30 14:11:47 -07:00
Jan Bouwhuis a5824c3259
Fix Xiaomi-miio humidifier write the state back when turning on or off (#53771) 2021-07-30 12:47:55 -07:00
Erik Montnemery 6ffe0f6405
Improve light scene support for white mode (#53768) 2021-07-30 12:47:26 -07:00
Maciej Bieniek f2e7543f54
Fix Xiaomi Miio humidifier mode change (#53757) 2021-07-30 12:44:52 -07:00
J. Nick Koston 72bd3f7128
Bump HAP-python to 3.6.0 (#53754) 2021-07-30 12:44:28 -07:00
Joakim Sørensen a9722c90e9
Revert "Rename snapshot -> backup" (#53751)
This reverts commit 9806bda272.
2021-07-30 12:44:10 -07:00
Tobias Sauerwein 8e61ed39fd
Fix flaky netatmo tests (#53644) 2021-07-30 20:07:23 +02:00
jan iversen b0c650e088
Update integration Fints with activate mypy, use attr_variables (#53706)
* Please mypy.

* Convert property to _attr_variables.
2021-07-30 19:23:16 +02:00
uvjustin 7a200a5d3b
Fix non monotonic dts error in stream (#53712)
* Use defaultdict for TimestampValidator._last_dts

* Combine filters

* Allow PeekIterator to be updated while preserving buffer

* Fix peek edge case

* Readd is_valid filter to video only iterator
2021-07-30 08:02:33 -07:00
epenet b3f0d6840c
Use constants for device_info in Renault integration (#53714)
* Use constants for device_info

* Fix isort
2021-07-30 15:06:55 +03:00
epenet bb7236fd04
Use constants for device_info in Onewire integration (#53724) 2021-07-30 13:35:49 +02:00
Paulus Schoutsen 2cbcd5f2a9
Cost sensor handle consumption sensor in Wh (#53746) 2021-07-30 11:00:52 +02:00
Paulus Schoutsen 05a7853720
Add energy attributes to Fronius (#53741)
* Add energy attributes to Fronius

* Add solar

* Add power

* Only add last reset for total meter entities

* Only add last reset for total solar entities

* Create different entity descriptions per key

* only return the entity description for energy total

* Use correct key

* Meter devices keep it real

* keys start with energy_real

* Also device key starts with

* Lint
2021-07-29 23:34:03 -07:00
epenet 87dab02ce6
Remove YAML configuration from onewire (#53728) 2021-07-29 22:12:00 -07:00
Michael 692665e46c
Apply left suggestions #53596 for TP-Link (#53737) 2021-07-29 22:11:15 -07:00
Jan Bouwhuis 4a95ed9b7f
Fix Xiaomi-miio switch platform setup (#53739) 2021-07-29 22:10:41 -07:00
Jan Bouwhuis 1e33017db8
Fix Xiaomi humidifier name migration (#53738) 2021-07-29 22:10:16 -07:00
Brandon Rothweiler 96b02153b9
Only allow one Mazda vehicle status request at a time (#53736) 2021-07-29 22:08:52 -07:00
Eric Severance 7ae158f9a1
wemo light brightness fixes (#53740) 2021-07-29 22:08:13 -07:00
Michael 2b2cddb5f0
Extract smartthings switch energy attributes into sensors (#53719) 2021-07-29 21:50:02 -07:00
Ryan Johnson 8972fae0ca
Bump pyatv to 0.8.2 (#53659) 2021-07-29 21:19:32 -07:00
Michael 45e4f80cfe
Fix exception handling in DataUpdateCoordinator in TP-Link (#53734)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-07-29 21:18:09 -07:00
Marc Mueller 0815eede4b
Replace lists with tuples (2) (#53685) 2021-07-30 01:20:03 +02:00
Alexei Chetroi 5eba3e485b
Bump up ZHA dependencies (#53732) 2021-07-29 16:16:47 -07:00
Robert Svensson edf0e0bd08
Add energy device class to deCONZ consumption sensors (#53731) 2021-07-29 16:16:08 -07:00
Martin Hjelmare 6d30e596ca
Fix zwave_js current and voltage meter sensor device class (#53723) 2021-07-29 14:26:57 -07:00
Franck Nijhof de7a885045
Fix effect selector of light.turn_on service (#53726) 2021-07-29 14:26:39 -07:00
Paulus Schoutsen 6b7a4d2d3c
Revert "Allow uploading large snapshots (#53528)" (#53729)
This reverts commit cdce14d63d.
2021-07-29 14:26:05 -07:00
Franck Nijhof 390101720d
Fix DSMR reconnecting loop without timeout (#53722) 2021-07-29 22:55:26 +02:00
Paulus Schoutsen 2d83ad3211
Bump frontend to 20210729.0 (#53717) 2021-07-29 12:34:32 -07:00
Franck Nijhof 7c98fc94d4
Fix SolarEdge statistics; missing device_class (#53720) 2021-07-29 12:34:22 -07:00
Martin Hjelmare 3c0e4b1fd9
Fix zwave_js meter sensor state class (#53716) 2021-07-29 12:25:43 -07:00
Franck Nijhof 120a0bead0
Add state class support to DSMR Reader (#53715) 2021-07-29 12:25:18 -07:00
Simone Chemelli e9a00ad4ce
Add last reset to Shelly's energy entities (#53710) 2021-07-29 12:10:53 -07:00
Maciej Bieniek fb3b8b6686
Fix `last_reset_topic` config replaces `state_topic` for sensor platform (#53677) 2021-07-29 12:09:14 -07:00
Robert Svensson c6213b36ad
Only disable a device if all associated config entries are disabled (#53681) 2021-07-29 12:08:53 -07:00
Daniel Hjelseth Høyer 204426009f
Clean up Surpetcare (#53699) 2021-07-29 21:03:13 +02:00
Martin Hjelmare 007ecc51e5
Revert "Add Automate Pulse Hub v2 support (#39501)" (#53704) 2021-07-29 11:58:48 -07:00
Gerard 4da9116025
Bump bimmer_connected to 0.7.16 to fix parking light issue (#53687) 2021-07-29 11:57:46 -07:00
Michael 2b0b8736f2
Set state class measurement also for Total Energy for AVM Fritz!Smarthome devices (#53707) 2021-07-29 11:54:51 -07:00
Daniel Hjelseth Høyer 6590e464af
Integration. Add device class, last_reset, state_class (#53698)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-29 20:05:53 +02:00
Michael bedb9550f5
Move TP-Link power and energy switch attributes to sensors (#53596)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-07-29 11:02:47 -07:00
Daniel Hjelseth Høyer 24a589961a
Energy round (#53696)
* Energy. Round cost

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

* Energy. Round cost

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

* Update homeassistant/components/energy/sensor.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-29 18:44:38 +02:00
Andrew55529 09947d13a8
Fix problem with telegram_bot (#53690) 2021-07-29 18:31:32 +02:00
J. Nick Koston 219348d573
Skip each ssdp listener that fails to bind (#53670) 2021-07-29 18:07:52 +02:00
Daniel Hjelseth Høyer f8750daa09
Surepetcare, bug fix (#53695) 2021-07-29 16:59:02 +02:00
Nicko van Someren 705e2446e5
Fix Lutron button events to have unambiguous names (#53666) 2021-07-29 16:29:52 +02:00
Raman Gupta 30cbf03b48
Add energy support for zwave_js meter CC entities (#53665)
* Add energy support for zwave_js meter CC entities

* shrink

* comments

* comments

* comments

* Move attributes

* Add tests

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-29 14:18:38 +02:00
Raman Gupta 1019ee22ff
Add enabled attribute to zwave_js discovery model (#53645)
* Add attribute to zwave_js discovery model

* Fix binary sensor entity enabled logic

* Add tests
2021-07-29 09:30:50 +02:00
Eric Severance dc1b2b7687
pyWeMo version bump (0.6.6) (#53671) 2021-07-29 09:13:55 +02:00
Allen Porter 806ab47ca5
Bump nest to version 0.3.5 (#53672)
Fix runtime type assertions, Fixes Issue #53652
2021-07-28 22:49:13 -07:00
Aaron Bach c04671ac64
Fix unhandled exception with Guardian paired sensor coordinators (#53663) 2021-07-28 22:16:14 -07:00
Diogo Gomes a2d66bd1c0
Prosegur code quality improvements (#53647) 2021-07-28 22:15:28 -07:00
Stephen Beechen cdce14d63d
Allow uploading large snapshots (#53528)
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-07-28 22:12:59 -07:00
J. Nick Koston e14a04df2e
Add device class energy and last reset to sense (#53667) 2021-07-28 21:58:28 -07:00
J. Nick Koston ef2ca1cee9
Bump aiolip to 1.1.6 to fix timeout with ident (#53660) 2021-07-29 02:39:45 +02:00
Paulus Schoutsen 057d979335
Add last reset to enphase sensors (#53653) 2021-07-28 17:31:10 -07:00
J. Nick Koston 6eb3307734
Fix invalid homekit state when arming (#53646)
- Maybe fixes #48538
2021-07-28 16:09:49 -07:00
Paulus Schoutsen bbd1a85b09
Add last reset to Shelly (#53654) 2021-07-28 15:48:27 -07:00
Milan Meulemans d40012f110
Correct typing in Zerproc and activate mypy (#53642) 2021-07-28 16:36:13 -05:00
Raman Gupta e1c6ccb198
Add zwave_js.reset_meter service (#53390)
* Add zwave_js.meter_reset service

* fix log statement

* Add endpoint attribute to service call and rename service

* Make service an entity service

* remove endpoint from service description
2021-07-28 23:15:27 +02:00
Franck Nijhof a8536e3ce5
Bump version to 2021.9.0dev0 (#53638) 2021-07-28 22:56:34 +02:00
epenet 8d84edd3b7
Add renault integration (#39605) 2021-07-28 12:41:11 -07:00
Milan Meulemans 7bd46b7705
Tado, setup to return False and not ConfigEntryNotReady on RuntimeError (#53637) 2021-07-28 21:25:44 +02:00
Otto Winter 67ac87e915
Fix missing supported_features when only custom presets for ESPHome (#53632) 2021-07-28 21:20:26 +02:00
jan iversen 19245a5b63
Add CameraEntityDescription to camera integration (#53636) 2021-07-28 21:09:45 +02:00
J. Nick Koston c53e7bc8c2
Only declare powerwall login failure after 5 attempts (#53635) 2021-07-28 21:09:08 +02:00
Paulus Schoutsen 0e1eef5737
Bump frontend to 20210728.0 (#53634) 2021-07-28 20:41:27 +02:00
Robert Hillis 86b126c34a
Use entity class attributes for cmus (#53458) 2021-07-28 19:39:58 +02:00
stefano055415 3f7cc176a8
Add climate support to Freedompro (#52720)
* Update Freedompro

* fix code and add test

* add check for unsupported mode

* add code for unsupported hvac_mode

* HVAC_INVERT_MAP and fix test

* change params hass to session

* set const and add ValueError

* fix ValueError text
2021-07-28 19:27:31 +02:00
jjlawren 9111fb60d7
Include advertise_addr in Sonos logs when used (#53617) 2021-07-28 19:19:09 +02:00
Milan Meulemans 1b96288799
Fix Yale Smart Alarm strings (#53627) 2021-07-28 19:09:48 +02:00
Milan Meulemans 03308b62c1
Remove CONNECTION_CLASS from Yale Smart Alarm ConfigFlow (#53629) 2021-07-28 18:58:45 +02:00
Daniel Hjelseth Høyer deb47517ca
Upgrade ns-api to 3.0.5 (#53620) 2021-07-28 18:58:15 +02:00
Frederic Seiler 52df6a6558
Add deCONZ support for Legrand Self-e ZGP switches (#53008)
* Add deCONZ support for Legrand Self-e ZGP switches

Legrand Self-e ZLGP17 (0 677 23L)
Legrand Self-e ZLGP18 (0 677 24L)

* Add the 4 scenes switch (ZLGP15)

and update the model name of the toggle switch

* Update events
2021-07-28 12:54:19 -04:00
Felipe Martins Diel 419bcd939b
Fix broadlink creating duplicate unique IDs (2) (#53622) 2021-07-28 18:53:34 +02:00
Bram Kragten 4df56bad9e
Remove currency from energy, use core config (#53615)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 08:49:55 -07:00
J. Nick Koston babd9f048f
Bump zeroconf to 0.33.2 (#53625)
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.33.1...0.33.2
2021-07-28 08:49:43 -07:00
Jesse Hills ec5d55dc30
Auto reset on value going back to 0 in ESPHome (#53592)
* ESPHome - Auto reset on value going back to 0

* Remove logging lines

* Remove useless stuff

* Move callback to sensor class
Wrap `track_change_event` in `async_on_remove`

* Convert to using internal callbacks and RestoreEntity

* Don't document fixmes?

* Review fixes

* Review fixes

Co-authored-by: Otto winter <otto@otto-winter.com>
2021-07-28 13:56:45 +02:00
Maciej Bieniek c81371f82b
Clean device initialization log for Xiaomi Miio humidifiers (#53612) 2021-07-28 12:03:24 +02:00
Milan Meulemans 6299f58bd7
Remove Rituals DiffuserSwitch extra_state_attributes (#53611) 2021-07-28 11:52:55 +02:00
Marc Mueller 553521a76b
Add mixin classes for required keys in EntityDescription (#53610) 2021-07-28 11:50:13 +02:00
Jan Bouwhuis 781015fb19
Xiaomi_Miio Humidifier rework (#52366)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-28 10:52:43 +02:00
Pascal Vizeli f3e7fb5798
Pin pandas to 1.3.0 (#53607)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-28 10:30:05 +02:00
Maciej Bieniek 648e649718
Use SensorEntityDescription in AccuWeather integration (#53604)
* Use SensorEntityDescription

* Add missing type for entity_description

* Use tuples instead of lists

* Suggested change
2021-07-28 10:26:14 +02:00
Marc Mueller 10bfc78365
Fix missing encoding with open() (#53593)
* Fix missing encoding with open()

* Fix tests

* Improve open - frontend
2021-07-28 09:41:45 +02:00
Allen Porter 1c20eb3263
Skip 'None' values when restoring climate scenes (#53484) 2021-07-28 09:16:23 +02:00
Allen Porter 68945e8814
Enable strict static type checking for nest integration (#53535) 2021-07-28 09:12:32 +02:00
Richard T. Schaefer 9e219d9b6e
Add this variable for use by automation and script templates (#52774) 2021-07-28 09:09:13 +02:00
Dermot Duffy 1aec069f3a
Use the new EntityDescription for motionEye switches (#53536) 2021-07-28 09:06:41 +02:00
Franck Nijhof 1968b95829
Add currency core configuration (#53541)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 08:55:58 +02:00
Aaron Bach 514d97f144
Enforce strict typing for ReCollect Waste (#53356) 2021-07-28 08:51:40 +02:00
Paulus Schoutsen 9c33818392
Improve CO2Signal error handling (#53602)
* Improve CO2Signal error handling

* Update homeassistant/components/co2signal/sensor.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-28 08:43:24 +02:00
jjlawren d865577187
Bump plexapi to 4.7.0 (#53597) 2021-07-28 08:26:26 +02:00
Maciej Bieniek 9b67605b8a
Use SensorEntityDescription in GIOS integration (#53581) 2021-07-28 08:21:00 +02:00
Marc Mueller b7f1f2330a
Use EntityDescription - netatmo (#53568)
* Use EntityDescription - netatmo

* Add coverage exclude

* Fix coverage exclude comment
2021-07-28 08:18:59 +02:00
Allen Porter b3b5ee10b1
Fix mypy type for timestamp validator (#53598) 2021-07-27 22:04:59 -07:00
Joakim Sørensen 85c1614204
Add currency to location data (#53575) 2021-07-27 21:05:16 -07:00
Bram Kragten 127c9fc877
Add statistics support for SMA energy sensors (#53589) 2021-07-28 01:48:22 +02:00
Paulus Schoutsen a004a0dd4f
Bump frontend to 20210727.0 (#53591) 2021-07-28 01:48:04 +02:00
Raman Gupta 73bc0267e9
Add DeviceRegistry template functions (#53131) 2021-07-27 18:55:55 -04:00
Marc Mueller 14c257e1b7
Use EntityDescription - melcloud (#53572)
* Use EntityDescription - melcloud

* Fix pylint errors

* Fix test

* Fix coverage exclude comments
2021-07-28 00:07:14 +02:00
Marc Mueller 3908aabc13
Use EntityDescription - climacell (#53573)
* Use EntityDescription - climacell

* Fix tests

* Fix coverage ignore comment
2021-07-27 23:47:29 +02:00
Marc Mueller dd849c4eab
Use EntityDescription - dwd_weather_warnings (#53580) 2021-07-27 22:52:50 +02:00
Marc Mueller ac837cd76e
Use EntityDescription - ondilo_ico (#53579) 2021-07-27 22:51:32 +02:00
Joakim Sørensen 9806bda272
Rename snapshot -> backup (#51629) 2021-07-27 22:43:05 +02:00
Kuzj d0b9d82287
Refactor bme280, add SPI support (#48775)
* bme280 refactoring, add SPI support

* isort, requirements

* __init_.py add to .coveragerc

* Re-run CI jobs

* const.py to .coveragerc

* Add support for IoT class in manifest

* Keepalive

* review suggestions

* scan_interval with coordinator

* black, isort

* coordinator review suggestions

* Set device_class

* review suggestions

* review suggestions

* review suggestions

* review suggestions

* review suggestions

* review suggestions

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

* add bme280spi to commented requirements

* run script.gen_requirements_all

* black

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-27 16:29:43 -04:00
Diogo Gomes 7ad7cdad3d
Add Prosegur Alarms (#44679)
Co-authored-by: Franck Nijhof <frenck@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 22:19:58 +02:00
Aaron Bach f92ba75791
Enforce strict typing for SimpliSafe (#53417) 2021-07-27 22:11:54 +02:00
Paulus Schoutsen f71980a634
Create stats for all sensors that have % unit and are measurement (#53576) 2021-07-27 21:56:34 +02:00
Ron Klinkien 3488053648
Remove garmin_connect integration (#52808)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 21:49:49 +02:00
Aaron Bach e04b2c2e35
Bump pyairvisual to 5.0.9 (#53578) 2021-07-27 21:39:58 +02:00
Simone Chemelli 5a6be2370b
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 3 (#53424) 2021-07-27 21:19:29 +02:00
J. Nick Koston f3bf0fdb09
Bump yalexs to 1.1.13 to fix august doorsense offline at startup (#53574) 2021-07-27 21:17:17 +02:00
Felipe Martins Diel 43d3b6c2a2
Move the coordinator logic to the BroadlinkEntity class (#53571) 2021-07-27 13:53:29 -05:00
Matthew Gottlieb 37c841956f
Allow removing workday holidays by name (#52700) 2021-07-27 20:28:04 +02:00
Robert Hillis 54a3c1a217
Use entity class attributes for clementine (#53405) 2021-07-27 20:18:58 +02:00
Marc Mueller f599c5a39e
Use EntityDescription - tibber (#53569) 2021-07-27 20:13:48 +02:00
Robert Hillis 13443310fe
Use entity class attributes for Cast (#53348) 2021-07-27 20:03:13 +02:00
Marc Mueller 736577abef
Use EntityDescription - skybell (#53564)
* Use EntityDescription - skybell

* Fix typing
2021-07-27 19:51:07 +02:00
Martin Hjelmare a133eae88e
Add more mysensors sensor attributes (#53566) 2021-07-27 19:48:37 +02:00
Matthias Alphart 27d42e0cd8
KNX: Support for HS-color lights (#53538) 2021-07-27 19:36:46 +02:00
Yuxiang Zhu ce663f629c
Fix various zeroconf IPv6 compatibility issues (#53505) 2021-07-27 19:31:51 +02:00
Marc Mueller 64a3c669ce
Use EntityDescription - rova (#53531)
* Use EntityDescription - rova

* Fix pylint protected-access

* Changes after review
2021-07-27 19:12:17 +02:00
Maciej Bieniek 9607864c29
Bump `gios` library to version 2.0 (#53557)
* Bump gios library

* Fix pylint error
2021-07-27 19:10:38 +02:00
J. Nick Koston 84a7a5fd32
Split color temp and color into separate HomeKit services when a light supports both (#53471) 2021-07-27 10:10:05 -07:00
Marc Mueller a1e692798f
Use EntityDescription - ebox (#53565) 2021-07-27 19:06:50 +02:00
Johan Smits 9e9165f4ac
Bump matrix-client to 0.4.0 (#53508) 2021-07-27 18:30:43 +02:00
Marc Mueller 6847c6dbbc
Use EntityDescription - rainbird (#53560)
* Use EntityDescription - rainbird

* Add additional type hints
2021-07-27 18:06:46 +02:00
Allen Porter 022ba31999
Refactor the logic for peeking into the start of the stream (#52699)
* Reset dts validator when container is reset

* Reuse existing dts_validator when disabling audio stream

* Refactor peek logic at the start of a stream

Add a PeekingIterator to support rewinding an iterator so that the code
for adjusting audio streams and start pts can be inlined in the worker.

* Simplification and readability improvements

* Remove unnecessary verbiage from comments and pydoc

* Address pylint errors

* Remove rewind function and just mux the first packet separately

* More cleanup after removing rewind()

* Skip check to self._buffer on every iteration
2021-07-27 08:53:42 -07:00
Franck Nijhof f1eb35b1a5
Use entity descriptions classes in Forecast.Solar (#53553) 2021-07-27 17:45:47 +02:00
Marc Mueller 72a98550b6
Use EntityDescription - epsonworkforce (#53556) 2021-07-27 17:45:25 +02:00
gjong 9f495fd200
Add initial version for the YouLess integration (#41942)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 17:42:15 +02:00
Maciej Bieniek ea9d312b45
Use SensorEntityDescription in Brother integration (#53558) 2021-07-27 17:26:47 +02:00
Marc Mueller 0552b9c783
Use EntityDescription - glances (#53559) 2021-07-27 17:24:18 +02:00