Commit Graph
47034 Commits
Author SHA1 Message Date
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
Erik Montnemery 3d212b868e Address review comments on switch_as_x tests (#67951)
* Address review comments on switch_as_x tests

* Correct test

* Move test instead of duplicating it
2022-03-10 17:23:16 +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
epenetandepenet 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
Shay Levy eee0c5372c Use import instead of hass in Shelly tests (#67909) 2022-03-09 19:29:20 +01:00
Erik Montnemery e02c21a4de Remove unused constant from group (#67910) 2022-03-09 16:45:09 +01:00
Franck Nijhof a8ad9fc5f4 Mock Radio Browser entry setup in onboarding tests (#67905) 2022-03-09 06:41:14 -08: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
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
epenetandepenet 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 BoerandPaulus Schoutsen 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 BouwhuisandErik Montnemery 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
epenetandepenet 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