Commit Graph
50701 Commits
Author SHA1 Message Date
J. Nick Koston 1e956bc52f Reduce bond startup time (#73506) 2022-06-14 20:30:59 -10:00
Jean-François Roy c64b108789 Bump aiobafi6 to 0.6.0 to fix logging performance (#73517) 2022-06-14 17:11:37 -10:00
GitHub Action 188b1670a3 [ci skip] Translation update 2022-06-15 00:25:37 +00:00
G Johansson 32b61e15a1 Strict typing Trafikverket Ferry (#72459) 2022-06-14 13:35:29 -10:00
J. Nick Koston d25a5f3836 Bump zeroconf to 0.38.7 (#73497) 2022-06-14 12:16:30 -10:00
Michael 103a6266a2 Fix fetching upgrade data during setup of Synology DSM (#73507) 2022-06-14 11:18:59 -10:00
Michael 3bbb4c052c Add camera diagnostics to Synology DSM (#73391) 2022-06-14 10:49:06 -10:00
J. Nick Koston a0ed54465f Migrate lutron caseta occupancygroup unique ids so they are actually unique (#73378) 2022-06-14 10:02:45 -10:00
IceBotYT 8e6fa54e0a Improve PECO integration (#73460) 2022-06-14 21:08:47 +02:00
Erik Montnemery 1f7340313a Migrate NumberEntity a-j to native_value (#73486) 2022-06-14 08:16:36 -10:00
Erik Montnemery 576de9ac40 Migrate NumberEntity u-z to native_value (#73488) 2022-06-14 08:15:56 -10:00
Erik Montnemery 23fa19b75a Support restoring NumberEntity native_value (#73475) 2022-06-14 10:56:27 -07:00
Paulus SchoutsenandMartin Hjelmare 61e4b56e19 Guard withings accessing hass.data without it being set (#73454)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-14 10:55:58 -07:00
J. Nick Koston 9b157f974d Reduce overhead to refire events from async_track_point_in_utc_time when an asyncio timer fires early (#73295)
* Reduce overhead to refire events

- asyncio timers can fire early for a varity of reasons including
  poor clock resolution and performance. To solve this problem
  we re-arm async_track_point_in_utc_time and try again later
  when this happens.

- On some platforms this means the async_track_point_in_utc_time can
  end up trying many times to prevent firing the timer early since as
  soon as it rearms it fires again and this repeats until we reach
  the appointed time. While there is not much we can do to prevent
  asyncio from firing the timer callback early, we can reduce the
  overhead when this happens by using avoiding creating datetime
  objects

* tweak mocking

* -vvv

* fix time freeze being too broad in litterrobot

* adjust
2022-06-14 07:46:00 -10:00
Franck Nijhof f69ea6017d Add device class support to Tuya number entities (#73483) 2022-06-14 16:00:07 +02:00
Allen Porter 0b7a030bd4 Fix fan support in nest, removing FAN_ONLY which isn't supported (#73422)
* Fix fan support in nest, removing FAN_ONLY which isn't supported

* Revert change to make supported features dynamic
2022-06-14 06:19:22 -07:00
Thibaut e08465fe8c Fix max_value access for number platform in Overkiz (#73479)
Fix wrong property name
2022-06-14 15:17:40 +02:00
Mick Vleeshouwer 04c60d2183 Add support for AtlanticPassAPCZoneControl to Overkiz integration (#72384)
* Add support for AtlanticPassAPCZoneControl (overkiz)

* Remove unneeded comments

* Remove supported features

* Fix new standards
2022-06-14 13:27:58 +02:00
Mick Vleeshouwer 1ef0102f12 Add active alarm zones as select entity to Overkiz integration (#68997)
* Add active zones as select entity

* Clean up for PR
2022-06-14 13:21:35 +02:00
Franck Nijhof 99db2a5afe Update requests to 2.28.0 (#73406)
* Update requests to 2.28.0

* Fix mypy warning

* Fix Facebook messenger tests
2022-06-14 12:21:32 +02:00
Franck Nijhof 65378f19c8 Update caldav to 0.9.1 (#73472) 2022-06-14 12:21:02 +02:00
Erik Montnemery 3da3503673 Add temperature unit conversion support to NumberEntity (#73233)
* Add temperature unit conversion to number

* Remove type enforcements

* Lint

* Fix legacy unit_of_measurement

* Address review comments

* Fix unit_of_measurement, improve test coverage
2022-06-14 09:40:57 +02:00
e3b6c7a66f Add Home Assistant Yellow integration (#73272)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-13 23:25:11 -07:00
GitHub Action 4005af99aa [ci skip] Translation update 2022-06-14 00:26:59 +00:00
J. Nick Koston 08b55939fb Avoid creating executor job in requirements if another call satisfied the requirement (#73451) 2022-06-13 14:33:29 -07:00
J. Nick Koston bb8b51eda3 Fix typos in ConfigEntryState.recoverable (#73449) 2022-06-13 10:56:08 -10:00
51b4d15c8c Speed up mqtt tests (#73423)
Co-authored-by: jbouwh <jan@jbsoft.nl>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-06-13 10:17:10 -10:00
J. Nick Koston 034c0c0593 Improve YAML Dump times with C Dumper (#73424) 2022-06-13 13:14:30 -07:00
J. Nick Koston 0ffeb6c304 Check if requirements are installed in the executor (#71611) 2022-06-13 13:10:05 -07:00
G Johansson c660fae8d8 Sensibo Add timer (#73072) 2022-06-13 09:17:08 -10:00
J. Nick Koston dca4d3cd61 Significantly improve yaml load times when the C loader is available (#73337) 2022-06-13 08:44:46 -10:00
epenet b84e844c76 Add async_get_options_flow type hints (cast) (#73432) 2022-06-13 13:55:38 +02:00
epenet c195d462cc Add async_get_options_flow type hints (hvv) (#73433) 2022-06-13 13:53:47 +02:00
Jan Bouwhuis 657e7f9a4c Simplify MQTT test for setup manual mqtt item from yaml (#72916)
simplify test setup manual mqtt item from yaml
2022-06-13 13:44:12 +02:00
Jan Bouwhuis 48e3d68b53 Clean up MQTT platform entry setup at discovery (#72371)
* Setup MQTT discovery with entry setup

* Wait for entry setup in test

* flake
2022-06-13 13:38:53 +02:00
epenet f846cd033f Add async_get_options_flow type hints (mqtt) (#73434) 2022-06-13 13:35:50 +02:00
epenet 42ed0fd47b Add async_get_options_flow type hints (n-z) (#73431) 2022-06-13 13:30:41 +02:00
epenet b589700651 Add async_get_options_flow type hints (a-m) (#73430) 2022-06-13 13:17:59 +02:00
epenetandMarc Mueller ca0a185b32 Enforce config-flow type hints to get options flow (#72831)
* Enforce config-flow type hints to get options flow

* Add checks on return_type

* Fix tests

* Add tests

* Add BinOp to test

* Update tests/pylint/test_enforce_type_hints.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Update pylint/plugins/hass_enforce_type_hints.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Add TypeHintMatch property

* Update pylint/plugins/hass_enforce_type_hints.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-06-13 11:14:30 +02:00
kingy444 d9f3e9a71c Add supported_brands to powerview (#73421) 2022-06-12 22:26:35 -10:00
Dave TandDave T b261f0fb41 Use more specific exception and simplify aurora_abb_powerone (#73338)
* Use more specific exception for comms timeout

* Remove defered uniqueid assigner now yaml has gone

Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-06-13 09:36:46 +02:00
Avi MillerandJ. Nick Koston a0974e0c72 Refactor LIFX discovery to prevent duplicate discovery response handling (#72213)
* Partially revert #70458 and allow duplicate LIFX discoveries

Signed-off-by: Avi Miller <me@dje.li>

* Only process one discovery at a time

* Revert all LIFX duplicate/inflight discovery checks

Also remember LIFX Switches and do as little processing for them
as possible.

Signed-off-by: Avi Miller <me@dje.li>

* Bump aiolifx version to support the latest LIFX devices

LIFX added 22 new product definitions to their public product
list at the end of January and those new products are defined in
aiolifx v0.8.1, so bump the dependency version.

Also switched to testing for relays instead of maintaining a
seperate list of switch product IDs.

Fixes #72894.

Signed-off-by: Avi Miller <me@dje.li>

* Refactor LIFX discovery to better handle duplicate responses

Signed-off-by: Avi Miller <me@dje.li>

* Update clear_inflight_discovery with review suggestion

Signed-off-by: Avi Miller <me@dje.li>

* Move the existing entity check to before the asyncio lock

Signed-off-by: Avi Miller <me@dje.li>

* Bail out of discovery early and if an entity was created

Also ensure that the entity always has a unique ID even if the bulb was
not successfully discovered.

Signed-off-by: Avi Miller <me@dje.li>

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-12 20:05:41 -10:00
J. Nick Koston 7a422774b6 Prevent config entries from being reloaded while they are setting up (#73387) 2022-06-12 23:05:08 -07:00
Paulus Schoutsen 1187009280 Bump aiohue to 4.4.2 (#73420) 2022-06-12 19:33:45 -10:00
Franck Nijhof f0a5dbacf8 Update pytest to 7.1.2 (#73417) 2022-06-12 20:48:17 -07:00
J. Nick Koston ad9e1fe166 Fix reload race in yeelight when updating the ip address (#73390) 2022-06-12 20:29:44 -07:00
J. Nick Koston a05c539abe Add support for async_remove_config_entry_device to lutron_caseta (#73382) 2022-06-12 20:28:53 -07:00
Robert Hillis f732c51600 Add support for playing latest activity video for Skybell (#73373)
* Add support for playing latest activity video

* ffmpeg

* uno mas

* uno mas
2022-06-12 20:27:19 -07:00
Brandon Rothweiler f85409b2ea Remove deprecated services from Mazda integration (#73403) 2022-06-12 20:18:48 -07:00
Franck Nijhof 23e17c5b47 Update coverage to 6.4.1 (#73405) 2022-06-12 20:17:58 -07:00