Commit Graph
10451 Commits
Author SHA1 Message Date
Franck NijhofandGitHub 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
Franck NijhofandGitHub c35aaef980 Fix Efergy tests (#68086) 2022-03-13 16:32:56 +02:00
Brandon RothweilerandGitHub 0bd65db31c Add switch platform to the Mazda integration (#68025) 2022-03-12 16:32:35 -10:00
Steve EasleyandGitHub a2ce395fc6 Add remote platform to Kaleidescape integration (#67959) 2022-03-12 14:10:45 -10:00
Mike FugateandGitHub e59bf4f3af Migrate SleepIQ unique IDs that are using sleeper name instead of sleeper ID (#68062) 2022-03-12 12:54:26 -10:00
Mike FugateandGitHub 6831be67f4 Add number entities to control SleepIQ actuator positions (#67770) 2022-03-12 09:58:03 -10:00
J. Nick KostonandGitHub 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
jan iversenandGitHub 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 KostonandGitHub a851921fe6 Filter IPv6 addresses from doorbird discovery (#68031) 2022-03-12 02:09:02 -10:00
Franck NijhofandGitHub 0467dc55fe Add config flow to Uptime (#67408) 2022-03-12 12:36:08 +01:00
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 KostonandGitHub 0d8f649bd6 Websocket api to subscribe to entities (payloads reduced by ~80%+ vs state_changed events) (#67891) 2022-03-11 20:54:49 -08:00
Brandon RothweilerandGitHub 5d2a65bb21 Add binary sensors to Mazda integration (#64604) 2022-03-11 16:32:47 -10:00
jan iversenandGitHub d2e5c85429 Remove pragma from discover check. (#68002) 2022-03-11 19:58:18 +02:00
jan iversenandGitHub 306498378c Coverage 100% of Modbus climate (#67396)
* Coverage 100% of climate.py

* Allow 100% test.
2022-03-11 19:14:40 +02:00
Erik MontnemeryandGitHub 8948bada58 Add switch_as_x entity to wrapped switch's device (#67961) 2022-03-11 09:46:32 +01:00
Erik MontnemeryandGitHub 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
Erik MontnemeryandGitHub 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 MontnemeryandGitHub 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
Erik MontnemeryandGitHub ee38dbd698 Add helper to set name of helper config entries (#67950) 2022-03-10 16:18:26 +01:00
Erik MontnemeryandGitHub 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 EasleyandGitHub ab4aa835d1 Add sensor platform to Kaleidescape (#67884) 2022-03-10 09:15:53 -06:00
Erik MontnemeryandGitHub 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 MontnemeryandGitHub 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
Á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
Shay LevyandGitHub eee0c5372c Use import instead of hass in Shelly tests (#67909) 2022-03-09 19:29:20 +01:00
Franck NijhofandGitHub a8ad9fc5f4 Mock Radio Browser entry setup in onboarding tests (#67905) 2022-03-09 06:41:14 -08: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
Brandon RothweilerandGitHub 2fc100926f Add button entities to Mazda integration (#67597) 2022-03-09 04:16:07 +01: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
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
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
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
36049ac514 Batch send commands in SamsungTV (#67847)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 10:10:17 +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
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
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
J. Nick KostonandGitHub c9ac0b49f6 Prevent scene from restoring unavailable states (#67836) 2022-03-07 20:43:19 -08:00
Joakim SørensenandGitHub 6b3b21bcfd Revert "Add update integration (#66552)" (#67641) 2022-03-07 15:52:15 -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
Franck NijhofandGitHub 9d42a425fc Add config flow to Season (#67413) 2022-03-07 18:58:29 +01:00