Commit Graph
47010 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub 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 RojasandGitHub 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 MuellerandGitHub cc11562fa2 Bump volvooncall to 0.10.0 (#67918) 2022-03-09 21:31:27 +02:00
Franck NijhofandGitHub 9f12ee7b2d Update radios to 0.1.1 (#67902) 2022-03-09 11:22:10 -08:00
Joakim PlateandGitHub 251691f5b7 Make sure blueprint cache is flushed on script reload (#67899) 2022-03-09 11:21:31 -08:00
Shay LevyandGitHub eee0c5372c Use import instead of hass in Shelly tests (#67909) 2022-03-09 19:29:20 +01:00
Erik MontnemeryandGitHub e02c21a4de Remove unused constant from group (#67910) 2022-03-09 16:45:09 +01:00
Franck NijhofandGitHub a8ad9fc5f4 Mock Radio Browser entry setup in onboarding tests (#67905) 2022-03-09 06:41:14 -08:00
escoandandGitHub 3dc100e816 Removing myself from Samsung TV codeowners (#67903) 2022-03-09 14:42:00 +01:00
Erik MontnemeryandGitHub e7fba46a06 Refactor helper_config_entry_flow (#67895) 2022-03-09 13:18:19 +01:00
Raman GuptaandGitHub 2791cd68c2 Timer code cleanup (#67604) 2022-03-09 10:42:07 +01:00
J. Nick KostonandGitHub 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
cheng2weiandGitHub 36385396b0 Fix discord embed class initialization (#67831) 2022-03-08 20:01:00 -08:00
Brandon RothweilerandGitHub 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 RojasandGitHub 8549e31b27 Add Airzone HVAC Zoning Systems (#67666) 2022-03-08 22:28:39 +01:00
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 PorterandGitHub 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 LevyandGitHub 98256746d3 Fix shelly duo scene restore (#67871) 2022-03-08 09:56:57 -08:00
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
uvjustinandGitHub accc4fda28 Bump PyAV to v9.0.0 (#67848) 2022-03-08 07:53:17 -08:00
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 SchammandGitHub 13ac6e62e2 Remove bosch_shc switch surplus toggle method (#67851) 2022-03-08 12:53:41 +01:00
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 LevyandGitHub 2d4d18ab90 Add Shelly gen2 cover support (#67705)
* Add Shelly gen2 cover support

* Make status property
2022-03-08 11:58:08 +02:00
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 KostonandGitHub 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 KostonandGitHub ee38203e1d Add missing callback decorator to sun (#67840) 2022-03-08 10:16:41 +01:00
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 GuptaandGitHub e199be6391 Bump zwave-js-server-python to 0.35.2 (#67839) 2022-03-08 09:44:39 +01:00
6da38d67ff Simplify SSDP discovery in SamsungTV (#67843)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:54:03 +01:00
56abd5f2cf Add homekit pm type sensor (#46060)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 08:37:20 +01:00
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
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
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
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
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
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 GodfreyandGitHub d302b0d14e Fix todoist parsing due dates for calendar events (#65403) 2022-03-07 22:00:39 -08:00
G JohanssonandGitHub 00c84d8927 Modify diagnostics for yale_smart_alarm (#67761) 2022-03-07 21:52:58 -08:00
Paulus SchoutsenandGitHub 46984afbb8 Add media source support to Yamaha MusicCast (#67572) 2022-03-07 21:50:25 -08:00
J. Nick KostonandGitHub c9ac0b49f6 Prevent scene from restoring unavailable states (#67836) 2022-03-07 20:43:19 -08:00
J. Nick KostonandGitHub a75bbc79a2 Prevent polling from recreating an entity after removal (#67750) 2022-03-07 20:42:16 -08:00
J. Nick KostonandGitHub aed2c1cce8 Remove unused import code from powerview (#67834) 2022-03-08 03:13:00 +01:00
GitHub Action c374435282 [ci skip] Translation update 2022-03-08 00:18:11 +00:00
Joakim SørensenandGitHub 6b3b21bcfd Revert "Add update integration (#66552)" (#67641) 2022-03-07 15:52:15 -08:00
Teemu RandGitHub 46d49336a1 Bump python-miio version to 0.5.11 (#67824) 2022-03-07 15:43:05 -08:00
Steve EasleyandGitHub ea82f2e293 Add Kaleidescape integration (#67711) 2022-03-08 00:16:43 +01:00
c70bed86ff Adjust websocket bridge logging in SamsungTV (#67809)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-07 23:31:57 +01:00