1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-02 09:16:11 +00:00
Commit Graph

62409 Commits

Author SHA1 Message Date
Jan Bouwhuis
63459feede Return current state if template throws (#65534) 2022-02-03 16:46:36 +01:00
G Johansson
ca1e295662 Implement diagnostics for Sensibo (#65515) 2022-02-03 15:03:56 +01:00
Aaron Bach
82c4d344b2 Allow Flu Near You to re-attempt startup on error (#65481) 2022-02-03 14:31:15 +01:00
Eduard van Valkenburg
0ff93759d0 Fix SIA availability (#65509) 2022-02-03 14:29:12 +01:00
Aaron Bach
4946f271c9 Bump pytile to 2022.02.0 (#65482) 2022-02-03 14:26:30 +01:00
epenet
f95183f6a8 Make mypy IGNORED_MODULES file specific (#65416)
* Make mypy IGNORED_MODULES file specific

* Adjust sonos type hints

* Remove legacy nest from IGNORED_MODULES

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:21:06 +01:00
epenet
8234625d30 Use Domain not Platform on test service calls (#65508)
* Adjust atag

* adjust broadlink

* Adjust onewire

* Adjust plex

* Adjust renault

* Adjust tasmota

* Adjust zha

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:16:35 +01:00
G Johansson
3f57adf475 Code quality custom service for sensibo (#65496) 2022-02-03 14:11:53 +01:00
Erik Montnemery
63680f0b36 Make util.async_.protect_loop name names (#65493) 2022-02-03 14:06:40 +01:00
Franck Nijhof
3e0856ccac Fix missing windspeed in Tuya climate (#65511) 2022-02-03 14:00:03 +01:00
jjlawren
770707f487 Fix vanished checks on old Sonos firmware (#65477) 2022-02-03 13:22:34 +01:00
starkillerOG
69a004a2f6 Netgear coordinator (#65255)
* implement coordinator

* fix styling

* fix async_uload_entry

* use async_config_entry_first_refresh

* use const

* fix black

* use KEY_ROUTER

* review comments

* fix black

* ensure the coordinator keeps updating

* fix flake8

* rework setup of entities using coordinator

* styling

* check for failed get_info call

* fix

* fix setup of entities

* simplify

* do not set unique_id and device_info on scanner entity

* Update homeassistant/components/netgear/sensor.py

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

* Update homeassistant/components/netgear/device_tracker.py

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

* Update homeassistant/components/netgear/router.py

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

* use entry_id instead of unique_id

* unused import

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 12:28:04 +01:00
Marc Mueller
cd67ddbe26 Upgrade pwmled to 1.6.9 (#65465) 2022-02-03 12:16:53 +01:00
epenet
9fde84ab41 Remove freebox from mypy ignore list (#65126)
* Add type hints to freebox

* Remove freebox from mypy ignore list

* Adjust type hints

* Refactor FreeboxRouter setup/close

* Remove unnecessary assert

* Remove unused constant

* Rework unload routine

* Bring back close method

* Suppress NotOpenError

* Use async_on_unload on signal_device_new

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:01:41 +01:00
epenet
c8504bd21d Add tests for pylint plugins (#65436)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:01:02 +01:00
epenet
b587201654 Add update listener type hints to broadlink (#65413)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:00:30 +01:00
Erik Montnemery
23ee8adf59 Fix flaky homewizard test (#65490) 2022-02-03 09:23:32 +01:00
epenet
913d6f6ea1 Remove sonos media_player from strict typing (#65419)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 06:59:21 +01:00
epenet
8325188ed2 Remove nest legacy from mypy ignored modules (#65421)
* Remove nest legacy from mypy ignored modules

* Set type-ignore inside the files

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 06:57:44 +01:00
Erik Montnemery
f3a89de71f Fix race when handling updated MQTT discovery data (#65415) 2022-02-02 17:12:22 -08:00
Jeff Irion
4e7cf19b5f Bump androidtv to 0.0.62 (#65440) 2022-02-02 17:08:19 -08:00
Maciej Bieniek
32be5576dc Get wind speed unit from AccuWeather data (#65425) 2022-02-02 17:07:12 -08:00
Aaron Bach
7909cff957 Fix unknown alarm websocket event error for restored SimpliSafe connections (#65457) 2022-02-02 17:06:24 -08:00
Aaron Bach
75e5079df3 Catch correct error during OpenUV startup (#65459) 2022-02-02 17:05:40 -08:00
Jesse Hills
6e36bdb907 Expose ESPHome project information in device information (#65466) 2022-02-02 17:05:12 -08:00
epenet
340146e5fb Add update listener type hints to coinbase (#65414)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 01:25:51 +01:00
GitHub Action
256ad084c5 [ci skip] Translation update 2022-02-03 00:14:18 +00:00
Colin Robbins
83fa4df641 Fix Shodan sensor (#65443) 2022-02-02 20:44:16 +01:00
Franck Nijhof
2f638a6b5e Merge pull request #65442 from home-assistant/rc 2022.2.0 2022-02-02 19:44:34 +01:00
epenet
494ef2f9b2 Adjust config_entry UpdateListenerType signature (#65410)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-02 09:56:34 -08:00
Franck Nijhof
580573fcb3 Bumped version to 2022.2.0 2022-02-02 18:12:26 +01:00
Bram Kragten
8851af7dba Update frontend to 20220202.0 (#65432) 2022-02-02 18:11:28 +01:00
Erik Montnemery
ec2e450442 Stringify MQTT payload in mqtt/debug/info WS response (#65429) 2022-02-02 18:11:24 +01:00
Maikel Punie
dacf5957d2 Bump velbus-aio to 2022.2.1 (#65422) 2022-02-02 18:11:20 +01:00
Erik Montnemery
5190282b4d Don't warn on time.sleep injected by the debugger (#65420) 2022-02-02 18:11:16 +01:00
Josh Shoemaker
51c6cac74d Bump aladdin_connect to 0.4 to fix integration for some users due to API changes (#65407) 2022-02-02 18:11:11 +01:00
J. Nick Koston
1809489421 Ensure unifiprotect discovery can be ignored (#65406) 2022-02-02 18:11:07 +01:00
Tobias Sauerwein
81ad56b8ad Add events on cloud connect and disconnect (#65215)
* Add events on cloud connect and disconnect

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Use event capture helper

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Provide listener method instead of public event

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add test for disconnect notification

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

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

* Use Enum

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add module level api

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

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

* Clean up dead code

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Flake8

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-02 18:11:06 +01:00
J. Nick Koston
690764ec84 Bump lutron_caseta to 0.13.1 to fix setup when no button devices are present (#65400) 2022-02-02 18:11:03 +01:00
jjlawren
2b0e828736 Fix Sonos diagnostics with offline device (#65393)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-02 18:10:59 +01:00
Pierre Ståhl
91023cf132 Sort Apple TV app list by name (#65386) 2022-02-02 18:10:54 +01:00
Pierre Ståhl
fcd14e2830 Fix disconnect bug in Apple TV integration (#65385) 2022-02-02 18:10:49 +01:00
jjlawren
40a174cc70 Detect battery-operated Sonos devices going offline (#65382) 2022-02-02 18:10:44 +01:00
J. Nick Koston
95d4be375c Handle brightness being None for senseme (#65372) 2022-02-02 18:10:40 +01:00
Jan Bouwhuis
37f9c833c0 Fix MQTT expire_after effects after reloading (#65359)
* Cleanup sensor expire triggers after reload

* fix test binary_sensor

* Also trigger cleanup parent classes

* Restore an expiring state after a reload

* correct discovery_update

* restore expiring state with remaining time

* Update homeassistant/components/mqtt/binary_sensor.py

description

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Log remaining time

* Move check

* check and tests reload

* remove self.async_write_ha_state()

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-02 18:10:36 +01:00
Erik Montnemery
b902c59504 Report unmet dependencies for failing config flows (#65061)
* Report unmet dependencies for failing config flows

* Apply suggestions from code review

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

* Update homeassistant/setup.py

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

* Modify error message

* Add test

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-02 18:10:30 +01:00
Erik Montnemery
fda0fbd115 Stringify MQTT payload in mqtt/debug/info WS response (#65429) 2022-02-02 18:08:48 +01:00
Erik Montnemery
5a34feb7de Don't warn on time.sleep injected by the debugger (#65420) 2022-02-02 08:58:14 -08:00
Stefan Agner
c8e64358b1 Set last_reset for integrated entities in IoTaWatt (#65143)
* Set last_reset for integrated entities

For entities which integrate over time (like energy in watt hours) the
iotawattpy library uses the beginning of the year as start date by
default (using relative time specification "y", see [1]). Since
PR #56974 state class has been changed from TOTAL_INCREASING to TOTAL.
However, the relative start date of "y" causes the value to reset to
zero at the beginning of the year.

This fixes it by setting last_reset properly, which takes such resets
into account.

While at it, let's set the cycle to one day. This lowers the load on
IoTaWatt (fetching with start date beginning of the day seems to
response faster than beginning of the year).

[1]: https://docs.iotawatt.com/en/master/query.html#relative-time

* Update homeassistant/components/iotawatt/sensor.py
* Update homeassistant/components/iotawatt/coordinator.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-02 17:39:33 +01:00
J. Nick Koston
530fc8a9af Ensure unifiprotect discovery can be ignored (#65406) 2022-02-02 16:16:29 +01:00