Commit Graph

38523 Commits

Author SHA1 Message Date
Franck Nijhof
afc95becd0 Fix incorrect power device class on energy sensors in Smappee (#54994) 2021-08-21 19:17:36 -07:00
Franck Nijhof
243c52e210 Add missing BYN currency (#55001) 2021-08-21 19:14:48 -07:00
Jørgen Rørvik
b942454312 Fix manual setup when roomba is on different subnet (#54639)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-21 20:01:41 -05:00
GitHub Action
45baf88862 [ci skip] Translation update 2021-08-22 00:11:30 +00:00
J. Nick Koston
06fcf51754 Bump python-yeelight to 0.7.3 (#54982) 2021-08-21 17:55:10 -05:00
Franck Nijhof
d8eedaf9fd Upgrade PyTurboJPEG to 1.5.2 (#54992) 2021-08-21 16:58:25 -05:00
J. Nick Koston
42f7f19be5 Switch periodic USB scanning to on-demand websocket when observer is not available (#54953) 2021-08-21 16:06:44 -05:00
Marc Mueller
a931e35a14 Use EntityDescription - google_wifi (#54941) 2021-08-21 21:59:06 +02:00
J. Nick Koston
0403ea715e Add known devices to USB Vendor / Product IDs (#54986)
Co-authored-by: kpine <keith.pine@gmail.com>
2021-08-21 21:56:49 +02:00
Chris Talkington
5329dccd8b Remove ctalkington from directv codeowner (#54988) 2021-08-21 21:55:51 +02:00
Michael
9de24300d0 VSCode switch to terminal.integrated.profiles (#54301) 2021-08-21 21:46:24 +02:00
Simone Chemelli
a5902fbe29 Synology sensor name clarification (#54262) 2021-08-21 21:40:18 +02:00
J. Nick Koston
8d69475d71 Fix recorder shutdown race and i/o in event loop (#54979) 2021-08-21 21:38:02 +02:00
J. Nick Koston
ebb8ad308e Fix nmap_tracker typing (#54858)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-21 21:25:28 +02:00
Marc Mueller
4916016648 Use EntityDescription - envirophat (#54944) 2021-08-21 20:53:25 +02:00
Marc Mueller
f9ebb29541 Use EntityDescription - starline (#54431) 2021-08-21 20:47:29 +02:00
Marc Mueller
05de7a78d1 Use EntityDescription - trafikverket_weatherstation (#54430) 2021-08-21 20:32:40 +02:00
Marc Mueller
dce816ee96 Use EntityDescription - nzbget (#54427) 2021-08-21 20:30:42 +02:00
Marc Mueller
17902c3ffa Use EntityDescription - buienradar (#54317) 2021-08-21 20:28:31 +02:00
jan iversen
f872594e26 Activate mypy for homematicip_cloud (#54950)
* Please mypy.

* Review comments.

* Review comments.
2021-08-21 20:19:56 +02:00
Eric Severance
67d04b6082 Use DataUpdateCoordinator for wemo (#54866)
* Use DataUpdateCoordinator for wemo

* Rename DeviceWrapper->DeviceCoordinator and make it a subclass of DataUpdateCoordinator

* Rename async_update_data->_async_update_data to override base class

* Rename: device -> coordinator
2021-08-21 20:14:55 +02:00
Brian Egge
6cefd558d8 Set unique id to amcrest serial number (#54675)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Sean Vig <sean.v.775@gmail.com>
2021-08-21 19:58:37 +02:00
Maciej Bieniek
4a6ca8a04e Add number platform for Xiaomi Miio fan (#54977) 2021-08-21 19:09:42 +02:00
J. Nick Koston
aa7c72a8b5 Bump sqlalchemy to 1.4.23 (#54980)
- Changelog: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.23
2021-08-21 13:00:39 -04:00
J. Nick Koston
a7d8e2b817 Add support for USB discovery to zwave_js (#54938)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-21 09:30:45 -05:00
jan iversen
33f660118f Add lazy_error_count to modbus (#54412)
* Add lazy_error_count.

* Use -=

* Review comments.
2021-08-21 15:49:50 +02:00
J. Nick Koston
51434c5faa Gracefully handle udev not available via OSError when setting up usb (#54967) 2021-08-21 07:24:45 -05:00
J. Nick Koston
c609236a63 Move get_serial_by_id and human_readable_device_name to usb (#54968) 2021-08-21 07:24:21 -05:00
carstenschroeder
2cfd78bc49 Minor refactoring of keba integration (#54976)
* minor refactoring

* fix type annotation
2021-08-21 14:17:19 +02:00
Ville Skyttä
59809503d1 Various type hint related improvements (#54971)
* Avoid some implicit generic Anys

* Fix hassio discovery view type hints

* Fix http view result type in assert message
2021-08-21 13:58:49 +02:00
Klaas Schoute
de354f96fe Remove unused string in P1 Monitor (#54911) 2021-08-21 13:53:28 +02:00
Erik Montnemery
fedd958dc0 Enable basic type checking for atag (#54933) 2021-08-21 13:39:56 +02:00
Erik Montnemery
efd15344e9 Enable basic type checking for analytics (#54928) 2021-08-21 11:46:28 +02:00
Erik Montnemery
7e5ff825dd Enable basic type checking for adguard (#54924) 2021-08-21 11:46:00 +02:00
Joakim Plate
4bdeba8631 Add fjäråskupan sensor (#54921)
* Add fjäråskupan sensor

* Update homeassistant/components/fjaraskupan/sensor.py

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

* Type the return value of constructor

* Update __init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-21 11:09:23 +02:00
Marc Mueller
69e413ac1e Update pylint to 2.10.1 (#54963)
* Update pylint to 2.10.0

* useless-suppression

* Consider-using-tuple

* Apply suggestions from code review

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

* Use dict.items()

* Add pylint disable

* Use pylint 2.10.1

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-21 10:41:23 +02:00
Joakim Plate
5142ebfcc2 Add fjäråskupan light entity (#54918)
* Add fjäråskupan light

* Update homeassistant/components/fjaraskupan/light.py

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

* Check property

* Switch to default coordinator update

* Type check constructor

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-21 09:34:32 +02:00
Ville Skyttä
de6e7ea016 Replace *args and **kwargs type hint collections with value types (#54955) 2021-08-21 10:20:09 +03:00
Raman Gupta
726acc38c6 Improve Command Class choices for zwave_js device triggers and conditions (#54970) 2021-08-21 02:57:20 -04:00
Raman Gupta
2be50eb5b4 Add zwave_js device triggers for any zwave value (#54958)
* Add zwave_js device triggers for any zwave value

* translations

* Validate value
2021-08-21 00:09:52 -04:00
Raman Gupta
1075a65bbd Remove Configuration CC as choice in zwave_js value device condition (#54962) 2021-08-21 00:09:27 -04:00
J. Nick Koston
8796eaec81 Add support for USB discovery to ZHA (#54935)
* Add USB discovery support to ZHA

* dry

* dry

* Update homeassistant/components/zha/config_flow.py

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

* black

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 20:42:23 -05:00
J. Nick Koston
b71f2689d7 Make yeelight aware of the network integration (#54854) 2021-08-20 19:09:22 -05:00
J. Nick Koston
1325b38256 Handle case where location_name is set to "" for zeroconf (#54880) 2021-08-20 14:33:23 -07:00
J. Nick Koston
3cb7227040 Normalize the display name of yeelight devices (#54883)
Co-authored-by: Teemu R. <tpr@iki.fi>
2021-08-20 14:32:48 -07:00
Samuel Tardieu
71b8409c0d Use a static collection of forwarded attributes (#54870)
Not repeating each attribute name three times lowers the risk of a typo.
Also, only one lookup is done during the kwargs traversal instead of two.
2021-08-20 14:24:16 -07:00
bsmappee
152f799d0e Extract smappee switch energy attributes into sensors (#54329) 2021-08-20 14:20:45 -07:00
Guy Khmelnitsky
8f6281473e Fix Watson TTS to use correct API (#54916) 2021-08-20 22:41:30 +02:00
Raman Gupta
1f2134a31a Use entity descriptions for zwave_js sensors (#53744)
* Use entity descriptions for zwave_js sensors

* reorder

* use new type

* revert typing changes

* switch to using maps

* Get device and state class from discovery instead

* ues constants for keys

* Add meter type attribute and simplify platform data access

* comments

* second refactor

* Add None lookup value

* readability

* Switch base data template to type Any for more flexibility

* Additional changes based on feedback

* rewrite based on new upstream util functions

* Use new combo type

* Handle UnknownValueData in discovery

* bug fixes

* remove redundant comment

* re-add force_update

* fixes and tweaks

* pylint and feedback
2021-08-20 16:25:39 -04:00
Ville Skyttä
debc6d632c Improve device condition type hinting (#54906) 2021-08-20 22:21:40 +02:00