PeteBa
aa9b99713c
Add purge_entities service call to recorder ( #48069 )
2021-05-22 10:30:05 -05:00
carstenschroeder
9f04c7ea23
Add Openweathermap cloud coverage forecast ( #50961 )
2021-05-22 16:54:47 +02:00
Michael
4a64f7a696
Add strict type annotations to tcp ( #50877 )
...
* add strict type annotations
* apply suggestions
* rename to TCP_PLATFORM_SCHEMA
* Replace DiscoveryInfoType
2021-05-22 15:45:18 +01:00
Franck Nijhof
560dd0a0cc
Typing improvements for TPLink ( #50947 )
...
* Typing improvements for TPLink
* Update homeassistant/components/tplink/common.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-22 13:47:26 +01:00
Maciej Bieniek
afb372a680
Add Final type for constants in sensor component ( #50955 )
2021-05-22 13:00:53 +01:00
jan iversen
59ae78e5f0
Add restore_state to modbus binary_sensor ( #50922 )
...
* Add restore_state to binary_sensor.
* Update return value in State.
2021-05-22 13:38:05 +02:00
Ruslan Sayfutdinov
016abda12e
Pylint plugin to check that relative imports are used ( #50937 )
...
* Pylint plugin to check that relative imports are used
* Fix existing sites
* Update description message
* Fix typo
2021-05-22 09:15:30 +01:00
Ruslan Sayfutdinov
b704f0e729
Add strict typing to device_tracker ( #50930 )
...
* Add strict typing to device_tracker
* Update homeassistant/components/device_tracker/legacy.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-22 09:15:15 +01:00
Michael
2e316f6fd5
Add strict type annotations to canary ( #50943 )
...
* Add strict type annotations
* Add missing futur import
* Apply suggestions
* Apply suggestions
2021-05-22 09:14:59 +01:00
Raman Gupta
92d1871de5
Fix flaky vizio test and add comments to explain logic ( #50948 )
2021-05-22 08:57:30 +02:00
GitHub Action
78be237447
[ci skip] Translation update
2021-05-22 00:12:02 +00:00
Ruslan Sayfutdinov
42ff687c32
Add missing type hints to websocket_api ( #50915 )
2021-05-21 09:39:18 -07:00
Erik Montnemery
dc65f279a7
Add support for state_class to MQTT sensor ( #50927 )
2021-05-21 17:37:26 +02:00
Shay Levy
6e087039f4
Add min/max/step to MQTT number ( #50869 )
2021-05-21 18:35:27 +03:00
Michael
8c5c8ed153
Add strict type annotations to fitbit ( #50740 )
...
* add strict type annotations
* cast json_load()
* apply suggestions
* move SCAN_INTERVAL back to platform file
* apply suggestion
* apply suggestion
* apply suggestions
* rename to PARENT_PLATFORM_SCHEMA
2021-05-21 13:33:54 +01:00
Martin Hjelmare
b4bb7c38ce
Fix zwave_js api typing ( #50923 )
2021-05-21 14:20:58 +02:00
Martin Hjelmare
07e2f53b37
Add zwave_js add-on info dataclass ( #50776 )
2021-05-21 13:47:37 +02:00
Erik Montnemery
0c40f37336
Set device_class and state_class for utility_meter ( #50921 )
...
* Set device_class and state_class for utility_meter
* Update test
* Tweak tests according to review comments
2021-05-21 13:23:20 +02:00
Ruslan Sayfutdinov
00208ff0d8
Use type safe import for device_tracker.PLATFORM_SCHEMA ( #50860 )
2021-05-21 13:08:40 +02:00
Erik Montnemery
73d7a754e8
Mark temperature sensors as STATE_CLASS_MEASUREMENT ( #50889 )
...
* Mark temperature sensors as STATE_CLASS_MEASUREMENT
* Fix broadlink tests
* Tweak Hue changes
2021-05-21 11:44:34 +02:00
Erik Montnemery
6f26687aa7
Compile statistics for battery, humidity and pressure sensors ( #50920 )
2021-05-21 10:48:11 +02:00
Vladimír Záhradník
c979101a02
Add Modbus fan integration ( #48558 )
...
* Add Modbus fan entity
* Update to PR.
* Pylint.
Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-05-21 09:56:47 +02:00
Vladimír Záhradník
80d172140f
Add Modbus light integration ( #42120 )
...
* Add Modbus Light and add unit tests
* Update to original PR.
* Review comments.
* Review 2.
Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-05-21 08:57:17 +02:00
J. Nick Koston
19aee19efd
Resolve race condition in powerview when discovered by zeroconf and dhcp ( #50908 )
...
Set the host in the context before checking to ensure
that the second discovery aborts. Seen when testing
on a very fast system only
2021-05-21 07:40:55 +02:00
J. Nick Koston
d9769900bb
Bump aiodiscover to 1.4.2 ( #50917 )
2021-05-21 07:27:52 +02:00
GitHub Action
25bf884156
[ci skip] Translation update
2021-05-21 00:12:09 +00:00
Matthias Alphart
3e1f51883e
Create KNX weather entity directly from config ( #49640 )
...
* create climate entities directly from config
* deprecate create_sensors
* move create staticmethod to module level
* add comment for deprecation date
2021-05-21 01:30:37 +02:00
Tobias Sauerwein
0623648309
Clean up Netatmo integration ( #50904 )
2021-05-20 19:28:21 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Ruslan Sayfutdinov
0e7409e617
Pylint plugin to check __init__ return type ( #50868 )
...
* Pylint plugin to check __init__ return type
* Support *args add **kwargs, type hints
* Use 'in' instead of 'any()'
* Fix last few places
2021-05-20 18:00:10 +01:00
Daniel Hjelseth Høyer
fd2e640c74
Use sensor constants in recorder ( #50906 )
...
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-05-20 18:23:00 +02:00
Shay Levy
cf228e3fe5
Add constructor return type in integrations A-D ( #50903 )
2021-05-20 18:51:39 +03:00
Michael
b1138b1aab
Add constructor return type in integrations E-K ( #50902 )
2021-05-20 18:47:30 +03:00
epenet
d7c0da90c5
Add support for DS2405 ( #50148 )
2021-05-20 17:02:25 +02:00
Michael
9eecd90afc
Add constructor return type in integrations T-Z ( #50899 )
2021-05-20 17:00:19 +02:00
jan iversen
c650deef98
Add base class for all modbus platforms ( #50878 )
...
* Add base for all platforms.
* Please pylint.
2021-05-20 16:56:11 +02:00
Maciej Bieniek
f212049fc2
Add constructor return type in integrations O-S ( #50896 )
2021-05-20 15:58:17 +02:00
Fredrik Tuomas
a65d3868cb
Add support for EDS0066 ( #50035 )
...
* Add support for EDS0066
* Added a test
* Corrected entity_ids
* Added missing part of sensor entity id
* Add type hint
* Update tests/components/onewire/const.py
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* Update tests/components/onewire/const.py
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* Revert "Update tests/components/onewire/const.py"
This reverts commit 4a01b89868
.
* Revert "Update tests/components/onewire/const.py"
This reverts commit 151eb9c0d3
.
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2021-05-20 15:39:34 +02:00
Klaas Schoute
61ef58aa16
bump garage_amsterdam lib to v2.0.5 ( #50891 )
2021-05-20 15:14:34 +02:00
Tobias Sauerwein
ceec871340
Make Netatmo use async pyatmo ( #49717 )
...
* Split initialization from data retrival
* Await class initialization
* Async camera
* More async
* Remove stale code
* Clean up
* Update tests
* Fix test
* Improve error handling
* Bump pyatmo version to 5.0.0
* Add tests
* Add cloudhook test
* Increase coverage
* Add test with no camera devices
* Add test for ApiError
* Add test for timeout
* Clean up
* Catch pyatmo ApiError
* Fix PublicData
* Fix media source bug
* Increase coverage for light
* Test webhook with delayed start
* Increase coverage
* Clean up leftover data classes
* Make nonprivate
* Review comments
* Clean up stale code
* Increase cov
* Clean up code
* Code clean up
* Revert delay
* Update homeassistant/components/netatmo/climate.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netatmo/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Address comment
* Raise cov
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-20 14:59:19 +02:00
Maciej Bieniek
e06a2a53c4
Add constructor return type in integrations L-N ( #50888 )
...
* Add constructor return type in integrations L-N
* Small fix
2021-05-20 13:06:44 +01:00
Artem Draft
f3db819548
Add play_media channel support to LG Netcast ( #49527 )
2021-05-20 14:03:27 +02:00
Erik Montnemery
e16a8063a5
Compile statistics for energy sensors ( #50829 )
...
* Compile statistics for energy sensors
* Update tests
* Rename abs_value to state
* Tweak
* Recreate statistics table
* Pylint
* Try to fix test
* Fix statistics for multiple energy sensors
* Fix energy statistics when last_reset is not set
2021-05-20 13:05:15 +02:00
Maciej Bieniek
aaae4cfc8f
Use constants with TypedDict in Nettigo Air Monitor integration ( #50883 )
...
* Use constants with TypedDict
* Sensor names as consts
2021-05-20 11:38:46 +01:00
Matthias Alphart
be6a1bf096
Create KNX climate entity directly from config ( #49638 )
...
* create climate entities directly from config
* deprecate create_temperature_sensors
* move create staticmethod to module level
* use get() fro optional CONF_SETPOINT_SHIFT_MODE
* Fix deprecated version comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-20 12:23:41 +02:00
Maciej Bieniek
953e6ebe62
Use constants with TypedDict ( #50880 )
2021-05-20 10:36:23 +01:00
Maciej Bieniek
3bdefc5da7
Use constants with TypedDict ( #50879 )
2021-05-20 10:34:32 +01:00
Maciej Bieniek
ccd8e1332c
Address late review comments for AccuWeather integration ( #50866 )
...
* Remove unnecessary converting datetime to str
* Address late comments
2021-05-20 09:29:10 +02:00
Erik Montnemery
d4d335fb9c
Fix MQTT debug info for removed triggers ( #50859 )
2021-05-20 10:27:38 +03:00
Martin
623baa7964
Fix zamg station check ( #49367 )
2021-05-20 09:25:31 +02:00
Paulus Schoutsen
2976bbbbdd
Store Hue bridge in hass.data before setting up platforms ( #50703 )
...
* Store bridge in hass.data before setting up platforms
* Self
2021-05-20 09:08:23 +02:00
Felipe Martins Diel
7350942e9e
Implement heartbeat in the Broadlink integration ( #43878 )
...
* Implement heartbeat in the Broadlink integration
* Rename INTERVAL to HEARTBEAT_INTERVAL
* Test that we log an error message when the heartbeat fails
2021-05-20 08:10:13 +02:00
GitHub Action
a021fe301c
[ci skip] Translation update
2021-05-20 00:11:53 +00:00
shbatm
a49d5c4266
Add ISY994 System Health Info ( #50840 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-19 19:10:09 -05:00
shbatm
cdf18bd4b1
Add Z-Wave Parameter and Node Rename Services to ISY994 ( #50844 )
2021-05-19 19:08:35 -05:00
Franck Nijhof
f44efb1eea
Upgrade watchdog to 2.1.2 ( #50863 )
2021-05-20 00:12:27 +02:00
Franck Nijhof
ab9aa4466e
Fix SolarEdge active check on entry setup ( #50873 )
2021-05-19 23:15:00 +02:00
Charles Garwood
9f754f1643
bump envoy_reader to 0.19.0 ( #50827 )
2021-05-19 22:30:31 +02:00
Erik Montnemery
5ee362bc34
Store sensor last_reset attribute as a string, not a datetime ( #50851 )
...
* Store last_reset attribute as a string, not a datetime
* Update tests
2021-05-19 12:28:00 -07:00
Michael Klamminger
7c7432a582
Add entity_id to mqtt sensor templates ( #50773 )
...
* Add entity_id to mqtt sensor
* update test comment
2021-05-19 14:38:18 +02:00
Shay Levy
109b08bb57
Remove MQTT cover deprecated options ( #50263 )
...
* Remove MQTT cover deprecated options
* Fix pylint
2021-05-19 14:34:20 +02:00
Maciej Bieniek
f192702648
Add Nettigo Air Monitor uptime sensor ( #50834 )
2021-05-19 13:20:11 +02:00
Shay Levy
c4ced2b351
Bump aioshelly to 0.6.3 ( #50857 )
2021-05-19 13:53:26 +03:00
RogerSelwyn
456c600617
Correct positioning of except statement in speedtestdotnet ( #50852 )
2021-05-19 11:43:41 +02:00
David Bonnes
28e9b9e01d
Add evohome water_heater service calls, bump client to 0.3.15 ( #50803 )
2021-05-19 11:41:20 +02:00
jan iversen
b7fc537cd5
Remove non pymodbus_call from modbus.py. ( #50813 )
2021-05-19 11:39:53 +02:00
Maciej Bieniek
bce5f8ee05
Improve AccuWeather type annotations ( #50616 )
...
* Improve type annotations
* Remove unused argument
* Simplify state logic
* Fix uvindex state
* Fix type for logger
* Increase tests coverage
* Fix pylint arguments-differ error
* Suggested change
* Suggested change
* Remove unnecessary variable
* Remove unnecessary conditions
* Use int instead of list for forecast days
* Add enabled to sensor types dicts
* Fix request_remaining conversion and tests
* Run hassfest
* Suggested change
* Suggested change
* Do not use StateType
2021-05-19 09:37:16 +01:00
Ruslan Sayfutdinov
62386c8676
Enable type checks for device_tracker ( #50805 )
...
* Enable type checks for device_tracker
* Fix MQTT test
2021-05-19 09:36:26 +01:00
jan iversen
4c7fcae536
Small bug fixes in modbus due to async ( #50812 )
...
* Small bug fixes due to async.
* _available is true in turn_on/turn_off
* Remove double update.
* Set _available.
2021-05-19 10:13:48 +02:00
Franck Nijhof
ebe1059c34
Move SolarEdge API init and add unload ( #50823 )
...
* SolarEdge: Move API init, add unload
* Slim down try-except block
2021-05-19 10:09:47 +02:00
Tobias Sauerwein
3ed416ed4c
Bump pyatmo to 4.2.3 ( #50801 )
...
* Bump pyatmo to 4.2.3
* Fix typo and update test fixture
2021-05-19 08:47:06 +02:00
Ville Skyttä
a2363f0243
Upgrade huawei-lte-api to 1.4.18 ( #50828 )
...
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.18
Closes https://github.com/home-assistant/core/issues/50777
2021-05-19 08:24:04 +02:00
J. Nick Koston
f1d02bb137
Expand homekit zeroconf matching to use fnmatch ( #50381 )
2021-05-19 00:20:56 -05:00
J. Nick Koston
e37256570c
Add missing return type in zeroconf ( #50847 )
2021-05-18 22:49:10 -05:00
Maciej Bieniek
a58eae1bf1
Bump brother library version ( #50833 )
2021-05-18 22:32:11 -05:00
jjlawren
ab86c7a135
Clean up Sonos resubscription failure logic and logging ( #50831 )
2021-05-18 22:15:16 -05:00
jjlawren
3d5b354def
Bump pysonos to 0.0.49 ( #50841 )
2021-05-18 20:31:38 -05:00
RogerSelwyn
26a99df0ea
Capture error when speedtest module fails to identify best server ( #50821 )
...
* Capture error when speediest module fails to identify best server
* Fix pylint error
* Fix formatting with black.
Co-authored-by: Rohan Kapoor <rohan@rohankapoor.com>
2021-05-18 17:33:37 -07:00
GitHub Action
0a49de75d9
[ci skip] Translation update
2021-05-19 00:11:31 +00:00
Paulus Schoutsen
c890966ce4
Updated frontend to 20210518.0 ( #50842 )
2021-05-18 15:54:14 -07:00
Michael
2cd2e46d73
Disable AVM FRITZ!Box Tools device_tracker entities by default ( #50791 )
2021-05-18 22:16:49 +02:00
shbatm
775af9d2c5
Update PyISY to v3.0.0 and ISY994 to use Async IO ( #50806 )
2021-05-18 14:15:47 -05:00
Aaron David Schneider
1d174a1f6f
Bump pysonos to 0.0.48 ( #50798 )
2021-05-18 08:40:51 +02:00
Jan Bouwhuis
9abf43f95f
Mqtt fan feature for resetting current speed `percentage` or `preset_mode` ( #50565 )
...
* Mqtt fan resetting speed percentage or preset_mode
* tests reset payload is working with val templates
* Remove duplicate line for CONF_PAYLOAD_HIGH_SPEED
2021-05-18 08:24:42 +02:00
J. Nick Koston
3cc3cacd08
Start ServiceBrowser as soon as possible in zeroconf ( #50784 )
...
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-05-17 20:51:05 -07:00
Shay Levy
7a60d0eae4
Enable back free-mobile ( #50802 )
2021-05-17 20:41:56 -07:00
Dermot Duffy
2e1037005c
Allow camera stream to fail safely ( #50728 )
2021-05-17 20:34:25 -07:00
GitHub Action
1f80defe3a
[ci skip] Translation update
2021-05-18 00:12:13 +00:00
Paulus Schoutsen
781524ee36
Updated frontend to 20210517.0 ( #50804 )
2021-05-17 16:54:06 -07:00
jjlawren
8129db1cfe
Handle Sonos subscription renewal failures ( #50793 )
2021-05-17 17:26:48 -05:00
Erik Montnemery
9e681cd214
Refactor MQTT basic light pt5: Add RGB color helpers ( #50780 )
...
* Refactor MQTT basic light pt5: Add RGB color helpers
* Revert change of rounding instead of truncating RGB
2021-05-17 23:50:12 +02:00
J. Nick Koston
e7f7e61e88
Ensure a wal checkpoint is scheduled nightly ( #50746 )
2021-05-17 16:27:51 -05:00
jjlawren
b1ff9dc45e
Bump pysonos to 0.0.47 ( #50792 )
2021-05-17 16:06:13 -05:00
G Johansson
6f7ae3727b
Bump yalesmartalarmclient to 0.3.3 ( #50613 )
2021-05-17 22:39:56 +02:00
jan iversen
ba827db8ec
Update remaining modbus platforms to use pymodbus_call ( #50768 )
2021-05-17 22:12:18 +02:00
Paulus Schoutsen
1e10772497
Add support for local push channels to mobile_app ( #50750 )
2021-05-17 11:06:42 -07:00
J. Nick Koston
72288710ca
Increase the sqlite cache size from ~2MiB to 8MiB ( #50747 )
2021-05-17 19:42:12 +02:00
Michael Klamminger
3554316f3f
Update MQTT cover template handling ( #50236 )
...
* flake 8
* Implement feedback from PR
* update warning message
* added and updated tests
* remove _has_tilt_topic variable
* flake 8
* Implement feedback from PR
* update warning message
* added and updated tests
* remove _has_tilt_topic variable
* renamed _tilt_message_received to _tilt_payload_received
* merged with latesed upstream/dev
* converted if to try except for type check
* Implemented the suggestions of @emontnemery
* Tweak tests
* logger info to debug
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* cast tilt payload as int; combine exceptions to one line
* Add test for JSONDecodeError
* Update homeassistant/components/mqtt/cover.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-17 19:31:11 +02:00
Ruslan Sayfutdinov
72dfa8606e
Enable strict typing for air_quality component ( #50722 )
2021-05-17 08:20:05 -07:00
Paulus Schoutsen
56774a9f63
Hue: unique ID for groups + remote events ( #50748 )
2021-05-17 08:07:25 -07:00
Erik Montnemery
848ab5c2bc
Deduplicate code in MQTT basic light pt4: Add set_optimistic helper ( #50774 )
2021-05-17 16:28:30 +02:00
Matthias Alphart
ac6d99d434
Create KNX binary_sensor entities directly from config ( #50708 )
2021-05-17 15:33:09 +02:00
Franck Nijhof
9afa7df3c1
Upgrade apprise to 0.9.3 ( #50769 )
2021-05-17 15:06:36 +02:00
Erik Montnemery
8c6f4a8c71
Refactor MQTT basic light pt3: Add publish helper ( #50767 )
2021-05-17 14:54:19 +02:00
Erik Montnemery
b36021b4fd
Deduplicate code in MQTT basic light pt2: Add restore_state helper ( #50766 )
...
* Refactor MQTT basic light pt2: Add restore_state helper
* Update homeassistant/components/mqtt/light/schema_basic.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-17 14:53:48 +02:00
Martin Hjelmare
add594a44b
Clean up smhi redundant code ( #50765 )
2021-05-17 14:34:58 +02:00
jan iversen
6b34ba012c
Fix missing await in modbus platforms (followup on async PR) ( #50710 )
2021-05-17 14:20:51 +02:00
Maciej Bieniek
97559087b5
Allow some failures before setting Xiaomi Miio MIOT air purifiers unavailable ( #50755 )
2021-05-17 14:13:01 +02:00
nikito7
0fac3ccebc
Change Modbus error message to bytes ( #50725 )
2021-05-17 14:12:17 +02:00
Michael
df6862a519
Add strict type annotations to amazon_polly ( #50697 )
...
* add strict type annotations
* apply suggestions
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-17 14:09:52 +02:00
Simone Chemelli
9e86602950
Fix strings for UPNP ( #50762 )
2021-05-17 14:07:01 +02:00
Franck Nijhof
eccefd154a
Extend targets for entity component services ( #50760 )
2021-05-17 14:06:50 +02:00
Erik Montnemery
ee4e14e45e
Hoist ATTR_LAST_RESET from utility_meter to SensorEntity ( #50757 )
2021-05-17 13:51:09 +02:00
Austin Mroczek
a9c73ac264
Fix armed_night logic in totalconnect alarm and add tests ( #50694 )
...
* Fix armed_night, add tests for alarm
* end assertions with expected values
2021-05-17 13:18:50 +02:00
Erik Montnemery
3ab14d452c
Refactor MQTT basic light pt1: Add add_topic helper ( #50759 )
2021-05-17 12:50:54 +02:00
Franck Nijhof
74c20cdaa1
Upgrade geopy to 2.1.0 ( #50714 )
2021-05-17 12:26:44 +02:00
CantankerousBullMoose
9316f566c9
Rescan static wemo ( #49934 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-17 12:18:14 +02:00
Matthias Alphart
1c7242a37a
Create KNX cover entities directly from config ( #50707 )
2021-05-17 12:17:19 +02:00
Franck Nijhof
9ee3b77135
Remove discovery from iCloud ( #50751 )
2021-05-17 12:14:54 +02:00
jan iversen
ff856a9bba
Simplify calls to pymodbus ( #50717 )
...
* simplify pymodbus_call.
Do not call with a function object and a check attribute, call instead
with CALL_TYPE*.
Avoid if <type> call x else call y.
Call async_pymodbus_call directly, instead of unpacking/packing.
* Declare call type in __init__.
* Modbus.py back to 100% test coverage.
2021-05-17 11:20:12 +02:00
Matthias Alphart
7b18860dcd
Update xknx to version 0.18.2 ( #50491 )
...
* xknx 0.18.2
* individual colors without switch
* make `setpoint_shift_mode` optional
* Update homeassistant/components/knx/schema.py
2021-05-17 11:18:13 +02:00
Michael
f9c7474a78
Add strict type annotations to ampio ( #50699 )
2021-05-17 11:14:47 +02:00
mountainsandcode
2d29959a52
Add control of hardware buttons to Sonos ( #49977 )
2021-05-17 11:12:01 +02:00
Álvaro Fernández Rojas
4357d2dc84
Update AEMET library to latest version ( #50222 )
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-05-17 11:07:53 +02:00
Franck Nijhof
059e7c925d
Remove side effects from Watson TTS init ( #50716 )
2021-05-17 10:46:58 +02:00
Franck Nijhof
a414cad3b2
Upgrade aiodns to 3.0.0 ( #50712 )
2021-05-17 10:46:37 +02:00
David Nielsen
636528dd2e
Update bravia-tv to 1.0.11 ( #50726 )
2021-05-17 09:37:13 +02:00
Paulus Schoutsen
5ea2dd8ce3
Alexa: Set Equalizer property to retrievable ( #50730 )
2021-05-17 09:26:37 +02:00
Kevin Eifinger
663c0374ab
Add full typing to kraken ( #50718 )
...
* Add full typing to kraken
* Let device_info return DeviceInfo
* Replace unsub_listeners with entry.async_on_unload
* Raise TypeError on end of _try_get_state
* Assert Coordinator is not none
* Add class SensorType
* Add strict typing to kraken
* Add changes from code review
* Revert typed dict creation
2021-05-17 10:12:04 +03:00
Michael
120bf8aed7
fix annotation in actiontec ( #50727 )
2021-05-17 09:28:22 +03:00
Paulus Schoutsen
1b74359ddb
Disable free-mobile because requirement breaks setuptools ( #50749 )
2021-05-17 08:12:23 +02:00
GitHub Action
877cb43c06
[ci skip] Translation update
2021-05-17 05:17:18 +00:00
starkillerOG
db7331847f
AlexaEqualizerController fix wrong class beeing used ( #50724 )
2021-05-16 20:49:48 -07:00
Michael
22d8f9519e
Fix configflow strings for step user in fritz ( #50742 )
2021-05-16 20:49:31 -07:00
Matthias Alphart
05c6f3ca1d
Create KNX light entities directly from config ( #50700 )
...
* create light entities directly from config
* review changes
2021-05-16 22:45:28 +02:00
Erik Montnemery
89dd3292ba
Initial draft of statistics ( #49852 )
2021-05-16 10:23:37 -07:00
Matthias Alphart
3200b0150a
Create KNX notify entities directly from config ( #50709 )
2021-05-16 12:07:44 +02:00
Mickaël Le Baillif
c2e2b046d9
Add new voices for Watson TTS ( #48722 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-16 11:12:05 +02:00
jjlawren
b84cf915f3
Centralize storage and updating of Sonos favorites ( #50581 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-16 11:11:35 +02:00
jan iversen
224cc779c4
Correct Modbus platform cover restore state ( #50421 )
...
* Correct cover restore state.
* Change mock usage.
* Add states to convert.
2021-05-16 08:40:19 +02:00
Matthias Alphart
1e11bfae05
Create KNX fan entities directly from config ( #50702 )
2021-05-16 08:34:14 +02:00
Dror Eiger
0556c35e24
Set zwave_js cover device_class for shutters and blinds ( #50643 )
...
* Set device_class for shutters and blinds
* Add missing. imports
* Add tests for device class setting
* Clean up
* Avoid storing the node in an unused variable
* Fix entity name
* Extend qubino shutter discovery
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-16 08:26:16 +02:00
Matthias Alphart
222336a1db
Create KNX scene entities directly from config ( #50686 )
2021-05-16 08:14:28 +02:00
Andre Lengwenus
a92acdb528
Fix selectors and defaults in LCN service.yaml ( #50705 )
2021-05-16 08:06:28 +02:00
Zac West
b8713774c8
Make confirmable notification blueprint use unique actions ( #50706 )
2021-05-15 22:50:24 -07:00
Michael
edccb7eb58
Add strict type annotations to actiontect ( #50672 )
...
* add strict type annotations
* fix pylint, add coverage omit
* apply suggestions
* fix rebase conflict
* import PLATFORM_SCHEMA as BASE_PLATFORM_SCHEMA
* correct get_device_name() return annotation
2021-05-16 00:59:57 +03:00
Kevin Eifinger
256a2de7ce
Add kraken code review changes ( #50683 )
2021-05-15 22:55:50 +02:00
Michael
7f6b8bbd1e
Add strict type annotations to aladdin_connect ( #50693 )
...
* add strict type annotations
* add missing return type annotation
2021-05-15 23:53:42 +03:00
Michael
bc006c9ecc
Add strict type annotations to aftership ( #50692 )
...
* add strict type annotations
* import PLATFORM_SCHEMA as BASE_PLATFORM_SCHEMA
* bring needed return back
2021-05-15 23:53:10 +03:00
Simone Chemelli
8bc75e91a0
Add color effect to Shelly's color devices ( #48052 )
...
* Add color effect
* Final commit based on updated firmware
* Update homeassistant/components/shelly/light.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/shelly/light.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/shelly/light.py
* Fix flake
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-15 22:43:06 +03:00