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
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
Sebastian Lövdahl
9633b9fe6e
Fix Google Calendar auth user code expire time comparison ( #54893 )
...
Fixes #51490 .
2021-08-20 22:12:10 +02:00
Raman Gupta
63f6a3b46b
Add zwave_js.value_updated automation trigger ( #54897 )
...
* Add zwave_js automation trigger
* Rename to align with zwave-js api
* Improve test coverage
* Add additional template variables
* Support states values in addition to keys when present
* remove entity ID from trigger payload
* comments and order
* Add init and dynamically define platform_type
* reduce mypy ignores
* pylint
* pylint
* review
* use module map
2021-08-20 15:21:55 -04:00
J. Nick Koston
dc74a52f58
Add support for USB discovery ( #54904 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 14:04:18 -05:00
Raman Gupta
11c6a33594
Bump zwave-js-server-python to 0.29.0 ( #54931 )
...
* Bump zwave-js-server-python to 0.29.0
* Cover secure flag true paths for add node WS commands
2021-08-20 14:55:58 -04:00
Joakim Plate
dd8542e01f
Add fjäråskupan binary_sensor ( #54920 )
...
* Add fjäråskupan binary_sensor
* Switch to entity description
* Type check constructor
2021-08-20 20:18:30 +02:00
Teemu R
3048923dc2
Remove deprecated async_setup_platforms() for xiaomi_miio ( #54930 )
2021-08-20 11:13:58 -07:00
Erik Montnemery
dbc4470979
Enable basic type checking for aemet ( #54925 )
2021-08-20 19:10:19 +02:00
Erik Montnemery
09ee7fc021
Enable basic type checking for asuswrt ( #54929 )
2021-08-20 19:08:22 +02:00
Raman Gupta
ef9ad89c23
Add support for area ID in zwave_js service calls ( #54940 )
2021-08-20 12:55:17 -04:00
jan iversen
1f6d18c517
Set quality level of modbus to gold ( #54926 )
...
* Prepare for gold.
* Upgrade to gold.
2021-08-20 17:59:31 +02:00
jan iversen
1e3452496a
Make log rollover at startup ( #54865 )
...
* Secure log rollover at startup.
* Review comments.
* Please CI.
2021-08-20 17:59:10 +02:00
J. Nick Koston
725b316ec6
Add HomeKit and DHCP to DISCOVERY_SOURCES in config_entries ( #54923 )
2021-08-20 17:02:03 +02:00
Paulus Schoutsen
2ddeb0c013
Ask for host because EAGLE mdns doesn't work in HA OS ( #54905 )
2021-08-20 07:52:30 -07:00
Erik Montnemery
2fa07777cd
Warn if unit_of_measurement is set on instances of SensorEntityDescription ( #54867 )
...
* Add class BaseEntityDescription without unit_of_measurement
* Refactor according to review comments
* Tweak
* Fix offending integrations
* Fix offending integrations
2021-08-20 15:54:57 +02:00
Erik Montnemery
e134246cbd
Improve DSMR shutdown ( #54922 )
2021-08-20 15:54:05 +02:00
Maciej Bieniek
fe6c896754
Add `switch` platform for Xiaomi Miio fans ( #54834 )
2021-08-20 15:12:29 +02:00
Robert Hillis
5e8c873d5f
Fix image_processing selectors ( #54915 )
2021-08-20 14:20:01 +02:00
JasperPlant
12ad6b8a2b
Add growatt total state_class for storage ( #54913 )
2021-08-20 14:08:28 +02:00
Joakim Plate
1f4c12195e
Fjäråskupan kitchen fan ( #53140 )
...
* Add fjäråskupan fan control
* Update tests/components/fjaraskupan/conftest.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/fjaraskupan/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/fjaraskupan/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Increase manual update to 2 minutes
* Address review comments
* Switch to discovery flow
* Address more review comments
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 13:41:36 +02:00
J. Nick Koston
6218cd648d
Update nmap_tracker to use the network integration ( #54877 )
...
* Update nmap_tracker to use the network integration
* fix redefine variable inner scope
2021-08-20 13:01:55 +02:00
muchtall
2ac0aea765
Fix Lyric cool mode ( #54856 )
...
* fixing Cool mode in lyric
* Use climate integration constants
I believe this fixes this issue: https://github.com/home-assistant/core/pull/51760#discussion_r650372737
* Run through black
* Delint
Co-authored-by: Yadu Raghu <yraghu55@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 12:50:28 +02:00
ollo69
e5f914bbdb
Clean up AsusWRT if check ( #54896 )
2021-08-20 12:20:39 +02:00
Raman Gupta
3a2afb8bde
Support group entities in zwave_js service calls ( #54903 )
2021-08-20 11:18:19 +02:00
Geoffrey
017b8d3615
Add energy management support to Growatt server integration ( #54174 )
...
Co-authored-by: Chris Straffon <c.m.straffon@gmail.com>
2021-08-20 10:53:48 +02:00
Klaas Schoute
68fbc0792a
Add P1 Monitor integration ( #54738 )
...
* Init integration P1 Monitor
* Fix build error
* Add quality scale
* Remove last_reset and icon
* Change list to tuple
* Close client on connection exception
* Change min value to 5 (seconds)
* the used python package will close it
* Remove the options flow
* Add session and close client
* Smash to a single DataUpdateCoordinator
* Make a custom update coordinator class
* await the coordinator close
* Add second await the coordinator close
* Close when exit scope
* Removed unused code
* Fix test_sensor on entity_id change
* Fix test on test_sensor
* Transfer SENSOR dict to sensor platform
* device class for cost entity update entity_name
* Revert name in unique id and update sensor test
* Update code based on suggestions
* Fix typing
* Change code to fix mypy errors
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 08:45:04 +02:00
Erik Montnemery
32e297f4a0
Compile missing statistics ( #54690 )
2021-08-19 22:10:45 -07:00
Raman Gupta
036e99e91e
Allow integrations to define trigger platforms with a subtype ( #54861 )
2021-08-19 21:43:04 -07:00
Ville Skyttä
4bb2c6e00f
Improve device action type hinting ( #54850 )
...
* Improve device action type hinting
* More precise _async_get_automations type hints
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 07:13:25 +03:00
GitHub Action
fc6d45a63b
[ci skip] Translation update
2021-08-20 00:16:03 +00:00
Paulus Schoutsen
f1a4ba8bb0
Add Rainforest Eagle tests and price ( #54887 )
2021-08-19 13:19:31 -07:00
micha91
6eadc0c303
Yamaha Musiccast Media Browser feature ( #54864 )
2021-08-19 20:42:11 +02:00
Paulus Schoutsen
4ae2a26aa3
Add config flow to Rainforest EAGLE-200 ( #54846 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-19 09:22:30 -07:00
J. Nick Koston
8103d9ae3c
Add missing id to yeelights that were setup manually ( #54855 )
2021-08-19 08:46:14 -05:00
Erik Montnemery
4903c1fbfd
Minor cleanup of SensorEntity ( #54624 )
2021-08-19 12:53:47 +02:00
Erik Montnemery
32a2c5d5db
Add support for Swedish smart electricity meters to DSMR ( #54630 )
...
* Add support for Swedish smart electricity meters to DSMR
* Use Swedish protocol support from dsmr_parser
* Update tests
* Bump dsmr_parser to 0.30
* Remove last_reset attribute from Swedish energy sensors
2021-08-19 10:11:20 +02:00
jan iversen
0688aaa2b6
Check for duplicate entity name/address in modbus entities ( #54669 )
...
* Check for duplicate entity name/address.
2021-08-19 09:37:31 +02:00
epenet
faec82ae8f
Add binary sensor platform to Renault integration ( #54750 )
...
* Add binary sensor platform
* Add tests
* Simplify code
* Adjust descriptions
* Adjust tests
* Make "fuel" tests more explicit
* Updates for device registry checks
2021-08-19 09:27:43 +02:00
Eric Severance
e7fa3e727b
Bump pywemo to 0.6.7 ( #54862 )
2021-08-19 08:38:52 +02:00
Robert Hillis
e11ffbcdaf
Rework goalzero for EntityDescription ( #54786 )
...
* Rework goalzero for EntityDescription
* changes
* fix
* lint
2021-08-19 04:24:44 +02:00
ehendrix23
d3f7312834
Improve MyQ code quality through creation of MyQ entity ( #54728 )
2021-08-18 20:50:46 -05:00
GitHub Action
4a9a6cd538
[ci skip] Translation update
2021-08-19 00:13:56 +00:00
J. Nick Koston
799a97789d
Drop tado codeowner ( #54849 )
...
- I no longer have any tado devices
2021-08-18 14:40:45 -07:00
Paulus Schoutsen
c75c4aeea5
Bump frontend to 20210818.0 ( #54851 )
2021-08-18 13:56:43 -07:00
Erik Montnemery
c74f9a8313
Remove stale references to last_reset ( #54838 )
...
* Remove stale references to last_reset
* Update tests
2021-08-18 21:47:57 +02:00
Daniel Hjelseth Høyer
98e8e89364
Mill data coordinator ( #53603 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-18 12:30:37 -07:00
Erik Montnemery
f9fa5fa804
Deprecate last_reset options in MQTT sensor ( #54840 )
2021-08-18 20:22:01 +02:00
Paulus Schoutsen
2f77b5025c
Add energy validation ( #54567 )
2021-08-18 11:21:51 -07:00
J. Nick Koston
6d0ce814e7
Add new network apis to reduce code duplication ( #54832 )
2021-08-18 12:33:26 -05:00
J. Nick Koston
30564d59b6
Bump yeelight quality scale to platinum with switch to async local push ( #54589 )
2021-08-18 12:32:52 -05:00
Raman Gupta
08193169d0
Remove unnecessary signal during zwave_js.reset_meter service call ( #54837 )
2021-08-18 19:27:41 +02:00
J. Nick Koston
e7a0604a40
Make yeelight discovery async ( #54711 )
2021-08-18 09:36:13 -07:00
Erik Montnemery
bca9360d52
Remove last_reset attribute from tasmota energy sensors ( #54836 )
2021-08-18 09:25:33 -07:00
J. Nick Koston
5d19575a84
Exclude global scope IPv6 when setting up zeroconf interfaces ( #54632 )
2021-08-18 09:00:09 -07:00
Thomas Lovén
8d37fd08c7
Fix integration sensors sometimes not getting device_class or unit_of_measurement ( #54802 )
2021-08-18 08:59:31 -07:00
Erik Montnemery
bce7c73925
Remove `last_reset` attribute from and set state class to `total_increasing` for enphase_envoy energy sensors ( #54831 )
2021-08-18 08:58:32 -07:00
rikroe
041ba2ec3a
Fix BMW remote services in rest_of_world & north_america ( #54726 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-08-18 08:58:07 -07:00
Raman Gupta
c1595d5ceb
Only show zwave_js command classes that are on the node ( #54794 )
2021-08-18 17:53:00 +02:00
Erik Montnemery
a6ac55390a
Remove `last_reset` attribute and set state class to `total_increasing` for smartthings energy sensors ( #54824 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-18 17:14:02 +02:00
Erik Montnemery
e98d50f6d1
Remove `last_reset` attribute and set state class to `total_increasing` for mysensors energy sensors ( #54827 )
2021-08-18 16:58:13 +02:00