Commit Graph

36809 Commits (b664bcd0070fc19a4c92021c3ce469ae60f4d737)

Author SHA1 Message Date
Erik Montnemery 34eb4aa2d0
Exclude hidden entities from targets (#68149) 2022-03-15 08:42:22 -07:00
Erik Montnemery 8ea31cea3a
Fix deadlock when stopping queued script (#68175) 2022-03-15 08:29:04 -07:00
Marc Mueller cdd23abea7
Add missing await [velbus] (#68153) 2022-03-15 15:57:36 +01:00
Marc Mueller aabf46b1b3
Fix point by adding authlib constraint (#68176)
* Fix point by pinning authlib

* Use constraint
2022-03-15 15:56:08 +01:00
Marc Mueller db4b69663f
Fix met TypeVar usage (#68152)
* Fix met TypeVar usage

* Change format_condition
2022-03-15 15:53:40 +01:00
Erik Montnemery 1a27025793
Prevent spawning script runs when shutting down (#68170) 2022-03-15 12:46:58 +01:00
Franck Nijhof f7cb10e2f5
Update twentemilieu to 0.6.0 (#68171) 2022-03-15 12:05:15 +01:00
Numa Perez fa1394ff47
Fix lyric climate (#67018)
* Fixed the issues related to auto mode

I was having the same issues as described in #63403, specifically, the error stating that Mode 7 is not valid, only Heat, Cool, Off when trying to do anything while the thermostat is set to Auto. This error originates with the way the Lyric API handles the modes. Basically, when one queries the changeableValues dict, you get a mode=Auto, as well as a heatCoolMode, which is set to either Heat, Cool, Off. Per the documentation, heatCoolMode contains the "heat cool mode when system switch is in Auto mode". It would make sense that when changing the thermostat settings, mode=Auto should be valid, but it's not. The way the API understands that the mode should be set to Auto when changing the thermostat settings is by setting the autoChangeoverActive variable to true, not the mode itself. This require changes in the async_set_hvac_mode, async_set_temperature, and async_set_preset_mode functions. Related to this issue, I got rid of the references to hasDualSetpointStatus, as it seems that it always remains false in the API, even when the mode is set to auto, so again, the key variable for this is autoChangeoverActive.

While I was working on this I also noticed another issue. The support flag SUPPORT_TARGET_TEMPERATURE_RANGE had not been included, which did not allow for the temperature range to be available, thus invalidating the target_temperature_low and target_temperature_high functions. I added this flag and sorted out which set point (heat vs cool) should be called for each of them so things work as expected in Lovelace. I have tested all of these functionalities and they all work great on my end, so I thought I'd share.

* Update climate.py

* Update climate.py

Fixed two additional issues: 1) When the system is turned off from Auto, the heatCoolMode variable becomes 'Off', so when you try to restart the system back to Auto, nothing happens. 2) I now prevent the async_set_temperature function from being called with a new set point when the system is Off.
All changes tested and functional.

* Update climate.py

* Update climate.py

Return SUPPORT_PRESET_MODE flag only for LCC models (i.e. they have the "thermostatSetpointStatus" variable defined). TCC models do not support this feature

* Update climate.py

After playing with the official Honeywell API, I realized it doesn't like to received commands with missing data, i.e., it always wants to get a mode, coolSetpoint, heatSetpoint, and autoChangeoverActive variables. This was causing some random issues with changing modes, especially from coming from off, so I modified the async_set_temperature, and async_set_hvac_mode fuctions to always send all pertinent variables.

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Clean code and test everything

Alright, sorry for the multiple commits, fixing this properly took a fair bit of testing. I went ahead and cleaned up the code and made the following big picture changes: 
1) The integration now supports the Auto mode appropriately, to include the temperature range. 
2) There's a bug that actually manifests when using the native app. When the system is 'Off' and you try to turn it on to 'Auto', it will turn on briefly but will go back to 'Off' after a few seconds. When checking the web api, this appears to be related to the fact that the heatCoolMode variable seems to continue to store 'Off', even if the mode accurately displays 'Auto', and the autoChangeoverActive=True. So to overcome that inherent limitation, when the system is 'Off' and the user turns it to 'Auto', I first turn it to Heat, wait 3 seconds, and then turn it to 'Auto', which seems to work well.

* Update climate.py

* Fixed errors

* Fixed comments that were resulting in error.

* Update climate.py

* Update homeassistant/components/lyric/climate.py

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

* Update homeassistant/components/lyric/climate.py

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

* Update climate.py

I removed a blank line in 268 and another one at the end of the document. I also fixed the outdents of await commands after the _LOGGER.error calls, not sure what else may be driving the flake8 and black errors. Any guidance is much appreciated @MartinHjelmare

* Update climate.py

* Update climate.py

corrected some indents that I think were the culprit of the flake8 errors

* Update climate.py

I used VS Code to fix locate the flake8 errors. I ran black on it, so I'm hoping that will fix the last lingering black error.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-15 10:59:18 +01:00
Robert Svensson 283f4555a4
Fix deconz typing (#68143) 2022-03-15 10:51:26 +01:00
Marc Mueller 376ac1bd83
Don't import TypeVars from core modules (#68154) 2022-03-15 09:30:55 +01:00
Marc Mueller 7ab9e5cf0f
Improve sonos error decorator typing (#67199) 2022-03-15 09:24:52 +01:00
Tom 66f506557f
Prevent adding plugwise products used as secondary controllers (#68098)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-15 08:53:53 +01:00
Per Öberg 7615f138d9
Clean up code for onewire config flow (#67970)
* Change debug level of integration reload after config update to debug

* Remove extra .keys() call for dict itreation

* Remove unecessary type check

* Remove unused LOGGER reference
2022-03-15 08:26:54 +01:00
Marc Mueller ef71ab04ad
Remove unused TypeVars (#68155) 2022-03-15 08:24:13 +01:00
epenet 125ab5eb2b
Handle ConnectionClosed in SamsungTV try_connect (#68125)
* Handle ConnectionClosed in SamsungTV try_connect

* Add tests

* Add quotes around the error message

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-15 08:20:24 +01:00
Allen Porter 7876ffe9e3
Update google calendar integration with a config flow (#68010)
* Convert google calendar to config flow and async

* Call correct exchange method

* Fix async method and reduce unnecessary diffs

* Wording improvements

* Reduce unnecessary diffs

* Run load/update config from executor

* Update homeassistant/components/google/calendar.py

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

* Remove unnecessary updating of unexpected multiple config entries.

* Remove unnecessary unique_id checks

* Improve readability with comments about device code expiration

* Update homeassistant/components/google/calendar.py

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

* Update homeassistant/components/google/calendar.py

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

* Update homeassistant/components/google/api.py

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

* Add comment for when code is none on timeout

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-15 07:51:02 +01:00
Benjamin 4988c4683c
Bump volkszahler to 0.3.2 (#67958)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-15 00:33:08 +01:00
J. Nick Koston 9d6e1ab0e5
Ensure flux_led is reloaded when the title changes (#68146) 2022-03-14 22:55:52 +01:00
J. Nick Koston 59c4c75915
Ensure WiZ is reloaded on title change (#68147) 2022-03-14 22:52:27 +01:00
Paulus Schoutsen a9fd744247
Add media source support to unifiprotect (#67570) 2022-03-14 10:16:22 -10:00
Erik Montnemery 7fc0ffd5c5
Restore state of trigger based template binary sensor (#67538) 2022-03-14 12:28:55 -07:00
Paulus Schoutsen a109889f13
Add media source support to openhome (#67566) 2022-03-14 12:14:21 -07:00
Erik Montnemery 314175135f
Hide switch_as_x tracked entity (#67949)
* Hide switch_as_x tracked entity

* Hide wrapped switch during config flow

* Allow setting/getting entity disabled by via WS

* Adjust tests

* Improve test coverage

* Improve tests
2022-03-14 19:39:07 +01:00
J. Nick Koston 8a8d7741d5
Fix Magic Home devices with multiple network interfaces (#68029) 2022-03-14 19:38:54 +01:00
Gido 0e602dd390
Bump Rova to 0.3.0 (#67688) 2022-03-14 19:37:34 +01:00
Robert Svensson bff91b170f
Complete typing of some platforms of deCONZ integration (#67494) 2022-03-14 19:34:05 +01:00
Shay Levy 2a538f6ae1
Downgrade SSDP failed to setup listener warning to debug (#68129) 2022-03-14 19:14:45 +01:00
Franck Nijhof ed6466f706
Add Lock platform to Switch as X (#68123)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-14 10:45:45 -07:00
Robert Svensson 4506d45345
Add typing of deconz_event (#67497) 2022-03-14 17:40:58 +01:00
Robert Svensson 362191a0e6
Add typing of deCONZ device_trigger (#67496) 2022-03-14 17:37:48 +01:00
Sean Vig 38306417ad
Bump amcrest version to 1.9.7 (#68055) 2022-03-14 17:36:16 +01:00
Franck Nijhof 57c33a5cf0
Remove deprecated OpenZWave integration (#68054) 2022-03-14 17:33:04 +01:00
Franck Nijhof 344537d0a8
Add Fan platform to Switch as X (#68122) 2022-03-14 15:07:21 +01:00
Franck Nijhof ed6c86a281
Add siren platform to Switch as X (#68118)
* Add siren platform to Switch as X

* Clarify inline test documentation

* Clarify inline test documentation
2022-03-14 13:55:06 +01:00
Jan Bouwhuis c8fb86a8ed
Fix MQTT false positive deprecation warnings (#68117) 2022-03-14 12:39:44 +01:00
Franck Nijhof c70c699af0
Add cover platform to Switch as X (#68107) 2022-03-14 11:59:55 +01:00
Franck Nijhof 6aacaa744e
Only create WLED current sensors when available (#68116) 2022-03-14 11:49:16 +01:00
Jeef cea21a00b3
Add intellifire UDP discovery at configuration start (#67002)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-13 20:58:55 -10:00
G Johansson 8e76948297
Add binary_sensor platform for Sensibo (#68088) 2022-03-13 20:58:34 -10:00
J. Nick Koston b18096fc54
Remove unused columns from states/events tables (#68078) 2022-03-13 23:44:55 -07:00
G Johansson a6c189b450
Add Pure devices to Sensibo (#67695) 2022-03-13 14:30:37 -10:00
GitHub Action 65821f9492 [ci skip] Translation update 2022-03-14 00:21:06 +00:00
Dmitry Kosenkov 0b1663b150
Update slixmpp to 1.8.0.1 (#68080)
fix for python 3.10
2022-03-13 19:40:09 +01:00
Tom b138a759b6
Update plugwise module to 0.16.8 (#68082) 2022-03-13 19:37:59 +01:00
Franck Nijhof 25f2e4bd99
Small improvements for Switch as X (#68079)
* Small improvements forr Switch as X

* Test improvements

* Remove intregration tests from config flow test
2022-03-13 19:34:02 +01:00
Mike Fugate 4ea921e57a
Clean up SleepIQ migration (#68092) 2022-03-13 17:27:45 +01:00
J. Nick Koston bfb8765752
Bump pyisy to 3.0.5 (#68069)
* Bump pyisy to 3.0.4

- Fixes #66003

- Changelog: https://github.com/automicus/PyISY/compare/v3.0.1...v3.0.4

* again
2022-03-13 16:33:55 +02:00
Frank 334fa33fab
Update home_connect to 0.7.0 (#68089) 2022-03-13 16:31:57 +02:00
Franck Nijhof 693e9caa32
Update wled to 0.13.1 (#68084) 2022-03-13 14:03:52 +02:00
Franck Nijhof f5e43d99e4
Update google-cloud-texttospeech to 2.11.0 (#68076) 2022-03-12 22:54:41 -10:00
Franck Nijhof 89cf914d3f
Update sentry-sdk to 1.5.7 (#68077) 2022-03-12 22:54:23 -10:00
Franck Nijhof 36acb09cae
Update sqlalchemy to 1.4.32 (#68075) 2022-03-12 22:52:47 -10:00
Franck Nijhof cd3f931ded
Add base entity to Switch as X (#68057) 2022-03-13 00:04:00 -08:00
Christopher Thornton 4ea0f7d321
Default somfy_mylink shade's _attr_is_closed to `None` (#68053)
The base `Cover` entity requires an explicit value for
`_attr_is_closed`.

Since the `SomfyShade` is an assumed state, we don't know
by default whether the shade is open or not, so we need to
explicitly return `None` for `_attr_is_closed`
2022-03-13 08:46:35 +01:00
Allen Porter d4d47faabb
Update google-cloud-pubsub to 2.11.0 (#68074) 2022-03-13 08:04:08 +01:00
Brandon Rothweiler 0bd65db31c
Add switch platform to the Mazda integration (#68025) 2022-03-12 16:32:35 -10:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
Steve Easley a2ce395fc6
Add remote platform to Kaleidescape integration (#67959) 2022-03-12 14:10:45 -10:00
Paulus Schoutsen a911139c08
Bump frontend to 20220312.0 (#68061) 2022-03-12 15:05:31 -08:00
Mike Fugate e59bf4f3af
Migrate SleepIQ unique IDs that are using sleeper name instead of sleeper ID (#68062) 2022-03-12 12:54:26 -10:00
Paulus Schoutsen a902f0ee53
Fix switch light adding itself to devices (#68060) 2022-03-12 13:53:40 -08:00
J. Nick Koston ea6da674df
Remove unneeded permissions check from subscribe entities (#68044) 2022-03-12 13:30:27 -08:00
G Johansson 03a155af83
Add sensors to Sensibo for motion sensor (#67748) 2022-03-12 10:45:24 -10:00
Shay Levy eccf8c76fd
Fix Shelly EM/3EM invalid energy value after reboot (#68052) 2022-03-12 22:21:45 +02:00
Mike Fugate 6831be67f4
Add number entities to control SleepIQ actuator positions (#67770) 2022-03-12 09:58:03 -10:00
J. Nick Koston 8e3454e46a
Remove legacy compatiblity for camera platforms that do not support width/height (#68039)
- async_camera_image or camera_image must accept the width and
  height arguments
2022-03-12 20:47:14 +02:00
Sean Vig 6124081ddc
Fix turning amcrest camera on and off (#68050) 2022-03-12 20:42:28 +02:00
Jesse Hills de31e576b7
Bump python-juicenet to 1.1.0 (#67992) 2022-03-12 19:52:41 +02:00
Shay Levy 083d51a727
Cleanup - move Shelly logger to const (#68046) 2022-03-12 14:43:57 +02:00
jan iversen 1a79118600
Fix modbus reload service (#68040)
* Fix modbus reload service.

* Please coverage.

* Resolve difference between local pytest and github.
2022-03-12 14:12:38 +02:00
J. Nick Koston a851921fe6
Filter IPv6 addresses from doorbird discovery (#68031) 2022-03-12 02:09:02 -10:00
J. Nick Koston 68310a426b
Small code quality improvements for subscribe_entities (#68026) 2022-03-12 02:07:01 -10:00
Franck Nijhof 0070e27c04
Remove deprecated PCAL9535A I/O Expander integration (#67274) 2022-03-12 04:05:22 -08:00
Franck Nijhof 2bb5573ddc
Remove deprecated PiFace Digital I/O (PFIO) integration (#67282) 2022-03-12 04:04:46 -08:00
Davor Val Vega d41eeaa88b
Add Home Connect pre-rinse capability for a dishwasher (#63536) 2022-03-12 12:38:43 +01:00
Franck Nijhof 0467dc55fe
Add config flow to Uptime (#67408) 2022-03-12 12:36:08 +01:00
epenet 23b8229143
Adjust ms.remote.control error logging in SamsungTV (#67988)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-12 01:20:04 -10:00
J. Nick Koston 0d8f649bd6
Websocket api to subscribe to entities (payloads reduced by ~80%+ vs state_changed events) (#67891) 2022-03-11 20:54:49 -08:00
Robert Svensson 6526b4eae5
Add typing to deconz_device (#67501) 2022-03-11 20:35:25 -08:00
Hmmbob c8351387d7
Print client error in rest_command (#67900) 2022-03-11 20:34:06 -08:00
Joakim Sørensen c5800d6103
Split out sync functions in backup manager (#67428) 2022-03-11 20:32:05 -08:00
J. Nick Koston d3deae6288
Fix typing on Context.user_id (#68019) 2022-03-11 20:31:03 -08:00
Robert Hillis 09944d936d
Clean up Efergy (#67755)
* Clean up Efergy

* tweak
2022-03-11 20:29:18 -08:00
Joakim Plate 09a85d2a5d
Add basic rfxtrx diagnostics (#67671)
* Add basic rfxtrx diagnostics

* Skip diagnostics for coverage
2022-03-11 20:27:08 -08:00
starkillerOG 03ec77fb62
Motion blinds support direct wifi blinds (#67372)
* bump motionblinds to 0.6.0

* fix unknown type

* fix name for wifi direct blinds

* push motionblinds to 0.6.1

* fix RSSI sensor

* Do not add singnal sensor twice for direct WiFi blinds

* fix device registry

* fix typo

* missing import

* fix styling

* fix spelling
2022-03-11 20:13:46 -08:00
Brandon Rothweiler 5d2a65bb21
Add binary sensors to Mazda integration (#64604) 2022-03-11 16:32:47 -10:00
G Johansson c4b3e2b9cd
Add select entity to Sensibo (#67741) 2022-03-11 16:23:24 -10:00
GitHub Action dc31f420ed [ci skip] Translation update 2022-03-12 00:17:47 +00:00
jjlawren 80ff497cfc
Rework available Sonos sources (#67931) 2022-03-11 15:57:57 -08:00
Marc Mueller 41df798375
Bump mypy to 0.940 (#68007) 2022-03-11 15:57:38 -08:00
Diogo Gomes 380f04277e
Bump pymediaroom (#68016) 2022-03-11 15:45:29 -08:00
jan iversen d2e5c85429
Remove pragma from discover check. (#68002) 2022-03-11 19:58:18 +02:00
Guido Schmitz 4de59b065a
Bump pysabnzbd to 1.1.1 (#67971) 2022-03-11 09:24:08 -08:00
jan iversen 306498378c
Coverage 100% of Modbus climate (#67396)
* Coverage 100% of climate.py

* Allow 100% test.
2022-03-11 19:14:40 +02:00
Artem Draft bc2aaedcec
Add DeviceClass TV to LG Netcast (#67999) 2022-03-11 17:59:45 +01:00
Paulus Schoutsen 49b642a6ba
Log device IP sending local msg (#67987) 2022-03-11 07:50:44 -08:00
Erik Montnemery 8948bada58
Add switch_as_x entity to wrapped switch's device (#67961) 2022-03-11 09:46:32 +01:00
GitHub Action 66d757115c [ci skip] Translation update 2022-03-11 00:21:48 +00:00
Erik Montnemery e43c8b513e
Listen to entity registry events for wrapped switch in switch_as_x (#67962)
* Listen to entity registry events for wrapped switch in switch_as_x

* Simplify test
2022-03-10 21:26:35 +01:00
Thomas Schamm 62e3563752
Bumped to boschshcpy==0.2.30 (#67965) 2022-03-10 20:43:43 +02:00
Erik Montnemery 65fbcfa0ba
Prevent recursive script calls from deadlocking (#67861)
* Prevent recursive script calls from deadlocking

* Address review comments, improve tests

* Tweak comment
2022-03-10 19:28:00 +01:00
Tom Harris 14b5847da8
Rollback pyinsteon (#67956) 2022-03-10 17:50:36 +02:00
Erik Montnemery ee38dbd698
Add helper to set name of helper config entries (#67950) 2022-03-10 16:18:26 +01:00
Erik Montnemery 4e7d4db7ae
Align selectors with frontend updates (#67906)
* Align selectors with frontend updates

* Drop metadata from MediaSelector selection

* Adjust blueprint tests

* Address review comments

* Add tests for new selectors

* Don't stringify input

* Require min+max for number selector in slider mode

* vol.Schema does not like static methods

* Tweak
2022-03-10 16:17:59 +01:00
Steve Easley ab4aa835d1
Add sensor platform to Kaleidescape (#67884) 2022-03-10 09:15:53 -06:00
Steve Easley 245f55edf4
Removed unused const (#67932) 2022-03-10 08:30:11 -06:00
epenet 86b775e46a
Use generic SamsungTVBridge for SamsungTV type hints (#67942)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-10 07:48:30 -06:00
Erik Montnemery cb7e492e81
Add switch_as_x integration (#67878)
* Add switch_as_x integration

* Address review comments

* Add translation strings

* Rename entity_type option to target_domain

* Move LightSwitch class definition to switch_as_x/light.py

* Update manifest

* Move tests
2022-03-10 12:23:01 +01:00
Erik Montnemery 5ae48bcf74
Add config flow for binary_sensor group (#67802)
* Add config flow for binary_sensor group

* Address review comments

* Remove device class selection from flow

* Update translation strings
2022-03-10 10:39:51 +01:00
Erik Montnemery e5523ef6b6
Correct local import of paho-mqtt (#67944)
* Correct local import of paho-mqtt

* Remove MqttClientSetup.mqtt class attribute

* Remove reference to MqttClientSetup.mqtt
2022-03-10 10:32:49 +01:00
Kevin Stillhammer f803c880ae
Correct type for convert_time_to_isodate (#67846) 2022-03-10 07:21:22 +01:00
GitHub Action d0afc31063 [ci skip] Translation update 2022-03-10 00:17:10 +00:00
J. Nick Koston aaeaed4117
Compatibility for "device_state_attributes" which was deprecated in 2021.4 has been removed (#67837)
* Small performance tweaks to _async_write_ha_state

- Only call self.available once per cycle

- Only call self.device_state_attributes once per update cycle

- Do not check for device_state_attributes if extra_state_attributes is not None

* drop backcompat

* remove prop
2022-03-09 21:39:43 +01:00
Álvaro Fernández Rojas 542c3cbf90
Address late Airzone PR comments and fix Fahrenheit temperatures (#67904)
* airzone: address late PR comments

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone: fix fahrenheit temperatures

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone: add changes suggested by @MartinHjelmare

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-03-09 20:51:39 +01:00
Marc Mueller cc11562fa2
Bump volvooncall to 0.10.0 (#67918) 2022-03-09 21:31:27 +02:00
Franck Nijhof 9f12ee7b2d
Update radios to 0.1.1 (#67902) 2022-03-09 11:22:10 -08:00
Joakim Plate 251691f5b7
Make sure blueprint cache is flushed on script reload (#67899) 2022-03-09 11:21:31 -08:00
Erik Montnemery e02c21a4de
Remove unused constant from group (#67910) 2022-03-09 16:45:09 +01:00
escoand 3dc100e816
Removing myself from Samsung TV codeowners (#67903) 2022-03-09 14:42:00 +01:00
Erik Montnemery e7fba46a06
Refactor helper_config_entry_flow (#67895) 2022-03-09 13:18:19 +01:00
Raman Gupta 2791cd68c2
Timer code cleanup (#67604) 2022-03-09 10:42:07 +01:00
J. Nick Koston 723dcbafca
Complete fan speed transition from #59781 (#67743) 2022-03-09 10:38:12 +01:00
Poltorak Serguei c6952a0ee3
Add Siren to Z-Wave.Me integration (#67200)
* Siren integration

* Clean up

Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-09 09:09:29 +01:00
cheng2wei 36385396b0
Fix discord embed class initialization (#67831) 2022-03-08 20:01:00 -08:00
Brandon Rothweiler 2fc100926f
Add button entities to Mazda integration (#67597) 2022-03-09 04:16:07 +01:00
GitHub Action 6af9c897e4 [ci skip] Translation update 2022-03-09 00:19:01 +00:00
Álvaro Fernández Rojas 8549e31b27
Add Airzone HVAC Zoning Systems (#67666) 2022-03-08 22:28:39 +01:00
epenet 9ab56bd5c8
Allow discovery to update invalid unique_id in SamsungTV (#67859)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 22:27:53 +01:00
Allen Porter 8adcd10f55
Make google calendar loading API centric, not loading from yaml (#67722)
* Make google calendar loading API centric, not loading from yaml

Update the behavior for google calendar to focus on loading calendars based on the
API and using the yaml configuration to override behavior. The old behavior was
to first load from yaml, then also load from the API, which is atypical.

This is pulled out from a larger change to rewrite calendar using async and config
flows.

Tests needed to be updated to reflect the new API centric behavior, and changing
the API call ordering required changing tests that exercise failures.

* Update to use async_fire_time_changed to invoke updates
2022-03-08 21:56:49 +01:00
Shay Levy 98256746d3
Fix shelly duo scene restore (#67871) 2022-03-08 09:56:57 -08:00
Richard de Boer 7323ad2799
Support playing local "file" media on Kodi (#67832)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-03-08 07:56:15 -08:00
uvjustin accc4fda28
Bump PyAV to v9.0.0 (#67848) 2022-03-08 07:53:17 -08:00
Jan Bouwhuis e574a3ef1d
Add MQTT notify platform (#64728)
* Mqtt Notify service draft

* fix updates

* Remove TARGET config parameter

* do not use protected attributes

* complete tests

* device support for auto discovery

* Add targets attribute and support for data param

* Add tests and resolve naming issues

* CONF_COMMAND_TEMPLATE from .const

* Use mqtt as default service name

* make sure service  has a unique name

* pylint error

* fix type error

* Conditional device removal and test

* Improve tests

* update description has_notify_services()

* Use TypedDict for service config

* casting- fix discovery - hass.data

* cleanup

* move MqttNotificationConfig after the schemas

* fix has_notify_services

* do not test log for reg update

* Improve casting types

* Simplify obtaining the device_id

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

* await not needed

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

* Improve casting types and naming

* cleanup_device_registry signature change and black

* remove not needed condition

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-08 16:27:18 +01:00
Thomas Schamm 13ac6e62e2
Remove bosch_shc switch surplus toggle method (#67851) 2022-03-08 12:53:41 +01:00
epenet d12118a425
Fix reauth trigger in SamsungTV (#67850)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 11:02:00 +01:00
Shay Levy 2d4d18ab90
Add Shelly gen2 cover support (#67705)
* Add Shelly gen2 cover support

* Make status property
2022-03-08 11:58:08 +02:00
Thomas Schamm 0b7b1baf30
Add switch platform to bosch_shc integration (#62315)
* Add support for switch platform.

* Add untested files to .coveragerc.

* Differ between Light Switch and Smart Plug.
Bumped to boschshcpy==0.2.27

* Removed duplicated code.
Fixed suggestions from code review.

* Fixed pylint errors

* Fix pylint issue.

* Add property statement

* Fixed wrong attribute access

* Apply suggestions from code review

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

* Move switch function to base class.
Changes from code review.

* Apply suggestions from code review

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

* Merged camera switch into SHCSwitch class

* Type hint

* Removed deprecated sensor entities in switch device.
Added routing switch entity.

* Apply suggestions from code review

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

* Icon and EntityCategory as class attributes

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-03-08 10:35:29 +01:00
J. Nick Koston bfe94f1cc5
Fix profiler dumping object when repr fails (#67674)
* Fix profiler dumping object when repr fails

* cover
2022-03-08 10:33:08 +01:00
J. Nick Koston ee38203e1d
Add missing callback decorator to sun (#67840) 2022-03-08 10:16:41 +01:00
epenet 36049ac514
Batch send commands in SamsungTV (#67847)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 10:10:17 +01:00
Raman Gupta e199be6391
Bump zwave-js-server-python to 0.35.2 (#67839) 2022-03-08 09:44:39 +01:00
epenet 6da38d67ff
Simplify SSDP discovery in SamsungTV (#67843)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:54:03 +01:00
Lester Lo 56abd5f2cf
Add homekit pm type sensor (#46060)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 08:37:20 +01:00
epenet e1b57d83c7
Adjust config entry matching in SamsungTV (#67842)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:30:11 +01:00
epenet 6f38eda114
Adjust power_off for TheFrame in SamsungTV (#67841)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:20:58 +01:00
epenet 5b23b9a617
Adjust get_mac routine in SamsungTV (#67804)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:54:12 +01:00
epenet 2d4ccddd99
Fix SSDP unique id in SamsungTV config flow (#67811)
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 07:53:59 +01:00
epenet 8260767e8f
Enable basic type checking in upnp (#66253)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:51:23 +01:00
epenet 1793c29fac
Move key sequences to bridge in SamsungTV (#67762)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:46:34 +01:00
Aaron Godfrey d302b0d14e
Fix todoist parsing due dates for calendar events (#65403) 2022-03-07 22:00:39 -08:00