Aidan Timson
3bc023986c
Fix listener running in foreground for System Bridge integration ( #91391 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-15 15:49:05 +02:00
puddly
a9db39a833
Fix attribute reporting config failures in ZHA ( #91403 )
2023-04-15 15:48:34 +02:00
starkillerOG
adc8a13f93
Reolink prevent ONVIF push being lost due to ConnectionResetError ( #91070 )
...
* Make "Connection lost" error less likely
* Handle connection loss during ONVIF event reading
* tweak
* fix styling
* catch asyncio.CancelledError from request.text()
* missing ()
* re-raise cancelation for proper cleanup
* Simplify
* Also set webhook_reachable if connection lost
* fix styntax
* Send HTTP_OK directly after data read done
* protect agains garbage collection
* Protect shielded task (inner) not shielded future (outer)
* fix black
* Make sure exceptions are logged
* fix spelling
* fix black
* fix spelling
* Simplify using hass.async_create_task
* clarify comment
* Eleborate comment
* Update homeassistant/components/reolink/host.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Apply suggestions from bdraco
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-14 21:05:22 -04:00
J. Nick Koston
1379ad60c8
Ensure recorder always attempts clean shutdown if recorder thread raises ( #91261 )
...
* Ensure recorder run shutdown if the run loop raises
If anything goes wrong with the recorder we should
still try to shutdown cleanly
* tweak
* tests
* tests
* handle migraiton failure
* tweak comment
* naming
* order
* order
* order
* reword
* adjust test
* fixes
* threading
* failure case
* fix test
* have to wait for stop because the task blocks on thread join
2023-04-14 21:03:24 -04:00
J. Nick Koston
56cc6633f5
Use fast path for track_time_change that fires every second ( #91432 )
...
We were missing a check for `*` and were only checking
`None`. Automations use `*`, python code uses `None`.
2023-04-14 21:02:54 -04:00
J. Nick Koston
5ffd833fdf
Improve performance of tracking time changes ( #91433 )
...
* Improve performance of async_track_time_interval
Uses HassJob internally to avoid looking up the function
target type every time it fires
* name
2023-04-14 21:02:13 -04:00
epenet
19a6530c3c
Add ability to shutdown a Debouncer ( #91439 )
...
* Add ability to shutdown a Debouncer
* Use async_create_task
2023-04-14 21:01:21 -04:00
J. Nick Koston
698345e88b
Bump yalexs to 1.3.0 ( #91431 )
...
changelog: https://github.com/bdraco/yalexs/compare/v1.2.7...v1.3.0
fixes for missing user ids
2023-04-14 20:02:09 -04:00
Harvey
bf4559719a
History API entity_id validation ( #90067 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-14 09:41:54 -10:00
rlippmann
f5911bcad6
Add slots to dataclasses in default_config ( #91410 )
...
* add dataclass slots to default config items
* remove slots from sun mixing
2023-04-14 14:22:39 -04:00
PatrickGlesner
f65e06dc26
Delete obsolete lines and add some missing type hints in OpenTherm Gateway integration ( #90530 )
2023-04-14 15:28:26 +02:00
epenet
f52fd13d6d
Remove duplicate webhook test ( #91420 )
...
Fix webhook test
2023-04-14 14:52:28 +02:00
Maciej Bieniek
808830b90e
Bump accuweather to version 0.5.1 ( #91412 )
...
Bump accuweather
2023-04-14 08:31:33 -04:00
Eric Severance
94f35ea968
Add webhook trigger allowed_methods/local_only options ( #66494 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-14 12:49:12 +02:00
Erik Montnemery
b23cedeae9
Save Thread dataset store when changing preferred dataset ( #91411 )
2023-04-14 11:48:03 +02:00
Jarek Świerczyński
47f5160154
Allow GET in webhook triggers ( #56446 )
2023-04-14 09:46:00 +02:00
Franck Nijhof
ce16d8eeac
Rename Particulate matter sensors to PM ( #91384 )
2023-04-14 09:43:15 +02:00
Jan Bouwhuis
fc8c5f1bbd
Do not allow mqtt lights to set brightness to zero ( #91296 )
...
* Do not allow mqtt lights to set brightness to zero
* Loglevel to debug
* Typo
2023-04-14 09:01:29 +02:00
J. Nick Koston
025e1792db
Bump onvif-zeep-async to 1.2.5 ( #91399 )
2023-04-14 08:37:12 +02:00
jjlawren
27f3b53872
Support Sonos announcements using websockets ( #91145 )
2023-04-13 20:08:53 -10:00
epenet
a061f56833
Fix lingering timer in EntityRegistryDisabledHandler ( #91376 )
...
Mark EntityRegistryDisabledHandler as cancellable
2023-04-14 06:37:49 +02:00
epenet
e39f0320df
Fix lingering timers in analytics ( #91363 )
2023-04-14 06:37:22 +02:00
Aaron Godfrey
7061b104a9
Fix tasks with no due date from not triggering `on` calendar state. ( #91196 )
...
Fix tasks with no due date.
Prior to this change we were setting the start date/time to utc rather
than the user's timezone.
2023-04-13 21:12:58 -07:00
Jesse Hills
0ddccb26fa
ESPHome voice assistant ( #90691 )
...
* Add ESPHome push-to-talk
* Send pipeline events to device
* Bump aioesphomeapi to 13.7.0
* Log error instead of print
* Rename variable
* lint
* Rename
* Fix type and cast
* Move event data manipulation into voice_assistant callback
Process full url
* Add a test?
* Remove import
* More tests
* Update import
* Update manifest
* fix tests
* Ugh
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-13 19:18:56 -04:00
epenet
1c0b2630da
Fix lingering timers in flux_led ( #91379 )
2023-04-13 11:54:29 -10:00
J. Nick Koston
e1a5ad069c
Improve performance of sums in the energy dashboard ( #91342 )
2023-04-13 11:52:38 -10:00
Erik Montnemery
4e80154ebe
Rename voice_assistant to assist_pipeline ( #91371 )
...
* Rename voice_assistant to assist_pipeline
* Fix tests
* Fix voip test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-04-13 17:25:38 -04:00
Franck Nijhof
32344a8488
Fix incorrect warn of async_update_ha_state use ( #91387 )
2023-04-13 22:39:03 +02:00
dependabot[bot]
b7b22b79d1
Bump actions/checkout from 3.5.0 to 3.5.2 ( #91373 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 22:11:47 +02:00
epenet
9744e72d5a
Add ability to auto-cancel track_time_interval ( #91381 )
2023-04-13 21:31:16 +02:00
Joost Lekkerkerker
77a445ee16
Add entity name translations to Picnic ( #91362 )
...
* Add translatable entities for Picnic
* Apply fixes
2023-04-13 20:27:33 +02:00
Martin Hjelmare
473cbf7f9b
Add stt entity ( #91230 )
...
* Add stt entity
* Update demo platform
* Rename ProviderEntity to SpeechToTextEntity
* Fix get method
* Run all init tests for config entry setup
* Fix and test metadata from header
* Test config entry unload
* Rename get provider entity
* Test post for non existing provider
* Test entity name before addition
* Test restore state
* Use register shutdown
* Update deprecation comment
2023-04-13 13:58:35 -04:00
Franck Nijhof
22a1a6846d
Warn for unneeded use of async_update_ha_state ( #91372 )
2023-04-13 13:49:56 -04:00
rich-kettlewell
f2997ce4cc
Tado set_water_heater_timer should use water_heater domain ( #91364 )
2023-04-13 19:49:07 +02:00
epenet
592ac37436
Add missing mock in sharkiq tests ( #91325 )
2023-04-13 19:33:38 +02:00
Franck Nijhof
445b823232
Avoid task creation when calling schedule_update_ha_state without force update ( #91352 )
2023-04-13 18:39:03 +02:00
epenet
9e1a670e6e
Fail CI on lingering timers (part 2) ( #89976 )
...
* Fail CI on lingering timers (part 2)
* Improve error message
* Adjust tts
2023-04-13 17:03:52 +02:00
Joost Lekkerkerker
a272f8dfb2
Move picnic sensor definitions ( #91367 )
...
* Move types and mixin to sensor
* Move types and mixin to sensor
2023-04-13 16:46:10 +02:00
epenet
c40836b49f
Fix lingering timers in tts ( #90834 )
...
* Fix lingering timers in tts
* Improve
* Use HassJob with cancel_on_shutdown
2023-04-13 15:27:13 +02:00
epenet
c1b7aa084c
Fix race condition in deconz ( #91328 )
...
* Fix race condition in deconz
* Use a new separate test
2023-04-13 15:04:21 +02:00
Duco Sebel
8ca3440f33
Bump python-homewizard-energy to 2.0.1 ( #91097 )
2023-04-13 13:42:35 +02:00
J. Nick Koston
274a6fd3d7
Bump aiolifx to 0.8.10 ( #91324 )
2023-04-13 13:38:27 +02:00
Bram Kragten
8527048f07
Update frontend to 20230411.1 ( #91344 )
2023-04-13 13:37:37 +02:00
Franck Nijhof
d320c73fb7
Use async_write_ha_state in tests ( #91333 )
2023-04-13 12:36:36 +02:00
Franck Nijhof
208a44e437
Use async_write_ha_state in generic hygrostat ( #91331 )
2023-04-13 09:42:12 +02:00
epenet
4a0988eb5d
Adjust shutdown registration in EntityComponent ( #90938 )
...
* Adjust shutdown registration in EntityComponent
* Adjust
* Make it more explicit
* docstring
2023-04-13 08:47:04 +02:00
J. Nick Koston
6dbe67e909
Bump httpx to 0.24.0 and httpcore to 0.17.0 ( #91308 )
2023-04-12 20:11:59 -10:00
Paulus Schoutsen
c9d81bd217
Pipelines to default to Home Assistant agent ( #91321 )
...
* Pipelines to default to Home Assistant agent
* Tests fix
2023-04-13 00:34:19 -04:00
Paulus Schoutsen
0678ab4e45
Add VoIP entities ( #91320 )
...
* WIP
* Add VoIP entities to enable calls
* Mark voip entities as config only
* Remove commented code
2023-04-12 23:23:20 -04:00
Michael Hansen
f0c625b2ad
Add language util ( #91290 )
...
* Add language util
* Add no match tests
* Update tests/util/test_language.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-12 20:27:09 -05:00