Commit Graph

37296 Commits (ab5fd70988eecd5f749c7e05db0a61e687ee6460)

Author SHA1 Message Date
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
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