Commit Graph

33588 Commits (6e5ae3e2e444d985218e3fed89f1c26e779e6dba)

Author SHA1 Message Date
Franck Nijhof 34a636ef0b
Extract Plugwise DataUpdateCoordinator into module (#65915) 2022-02-06 19:03:50 +02:00
Franck Nijhof 92856bab56
Add mbd Tuya light support (#65918) 2022-02-06 17:55:03 +01:00
Matthias Alphart e54c89dc0d
Update xknx to 0.19.2 - fix TCP tunnelling (#65920) 2022-02-06 17:48:56 +01:00
Franck Nijhof 62a314015c
BinarySensorEntityDescriptions for Plugwise (#65887) 2022-02-06 17:25:55 +01:00
J. Nick Koston 540f1c19d5
Fix Task exception was never retrieved when WiZ devices are offline (#65844) 2022-02-06 17:13:51 +01:00
ollo69 13699baa4d
Remove deprecated yaml config from AsusWRT (#65904) 2022-02-06 17:03:04 +02:00
Franck Nijhof a0895f1bf2
Small cleanup in Plugwise switch (#65845) 2022-02-06 10:51:50 +01:00
ollo69 1c8a34c349
Clean-up AsusWRT setup entry (#65860) 2022-02-06 10:35:49 +02:00
Jeef 72601ccf32
feat: bumped version (#65863) 2022-02-06 10:32:04 +02:00
J. Nick Koston 66c9b95da8
Fix flash at turn on with newer 0x04 Magic Home models (#65836) 2022-02-05 22:49:37 -06:00
Chris Talkington 15e5f516d2
Update rokuecp to 0.13.1 (#65814) 2022-02-05 22:17:31 -06:00
GitHub Action 2da4d280b2 [ci skip] Translation update 2022-02-06 00:17:31 +00:00
starkillerOG 1269483923
Remove port from description (#65851) 2022-02-06 02:00:42 +02:00
Brett Adams f4eb7e31a4
Bump Advantage Air to 0.2.6 (#65849) 2022-02-06 01:49:26 +02:00
Franck Nijhof 131dbd6c8e
Move Plugwise logger into constants (#65842) 2022-02-06 01:43:05 +02:00
Franck Nijhof a6e36a6eb9
Simplify unique ID handling in Plugwise (#65839) 2022-02-05 23:59:37 +01:00
Aidan Timson acb7e24852
Reduce System Bridge load on server (#65794) 2022-02-05 22:56:36 +01:00
J. Nick Koston 9dc158f5e0
Add support for picking discovered devices to WiZ (#65826)
* Add support for picking discovered devices

- Also fixes state not being written initially (it was not so
  obvious since the next coordinator update wrote it)

* store it

* store it

* order

* fixes

* more cleanups

* hints

* naming

* merge branches
2022-02-05 22:23:31 +01:00
Franck Nijhof b299f80feb
Improve entry setup error logging for Plugwise (#65830) 2022-02-05 21:23:25 +01:00
dougiteixeira 52d7ca6b1c
Complementing the Tuya Humidifier (jsq) category (#65276)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 20:31:20 +01:00
Franck Nijhof 87049283c1
Extract base entity class in Plugwise (#65821) 2022-02-05 19:09:37 +01:00
Franck Nijhof b0bb2d2453
Cleanup Plugwise config flow and tests (#65818) 2022-02-05 19:07:02 +01:00
J. Nick Koston 5621e20963
WiZ Cleanups part 3 (#65819)
* WiZ Cleanups part 3

- Sockets are now using the switch platform

* tweaks

* remove rgb colorcheck

* tweaks

* tweaks

* cover

* cover
2022-02-05 18:56:17 +01:00
Hans Oischinger f171ec4676
Add missing vicare state class (#65795) 2022-02-05 18:17:09 +01:00
J. Nick Koston adbc0e5955
Prevent multiple dhcp flows from being started for the same device/domain (#65753) 2022-02-05 10:59:22 -06:00
J. Nick Koston 2bcd4f8f93
Add discovery support to WiZ Part 1 (#65752) 2022-02-05 10:36:44 -06:00
Ferdinand 854d56fc6d
Fix the restart when the saj device is down (#65796) 2022-02-05 17:12:17 +01:00
Franck Nijhof 00e8d2bc3d
Small cleanup in Plugwise climate (#65800) 2022-02-05 17:09:49 +01:00
David McClosky df0e98f428
Remove dmcc from codeowners in vlc_telnet (#65810) 2022-02-05 17:01:39 +01:00
Franck Nijhof 5c6d019d6b
Remove options flow from Plugwise (#65808) 2022-02-05 16:46:50 +01:00
Shay Levy ae3b337d3e
Bump aioshelly to 1.0.9 (#65803) 2022-02-05 16:44:05 +01:00
J. Nick Koston 342f5182b9
WiZ cleanups part 1 (#65746)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 09:23:19 -06:00
Hans Oischinger 99fd16d675
Clean up vicare code (#65774)
* Clean up vicare code

Remove constants that were only used once
Remove _build_entity and use constructor directly

* Fix copy/paste issue
2022-02-05 14:26:44 +01:00
Franck Nijhof 9f8c0685e3
Small cleanup in Plugwise sensors (#65765) 2022-02-05 14:20:07 +01:00
Franck Nijhof fa09cf663e
Update black to 22.1.0 (#65788) 2022-02-05 14:19:37 +01:00
Franck Nijhof 58409d0895
Update Pillow to 9.0.1 (#65779) 2022-02-05 14:19:24 +01:00
Franck Nijhof 6cf0d9d37a
Update sentry-dsk to 1.5.4 (#65792) 2022-02-05 14:14:31 +01:00
Lars 3373b73329
Update pyfritzhome to 0.6.4 (#65777) 2022-02-05 14:10:07 +01:00
Franck Nijhof e386f4846d
Update delijn to 1.0.0 (#65776)
* Update delijn to 1.0.0

* -1
2022-02-05 13:31:04 +01:00
Franck Nijhof efd7b2a978
Update apprise to 0.9.7 (#65780) 2022-02-05 13:28:32 +01:00
Patrik Lindgren daedbbb1ee
Bump pytradfri to 9.0.0 (#65784)
* Bump pytradfri to 8.1.0

* Bump to 9.0.0

* Bump manifest
2022-02-05 13:25:50 +01:00
G Johansson 54e1e905b1
Add capabilities to sensibo coordinator data (#65775) 2022-02-05 13:00:56 +01:00
G Johansson 07edbc42a4
Bugfix temp step list out of range sensibo (#65782) 2022-02-05 12:53:27 +01:00
Franck Nijhof 5613a80d28
Add Heater (rs) support Tuya Climate (#65707) 2022-02-05 12:09:29 +01:00
Aidan Timson b1bf9b50d8
Fix OVO Energy NoneType error occurring for some users (#65714) 2022-02-05 11:46:52 +01:00
dougiteixeira bf0816d4c6
Add current temperature sensor for Tuya Fan (fs) (#65744) 2022-02-05 11:19:29 +01:00
Franck Nijhof 6871271e73
Small cleanup in Plugwise binary sensors (#65738) 2022-02-04 23:44:31 -08:00
Franck Nijhof 313387fda5
Remove deprecated GNTP integration (#65741) 2022-02-04 23:42:57 -08:00
Franck Nijhof e242796394
Remove deprecated format for date(time) sensors (#65734) 2022-02-04 23:42:29 -08:00
Aaron Bach fbe4d42729
Remove unnecessary `TYPE_CHECKING` declarations in SimpliSafe (#65750) 2022-02-04 23:41:40 -08:00
Aaron Bach 3387e8368b
Add redacted subscription data to SimpliSafe diagnostics (#65751) 2022-02-04 23:41:12 -08:00
Aaron Bach b9b53bef00
Bump simplisafe-python to 2022.02.0 (#65748) 2022-02-04 23:39:01 -08:00
Paulus Schoutsen d753f4a2e7
Fix UPNP access to SSDP info (#65728) 2022-02-04 21:33:53 -08:00
dougiteixeira 92842b796b
Complementing the Tuya Air Purifier (kj) category (#65283)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 03:19:00 +01:00
Stephan Traub 432d9a8f19
Introduce wiz integration for the WiZ Platform (#44779)
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jan Stienstra <65826735+j-stienstra@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-04 16:20:21 -08:00
GitHub Action d8830aa4e0 [ci skip] Translation update 2022-02-05 00:12:01 +00:00
Paulus Schoutsen 5da923c341
Protect state.as_dict from mutation (#65693) 2022-02-04 14:45:25 -08:00
Duco Sebel 0d3bbfc9a7
Fix `homewizard_energy` migration issues from #65594 (#65718) 2022-02-04 14:45:06 -08:00
Franck Nijhof 2370dda1f0
Depend on diagnostics in the frontend (#65710) 2022-02-04 11:47:01 -08:00
jjlawren 40857bda90
Use SSDP byebye to mark Sonos as offline (#65686) 2022-02-04 11:41:24 -08:00
ollo69 bebf5009d6
Add diagnostics support for Asuswrt (#65605)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-02-04 11:40:29 -08:00
Erik Montnemery 1f8e8926fe
Only remove duplicated statistics on error (#65653) 2022-02-04 11:31:12 -08:00
Jeff Irion fe05d6680c
Bump androidtv to 0.0.63 (fix MAC issues) (#65615) 2022-02-04 20:13:08 +01:00
Paulus Schoutsen d279211f0c
Fix tuya diagnostics mutating cached state objects (#65708) 2022-02-04 20:11:21 +01:00
Paulus Schoutsen 8574ee04ba
Fix passing a string to device registry disabled_by (#65701) 2022-02-04 10:55:45 -08:00
Erik Montnemery 020953e943
Improve recorder migration for PostgreSQL when columns already exist (#65680) 2022-02-04 10:55:28 -08:00
Paulus Schoutsen 2a8797ae3f
Move scene and button restore to internal hook (#65696) 2022-02-04 10:43:06 -08:00
Joakim Sørensen 8021b05448
Allow selecting own repositories (#65695) 2022-02-04 19:33:10 +01:00
Erik Montnemery 41ab12cb88
Don't use shared session during recorder migration (#65672) 2022-02-04 09:55:11 -08:00
jkuettner 42024c1ed3
Fix "vevent" KeyError in caldav component again (#65685)
* Fix "vevent" KeyError in caldav component again

* code formatting
2022-02-04 18:47:31 +01:00
starkillerOG 5519888dc1
Netgear add traffic sensors (#65645)
* add sensors

* use entity discription

* use lambda functions

* use seperate coordinators

* styling

* revieuw comments

* set proper default

* move api lock

* fix styling

* Update homeassistant/components/netgear/sensor.py

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

* Update homeassistant/components/netgear/sensor.py

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

* use coordinator data

* fix styling

* fix typing

* move typing

* fix lock

* Update homeassistant/components/netgear/sensor.py

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

* Update homeassistant/components/netgear/sensor.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-04 18:36:56 +01:00
Duco Sebel a97e69196c
Add migration to migrate 'homewizard_energy' to 'homewizard' (#65594) 2022-02-04 09:12:35 -08:00
Erik Montnemery 8245ff7473
Log transmitted MQTT messages (#65550) 2022-02-04 17:35:32 +01:00
epenet a95988c970
Bump renault-api to 0.1.8 (#65670)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-04 16:30:57 +01:00
Erik Montnemery ac7662c82d
Remove limit of amount of duplicated statistics (#65641) 2022-02-04 14:49:45 +01:00
Maikel Punie 2e594b5025
Bump velbusaio to 2022.2.2 (#65657) 2022-02-04 13:51:04 +01:00
Robert Svensson 96c4e33b24
Parametrize deCONZ binary sensors (#65012)
* Improve test coverage prior to improving deCONZ binary sensor platform

* Define all relevant binary sensors as DeconzBinarySensorDescription

* Fix review comment

* Allow providing extra update keys if sensor provides extra attributes

* Minor touch up of naming

* Remove duplicate assert
2022-02-04 12:58:07 +01:00
Franck Nijhof b7007b364a
Add TRV (`wkf`) support to Tuya (#65649) 2022-02-04 12:34:15 +01:00
Stefan Agner 320df10a26
Use _attr_last_reset to set last_reset (#65648) 2022-02-04 11:40:38 +01:00
alexanv1 98a7125933
Fix Z-Wave lights (#65638)
* Fix Z-Wave lights

* Update tests
2022-02-04 10:50:24 +01:00
Thomas Schamm ff6969a255
Bumped boschshcpy 0.2.28 to 0.2.29 (#65328) 2022-02-04 09:51:34 +01:00
Paulus Schoutsen bc41028800
Some tweaks to the demo (#65623)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-04 09:49:47 +01:00
Paulus Schoutsen 777eba3bab
Bump homematicip to 1.0.2 (#65620) 2022-02-04 09:18:10 +01:00
J. Nick Koston 7ab4214553
Bump flux_led to 0.28.20 (#65621) 2022-02-04 09:12:29 +01:00
Timo S d6693cdff9
Add fritz set guest wifi password service (#62892)
* Add a new service set_guest_wifi_password to the fritz integration.

* Remove unnecessary params defaults

* Remove default password length

* Add service schema, cleanup code

* Fix min password length in services.yaml

* Move schema to `services.py`, add typing

* Add default password length from upstream lib

* Remove None typing

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-02-04 08:57:14 +01:00
Raman Gupta c477378835
Raise when zwave_js device automation fails validation (#65610) 2022-02-04 02:50:47 +01:00
Shay Levy 5e577058bb
Fix Shelly Plus i4 KeyError (#65604) 2022-02-03 16:19:36 -08:00
GitHub Action b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
J. Nick Koston 727743c4cd
Fix lutron_caseta button events including area name in device name (#65601) 2022-02-04 00:44:19 +01:00
Diogo Gomes 189f1f8c25
Add kmtronic device_info (#65456)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-02-04 00:30:09 +01:00
G Johansson 24cd63973d
Add back resolvers config flow dnsip (#65570) 2022-02-03 15:05:56 -08:00
jjlawren 8c0c4f9bca
Log traceback in debug for Sonos unsubscribe errors (#65596) 2022-02-03 15:03:18 -08:00
G Johansson 718da64728
Improve code quality sensibo (#65503) 2022-02-03 16:34:01 -06:00
Paulus Schoutsen 157276f4e6
Add a Lovelace cast platform (#65401) 2022-02-03 13:43:23 -08:00
Franck Nijhof d3e36230cb
Update pvo to 0.2.1 (#65584) 2022-02-03 13:37:10 -08:00
Michael 8432fe7bd6
Extend diagnostics data in Fritz!Tools (#65573) 2022-02-03 13:36:36 -08:00
Franck Nijhof 445c47c7a0
Guard against empty Tuya data types (#65571) 2022-02-03 21:46:05 +01:00
Michael 80102e1e84
Fix data update when guest client disappears in Fritz!Tools (#65564)
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2022-02-03 12:32:36 -08:00
Bram Kragten 97c8427506
Update frontend to 20220203.0 (#65572) 2022-02-03 12:32:01 -08:00
Oxan van Leeuwen d22fc99294
Add device class to ESPHome switches (#64919)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-02-04 09:23:30 +13:00
Franck Nijhof a3d2a1a5e0
Add missing Tuya vacuum states (#65567) 2022-02-03 12:31:22 -07:00
epenet cc7680b0c3
Adjust pylint plugin to enforce diagnostics type hints (#64976)
* Adjust pylint plugin to enforce diagnostics type hints

* Adjust return_type

* Set return_type to UNDEFINED

* Use Any for the expected data

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 19:22:43 +01:00
J. Nick Koston b97cd3ce93
Do not update unifiprotect host from discovery if its not an ip (#65548) 2022-02-03 19:14:36 +01:00
J. Nick Koston 3d8d507ed9
Migrate powerwall from using ip address as unique id (#65257)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 18:39:57 +01:00
Aaron Bach 8d2fac09bb
Remove deprecated Guardian `entity_id` service parameter (#65484) 2022-02-03 17:19:06 +01:00
Aaron Bach 778cc6106a
Remove deprecated SimpliSafe `service_id` service parameter (#65483) 2022-02-03 17:18:31 +01:00
Jc2k 714a952d73
Enable types from aiohomekit to be used by mypy for homekit_controller (#65433) 2022-02-03 10:18:03 -06:00
J. Nick Koston 6c38a6b569
Enable strict typing for isy994 (#65439)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 17:02:05 +01:00
Jan Bouwhuis 2f0d0998a2
Add Mqtt vacuum `unknown` state (#65311)
* Add Mqtt vacuum `unknown` status

* Update tests/components/mqtt/test_state_vacuum.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:50:39 +01:00
Jan Bouwhuis cf52357229
Add MQTT light unknown state support (#65308)
* Add MQTT light unknown sate support

* Update homeassistant/components/mqtt/light/schema_basic.py

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

* Update homeassistant/components/mqtt/light/schema_json.py

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

* Update homeassistant/components/mqtt/light/schema_template.py

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

* Update tests for default unknown state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:57 +01:00
Jan Bouwhuis 2d011821ea
Add MQTT humidifier unknown state support (#65302)
* Add MQTT humidifier unknown state support

* Update homeassistant/components/mqtt/humidifier.py

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

* Fix tests for changed default optimistic state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:09 +01:00
Jan Bouwhuis 711bd7169e
Add Mqtt Fan unknown state support (#65301)
* Add Mqtt Fan unknown state support

* Update homeassistant/components/mqtt/fan.py

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

* Adjust default state in tests

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:48:03 +01:00
Jan Bouwhuis 3d434dffc7
Add support Mqtt switch for unkown state (#65294)
* Mqtt switch allow unkown state

* correct type

* Update discovery tests

* Optimistic mode if not state_topic is configured.

* Default state UNKNOWN in optimistic mode

* fix discovery test
2022-02-03 16:47:24 +01:00
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
G Johansson 3f57adf475
Code quality custom service for sensibo (#65496) 2022-02-03 14:11:53 +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 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
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
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
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
Erik Montnemery fda0fbd115
Stringify MQTT payload in mqtt/debug/info WS response (#65429) 2022-02-02 18:08:48 +01: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
Jan Bouwhuis 2c07330794
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 16:14:52 +01:00
Bram Kragten 9ce2e9e8f4
Update frontend to 20220202.0 (#65432) 2022-02-02 16:08:16 +01:00
Erik Montnemery 0eb2caabcf
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 15:06:27 +01:00
Maikel Punie 40c727df66
Bump velbus-aio to 2022.2.1 (#65422) 2022-02-02 14:38:19 +01:00
G Johansson 8448462720
Rewrite sensibo integration (#64753)
* Rewrite sensibo integration

* Fixing CI

* coordinator in untested

* Fix review comments

* Additional review fixes

* Fix all conversations

* Remove extra state attributes

* Restore assumed state service

* Fix async_assume_state
2022-02-02 13:09:42 +01:00
epenet a63e5c7ded
Add type hints for config entry update listeners (#65412) 2022-02-02 03:36:04 -06:00
Erik Montnemery 627be81531
Import registries in MQTT mixins (#65411) 2022-02-02 10:32:11 +01:00
Josh Shoemaker 4a55d58d6d
Bump aladdin_connect to 0.4 to fix integration for some users due to API changes (#65407) 2022-02-02 09:29:05 +01:00
jjlawren 4794625048
Detect battery-operated Sonos devices going offline (#65382) 2022-02-01 22:11:21 -06:00
jjlawren c80d6810b3
Fix Sonos diagnostics with offline device (#65393)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-01 22:10:53 -06:00
J. Nick Koston 3da60355a9
Bump lutron_caseta to 0.13.1 to fix setup when no button devices are present (#65400) 2022-02-01 19:19:24 -06:00
GitHub Action ff2f135f55 [ci skip] Translation update 2022-02-02 00:15:13 +00:00
J. Nick Koston 73189ead1f
Handle brightness being None for senseme (#65372) 2022-02-01 14:51:28 -08:00
Pierre Ståhl e2935b55ae
Fix disconnect bug in Apple TV integration (#65385) 2022-02-01 15:44:06 -06:00
Pierre Ståhl 476a694248
Sort Apple TV app list by name (#65386) 2022-02-01 15:30:28 -06:00
Tobias Sauerwein 3718d7fca8
Add Netatmo error logging when no public stations are available (#65298)
* Log error if public stations don't provide data

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

* Only log once

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

* Update homeassistant/components/netatmo/sensor.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-01 22:06:03 +02:00
Jc2k 9f5d77e0df
Add missing type hints to homekit_controller (#65368) 2022-02-01 13:30:37 -06:00
Paulus Schoutsen aef6f49eff
Bump frontend to 20220201.0 (#65380) 2022-02-01 09:58:23 -08:00
Michael 1b8252fa2f
Fix wan_access switch for disconnected devices in Fritz!Tools (#65378) 2022-02-01 09:57:34 -08:00
Robert Svensson 69ac59ce73
Redact host address in UniFi diagnostics (#65379) 2022-02-01 09:52:56 -08:00
Bram Kragten c82aa1606a
Allow removing keys from automation (#65374) 2022-02-01 09:45:08 -08:00
schreyack 3c0369ed59
Fix honeywell hold mode (#65327)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 09:11:09 -08:00
Martin Hjelmare 3697f5611c
Fix tradfri coordinator error handling (#65204) 2022-02-01 09:09:51 -08:00
ZuluWhiskey 65ea54927d
Fix MotionEye config flow (#64360)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-01 09:05:50 -08:00
Allen Porter d3374ecd8e
Add type hints for google calendar integration (#65353)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 17:28:32 +01:00
G Johansson 390d32c71b
Fix options for dnsip (#65369) 2022-02-01 16:47:42 +01:00
fOmey d24fedbe97
Tuya fan natural wind mode (#65343) 2022-02-01 15:50:43 +01:00
Klaas Schoute 75a1f3207c
Use dataclass asdict to convert to dict (#65365) 2022-02-01 14:44:40 +01:00
Jc2k dd5bcafab7
Enable mypy checks for homekit_controller (#65358) 2022-02-01 11:27:35 +00:00
Erik Montnemery ab17f8984b
Improve CastProtocol (#65357)
* Improve CastProtocol

* Tweak
2022-02-01 10:47:12 +01:00
Jc2k 2a193e1016
Refactor platform loading in homekit_controller (#65338) 2022-02-01 07:38:42 +00:00
Paulus Schoutsen b05b4c4b38
Simplify unifi cleanup logic (#65345) 2022-02-01 07:22:12 +01:00
Allen Porter 88ed2f3b3e
Improve google calendar test coverage to 97% (#65223)
* Improve google calendar test coverage to 97%

* Remove commented out code.

* Remove unnecessary (flaky) checks for token file persistence

* Remove mock code assertions

* Add debug logging to google calendar integration

* Increase alarm time to polling code to reduce flakes

* Setup every test in their own configuration directory

* Mock out filesystem calls to avoid disk dependencies

Update scope checking code to use Storage object rather than text file matching

* Update tests to check entity states when integration is loaded

* Mock out google service in multiple locations

* Update homeassistant/components/google/__init__.py

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

* Update homeassistant/components/google/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 03:14:49 +01:00
Paulus Schoutsen 5289935ac1
I zone, you zone, we zoning (#65344) 2022-01-31 17:04:46 -08:00
Martin Hjelmare d0412d65ac
Remove stale tradfri devices (#65218) 2022-01-31 16:43:16 -08:00
GitHub Action 0be8060b69 [ci skip] Translation update 2022-02-01 00:18:49 +00:00
Simone Chemelli 86079375b9
Add diagnostics for SamsungTV (#65342) 2022-01-31 16:10:55 -08:00
Duco Sebel 103fe9e0ba
Add HomeWizard diagnostics (#65297)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-31 16:08:58 -08:00
J. Nick Koston 3bb8de66d8
Bump zeroconf to 0.38.3 (#65341) 2022-01-31 16:08:42 -08:00
Paulus Schoutsen 47a5411525
Bump aiohue to 4.0.1 (#65340) 2022-01-31 15:58:52 -08:00
Michael c9f38355f7
Improve debugging and error handling in Fritz!Tools (#65324) 2022-01-31 15:28:11 -08:00
J. Nick Koston 18ea3fb85a
Prevent unifiprotect from being rediscovered on UDM-PROs (#65335) 2022-01-31 15:27:26 -08:00
J. Nick Koston c7eb676449
Fix guardian being rediscovered via dhcp (#65332) 2022-01-31 15:24:55 -08:00
Paulus Schoutsen bf138c4ffb
Alexa to handle brightness and catch exceptions (#65322) 2022-01-31 15:01:46 -08:00
Jc2k 0f88790303
Refactor homekit_controller to prepare for more typing information (#65329) 2022-01-31 16:48:16 -06:00
Simone Chemelli a9af29cbe0
Add diagnostics support to Fritz (#65334)
* Add diagnostics support to Fritz

* Temporary remove tests

* coveragerc
2022-01-31 23:43:46 +01:00
Simone Chemelli 17c41f4783
Introduce number platform for Shelly (#64207)
* Introduce number platform for Shelly

* coverage

* Rework based on review comment

* Improve logic around channel

* Remove unused value

* rebase

* Removed redundant properties

* Update homeassistant/components/shelly/number.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Remove channel workaround as currently not needed

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-31 22:14:59 +01:00
w35l3y 076faaa4a4
Add support to reprompt user (#65256) 2022-01-31 10:23:26 -08:00
Pascal Winters 0cfc7112fa
Bump pyps4-2ndscreen to 1.3.1 (#65320) 2022-01-31 19:23:07 +01:00
jjlawren 48ae3bece8
Send notification to alert of Sonos networking issues (#65084)
* Send notification to alert of Sonos networking issues

* Add links to documentation
2022-01-31 19:21:21 +01:00
Franck Nijhof b7bf302ef8
Ensure PVOutput connection error is logged (#65319) 2022-01-31 18:42:49 +01:00
Franck Nijhof e5b6a58fab
Update tailscale to 0.2.0 (#65318) 2022-01-31 09:17:35 -08:00
Franck Nijhof 441e81c02a
Add diagnostics support to WLED (#65317) 2022-01-31 09:16:33 -08:00
Franck Nijhof ce6048e705
Fix missing expiration data in Whois information (#65313) 2022-01-31 09:15:13 -08:00
Jeff Irion 5891f65c7e
Bump androidtv to 0.0.61 (#65315) 2022-01-31 18:09:17 +01:00
J. Nick Koston fab9c4aa20
Improve reliability of august setup with recent api changes (#65314) 2022-01-31 10:21:47 -06:00
Franck Nijhof ac32af7004
Update wled to 0.13.0 (#65312) 2022-01-31 18:08:21 +02:00
Franck Nijhof a3f5582010
Update adguard to 0.5.1 (#65305) 2022-01-31 16:31:02 +01:00
Jan Bouwhuis 4991f1a693
Use super() in mqtt siren init (#65291) 2022-01-31 13:16:45 +01:00
Mick Vleeshouwer 216ac65475
Bump pyoverkiz to 1.3.2 (#65293) 2022-01-31 13:08:43 +01:00
starkillerOG cc14acb178
Bump pynetgear to 0.9.1 (#65290) 2022-01-31 13:00:10 +01:00
Duco Sebel ade656a333
Fix HomeWizard unclosed clientsession error when closing Home Assistant (#65296) 2022-01-31 12:49:18 +01:00
fOmey 9b5757dff5
Tuya fan percentage fix (#65225) 2022-01-31 12:37:43 +01:00
Erik Montnemery 80da5c52ae
Correct cast media browse filter for audio groups (#65288) 2022-01-31 11:45:48 +01:00
Erik Montnemery b0c36d7729
Add cast platform for extending Google Cast media_player (#65149)
* Add cast platform for extending Google Cast media_player

* Update tests

* Refactor according to review comments

* Add test for playing using a cast platform

* Apply suggestions from code review

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Pass cast type instead of a filter function when browsing

* Raise on invalid cast platform

* Test media browsing

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-01-31 10:50:05 +01:00
Jan Bouwhuis 6fdaec0847
Add MQTT siren platform (#64440)
* Add mqtt siren draft

* fix tests

* Intergrate notify platform

* tests and fixes siren platform

* Add tests notify platform

* config parameters and abbreviations

* remove duplicate key

* undo move topic abbreviation

* Move const CONF_MESSAGE_COMMAND_TEMPLATE

* Remove notify service integration

* Rework

* Update homeassistant/components/mqtt/siren.py

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

* Publish JSON by default

* Allow unknown state - rename value_template

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-31 10:31:57 +01:00
Jan Bouwhuis bfaada34e2
Allow `unknown` state to be set (#65183) 2022-01-31 10:25:08 +01:00
Tobias Sauerwein f6b0f26783
Bump pyatmo to v.6.2.4 (#65285)
* Bump pyatmo to v6.2.3

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

* Bump pyatmo to v6.2.4

Signed-off-by: cgtobi <cgtobi@gmail.com>
2022-01-31 11:07:50 +02:00
Brett Adams 3536271fce
Add diagnostics to Advantage Air (#65006)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-30 20:51:39 -08:00
J. Nick Koston 8c9bd6e790
Increase august timeout and make failure to sync at startup non-fatal (#65281) 2022-01-30 20:50:49 -08:00
J. Nick Koston 2f6bf08165
Fix senseme fan lights (#65217) 2022-01-30 20:24:42 -08:00
J. Nick Koston 7552404f70
Increase the timeout for flux_led directed discovery (#65222) 2022-01-30 20:21:54 -08:00
Brynley McDonald 99f56579a5
Fix flick_electric auth failures (#65274) 2022-01-30 20:21:15 -08:00
J. Nick Koston 6458e45ef0
Simplify whois value_fn (#65265) 2022-01-30 20:19:52 -08:00
J. Nick Koston 73bd8db273
Fix flux_led not generating unique ids when discovery fails (#65250) 2022-01-30 20:17:19 -08:00
Matthias Alphart d4370395e2
Update xknx to 0.19.1 (#65275) 2022-01-30 20:12:44 -08:00
J. Nick Koston 385f1f3dad
Fix powerwall login retry when hitting rate limit (#65245) 2022-01-30 22:09:56 -06:00
Teemu R c985ebb3a7
Bump python-kasa to 0.4.1 for tplink integration (#64123)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-30 20:09:07 -06:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
Jc2k eb94fe1ca7
Use upstream constants when defining homekit service to platform mapping (#65272) 2022-01-30 16:59:01 -06:00
Aaron Bach 58f624a3da
Add diagnostics to SimpliSafe (#65171)
* Add diagnostics to SimpliSafe

* Bump

* Cleanup
2022-01-30 15:37:56 -07:00
Jc2k cc94af2872
Remove deprecated helper functions from homekit_controller pairing flow (#65270) 2022-01-30 16:20:19 -06:00
Shay Levy 5999d08d72
Bump aiowebostv to 0.1.2 (#65267) 2022-01-31 00:04:00 +02:00
Stephan Uhle a4904bd9bc
Add Edl21 unit of measurement mapping (#64926) 2022-01-30 23:01:20 +01:00
Jesse Hills 8b5e76b898
Fix comment typo in ESPHome diagnostics (#65268) 2022-01-30 23:53:46 +02:00
Michael ef74dab352
Fix "internet access" switch for Fritz connected device without known IP address (#65190)
* fix get wan access

* small improvement
- default wan_access to None
- test if dev_info.ip_address is not empty
2022-01-30 13:22:32 -08:00
Robert Svensson ac1b30a78d
Better manage of nested lists (#65176) 2022-01-30 13:20:59 -08:00
J. Nick Koston 62fd31a1e7
Handle missing attrs in whois results (#65254)
* Handle missing attrs in whois results

- Some attrs are not set depending on where the
  domain is registered

- Fixes #65164

* Set to unknown instead of do not create

* no multi-line lambda
2022-01-30 13:19:04 -08:00
Patrik Lindgren 473abb1793
Flag Tradfri groups and YAML as deprecated (#65226) 2022-01-30 22:16:51 +01:00
jjlawren 2129972904
Add activity statistics to Sonos diagnostics (#65214) 2022-01-30 13:15:51 -08:00
Joakim Sørensen 11ad1589fa
Use .json.txt for diagnostics download filetype (#65236) 2022-01-30 13:09:36 -08:00
Ville Skyttä 872bc456a9
Clean up no longer needed Python 3.8 support code (#65231)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-30 15:07:07 -06:00
Shay Levy 9825111c8d
Fix webostv live TV source missing when configuring sources (#65243) 2022-01-30 22:05:30 +01:00
josephnad 75b37bee3d
Add homekit_controller support for ecobee vendor extensions (#60914)
Co-authored-by: josephnad <>
2022-01-30 15:02:47 -06:00
Dave T 0acfc7bbab
Align config flow type hints to scaffold (#65157) 2022-01-30 20:26:28 +01:00
LJU dbbd239b80
Fix typo’s ISS (#65228)
Fix typo’s
2022-01-30 18:54:19 +01:00
J. Nick Koston 1d5a052df1
Fix debugpy blocking the event loop at startup (#65252) 2022-01-30 18:08:37 +01:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
Shay Levy caa5578134
Fix webostv configure sources when selected source is missing (#65195)
* Fix webostv configure sources when selected source is missing

* Add comment for filtering duplicates
2022-01-30 00:15:49 +01:00
Robert Svensson 30440cd1ba
Add logic to avoid creating the same scene multiple times (#65207) 2022-01-30 01:11:28 +02:00
Patrik Lindgren 3ca1b2fc6e
Add air quality sensor for Tradfri air purifier (#65070)
* Add air quality sensor for Tradfri fan platform

* Refactor, use entity description

* Fix typo

* CHange init docstring

* Let lambda handle special case

* Remove unique id

* Apply suggestions from code review

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

* Refactor to constants, add mixin

* Rename lambda

* Update homeassistant/components/tradfri/sensor.py

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

* Update homeassistant/components/tradfri/sensor.py

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

* Update homeassistant/components/tradfri/sensor.py

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

* Replace lambda with function

* Refactor device init

* Remove fixture scope

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-29 23:55:05 +01:00
Aaron Bach cc6b0cc843
Ensure diagnostics redaction can handle lists of lists (#65170)
* Ensure diagnostics redaction can handle lists of lists

* Code review

* Update homeassistant/components/diagnostics/util.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Code review

* Typing

* Revert "Typing"

This reverts commit 8a57f772ca.

* New typing attempt

* Revert "New typing attempt"

This reverts commit e26e4aae69.

* Fix typing

* Fix typing again

* Add tests

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-29 13:30:15 -07:00
Erik Montnemery d770a54881
Minor refactoring of cast media_player (#65125) 2022-01-29 16:13:59 +01:00
Robert Hillis 4a042e7d73
Bump pyefergy to 22.1.1 (#65156)
* Bump pyefergy to 22.1.0

* uno mas

* uno mas

* uno mas
2022-01-29 16:01:00 +02:00
Robert Svensson c25431750e
Bump dependency to v31 which makes has_relay more robust (#65180) 2022-01-29 15:34:14 +02:00
Marvin Wichmann 98aa69fdaf
Fix KNX Expose for strings longer than 14 bytes (#63026)
* Fix KNX Expose for too long strings

* Fix tests

* Catch exception and avoid error during config entry setup for exposures

* Properly catch exceptions in knx expose

* Fix pylint

* Fix CI

* Add test for conversion error
2022-01-29 14:32:12 +01:00
starkillerOG 8bd7519ea5
Aqara restore door sensor state on start (#65128)
* restore door sensor state on start

* fix import

* fix issues

* also fix Natgas, WaterLeak and Smoke sensors

* remove unnesesary async_schedule_update_ha_state
2022-01-29 14:01:46 +01:00
Simon Hansen 049fc8a945
Add config flow to ISS integration (#64987)
* Initial commit

* Wrong flowhandler name

* Add config flow tests

* Tests for config flow

* ...

* Add test for no coordinates

* ...

* Update homeassistant/components/iss/config_flow.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/iss/config_flow.py

* Update homeassistant/components/iss/binary_sensor.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Add myself as codeowner

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-01-29 11:41:26 +02:00
Simone Chemelli 3cde472e43
Fix status for Fritz device tracker (#65152) 2022-01-28 21:14:51 -08:00
J. Nick Koston e85e91bdb0
Fix uncaught exception during isy994 dhcp discovery with ignored entry (#65165) 2022-01-28 21:14:30 -08:00
J. Nick Koston 0e6c554b70
Add additional blink OUIs to DHCP discovery (#65162) 2022-01-28 21:14:08 -08:00
J. Nick Koston 4d0dbeb2b5
Add additional roomba OUIs to DHCP discovery (#65161) 2022-01-28 21:13:54 -08:00
J. Nick Koston f585777e56
Add dhcp discovery to oncue (#65160) 2022-01-28 21:13:41 -08:00
J. Nick Koston de36e96481
Add OUI for KL430 tplink light strip to discovery (#65159) 2022-01-28 21:13:28 -08:00
Franck Nijhof 16db8e0802
Fix setting speed of Tuya fan (#65155) 2022-01-28 21:05:53 -08:00
J. Nick Koston 0755310258
Add loggers to zeroconf (#65168)
- The original PR excluded all zeroconf deps, and I forget to add it back
2022-01-28 20:21:05 -08:00
GitHub Action 5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
Simone Chemelli 36427fe76c
Fix excepton for SamsungTV getting device info (#65151) 2022-01-28 23:57:12 +02:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Allen Porter 956ceb6c68
Update nest diagnostics (#65141) 2022-01-28 21:50:38 +01:00
Allen Porter 0c9be604c2
Add diagnostics for rtsp_to_webrtc (#65138) 2022-01-28 09:07:41 -08:00
epenet d0d55db936
Add diagnostics support to onewire (#65131)
* Add diagnostics support to onewire

* Add tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-28 19:00:47 +02:00
Nenad Bogojevic 1a878b4024
Use new withings oauth2 refresh token endpoint (#65134) 2022-01-28 08:48:16 -08:00
Robert Svensson da355438aa
Reconnect client service tried to connect even if device didn't exist (#65082) 2022-01-28 08:33:31 -08:00
Simone Chemelli f369cef32f
Handle FritzInternalError exception for Fritz (#65124) 2022-01-28 08:32:46 -08:00
Shay Levy efbbef5922
Fix Shelly detached switches automation triggers (#65059) 2022-01-28 08:30:44 -08:00
Paulus Schoutsen cf6b3fc810
Add support for proxy-selected intent (#65094) 2022-01-28 08:16:28 -08:00
Allen Porter 444a681729
Bump google-nest-sdm to 1.6.0 (diagnostics) (#65135) 2022-01-28 18:09:08 +02:00
Klaas Schoute 090a8a9439
Add diagnostics support to P1 Monitor (#65060)
* Add diagnostics to P1 Monitor

* Add test for diagnostics
2022-01-28 17:08:29 +02:00
starkillerOG 0b02870489
Goodwe - fix value errors (#65121) 2022-01-28 16:54:19 +02:00
Hans Oischinger a9cc35d6b6
Handle vicare I/O in executor (#65105)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-28 12:06:05 +01:00
Erik Montnemery c470733feb
Fix cast support for browsing local media source (#65115) 2022-01-28 11:38:09 +01:00
Thibaut 65fb6f26f1
Check explicitly for None value in Overkiz integration (#65045) 2022-01-28 10:58:42 +01:00
Joakim Sørensen 0a2f57e4f8
Move netatmo dataclass registrations (#65052) 2022-01-28 10:51:32 +01:00
J. Nick Koston de7f1e793a
Downgrade homekit linked humidity sensor error to debug (#65098)
Fixes #65015
2022-01-28 10:38:13 +02:00
Shay Levy 631c4bf10f
Fix Shelly 1/1PM external temperature sensor unavailable (#65096) 2022-01-27 22:33:12 -08:00
GitHub Action e591393f01 [ci skip] Translation update 2022-01-28 00:14:53 +00:00
Marvin Wichmann 62584b4813
Add tests for KNX diagnostic and expose (#64938)
* Add test for KNX diagnostic

* Add test for KNX expose

* Apply review suggestions
2022-01-27 23:03:20 +01:00
Jc2k f49cfe866a
Support unpairing homekit accessories from homekit_controller (#65065) 2022-01-27 16:02:30 -06:00
G Johansson e92078cf50
Fix Yale optionsflow (#65072) 2022-01-27 21:01:30 +01:00
dougiteixeira 696b930b1c
Complementing the Tuya Curtain (cl) category (#65023)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-27 20:41:13 +01:00
Paulus Schoutsen 8cf1109775
Bump frontend to 20220127.0 (#65075) 2022-01-27 11:22:53 -08:00
epenet d706a7bbde
Update Renault to 0.1.7 (#65076)
* Update Renault to 0.1.7

* Adjust tests accordingly

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-27 20:19:28 +01:00
jjlawren 5a4eeaed56
Guard browsing Spotify if setup failed (#65074)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-27 11:10:19 -08:00
Hans Oischinger f8f8262963
Update PyVicare to 2.16.1 (#65073) 2022-01-27 19:41:50 +01:00
Simon Hansen c5787a5422
Fix typo in entity name for launchlibrary (#65048) 2022-01-27 10:02:10 -08:00
Erik Montnemery 30fd902764
Correct zone state (#65040)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-27 10:01:09 -08:00
Erik Montnemery 176eae701a
Unset Alexa authorized flag in additional case (#65044) 2022-01-27 09:59:58 -08:00
Jc2k a65694457a
Allow homekit_controller to set Ecobee's mode (#65032) 2022-01-27 11:02:38 -06:00
Patrik Lindgren 70321ed795
Add battery sensor for Tradfri blinds (#65067) 2022-01-27 17:47:47 +01:00
Chris Talkington e0d970c739
Update rokuecp to 0.12.0 (#65030) 2022-01-27 10:43:23 -06:00
Jc2k 603d0fb068
Allow homekit_controller to customise Ecobee home/sleep/away thresholds (#65036) 2022-01-27 10:41:53 -06:00
Martin Hjelmare 3d461e9e1f
Fix notify leaving zone blueprint (#65056) 2022-01-27 17:37:40 +01:00
Jc2k 9799965c62
Better names for energy related homekit_controller sensors (#65055) 2022-01-27 10:08:26 -06:00
Marc Mueller 3a45168b97
Improve proximity typing (#65053)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-27 17:05:08 +01:00
Marc Mueller c3967dec10
Fix vera typing (#65051) 2022-01-27 17:00:30 +01:00
Duco Sebel 4f3ce27560
Add `flow_title` for HomeWizard Energy (#65047) 2022-01-27 14:30:31 +01:00
Arjan van Balken f4ed28ab09
Update Arris TG2492LG dependency to 1.2.1 (#64999) 2022-01-27 11:48:37 +01:00
Patrik Lindgren 9d404b749a
Implement coordinator class for Tradfri integration (#64166)
* Initial commit coordinator

* More coordinator implementation

* More coordinator implementation

* Allow integration reload

* Move API calls to try/catch block

* Move back fixture

* Remove coordinator test file

* Ensure unchanged file

* Ensure unchanged conftest.py file

* Remove coordinator key check

* Apply suggestions from code review

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

* Import RequestError

* Move async_setup_platforms to end of setup_entry

* Remove centralised handling of device data and device controllers

* Remove platform_type argument

* Remove exception

* Remove the correct exception

* Refactor coordinator error handling

* Apply suggestions from code review

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

* Remove platform type from base class

* Remove timeout context manager

* Refactor exception callback

* Simplify starting device observation

* Update test

* Move observe start into update method

* Remove await self.coordinator.async_request_refresh()

* Refactor cover.py

* Uncomment const.py

* Add back extra_state_attributes

* Update homeassistant/components/tradfri/coordinator.py

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

* Refactor switch platform

* Expose switch state

* Refactor sensor platform

* Put back accidentally deleted code

* Add set_hub_available

* Apply suggestions from code review

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

* Fix tests for fan platform

* Update homeassistant/components/tradfri/base_class.py

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

* Update homeassistant/components/tradfri/base_class.py

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

* Fix non-working tests

* Refresh sensor state

* Remove commented line

* Add group coordinator

* Add groups during setup

* Refactor light platform

* Fix tests

* Move outside of try...except

* Remove error handler

* Remove unneeded methods

* Update sensor

* Update .coveragerc

* Move signal

* Add signals for groups

* Fix signal

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-27 11:12:52 +01:00
Paulus Schoutsen 3daaed1056
Catch connection reset error (#65027) 2022-01-27 11:02:27 +01:00
Shay Levy fa62e7e142
Fix Shelly battery powered devices unavailable (#65031) 2022-01-27 11:00:38 +01:00
Joakim Sørensen b086c8d898
Set ping data to None instead of False (#65013) 2022-01-27 10:03:45 +01:00
Jan Bouwhuis 0cabf3e577
Fix MQTT climate action null warnings (#64658) 2022-01-27 08:41:27 +01:00
J. Nick Koston 2325cacb04
Bump flux_led to fix push updates on newer devices (#65011) 2022-01-26 20:50:20 -08:00
Brandon Rothweiler dc1db463fc
Bump pymazda to 0.3.2 (#65025) 2022-01-26 21:40:53 -06:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
Jesse Hills cb2f5b5ed5
Add diagnostics download to ESPHome (#65008) 2022-01-26 14:35:41 -08:00
Franck Nijhof 4925cf5aff
Handle Tuya sendings strings instead of numeric values (#65009) 2022-01-26 14:05:01 -08:00
Erik Montnemery 67838518ab
Abort owntracks config flow when not connected to home assistant cloud (#64968) 2022-01-26 11:07:34 -08:00
Erik Montnemery 664be84121
Abort plaato flows when not connected to home assistant cloud (#64969) 2022-01-26 11:07:26 -08:00
Erik Montnemery 5071b3b959
Abort rachio config entry setup when not connected to cloud (#64975) 2022-01-26 11:07:10 -08:00
Erik Montnemery d4497e4b68
Make toon fall back to webhooks if cloud is not available (#64981) 2022-01-26 11:06:47 -08:00
Paulus Schoutsen 8b3e923f4b
Fix Plex media class in Cast media browser (#64995) 2022-01-26 11:00:31 -08:00
Erik Montnemery 94288886c3
Abort webhook flow when not connected to home assistant cloud (#64963) 2022-01-26 10:57:45 -08:00
Paulus Schoutsen 2c0c01498f
Fix media classes (#64993) 2022-01-26 10:51:25 -08:00
jjlawren 1e34cc62ba
Support Plex in Cast media browser (#64994) 2022-01-26 10:51:08 -08:00
jjlawren e17f1ea577
Support Plex in Sonos media browser (#64951)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 10:40:47 -08:00
Bram Kragten e5b0031103
Update frontend to 20220126.0 (#64990) 2022-01-26 10:30:36 -08:00
Paulus Schoutsen b2de177104
Fix circles in person integration (#64991) 2022-01-26 10:25:13 -08:00
Erik Montnemery 07563f4fd2
Disable google_assistant local SDK if SSL is enabled (#64983) 2022-01-26 18:55:30 +01:00
Shay Levy 189418a4dd
Fix Shelly HT invalid value on sensor error (#64982) 2022-01-26 19:33:37 +02:00
Joakim Sørensen f23277a187
Only log exception in GitHub when something unexpected raised (#64974) 2022-01-26 18:11:40 +01:00
Paulus Schoutsen d14fbf40c8
Store new spotify client in hass.data (#64984) 2022-01-26 09:00:59 -08:00
Erik Montnemery 9ff49e9c3a
Change zone's state to be number of person entities in the zone (#64910)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 09:00:43 -08:00
Mick Vleeshouwer ccf018a5fc
Fix battery sensor in Overkiz integration (#64980) 2022-01-26 10:31:17 -06:00
Mick Vleeshouwer 930db54a27
Bump pyoverkiz to 1.3.1 (to fix bugs) (#64979) 2022-01-26 10:30:55 -06:00
Simone Chemelli 3f12ce06af
Add detailed status for UptimeRobot (#64879)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-26 16:48:15 +01:00
Joakim Sørensen eb5c6076af
Check for empty release array (#64973) 2022-01-26 16:31:21 +01:00
Jeef 2b101dd5c2
Add IntelliFire sensors (#64600)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-26 16:16:25 +01:00
Christopher Bailey e203efa8b1
Fix custom message for UniFi Protect doorbell select (#64971) 2022-01-26 05:14:40 -10:00
Aaron Bach e9a71231c2
Add diagnostics to WattTime (#64887) 2022-01-26 15:48:38 +01:00
Erik Montnemery f92e8ab931
Drop owntracks import flow (#64967) 2022-01-26 15:47:37 +01:00
Erik Montnemery 9079734348
Correct netatmo startup (#64970) 2022-01-26 15:46:08 +01:00
Simon Hansen 37225c36fc
Add starship event sensor (#64965) 2022-01-26 15:37:15 +01:00
epenet dfdbeba7be
Use entity_description in shelly block sensors (#64897)
* Use entity_description in shelly block sensors

* Re-order binary sensor

* Add async_added_to_hass for BlockSleepingBinarySensor

* Undo None

* Build description when restoring block attribute entities

* Move async_added_to_hass back to base class

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-26 16:07:15 +02:00
dougiteixeira 982580b95a
Complementing the Tuya Fan (fs) category (#64947)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 13:03:05 +01:00
Simon Hansen 4e808133f2
Add next starship launch sensor to launch_library (#64929)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-26 12:31:03 +01:00
Franck Nijhof bcd7390488
Fix use of implicit re-export in env canada (#64964) 2022-01-26 12:22:53 +01:00
dougiteixeira bbf64483e7
Fix send command in vacuum Tuya (#64949) 2022-01-26 11:34:18 +01:00
Franck Nijhof d49b821565
Set entity category on Tuya backlights (#64962) 2022-01-26 11:20:31 +01:00
Franck Nijhof 92ca76a167
Add backlight controls for Tuya curtain switches (#64961) 2022-01-26 11:13:38 +01:00
Erik Montnemery 18ea43b927
Prevent race when loading cloud config (#64901)
* Prevent race when loading cloud config

* Tweak
2022-01-26 10:59:36 +01:00
tokenize47 2f30fdb9b8
Add solax config flow (#56620) 2022-01-26 10:58:06 +01:00
Marc Mueller 5e633498d2
Enable `no_implicit_reexport` for core files [mypy] (#63820) 2022-01-26 10:55:06 +01:00
Tathar 16e5d7abe1
Add unique_id to modbus entities (#64634)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 10:37:15 +01:00
Joakim Sørensen 3dbad2a44e
Limit GitHub API calls during setup (#64956) 2022-01-26 09:58:04 +01:00
Paulus Schoutsen 07c239643a
Some media source things (#64954)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-26 09:49:33 +01:00
dougiteixeira 0a223f2f62
Change the name of the vacuum switch voice (#64948) 2022-01-26 09:46:34 +01:00
Paulus Schoutsen 9cbdd36082
Expose if HTTP is configured for SSL (#64940) 2022-01-26 09:34:48 +01:00
Aaron Bach 149cd8e319
Add diagnostics to Ridwell (#64863) 2022-01-25 20:23:45 -10:00
Aaron Bach 2471ddaec6
Add diagnostics to Tile (#64875) 2022-01-25 20:20:11 -10:00
Marvin Wichmann 072f7d5611
Add support for TCP tunneling connections to KNX (#64928) 2022-01-26 06:36:07 +01:00
jjlawren cdad1a9f27
Use local Sonos API for Plex music playback (#63357) 2022-01-25 21:10:11 -08:00
Glenn Waters cf7148c3f8
Decouple initial refreshes in setup for Environment Canada (#64946) 2022-01-25 21:03:18 -08:00
J. Nick Koston a24f79434f
Add state classes to august sensors (#64931) 2022-01-25 20:37:52 -08:00
J. Nick Koston a6b26dbec4
Add state class to nexia sensors (#64932) 2022-01-25 20:37:39 -08:00
J. Nick Koston 09982afd2e
Add state class to emonitor sensors (#64934) 2022-01-25 20:36:53 -08:00
J. Nick Koston 50cc5e10b9
Small cleanups to gogogate2 (#64935) 2022-01-25 20:36:37 -08:00
J. Nick Koston 5cc5813bd6
Add state class to hunterdouglas_powerview (#64936) 2022-01-25 20:36:22 -08:00
J. Nick Koston 8593d07883
Add state class to powerwall charge sensor (#64939) 2022-01-25 20:36:04 -08:00
J. Nick Koston 87d1478ca4
Add state class to screenlogic sensors (#64941) 2022-01-25 20:35:44 -08:00
jjlawren cb571d86be
Add per-device diagnostics to Sonos (#64912) 2022-01-25 17:35:04 -10:00
ufodone 10efeb2935
Create zone bypass switches for DSC panels (#63200)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 17:21:58 -10:00
GitHub Action 3c1d1bd060 [ci skip] Translation update 2022-01-26 00:15:14 +00:00
Franck Nijhof 2dc3ced644
Add WLED hw version to device info (#64924) 2022-01-26 01:07:52 +02:00
Mick Vleeshouwer 5bd96a35f9
Add reauth flow to Overkiz integration (#64622) 2022-01-25 13:00:58 -10:00
Mick Vleeshouwer 7e5043432f
Bump pyoverkiz to 1.3.0 in Overkiz integration (fixes auth issues) (#64937) 2022-01-25 12:36:50 -10:00
jjlawren 34d0f2ffd7
Add "Recommended" and radio station support to Plex media browser (#64057) 2022-01-25 13:02:23 -08:00
Paulus Schoutsen a371f8f788
Allow browsing the Spotify media player in Sonos (#64921) 2022-01-25 12:43:43 -08:00
Simon Hansen f32d9952c8
Bump pylaunches to 1.3.0 (#64923) 2022-01-25 21:24:26 +01:00
Franck Nijhof 2e1ac711fb
Add Elgato hw version to device info (#64922) 2022-01-25 20:29:18 +01:00
David F. Mulcahey 43c4611285
Bump ZHA quirks to 0.0.66 (#64915) 2022-01-25 13:32:46 -05:00
J. Nick Koston e28b5aee77
Add dhcp discovery to senseme (#64894) 2022-01-25 19:07:17 +01:00
Etienne G dfb7ab5c30
Add zeroconf to overkiz integration (#64907)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 07:50:40 -10:00
Franck Nijhof 02d81374f8
Add full test coverage to Whois (#64899) 2022-01-25 18:33:53 +01:00
Christopher Bailey 7bc2419054
Add lock support for unifiprotect Doorlock (#64882)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 07:31:17 -10:00
Shay Levy 1d72f5b54e
Bump rflink to 0.0.62 (#64911) 2022-01-25 07:29:07 -10:00
epenet 367521e369
Adjust pylint plugin to enforce device_tracker type hints (#64903)
* Adjust pylint plugin to enforce device_tracker type hints

* Use a constant for the type hint matchers

* Add tests

* Add x_of_y match

* Adjust bluetooth_tracker

* Adjust mysensors

* Adjust tile

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 18:21:59 +01:00
Robert Svensson 55d3de3411
Add binary sensor for smoke alarm test state (#64873) 2022-01-25 17:46:31 +01:00
alim4r 3e0e9e54bf
Fix duplicate metrics in prometheus (#61355)
* Fix duplicate metrics in prometheus

* Fix duplicate prometheus metrics for entities with multiple labelsets
- Move friendly_name detection to state_changed event
- Add additional test case

* Add review suggestions for prometheus friendly name update

* Remove commented out code in prometheus

* Update prometheus tests for deleted metrics

* Add review suggestions for prometheus
- Remove unnecessary firendly_name check in handle_entity_registry_updated
- Add assert in test
2022-01-25 08:05:52 -08:00
Tom Brien 51a04585e7
Add diagnostics for Coinbase (#64900)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-25 15:58:35 +01:00
Joakim Sørensen 1093a2b808
Add diagnostics to UptimeRobot (#64905) 2022-01-25 14:49:27 +01:00
epenet 076bc976ee
Use entity_description in shelly rpc sensors (#64895)
* Use entity_description in shelly rpc sensors

* Enable None for binary sensor

* Adjust use_polling_wrapper

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 15:48:51 +02:00
epenet da316e1547
Use shorthand attributes in shelly light (#64831)
* Use shorthand attributes in shelly light

* Adjust mypy

* Revert temperature conversions

* Adjust initialisation

* Invert min/max for mired

* Make _attr_supported_color_modes an instance attribute

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 15:48:07 +02:00
Joakim Sørensen cda2c73f2f
Use Integration properties for custom integration listing in diagnostics (#64908) 2022-01-25 14:47:27 +01:00
Joakim Sørensen cadf0ef60b
Ignore draft releases for GitHub sensor (#64906) 2022-01-25 14:10:12 +01:00
Per Öberg 81000db713
Add support for DS2760 1-Wire TypeK Thermocouple (#63222)
* Add support for DS2760 1-Wire TypeK Thermocouple

* Add test mockup sensor for DS2760 to tests

* Add support for changing of thermocouple type through override_key

* Fix broken test for DS2760 Thermocouple

* Remove unnecessary test-attribute for DS2760 Thermocouple

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-25 13:53:37 +01:00
Erik Montnemery 7b8bbc37df
Include entity_id in Alexa state report error log (#64898) 2022-01-25 11:11:06 +01:00
Simone Chemelli d9e6ce00e0
Fix extra data for AWS sns service (#64771)
* Fix extra data for ANS sns service

* Add test

* apply review comments
2022-01-25 10:46:04 +01:00
jjlawren ec88897d04
Add event statistics to Sonos diagnostics (#64845) 2022-01-24 22:52:40 -10:00
Michael 5d7d652237
Replace Synology DSM services with buttons (#57352) 2022-01-24 22:51:55 -10:00
Franck Nijhof ac7450bfda
Refactor Tuya Fans (#64765) 2022-01-25 08:53:55 +01:00
Franck Nijhof ed924325e3
Add init tests for Whois (#64862) 2022-01-25 08:53:34 +01:00
Allen Porter ea022e32b4
Bump rtsp-to-webrtc to 0.5.0 (diagnostics support) (#64889) 2022-01-25 08:43:00 +01:00
Arto Jantunen 0ccb535f0a
Add binary sensor for Vallox post heater (#59762) 2022-01-25 08:32:31 +01:00
dougiteixeira 3af3d9414d
Changing the Return to home in Tuya vacuum (#64810)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-25 08:29:13 +01:00
J. Nick Koston 44946f662e
Bump aiodiscover to 1.4.7 to fix finding the gateway on MacOS (#64893) 2022-01-25 08:27:40 +01:00
Maciej Bieniek 4a4b0d9418
Fix Shelly climate entity state (#64756)
* Fix For loops in _handle_coordinator_update()

* Change logic

* Suggested change

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Move log

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2022-01-25 08:27:30 +01:00
Robert Svensson 046f0a706f
Add outlets to UniFi switch platform (#64859)
* Add outlets to UniFi switch platform

* Outlet shouldn't have entity category set
2022-01-25 07:49:02 +01:00
jjlawren d9b81bb04d
Adds enabled entity_ids associated with each speaker (#64876) 2022-01-24 16:29:29 -08:00
Paulus Schoutsen e6111ac277
Bump frontend to 20220124.0 (#64878) 2022-01-24 16:28:46 -08:00
Christopher Bailey 6cb9f0df2a
Add basic Doorlock support for UniFi protect (#64877) 2022-01-24 14:22:52 -10:00
GitHub Action 2aaca346bd [ci skip] Translation update 2022-01-25 00:14:30 +00:00
Christopher Bailey 34802b127f
Bump version pyunifiprotect to 3.2.0 (#64874) 2022-01-25 00:00:10 +01:00
jjlawren ec66936352
Bump plexapi to 4.9.1 (#64872) 2022-01-24 23:50:15 +01:00
Erik Montnemery e9a9b119c4
Teach TemplateEntity unique_id (#64837) 2022-01-24 23:16:31 +01:00
J. Nick Koston 0ca38c0928
Avoid creating bond stop action button when there are no other buttons (#64869) 2022-01-24 23:03:52 +01:00
Joakim Sørensen 70b24b7843
Add diagnostics to Launch Library (#64871) 2022-01-24 22:59:29 +01:00
Sean Vig 6af7425051
Create tasks to load Amcrest platforms (#64848)
* Create tasks to load Amcrest platforms

* Move closure definition out of for loop
2022-01-24 22:34:18 +01:00
Shay Levy 6d5c2bb34b
Bump aioshelly to 1.0.8 (#64864)
* Bump aioshelly to 1.0.8

* Update DEPENDENCY_CONFLICTS
2022-01-24 23:26:38 +02:00
Franck Nijhof 2f25aafb84
Add additional sensors to Whois (#64854) 2022-01-24 19:40:36 +01:00
Franck Nijhof 1a3494c9f5
Add diagnostics support to Whois (#64855) 2022-01-24 19:29:52 +01:00
Mick Vleeshouwer d6c547e9a3
Add cover platform to Overkiz integration (#64564) 2022-01-24 07:58:52 -10:00
epenet 78e92d1662
Adjust pylint plugin to enforce platform type hints (#64836)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 18:51:06 +01:00
Franck Nijhof d15d081646
Add data update coordinator to Whois (#64846)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2022-01-24 18:50:07 +01:00
Joakim Sørensen b07f4ba398
Cleanup GitHub sensor classes and descriptions (#64853) 2022-01-24 18:47:21 +01:00
Jc2k 24ee4256b9
Add additional energy sensors to Eve Energy (#64826) 2022-01-24 07:46:45 -10:00
epenet c8a63d4ffc
Use entity_description in shelly rest sensors (#64843)
* Use entity_description in shelly rest sensors

* Use _attr_device_info

* Adjust _attr_unique_id and _attr_device_info

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 19:43:43 +02:00
J. Nick Koston d1d33f0dc5
Fix bond buttons where an argument is required (#64781) 2022-01-24 07:41:23 -10:00
Chris Talkington 3e29fe5a67
Allow roku to browse and play local media (#64799) 2022-01-24 08:34:09 -08:00
Erik Montnemery 8ea2f865ed
Clarify cloud docstring (#64841) 2022-01-24 17:06:08 +01:00
Aaron Bach 3a978fc244
Clean up post-merge review comments (#64842)
* Clean up post-merge diagnostics PRs

* Trigger Build

* Linting
2022-01-24 08:46:22 -07:00
Erik Montnemery 5622e45980
Render icon and picture templates at setup (#64838) 2022-01-24 16:40:50 +01:00
rikroe 2e25213101
Add GPS direction to BMW ConnectedDrive device_tracker (#63744)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-01-24 16:26:03 +01:00
Aaron Bach 620991fef8
Add diagnostics to ReCollect Waste (#64814) 2022-01-24 08:18:22 -07:00
Aaron Bach 224d0d80b2
Add diagnostics to Flu Near You (#64597) 2022-01-24 08:16:26 -07:00
Aaron Bach b54722952c
Add diagnostics to Notion (#64713) 2022-01-24 08:15:45 -07:00
Erik Montnemery 321f54494e
Teach TemplateEntity entity name (#62175)
* Teach TemplateEntity entity name

* Remove default name from number and select config schemas

* Re-add default name to number and select config schemas

* Set name to None if name template fails to render

* Update template button
2022-01-24 15:44:05 +01:00
Franck Nijhof 7b93226c6c
Add entity description support to WHOIS integration (#64619) 2022-01-24 15:41:35 +01:00
Ryan Steckler b541e91885
Fix units not being pulled from source sensor (#63639) 2022-01-24 15:15:34 +01:00
Robert Svensson a15bdbbc4a
UniFi events aren't reliable for device tracker usage, use last_seen instead (#64147) 2022-01-24 15:11:33 +01:00
Eric Severance 5f2fd1b0e6
Add a reboot button for ONVIF devices (#61522) 2022-01-24 15:07:06 +01:00
jjlawren a046cef734
Bump soco to 0.26.0 (#64819) 2022-01-24 14:54:27 +01:00
Nico Hirsch 13cfb92d06
Add Home Connect CookProcessor (Bosch Cookit) (#62445) 2022-01-24 14:44:20 +01:00
dougiteixeira c66b25229c
Fix error in Tuya diagnostics (#64808)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-24 14:38:45 +01:00
Joakim Sørensen 7c1eabadfa
Add diagnostics to Nanoleaf (#64835) 2022-01-24 14:15:05 +01:00
Fredrik Erlandsson f23af3455e
Point updates (#64748)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-24 13:57:29 +01:00
Paulus Schoutsen 73fd19d4e2
Only show music files for Cast Audio in media browser (#64683) 2022-01-24 13:54:09 +01:00
Robert Svensson 597fca9072
Make UniFi bandwidth sensors be about current transfer rather than total transfer (#64701) 2022-01-24 13:50:54 +01:00
epenet 3a09090a4b
Drop use of deprecated ENTITY_CATEGORIES (#64607)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 13:36:42 +01:00
J. Nick Koston 7112c5b52a
Use zeroconf for scanning in apple_tv (#64528) 2022-01-24 13:07:22 +01:00
Josh Soref d47a25856b
spelling: components/ezviz (#64247)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-24 13:03:29 +01:00
Simone Chemelli 7884de3a31
Fix import for new AWS aiobotocore lib (#64769)
* Fix import for new AWS aiobotocore lib

* Fix patch for tests
2022-01-24 13:02:51 +01:00
Niklas 27cb41a62c
Add long-term battery and discharge sensors for energy panel to kostal_plenticore (#62761) 2022-01-24 12:59:52 +01:00
epenet 32d5c8e8ac
Add type hint to RegistryEntry.entity_category (#64618)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 12:51:11 +01:00
Brandon Rothweiler b03ae66254
Add diagnostics to Mazda integration (#64606) 2022-01-24 12:41:58 +01:00
Michael 6874b49a39
Perform re-login after Fritzbox has rebooted (#64709) 2022-01-24 12:25:29 +01:00
aomann 2a00c096db
Add missing voices to Amazon Polly (#64708) 2022-01-24 12:12:33 +01:00
Joakim Sørensen e272ab7a29
Use Etag in GitHub coordinator updates (#64449)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-24 12:08:22 +01:00
Jens Østergaard Nielsen 1ffc2a05db
Move autosetup out of init.py (#64761) 2022-01-24 12:07:54 +01:00
Massimiliano Cannarozzo 229b3175f3
Increase BleBox timeout (#64760) 2022-01-24 11:37:28 +01:00
epenet a459cf8ca4
Use shorthand attributes in shelly covers (#64829)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 12:31:50 +02:00
Hans Oischinger b8237e5ec9
vicare: Add support for hybrid devices (#64776) 2022-01-24 11:24:42 +01:00
Hans Oischinger 8d6880ab85
Support systems w/o circuits (#64779) 2022-01-24 11:18:54 +01:00
Hans Oischinger 201229d20c
Add more vicare binary sensors and clean up constants (#64780)
* Add some binary sensors and clean up constants

* Remove duplicated code
2022-01-24 11:16:35 +01:00
Hans Oischinger 157f145ea9
vicare: Fix dynamic unit of measurement (#64782) 2022-01-24 11:14:59 +01:00
Aaron Bach f2a3f758af
Add diagnostics to RainMachine (#64788) 2022-01-24 11:10:42 +01:00
Joakim Sørensen 92fbf0ee09
Remove source and channel attributes from local version (#64827) 2022-01-24 11:07:16 +01:00
dougiteixeira d33e2609b9
Fix DPCode in battery support check for vacuum Tuya (#64806) 2022-01-24 10:27:13 +01:00
Shay Levy a2f3c843f9
Mark webOS TV as a platinum quality integration (#64587) 2022-01-24 10:21:28 +01:00
epenet aa9ccc7dfb
Add coordinator data to Renault diagnostics (#64783)
* Add coordinator data to renault diagnostics

* Adjust tests

* Adjust tests

* Add GPS coordinates to redacted information
2022-01-24 11:15:57 +02:00
J. Nick Koston 17d7dc991f
Bump flux_led to 0.28.11 (#64823)
- Fixes the device needing a hard reboot after setting effects that
  were not supported by the hardware

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.28.10...0.28.11
2022-01-24 11:13:28 +02:00
Jc2k 5ac50a56b4
Make sensor name consistent with other homekit_controller entity names (#64821) 2022-01-23 22:42:55 -10:00
alexanv1 7cbf02e37b
Tuya: Add support for turning smart heater LEDs on and off (#64739) 2022-01-24 09:25:01 +01:00
Robert Svensson 76bfbbafe1
Update method names reflecting changes in UniFi library (#64817)
* Update method names

* Bump dependency to v30
2022-01-24 08:50:08 +01:00
Otto Winter a65a0b5903
ESPHome prevent connecting to different hosts when IP reassigned (#64559) 2022-01-24 08:29:29 +01:00
Shay Levy eb48748038
Add webostv 100% tests coverage for init (#64801) 2022-01-24 09:27:24 +02:00
jjlawren e80823bb57
Bump plexapi to 4.9.0 (#64818) 2022-01-24 08:18:40 +01:00
J. Nick Koston 3b6bc6654f
Fix unexpected color mode switch in flux_led when brightness is near 0 (#64812)
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2022-01-23 20:53:17 -10:00
Brett Adams 0cd3302ebc
Start depreciation of custom services in Advantage Air (#58777)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-23 20:13:44 -10:00
Erik Montnemery 55ff1e9c1d
Revert "Allow setting entity options with config/entity_registry/update" (#64693) 2022-01-23 21:07:12 -08:00
Jc2k 32099ea38a
Easier identification of devices with homekit_controller (#64804) 2022-01-23 16:49:40 -10:00
Brandon Rothweiler dfa567b6e3
Bump pymazda to 0.3.1 (#64807) 2022-01-23 15:42:13 -10:00
GitHub Action 7d31f570e2 [ci skip] Translation update 2022-01-24 00:13:45 +00:00
Oliver 1e3b947fb4
Update denonavr to version 0.10.10 (#64805) 2022-01-24 02:05:10 +02:00
Josh Soref 867392778e
spelling: components/coinbase (#64239)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-23 15:40:04 -08:00
Franck Nijhof 22656f6082
Add diagnostics support to CPU Speed (#64745)
* Add diagnostics support to CPU Speed

* Fix copy pasta error
2022-01-24 01:36:51 +02:00
Franck Nijhof 88c9422b70
Add diagnostics support to Stookalert (#64747)
* Add diagnostics support to Stookalert

* coveragerc
2022-01-24 01:36:41 +02:00
Franck Nijhof d8b6291806
Add diagnostics support to RDW (#64787) 2022-01-24 01:36:32 +02:00
Franck Nijhof 0ae2ffd467
Add diagnostics support to Verisure (#64789)
* Add diagnostics support to Verisure

* coveragerc
2022-01-24 01:36:22 +02:00
J. Nick Koston 1743850ab8
Bump bond-api to 0.1.16 to handle disconnects and protocol errors (#64802)
- Changelog: https://github.com/prystupa/bond-api/compare/v0.1.15...v0.1.16
2022-01-24 01:35:22 +02:00
Austin Mroczek 68a4bf118c
bump total_connect_client to 2022.1 (#64797) 2022-01-24 01:24:36 +02:00
Andreas Oberritter 88b2baa880
Bump pysml to 0.0.7 (#64798) 2022-01-24 01:23:28 +02:00
Jc2k 4a0a4624ff
Allow homekit_controller to handle device registry entries for devices with poor serial numbers (#64749) 2022-01-23 13:00:05 -10:00
Chris Talkington e3900f0c0a
Add diagnostics support to roku (#64729) 2022-01-23 12:38:07 -10:00
J. Nick Koston 74c16b977d
Add support for preset modes to bond fans (#64786) 2022-01-23 12:33:31 -10:00
rappenze 09408234a6
Use basic entity attributes in fibaro integration (#64784)
* use basic entity attributes in fibaro integration

* use fibaro_device without self in constructor
2022-01-23 16:25:42 -06:00
Robert Svensson 425911e850
Use whole config entry in deCONZ diagnostics (#64795) 2022-01-23 23:14:02 +01:00
Robert Svensson 7e20e555dd
Redact usernames in UniFi diagnostics (#64794) 2022-01-23 23:11:06 +01:00
Jc2k f71e053947
De-duplicate generation of DeviceInfo data in homekit_controller (#64751) 2022-01-23 11:57:16 -10:00
Jc2k fbe2b81cd4
Add diagnostics support for homekit_controller (#64773)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-23 11:56:09 -10:00
Robert Svensson 1b46575f29
Add diagnostics support to Axis integration (#64637)
* Add diagnostics support to Axis integration

* Remove system info

* Redact sensitive information

* Store whole config entry

* Redact username

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-01-23 22:52:08 +01:00
Brandon Rothweiler e564f4193f
Use friendly name instead of hostname in Tailscale integration (#64682) 2022-01-23 21:55:54 +01:00
Michael eda5cfc12d
Add option to select quality of camera snapshots taken from Synology DSM connected cameras (#58306) 2022-01-23 10:23:04 -10:00
Jesse Hills 8736b0649b
Fix ESPHome ReconnectLogic to make faster connection when device comes online (#64697) 2022-01-23 20:14:17 +01:00
Hans Oischinger c23b2135a3
Add vicare one-time charge (#64376)
* vicare: Add OneTime Charge

* Integrate review comments

* Simplify button entity
2022-01-23 18:27:19 +01:00
Shay Levy 94a89d520b
Fix webostv sources import from YAML (#64768) 2022-01-23 18:23:29 +01:00
Robert Hillis 53c39293a4
Simplify hass data in acmeda (#62479) 2022-01-23 16:04:36 +01:00
Allen Porter e74fe0e390
Enable Low Latency HLS (LL-HLS) by default to lower stream latency (#64643) 2022-01-23 15:38:29 +01:00
rforro 4e376181f5
Expose entity device temperature from cluster in ZHA (#64189)
* expose device temperature sensor in frontend

* fixes after runnig test

* specified device temp channel

* add dev temp int test device aqara water

* black fix
2022-01-23 09:37:01 -05:00