Commit Graph
87719 Commits
Author SHA1 Message Date
Marc Mueller 289700dcf5 Improve generic event typing [device_tracker] (#114730) 2024-04-06 14:01:05 +02:00
Marc Mueller 7898bdcd4e Improve generic event typing [conversation] (#114729) 2024-04-06 14:00:13 +02:00
Marc Mueller d24cf9e4ec Improve generic event typing [cloud] (#114728) 2024-04-06 13:59:12 +02:00
Marc Mueller 082af6e0ae Improve generic event typing [voip] (#114738) 2024-04-06 13:57:09 +02:00
Øyvind Matheson Wergeland fdef3ece13 Fix placeholder quotes (#114974)
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.

* Ensure that strings does not contain placeholders in single quotes.

* Avoid redefining value

* Moved string_with_no_placeholders_in_single_quotes

* Define regex once

* Fix tests
2024-04-06 13:01:56 +02:00
Álvaro Fernández Rojas bd9070be11 Update aioairzone-cloud to v0.5.0 (#114928) 2024-04-06 12:24:00 +02:00
wittypluck 0ccd334608 Update glances-api to 0.6.0 (#114929) 2024-04-06 12:20:00 +02:00
Nathan Spencer 6594d022ba Bump pylitterbot to 2023.4.11 (#114918) 2024-04-06 12:16:00 +02:00
Joost Lekkerkerker d9573bb7dc Move Color extractor service to async_setup (#115013) 2024-04-06 12:06:16 +02:00
J. Nick Koston b6d0c9d1c3 Migrate proximity to use async_track_state_change_event (#115002) 2024-04-06 12:00:30 +02:00
J. Nick Koston 34bf4dc962 Migrate generic_hygrostat to use async_track_state_change_event (#115001) 2024-04-06 11:57:30 +02:00
J. Nick Koston 7d5b39b9de Fix dictionary changed size during iteration in prometheus (#115005)
Fixes #104803
2024-04-06 11:50:29 +02:00
Steven B e85b9faa00 Bump ring_doorbell to 0.8.10 (#114865) 2024-04-06 11:49:30 +02:00
SidandMartin Hjelmare 0d66d298ec Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Claudio Ruggeri - CR-Tech a28731c294 Add Swing Mode Feature to Modbus integration (#113710) 2024-04-06 11:01:44 +02:00
Øyvind Matheson Wergeland c3942a7d44 Upgrade to pynobo 1.8.1 (#114982)
pynobo 1.8.1
2024-04-06 09:38:14 +02:00
Robert Svensson 48b281a581 Bump axis to v61 (#114964) 2024-04-06 09:01:55 +02:00
lunmay 0e202770e3 Brand name typo in swiss_public_transport (#115000) 2024-04-06 08:12:44 +02:00
J. Nick Koston f497c461ed Switch to using the AsyncResolver with aiohttp (#114529)
* Bump aiodns to 3.2.0

changelog: https://github.com/saghul/aiodns/compare/v3.1.1...v3.2.0

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* fixes

* fix mocking in next_dns

* fix unmocked calls in blink

* more mocking fixes

* more fixes

* more fixes

* Fix missing mocking in nextdns tests

extracted from #114539

* extract from context
2024-04-05 23:15:51 -04:00
J. Nick Koston 9c27e632fb Switch configurator to use async_run_hass_job (#114993) 2024-04-05 17:02:58 -10:00
J. Nick Koston 657bc969a3 Improve performance of system_log traceback handling (#114992) 2024-04-05 16:47:17 -10:00
J. Nick Koston 90bbfdd53c Migrate torque to use async platform setup (#114994) 2024-04-05 22:41:37 -04:00
J. Nick Koston fb98a6f026 Make run_immediately the default for core EventBus listeners (#113752)
* DNM: Make run_immediately the default for listeners

This is a test to see how much progress we have made twords this goal

https://github.com/home-assistant/core/pull/113727#issuecomment-2004587947

* fix shutdown

* Revert "fix shutdown"

This reverts commit a8969d7db9.

* set false since it break utility meter tests

* one more

* fix rfxtrx test

* test needs to be explict now

* fix matrix

* fail sooner
2024-04-05 22:14:20 -04:00
J. Nick Koston bf5cf382dc Avoid useless stat() syscalls for every logger record (#114987)
* Avoid useless stat() syscalls for every logger record

shouldRollover will always return False since we do
not use maxBytes as we are only using RotatingFileHandler
for the backupCount option. Since every log record will
stat the log file to see if it exists and if its a normal
file, we can override the shouldRollover to reduce the
logging overhead quite a bit

https://github.com/python/cpython/blob/1d3225ae056245da75e4a443ccafcc8f4f982cf2/Lib/logging/handlers.py#L189

* assert False is False
2024-04-05 22:00:09 -04:00
J. Nick Koston 00db97a765 Run device_registry stop listener immediately (#114978) 2024-04-05 21:59:27 -04:00
J. Nick Koston d25ac06326 Run storage final write listener immediately (#114976)
This one should not need a call_soon
2024-04-05 21:59:11 -04:00
Brent Petit c9ce848b4b Add current_humidity to Ecobee humidifier (#114753)
* Ecobee: add current_humidity to humidifier

* Ecobee: Add test for current_humidity property

* Update current_humidity handling in climate and
humidifier entity to support the ecobee API
not returning actualHumidity, which is an optional
value.
Also updated tests to add a thermostat which
covers a non-populated humidity. In passing,
set up the new test thermostat to cover a missing
condition where the code doens't recognize the
ecobee model number. This gets ecobee humidifier
test coverage to 100%
2024-04-05 21:54:40 +02:00
Joost Lekkerkerker 0214511b38 Make config flow imports consistent (#114962)
* Make config flow imports consistent

* Fix
2024-04-05 21:38:11 +02:00
J. Nick Koston aeaed83578 Start async_schedule_update_ha_state task eagerly (#114704) 2024-04-05 08:14:21 -10:00
Joost Lekkerkerker 850361d1da Fix Snapcast Config flow (#114952) 2024-04-05 19:45:24 +02:00
Joost Lekkerkerker 5194215074 Allow single entry in Downloader (#114957) 2024-04-05 19:45:14 +02:00
Bengt SirbeliusandRobert Svensson e1575678ed Add new OUI for Axis products (#114923)
* Add new OUI for Axis products

* Run hassfest

---------

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2024-04-05 19:06:18 +02:00
Erwin Douna f142e902df SIngle entry for Fastdotcom (#114963) 2024-04-05 18:53:28 +02:00
epenet 9204ccfa17 Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02:00
Ashot Tonoyan f2c091fe0c Include serial number in HomeKit device info (#114688)
Very useful when adding a hub that has many identical devices already paired
2024-04-05 17:32:23 +02:00
RJPoelstra 35f2287d1a Bump python-MotionMount to 1.0.0 (#114945) 2024-04-05 17:20:58 +02:00
epenet 0b01326f9f Use is in ConfigEntryState enum comparison in tests (A-M) (#114925) 2024-04-05 17:16:55 +02:00
Franck Nijhof b1fb77cb4d 2024.4.1 (#114934) 2024.4.1 2024-04-05 16:18:02 +02:00
Jan-Philipp Benecke dd8de14cc5 Update person to use _attr_* and thus cached properties (#114590)
* Update `person` to use `_attr_*` and thus cached properties

* Make func

* Just use attribute

* Move to init
2024-04-05 15:28:33 +02:00
Joost Lekkerkerker 95606135a6 Fix ROVA validation (#114938)
* Fix ROVA validation

* Fix ROVA validation
2024-04-05 14:53:21 +02:00
Aidan Timson 47d9879c0c Pin systembridgemodels to 4.0.4 (#114842) 2024-04-05 14:53:17 +02:00
Joost Lekkerkerker 370c902eb9 Fix ROVA validation (#114938)
* Fix ROVA validation

* Fix ROVA validation
2024-04-05 14:21:24 +02:00
Franck Nijhof e3c111b1dd Bump version to 2024.4.1 2024-04-05 12:34:07 +02:00
Joost Lekkerkerker 9937743863 Fix cast dashboard in media browser (#114924) 2024-04-05 12:33:49 +02:00
Joost LekkerkerkerandMartin Hjelmare ed3daed869 Create right import issues in Downloader (#114922)
* Create right import issues in Downloader

* Create right import issues in Downloader

* Create right import issues in Downloader

* Create right import issues in Downloader

* Fix

* Fix

* Fix

* Fix

* Apply suggestions from code review

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

* Fix

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-05 12:33:46 +02:00
Åke Strandberg 5d5dc24b33 Show correct model string in myuplink (#114921) 2024-04-05 12:33:43 +02:00
J. Nick KostonandTheJulianJES c39d6f0730 Reduce august polling frequency (#114904)
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-04-05 12:33:40 +02:00
J. Nick Koston 87ffd5ac56 Ensure all tables have the default table args in the db_schema (#114895) 2024-04-05 12:33:36 +02:00
Bram Kragten 71877fdeda Update frontend to 20240404.1 (#114890) 2024-04-05 12:33:33 +02:00
Robert Svensson 2434a22e4e Fix Axis reconfigure step not providing protocols as alternatives but as string (#114889) 2024-04-05 12:33:30 +02:00