Nalin Mahajan
0e7d7f32c1
Add new control4 helper function ( #90234 )
...
* Add new helper function to retrieve device variables and update light platform
* seperate try catch from helper function and fix typing
* Change helper function name
* Remove unnecessary forced type changes
* More type changes
2023-03-30 10:33:01 +02:00
epenet
3599515325
Add missing strings to sensor integration ( #90475 )
...
* Add missing strings to sensor integration
* Enumeration
* Apply suggestion
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2023-03-30 10:21:11 +02:00
Vincent Knoop Pathuis
a7040a0487
Add Landis+Gyr MWh-readings from ultraheat-api ( #89937 )
...
* Use mwh values from ultraheat api when available
Remove manifest cleanup from PR
Remove added device class from this PR
Restore entity registry fixture
Replace filter by attr_entity_registry_enabled_default
* Catchup with #90182 and #90183
* Add comment explaining disabling some entities
* Add parameterisation of test cases
2023-03-30 09:07:47 +02:00
jellenijhof12
ba32e28fc6
Add dimmable lights support to niko home control ( #90141 )
...
* added support for dimmable lights and auto host discover
* split up merge request
* fixed feedback brightness support
* fixed feedback
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* resolved feedback
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2023-03-30 08:59:29 +02:00
Thijs W
053ed3cfdc
Add reauth to frontier_silicon config flow ( #90443 )
...
* Add reauth to frontier_silicon config flow
* Update patch target
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Add reauth_successful to strings.json
* Don't manually set "title_placeholders"
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2023-03-30 08:49:46 +02:00
Thijs W
40cb0eeb68
Add missing strings in frontier_silicon ( #90446 )
...
Improve confirm message for ssdp flow
2023-03-30 08:05:24 +02:00
luar123
f0710bae06
Add config-flow to Snapcast ( #80288 )
...
* initial stab at snapcast config flow
* fix linting errors
* Fix linter errors
* Add import flow, support unloading
* Add test for import flow
* Add dataclass and remove unique ID in config-flow
* remove translations
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Refactor config flow and terminate connection
* Rename test_config_flow.py
* Fix tests
* Minor fixes
* Make mock_create_server a fixture
* Combine tests
* Abort if entry already exists
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Move HomeAssistantSnapcast to own file. Clean-up last commit
* Split import flow from user flow. Fix tests.
* Use explicit asserts. Add default values to dataclass
* Change entry title to Snapcast
---------
Co-authored-by: Barrett Lowe <barrett.lowe@gmail.com >
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2023-03-30 07:42:09 +02:00
Raman Gupta
fc78290e2f
Remove callback decorators where unneeded ( #90478 )
...
* Remove callback decorators where unneeded
* revert extra replace
2023-03-30 00:04:39 +02:00
RenierM26
93d1961aae
Use auth token in Ezviz ( #54663 )
...
* Initial commit
* Revert "Initial commit"
This reverts commit 452027f1a3c1be186cedd4115cea6928917c9467.
* Change ezviz to token auth
* Bump API version.
* Add fix for token expired. Fix options update and unload.
* Fix tests (PLATFORM to PLATFORM_BY_TYPE)
* Uses and stores token only, added reauth step when token expires.
* Add tests MFA code exceptions.
* Fix tests.
* Remove redundant try/except blocks.
* Rebase fixes.
* Fix errors in reauth config flow
* Implement recommendations
* Fix typing error in config_flow
* Fix tests after rebase, readd camera check on init
* Change to platform setup
* Cleanup init.
* Test for MFA required under user form
* Remove useless if block.
* Fix formating after rebase
* Fix formating.
* No longer stored in the repository
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2023-03-29 17:43:54 -04:00
J. Nick Koston
4c21caa917
Fix filesize doing blocking I/O in the event loop ( #90479 )
...
Fix filesize doing I/O in the event loop
2023-03-29 17:26:28 -04:00
starkillerOG
1023628821
Bump reolink-aio to 0.5.8 ( #90467 )
2023-03-29 17:26:05 -04:00
Guido Schmitz
706e6597d8
Add entity name translations for devolo Home Network ( #90471 )
2023-03-29 17:25:33 -04:00
J. Nick Koston
3bebd4318e
Bump yalexs-ble to 2.1.14 ( #90474 )
...
changelog: https://github.com/bdraco/yalexs-ble/compare/v2.1.13...v2.1.14
reduces ble traffic (fixes a bug were we were checking when we did not need to be)
2023-03-29 17:24:47 -04:00
puddly
d0a492644d
Correctly load ZHA settings from API when integration is not running ( #90476 )
...
Correctly load settings from the zigpy database when ZHA is not running
2023-03-29 17:24:26 -04:00
dougiteixeira
43a7247dde
Move ProxmoxEntity to entity.py ( #90480 )
...
* Move ProxmoxEntity to entity.py
* Update homeassistant/components/proxmoxve/entity.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update homeassistant/components/proxmoxve/entity.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update homeassistant/components/proxmoxve/entity.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update homeassistant/components/proxmoxve/entity.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update homeassistant/components/proxmoxve/binary_sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2023-03-29 23:04:37 +02:00
Franck Nijhof
7010447b04
Bump version to 2023.5.0dev0 ( #90477 )
2023-03-29 16:46:32 -04:00
Chris Xiao
7c778847e7
Add config flow to qBittorrent ( #82560 )
...
* qbittorrent: implement config_flow
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: add English translations
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: create sensors with config_flow
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: set unique_id and icon
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: add tests for config_flow
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: detect duplicate config entries
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: import YAML config
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: update coveragerc
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
* qbittorrent: delete translations file
* create `deprecated_yaml` issue in `setup_platform`
* move qbittorrent test fixtures to conftest.py
* improve code quality & remove wrong unique_id
* keep PLATFORM_SCHEMA until YAML support is removed
* remove CONF_NAME in config entry, fix setup_entry
* improve test suite
* clean up QBittorrentSensor class
* improve user flow tests
* explicit result assertion & minor tweaks in tests
Co-authored-by: epenet <epenet@users.noreply.github.com >
* implement entry unloading
Co-authored-by: epenet <epenet@users.noreply.github.com >
* add type hints
* tweak config_flow data handling
---------
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com >
Co-authored-by: epenet <epenet@users.noreply.github.com >
2023-03-29 22:13:41 +02:00
Erik Montnemery
5bc9545b81
Rename custom_jinja to custom_templates ( #90473 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2023-03-29 21:58:25 +02:00
Michael
cf0550f5c2
Add re-auth flow to nextcloud ( #90472 )
2023-03-29 21:46:08 +02:00
Kevin Stillhammer
28d045cf75
Allow resetting filters for waze_travel_time ( #88253 )
...
* Allow resetting filters by using vol.Maybe
* Fix return types
* Use suggested values
* Apply feedback
* Apply nitpick
2023-03-29 21:05:20 +02:00
Bram Kragten
a478e278fd
Update frontend to 20230329.0 ( #90461 )
2023-03-29 21:04:04 +02:00
Raman Gupta
4877cf8d5d
Bump zwave-js-server-python to 0.47.1 ( #90464 )
2023-03-29 14:30:30 -04:00
Michael
b881995efc
Add verify ssl option to nextcloud ( #90462 )
...
add verify sssl option to config flow
2023-03-29 19:36:42 +02:00
Marcel van der Veldt
a33c70e595
Bump python-matter-server to 3.2.0 ( #90457 )
2023-03-29 18:52:21 +02:00
Luke
7ca5beddfc
Fix Oralb Logger ( #90460 )
2023-03-29 06:36:01 -10:00
Paulus Schoutsen
81c39e42f4
Bump home-assistant-intents to 2023.3.29 ( #90459 )
2023-03-29 11:25:08 -05:00
epenet
f7925763a4
Make abort_entries_match available in options flow ( #90406 )
...
* Make abort_entries_match available in options flow
* Add tests
* Exclude ignore entries and add test
* Move to OptionsFlow
* Adjust tests
* Use mock_config_flow
* Use AbortFlow
* Remove duplicate code
2023-03-29 17:20:51 +02:00
mletenay
a1c94919de
Fix goodwe export limit unit on single phase DT inverters ( #90427 )
...
* Fix export limit unit on single phase DT inverters
* Update homeassistant/components/goodwe/number.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2023-03-29 16:01:14 +02:00
starkillerOG
d427c35c87
Reolink improve config flow login ( #90036 )
2023-03-29 14:41:38 +02:00
Renat Sibgatulin
8dbcbd156a
Add new sensors to airq ( #90413 )
...
Support for the sensors introduced in air-Q firmware v1.82.0
2023-03-29 11:33:27 +02:00
MatthewFlamm
c06bc28434
Limit observations requested for NWS ( #90137 )
...
* fetch data only for 70 minutes
* Use timezone aware now
* Type hint
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2023-03-29 10:34:29 +02:00
J. Nick Koston
b58c90602f
Bump yalexs-ble to 2.1.13 ( #90442 )
2023-03-29 09:39:44 +02:00
Klaas Schoute
0327f312f2
Fix data issue for easyEnergy during midnight ( #90434 )
2023-03-29 08:37:20 +02:00
Klaas Schoute
12edaa052c
Fix data issue for energyzero during midnight ( #90433 )
2023-03-29 08:29:44 +02:00
J. Nick Koston
8096be768d
Isolate the sql integration with a separate query cache ( #90438 )
...
* Isolate the sql integration with a seperate query cache
If there were a lot of sql integrations they could affect
the performance of the recorder/logbook/history since they
were sharing the same LRU and since the sql sensor updates
frequently it would evict the recorder queries from the
LRU.
* generate in stmt
* avoid double gen
* Revert "avoid double gen"
This reverts commit 6a5aa65268da12e2cd0e73e0bfb46db6e7e6214d.
2023-03-28 23:54:03 -04:00
J. Nick Koston
5dc96a6952
Fix unbound variable in sql when session setup fails ( #90439 )
...
Traceback (most recent call last):
File "/Users/bdraco/home-assistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
await asyncio.shield(task)
File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 75, in async_setup_platform
await async_setup_sensor(
File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 150, in async_setup_sensor
sessmaker := await hass.async_add_executor_job(
File "/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 205, in _validate_and_get_session_maker_for_db_url
if sess:
UnboundLocalError: local variable 'sess' referenced before assignment
2023-03-28 23:52:44 -04:00
Paulus Schoutsen
885be98f8f
OpenAI to use GPT3.5 ( #90423 )
...
* OpenAI to use GPT3.5
* Add snapshot
2023-03-29 05:37:43 +02:00
J. Nick Koston
403dffc12d
Reduce cache key size for queries that only need single columns ( #90430 )
...
* Reduce cache key size for queries that only need single columns
These queries only cared about a single row but would select
the whole set of columns from the orm object
* wrap it
2023-03-28 23:28:24 -04:00
J. Nick Koston
ce28bfe5b2
Remove unused types argument in statistics query generation ( #90431 )
...
* Remove unused types argument in statistics query generation
* update test
2023-03-28 23:01:11 -04:00
Nathan Spencer
2c7c8ccbfe
Fix bluetooth polling recovered log missing argument ( #90436 )
2023-03-28 16:36:26 -10:00
Thijs W
e3cad8baac
Migrate ssdp to config_flow for frontier_silicon ( #89496 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2023-03-28 16:06:21 -10:00
TheJulianJES
47a2598b66
Add Aqara smoke sensor entities to ZHA ( #90159 )
...
* Add Aqara smoke sensor entities (WIP)
* Update smoke sensor entities (WIP)
* Drop two init attributes
* Move self-test button
* Remove self-test switch, add icons
* Add smoke sensor dbm entity
* Also add SMOKE device class to linkage alarm
Note: Enable "Linkage alarm" for this
2023-03-28 21:30:56 -04:00
TheJulianJES
12f49006cf
Add Aqara E1 thermostat entities to ZHA ( #90158 )
...
* Add Aqara E1 thermostat entities (WIP)
* Remove calibrate button for now
* Add diagnostic entity category to calibrated + external sensor
* Add multiplier for ZHA config number/away preset temp
* Set default multiplier correctly
* Add and use `CONFIG_DIAGNOSTIC_MATCH` for diagnostic entities
2023-03-28 21:12:21 -04:00
David F. Mulcahey
8660035027
Bump ZHA quirks to 0.0.95 ( #90435 )
2023-03-28 20:59:26 -04:00
J. Nick Koston
4f05246654
Bump onvif-zeep-async to 1.2.3 ( #90382 )
2023-03-28 13:54:33 -10:00
MattWestb
ee2101ef38
Add binding of IKEA Matter Switch cluster in ZHA ( #89623 )
...
* Adding binding of IKEA Matter Switch cluster
IKEA Symfonisk Gen 2 is using Matter ZCL Switch command but on manufacture cluster then its not supported in ZVL R8 that need being bond for sending the commands to the coordinator.
* Update manufacturerspecific.py
* Update manufacturerspecific.py
Delete not needed function `@registries.BINDABLE_CLUSTERS.register(0xFC80)`
2023-03-28 19:33:06 -04:00
J. Nick Koston
9dc936f8b9
Add sqlalchemy LRUs to the profiler lru service ( #90428 )
2023-03-28 12:02:35 -10:00
mletenay
9ae0236208
Add goodwe sensors for apparent/reactive pwr ( #87940 )
2023-03-28 23:31:14 +02:00
J. Nick Koston
f60e9c71a2
Make bootstrap cancelation safe ( #90420 )
2023-03-28 11:22:41 -10:00
Erik Montnemery
e22618a555
Write protect entity options ( #90185 )
2023-03-28 22:56:51 +02:00