Christopher Bailey
3e01085c91
Add repair for UniFi Protect if RTSP is disabled on camera ( #114088 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-24 17:30:52 -10:00
Yuxin Wang
76052a5385
Implement diagnostics platform for APCUPSD ( #112284 )
...
* Implement diagnostic platform for APCUPSd
* Put APCUPSd in gold quality scale
* Revert quality scale update
* Use snapshot testing for apcupsd
* Prettify the code
2024-03-24 23:40:41 +01:00
Jan Bouwhuis
c94d8c541b
Fix google assistant diagnostics test ( #114111 )
...
Improve google assistant diagnostics test
2024-03-24 19:05:47 +01:00
Jan Bouwhuis
67ab49b825
Fetch ServiceNotFound message from translation cache and fix super ( #114084 )
...
* Fetch ServiceNotFound message from translation cache and fix super
* Fix tests trace component
* Fix script errors
2024-03-24 07:41:13 -10:00
J. Nick Koston
6371b344b9
Ensure discovery can setup legacy device tracker platforms ( #114101 )
2024-03-24 07:38:05 -10:00
J. Nick Koston
d4b180cf75
Fix flapping device_tracker test_bad_platform test ( #114102 )
...
https://github.com/home-assistant/core/actions/runs/8408079861/job/23023835074
2024-03-24 13:23:12 +01:00
Robert Svensson
2e2b40f77e
Add reconfigure flow to Axis integration ( #114067 )
2024-03-24 12:48:19 +01:00
Dave T
579084a21e
Add more sensors to aurora_abb_powerone (part 2) ( #114097 )
2024-03-24 11:04:12 +00:00
Floris272
d14a442ac3
Improve blue current integration code ( #114004 )
2024-03-23 22:35:53 -10:00
J. Nick Koston
e8cb6a8e29
Optimize loading of translations ( #114089 )
2024-03-23 22:22:09 -10:00
J. Nick Koston
4ac439ef88
Migrate nut to use aionut ( #114078 )
2024-03-23 12:02:02 -10:00
G Johansson
d4f158d079
Add reconfigure step to holiday ( #114057 )
2024-03-23 22:55:05 +01:00
Dave T
c82c295eed
Add more sensors to aurora_abb_powerone ( #114074 )
2024-03-23 21:52:22 +00:00
Joost Lekkerkerker
ce12d45b50
Catch Mill timeout error ( #114068 )
...
* Catch Mill timeout error
* Catch Mill timeout error
* Catch Mill timeout error
2024-03-23 20:57:22 +01:00
J. Nick Koston
82016ff528
Refactor recorder states tests ( #114073 )
...
https://github.com/home-assistant/core/pull/113985#discussion_r1536596573
2024-03-23 15:41:12 -04:00
J. Nick Koston
4f18f0d902
Fix setup timings when config entry platform loads are not awaited ( #113959 )
...
* Move setup time logging into the context manager
We were fetching the time twice but since the context
manager already has the timing, move it there
* remove log setup assertions from integration test
* tweak logging to give us better data for tracking issues
* redundant
* adjust
* preen
* fixes
* adjust
* make api change internal so nobody uses it
* coverage
* fix test
* fix more tests
* coverage
* more tests assuming internal calls
* fix more
* adjust
* adjust
* fix axis tests
* fix broadlink -- it does not call async_forward_entry_setup
* missed some
* remove useless patch
* rename, detect it both ways
* clear
* debug
* try to fix
* handle phase finishing out while paused
* where its set does not need to know its late as that is an implemenation detail of setup
* where its set does not need to know its late as that is an implemenation detail of setup
* tweak
* simplify
* reduce complexity
* revert order change as it makes review harder
* revert naming changes as it makes review harder
* improve comment
* improve debug
* late dispatch test
* test the other way as well
* Update setup.py
* Update setup.py
* Update setup.py
* simplify
* reduce
2024-03-23 15:26:38 -04:00
Jan Bouwhuis
a4f52cc622
Use a constant to reference `homeassistant` domain ( #113889 )
...
* Use CONF_CORE to reference `homeassistant` domain
* Just use DOMAIN
* USE DOMAIN for `homeasistant` domain in config_schema.py
* Use DOMAIN_HA as constant for homeassistant domain
* Rename CONF_CORE to DOMAIN_HA
* Rename DOMAIN_HA to HA_DOMAIN
* Use relative import
* Use direct imports
2024-03-23 19:58:39 +01:00
On Freund
c661622332
Add Risco system binary sensors ( #114062 )
...
* Add Risco system binary sensors
* Remove leading underscore
* Address code review commments
2024-03-23 19:35:12 +01:00
G Johansson
7b0abb00aa
Show correct ipv6 address in System Monitor ( #114024 )
2024-03-23 11:24:17 +01:00
J. Nick Koston
ac80d38871
Fix flakey stream hls test ( #114046 )
2024-03-23 11:11:42 +01:00
G Johansson
ebe6c35b4c
Smhi add reconfigure step to config flow ( #114044 )
...
* Add reconfigure step to SMHI
* Check location
* Add test
* Add test entity and device
2024-03-23 11:01:59 +01:00
kingy444
c2771791a3
Add Powerview Type 11 ( #114047 )
2024-03-22 17:09:36 -10:00
J. Nick Koston
952f47ab18
Combine recorder and frontend bootstrap step ( #113985 )
2024-03-22 13:50:39 -10:00
Robert Svensson
bf8d880e5f
Improve axis tests ( #114035 )
...
* Combine binary sensor tests into more logical groups
* Improve light tests
* Clean up switch tests
* Improve typing in conftest
* Add typing to camera
* Improve binary sensor
* Improve light
* Improve switch
2024-03-23 00:44:06 +01:00
kingy444
26b6bd83fc
Move powerview timeout logic to the upstream api ( #113984 )
2024-03-22 13:38:33 -10:00
Marc Mueller
efc54971d3
Update empty line formatting after module docstring ( #114040 )
2024-03-23 00:27:57 +01:00
Marc Mueller
1dbc94162d
Update byte string formatting (2) ( #114039 )
2024-03-23 00:22:15 +01:00
alexsydell
9e86f82a1b
Add ecobee indefinite away preset, remove unusable/broken presets ( #108636 )
...
* Add ecobee indefinite away preset, remove unusable/broken presets
* Revert cleanup of presets which no longer work
2024-03-22 22:45:54 +01:00
Robert Svensson
d3c68303b0
Improve deCONZ test_non_color_light_reports_color ( #114021 )
2024-03-22 22:18:22 +01:00
Arie Catsman
205c457a77
Add home battery storage entities for enphase_envoy ( #114015 )
2024-03-22 08:46:39 -10:00
Jan-Philipp Benecke
cd0c9e1c4f
Remove deprecated `hass.components` from conversation tests and use light setup fixture ( #114012 )
2024-03-22 17:52:10 +01:00
Jan-Philipp Benecke
01acbc8bba
Remove deprecated `hass.components` from zeroconf tests ( #114013 )
2024-03-22 17:51:39 +01:00
Jan-Philipp Benecke
edc19328c0
Remove deprecated `hass.components` from scene tests ( #114014 )
2024-03-22 17:48:53 +01:00
Jan-Philipp Benecke
08529b3806
Remove deprecated `hass.components` from frontend tests ( #114011 )
2024-03-22 17:35:43 +01:00
Duco Sebel
cad3be8213
Add new HomeWizard Energy Socket to tests ( #113406 )
2024-03-22 16:48:27 +01:00
G Johansson
7df0d3b140
Remove hourly weather entity from NWS ( #112503 )
2024-03-22 16:32:29 +01:00
G Johansson
4fb11dc4f3
Remove hourly weather entity from Aemet ( #110764 )
2024-03-22 16:31:43 +01:00
Duco Sebel
48553ece68
Remember entered IP when error happend while setting up HomeWizard ( #113815 )
2024-03-22 16:10:03 +01:00
Robert Svensson
a9e857202d
Axis use entity descripton binary sensor platform ( #113705 )
2024-03-22 15:49:51 +01:00
Joakim Sørensen
a2143a7c1a
Return default repairs flow for cloud TTS issues ( #113981 )
...
* Set TTS repairs as not fixable
* Return default confirm flow for fixable cloud issues
* Depend on repairs
* Test default repair flow
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-22 11:20:47 +01:00
Erik Montnemery
79f2eaaf41
Deprecate the panel_iframe integration ( #113410 )
...
* Deprecate the panel_iframe integration
* Address review comments
* Customize issue text
* Update test
2024-03-22 02:48:52 +01:00
Dave T
a6d98c1857
Improve user error messages for generic camera ( #112814 )
...
* Generic camera: Insufficient error message when configuration fails
Fixes #112279
* Add tests
* Fix typo in string
* Add new error strings to options flow.
* Group and improve error strings following PR review
2024-03-21 21:54:45 +00:00
J. Nick Koston
9a863638f6
Avoid writing HomeKit state to disk unless its missing ( #111970 )
2024-03-21 09:19:55 -10:00
Shay Levy
63275d61a5
Add Shelly RGB/RGBW profiles support ( #113808 )
...
* Add Shelly RGB/RGBW profiles support
* Update homeassistant/components/shelly/light.py
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* Use walrus in rgbw_key_ids
* Use walrus in light_key_ids
---------
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2024-03-21 21:04:50 +02:00
Simone Chemelli
8728057b1b
Add support for Shelly RPC devices custom TCP port ( #110860 )
...
* First coding
* add port to config_entry + gen1 not supported msg
* fix async_step_credentials
* strings
* fix reauth
* fix visit device link
* increased MINOR_VERSION
* apply review comments
* align to latest aioshelly
* missing tests
* introduce port parameter
* update tests
* remove leftover
* remove "port" data_description key
* missing key
* apply review comments
* apply more review comments
* Add tests
* apply review comment
* apply review comment (part 2)
* description update
* fine tuning description
* fix test patching
---------
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2024-03-21 19:58:56 +01:00
J. Nick Koston
8141a246b0
Remove unrelated patching from scrape test ( #113951 )
...
https://github.com/home-assistant/core/pull/105516#discussion_r1534459365
The fixture already is designed to go unavailable on the 3rd update
2024-03-21 19:54:24 +01:00
Thomas55555
63221356f6
Add select platform to Husqvarna Automower ( #113816 )
...
* Add select platform to Husqvarna Automower
* docstring
* address review
* pin headlight_modes list
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Apply review
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-21 17:07:09 +01:00
G Johansson
9289fa23a1
Add availability to Scrape config flow ( #105516 )
2024-03-21 13:13:25 +01:00
Josef Zweck
e5fa6f0176
Add Bluetooth support to La Marzocco integration ( #108287 )
...
* init
* init tests
* linting
* checks
* tests, linting
* pylint
* add tests
* switch tests
* add water heater tests
* change icons
* extra args cleanup
* moar tests
* services tests
* remove extra platforms
* test for unique id
* back to single instance
* add diagnostics
* remove extra platforms
* test for unique id
* back to single instance
* Add better connection management for Idasen Desk (#102135 )
* Return 'None' for light attributes when off instead of removing them (#101946 )
* Bump home-assistant-bluetooth to 1.10.4 (#102268 )
* Bump orjson to 3.9.9 (#102267 )
* Bump opower to 0.0.37 (#102265 )
* Bump Python-Roborock to 0.35.0 (#102275 )
* Add CodeQL CI Job (#102273 )
* Remove unused dsmr sensors (#102223 )
* rebase messed up conftest
* more tests for init
* add client to coveragerc
* add client to coveragerc
* next lmcloud version
* strict typing
* more typing
* allow multiple machines
* remove unneeded var
* Update homeassistant/components/lamarzocco/coordinator.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/diagnostics.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/__init__.py
Co-authored-by: Robert Resch <robert@resch.dev>
* PR suggestions
* remove base exception
* Update manifest.json
* update lmcloud
* update lmcloud
* remove ignore
* selection bugfix for machines with space in name
* bugfix temps
* add options flow
* send out full user input
* remove options flow
* split the tests to avoid timeouts
* use selectoptionsdict for selection
* removing rccoleman
* improve test coverage to 100%
* Update config_flow.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update config_flow.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update config_flow.py
Co-authored-by: Robert Resch <robert@resch.dev>
* autoselect cloud machine for discovered machine
* move default values to 3rd party lib
* bring property changes from lmcloud
* moving things to lmcloud
* move validation to method
* move more things to lmcloud
* remove unused const
* Update homeassistant/components/lamarzocco/coordinator.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/coordinator.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/__init__.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/__init__.py
Co-authored-by: Robert Resch <robert@resch.dev>
* remove callback from coordinator
* remove waterheater, add switch
* improvement to background task
* next lmcloud
* adapt to lib changes
* Update homeassistant/components/lamarzocco/strings.json
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/entity.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/entity.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/switch.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/switch.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/entity.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/strings.json
Co-authored-by: Robert Resch <robert@resch.dev>
* requested changes
* Update homeassistant/components/lamarzocco/switch.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/lamarzocco/entity.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update tests/components/lamarzocco/test_config_flow.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update tests/components/lamarzocco/test_config_flow.py
Co-authored-by: Robert Resch <robert@resch.dev>
* some requested changes
* changes
* requested changes
* move steam boiler to controls
* fix: remove entities from GS3MP model + tests
* remove dataclass decorator
* next lmcloud version
* improvements
* move reauth to user step
* improve config flow
* remove asserts in favor of runtimeerrors
* undo conftest comment
* make duc return none
* Update homeassistant/components/lamarzocco/switch.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/lamarzocco/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/lamarzocco/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* remove diagnostics, changes
* refine config flow
* remove runtimeerrors in favor of asserts
* move initialization of lm_client to coordinator
* remove things from lmclient
* remove lm_client
* remove lm_client
* bump lm version
* correctly set initialized for tests
* move exception handling inside init + tests
* add test for switch without bluetooth on
* bump lmcloud
* pass httpx client to LMLocalAPI
* add call function to reduce code
* switch to snapshot testing
* remove bluetooth
* bump version
* cleanup import
* remove unused const
* set correct integration_type
* correct default selection in CF
* reduce unnecessary tests by fixture change
* use other json loads helpers
* move prebrew/infusion to select entity
* bump lmcloud
* Update coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* requested feedback
* step description, bump lmcloud
* create init integration functino
* revert
* ruff
* remove leftover BT test
* make main switch main entity
* bump lmcloud
* re-add bluetooth
* improve
* bump firmware (again)
* correct test
* Update homeassistant/components/lamarzocco/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/lamarzocco/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/lamarzocco/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* separate device test
* add BT to entites
* fix import
* docstring
* minor
* fix rebase
* get device from discovered devices
* tweak
* change tests
* switch to dict
* switch to options
* fix
* fix
---------
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: tronikos <tronikos@users.noreply.github.com>
Co-authored-by: Luke Lashley <conway220@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: dupondje <jean-louis@dupond.be>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-21 13:08:11 +01:00
Jan-Philipp Benecke
e23943debf
Remove deprecated `hass.components` from flux switch tests and use fixture ( #113875 )
2024-03-21 11:44:05 +01:00