Commit Graph

37131 Commits (5ce4de7bbbc4d9cb7d54aa984541fcdaf3268a0c)

Author SHA1 Message Date
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
Erik Montnemery 628eafaf68
Enable basic type checking for script (#52476) 2021-07-03 19:35:36 +03: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