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