J. Nick Koston
e09e4f14d6
Speed up setting state ( #93472 )
2023-05-25 07:34:07 -05:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures ( #93519 )
2023-05-25 13:45:19 +02:00
badewanne1234
393dbb6dc0
Fix of cover-tilt in homekit_controller ( #91631 )
...
* Fix of cover-tilt in homekit_controller
* Fix of cover-tilt and its tests
2023-05-25 12:41:42 +02:00
IceBotYT
9231010402
Code quality improvements and debug logs for LaCrosse View ( #91979 )
...
* Code quality improvements and debug logs for LaCrosse View
* Remove unrelated files
* Remove version bump
* Revert "Remove version bump"
This reverts commit ed440899f97fe43932fd40f32e1316c403e1504c.
* Revert "Remove unrelated files"
This reverts commit d9b48ae4f9935c377c177f3bc048351b612a8cb8.
2023-05-25 12:37:16 +02:00
Erik Montnemery
3fc0c9a325
Improve TTS test fixtures ( #93517 )
2023-05-25 11:59:20 +02:00
Dara Adib
e2daffc117
Fix exception handling in Microsoft TTS ( #92556 )
...
pycsspeechtts uses the requests library, but Microsoft TTS previously
caught HTTPException from the standard library. This is changed to
catch requests.HTTPError and return `(None, None)` consistent with
other TTS integrations. This will properly raise HomeAssistantError
for display in the frontend.
Follow up to PR #92215 which adds tests for Microsoft TTS.
2023-05-25 11:29:13 +02:00
starkillerOG
4ef315b32a
Add Kodi keypress event ( #93321 )
...
* Add keypress events
* Fix styling
* fix tests
* improve tests
* Revert device trigger
* Add entity_id to event for ease of filtering
2023-05-25 11:11:29 +02:00
RenierM26
f86cc34644
Add Ezviz number entity ( #93366 )
...
* Initial commit
* Add number entity.
* update coveragerc
* Add services back and add depreciation repair.
* Remove redundant typing declaration.
* Case change in strings.
* Apply cleanups from simular pull request.
* Commit suggestions.
2023-05-25 11:09:47 +02:00
Jan Bouwhuis
1b5d207984
Add imap custom event data template ( #93423 )
...
* Add imap custom event template
* Add template validation
2023-05-25 11:05:25 +02:00
Álvaro Fernández Rojas
6cd766ef1f
Add Airzone Cloud diagnostics ( #93465 )
...
* airzone_cloud: add diagnostics support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
* airzone_cloue: remove unused import
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
* airzone_cloud: diagnostics: redact additional API keys
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
---------
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
2023-05-25 11:04:57 +02:00
Dara Adib
663f66a2b2
Scrape Microsoft TTS supported languages ( #91988 )
...
* Update Microsoft TTS supported languages
`script.microsoft_tts` scrapes Microsoft Azure documentation for
the list of supported languages and saves them to
`homeassistant.generated.microsoft_tts` for use in the component.
This adds support for more TTS languages, like fa-ir (Persian).
* Improve xpath query for Microsoft TTS languages
* Remove asserts for Microsoft TTS languages
* Add more tests for Microsoft TTS languages
2023-05-25 10:46:34 +02:00
disaster37
6e8472b90f
Fix/arest switch ( #91553 )
...
* Fix arest switch to set output when connection is lost
Signed-off-by: disaster37 <linuxworkgroup@hotmail.com >
* fix: lint
Signed-off-by: disaster37 <linuxworkgroup@hotmail.com >
---------
Signed-off-by: disaster37 <linuxworkgroup@hotmail.com >
2023-05-25 10:45:15 +02:00
Matrix
e744632164
YoLink Power Failure Alarm ( #91934 )
...
* add ys-7106
* expose mute property
* add volume entity description
* add beep entity description
* fix as suggest
2023-05-25 10:44:51 +02:00
dependabot[bot]
6df44ff5d5
Bump actions/setup-python from 4.6.0 to 4.6.1 ( #93512 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.6.0...v4.6.1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 09:48:52 +02:00
Marc Mueller
64118ee011
Improve hydrawise typing ( #93503 )
...
* Improve hydrawise generic typing
* Enable strict typing
* Remove unused code
2023-05-25 07:58:59 +02:00
J. Nick Koston
f8d918ca4a
Small speedup to unifiprotect attribute lookups ( #93507 )
2023-05-25 07:51:45 +02:00
J. Nick Koston
c63e3c3bf1
Update prometheus tests to avoid patching utcnow ( #93505 )
2023-05-25 07:15:14 +02:00
2bb46c8a9e
Fix for missing/corrupt names of Matter devices ( #92073 )
...
* Fix missing names on some devices/bridges
* guard for None devicetype (just in case)
* Update homeassistant/components/matter/adapter.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
* Update homeassistant/components/matter/adapter.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
* Update homeassistant/components/matter/adapter.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
* Update homeassistant/components/matter/adapter.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
* black and isort
* Code quality
* Add tests
* Add coverage test, add None for empty string
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
Co-authored-by: jbouwh <jan@jbsoft.nl >
2023-05-25 03:50:13 +02:00
Michał Modzelewski and J. Nick Koston
33387bf418
Readable paired device names for Apple TV airplay and companion protocols ( #93449 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2023-05-24 20:07:49 -05:00
J. Nick Koston
7ec6e03d5d
Update sensor tests to avoid patching utcnow ( #93497 )
2023-05-24 19:54:08 -05:00
Michał Modzelewski
d5e09bd4c3
Support volume level push updates in apple_tv integration ( #93496 )
2023-05-24 18:28:29 -05:00
J. Nick Koston
9dcd73b308
Update recorder tests to avoid patching utcnow ( #93489 )
2023-05-24 17:47:42 -05:00
J. Nick Koston
f8d8f5caba
Update statistics tests to avoid patching utcnow ( #93499 )
2023-05-24 17:38:38 -05:00
J. Nick Koston
f5eb872eaf
Update state helper test to avoid patching utcnow ( #93484 )
2023-05-24 17:38:09 -05:00
J. Nick Koston
ee62584570
Add constraint for pyminiaudio to 1.57 ( #93501 )
2023-05-24 17:03:37 -05:00
J. Nick Koston
40a47c72f4
Update history tests to avoid patching utcnow ( #93487 )
2023-05-24 16:09:26 -05:00
J. Nick Koston
45b1ad36b1
Bump onvif-zeep-async to 3.1.8 ( #93464 )
2023-05-24 15:38:54 -05:00
J. Nick Koston
0160c8c14f
Update switch tests to avoid patching utcnow ( #93491 )
2023-05-24 15:28:38 -05:00
J. Nick Koston
bf2c12dcf2
Update remote tests to avoid patching utcnow ( #93492 )
2023-05-24 15:28:22 -05:00
J. Nick Koston
33c2cb9895
Fix integration trapezoidal test ( #93494 )
2023-05-24 15:24:15 -05:00
J. Nick Koston
41aa3e223e
Update light tests to avoid patching utcnow ( #93490 )
2023-05-24 15:21:40 -05:00
J. Nick Koston
1f5916cb4d
Update statistics tests to avoid patching utcnow ( #93485 )
2023-05-24 14:53:33 -05:00
Raman Gupta
f0874791d8
Refactor zwave_js.cover ( #93433 )
...
* Refactor zwave_js.cover and improve test coverage
* Remove extra fixtures
* cleanup old stuff
* Get coverage to 100
* Remove redundant stuff
* Revert all changes to tests
* Update conftest.py
2023-05-24 15:37:33 -04:00
Luke
46c63dd70b
Fix Roborock Sensor test failing ( #93488 )
...
fix roborock sensors
2023-05-24 21:35:05 +02:00
Álvaro Fernández Rojas
f5a235beee
Fix Airzone min/max climate temperatures ( #93161 )
...
* airzone: climate: fix max/min temps
The library now provides AZD_ABS_TEMP_MAX/AZD_ABS_TEMP_MIN which are useful for
devices with different max/min temperatures depending on the current working
mode (HEAT vs COOL).
These new values will have the highest/lowest max/min of both modes.
Until now, the max/min of the current working mode (HEAT/COOL) would be set
when starting Home Assistant, limiting the temperature range if the device
mode was changed after that.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
* airzone: climate: update max/min temps
Some devices have different max/min climate temps depending on the active
mode (HEAT vs COOL), so we should update these values.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
* Revert "airzone: climate: update max/min temps"
This reverts commit 988194d48614e2326a45b31ffcb8730b8172ac28.
* Revert "Revert "airzone: climate: update max/min temps""
This reverts commit e4ead24f71cf2a16faec9253046419a59136daa1.
* tests: airzone: add max/min climate changes test
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
* tests: airzone: fix dict copy
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
---------
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com >
2023-05-24 21:18:59 +02:00
J. Nick Koston and Jan Bouwhuis
5c6ed8f6d5
Use call_at for events instead call_later ( #93431 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
2023-05-24 21:04:07 +02:00
Erik Montnemery
30d9d7d905
Minor adjustment of tts typing ( #93450 )
2023-05-24 21:02:55 +02:00
Erik Montnemery
68379dd55a
Improve TTS cache dir mocking ( #93468 )
2023-05-24 21:00:35 +02:00
epenet
6057aeee2f
Prevent NumberEntity and RestoreEntity inheritance ( #93467 )
2023-05-24 20:59:14 +02:00
J. Nick Koston
dc3826f68e
Update generic_hygrostat tests to avoid patching utcnow ( #93476 )
2023-05-24 20:57:56 +02:00
J. Nick Koston
cff72f9653
Update derivative tests to avoid patching utcnow ( #93477 )
2023-05-24 20:54:50 +02:00
J. Nick Koston
70c1fe8c6c
Update integration tests to avoid patching utcnow ( #93480 )
2023-05-24 20:54:11 +02:00
Luke and Franck Nijhof
8dd9482bb5
Add Roborock Consumable sensors ( #91972 )
...
* add sensors to roborock
* add value_fn typing
* fixed strings
* Update homeassistant/components/roborock/sensor.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
* change to work time instead of time left
* added time left back
* fixed tests
* made diagnostic
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2023-05-24 20:31:02 +02:00
J. Nick Koston
e80579e52f
Update generic_thermostat tests to avoid patching utcnow ( #93479 )
2023-05-24 13:17:28 -05:00
J. Nick Koston
da5ad4a17d
Update binary_sensor tests to avoid patching utcnow ( #93474 )
2023-05-24 13:17:11 -05:00
Raman Gupta
3e84c374f4
Improve zwave.cover tests ( #93458 )
...
* Improve zwave.cover tests
* Update conftest.py
2023-05-24 18:51:15 +02:00
J. Nick Koston
08c8c22fac
Fix non threadsafe call in xiaomi_aqara again ( #93461 )
...
Fix non threadsafe call in xiaomi_aqara
The original fix in #93405 was ineffective and only moved the problem
fixes #93400
2023-05-24 18:21:44 +02:00
Martin Malina
d2d21b4158
Show current day in met weather forecast ( #91891 )
...
Version 0.10.0 of pyMetno added the option
to defined range_start when calling get_forecast:
https://github.com/Danielhiversen/pyMetno/pull/35/files
So let's use that to include today in the forecast.
2023-05-24 16:07:59 +02:00
Vova-SH and Erik Montnemery
f8fdeeabc2
Add resize_keyboard and one_time_keyboard attributes to telegram bot service ( #91613 )
...
* Add new params for telegram bot
Add resize_keyboard and one_time_keyboard attributes
* Apply review changes
* Update homeassistant/components/telegram_bot/__init__.py
* Update __init__.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2023-05-24 16:07:22 +02:00
starkillerOG
16780bf4c2
Prevent firmware update error when internet blocked for Reolink camera ( #91738 )
...
* Prevent firmware update error when internet blocked
* fix styling
* switch back to async_config_entry_first_refresh
* fix still raising when starting
* missing return
* Catch CancelledError
2023-05-24 15:16:35 +02:00