Commit Graph

33780 Commits (5c4b149f50c8a9ff9b35605ed64a4878ed64f920)

Author SHA1 Message Date
Erik Montnemery eaf73318e1
Remove duplicated options from input_select (#66680) 2022-02-16 22:04:49 +01:00
epenet 2d33e435b9
Fix token refresh in samsungtv (#66533) 2022-02-16 12:28:01 -08:00
Marcel van der Veldt 8357dc0f3f
Fix last_activated timestamp on Hue scenes (#66679) 2022-02-16 12:18:38 -08:00
Maciej Bieniek 41c43fe639
Fix type of value in MQTT binary sensor (#66675) 2022-02-16 12:11:50 -08:00
Franck Nijhof 88482d73e3
Do not pass client session to Brunt (#66671) 2022-02-16 12:11:01 -08:00
Paulus Schoutsen 499081df86
Cloud to avoid setting up Alexa/Google during setup phase (#66676) 2022-02-16 12:10:26 -08:00
Craig J. Midwinter b42676370c
Bump pysher to 1.0.7 (#59445)
* Fix Goalfeed integration

See https://github.com/deepbrook/Pysher/issues/62

* update requirements

* Update pysher, remove websocket-client requirement for goalfeed integration
2022-02-16 19:43:02 +01:00
Paulus Schoutsen 0b541978c7
Bump aiohue to 4.2.0 (#66670) 2022-02-16 09:24:01 -08:00
J. Nick Koston 65999227ae
Fix missing effects on dimmable WiZ bulbs (#66665) 2022-02-16 18:11:31 +01:00
Robert Svensson dd9b14d5c9
Add Button platform to deCONZ integration (#65700)
* Improve scene platform

* Add button platform, tests and fix tests affected by new entities existing

* Remove unnused property

* Bump dependency to v87
2022-02-16 17:55:30 +01:00
Bram Kragten a9390908ea
Keep TTS media browser params in identifier (#66663)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-16 08:54:57 -08:00
Franck Nijhof 39cf250a8e
Add current temp fallback in Tuya climate (#66664) 2022-02-16 17:41:43 +01:00
Paulus Schoutsen cd5b69d02e
Add Google local indicator (#66610) 2022-02-16 07:54:59 -08:00
Tobias Sauerwein 3d1cad9f67
Improve handling of cloud hook registration (#65664)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2022-02-16 16:42:45 +01:00
Diogo Gomes de2734bd0e
add entity_category (#66377) 2022-02-16 16:34:21 +01:00
epenet 3b87c01af9
Fix try_connect in samsungtv (#66653)
* Fix try_connect in samsungtv

* Use try...else

* Adjust try...else

* Undo try...else

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 16:17:11 +01:00
epenet 0911eb1fba
Add epenet to samsungtv codeowners (#66654)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-16 16:12:07 +01:00
Mike Fugate 0bd0b4766e
Refactor sleepiq as async with config flow (#64850)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-16 08:51:29 -06:00
Sascha Sander dbc445c2fa
Fix scaling of numeric Tuya values (#66644)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-16 14:33:08 +01:00
Franck Nijhof 4051e2f518
Fix Plugwise auto HVAC mode (#66639)
* Fix Plugwise auto hvac mode

* Clean up set HVAC
2022-02-16 13:22:21 +01:00
Milan Meulemans 19d8b8a6ff
Add binary sensor platform to Aseko (#66643) 2022-02-16 13:06:11 +01:00
J. Nick Koston 470936a63a
Enable dhcp flows for samsungtv registered devices (#66589) 2022-02-16 13:01:44 +01:00
J. Nick Koston 21f2c664d9
Enable dhcp flows for elkm1 registered devices (#66583) 2022-02-16 12:13:16 +01:00
tschnilo b322c6dafc
Add vicare sensors (#63339)
* Add sensors

for:
- solar collector 
- power consumption

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py
2022-02-16 12:11:37 +01:00
J. Nick Koston fd96d81563
Enable dhcp flows for flux_led registered devices (#66585) 2022-02-16 12:09:00 +01:00
J. Nick Koston e0cee22b8a
Switch ezviz to use integration discovery (#66579) 2022-02-16 12:07:36 +01:00
J. Nick Koston 38b9bea9a3
Switch tplink to use integration discovery (#66575) 2022-02-16 12:06:58 +01:00
J. Nick Koston 59cb1444a5
Enable dhcp flows for broadlink registered devices (#66582) 2022-02-16 12:04:46 +01:00
J. Nick Koston ce4daab833
Enable dhcp flows for goalzero registered devices (#66586) 2022-02-16 11:59:57 +01:00
Raman Gupta d29acadebd
Fix zwave_js device condition bug (#66626) 2022-02-15 23:05:12 -05:00
Marcel van der Veldt 8f4ec89be6
Bump aiohue to version 4.1.2 (#66609) 2022-02-15 17:26:13 -08:00
J. Nick Koston dad4cdb45d
Enable dhcp flows for isy994 registered devices (#66588) 2022-02-15 18:46:09 -06:00
J. Nick Koston 6a690b41b1
Enable dhcp flows for screenlogic registered devices (#66591) 2022-02-15 18:45:53 -06:00
J. Nick Koston 6b7eea5454
Enable dhcp flows for senseme registered devices (#66590) 2022-02-15 18:45:41 -06:00
J. Nick Koston 7c508c2a44
Enable dhcp flows for hunterdouglas_powerview registered devices (#66587) 2022-02-16 01:30:52 +01:00
J. Nick Koston 491f8d0f0b
Enable dhcp flows for steamist registered devices (#66593) 2022-02-16 01:26:17 +01:00
J. Nick Koston 99568b133f
Switch flux_led to use integration discovery (#66574) 2022-02-16 01:25:43 +01:00
GitHub Action 208671418e [ci skip] Translation update 2022-02-16 00:14:09 +00:00
J. Nick Koston 6ae2331805
Switch senseme to use integration discovery (#66576) 2022-02-16 00:47:01 +01:00
Franck Nijhof dd9992bfd6
Update plugwise 0.16.4 (#66613) 2022-02-15 23:29:30 +01:00
J. Nick Koston d79d775d92
Switch elkm1 to use integration discovery (#66572) 2022-02-15 23:18:55 +01:00
J. Nick Koston b28754e5fe
Switch steamist to use integration discovery (#66578) 2022-02-15 23:18:13 +01:00
J. Nick Koston c6a4139716
Enable dhcp flows for emonitor registered devices (#66584) 2022-02-15 23:17:06 +01:00
J. Nick Koston 6134a224dd
Enable dhcp flows for wiz registered devices (#66595) 2022-02-15 23:14:52 +01:00
J. Nick Koston d64ef2ba73
Deduplicate flux_led title and CONF_NAME (#66598) 2022-02-15 22:44:35 +01:00
Allen Porter 734fdf7bff
Override and disable nest stream `unavailable` behavior (#66571) 2022-02-15 13:43:31 -08:00
Joakim Plate bc856ea24d
Add fallback for serialnumber (#66553) 2022-02-15 13:42:18 -08:00
Mick Vleeshouwer 98ae7e106c
Always create a new session in ConfigFlow in Overkiz integration (#66602) 2022-02-15 14:46:52 -06:00
Mick Vleeshouwer 5568531f74
Improve exception catching and handling in Overkiz integration (#66604) 2022-02-15 14:44:53 -06:00
J. Nick Koston c5ae43144d
Enable dhcp flows for axis registered devices (#66581)
References:
https://github.com/home-assistant/developers.home-assistant/pull/1212
https://github.com/home-assistant/core/pull/66528

I am doing these one at a time to make sure codeowners are aware
and do not glance over the PR because it has a lot of integrations
in it
2022-02-15 21:32:10 +01:00
Mick Vleeshouwer 30528e0de0
Add extra entity descriptions to Overkiz integration (#66093) 2022-02-15 14:24:33 -06:00
J. Nick Koston 9f1c58cda3
Enable dhcp flows for tplink registered devices (#66592)
References:
https://github.com/home-assistant/developers.home-assistant/pull/1212
https://github.com/home-assistant/core/pull/66528

I am doing these one at a time to make sure codeowners are aware
and do not glance over the PR because it has a lot of integrations
in it
2022-02-15 20:33:45 +01:00
J. Nick Koston f069a37f7d
Allow integrations to request dhcp discovery flows for registered devices (#66528) 2022-02-15 11:02:52 -06:00
J. Nick Koston 2b43293363
Switch unifiprotect to use integration discovery (#66569)
Backstory: https://github.com/home-assistant/core/pull/65752#discussion_r800068914
2022-02-15 17:02:33 +01:00
Joakim Sørensen 0d2712e436
Add binary_sensor to Version integration (#66539)
* Add binary_sensor to version integration

* Add test to check we not create for local

* Move _attr_icon to sensor

* Update homeassistant/components/version/binary_sensor.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-15 16:39:34 +01:00
Eduard van Valkenburg af4e37339a
Add Connectivity sensor to SIA (#64305)
* implemented connectivity sensor

* further cleanup off update code

* cleanup and tighter behaviour for attributes

* added seperate connectivity class to binary sensor

* callbacks and keys

* redid name and unique_id logic, non-breaking result

* using entry more in inits

* Fix import

* fix ping_interval in sia_entity_base

* added ping_interval default to next

* fixed next

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-15 15:53:38 +01:00
Franck Nijhof 430162fa5f
Fix Tuya Covers without state in their control data point (#66564) 2022-02-15 15:25:36 +01:00
Franck Nijhof cbdbb66475
Fix integrations building on top of mjpeg (#66557) 2022-02-15 15:24:52 +01:00
Franck Nijhof 00221f1d66
Cleanup and strict typing for MJPEG integration (#66526) 2022-02-15 12:32:14 +01:00
Jeef c5dfe2b5a8
Bump intellifire4py to 0.9.8 (#66531) 2022-02-15 11:04:26 +01:00
Josh Soref 02e2150270
Fix econet spelling (#64254)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-02-15 10:53:35 +01:00
Robert Hillis 7eed4af6ae
Use enums in vizio (#61996)
Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2022-02-15 10:51:55 +01:00
Franck Nijhof cb03db8df4
Replace discord.py with nextcord (#66540)
* Replace discord.py with nextcord

* Typing tweak

* Another pip check decrease :)
2022-02-15 10:37:41 +01:00
Amos Yuen 23a22d1860
Override iotawatt coordinator request_refresh_debouncer to allow updates every 5s (#64892)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-15 09:55:13 +01:00
Robert Svensson 1bc936ca8d
Improve Deconz sensors (#65259) 2022-02-15 08:32:56 +01:00
J. Nick Koston 334a8ab13f
Fix missing abort strings in wiz (#66538) 2022-02-15 08:24:35 +01:00
Allen Porter 572fa7d055
Update nest camera to pull still images from stream component (#66427)
* Update nest to use stream thumbnail when it exists

* Update nest camera to always pull still image from stream

Update nest camera to always pull the still iamge from the stream component,
removing the use of the separate ffmpeg call, and removing use of the nest event
image. Image for events can now be pulled using the media source APIs, rather
than relying on the camera snapshot.

* Simplify a comment

* Remove more unused variables

* Simplify comments, image, and test code

* Remove assertions for placeholder images
2022-02-14 21:45:09 -08:00
Paulus Schoutsen 94980399cf
Bump hass-nabucas to 0.52.1 (#66536) 2022-02-14 20:46:32 -08:00
Brett Adams 6b6f50e28b
Bump pyaussiebb in Aussie Broadband (#65754)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-14 21:02:40 -06:00
Diogo Gomes b211a1faa7
Fix utility meter restore state (#66490)
* Address #63874

* avoid setting _last_period to None

* name is always set in discovery

* ValueError never happens only DecimalException

* async_tariff_change tracks state change - state machine will not pass a None

* test we only reset one utility_meter

* test corrupted restored state

* pretty sure _current_tariff doesn't change from init until here

* missing assert

* Revert "async_tariff_change tracks state change - state machine will not pass a None"

This reverts commit 24fc04a964.

* address review comment

* always a Decimal
2022-02-15 02:16:30 +01:00
Franck Nijhof 4dbd9b21b7
Adjust Plugwise debouncer to not refresh immediately (#66521) 2022-02-15 01:47:39 +01:00
Paulus Schoutsen 6d10bd094f
Bump frontend to 20220214.0 (#66535) 2022-02-14 16:23:37 -08:00
GitHub Action d69d0e8817 [ci skip] Translation update 2022-02-15 00:14:48 +00:00
epenet b51866b1c4
Revert "Fix raspihats callbacks (#64122)" (#66517)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-15 01:12:34 +01:00
EtienneMD ffe821a1f7
Fix HVAC modes for zha Stelpro fan heater (#66293) 2022-02-14 23:06:48 +01:00
Jarod Wilson f81b6d61b9
Create unique_id for sleepiq sensors (#65227) 2022-02-14 23:01:15 +01:00
Mick Vleeshouwer 74a304cac7
Overkiz/address cover feedback (#65043) 2022-02-14 22:38:41 +01:00
G Johansson 759b01bb40
Improve code quality season (#66449) 2022-02-14 22:34:33 +01:00
Raman Gupta 152dbfd2fe
Add button entity to ping zwave_js node (#66129)
* Add button entity to ping zwave_js node

* Fix docstring

* Fix docstrings

* Fix and simplify tests

* Fix name

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/services.py

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

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/button.py

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

* review comments

* Update homeassistant/components/zwave_js/button.py

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

* Update homeassistant/components/zwave_js/button.py

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

* Remove self.client line

* Add callback to remove entity

* Add extra dispatch signal on replacement

* Combine signals for valueless entities

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-14 15:38:22 -05:00
Raman Gupta 113c3149c4
Improve zwave_js device automation strings for config parameters (#66428)
* Improve zwave_js device automation strings for config parameters

* rename things to be more clear

* Match config file format
2022-02-14 15:14:02 -05:00
Simon Hansen 7cb0ce0eec
Move config option to OptionsFlow in iss (#65303)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-14 21:07:50 +01:00
Erik Montnemery 5be5a014f3
Adjust Sonos for updated Spotify media browsing (#66508) 2022-02-14 20:15:09 +01:00
J. Nick Koston 09e59e5887
Fix flux_led turn on with slow responding devices (#66527) 2022-02-14 20:14:45 +01:00
Maikel Punie 2bcc21ecbb
Add velbus diagnostics (#65426) 2022-02-14 19:25:14 +01:00
Keilin Bickar 2bc2f85b1b
Support for lock domain in esphome (#65280) 2022-02-14 18:31:46 +01:00
uSlackr b6a3b012bb
Correct modbus address limits (#66367) 2022-02-14 18:17:19 +01:00
Marc Mueller ab67ba20f5
Update pylint plugin to validate `_async_has_devices` (#66512) 2022-02-14 18:10:50 +01:00
Paulus Schoutsen 8456c6416e
Add a media source to TTS (#66483) 2022-02-14 08:54:12 -08:00
J. Nick Koston 013d227113
Ensure WiZ cleans up on shutdown and failed setup (#66520) 2022-02-14 17:32:34 +01:00
Paulus Schoutsen fec8c2ab82
Add support for MJPEG cameras to camera media source (#66499) 2022-02-14 17:04:19 +01:00
J. Nick Koston 63cb79ec29
Add support for setting the effect speed in WiZ (#66457) 2022-02-14 16:49:43 +01:00
J. Nick Koston 445ad1d592
Add test coverage for WiZ lights and switches (#66387) 2022-02-14 16:31:26 +01:00
Bart Janssens 4522a5698c
Fix vicare program presets (#66476) 2022-02-14 15:42:40 +01:00
Paulus Schoutsen 707f112f51
Improve raised exception consistency for media source (#66497) 2022-02-14 15:41:53 +01:00
Marc Mueller 94cfc89df9
Improve `DiscoveryFlowHandler` typing (#66511) 2022-02-14 15:28:52 +01:00
Franck Nijhof 45251e6936
Update sentry-dsk to 1.5.5 (#66515) 2022-02-14 15:23:20 +01:00
Paulus Schoutsen 4c5d64762b
Fix cast turn on image (#66500) 2022-02-14 14:38:46 +01:00
Shay Levy db73ce92fa
Increase switcher_kis timeouts (#66465) 2022-02-14 14:30:04 +01:00
J. Nick Koston 00d7fdd274
Add WiZ occupancy sensor support (#66231) 2022-02-14 14:25:15 +01:00
Marc Mueller b2ee7cebc9
Improve setup_time typing (#66509) 2022-02-14 14:24:58 +01:00
Erik Montnemery dbd26c7faf
Support browsing multiple Spotify accounts (#66256)
* Support browsing multiple Spotify accounts

* Fix rebase mistakes

* Address review comments

* Return root spotify node with config entries as children

* Add util to get spotify URI for media browser URL

* Only support browsing spotify with config entry specified
2022-02-14 13:59:11 +01:00
Marc Mueller 370832f527
Fix http typing (#66506) 2022-02-14 13:40:31 +01:00
Brett Adams 5a02bae63e
Bump Advantage Air 0.3.0 (#66488) 2022-02-14 13:16:05 +01:00
Marc Mueller c9d99ad76d
Add missing dataclass decorator [fivem] (#66505) 2022-02-14 12:51:52 +01:00
epenet 211b5b02df
Fix access to hass.data in hdmi-cec (#66504)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-14 12:43:36 +01:00
Shay Levy 5c5bb4835e
Enable assumed state in webostv media player (#66486) 2022-02-14 11:14:57 +01:00
Ryan Fleming 35b343de9e
Octoprint buttons (#66368) 2022-02-14 11:05:06 +01:00
Raman Gupta 051bf173dc
revert change in vizio logic to fix bug (#66424) 2022-02-14 09:49:19 +02:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
Shay Levy fe077b6990
Use shorthand attributes in webostv (#66418) 2022-02-13 23:47:37 +02:00
Daniel Hjelseth Høyer 36120c77f8
Reduce update_interval for Opengarage (#66478) 2022-02-13 15:41:46 -06:00
Joshua Roys bc2cc42955
Don't abort zeroconf discovery for IPv6-only devices (#66455) 2022-02-13 15:24:23 -06:00
J. Nick Koston 2bdf55465a
Bump pywizlight to 0.5.8 (#66448) 2022-02-13 14:29:34 -06:00
Jc2k 40c6832cc1
Update homekit_controller to use the new typed discovery data (#66462) 2022-02-13 12:45:30 -06:00
Allen Porter b016259206
Reset the stream backoff timeout when the url updates (#66426)
Reset the stream backoff timeout when the url updates, meant to improve the retry behavior
for nest cameras. The problem is the nest url updates faster than the stream reset time
so the wait timeout never resets if there is a temporarily problem with the new url. In particular
this *may* help with the flaky cloud nest urls, but seems more correct otherwise.
2022-02-13 07:09:37 -08:00
Aidan Timson ac3c5db989
Handle NoneType error in OVO integration (#66439) 2022-02-13 16:37:18 +02:00
Austin Mroczek b4c487376f
bump total_connect_client to 2022.2 (#66408) 2022-02-13 10:05:20 +02:00
Jc2k b8a8485e91
Replace use of deprecated APIs in aiohomekit (#66409) 2022-02-12 23:17:55 -06:00
Allen Porter 0a128d006f
Improve stream robustness by always retrying worker (#66417)
Improve stream robustness by always retrying in the worker on failure, rather than only when
keepalive is enabled.

This will make cloud cameras like nest more robust, since they have a tendency to be flaky. This
is also needed to improve client side retry behavior because when the client attempts to retry,
the stream token is already revoked because the worker stopped.

The worker will still idle timeout if no streams are present, so it won't go on forever if no
frontend is viewing the stream.
2022-02-12 20:59:11 -08:00
GitHub Action 203bda203d [ci skip] Translation update 2022-02-13 00:16:41 +00:00
Robert Svensson ac11a9b7ff
Revert Amcrest change (#66412) 2022-02-12 23:08:23 +01:00
Allen Porter 2e54daa61f
Redact stream url credentials in debug logging (#66407) 2022-02-12 14:03:26 -08:00
Simone Chemelli e069074f9e
Fix mesh role for Fritz old devices (#66369) 2022-02-12 13:58:35 -08:00
Marc Mueller 1053314a30
Fix error decorator [sonos] (#66399) 2022-02-12 13:51:53 -08:00
kpine a7e5f38a3e
Add is_controller_node flag to WS node status (#66404) 2022-02-12 22:08:39 +01:00
G Johansson a8304392b5
Code quality file (#65258) 2022-02-12 11:49:37 -06:00
Marc Mueller 7806494816
Fix typing [roku] (#66397) 2022-02-12 17:44:47 +01:00
corneyl 17a732197b
Add Picnic re-auth flow (#62938)
* Add re-auth handler for Picnic

* Extracted authentication part so right form/errors can be shown during re-auth flow

* Add tests for Picnic's re-authentication flow

* Simplify re-auth flow by using the same step as step_user

* Use user step also for re-auth flow instead of having an authenticate step

* Add check for when re-auth is done with different account

* Remove unnecessary else in Picnic config flow

* Fix the step id in the translation strings file
2022-02-12 08:15:36 -08:00
Franck Nijhof ba83648d27
Fix Spotify session token refresh (#66386) 2022-02-12 17:13:32 +01:00
nklebedev 840d33f271
Fix typo in ebusd WaterPressure const (#66355) 2022-02-12 17:09:51 +01:00
Sébastien RAMAGE 491e2e5978
Update zigpy-zigate to 0.8.0 (#66289) 2022-02-12 17:05:30 +01:00
Joshua Roys e5ef192f1a
Specify specific Nanoleaf models in the manifest (#66326) 2022-02-12 09:56:38 -06:00
G Johansson d61d1bf494
Implement diagnostics for yale_smart_alarm (#65085) 2022-02-12 08:42:30 -06:00
G Johansson 6d20e68e6d
Code quality scrape (#65441) 2022-02-12 08:28:54 -06:00
Dave T 62d49dcf98
Fix missing refactors of EntityCategory.XXX (#66379)
* Fix missing refactors of EntityCategory.XXX

* Fix entity_category refactor for homewizard
2022-02-12 16:22:21 +02:00
G Johansson 89b0d602d6
Bump yalesmartalarmclient to v0.3.8 (#66381) 2022-02-12 15:20:55 +01:00
G Johansson 3771c154fa
Improve code quality command_line (#65333) 2022-02-12 08:19:37 -06:00
G Johansson db6969739f
Improve code quality telnet (#65239) 2022-02-12 08:15:28 -06:00
G Johansson 8da150bd71
Improve code quality sql (#65321) 2022-02-12 08:13:01 -06:00
Jc2k 65ce2108d3
Stop homekit_controller using backend specific API's (#66375) 2022-02-12 08:12:27 -06:00
Jc2k 95e4ea8fcd
Simplify the homekit_controller unignore journey (#66353) 2022-02-12 13:16:05 +00:00
Brett Adams 5e5659d758
Add Diagnostics (#65755) 2022-02-12 07:08:41 -06:00
G Johansson 1b27011320
Fix supported features sensibo (#65895)
* Fix features not available

* Partial revert

* Apply active features

* Fix from review
2022-02-12 12:48:48 +01:00
Allen Porter b2f5ab2008
Publish Nest Motion/Person events with optional user defined zone information (#66187)
Publish Nest events with zone information if present. User defined zones are configured
in the Google Home app, and are published with Motion/Person event.
2022-02-11 21:22:53 -08:00
Chris Talkington f344ea7bbb
Add select platform to roku (#66133) 2022-02-11 20:52:31 -06:00
J. Nick Koston 578456bbb5
Fix uncaught exception during WiZ discovery during firmware update (#66358) 2022-02-11 20:42:41 -06:00
GitHub Action 366609ea44 [ci skip] Translation update 2022-02-12 00:16:37 +00:00
Sander Jochems 202ee0cd3d
Add device info to Solax (#65244) 2022-02-11 18:04:50 -06:00
G Johansson 9610fa5979
Code cleanup yale_smart_alarm (#65081) 2022-02-11 18:04:04 -06:00
Jeef d479949ca2
Add a base class for Intellifire entities (#65077)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-02-11 18:01:38 -06:00
J. Nick Koston a6742eff34
Add button to wake august locks from deep sleep (#66343) 2022-02-11 17:13:35 -06:00
PanicRide 0797533016
New amcrest binary sensor to monitor doorbell button (#66302)
* New binary sensor to monitor doorbell button

* New binary sensor to monitor doorbell button
2022-02-11 23:58:26 +01:00
Joshua Roys 9134e5c844
Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Igor Pakhomov 2ffb46dc93
Initial xiaomi_miio support for dmaker.airfresh.a1/t2017 (#66331)
* Initial support for dmaker.airfresh.a1/t2017

* fix typo
2022-02-11 23:28:22 +01:00
J. Nick Koston cc0fb5d9db
Add dhcp discovery to Sensibo for non-HomeKit devices (#66350) 2022-02-11 16:27:00 -06:00
J. Nick Koston f8fec3d990
Add additional oui to blink (#66348) 2022-02-11 16:26:39 -06:00
J. Nick Koston 018975bbb9
Add additional OUI for G3 wifi cameras to unifiprotect (#66349) 2022-02-11 16:26:11 -06:00
J. Nick Koston 43d57e7ae8
Add unique id to lutron caseta config entry when missing (#66346) 2022-02-11 13:19:57 -08:00
Allen Porter 24418417fd
Fix nest streams that get stuck broken (#66334) 2022-02-11 13:17:19 -08:00
Stuart Clark 5743661f6e
Upgrade OVO library to v1.2.0 (#66210) 2022-02-11 21:39:55 +01:00
Jc2k 0daf20c0cc
Prepare for new aiohomekit lifecycle API (#66340) 2022-02-11 19:26:35 +00:00
Franck Nijhof 2f220b27d4
Fix CPUSpeed with missing info (#66339) 2022-02-11 19:38:55 +01:00
Franck Nijhof 8ff987d90c
Fix PVOutput when no data is available (#66338) 2022-02-11 19:11:06 +01:00
epenet df994a1e84
Fix raspihats initialization (#66330)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-11 18:08:19 +01:00
J. Nick Koston 323af9f59c
Reduce number of parallel api calls to august (#66328) 2022-02-11 18:07:32 +01:00
Franck Nijhof acf2033734
Use DataUpdateCoordinator for Spotify devices (#66314) 2022-02-11 18:04:49 +01:00
Franck Nijhof 57624347e6
Don't requests known Spotify playlist (#66313) 2022-02-11 17:53:25 +01:00
J. Nick Koston 768de8d515
Fix WiZ bulb being offline if kelvin limits cannot be obtained (#66305) 2022-02-11 09:33:39 -06:00
starkillerOG 212c3b7c10
bump motionblinds to 0.5.12 (#66323) 2022-02-11 16:49:54 +02:00
Shay Levy 89b20b9133
Fix webostv restored supported features turn on (#66318)
* Fix webostv restored supported features turn on

* Remove ternary operator expression
2022-02-11 16:48:36 +02:00
Maikel Punie 1c087f5c70
Bump velbusaio to 2022.2.4 (#66321) 2022-02-11 15:48:32 +02:00
Franck Nijhof 11a13aa0b8
Add heating and cooling binary sensors to Plugwise (#66317) 2022-02-11 13:36:27 +01:00
Stefán Jökull Sigurðarson 6c3b36a978
Add Icelandic to list of supported Azure languages (#66310)
It was missing, as it is a supported language as per the list here: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support#text-to-speech
2022-02-11 12:53:09 +01:00
ufodone 49a41ebe14
Disable zone bypass switch feature (#66243)
* Add configuration option to disable the creation of zone bypass switches

* Removed temporary workaround and bumped pyenvisalink version to pick up the correct fix.

* Remove zone bypass configuration option and disable zone bypass switches per code review instructions.
2022-02-11 11:38:50 +01:00
Erik Montnemery 335a918118
Create MQTT discovery flow when manual config is present (#66248)
* Create MQTT discovery flow when manual config is present

* Change to integration_discovery flow

* Add test

* Add default handler for integration_discovery
2022-02-11 10:31:51 +01:00
Jens Østergaard Nielsen a644baf3cd
Prepare for Ihc config flow (#64852)
* Extracting group and extra  info from ihc products

* Make suggested area not optional

* Revert back to assignment expression :=

* Make auto setup show device info for all platforms

* Change code comment to #

* Add return typing

* Remove device_info key without value

* get_manual_configuration typings for everything

* Adding IHCController typings

* Remove "ihc" from unique id

* Remove device_info

* Separator in unique id

* Return typing on ihc_setup

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

* Update homeassistant/components/ihc/ihcdevice.py

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

* Update homeassistant/components/ihc/ihcdevice.py

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

* Raise ValueError instead of logging an error

* Update homeassistant/components/ihc/service_functions.py

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

* Catch up with dev

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-11 10:24:31 +01:00
J. Nick Koston 43671da7cf
Fix august token refresh when data contains characters outside of latin1 (#66303)
* WIP

* bump version

* bump
2022-02-11 11:15:50 +02:00
Allen Porter 122ada718a
Bump google-nest-sdm to 1.7.1 (minor patch) (#66304) 2022-02-11 11:13:00 +02:00
GitHub Action bed5002d61 [ci skip] Translation update 2022-02-11 00:14:55 +00:00
J. Nick Koston cb2e486f6e
Guard against 0 value for color temp in WiZ when turning off (#66295) 2022-02-10 18:12:36 -06:00
Joakim Plate c1760683a0
Add diagnostics for philips_js (#66233)
* Add diagnostics for philips_js

* Update homeassistant/components/philips_js/diagnostics.py

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

* Update homeassistant/components/philips_js/diagnostics.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Also redact username/password

They are really not that secret, but seem logical.

* Redact unique id

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-02-10 22:11:40 +01:00
Joakim Plate ad09e875a6
Correct philips_js usage of the overloaded coordinator (#66287) 2022-02-10 21:59:42 +01:00
jjlawren 4d944e35fd
Skip polling Sonos audio input sensor when idle (#66271) 2022-02-10 12:48:13 -08:00
Franck Nijhof c6f3c5da79
Type Spotify hass data (#66285) 2022-02-10 12:38:33 -08:00
J. Nick Koston c91a20537a
Add discovery on network up to WiZ (#66144) 2022-02-10 12:30:18 -08:00
uvjustin c222be0958
Catch ConnectionResetError when writing MJPEG in camera (#66245) 2022-02-10 12:25:31 -08:00
jjlawren 9fa2bdd3fd
Handle more Sonos favorites in media browser (#66205) 2022-02-10 12:25:07 -08:00
Paulus Schoutsen 854d7d4936
Fix shutil import for local source (#66286) 2022-02-10 12:23:41 -08:00
jjlawren e86c82e675
Tweak Sonos activity monitoring (#66207)
* Tweak Sonos activity monitoring

* Support new 'sleeping' vanish reason
* Check availability before last-ditch check
* Use short-timeout call for last-ditch check
* Adjust reboot logging message and severity

* Simplify activity check failure
2022-02-10 14:11:47 -06:00
Erik Montnemery fe38e6ba87
Drop MQTT import flow (#66160)
* Drop MQTT import flow

* Reload manually configured MQTT entities when config entry is setup

* Address review comments

* Actually remove the import flow
2022-02-10 21:09:57 +01:00
Franck Nijhof dc7ab40acd
Add humidity sensor to Plugwise (#66280) 2022-02-10 20:54:09 +01:00
Franck Nijhof fbd6e9f498
Extend Plugwise climate support (#66278) 2022-02-10 20:53:14 +01:00
Aaron Bach e5eba88ecc
Clean up unnecessary branch in SimpliSafe (#66268) 2022-02-10 10:13:26 -07:00
Franck Nijhof b8253b1b47
Plugwise HVAC/Preset mode fixes (#66273) 2022-02-10 18:10:21 +01:00
Franck Nijhof 18056325bb
Add Flame State binary sensor to Plugwise (#66275) 2022-02-10 18:09:38 +01:00
Franck Nijhof 08ab00d3ab
More cleanup in Plugwise sensor (#66274) 2022-02-10 18:09:24 +01:00
Franck Nijhof f5829173db
More cleanup in Plugwise climate (#66257) 2022-02-10 17:13:22 +01:00
Jarod Wilson deb8185911
Add unique_id for decora_wifi lights (#66142)
I have some decora_wifi switches that I want to be able to move around
to different rooms within Home Assistant, and for that to be practical,
they need unique IDs, so here we are.

Signed-off-by: Jarod Wilson <jarodwilson@gmail.com>
2022-02-10 17:10:58 +01:00
Paulus Schoutsen dd48f1e6fc
Allow uploading media to media folder (#66143) 2022-02-10 08:03:14 -08:00
J. Nick Koston 0fb2c78b6d
Add RGBW/RGBWW support to WiZ (#66196) 2022-02-10 09:08:33 -06:00
Franck Nijhof 51e14cebe3
Remove Plugwise Auxiliary sensors (#66259) 2022-02-10 15:55:27 +01:00
Franck Nijhof 3896b4a31d
Add additional switches to Plugwise (#66261) 2022-02-10 15:49:19 +01:00
Franck Nijhof 4cad29d7d4
More cleanup in Plugwise binary sensor (#66255) 2022-02-10 11:17:35 +01:00
epenet 47d6f75c17
Enable basic type checking in template (#66222)
* Fix binary_sensor

* Adjust button

* Adjust fan

* Adjust select

* Adjust template_entity

* Adjust trigger_entity

* Adjust weather

* Adjust init

* Adjust number

* Adjust None check
2022-02-10 10:59:54 +01:00
Franck Nijhof 8760cb035a
More cleanup in Plugwise switch (#66254) 2022-02-10 10:17:37 +01:00
epenet ea325ef027
Enable basic type checking in demo platforms (#66212)
* Adjust type hints in demo platforms

* Adjust mypy config

* Adjust name
2022-02-10 10:05:58 +01:00
Franck Nijhof b3814aa4e6
Refactor Plugwise command handling (#66202) 2022-02-10 09:53:26 +01:00
Jan Bouwhuis 678e56b8b7
Mqtt move to .const (#65631) 2022-02-10 09:18:35 +01:00
epenet f17d66228c
Enable basic type checking in demo init (#66218)
* Enable basic type checking in demo init

* Remove from mypy ignore list
2022-02-10 09:04:36 +01:00
Paulus Schoutsen e90143e5c9
Sort media sources (#66237)
* Sort media sources

* Flatten media sources and sort Cast children

* Only expand if possible
2022-02-10 09:03:29 +01:00
Daniel Hjelseth Høyer 3733aa9494
Add more sensors for users with Tibber Pulse (#66201)
* Tibber, Add stats and sensors for homes with real time meter

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber stats

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Monthly peak hour
2022-02-10 08:47:34 +01:00
Raman Gupta 72acda81a7
Simplify get_unique_id helper function for zwave_js (#66221) 2022-02-10 08:46:32 +01:00
Michael 23e39d62d4
bump py-synologydsm-api to 1.0.6 (#66226) 2022-02-10 08:43:48 +01:00
Milan Meulemans 86cf5ec5c2
Bump aioaseko to 0.0.2 to fix issue (#66240) 2022-02-10 08:37:35 +01:00
j-a-n 243d003acc
Add Moehlenhoff Alpha2 underfloor heating system integration (#42771)
* Add Moehlenhoff Alpha2 underfloor heating system integration

* isort changes

* flake8 changes

* Do not exclude config_flow.py

* pylint changes

* Add config_flow test

* correct requirements_test_all.txt

* more tests

* Update test description

* Test connection and catch TimeoutError in async_setup_entry

* Add version to manifest file

* Remove version from manifest file

* Replace tests.async_mock.patch by unittest.mock.patch

* Update moehlenhoff-alpha2 to version 1.0.1

* Update requirements for moehlenhoff-alpha2 1.0.1

* Update moehlenhoff-alpha2 to 1.0.2

* Use async_setup_platforms

* Use async_unload_platforms

* Separate connection and devices for each entry_id

* Use async_track_time_interval to schedule updates

* Check if input is valid before checking uniqueness

* Move Exception handling to validate_input

* Catch aiohttp.client_exceptions.ClientConnectorError

* Remove translation files

* Mock TimeoutError

* Fix data update

* Replace current callback implementation with ha dispatcher

* Return False in should_poll

* Remove unused argument

* Remove CONNECTION_CLASS

* Use _async_current_entries

* Call async_schedule_update_ha_state after data update

* Remove unneeded async_setup

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Remove unneeded async_setup_platform

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Set Schema attribute host required

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Remove unused Exception class

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Update manifest.json

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* pylint constructor return type None

* Replace properties by class variables

* use pass instead of return

* Remove unused sync update method

* remove property hvac_action

* remove pass

* rework exception handling

* Update homeassistant/components/moehlenhoff_alpha2/config_flow.py

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Correct indentation

* catch Exception in validate_input

* Replace HomeAssistantType with HomeAssistant

* Update to moehlenhoff-alpha2 1.0.3

* Allow to switch between heating and cooling mode

* Update moehlenhoff-alpha2 to version 1.0.4

* Update heatarea data after setting target temperature

* Support hvac_action

* Fix heatarea update with multiple bases

* Update data after setting preset mode

* Use custom preset modes like defined by device

* Fix config flow test

* Fix test_duplicate_error

* Rename property to extra_state_attributes

Rename property device_state_attributes to extra_state_attributes and
return lowercase keys in dict.

* Refactor using DataUpdateCoordinator

* Remove _attr_should_poll

* Raise HomeAssistantError on communication error

Catch HTTPError instead of broad except and reraise as HomeAssistantError

* Change DataUpdateCoordinator name to alpha2_base

* Refresh coordinator before setting data

* Raise ValueError on invalid heat area mode

* Rename heatarea to heat_area

* Set type annotation in class attribute

* Move coordinator to top

* Move exception handling to the coordinator

* Use heat_area_id directly

* Sore get_cooling() result into local var

* Add explanation of status attributes

and remove BLOCK_HC

* Fix pylint warnings

* from __future__ import annotations

* Use Platform Enum

* Move data handling to coordinator

* Remove property extra_state_attributes

* Add missing annotations

* Update moehlenhoff-alpha2 to version 1.1.2

* Rework tests based on the scaffold template

* Set also heat/cool/day/night temp with target temp

* Remove unneeded code from tests

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2022-02-10 08:28:52 +01:00
Patrik Lindgren 543b49728a
Fix tradfri device name (#66219) 2022-02-10 08:19:59 +01:00
jjlawren 9fd8428254
Sonos lock subscription actions (#66204)
* Move exception logging to helper

* Wrap subscription in lock

* Rewrite subscribe method to use new logging helper

* Mark entitites as unavailable sooner to avoid unnecessary polls

* Rename unclear method and update docstring

* Move lock to unsubscribe
2022-02-09 21:56:10 -06:00
GitHub Action 7d70b0a16b [ci skip] Translation update 2022-02-10 00:15:56 +00:00
Mick Vleeshouwer d7fcda01b8
Add siren platform to Overkiz (#65300) 2022-02-09 17:36:56 -06:00
jjlawren 47af256610
Schedule activity checks when using manual hosts (#65970) 2022-02-09 16:55:00 -06:00
Kevin Stillhammer 7a1bbb06be
add @eifinger as waze_travel_time codeowner (#66214) 2022-02-09 23:30:29 +02:00
Kevin Stillhammer 604fe3f19b
add @eifinger as google_travel_time_codeowner (#66215) 2022-02-09 23:29:39 +02:00
epenet cc5bb556c8
Move Freebox reboot service to a button entity (#65501)
* Add restart button to freebox

* Add warning

* restart => reboot

* Add button tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-09 22:20:24 +01:00
Franck Nijhof 8a09303c98
Extract Spotify media browsing into a module (#66175) 2022-02-09 22:03:15 +01:00
Paulus Schoutsen 3bce870c6d
Add helper for media players to handle HA hosted media (#66120)
* Sonos to sign all HASS urls

* Don't sign if queries in url

* Extract media player hass URL handling to helper
2022-02-09 12:50:33 -08:00
Maximilian bd657e5dd7
Add missing nina warnings (#66211) 2022-02-09 21:08:46 +01:00
Stephan Traub a6013dc0de
Update WiZ with IP address validation (#66117) 2022-02-09 12:53:32 -06:00
Erik Montnemery 83a10cca53
Enable basic type checking for config (#66197) 2022-02-09 19:09:55 +01:00
Franck Nijhof d4995624ee
Refactor Plugwise notification binary sensor (#66159) 2022-02-09 18:08:28 +01:00
Franck Nijhof aa95150360
Add entity descriptions to Plugwise switch platform (#66174) 2022-02-09 17:56:07 +01:00
Otto Winter 1f4ee3c265
Bump aioesphomeapi from 10.8.1 to 10.8.2 (#66189) 2022-02-09 17:54:27 +01:00
epenet 567f07c96e
Fix hdmi-cec initialization (#66172) 2022-02-09 07:52:32 -08:00
Erik Montnemery 3f7b7187ab
Fix controlling nested groups (#66176) 2022-02-09 14:27:46 +01:00
Franck Nijhof bc9ccf0e47
Add device availability to Plugwise (#66152) 2022-02-09 10:33:06 +01:00
Franck Nijhof 2f08372026
Correct Velbus button light entity category (#66156) 2022-02-09 10:31:58 +01:00
Richard Benson b90434e8d6
Bump amcrest to 1.9.4 (#66124)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-09 10:25:07 +01:00
Franck Nijhof d34c289691
Clean up unneeded preset variable in Plugwise climate (#66151) 2022-02-09 10:23:39 +01:00
Franck Nijhof 924bcdf269
Move Plugewise binary sensor icon state into entity description (#66148) 2022-02-09 10:15:20 +01:00
Michael 95aec44292
Fix system is loaded flag during reboot/shutdown of Synology DSM (#66125) 2022-02-09 10:02:21 +01:00
Maikel Punie d9e9820e21
Move the buttonlights to diagnostic entities (#65423) 2022-02-09 09:50:15 +01:00
Simone Chemelli bfc3c29c6a
Change detection of router devices for Fritz (#65965) 2022-02-09 09:44:04 +01:00
Erik Montnemery da38d9ab80
Fix MQTT debug info (#66146) 2022-02-09 09:43:03 +01:00
Aaron Bach 83b7fac9a4
Bump simplisafe-python to 2022.02.1 (#66140) 2022-02-09 09:20:57 +01:00
Allen Porter 9446b39ae0
Bump google-nest-sdm to 1.7.0 (#66145) 2022-02-09 09:12:49 +01:00
Paulus Schoutsen e6e49dcb07
VLC Telnet to sign all HASS URLs (#66123) 2022-02-08 17:13:14 -08:00
Paulus Schoutsen f2843283bf
Roku to sign all HASS urls (#66122) 2022-02-08 18:55:52 -06:00
GitHub Action fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00:00
Duco Sebel f2fe091979
Allow HomeWizard devices with disabled api to show up in discovery (#65295) 2022-02-08 14:51:28 -08:00
Dave T 5ebc02cef6
Fix generic camera typo in attr_frame_interval (#65390) 2022-02-08 14:47:36 -08:00
Paulus Schoutsen 716a1e2a64
Add camera media source (#65977) 2022-02-08 14:32:02 -08:00
Franck Nijhof b216f6f448
Fix Plugwise notification sensor (#66116) 2022-02-08 14:12:22 -08:00
Franck Nijhof b9f21d4e07
Improve typing of Spotify (#66109)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
Robert Svensson b012b79167
Adapt deCONZ number platform to align with updated design of binary sensor and sensor platforms (#65248)
* Adapt number to align with binary sensor and sensor platforms

* Make number tests easier to expand
2022-02-08 23:03:37 +01:00
Erik Montnemery 911e488d48
Fix ENTITY_CATEGORIES_SCHEMA (#66108)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-08 14:00:53 -08:00
Erik Montnemery 009b31941a
Support restoring SensorEntity native_value (#66068) 2022-02-08 14:00:26 -08:00
Patrik Lindgren f8a84f0101
Add diagnostics for Tradfri platform (#66092)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 22:05:33 +01:00
epenet 86ab500afd
Add Renault hvac sensors (#65993)
* Add hvac sensors to renault

* Adjust fixtures

* Adjust tests

* Use icon_fn

* Use lambda

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-08 22:02:45 +01:00
Erik Montnemery 55d8314093
Fix cleanup of MQTT debug info (#66104) 2022-02-08 12:49:25 -08:00
J. Nick Koston 07b3d23835
Improve wiz performance (#66105) 2022-02-08 21:34:52 +01:00
Sander Jochems d574e54fd8
Fivem code quality improvements (#66086)
* specify config type

* move coordinator outside try block

* rename gamename to game_name

* remove log in __init__

* Remove logging and minify update

* Add types to parameters

* Remove name from device

* Remove update listener

* Remove status icon

* Dont allow duplicate entries

* Use default translation string

* Remove online and port from coordinator
2022-02-08 20:42:55 +01:00
Franck Nijhof dad1dbeb6e
Cleanup hass.data in Plugwise (#66096) 2022-02-08 21:17:49 +02:00
J. Nick Koston d62e9c2b92
Loosen wiz discovery matching (#66095) 2022-02-08 19:57:21 +01:00
Franck Nijhof 41a4d40b71
Reuse existing coordinator entity update in Plugwise platforms (#66079)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 19:54:10 +01:00
Ben Edmunds c93d389544
Bump async-upnp-client to 0.23.5 (#65922) 2022-02-08 20:27:16 +02:00
jjlawren a7fd477c64
Refactor Sonos polling (#65722)
* Refactor Sonos polling

Explicitly rename fallback polling
Catch soco exceptions centrally where possible
Create SonosPollingEntity subclass
Remove unnecessary soco_error fixture argument
Remove unnecessary polling in update_volume()
Adjust log levels and wording
Set explicit timeout on library

* Adjust logging to use raised exceptions

* Simplify availabiliity checks when using built-in poller

* Fix typing for return values
2022-02-08 12:17:05 -06:00
Franck Nijhof 4efebcb86c
Use upstream device information for Plugwise (#66074) 2022-02-08 19:08:01 +01:00
Mick Vleeshouwer 199c8fef40
Fix MyFox Camera Shutter entity in Overkiz integration (#66088) 2022-02-08 17:49:38 +01:00
Allen Porter 6f46d98308
Bump python-nest to 4.2.0 for python 3.10 fixes (#66090) 2022-02-08 08:40:06 -08:00
Mick Vleeshouwer b6ad79e2b8
Update PyOverkiz to 1.3.4 (#66076) 2022-02-08 16:11:05 +01:00
Franck Nijhof 473834acd2
Add myself as codeowner to Plugwise (#66080) 2022-02-08 15:23:11 +01:00
Pablo Ovelleiro Corral 46b7b1ffb3
Increase timeout for InfluxDB v2 connections (#63885)
* Update influxdb timeout

* Update homeassistant/components/influxdb/const.py

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-08 09:20:50 -05:00
AJ Schmidt 37525ae8c3
Remove AlarmDecoder Codeowner (#66078) 2022-02-08 15:14:33 +01:00
Tiernan 2df5060d80
Fix TOD incorrectly determining the state between sunrise and sunset (#65884)
* Fix TOD component incorrectly determining the state between sunrise and sunset (#30199)

* TOD fix

* Comment added

* Review

* Review

* Review

* Update time after day fix workaround for compatibility with
current version.
Only apply fix when using times and not when using sun events.
Add unit test for behaviour.

Co-authored-by: Nikolay Vasilchuk <Anonym.tsk@gmail.com>
2022-02-08 14:26:36 +01:00
Mick Vleeshouwer dcab9a19d6
Remove Overkiz switch platform todo and add 2 devices (#66069) 2022-02-08 14:05:35 +02:00
Eduard van Valkenburg f74706a265
Bump azure-eventhub to 5.7.0 (#66061) 2022-02-08 12:56:24 +01:00
Franck Nijhof 1fc717ed1c
Add diagnostics support to Plugwise (#65982) 2022-02-08 12:43:45 +01:00
Franck Nijhof d12a392767
Update plugwise 0.16.2 (#65933) 2022-02-08 11:13:05 +01:00
Sander Jochems 0ea82bdbfb
Fivem integration (#65089)
* Initial fivem integration setup

* Use licenseKey for unique ID

* Create FiveMServer class

* Create FiveMStatusBinarySensor

* Fix platform loading

* Create sensor platform

* Remove config flow tests

* Update manifest.json

* Use attr_ instead or properties in sensors.py

* Use entry_id as unique_id

* Move device info to _attr instead of property

* Register callback in FiveMEntity

* Create config flow tests

* Add loggin to fivem

* Use FiveM in config_flow

* Use update_coordinator instead of dispatcher

* Bump fivem-api to 0.1.2

* Remove leftovers

* More tests for config flow

* Add component files to .coveragerc

* Fix simple comments

* Add gamename check to config flow

* Use entity descriptions for sensors

* Move extra attributes to init

* Use [] instead of get() for server info

* Fix error in gamename test
2022-02-08 11:27:11 +02:00
Maikel Punie a03d8179d0
Bump velbusaio to 2022.2.3 (#66055) 2022-02-08 09:48:42 +01:00
Raman Gupta 4076ca9641
Fix schema for zwave_js WS API (#66052) 2022-02-07 21:53:48 -08:00
Franck Nijhof 895aee3fb2
Add configuration_url to Plugwise discovery (#66047) 2022-02-08 03:00:41 +01:00
Franck Nijhof 379945860b
Add configuration_url to Octoprint discovery (#66046) 2022-02-08 02:59:38 +01:00
Franck Nijhof 22e379cd54
Add support for mc devices to Tuya (#66044) 2022-02-08 02:56:32 +01:00
starkillerOG f9c81dd00b
Lock Netgear api during setup (#66033) 2022-02-08 02:50:38 +01:00
Patrik Lindgren afd0005a31
Add sensor for filter time left on Tradfri fan platform (#65877)
* Add support for filter time left

* Fix test for fan platform

* Remove debug code

* Add unique id migration tool

* Convert to hours

* Fix tests

* Apply suggestions from code review

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

* Add comment, check migration

* Refactor migration helper

* Refactor migration helper

* Move definition of new unique id

* Return after warning

* Add test for unique id migration

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 02:21:22 +01:00
J. Nick Koston f943f30492
Add discovery support to elkm1 (#65205) 2022-02-07 16:25:26 -08:00
GitHub Action cf70ad10e8 [ci skip] Translation update 2022-02-08 00:15:56 +00:00
jjlawren 36cfa7786d
Clean up Sonos unsubscribe/resubscribe exception handling and logging (#66025) 2022-02-07 16:00:57 -08:00
Erik Montnemery 33623c3fe8
Fix race in MQTT sensor and binary_sensor expire_after (#66040) 2022-02-07 15:47:23 -08:00
Erik Montnemery 39ed628cca
Suppress unwanted error messages during recorder migration (#66004) 2022-02-07 15:46:40 -08:00
J. Nick Koston 95cc677ba6
Fix decoding discovery with old Magic Home firmwares (#66038) 2022-02-07 15:45:50 -08:00
J. Nick Koston 175812d9e1
Fix missing exception catch in august to prevent failed setup (#66045) 2022-02-07 15:45:40 -08:00
Erik Montnemery 7cc6770f83
Revert "Make idle chromecasts appear as idle instead of off" (#66005) 2022-02-07 20:24:30 +01:00
Franck Nijhof 4732e37005
Remove passing loop into sleep in SamsungTV (#66030) 2022-02-07 20:08:54 +01:00
J. Nick Koston 721d711762
Add firmware and hardware version to WiZ (#66017) 2022-02-07 19:23:08 +01:00
G Johansson 480ce84b8a
Improve code quality filesize (#65240) 2022-02-07 11:59:06 -06:00
Erik Montnemery 910b1f1ec8
Speed up deletion of duplicated statistics (#66014) 2022-02-07 09:11:52 -08:00
J. Nick Koston ace74279f1
Move WiZ socket ident to upstream lib (#65958) 2022-02-07 17:44:52 +01:00
Vincent Le Bourlot d82899ed2f
Add title placeholders to overkiz discovery (#65506)
* add gateway_id to the config flow context name.

* obfuscate gateway_id.

* replace const with homeassistant.const.

* Remove obfuscation of gateway_id.

* fix style.

* Add translatable title according to comments

* Update homeassistant/components/overkiz/strings.json

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-07 17:53:05 +02:00
Pedro Lamas ebbe1ff1a2
Cache webostv supported_features state (#65930)
* Cache webostv supported_features state

* Fixes typings

* Restore supported_features attribute on restart

* Reverts change on supported_features initial state

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

* Fixes tests

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-07 17:49:18 +02:00
J. Nick Koston 9c82dcdee7
Add push updates support to WiZ (#65987) 2022-02-07 16:46:00 +01:00
Poltorak Serguei 3c5a667d97
Add Z-Wave.Me integration (#65473)
* Add support of Z-Wave.Me Z-Way and RaZberry server (#61182)

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: LawfulChaos <kerbalspacema@gmail.com>

* Add switch platform to Z-Wave.Me integration (#64957)

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

* Add button platform to Z-Wave.Me integration (#65109)

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix button controller access (#65117)

* Add lock platform to Z-Wave.Me integration #65109 (#65114)

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Add sensor platform to Z-Wave.Me integration (#65132)

* Sensor Entity

* Sensor fixes

* Apply suggestions from code review

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

* Inline descriotion according to review proposal

* State Classes for sensor

* Generic sensor

* Generic sensor

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

* Add binary sensor platform to Z-Wave.Me integration (#65306)

* Binary Sensor Entity

* Update docstring

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

* Add Light Entity platform to Z-Wave.Me integration (#65331)

* Light Entity

* mypy fix

* Fixes, ZWaveMePlatforms enum

* Apply suggestions from code review

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

* Fixes

* Fixes

* Fixes

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

* Add Thermostat platform to Z-Wave.Me integration #65331 (#65371)

* Climate entity

* Climate entity

* Apply suggestions from code review

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

* Climate entity fix

* Clean up

* cleanup

* Import order fix

* Correct naming

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

* Correct zwave_me .coveragerc (#65491)

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: LawfulChaos <kerbalspacema@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-02-07 16:27:11 +01:00
Joakim Sørensen b1015296d9
Add diagnostics to Version integration (#65999)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-07 16:11:04 +01:00
Joakim Sørensen e226cfaeb2
Use strings directly instead of Enums in version config (#66007) 2022-02-07 16:04:18 +01:00
Milan Meulemans 78d2fbb402
Upgrade aionanoleaf to 0.2.0 (#66008) 2022-02-07 14:49:34 +01:00
epenet 486c068111
Allow None on Renault binary sensors (#65997)
* Enable None on renault binary sensors

* Adjust tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-07 15:06:40 +02:00
starkillerOG d81139377c
Add Netgear allow/block switch (#65705)
* add allow/block switch

* keep api private

* typing

* change default to None

* retain None state

* change default to None
2022-02-07 12:00:02 +01:00
Franck Nijhof bd31cfbd40
Add secondary dimmer to dj in Tuya (#65990) 2022-02-07 11:15:28 +01:00
Franck Nijhof 1ae809293f
Add support for qjdcz to Tuya (#65985) 2022-02-07 11:14:48 +01:00
starkillerOG 791b700ac2
bump motionblinds to 0.5.11 (#65988) 2022-02-07 10:57:42 +01:00
rhpijnacker bb762d5b0f
100% code coverage for config_flow of dsmr component (#65238) 2022-02-07 10:48:33 +01:00
Chris Talkington f05caf451e
Small cleanup of sonarr sensor platform (#65962) 2022-02-07 09:53:23 +01:00
Chris Talkington 18ac72f613
Reduce coordinator cooldown for roku (#65973) 2022-02-07 09:03:19 +01:00
jjlawren 211db79f11
Bump plexapi to 4.9.2 (#65972) 2022-02-07 09:56:24 +02:00
Anders Melchiorsen 9e0926f943
Remove LIFX devices with no entities (#65964) 2022-02-07 08:19:32 +01:00
Chris Talkington 0321f208ff
Address late review from #65814 for roku (#65967) 2022-02-06 19:13:01 -06:00
GitHub Action 2772437a2b [ci skip] Translation update 2022-02-07 00:14:20 +00:00
Teemu R fd7e2e76e7
Add tplink diagnostics (#65822) 2022-02-06 16:50:44 -06:00
Michael 4cd00a1a6f
remove EntityCategory from home_mode switch (#65949) 2022-02-07 00:41:02 +02:00
Paulus Schoutsen f820806e3c
Remove duplicate methods from Frtiz (#65956) 2022-02-06 14:38:26 -08:00
Teemu R f4ebb03bab
Add tplink hardware version to device info (#65951)
* Add tplink hardware version to device info

* Update mocks

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-07 00:37:54 +02:00
Marc Mueller c28821aeca
Remove unused temp_unit attr [sensibo] (#65953) 2022-02-07 00:34:23 +02:00
Michael dc65c621ed
check wan access type (#65389) 2022-02-06 14:17:10 -08:00
ollo69 341d039252
Improve androidtv mac address handling and test coverage (#65749)
* Better mac addr handling and improve test coverage

* Apply suggested changes

* Apply more suggested changes
2022-02-06 14:15:50 -08:00
Sean Vig 50525e25b6
Fix Amcrest service calls (#65717)
Fixes #65522
Fixes #65647
2022-02-06 14:14:44 -08:00
Allen Porter ddd198de37
Fix legacy nest diagnostics to return empty rather than fail (#65824)
Fix legacy nest diangostics to return gracefully, rather than a TypError
by checking explicitiy for SDM in the config entry. Update diagnostics
to use the common nest test fixture, and extend with support for the
legacy nest config. Use the sdm test fixture in the existing legacy
tests so they all share the same config files.
2022-02-06 14:14:25 -08:00
Maciej Bieniek 6d37979e10
Fix wind speed unit (#65723) 2022-02-06 14:13:05 -08:00
J. Nick Koston 41f602c3df
Fix loss of ability to control white channel in HomeKit on RGB&W lights (#65864)
* Fix loss of ability to control white channel in HomeKit on RGB&W lights

- Fix white channel missing from RGB/W lights

- Fix temp missing from RGB/CW lights

- Fixes #65529

* cover the missing case

* bright fix

* force brightness notify on color mode change as well
2022-02-06 14:12:30 -08:00
Milan Meulemans b1dcf7e0d8
Add DataUpdateCoordinator to Nanoleaf (#65950) 2022-02-06 16:11:52 -06:00
Michael 275d4b9770
Improve device shutdown and unload of Synology DSM integration (#65936)
* ignore errors during unload/logout

* automatic host update is an info, nut debug
2022-02-06 14:02:31 -08:00
J. Nick Koston 62da194340
Add diagnostics support to HomeKit (#65942)
* Add diagnostics support to HomeKit

* remove debug
2022-02-06 14:02:07 -08:00
Jens Østergaard Nielsen e7d725e810
Ihc integration, move manual setup out of init.py (#65087)
* Move manual setup out of init.py

* Type hints on additional parameters

* Complete missing  typings
2022-02-06 13:42:15 -08:00
Alex Yao 88309a26b7
Fix Yeelight Music Mode Rate Limits (#64891) 2022-02-06 15:34:27 -06:00
Diego Elio Pettenò c6aa526469
Support songpal wireless-only soundbar identifiers (#65330)
As shown in #64868, a number of newer models don't come wiht a macAddr
attributes, so for those fall back to the wireless address.

This could be hidden by the python-songpal library but for now this will
make it possible to have multiple modern songpal devices on the same
network.
2022-02-06 22:33:58 +01:00
Joakim Sørensen 63d3a47599
disabled_by can be None when updating devices (#65934) 2022-02-06 20:23:31 +01:00
Niels AD ccdf182d31
rfxtrx: Add command_on/command_off support for pt2262 switch entities (#65798) 2022-02-06 19:39:57 +01:00
Franck Nijhof c41ec6f941
SensorEntityDescriptions for Plugwise (#65898) 2022-02-06 12:19:57 -06:00
ollo69 900c793c3a
Add diagnostics support for Nut (#65893) 2022-02-06 12:00:39 -06:00
Sander Huisman e7dfc89452
Add unique ID to InfluxDB sensor (#65518) 2022-02-06 18:40:37 +01:00
jjlawren b02a030336
Fix Spotify, Tidal, Apple Music playback on Sonos groups (#65838) 2022-02-06 18:37:23 +01:00
Christopher Masto 6d4df93bc7
Correct description of entity_globs (#65805) 2022-02-06 18:36:38 +01:00
M. Frister 9597ed3f8a
Bump soco to 0.26.2 (#65919) 2022-02-06 18:17:41 +01:00
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