Robert Svensson
c57dcacade
Axis use entity description in switch platform ( #113595 )
...
* Draft
* Make a generic register platform
2024-03-16 20:47:54 +01:00
Robert Svensson
00361f5293
Remove unnecessary method in UniFi entity loader ( #113597 )
2024-03-16 18:41:00 +01:00
Sid
ccd2e989c3
Enable ruff RUF005 and fix occurrences ( #113589 )
2024-03-16 07:37:20 -10:00
Massimo Savazzi
2a5c85a020
Add JVC Projector Sensors ( #108949 )
...
* Add JVC Projector Sensors - Power Status, Input
* Removed commented line, removed name in icons.json
* fixed icons.json file
* fixed tests
* Update homeassistant/components/jvc_projector/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Fixed as requested
* Fixed code as requested
* added fixes
* Fixed sensor creation
* fixed const
* fixed icons
* Added test for both sensors
* Added ha state stest
* fixed commented line and removed useless ones
* Changed time FAST - SLOW to be more responsive
* Rolled back to previous values 6/60
* Update sensor.py
removed off
* Update icons.json
* Removed the Input Sensor entity
* Update tests/components/jvc_projector/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/jvc_projector/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/jvc_projector/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/jvc_projector/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/jvc_projector/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/jvc_projector/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Updated unique id of sensor
Co-authored-by: Steve Easley <steve.easley@gmail.com>
* Added translation and string for Power Status
* Update homeassistant/components/jvc_projector/strings.json
Co-authored-by: Steve Easley <steve.easley@gmail.com>
* Update homeassistant/components/jvc_projector/strings.json
Co-authored-by: Steve Easley <steve.easley@gmail.com>
* Update strings.json
* Update strings.json
added missing ,
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Steve Easley <steve.easley@gmail.com>
2024-03-16 16:52:51 +01:00
Maciej Bieniek
6191b25563
Catch `TimeoutError` in `Brother` config flow ( #113593 )
...
* Catch TimeoutError in Brother config flow
* Update tests
* Remove unnecessary parentheses
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-03-16 16:01:48 +01:00
J. Nick Koston
ef0c17749f
Use async_create_task in recorder init tests ( #113586 )
2024-03-16 15:40:50 +01:00
Shay Levy
d17e397455
Ignore Shelly block update with cfgChanged None ( #113587 )
2024-03-16 16:18:41 +02:00
Shay Levy
a7fd1c278c
Shelly config flow test wait for tasks to finish ( #113588 )
2024-03-16 16:18:13 +02:00
Christopher Fenner
1ffc514528
Add battery discharge sensor to ViCare integration ( #113502 )
...
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2024-03-16 12:38:54 +01:00
Brett Adams
219cb7a788
Add additional sensors to Teslemetry ( #112555 )
...
* Add more sensors
* Fix coverage
* Dont do this rename yet
* Fix case
* Update snapshot
* Add icons
* Remove unused icons
* Update snapshot
* Remove last_value logic from TimeSensor
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update constant case
* Remove useless test
* Add refresh test back
* Add assertion to post coordinator refresh
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-03-16 11:54:37 +01:00
Sid
470ef554d7
Fix freedompro tests for ruff B018 ( #113583 )
2024-03-16 00:03:25 -10:00
Sid
dd3101e161
Fix unifiprotect tests for ruff B018 ( #113584 )
2024-03-16 00:01:24 -10:00
J. Nick Koston
eb90c9a548
Reduce bottlenecks in bootstrap by ordering the setup of integrations ( #113570 )
2024-03-15 22:38:06 -10:00
J. Nick Koston
702488062b
Move group config flow pre-import to its init ( #113564 )
2024-03-15 18:44:10 -10:00
Erik Montnemery
a5cde8a61e
Improve typing of State.as_compressed_state ( #113540 )
2024-03-16 00:01:46 -04:00
Sid
27e844e3bf
Add ruff B005, B015, B032 and fix occurrences ( #113543 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-15 17:48:37 -10:00
J. Nick Koston
bb667abd51
Cleanup some circular imports in group ( #113554 )
2024-03-15 15:45:43 -10:00
Jan Bouwhuis
6e84dbde35
Fix lingering hassio issues test ( #113569 )
2024-03-15 15:10:24 -10:00
J. Nick Koston
b26928878f
Remove group integration platforms that use the default states ( #113562 )
...
Remove group integration platforms that use the default
There is no need to register platforms that use the defaults
as the group code already uses STATE_ON/STATE_OFF when there
are no on/off states in the GroupIntegrationRegistry
2024-03-15 20:51:21 -04:00
J. Nick Koston
af06e03b71
Add profiler set_asyncio_debug service ( #113447 )
...
* Add profiler set_asyncio_debug service
Currently when a user has a problem with there event loop being blocked
the simplest way to enable asyncio debug is to add `debugpy:` to
`configuration.yaml`, however this approach slows the system which
makes the report less useful and harder to track down the problem.
We need a lightweight way to enable debug mode so users can report
problems with the event loop being blocked, and we have a better
chance of finding the source without side effects
* logging
* logging
* logging
* comments
* fix
* icon
* only if enabled
* coverage
2024-03-15 20:49:35 -04:00
On Freund
b644c03fa7
Send keep-alive frames in image proxy stream ( #113542 )
2024-03-15 14:00:33 -10:00
J. Nick Koston
51ece8b1ef
Restore group config_flow pre-import ( #113558 )
2024-03-15 13:09:20 -10:00
Guido Schmitz
b96bceadfa
Add translations for devolo Home Network exceptions ( #105755 )
...
* Add translations for devolo Home Network exceptions
* Add translations for ConfigEntryAuthFailed
* Update homeassistant/components/devolo_home_network/switch.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-03-15 23:53:16 +01:00
Joost Lekkerkerker
53a76fc792
Fix Airthings BLE illuminance sensor name ( #113560 )
2024-03-15 23:48:47 +01:00
Daniel Perna
2b04975332
Remove danielperna84 as codeowner ( #109662 )
...
* Remove danielperna84 as codeowner
* Update CODEOWNERS
2024-03-15 23:42:04 +01:00
J. Nick Koston
88f04bb3b4
Avoid calling entry.async_migrate in sonarr tests ( #113557 )
...
We should setup the the config entry instead of calling the
migrator directly
This fix was reverted out in #113553
2024-03-15 23:33:48 +01:00
J. Nick Koston
03bb791080
Add missing async_block_till_done to jellyfin test_invalid_auth test ( #113556 )
...
This fix was reverted out in #113553
2024-03-15 23:31:55 +01:00
G Johansson
e8de1a7031
Revert "Avoid pre-importing config_flows if the integration does not … ( #113553 )
...
Revert "Avoid pre-importing config_flows if the integration does not support …"
This reverts commit 9940f51b95
.
2024-03-15 23:15:36 +01:00
J. Nick Koston
77a94ea515
Speed up loading sun ( #113544 )
...
* Speed up loading sun
* Speed up loading sun
* Speed up loading sun
* adjust
* tweak
2024-03-15 23:01:49 +01:00
Sid
d120993477
fix homekit test asserts ( #113549 )
2024-03-15 22:02:18 +01:00
Sid
b261f124d6
fix mqtt siren test asserts ( #113550 )
2024-03-15 21:59:30 +01:00
Erik Montnemery
397bde4652
Add missing continue in legacy recorder history function ( #113535 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-15 21:20:39 +01:00
Robert Svensson
3ba29c361a
Remove old update of group unique id in deCONZ ( #112533 )
2024-03-15 21:09:44 +02:00
Robert Svensson
9c2c7f1a45
Remove old update of number unique id in deCONZ ( #113524 )
2024-03-15 21:08:18 +02:00
Robert Svensson
e90388afd1
Remove old update of sensor unique id in deCONZ ( #113527 )
2024-03-15 21:06:09 +02:00
J. Nick Koston
b7f7bed46c
Import and create pyudev for usb in the executor ( #113478 )
2024-03-15 09:05:18 -10:00
Chris Talkington
29f07260f9
Use single_config_entry in jellyfin manifest ( #113202 )
2024-03-15 13:56:13 -05:00
jan iversen
02d4bf007d
Do not allow modbus config without entities ( #113516 )
2024-03-15 19:49:29 +01:00
Joost Lekkerkerker
422d4ea5b3
Use Volume Flow Rate device class in Opentherm gw ( #113531 )
2024-03-15 19:12:38 +01:00
Joost Lekkerkerker
b6a06f49b7
Use Volume Flow Rate device class in DROP connect ( #113528 )
2024-03-15 19:12:04 +01:00
Robert Svensson
5b5ff92a05
Support configuring Axis to use HTTPS ( #113271 )
2024-03-15 18:58:49 +01:00
Joost Lekkerkerker
be7c4295dc
Fix MyUplink tests ( #113534 )
2024-03-15 18:26:28 +01:00
Thomas55555
66aa2c038a
Freeze timezone in bmw_connected_drive tests ( #113533 )
...
Freeze timezone in bmw_connected_drive
2024-03-15 18:22:17 +01:00
Joost Lekkerkerker
066594b25b
Use Volume Flow Rate device class in BTHome ( #113530 )
2024-03-15 18:19:14 +01:00
dontinelli
98132d1cd3
Add Fyta integration ( #110816 )
...
* Initial commit for fyta integration
* Update __init__.py
Delete BinarySensor for first PR
* Update __init__.py
Rewind wrongful deletion of comma
* Delete homeassistant/components/fyta/binary_sensor.py
Delete binary_sensor for first pr of integration
* Update manifest.json
Updated requirement to new version of fyta_cli 0.2.1, where bug in import of modules has been resolved.
* Update requirements_test_all.txt
adjust to updated manifest
* Update requirements_all.txt
adjust to updated manifest
* Update test_config_flow.py
* Update config_flow.py
update file to correct error with _entry attribute
* Fyta integration - update initial PR based on review in initial PR #110816 (#2 )
* adjustments to pass test for config_flow
* backport of changes in intitial PR to dev
* update text_config_flow
* changes based on review in initial PR #110816
* Update homeassistant/components/fyta/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/strings.json
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
* Update homeassistant/components/fyta/strings.json
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
* Update homeassistant/components/fyta/manifest.json
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
* Adjustments based on PR-commet of Feb 19 (#3 )
* add test for config_flow.validate_input
* update based on pr review
* update based on pr review
* further refinings based on PR review
* Update tests/components/fyta/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update test_config_flow.py
Update tests based on PR comment
* Update homeassistant/components/fyta/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* add handling and test for duplicate entry
* Update homeassistant/components/fyta/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update test_config_flow.py
parametrize test for exceptions
* Update config_flow.py
Move _async_abort_entries_match, add arguments
* Update coordinator.py
* Update typing in coordinator.py
* Update coordinator.py
update typing
* Update coordinator.py
corrected typo
* Update coordinator.py
* Update entity.py
* Update sensor.py
* Update icons.json
* Update homeassistant/components/fyta/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update entity.py
* Update test_config_flow.py
* Update config_flow.py (change FlowResult to ConfigFlowResult)
* Update config_flow.py
* Update homeassistant/components/fyta/config_flow.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/fyta/config_flow.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/components/fyta/coordinator.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update coordinator.py
* Update config_flow.py (typing FlowResult -> ConfigFlowResult)
* Update config_flow.py
* Aktualisieren von config_flow.py
* remove coordinator entities
* Update strings.json
remove plant_number
* Update icons.json
remove plant_number
* Update manifest.json
Update requirement to latest fyta_cli version
* Update requirements_all.txt
* Update requirements_test_all.txt
* Update homeassistant/components/fyta/sensor.py
* Update homeassistant/components/fyta/sensor.py
* Update homeassistant/components/fyta/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/fyta/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/fyta/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/fyta/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* move test-helpers into conftest.py, adjust import of coordinator.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-03-15 18:13:35 +01:00
soonsouth
cfc2f17f35
Remove repetitive words in comments and docstrings ( #113529 )
...
chore: remove repetitive words
Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-15 18:11:12 +01:00
Drew C
a73553581b
Bump opower to 0.4.1 ( #113509 )
2024-03-15 18:10:58 +01:00
Mike Degatano
6ede1c543f
Protect SupervisorIssues.update method ( #113425 )
2024-03-15 18:06:14 +01:00
Joost Lekkerkerker
38164c705e
Add missing icon for Unifi protect service ( #113508 )
2024-03-15 16:40:48 +01:00
Joost Lekkerkerker
823481063e
Add icon translations to Sonos ( #112235 )
2024-03-15 16:34:13 +01:00