Patrick ZAJDA
e748f0c623
Add entity name translations to Broadlink sensors ( #90783 )
...
* Add entity name translations to Broadlink sensors
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Update tests
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-04 15:18:41 -04:00
Jan Bouwhuis
4a0d3e881a
Rework MQTT config merging and adding defaults ( #90529 )
...
* Cleanup config merging and adding defaults
* Optimize and update tests
* Do not mix entry and yaml config
* Make sure hass.data is initilized
* remove check on get_mqtt_data
* Tweaks to MQTT client
* Remove None assigment mqtt client and fix mock
2023-04-04 18:12:18 +02:00
Erik Montnemery
28d85bc405
Run prettier on matter fixture ( #90784 )
2023-04-04 16:13:08 +02:00
Martin Hjelmare
535fb34207
Move legacy stt ( #90776 )
...
* Move legacy stt to separate module
* Remove case for None as provider
* Add error log for unknown platform
* Add some tests
2023-04-04 14:52:36 +02:00
epenet
f24634e198
Use domain constants in rest tests ( #90765 )
2023-04-04 14:33:41 +02:00
hidaris
a9e14cd8d7
Preliminary support for Matter cover ( #90262 )
...
Preliminary support for Matter cover, curtain tilt support has not been added yet.
2023-04-04 14:16:11 +02:00
Maciej Bieniek
2f22613cf9
Address late review for NextDNS entity name translations ( #90771 )
2023-04-04 12:56:39 +02:00
J. Nick Koston
edd93e989e
Add render count to templates repr ( #90753 )
2023-04-03 19:38:15 -10:00
Paulus Schoutsen
79101b31d5
Fix frontend test again ( #90754 )
2023-04-04 00:11:20 -04:00
Paulus Schoutsen
6e4c78686e
Run pipeline from audio stream function ( #90748 )
...
* Run pipeline from audio stream function
* Fix tests
---------
Co-authored-by: Michael Hansen <mike@rhasspy.org>
2023-04-04 00:06:51 -04:00
J. Nick Koston
4f1574b859
Prevent overly large event data from being stored in the database ( #90747 )
...
This is the same change as #87105 for events
2023-04-04 00:02:49 -04:00
Avi Miller
5e7e96c5da
Remove the LIFX sensor update coordinator ( #90740 )
2023-04-03 17:48:32 -10:00
TheJulianJES
a58b3721ed
Restore state for ZHA OnOff binary sensors ( #90749 )
...
* Restore state for ZHA OnOff binary sensors
* Let `Motion` extend `Opening`
`Motion` is just a specified version of `Opening` that only changes the device class for some motion sensors.
Since we have more "special code" in the OnOff/Opening sensor now, we also want to make sure that gets applied to `Motion` binary sensors.
* Improve comment and type
* Add test to verify that binary sensors restore last HA state
2023-04-03 22:27:57 -04:00
Michael
d4d77d9395
Add sort list service to Shopping List ( #90671 )
2023-04-03 21:34:44 +02:00
Emory Penney
7c6a32ebb5
Add DHCP discovery to Obihai ( #88984 )
...
* Add DHCP discovery to Obihai
* Unique ID is MAC
* Move try blocks, cleanup
* Migrate existing unique_ids
* Use PyObihai to update Unique ID
* Auth then use get_device_mac
* Config flow changes
* Reworking flow according to feedback
* Cleanup
2023-04-03 21:17:56 +02:00
Matthias Alphart
edaee89e34
Use entity name translations in Fronius ( #90463 )
2023-04-03 20:05:52 +02:00
Michael
682ebbd4d5
Add entity name translations to Luftdaten ( #90725 )
2023-04-03 19:55:54 +02:00
epenet
2d1bb6135c
Use entity name translations in 1-wire ( #90696 )
...
* Use entity name translations in onewire
* Adjust binary sensors
* Adjust switches
* Cleanup
2023-04-03 13:07:02 -04:00
Michael
9d508ac7ae
Add entity name translations to AVM Fritz!SmartHome ( #90707 )
...
* add entity name translation
* sort and capitalize
* adjust tests
* sort entities
2023-04-03 13:04:09 -04:00
Erik Montnemery
c3091fad4c
Raise repair issue if OTBR and ZHA are on different channels ( #90494 )
...
* Raise repair issue if OTBR and ZHA are on different channels
* Update issues after creating or setting dataset
* Explain impact
* Add link to documentation, adjust language
* Update homeassistant/components/otbr/strings.json
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-03 13:02:10 -04:00
epenet
73d0124c98
Use entity name translations in Renault ( #90697 )
2023-04-03 18:20:11 +02:00
Michael
1cce55d176
Add entity name translations to NUT ( #90709 )
2023-04-03 18:18:23 +02:00
Michael
aeeadb570a
Fix translation of status binary sensor in PI-Hole ( #90719 )
2023-04-03 16:38:54 +02:00
Patrick ZAJDA
4456557a02
Add entity name translations to Switchbot ( #90600 )
...
* Add entity name translations to Switchbot
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Apply suggestions from code review
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Fix tests
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Update homeassistant/components/switchbot/strings.json
Co-authored-by: Patrick ZAJDA <patrick@zajda.fr>
---------
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-04-03 10:10:30 -04:00
epenet
45038bac16
Use entity name translations in SFR Box ( #90698 )
2023-04-03 14:04:02 +02:00
Michael
628142527d
Add entity name translations to Pi-hole ( #90713 )
2023-04-03 14:00:27 +02:00
Michael
33a4c2c162
Add entity name translations to AVM Fritz!Tools ( #90703 )
...
* add entity name translation
* apply suggestions
* sort strings
2023-04-03 07:35:35 -04:00
Maciej Bieniek
eb748416ed
Use the default entity names in GIOS ( #90700 )
2023-04-03 12:42:55 +02:00
Maciej Bieniek
34041c7564
Add entity name translations to NAM ( #90681 )
2023-04-03 12:37:01 +02:00
Maciej Bieniek
cacd6708f0
Use the default entity names in Airly ( #90693 )
2023-04-03 10:50:24 +02:00
G Johansson
724eb7f2bd
Remove Darksky integration ( #90322 )
2023-04-03 10:34:36 +02:00
Nerdix
d539bddabc
Correct handling if WIFI combine suffix is "None" ( #90528 )
...
* Correct handling of "None" WIFI combine suffix
* Update tests/components/unifi/test_config_flow.py
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* Update tests/components/unifi/test_config_flow.py
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
---------
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-04-03 09:47:08 +02:00
Jan Bouwhuis
580b20b0a8
Deprecate imap_content_sensor ( #90429 )
...
* Deprecate imap_content_sensor
* Rename unique_id to issue_id
* Migrate config to imap entry
* Improve dialogs
* Improve dialog texts
* Add repairs.py to .coveragerc
* Test the integration component setup
* Text tweak
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use flow for creating entries
* Rename schema add tests
* Patch client instead
* Add tests repairs - refactor async_step_confirm
* Comments test, correct calling next step
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-03 07:27:41 +02:00
J. Nick Koston
73714a6656
Ensure system log does not raise while processing logger messages ( #90652 )
2023-04-02 15:18:50 -10:00
J. Nick Koston
51ff027fce
Add object source logger to profiler ( #90650 )
...
* Add object source logger to profiler
* fixes
* cleanup
* tweaks
* logging
* logging
* too intensive
* adjust
* Update homeassistant/bootstrap.py
* fixes
* fixes
* coverage
2023-04-02 20:54:21 -04:00
J. Nick Koston
17719663f0
Fix memory churn in state templates ( #90685 )
...
* Fix memory churn in state templates
The LRU for state templates was limited to 512 states. As soon
as it was exaused, system performance would tank as each template
that iterated all states would have to create and GC any state
> 512
* does it scale?
* avoid copy on all
* comment
* preen
* cover
* cover
* comments
* comments
* comments
* preen
* preen
2023-04-02 20:51:25 -04:00
Paulus Schoutsen
c5a87addc1
Fix frontend test ( #90679 )
2023-04-02 14:28:52 -04:00
Maciej Bieniek
fc81b82932
Add entity name translations to GIOS ( #90655 )
...
* Add entity name translations
* Update tests
2023-04-02 14:25:38 -04:00
tronikos
b52fab0f6d
Rename Android TV to Android Debug Bridge ( #90657 )
...
* Rename Android TV to Android debug bridge
* More renaming
2023-04-02 14:22:16 -04:00
J. Nick Koston
84292d4797
Cleanup some duplicate code in recorder statistics ( #90549 )
...
* Cleanup some duplicate code in recorder statistics
* more cleanup
* reduce
* reduce
2023-04-01 21:40:14 -04:00
Maciej Bieniek
5fc103947f
Add entity name translations to Brother ( #90634 )
...
* Add entity name translations
* Fix sensor name
* Update tests
* Suggested change
2023-04-01 21:39:46 -04:00
Jan Bouwhuis
9965d9d81d
Fix mqtt device_tracker is not reloading yaml ( #90639 )
2023-04-01 15:17:53 -04:00
starkillerOG
b47ac524ea
Use async_timeout instead of asyncio.wait_for ( #90496 )
...
* Use async_timeout instead of asyncio.wait_for
* fix imports
* fix imports
* break out Event.wait patch
* Update tests/components/reolink/conftest.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Simplify
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-01 17:47:31 +02:00
Michael Hansen
90d81e9844
Use webrcvad to detect silence in pipelines ( #90610 )
...
* Add webrtcvad requirement
* Use webrcvad for voice command segmenting
* Add vad test
2023-03-31 23:55:07 -04:00
J. Nick Koston
44b35fea47
Speed up entity filter when there are many glob matchers ( #90615 )
...
* Speed up entity filter when there are many glob matchers
Since we do no care about which glob matches we can
combine all the translated globs into a single regex
which reduces the overhead
* delete unused code
* preen
2023-03-31 21:18:29 -04:00
J. Nick Koston
f4c341253b
Avoid sorting domain/all states in templates ( #90608 )
2023-03-31 11:27:55 -10:00
puddly
3f398818c5
Perform an energy scan when downloading ZHA diagnostics ( #90605 )
2023-03-31 15:37:00 -04:00
Paulus Schoutsen
01a05340c6
Voice Assistant: improve error handling ( #90541 )
...
Co-authored-by: Michael Hansen <mike@rhasspy.org>
2023-03-31 14:04:22 -05:00
puddly
84eb9c5f97
Fix ZHA definition error on received command ( #90602 )
...
* Fix use of deprecated command schema access
* Add a unit test
2023-03-31 14:53:42 -04:00
Paulus Schoutsen
ad26317b75
Conversation: allow getting agent info ( #90540 )
...
* Conversation: allow getting agent info
* Add unset agenet back
2023-03-31 14:36:39 -04:00