1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-03 14:30:10 +00:00
Commit Graph

41050 Commits

Author SHA1 Message Date
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
Maciej Bieniek
7573adda7f Add Final type for all core constants (#50858)
* Add Final type for all constants

* Add Final for one missing const

* Suggested change
2021-05-19 19:31:38 +03:00
Franck Nijhof
ae561542c3 Merge pull request #50862 from home-assistant/rc 2021.5.5 2021-05-19 17:30:25 +02:00
Franck Nijhof
163d2788b6 Bumped version to 2021.5.5 2021-05-19 16:54:05 +02:00
Tobias Sauerwein
f141ed6977 Bump pyatmo to 4.2.3 (#50801)
* Bump pyatmo to 4.2.3

* Fix typo and update test fixture
2021-05-19 16:53:27 +02:00
jjlawren
7603bf8145 Bump pysonos to 0.0.47 (#50792) 2021-05-19 16:53:03 +02:00
Erik Montnemery
9a8317db1d Bump hatasmota to 0.2.13 (#50662)
* Bump hatasmota to 0.2.13

* Process review comment

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

* Tweak brightness compensation, improve tests

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-19 16:50:55 +02:00
jjlawren
b86cb7a072 Backport Sonos handle subscription failures (#50796) 2021-05-19 16:47:43 +02:00
jan iversen
892a2a0372 Push modbus switch to 100% test coverage (#50324)
push modbus switch to 100% test coverage.
2021-05-19 15:05:29 +02: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
Franck Nijhof
bcd022ff34 Upgrade freesms to 0.2.0 (#50853) 2021-05-19 12:48:00 +02:00
dependabot[bot]
d9a5e2cb68 Bump actions/stale from 3.0.18 to 3.0.19 (#50810)
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.18 to 3.0.19.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.18...v3.0.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 12:38:29 +02: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
dependabot[bot]
f14f7134b3 Bump home-assistant/wheels from 2021.05.3 to 2021.05.4 (#50809)
Bumps [home-assistant/wheels](https://github.com/home-assistant/wheels) from 2021.05.3 to 2021.05.4.
- [Release notes](https://github.com/home-assistant/wheels/releases)
- [Commits](https://github.com/home-assistant/wheels/compare/2021.05.3...2021.05.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 12:12:20 +03: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