Commit Graph

29283 Commits (8a72e8df79883897c42ac9a1a6a743b64be654f0)

Author SHA1 Message Date
stefano055415 1e6229dd7b
Add device info to Freedompro (#52715)
* Update Freedompro

* Update homeassistant/components/freedompro/light.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-09 16:36:13 +02:00
Robert Svensson 2787dc9e97
Bump dependency to properly handle current and voltage not being reported on some zhapower endpoints (#52764) 2021-07-09 11:54:40 +02:00
Jc2k 7e2ef8f0c7
Support certain homekit devices that emit invalid JSON (#52759) 2021-07-09 11:51:46 +02:00
Otto Winter 07e2a7245f
Fix ESPHome Camera not merging image packets (#52783) 2021-07-09 11:38:38 +02:00
Brandon Rothweiler 2eb531b8c8
Upgrade pymazda to 0.2.0 (#52775) 2021-07-09 07:55:26 +02:00
GitHub Action f7e4db512f [ci skip] Translation update 2021-07-09 00:09:30 +00:00
Jc2k 5b257d2be8
Fix homebridge devices becoming unavailable frequently (#52753)
Update to aiohomekit 0.4.3 and make sure service type UUID is normalised before comparison

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-08 17:26:25 +01:00
apaperclip 49181d6ba8
Remove scale calculation for climacell cloud cover (#52752) 2021-07-08 12:10:05 -04:00
Jon Gilmore eb735b6162
Bump pylutron to 0.2.8 fixing python 3.9 incompatibility (#52702) 2021-07-08 15:18:08 +02:00
Robert Hillis 922ef3f2f3
Use entity class attributes for aurora (#52690)
* Use entity class attributes for aurora

* fix
2021-07-08 15:06:00 +02:00
Tom Matheussen 293690e3d8
Fix KNX Fan features (#52732)
* Fan entity should return support features

* Revert "Fan entity should return support features"

This reverts commit 3ad0e87708.

* Restore supported_features for KNX fan
2021-07-08 15:05:43 +02:00
Niels Mündler f069fbdb25
Upgrade Fronius dependency to 0.5.3 (#52737)
supports more values of new Gen24 type of fronius device
2021-07-08 14:45:34 +02:00
Jesse Hills 94e15b3eea
Esphome fix camera image (#52738) 2021-07-08 14:44:49 +02:00
jan iversen fe1f7ba316
Add check for _client existence in modbus (#52719) 2021-07-08 11:58:51 +02:00
jjlawren 578c897161
Ignore unused keys from Sonos device properties callback (#52660)
* Ignore known but unused keys from device callback

* Fix bug, add test
2021-07-08 11:56:50 +02:00
Robert Hillis 1c11b247e4
Use entity class attributes for apcupsd (#52662) 2021-07-08 11:55:26 +02:00
Robert Hillis 7d0751df8a
Use entity class attributes for anthemav (#52602) 2021-07-08 11:42:07 +02:00
Stefan Agner 1dd4ba5fcd
Fix precipitation calculation for hourly forecast (#52676)
It seems that hourly forecast have precipitation in 3h blocks.
2021-07-08 11:39:56 +02:00
Andre Lengwenus abca7deadb
Hint for str type instead of explicitly casting to str (#52712) 2021-07-08 10:42:27 +02:00
Franck Nijhof 62c7e5408b
Ensure Forecast.Solar returns an iso formatted timestamp (#52669) 2021-07-08 10:09:30 +02:00
avee87 5ff7c7708d
Use iso-formatted times in MetOffice weather forecast (#52672)
* Fixed raw datetime in MetOffice weather forecast

* Use datetime in sensor attribute
2021-07-08 10:01:06 +02:00
Robert Hillis c4d8d1dc8e
Use entity class attributes for Aten pe (#52687)
* Use entity class attributes for aten_pe

* Use entity class attributes for atag
2021-07-08 10:39:53 +03:00
Tobias Sauerwein cb0a7589ce
Use class properties in netatmo (#52705) 2021-07-08 09:30:54 +02:00
Robert Hillis 71b14b51b4
Use entity class attributes for aurora_abb_power (#52692) 2021-07-08 09:22:54 +02:00
uvjustin b021e2ee8c
Move recorder.py import to runtime (#52682) 2021-07-08 09:20:27 +02:00
Robert Hillis 5b49107007
Use entity class attributes for avion (#52696) 2021-07-08 09:16:47 +02:00
jjlawren dabb50f7ee
Warn if `interface_addr` remains in Sonos configuration (#52652) 2021-07-08 09:15:56 +02:00
Eric Severance 4e85bdd67c
pyWeMo version bump (0.6.5) (#52701) 2021-07-08 09:11:56 +02:00
Robert Hillis 4e848f60c4
Use entity class attributes for anel_pwrctrl (#52594)
* Use entity class attributes for anel_pwrctrl

* Tweak
2021-07-07 22:12:17 -04:00
GitHub Action b5a6d05778 [ci skip] Translation update 2021-07-08 00:13:44 +00:00
Aaron Bach f3c464786c
Bump simplisafe-python to 11.0.1 (#52684) 2021-07-07 19:45:39 -04:00
Aaron Bach aa022d4c52
Add missing type annotations to ReCollect Waste (#52600) 2021-07-07 17:40:03 -05:00
Aaron Bach f44a13970a
Add missing type annotations to Notion (#52599) 2021-07-07 17:39:52 -05:00
Aaron Bach 50d56fd755
Add missing type annotations to Guardian (#52598) 2021-07-07 17:39:34 -05:00
Allen Porter e895b6cd42
Refactor decompression timestamp validation logic in stream component (#52462)
* Refactor dts validation logic into a separate function

Create a decompression timestamp validation function to move the logic out of
the worker into a separate class. This also uses the python itertools.chain
to chain together the initial packets with the remaining packets in the
container iterator, removing additional inline if statements.

* Reset dts validator when container is reset

* Fix typo in a comment

* Reuse existing dts_validator when disabling audio stream
2021-07-07 15:29:15 -07:00
Simone Chemelli 5c82776411
Fix Fritz default consider home value (#52648) 2021-07-07 20:19:31 +02:00
Joakim Sørensen 351b67ffb1
Handle KeyError when accessing device information (#52650) 2021-07-07 20:18:43 +02:00
Anaïs Betts cd7f366501
Fix service registration typo in Nuki integration (#52631) 2021-07-07 17:25:52 +02:00
Pascal Vizeli b2ee4894f1
Bump opencv to 4.5.2.54 (#52630) 2021-07-07 16:43:19 +02:00
Bram Kragten e2b1cdafc9
Update frontend to 20210707.0 (#52624) 2021-07-07 10:43:45 +02:00
Chris 45fbc18eb0
Fix mysensors rgb light (#52604)
* remove assert self._white as not all RGB will have a white channel

* suggested change

* Update homeassistant/components/mysensors/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-07 10:34:14 +02:00
Franck Nijhof c5d806fdbe
Fix broadlink creating duplicate unique IDs (#52621) 2021-07-07 09:46:59 +02:00
J. Nick Koston 1ba5c1c9fb
Fix deadlock at shutdown with python 3.9 (#52613) 2021-07-07 09:23:24 +02:00
Alexei Chetroi 88cd7f481d
Bump up ZHA dependencies (#52611) 2021-07-07 08:30:48 +02:00
GitHub Action 0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
Aaron Bach 9fb05736e4
Add type annotations to Ambient PWS (#52596) 2021-07-06 20:19:58 +02:00
Aaron Bach 2f1af9a254
Remove unnecessary async_setup method for Guardian (#52597) 2021-07-06 20:19:41 +02:00
Thibaut 5c07fb51a2
Update Somfy to reduce calls to /site entrypoint (#51572)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-06 18:48:48 +02:00
Shay Levy f5c3444072
Fix Sensibo timeout exceptions (#52513) 2021-07-06 18:34:56 +02:00
J. Nick Koston e1e3f68d0b
Revert nmap_tracker to 2021.6 version (#52573)
* Revert nmap_tracker to 2021.6 version

- Its unlikely we will be able to solve #52565 before release

* hassfest
2021-07-06 18:28:23 +02:00
Aaron Bach 40ad25df4c
Fresh attempt at SimpliSafe auto-relogin (#52567)
* Fresh attempt at SimpliSafe auto-relogin

* Fix tests
2021-07-06 18:21:25 +02:00
Erik Montnemery 6c8de16fbc
Enable basic type checking for fan (#52471) 2021-07-06 18:21:00 +02:00
Franck Nijhof 8fce858a76
Upgrade numpy to 1.21.0 (#52586) 2021-07-06 18:11:22 +02:00
Maciej Bieniek 62c3b3bdfe
Use HA location name as `name` in GIOS integration (#52585) 2021-07-06 17:52:22 +02:00
Erik Montnemery 3d7fd83ad4
Add home-assistant/core as codeowner for the template integration (#52592) 2021-07-06 17:35:11 +02:00
Robert Svensson 605f65b75d
Make use of entry id rather than unique id when storing deconz entry in hass.data (#52584)
* Make use of entry id rather than unique id when storing entry in hass data

* Update homeassistant/components/deconz/services.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-06 17:18:54 +02:00
Erik Montnemery 7ba1fdea70
Bump hatasmota to 0.2.20 (#52591) 2021-07-06 18:13:45 +03:00
Raman Gupta 81fe3583c9
Don't raise when setting HVAC mode without a mode ZwaveValue (#52444)
* Don't raise an error when setting HVAC mode without a value

* change logic based on discord convo and add tests

* tweak
2021-07-06 16:33:07 +02:00
Robert Hillis 6e779855f7
Clean up alarmdecoder (#52517)
* Clean up alarmdecoder

* fix

* try again

* tweak
2021-07-06 16:18:00 +02:00
ondras12345 07bda0973e
Fix update of Xiaomi Miio vacuum taking too long (#52539)
Home assistant log would get spammed with messages like
Update of vacuum.vacuum_name is taking over 10 seconds
every 20 seconds if the vacuum was not reachable through the network.

See #52353
2021-07-06 16:03:54 +02:00
Simone Chemelli 046eb1690a
Fix Fritz Wi-Fi 6 networks with same name as other Wi-Fi (#52588) 2021-07-06 15:49:22 +02:00
Simone Chemelli a70dae0843
Enable strict typing for Fritz (#50668)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-06 15:06:32 +02:00
RenierM26 12082736a8
Add type annotations to init and coordinator. Minor cleanups. (#52506) 2021-07-06 14:55:34 +02:00
Erik Montnemery 4d32e1ed01
Minor improvements of MQTT typing (#52578)
* Minor improvements of MQTT typing

* Tweak
2021-07-06 14:38:48 +02:00
Maciej Bieniek dc72c6c606
Improve config entry title for GIOS integration (#52583)
* Improve GIOS config entry title

* Usonly station name as title
2021-07-06 14:04:00 +02:00
Erik Montnemery b645560633
Minor improvements of util.percentage typing (#52581) 2021-07-06 13:29:39 +02:00
Maciej Bieniek 669aca9585
Bump gios to version 1.0.2 (#52576) 2021-07-06 12:32:17 +02:00
Bram Kragten 33577e1bfc
Update frontend to 20210706.0 (#52577) 2021-07-06 11:52:53 +02:00
Andre Lengwenus e16ef10af5
Add type hints to LCN (#52509)
* Add type hints to LCN

* Fix requested review changes
2021-07-06 09:54:35 +02:00
Franck Nijhof b496469a2f
Fix unavailable entity capable of triggering non-numerical warning in Threshold sensor (#52563) 2021-07-06 09:33:00 +02:00
Robert Hillis 2a48fe5199
Use entity class attributes for aladdin_connect (#52516)
* Use entity class attributes for aladdin_connect

* fix

* fix

* fix pylint
2021-07-06 08:47:49 +02:00
Raman Gupta a70e8a65fa
Bump pyeight version to 0.1.9 (#52568) 2021-07-06 02:41:23 -04:00
GitHub Action d249530ed1 [ci skip] Translation update 2021-07-06 00:09:29 +00:00
J. Nick Koston 3191fef8d6
Update the ip/port in the homekit_controller config entry when it changes (#52554) 2021-07-05 15:16:49 -05:00
René Klomp 7d87efc996
Bump pysma version to 0.6.2 (#52553) 2021-07-05 22:04:55 +02:00
J. Nick Koston f74049e018
Bump aiohomekit to 0.4.2 (#52560)
- Changelog: https://github.com/Jc2k/aiohomekit/compare/0.4.1...0.4.2

- Fixes: #52548
2021-07-05 22:00:57 +02:00
Alexei Chetroi f58b231bbd
Bump up zha dependencies (#52555) 2021-07-05 14:00:32 -04:00
Tom Brien a4b97f7dcb
Update list of supported Coinbase wallet currencies (#52545) 2021-07-05 16:22:41 +02:00
J. Nick Koston 34782557b7
Bump zeroconf to 0.32.1 (#52547)
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.32.0...0.32.1

- Fixes #52384
2021-07-05 09:17:11 -05:00
Franck Nijhof 74029a0948
Fix Statistics recorder migration path by dropping in pairs (#52453) 2021-07-05 13:34:40 +02:00
Franck Nijhof 5e9127ef7a
Remove problematic/redudant db migration happning schema 15 (#52541) 2021-07-05 13:28:01 +02:00
Tobias Sauerwein f9c7137d02
Use dataclasses in netatmo data handler (#52537)
* Switch to using dataclasses

* Clean up

* Update homeassistant/components/netatmo/data_handler.py
2021-07-05 13:05:18 +02:00
Robert Hillis 4cac85e3f5
Use entity class attributes for ads (#52488)
* Use entity class attributes for ads

* fix

* Update homeassistant/components/ads/cover.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-07-05 12:03:16 +02:00
Yuval Aboulafia 323088ff63
Fully type Tag component (#52540) 2021-07-05 11:54:00 +02:00
jan iversen 1cb298948f
Fix MODBUS connection type rtuovertcp does not connect (#52505)
* Correct host -> framer.

* Use function pointer
2021-07-05 11:45:50 +02:00
RenierM26 2e4f513526
Add type annotations and shorten sensor names on ezviz sensor platforms (#52475)
* Add basic typing and change name on sensor platforms.

* Complete type annotations for all functions.
2021-07-05 11:40:13 +02:00
Aaron Bach 64e63dedf6
Revert "Force SimpliSafe to reauthenticate with a password (#51528)" (#52484)
This reverts commit 549f779b06.
2021-07-05 11:38:31 +02:00
Robert Hillis 5367a036d2
Use entity class attributes for accuweather (#52431) 2021-07-05 11:36:04 +02:00
Erik Montnemery 1cc8280959
Enable basic type checking for the homeassistant component (#52464)
* Enable basic type checking for the homeassistant component

* Tweak
2021-07-05 11:26:31 +02:00
Erik Montnemery 600bea2459
Enable basic type checking for Google cast (#52434)
* Enable basic type checking for Google cast

* tweak
2021-07-05 11:14:41 +02:00
Robert Hillis 05b35cd98a
Rename goalzero sensor (#52452) 2021-07-05 11:05:53 +02:00
Shay Levy 6fc5a6a065
Fix CI failing due to Shell Command exception (#52483) 2021-07-05 10:38:55 +02:00
Robert Hillis 6d9628423c
Use entity class attributes for aftership (#52500)
* Use entity class attributes for aftership

* Tweaks

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-05 10:37:00 +02:00
Erik Montnemery 79ee112490
Enable basic type checking for mqtt (#52463)
* Enable basic type checking for mqtt

* Tweak
2021-07-05 10:33:12 +02:00
Robert Hillis 5321151799
Use entity class attributes for abode (#52427)
* Use entity class attributes for abode

* Apply suggestions from code review

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

* move from base class

* fix

* Undo light supported features

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-05 10:31:11 +02:00
Chris Talkington cacd803a93
Enable basic typing for roku (#52478)
* enable basic typing for roku

* Update mypy.ini

* Update media_player.py

* Create coordinator.py

* Update __init__.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update coordinator.py

* Update coordinator.py

* Update remote.py

* Update entity.py

* Update coordinator.py

* Update config_flow.py

* Update entity.py

* Update const.py

* Update const.py

* Update const.py

* Update entity.py

* Update entity.py

* Update entity.py

* Update test_media_player.py

* Update test_remote.py
2021-07-05 10:27:52 +02:00
Yuval Aboulafia 0e7cd02d17
Add type checking and entity attributes for Fast.com (#52524)
* Cleanup fast.com (typing, attrs)

* Adress review

* fixes
2021-07-05 10:19:37 +02:00
Robert Hillis e9453bb344
Use entity class attributes for alert (#52518) 2021-07-05 09:42:39 +02:00
Robert Hillis e2b89e4650
Use entity class attributes for alpha_vantage (#52520)
* Use entity class attributes for alpha_vantage

* tweak

* clean up
2021-07-05 09:37:09 +02:00
Robert Hillis 4463d50711
Use entity class attributes for aemet (#52499) 2021-07-05 07:53:16 +02:00
Robert Hillis 3a2a688170
Use entity class attributes for ambiclimate (#52521)
* Use entity class attributes for ambiclimate

* tweak

* move some stuff
2021-07-05 07:51:10 +02:00
GitHub Action abc9b01ede [ci skip] Translation update 2021-07-05 00:09:10 +00:00
Aaron Bach 5ce4de7bbb
Migrate AirVisual `air_quality` platform to `sensor` platform (#52349)
* Migrate AirVisual air_quality platform sensors

* Remove redundancy

* Cleanup

* Properly set available

* Unwind config_entry -> entry name change

* More unwinding

* Rename

* Update homeassistant/components/airvisual/sensor.py

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

* Code review

* Linting

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-04 12:16:06 -06:00
Maciej Bieniek bdf247faaa
Migrate GIOS air_quality platform to sensor (#52295) 2021-07-04 11:54:07 -05:00
J. Nick Koston 27295d8f58
Remove empty hosts and excludes from nmap configuration (#52489) 2021-07-04 11:40:33 -05:00
Robert Hillis 8ccb338a9b
Use entity class attributes for airnow (#52502) 2021-07-04 11:33:52 -05:00
J. Nick Koston cfe2017dd9
Bump HAP-python to 3.5.1 (#52508)
- Fixes additional cases of invalid mdns hostnames
2021-07-04 17:16:42 +03:00
RenierM26 73c6aa701f
Add basic typing to ezviz camera platform (#52492)
* Add basic typing to camera platform. Small cleanups.

* Add full typing to all functions
2021-07-04 13:16:27 +02:00
Guido Schmitz 77a06e01f7
Update devolo-home-control-api (#52497) 2021-07-04 11:56:16 +03:00
Raman Gupta 8f186957ea
Mark entities for dead zwave_js nodes as unavailable (#48017)
* Don't create any devices or entities for dead zwave_js nodes

* mark entities for dead nodes as unavailable

* add test

* watch for node status updates

* update tests to handle node status changes as well
2021-07-03 22:06:07 -04:00
GitHub Action 378b5f75ec [ci skip] Translation update 2021-07-04 00:09:33 +00:00
Aaron Bach d980dd8d59
Deprecate YAML config for Ambient PWs (2021.9.0 removal) (#52459) 2021-07-03 14:45:51 -05:00
Aaron Bach e29c75a68e
Remove redundant property definitions in Tile (#52448) 2021-07-03 11:29:52 -05:00
Aaron Bach 8c0559cc57
Remove redundant property definitions in RainMachine (#52456)
* Remove redundant property definitions in RainMachine

* Incorrect attribute name
2021-07-03 11:23:52 -05:00
Aaron Bach 413c3afa12
Remove redundant property definitions in SimpliSafe (#52458)
* Remove redundant property definitions in SimpliSafe

* Remove useless init
2021-07-03 11:16:55 -05:00
Aaron Bach 513bcbc02b
Replace custom listener with helper in SimpliSafe (#52457) 2021-07-03 11:01:41 -05:00
Erik Montnemery 14dd6478d1
Enable basic type checking for trace (#52468) 2021-07-03 17:52:31 +02:00
Erik Montnemery b3b377ac8b
Enable basic type checking for gogogate2 (#52467)
* Enable basic type checking for gogogate2

* Tweak

* Update homeassistant/components/gogogate2/common.py

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>

* Tweak

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-03 16:06:42 +01:00
Erik Montnemery 44b44b5bd6
Enable basic type checking for climate (#52470)
* Enable basic type checking for climate

* Tweak
2021-07-03 16:06:12 +01:00
J. Nick Koston f52d838b7a
Bump aiohomekit to 0.4.1 (#52472)
- Fixes mdns queries being sent with the original case received on the wire
  Some responders were case sensitive and needed the original case sent

- Reduces mdns traffic
2021-07-03 17:01:41 +02:00
Maciej Bieniek 0cb61b628d
Improve typing in Sony Bravia TV integration (#52438)
* Strict typing

* Variables typing

* Suggested change

* Fix pylint

* Use suppress instead of try..except

* Remove unused variables

* Suggested change

* Fix pylint

* Fix typing for unique_id
2021-07-03 14:37:54 +01:00
Simone Chemelli 69b9a9c4ee
Merge fritzbox_netmonitor integration into fritz (#52264)
* Merge netmonitor integration

* cleanup additional files

* Use attrs instead of properties

* Add state_class to relevant sensors

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* mypy fix + small cleanup

* Round, GB and icons

* Update homeassistant/components/fritz/sensor.py

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

* remove state_class from no-reset counters

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-03 16:26:43 +03:00
GitHub Action 4b7442412a [ci skip] Translation update 2021-07-03 00:09:34 +00:00
Aaron Bach 40b629cd06
Replace custom listener with helper in ReCollect Waste (#52445) 2021-07-02 15:23:17 -06:00
Franck Nijhof b91b553ce5
Abort existing reauth flow on entry removal (#52407) 2021-07-02 20:56:51 +02:00
Franck Nijhof 7f3f6757ea
Fix Statistics recorder migration order (#52449) 2021-07-02 20:55:40 +02:00
Simone Chemelli 8347cf3731
Fix Fritz call deflection list (#52443) 2021-07-02 19:21:05 +02:00
Guido Schmitz 8c7ef5b1b9
Add static typing to devolo_home_control (#52396) 2021-07-02 18:37:18 +02:00
Aaron Bach e435ac6fcd
Remove redundant property definitions in ReCollect Waste (#52368)
* Remove redundant property definitions in ReCollect Waste

* Code review

* Code review
2021-07-02 11:14:29 -05:00
Shay Levy 1eb27f7ccc
Demo: remove deprecated switch entity properties (#52424)
* Demo: deprecate switch entity properties

* Fix emulated_kasa test
2021-07-02 17:50:57 +02:00
Robert Hillis 5cd4471c67
Add sensor platform to goalzero (#49835)
* Add sensor platform to goalzero

* Tweak

* Remove unused DATA_SCHEMA

* Simplify

* Remove last_reset

* Update on reload
2021-07-02 17:43:37 +02:00
J. Nick Koston a3f1489785
Import track_new_devices and scan_interval from yaml for nmap_tracker (#52409)
* Import track_new_devices and scan_interval from yaml for nmap_tracker

* Import track_new_devices and scan_interval from yaml for nmap_tracker

* Import track_new_devices and scan_interval from yaml for nmap_tracker

* tests

* translate

* tweak

* adjust

* save indent

* pylint

* There are two CONF_SCAN_INTERVAL constants

* adjust name -- there are TWO CONF_SCAN_INTERVAL constants

* remove CONF_SCAN_INTERVAL/CONF_TRACK_NEW from user flow

* assert it does not appear in the user step
2021-07-02 17:24:43 +02:00
Erik Montnemery 98fdb00bc7
Enable basic type checking for Tasmota (#52435) 2021-07-02 16:45:38 +02:00
Erik Montnemery ed25e6fada
Correct recorder table arguments (#52436) 2021-07-02 16:28:16 +02:00
Erik Montnemery 11fd9d9525
Avoid duplicated database queries when fetching statistics (#52433) 2021-07-02 15:40:54 +02:00
Milan Meulemans 7b940d2382
Fix typo in forecast_solar strings (#52430) 2021-07-02 15:09:36 +02:00
Franck Nijhof dec08e2e44
Upgrade aioimaplib to 0.9.0 (#52422) 2021-07-02 14:10:32 +02:00
Erik Montnemery 24ae05b734
Drop statistic_id and source columns from statistics table (#52417)
* Drop statistic_id and source columns from statistics table

* Remove useless double drop of statistics table

* Update homeassistant/components/recorder/models.py

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

* black

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-02 13:17:00 +02:00
Joakim Plate d339e3bd8c
Reject trusted network access from proxies (#52388) 2021-07-02 11:49:42 +02:00
Tobias Sauerwein 7291228e16
Remove boilerplate code in favour of attributes in Netatmo integration (#52395)
* Make use of attributes

* Add suggestions

* Update homeassistant/components/netatmo/sensor.py

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

* Update homeassistant/components/netatmo/sensor.py

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

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-07-02 11:36:37 +02:00
Sören Krollmann 2ed1efc3a3
Add rainbird set_rain_delay service (#52369)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-02 11:20:00 +02:00
Tom Brien b3a625593e
Add update listener to Coinbase (#52404)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-02 11:15:05 +02:00
Tobias Sauerwein 14d3286b21
Clean up netatmo sensor data processing (#52403) 2021-07-02 10:08:54 +02:00
Erik Montnemery 16d2dcbfb2
Improve sensor statistics tests (#52386) 2021-07-02 09:51:47 +02:00
Aaron Bach 887753e06d
Remove redundant property definitions in OpenUV (#52379)
* Remove redundant property definitions in OpenUV

* Update homeassistant/components/openuv/__init__.py

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

* Code review

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-02 09:47:49 +02:00
Aaron Bach 6fa312d476
Remove redundant property definitions in Guardian (#52361)
* Remove redundant property definitions in Guardian

* Update incorrect attributes
2021-07-02 07:49:05 +02:00
Raman Gupta 9d04ba2804
Bump eight sleep dependency to fix bug (#52408) 2021-07-02 07:36:48 +02:00
GitHub Action ad20b5ced0 [ci skip] Translation update 2021-07-02 00:11:25 +00:00
Franck Nijhof a85ba1b34c
Upgrade wled to 0.7.1 (#52405) 2021-07-02 00:30:33 +02:00
René Klomp d6ed5dac8b
Bump pysma to 0.6.1 (#52401) 2021-07-01 21:32:46 +02:00
Yuval Aboulafia 1337dfed8c
Use attributes instead of properties for uptime (#52398)
* Use attributes instead of properties for uptime

* add missing types
2021-07-01 21:31:30 +02:00
Alexei Chetroi 8e846164a4
Bump up ZHA dependencies (#52374)
* Bump up ZHA dependencies

* Fix broken tests

* Update tests/components/zha/common.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-01 14:05:55 -04:00
Erik Montnemery 520b500165
Fix MQTT cover optimistic mode (#52392)
* Fix MQTT cover optimistic mode

* Add test
2021-07-01 17:34:59 +02:00
posixx 312531988a
Vacation Mode on Alarm Panels (#45980)
Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Khole Jones <ktech6@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-01 17:26:32 +02:00
Erik Montnemery 57fbb1c3d9
Fix sensor statistics collection with empty states (#52393) 2021-07-01 14:53:03 +02:00
Erik Montnemery 2097ab76f5
Allow combining value_template and position_template for template cover (#52383) 2021-07-01 14:09:48 +02:00
Alexei Chetroi 7f309b4e6e
Add support for Formaldehyde and VOC level sensors (#52232) 2021-07-01 07:34:09 -04:00
Franck Nijhof 451b976458
Demo: Explicitly return None when no extra state attribute set (#52390) 2021-07-01 12:43:37 +02:00
Lars c1c078c3d5
Bump pyfritzhome to 6.2.0 (#52345) 2021-07-01 12:14:37 +02:00
Aaron Bach 60ea219101
Remove redundant property definitions in Notion (#52367)
* Remove redundant property definitions in Notion

* Code review
2021-07-01 11:24:19 +02:00
Dermot Duffy 2868fef7d4
Add motion detection support to motionEye (#49665) 2021-07-01 11:22:43 +02:00
Aaron Bach 7bd8e2aa55
Remove redundant property definitions in Flu Near You (#52377) 2021-07-01 11:04:39 +02:00
Aaron Bach 8f70b5c183
Fix missing default latitude/longitude/elevation in OpenUV config flow (#52380) 2021-07-01 10:35:14 +02:00
Bruce Sheplan f8eb07444b
Add screenlogic reconnect (#52022)
Co-authored-by: Kevin Worrel <37058192+dieselrabbit@users.noreply.github.com>
2021-07-01 10:11:01 +02:00
Frederik Bolding 72b55d1830
Bump bt_proximity (#52364) 2021-07-01 07:48:29 +02:00
Aaron Bach f98a5cc233
Remove redundant property definitions in IQVIA (#52378) 2021-07-01 07:31:46 +02:00
GitHub Action 86f46753c9 [ci skip] Translation update 2021-07-01 00:12:17 +00:00
Aaron Bach cb2b6f5ff4
Remove redundant property definitions in Ambient PWS (#52350) 2021-07-01 00:30:54 +02:00
Tobias Sauerwein b4e550dee2
Bump pyatmo to v5.2.0 (#52365)
* Bump pyatmo to v5.2.0

* Revert formatting changes
2021-07-01 00:19:22 +02:00
Franck Nijhof 04e631ed1f
Remove deprecated YAML configuration from VeSync (#52358) 2021-06-30 16:29:44 -04:00
Franck Nijhof 635cf59909
Remove deprecated YAML configuration from Abode (#52357) 2021-06-30 16:28:57 -04:00
Yuval Aboulafia 4a94ed8f5a
Use attrs instead of property for Jewish Calendar (#52333)
* Use attrs instead of property for Jewish Calendar

* clean time sensor class

* move type and prefix up

* revert is_on attribute
2021-06-30 22:24:19 +03:00
J. Nick Koston 63c727ac6c
Update homekit_controller to use async zeroconf (#52330) 2021-06-30 18:09:19 +02:00
Franck Nijhof 1862cdf52e
Bump version to 2021.8.0dev0 (#52346) 2021-06-30 18:06:33 +02:00
Erik Montnemery d450cda385
Report target unit in statistics meta data (#52341) 2021-06-30 16:53:51 +02:00
Matthias Alphart 9ed93de472
xknx 0.18.8 (#52340) 2021-06-30 15:06:33 +02:00
Erik Montnemery 9d0c4c168e
Convert units when fetching statistics (#52338) 2021-06-30 14:53:42 +02:00
Erik Montnemery 0476c7f9ee
Normalize temperature statistics to °C (#52297)
* Normalize temperature statistics to °C

* Fix tests

* Support temperature conversion to and from K, improve tests

* Fix test

* Add tests, pylint
2021-06-30 14:17:58 +02:00
Bram Kragten 508f9a8296
Update frontend to 20210630.0 (#52336) 2021-06-30 13:34:28 +02:00
Erik Montnemery 0ab999738b
Add statistics meta data table (#52331)
* Add statistics meta data table

* Tweak meta data generation
2021-06-30 13:32:17 +02:00
stefano055415 d8337cf98f
Add Freedompro (#46332)
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-30 13:21:06 +02:00
Tom Schneider dc407fe7a1
Fix MusicCast subwoofers (#52335) 2021-06-30 13:09:57 +02:00
mlemainque a7ece4ecaa
Fix Daikin integration power sensors (#51905) 2021-06-30 12:01:08 +02:00
Brian Towles 3e4dacb885
Add Modern Forms binary sensor platform (#52312)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-30 11:56:02 +02:00
Aaron Bach 3902f0bdd4
Speed up lookup of AirVisual pollutant labels, levels, and units (#52327)
* Speed up lookup of AirVisual pollutant levels, labels, and units

* Mispellings
2021-06-30 11:33:50 +02:00
Anaïs Betts da9bb99ba8
Create service to enable Continuous Mode on Nuki Opener (#51861) 2021-06-30 08:43:02 +02:00
Carlos Gomes f2906d0fca
Add quantiles to Statistics integration (#52189)
* Add quantiles as another Statistics attribute

Quantiles divide states into intervals of equal probability. The
statistics.quantiles() function was added in Python 3.8 and can now
be included in the Statistics integration without new dependencies.

Quantiles can be used in conjunction with other distribution metrics to
create box plots (quartiles) and other graphical resources for
visualizing the distribution of states.

* Add quantiles reference to basic tests
2021-06-30 08:31:33 +02:00
J. Nick Koston 9f16e390f5
Deprecate IPv6 zeroconf setting in favor of the network integration (#51173) 2021-06-29 17:13:31 -10:00
Fredrik Erlandsson 3c20f2dd42
Fix point ConnectionTimeout during startup (#52322) 2021-06-29 21:10:25 -04:00
GitHub Action 5baaede85b [ci skip] Translation update 2021-06-30 00:11:18 +00:00
Daniel Hjelseth Høyer 04d8f88269
Fix Mill consumption data (#52320)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-06-30 01:31:56 +02:00
Otto Winter f772eab7b7
ESPHome delete store data when unloading entry (#52296) 2021-06-29 15:06:24 -07:00
Erik Montnemery cca5964ac0
Normalize pressure statistics to Pa (#52298) 2021-06-29 23:30:13 +02:00
J. Nick Koston 2eebfe6ff3
Fix esphome startup with missing api_version key (#52324) 2021-06-29 22:50:29 +02:00
Heine Furubotten 56d1bf255b
Bump enturclient to v0.2.2 (#52321) 2021-06-29 16:34:09 -04:00
Franck Nijhof 7c39092aa8
Upgrade nmap tracker with forked package for compatibility (#52300)
* Upgrade nmap tracker with forked package for compatibility

* Bump to 0.7.0.2

* Bump cache version
2021-06-29 21:50:25 +02:00
Aaron Bach ddef5d2314
Refactor Tile entity unique ID migration to use helper (#52315)
* Refactor Tile entity unique ID migration to use helper

* Clarify

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-29 21:15:56 +02:00
Aaron Bach 935f4d16a9
Fix small inconsistencies in RainMachine vegetation and sprinkler types (#52313) 2021-06-29 13:57:28 -04:00
Otto Winter b43d0877e7
ESPHome Migrate to dataclasses (#52305) 2021-06-29 19:53:57 +02:00
Daniel Hjelseth Høyer ba7ad8a58f
Add Melcloud device class and state class (#52276) 2021-06-29 19:16:43 +02:00
Koen Kanters 2576dd9da9
Fix Todoist incorrect end date when task has no time (#52258) 2021-06-29 10:15:50 -07:00
Teemu R 6afa4d6914
Skip updating tplink bulb state if the new state not reported by the device (#52310) 2021-06-29 19:14:34 +02:00
Simone Chemelli 7959225fef
Add switch platform to Fritz (#51610)
* Add switch platform to Fritz

* Fix tests

* Pylint

* Small fix

* Bump fritzprofiles to fix log level and identifier

* Fix different WiFi networks with same name

* Changed exposed attributes

* Moved to extra_state

* Remove redundant lambda

* Add missing wait

* Removed identifiers

* Update homeassistant/components/fritz/switch.py

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

* Update homeassistant/components/fritz/switch.py

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

* Add mapping dict

* Device Profile disabled by default

* Heavy cleanup

* Tweak

* Bug fix

* Update homeassistant/components/fritz/switch.py

Co-authored-by: Aaron David Schneider <aaron.schneider@nbi.ku.dk>

* Fix port forward switching + small log improvement

* Cleanup from old approach

* Handle port mapping hot removal (from device)

* Minor fixes

* Typying

* Removed lambda call

* Last missing strict typing

* Split get entities

* Func rename

* Move FritzBoxBaseSwitch to switch.py

* Removed lambda

* Update homeassistant/components/fritz/common.py

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

* Update homeassistant/components/fritz/common.py

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

* Update homeassistant/components/fritz/switch.py

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

* Update homeassistant/components/fritz/switch.py

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

* Update homeassistant/components/fritz/switch.py

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

* Update homeassistant/components/fritz/switch.py

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

* Fixes after applying comments

* Remvoed redundant try block

* Removed broad-except

* Optimized async/sync switch

* Update homeassistant/components/fritz/switch.py

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

* Update homeassistant/components/fritz/switch.py

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

* Update homeassistant/components/fritz/switch.py

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

* Address remaining comments

* Optimize return list

* More optimization for return lists

* Some missing strict typing

* Redundant typing

* Update homeassistant/components/fritz/switch.py

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

* Wrong if

* Introduce const for profile status

* Update homeassistant/components/fritz/switch.py

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

* Update homeassistant/components/fritz/switch.py

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

* Fix mypy

* Switch back to get_local_ip()

* Address latest comments

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Aaron David Schneider <aaron.schneider@nbi.ku.dk>
2021-06-29 11:57:34 -04:00
Tom Brien 897f5d9247
Coinbase code quality improvements from review (#52307)
* Fix breaking loop if single bad currency

* Remove unneeded update

* Reduce executor calls and use helper

* Avoid setting up integration when not needed in test

* Remove defunct info from strings

* Move already configured check

* Move instance update out of data class init
2021-06-29 11:54:38 -04:00
Franck Nijhof b11af5e6f8
Fix Garmin Connect sensor dependency import (#52306) 2021-06-29 16:39:25 +02:00
Erik Montnemery 8a00c3a2f5
Implement color_mode support for kulersky (#52080) 2021-06-29 16:31:29 +02:00
Franck Nijhof f1b40b683d
Disable dependency checks and tests for disabled EE Brightbox integration (#52304) 2021-06-29 16:09:42 +02:00
Joakim Sørensen 720a67957b
Bump hass-nabucasa to 0.44.0 (#52303) 2021-06-29 16:04:21 +02:00
Franck Nijhof d3210ada1d
Allow None value return type for Number entity state value (#52302) 2021-06-29 15:07:31 +02:00
Erik Montnemery 6131ed09f0
Compile statistics for power sensors (#52299) 2021-06-29 14:48:08 +02:00
Jesse Hills e1797ea670
Add number entities to ESPHome (#52241)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-29 14:33:04 +02:00
Adrián Moreno a639cb7ba7
Add sensor platform to Meteoclimatic integration (#51467)
* Add meteoclimatic sensor platform

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Add sensor.py to coverage file

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Add explicit return type None

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Fix sample station code

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Apply frenck suggestions

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Remove extra attributes

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Revert translations

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Remove None icons and classes

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>
2021-06-29 13:52:39 +02:00
Franck Nijhof 3311b1bafb
Small clean up for Motion Blinds (#52281) 2021-06-29 14:08:19 +03:00
Erik Montnemery c785db4ffa
Normalize energy statistics to kWh (#52238) 2021-06-29 12:20:10 +02:00
Erik Montnemery b77f2b9e12
Filter MQTT camera JSON attributes (#52279)
* Filter MQTT camera JSON attributes

* Add missing attribute to blocked list
2021-06-29 12:14:02 +02:00
Erik Montnemery 39a064683a
Filter MQTT cover JSON attributes (#52282) 2021-06-29 11:59:23 +02:00
Franck Nijhof 8a82557142
Demo: Remote improvements (#52265)
* Demo: Remote improvements

* Address pylint warning
2021-06-29 11:32:46 +02:00
Erik Montnemery a7dd7c1a3d
Filter MQTT select JSON attributes (#52288) 2021-06-29 11:22:58 +02:00
Erik Montnemery 74e61ab7f7
Filter MQTT switch JSON attributes (#52290) 2021-06-29 11:22:25 +02:00
Erik Montnemery de4cfb0ce2
Filter MQTT vacuum JSON attributes (#52291) 2021-06-29 11:21:22 +02:00
Erik Montnemery 61f7f5c96a
Filter MQTT sensor JSON attributes (#52289) 2021-06-29 11:19:40 +02:00
Erik Montnemery e0f7987544
Filter MQTT fan JSON attributes (#52283) 2021-06-29 11:18:50 +02:00
Erik Montnemery 71a0e474cc
Filter MQTT number JSON attributes (#52286) 2021-06-29 11:16:57 +02:00
Erik Montnemery 3b89fcfe83
Filter MQTT lock JSON attributes (#52285) 2021-06-29 11:16:07 +02:00
Jc2k 7de3e7d1dd
Support setting hvac_mode and temp in same homekit_controller set_temperature service call (#52195)
* Support setting hvac_mode and temp in same set_temperature service call

* Update homeassistant/components/homekit_controller/climate.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/homekit_controller/climate.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-29 11:14:28 +02:00
Erik Montnemery 040c88f982
Filter MQTT climate JSON attributes (#52280) 2021-06-29 11:13:58 +02:00
Erik Montnemery 91b4f7d1d5
Filter MQTT alarm JSON attributes (#52278) 2021-06-29 10:32:23 +02:00
Aaron Bach dee3e14df2
Fix values of RainMachine Freeze Protection and Hot Days binary sensors (#52275)
* Fix values of RainMachine Freeze Protection and Hot Days binary sensors

* Correct place

* Fix
2021-06-29 10:21:33 +02:00
Aaron Bach 04300464da
Update RainMachine sprinkler and vegetation types (#52274) 2021-06-29 10:20:11 +02:00
Aaron Bach 5e18b5c189
Fix bug in detecting RainMachine zone soil type (#52273)
* Fix bug in detecting RainMachine zone soil type

* Simplify
2021-06-29 10:09:38 +02:00
Brian Towles 3ab42c50c9
Add sensor platform to Modern Forms integration (#52249)
* Add sensor platform to Modern Forms integration

* Changes to sensors to timestamp class

* lint cleanup
2021-06-29 10:05:39 +02:00
Chris Talkington 6a528acafe
Use attrs instead of properties for ipp (#52270)
* use attrs instead of properties for ipp

* Update __init__.py

* Create entity.py

* Update __init__.py

* Create coordinator.py

* Update coordinator.py

* Update __init__.py

* Update entity.py

* Update sensor.py

* Update sensor.py

* Update __init__.py

* Update __init__.py

* Update coordinator.py

* Update entity.py

* Update entity.py

* Update entity.py

* Update sensor.py

* Update sensor.py
2021-06-29 10:02:49 +02:00
Xuefer 8c37dc5613
Clean up Onvif steps (#52254) 2021-06-29 09:30:56 +02:00
TOM 3f66709882
Fix caldav TZ interpretation of all day events (#48642) 2021-06-29 00:07:29 -07:00
Paulus Schoutsen bb4d3bfc60
Reduce Ring TTL (#52277) 2021-06-29 08:57:32 +02:00
Franck Nijhof 8dd545d060
Demo: Sensor improvements (#52263) 2021-06-28 23:39:40 -07:00
Franck Nijhof d37018cf87
Small tweaks to Rituals Perfume Genie (#52269) 2021-06-28 23:39:00 -07:00
Franck Nijhof 94a0259743
Add state class support to SAJ Solar Inverter (#52261) 2021-06-28 23:38:21 -07:00
Franck Nijhof a93487f389
Add state class support to SolarEdge (#52271) 2021-06-28 23:37:33 -07:00
jan iversen f1303e02ff
Let climate use base_struct_schema. (#52154) 2021-06-28 22:21:31 -07:00
Daniel Hjelseth Høyer 1676bf220f
Tibber, add device class monetary to accumulated cost (#52259)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-06-28 20:58:27 -07:00
GitHub Action 81ca5236bf [ci skip] Translation update 2021-06-29 00:25:47 +00:00
Aaron Bach a448b72ff9
Remove bachya as 17track.net codeowner (#52262)
* Remove bachya as 17track.net codeowner

* Cleanup
2021-06-28 17:41:02 -06:00
Raman Gupta d6fd7dde7f
Bump zwave_js_server to 0.27.0 (#52267) 2021-06-28 18:49:40 -04:00
Milan Meulemans dc94a45832
Clean up Rituals Perfume Genie integration (#52266) 2021-06-29 00:44:13 +02:00
Marius 7ce4763784
change processor_temperature icon (#52256)
* change processor_temperature icon

to indicate the temperature, using "mdi:thermometer"

* add DEVICE_CLASS_TEMPERATURE,

* add None for icon

* remove Icon from Last boot

since it uses the device_class already
2021-06-29 00:39:21 +02:00
Jc2k 42c944ce56
Add secondary temperature sensors to homekit_controller (#52194) 2021-06-28 23:48:29 +02:00
ollo69 c6efdedd3c
Add AsusWRT load average sensors (#52230) 2021-06-28 22:33:15 +02:00
Aaron Bach f538e07902
Update Tile unique ID to include username (#52175) 2021-06-28 21:36:18 +02:00
Farzad Noorian fbf85fd86b
Add OAuth 2.0 Bearer Token authentication to send_file for telegram_bot (#46567) 2021-06-28 20:43:23 +02:00
Matthias Alphart d4211c4a66
Cleanup KNX supported_features for climate, cover and fan (#52218) 2021-06-28 20:22:44 +02:00
Tom Brien 9e50bd0b30
Only load requested coinbase accounts (#51981) 2021-06-28 20:21:04 +02:00
Milan Meulemans 6f41168616
Change DiffuserRoomSize number entity to select entity (#51993)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-28 20:20:32 +02:00
Tom Brien a1c741a46d
Provide correct defaults for CoinBase options flow (#52255) 2021-06-28 20:14:11 +02:00
René Klomp 540d6e9fa5
Use pysma exceptions (#52252) 2021-06-28 16:59:17 +02:00
Xuefer 3a5ee00081
Merge onvif host/auth step, allow skipping scan (#49660) 2021-06-28 16:39:18 +02:00
Tom Brien fd1d110b80
Add config flow for Coinbase (#45354)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-28 16:38:12 +02:00
Joakim Sørensen efee36a176
Don't copy result to new list (#52248) 2021-06-28 15:54:23 +02:00
Erik Montnemery c86b563fe1
Bump hatasmota to 0.2.19 (#52246) 2021-06-28 15:49:25 +02:00
René Klomp 5e721b2566
Update SMA device info on setup (#51159)
* Update device info on setup

* Remove migration
2021-06-28 15:32:29 +02:00
Guido Schmitz 3027b848c1
Add reauth config flow to devolo Home Control (#49697) 2021-06-28 15:01:31 +02:00
Erik Montnemery 7a4f3fe7b8
Filter MQTT light JSON attributes (#52242) 2021-06-28 14:37:26 +02:00
Joakim Plate 24ba81c3a2
Update new effect before calculating color on Philips TV (#52072) 2021-06-28 14:01:29 +02:00
micha91 8133793f23
Yamaha musiccast grouping-services (#51952)
Co-authored-by: Tom Schneider <tom.schneider-github@sutomaji.net>
2021-06-28 13:57:01 +02:00
Joakim Sørensen 8255a2f6c8
Removal of stale add-on devices on startup (#52245) 2021-06-28 13:49:58 +02:00
Otto Winter 3e1d32f4e0
ESPHome Climate add preset, custom preset, custom fan mode (#52133)
* ESPHome Climate add preset, custom preset, custom fan mode

* Fix copy paste error

* Bump aioesphomeapi to 3.0.0

* Bump aioesphomeapi to 3.0.1

* Persist api version to prevent exception for offline devices
2021-06-28 13:43:45 +02:00
Michael Davie 594bcbcf7a
Fix timezones in Environment Canada hourly forecasts (#51917) 2021-06-28 12:57:07 +02:00
billsq 90e9216e9a
Add support for overriding SMTP recipient(s) in a service call (#47611) 2021-06-28 12:54:03 +02:00
J. Nick Koston 583626a74f
Convert nmap_tracker to be a config flow (#50429) 2021-06-28 12:49:14 +02:00
Vilppu Vuorinen 4ba5a4f36e
Fix unique_id generation for AtwZoneSensors (#51227) 2021-06-28 12:20:40 +02:00
J. Nick Koston ab24d16e00
Suppress duplicate mdns discovery from netdisco (#52099) 2021-06-28 11:46:56 +02:00
Fabian Zimmermann 3c0a24db50
Convert openweathermap dewpoint from kelvin to celcius (#51893)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-28 11:35:33 +02:00
Shay Levy ab73ce00a0
Change "Not adding entity" log level to debug (#52240) 2021-06-28 11:22:10 +02:00
Brett 486e94e6a5
Add "auto" HVAC mode to Advantage Air (#51693)
* Add support for myAuto

* Small bug fixes for myAutoModeEnabled

* Add myauto to test fixture

* Refactor hvac_modes using AC_HVAC_MODES
2021-06-28 11:21:25 +02:00
myhomeiot 922b195ebf
Add hvac_action to Daikin AC (#52035) 2021-06-28 11:10:53 +02:00
Chris Talkington e4fc76ac2c
Add re-authentication support to cloudflare (#51787) 2021-06-28 10:48:18 +02:00
Erik Montnemery e14480599b
Add value_template support to MQTT number (#52155) 2021-06-28 10:23:34 +02:00
Maciej Bieniek 3d556f14a5
Remove `air_quality` platform from Airly integration (#52225)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-28 10:15:56 +02:00
Brian Towles 9c84c2889f
Modern forms switch platform (#52061)
* Add switch platform to Modern Forms integration

* Add reboot switch

* Update  lib to catch status from switches

* lint ignore

* Removed reboot switch

* bump aiomodernforms for dependency cleanup
2021-06-28 09:47:41 +02:00
Raman Gupta bef8be9256
Support dynamic schema validation in device conditions and actions (#52007)
* Allow integrations to provide dynamic schema validation in device conditions and actions

* Add tests

* re-add type

* mypy
2021-06-28 09:23:46 +02:00
Christopher Masto 5d3f3c756f
Fix Fahrenheit to Celsius conversion in Prometheus exporter (#52212)
const.TEMP_FAHRENHEIT is "°F", but _unit_string converts this to "c",
so the comparison never succeeds and we end up with temperatures in F
but labeled C.
2021-06-28 09:19:49 +02:00
GitHub Action 5c5e43afc1 [ci skip] Translation update 2021-06-28 00:10:15 +00:00
Chris Talkington 8b47faa840
Remove undo listener variable in cloudflare (#52227)
* remove undo listener variable in cloudflare

* Update const.py

* Update __init__.py

* Update __init__.py
2021-06-27 15:58:49 -05:00
Joakim Plate 0d689eefd6
Make Philips TV notify service optional (#50691)
* Make event service optional

* Correct strings for rename

* Drop unload we are just testing config flow here
2021-06-27 22:57:08 +02:00
puddly c404a196c2
Allow creating ZHA groups with specific IDs (#50781) 2021-06-27 15:21:15 -04:00
SgtBatten bd399d17a7
Add support for 4th fan speed in izone A/C systems (#51969)
* Add TOP fan speed

My a/c is 4 speed and the top speed is reported as top or boost. 

i.e it supports: low med high boost auto

* add support for top fan speed

Aircons with 4 fan speeds. i.e low, med, high, top/boost

* Update manifest.json

Bump version to 1.1.5

* Update climate.py

* Bump Izone to 1.1.5

* Update climate.py

* fix isort failure

* Use v1.1.6

Co-authored-by: Penny Wood <Swamp-Ig@users.noreply.github.com>
Co-authored-by: Swamp-Ig <github@ninjateaparty.com>
2021-06-27 21:13:26 +02:00
ollo69 e6e39a67f4
AsusWRT code improvements for sensors and related tests (#51822)
* Sensors implementation and tests improvements

* Remove check for unexpected condition
2021-06-27 15:09:03 -04:00
hesselonline e56069558a
Refactor wallbox tests (#51094)
* Changed Testing, removed custom exception
Removed custom exceptions, reverted to builtin. Changed testing approach in all tests, now using the core interface to setup device and mock_requests to create test responses for all calls.

* Reintroduce InvalidAuth exception in __init__
Remove reference to internal HA exception, Reintroduce custom exception

* Removed duplicate entry in test_config_flow

* removed tests from test_init that calling methods directly

* Update tests/components/wallbox/__init__.py

Removed duplicate add_to_hass call

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-27 15:06:25 -04:00
avee87 2d1744c573
Add forecasts to MetOffice integration (#50876)
* MetOfficeData now retrieves both 3-hourly and daily data (full forecast data, as well as "now" snapshot) on each update

* Bump datapoint API up to latest version

* Create 2 sets of sensors - one of each set for 3-hourly and for daily data (same ones initially enabled, for now)

* Create two entities (one each for 3-hourly and daily data) and also add in the forecast data for each dataset

* Testing changes to accommodate now having two sets of everything for 3-hourly and daily update data

* Removed unused import (reported by flake8)

* As per conversation with @MatthewFlamm leave the 3-hourly entity's unique_id unchanged (although the display name is changed)

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Added more test coverage

* import asyncio

* Try to fix test

* Rewrote everything using CoordinatorEntity

* Fixed config flow

* Fixed lint errors

Co-authored-by: MrHarcombe <ian.harcombe@gmail.com>
Co-authored-by: Henco Appel <hencoappel+github@gmail.com>
2021-06-27 15:04:42 -04:00
Raman Gupta 23339cff95
Add new climacell sensors (#52079)
* Add new climacell sensors

* lint

* add new unit constants
2021-06-27 15:03:20 -04:00
Erik Montnemery 74aa428bd1
Implement color_mode support for ozw (#52063) 2021-06-27 15:00:27 -04:00
Matt Zimmerman da1d6d3821
Add service to reset SmartTub reminders (#51824)
* Add service to reset SmartTub reminders

* add test

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 20:59:11 +02:00
Hristo Atanasov a5362542ad
Bulgarian language added in Google Translate TTS (#51985)
* Added Bulgarian language

Bulgarian language is supported by Google Translate TTS and by gTTS library. Tested all lockally and it works perfect.
https://github.com/pndurette/gTTS

* Bulgarian language added in v2.2.3

* Run script.gen_requirements_all

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 20:55:36 +02:00
J. Nick Koston a10847bef3
Fix isy994 fan when turn on is not called with a percentage (#49531)
* Fix isy994 fan when turn on is not called with a percentage

* Make insteon/fan.py logic
2021-06-27 20:35:58 +02:00
Lasath Fernando 543e1a0f9c
Make PjLink power toggle more robust (#51821)
Occasionally, this integration misses events (or maybe they never get sent) from the projector and gets "stuck" in the wrong power state.
Currently, this prevents this integration from changing the power state as it thinks its already in the correct state. Only way to resolve this is to reboot home assistant.

This PR makes it a little more resilient by attempting to send the correct command even when it thinks it's already in the correct state.
2021-06-27 20:30:49 +02:00
Niels Mündler aececdfeb9
Update pyfronius to 0.5.2 (#52216)
* Update the pyfronius package to version 0.5.2

this automatically introduces support for API V0 of fronius devices

* Update requirements
2021-06-27 12:43:31 -05:00
Joakim Plate eedf1c3ebe
Reject requests from the proxy itself (#52073)
* Reject requests from the proxy itself

* Adjust tests
2021-06-27 19:02:51 +02:00
Matt Zimmerman fad7e43c4f
Add state attribute to SmartTub reminders for days remaining (#51825) 2021-06-27 18:39:40 +02:00
Milan Meulemans a9bd7da79d
Remove Rituals room size number entity (#52200) 2021-06-27 18:38:07 +02:00
Matthias Alphart 253310aaa4
Add respond_to_read option to KNX switch (#51790) 2021-06-27 18:34:41 +02:00