Commit graph

59266 commits

Author SHA1 Message Date
Joost Lekkerkerker
6e9db52a5f
Fix AirGradient name (#119046) 2024-06-07 09:18:16 +02:00
Joost Lekkerkerker
6027af3d36
Fix unit of measurement for airgradient sensor (#118981) 2024-06-07 09:17:36 +02:00
J. Nick Koston
aa0a90cd98
Fix remember_the_milk calling configurator async api from the wrong thread (#119029) 2024-06-07 09:07:47 +02:00
Maciej Bieniek
27e8a4ed6f
Add the missing humidity value to the Accuweather daily forecast (#119013)
Add the missing humidity value to the daily forecast

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-07 07:23:44 +02:00
Michael Hansen
87114bf19b
Fix exposure checks on some intents (#118988)
* Check exposure in climate intent

* Check exposure in todo list

* Check exposure for weather

* Check exposure in humidity intents

* Add extra checks to weather tests

* Add more checks to todo intent test

* Move climate intents to async_match_targets

* Update test_intent.py

* Update test_intent.py

* Remove patch
2024-06-06 20:41:25 -05:00
Joakim Plate
8c025ea1f7
Update gardena library to 1.4.2 (#119010) 2024-06-07 00:48:23 +02:00
Rami Mosleh
7337c13747
Use torrent id to identify torrents that should trigger events (#118897) 2024-06-07 00:44:21 +02:00
Matthias Alphart
a7429e5f50
Fix KNX climate.set_hvac_mode not turning on (#119012) 2024-06-06 22:40:04 +02:00
Jordi
7219a4fa98
Add Aquacell integration (#117117)
* Initial commit

* Support changed API
Change sensor entity descriptions

* Fix sensor not handling coordinator update

* Implement re-authentication flow and handle token expiry

* Bump aioaquacell

* Bump aioaquacell

* Cleanup and initial tests

* Fixes for config flow tests

* Cleanup

* Fixes

* Formatted

* Use config entry runtime
Use icon translations
Removed reauth
Removed last updated sensor
Changed lid in place to binary sensor
Cleanup

* Remove reauth strings

* Removed binary_sensor platform
Fixed sensors not updating properly

* Remove reauth tests
Bump aioaquacell

* Moved softener property to entity class
Inlined validate_input method
Renaming of entities
Do a single async_add_entities call to add all entities
Reduced code in try blocks

* Made tests parameterized and use test fixture for api
Cleaned up unused code
Removed traces of reauth

* Add check if refresh token is expired
Add tests

* Add missing unique_id to config entry mock
Inlined _update_config_entry_refresh_token method
Fix incorrect test method name and comment

* Add snapshot test
Changed WiFi level to WiFi strength

* Bump aioaquacell to 0.1.7

* Move test_coordinator tests to test_init
Add test for duplicate config entry
2024-06-06 22:33:58 +02:00
Michael Hansen
bca8958d4b
Prioritize literal text with name slots in sentence matching (#118900)
Prioritize literal text with name slots
2024-06-06 14:20:34 -04:00
Gedaliah Knizhnik
696a079ba8
Add extra sensor to the Jewish Calendar integration (#116734)
* Added sensor for always three star tzeit

* Changed sensor name

* Change sensor name
2024-06-06 14:17:52 -04:00
Mr. Bubbles
99b85e16d1
Set username as entry title in Bring integration (#118974)
Set username as entry title
2024-06-06 20:03:58 +02:00
David Bonnes
d40c940c20
Move evohome's API broker to the coordinator module (#118565)
* move Broker to coordinator module

* mypy tweak

* mypy
2024-06-06 13:02:50 -04:00
J. Nick Koston
62b1bde0e8
Only entity verify state writable once after success unless hass is missing (#118896) 2024-06-06 11:46:44 -05:00
David Knowles
0ecab967dd
Bump pydrawise to 2024.6.3 (#118977) 2024-06-06 17:28:13 +02:00
Maciej Bieniek
49c7b1aab9
Bump imgw-pib library to version 1.0.4 (#118978)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-06 17:14:02 +02:00
Marc Mueller
c3456215b8
Update requests to 2.32.3 (#118868)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-06 17:11:49 +02:00
Marc Mueller
fe21e2b8ba
Import Generator from typing_extensions (1) (#118986) 2024-06-06 17:02:13 +02:00
Rami Mosleh
cab58fa9b2
Check if imap message text has a value instead of checking if its not None (#118901)
* Check if message_text has a value instead of checking if its not None

* Strip message_text to ensure that its actually empty or not

* Add test with multipart payload having empty plain text
2024-06-06 14:10:03 +02:00
G Johansson
4ec6ba445b
Remove unused constant in Tag (#118966)
Remove not used constant in Tag
2024-06-06 13:49:17 +02:00
G Johansson
0d2e441de5
Bump python-holidays to 0.50 (#118965) 2024-06-06 13:34:03 +02:00
Åke Strandberg
3d8fc96592
Migrate myuplink to runtime_data (#118960) 2024-06-06 13:31:47 +02:00
G Johansson
2a4f7439a2
Fix Alarm control panel not require code in several integrations (#118961) 2024-06-06 13:21:30 +02:00
Maciej Bieniek
29952d8128
Bump imgw-pib backend library to version 1.0.2 (#118953)
Bump imgw-pib to version 1.0.2

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-06 12:26:07 +02:00
Mr. Bubbles
093e85d59a
Fix some minor typos in ista EcoTrend integration (#118949)
Fix typos
2024-06-06 10:43:12 +02:00
J. Nick Koston
e37ee68434
Bump cryptography to 42.0.8 (#118889) 2024-06-06 10:20:39 +02:00
Regin Larsen
b5b7c9bcd5
Bump xiaomi-ble to 0.29.0 (#118895) 2024-06-06 09:16:57 +02:00
Mr. Bubbles
4596b89201
Bump pyecotrend_ista to 3.2.0 (#118924) 2024-06-06 09:10:46 +02:00
J. Nick Koston
f9205cd88d
Avoid additional timestamp conversion to set state (#118885)
Avoid addtional timestamp conversion to set state

Since we already have the timestamp, we can pass it on to the State
object and avoid the additional timestamp conversion which can be as
much as 30% of the state write runtime.

Since datetime objects are limited to microsecond precision, we need
to adjust some tests to account for the additional precision that we
will now be able to get in the database
2024-06-05 23:43:34 -04:00
J. Nick Koston
475c20d529
Always do thread safety check when writing state (#118886)
* Always do thread safety check when writing state

Refactor the 3 most common places where the thread safety check
for the event loop to be inline to make the check fast enough
that we can keep it long term. While code review catches most
of the thread safety issues in core, some of them still make
it through, and new ones keep getting added. Its not possible
to catch them all with manual code review, so its worth the
tiny overhead to check each time.

Previously the check was limited to custom components
because they were the most common source of thread
safety issues.

* Always do thread safety check when writing state

Refactor the 3 most common places where the thread safety check
for the event loop to be inline to make the check fast enough
that we can keep it long term. While code review catches most
of the thread safety issues in core, some of them still make
it through, and new ones keep getting added. Its not possible
to catch them all with manual code review, so its worth the
tiny overhead to check each time.

Previously the check was limited to custom components
because they were the most common source of thread
safety issues.

* async_fire is more common than expected with ccs

* fix mock

* fix hass mocking
2024-06-05 23:41:55 -04:00
Ernst Klamer
64b23419e0
Bump bthome-ble to 3.9.1 (#118907)
bump bthome-ble to 3.9.1
2024-06-05 23:38:30 -04:00
J. Nick Koston
a0957069f0
Revert "Bump orjson to 3.10.3 (#116945)" (#118920)
This reverts commit dc50095d06.
2024-06-05 23:37:35 -04:00
Josef Zweck
feaf50eee7
Address Webhook async_generate_url review (#118910)
code styling
2024-06-05 22:38:23 +02:00
Erik Montnemery
8099ea8817
Improve WS command validate_config (#118864)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-05 18:53:44 +02:00
Michael Hansen
6efc3b95a4
Bump intents to 2024.6.5 (#118890) 2024-06-05 18:43:28 +02:00
Robert Resch
0562c3085f
Replace slave by meter in v2c (#118893) 2024-06-05 18:21:03 +02:00
Åke Strandberg
e2dd88be6e
Add more unit-based sensor descriptions to myuplink (#113104)
* Add more unit-based sensor descriptions

* Move late addition to icon translations
2024-06-05 17:45:52 +02:00
r-xyz
0487b38ed3
Add support for sending telegram messages to topics (#112715)
* Add support for sending telegram messages to topics
    Based on original PR #104059 by [jgresty](https://github.com/jgresty).
    Did not manage to merge conflicts, so I remade the changes from scratch, including suggestions from previous PR reviews.

    Topics were added to telegram groups in November 2022, and to the
    telegram-bot library in version 20.0. They are a purely additive change
    that is exposed by a single parameter `message_thread_id`. Not passing
    this parameter will not change the behaviour from current.

    This same parameter is used to send messages to threads and messages to
    topics inside groups.

    https://telegram.org/blog/topics-in-groups-collectible-usernames/it?setln=en#topics-in-groups

    Fixes #81888
    Fixes #91750

* telegram_bot: add tests for threads feature.

* telegram_bot: fixed tests for threads.

* telegram_bot: fixed wrong line.

* Update test_telegram_bot.py

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-06-05 17:41:40 +02:00
Joost Lekkerkerker
c4cfd9adf0
Add entity translations to incomfort (#118876) 2024-06-05 17:03:58 +02:00
Joost Lekkerkerker
60c06732b1
Add state and device class to incomfort (#118877)
* Add state and device class to incomfort

* Add state and device class to incomfort
2024-06-05 16:06:23 +02:00
Dmitriy
906c906653
Fix Ezviz last alarm picture (#112074)
* Fix Ezviz last alarm picture

* Review fixes
2024-06-05 15:55:59 +02:00
Josef Zweck
d0a036c617
Allow more input params to webhook generate_url helper (#112334)
* allow more params to helper

* switch back to f-string

* add test

* switch to proper method

* add allow_external, internal params

* fx default

* add signature comparison

* remove test, change prefer_external

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-06-05 15:55:37 +02:00
Jan Bouwhuis
066cd6dbef
Improve repair issue when notify service is still being used (#118855)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-06-05 15:41:22 +02:00
starkillerOG
edd3c45c09
Add binary "sleeping" sensor to Reolink (#118774) 2024-06-05 14:30:15 +02:00
Pete Sage
0d1fb1fc9f
Fix Hydrawise sensor availability (#118669)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-05 14:18:41 +02:00
Bram Kragten
3a4b84a4ce
Update frontend to 20240605.0 (#118875) 2024-06-05 13:32:50 +02:00
Joost Lekkerkerker
986d8986a9
Introduce incomfort boiler entity (#118861) 2024-06-05 13:09:24 +02:00
Joost Lekkerkerker
8d11279bc9
Remove obsolete polling from incomfort water heater (#118860)
Remove obsolete polling
2024-06-05 12:55:40 +02:00
Joost Lekkerkerker
239984f87d
Add entity descriptions to incomfort binary sensor (#118863)
* Detach name from unique id in incomfort

* Add entity descriptions to incomfort

* Revert "Detach name from unique id in incomfort"

This reverts commit 1744844466.

* yes
2024-06-05 12:51:39 +02:00
Marc Mueller
68a537a05a
Fix TypeAliasType not callable in senz (#118872) 2024-06-05 12:47:52 +02:00