Commit Graph
73289 Commits
Author SHA1 Message Date
Jan-Philipp BeneckeandGitHub baf84b6fba Add single_config_entry manifest option (#109505)
* Allow setting if we support multiple config entries in config flow

* Move property to config flow instead of flow handler

* Move marking an integration as single instance only to manifest

* Revert line remove

* Avoid init a config flow or adding a new entry on a single instance with an entry

* Revert changes in test

* Process code review comments

* Apply code review suggestion
2024-02-26 19:00:33 +01:00
Matthias AlphartandGitHub 673a95227b Update xknx to 2.12.1 and xknxproject to 3.7.0 (#111460) 2024-02-26 18:52:51 +01:00
J. Nick KostonandGitHub 4624c859e1 Use discovery flow helper for hardware integrations (#111437)
* Use discovery flow helper for hardware integrations

The discovery flow helper defers loading discovered integrations until after startup
to improve startup reliability.

* Use discovery flow helper for hardware integrations

The discovery flow helper defers loading discovered integrations until after startup
to improve startup reliability. Since hardware was not listed in as a
discovery integration, the notification for new discoveries was missing.
2024-02-26 12:04:33 -05:00
Jan-Philipp BeneckeandGitHub f85a8c5041 Remove @bind_hass from async_active_zone and make callback function (#111488) 2024-02-26 11:57:17 -05:00
J. Nick KostonandGitHub 67e356904b Add support for eager tasks (#111425)
* Add support for eager tasks

python 3.12 supports eager tasks

reading:
https://docs.python.org/3/library/asyncio-task.html#eager-task-factory
https://github.com/python/cpython/issues/97696

There are lots of places were we are unlikely to suspend, but we might
suspend so creating a task makes sense

* reduce

* revert entity

* revert

* coverage

* coverage

* coverage

* coverage

* fix test
2024-02-26 11:36:46 -05:00
J. Nick KostonandGitHub 93cc6e0f36 Switch nmap_tracker to use aiooui (#111415)
mac-vendor-lookup can take a long time to startup because
it has to fetch the oui db from the web
2024-02-26 17:32:53 +01:00
Abílio CostaandGitHub 9420ac1cff Update idasen-ha to v2.5.1 to fix regression (#111439)
Update Idasen Desk support lib to fix regression

idasen v0.11.1 introduces some regressions, so idasen-ha v2.5.1 now
depends on v.0.11.0 instead.
2024-02-26 17:15:24 +01:00
Åke StrandbergandGitHub 732491d3c9 Bump myuplink lib to 0.5.0 (#111447) 2024-02-26 17:13:21 +01:00
J. Nick KostonandGitHub 1d4e82bd3d Fix race in dlna_dmr test (#111428)
The entity was removed before the entity registry could update it

```
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/entity.py", line 1482, in _async_process_registry_update_or_remove
    assert registry_entry is not None
AssertionError

```
2024-02-26 17:11:50 +01:00
SidandGitHub 174ebe70d7 Add webmin integration (#106976)
* add webmin integration 1

* refactor, add memory sensors

* Fix docstring

* addressed reviews

* address reviews

* address reviews

* use translation strings for sensors

* add async_abort_entries_match

* apply review comments

* address reviews

* add async_set_unique_id

* add identifiers to device_info

* disable all sensors by default

* move icons to icons.json

* show Faults when given from server in config flow

* add test for Fault

* Apply review suggestions

* Create helper functions for webmin instance and sorted mac addresses

* fix tests
2024-02-26 17:10:11 +01:00
Luke LashleyandGitHub 4ad7f420e7 Bump Python-roborock to 0.39.2 (#111479)
bump to 0.39.2
2024-02-26 17:25:38 +02:00
Aidan TimsonandGitHub 9f77e275e9 Add title to reauthenticate integration issue (#111275)
* Add title to reauthenticate integration issue

* Fix translation placeholder in test

* Update translation placeholders in test_init.py

* Update integration reauthentication message

* Update string
2024-02-26 08:19:37 -05:00
Jevgeni KiskiandGitHub 0947bdbd20 Bump vallox-websocket-api to 5.1.0 (#111471)
Bump lib to 5.1.0
2024-02-26 15:03:18 +02:00
Jeremy TRUFIERandGitHub ecc9c3b5f0 Add @tronix117 as overkiz codeowner (#111464) 2024-02-26 12:13:26 +01:00
Erik MontnemeryandGitHub 9b91da23c4 Improve logging of google_assistant messages (#110637)
* Improve logging of google_assistant messages

* Add tests

* Add test
2024-02-26 11:43:31 +01:00
starkillerOGandGitHub 7b059b3dff Add Motionblinds virtual integration Madeco (#111455) 2024-02-26 11:06:28 +01:00
starkillerOGandGitHub 3f7b2634f7 Add Motionblinds virtual integration Krispol (#111456) 2024-02-26 11:05:25 +01:00
Jan BouwhuisandGitHub 1b2e669302 Improve handling mqtt command template exceptions (#110499)
* Improve handling mqtt command template exceptions

* Fix test

* Cleanup stale exception handler

* Throw on topic template exception
2024-02-26 11:04:55 +01:00
starkillerOGandGitHub 1f0697e85f Add Motionblinds virtual integration Acomax (#111458) 2024-02-26 11:03:49 +01:00
Jan BouwhuisandGitHub da09b6174d Add validation to water_heater set_operation mode at entity component (#111168)
* Add validation to water_heater set_operation mode at entity component

* Add final decorator
2024-02-26 11:02:39 +01:00
0d4728e1c6 Add TechnoVE auto charge switch (#109093)
* Add binary sensors to TechnoVE integration

* Add unit tests for TechnoVE binary sensors

* Implement PR feedback for TechnoVE

* Limit to appropriate sensors in TechnoVE tests

* Removed leftover code

* Implement feedback in TechnoVE PR #108938

* Add auto-charge switch to TechnoVE

* Improve TechnoVE test_switches to be consistent with other platforms

* Regenerate test_switch.ambr snapshot

* Add binary sensors to TechnoVE integration

* Add unit tests for TechnoVE binary sensors

* Implement PR feedback for TechnoVE

* Limit to appropriate sensors in TechnoVE tests

* Implement feedback in TechnoVE PR #108938

* Add auto-charge switch to TechnoVE

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Fix conflict merge issue

* Implement feedback from TechnoVE PR #109093

* Use TechnoVESwitchDescription

* Remove None from is_on in TechnoVE switches

* Update homeassistant/components/technove/strings.json

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Remove unneeded code.

* Update test_switch.ambr

* Update TechnoVE switch test similar to Flexit_bacnet

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-02-26 10:36:40 +01:00
Åke StrandbergandGitHub 999b1bb220 Add @astrandb as myuplink codeowner (#111449)
Add codeowner
2024-02-26 10:32:37 +01:00
1e564f777e Add sensors for energy storage system to ViCare integration (#106600)
* add sensors for vitocharge

* add further sensors

* add unig getters

* remove icons

* Update strings.json

* handle percent uom

* handle unknown uom device class mapping

* add device class to sensor

* add sensor options

* Apply suggestions from code review

* fix

* align sensor naming

* add feed-in and consumption sensors for pcc

* Update strings.json

* battery symbol

* fix format

* remove obsolete device classes

* add icons

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* refactor

* modify lambda

* use helper

* Apply suggestions from code review

* Apply suggestions from code review

* Update strings.json

* Update sensor.py

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-02-26 09:59:58 +01:00
4a128f1225 Return group unit of measurement when device_class is None (#110973)
* Groups: Return units when device_class is None

* Fixes

* Mods

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-02-25 22:44:05 -05:00
dougiteixeiraandGitHub 34e9c29ef2 Esphome text sensor device class (#111057) 2024-02-25 16:56:52 -10:00
Abílio CostaandGitHub 5a8779551b Fix uneeded state update in Idasen Desk sensor (#111433) 2024-02-25 15:03:52 -10:00
Marc MuellerandGitHub bfd82a0780 Update freezegun to 1.4.0 (#111268) 2024-02-25 15:01:31 -10:00
Marc MuellerandGitHub eb370d7213 Update guppy3 to 3.1.4.post1 (#111430) 2024-02-25 15:00:51 -10:00
Marc MuellerandGitHub a492ccdc15 Update caldav to 1.3.9 (#111429) 2024-02-25 15:00:37 -10:00
dougiteixeiraandGitHub c8ec66fcbe Bump aioesphomeapi to 22.1.0 (#111435) 2024-02-25 14:58:37 -10:00
Brett AdamsandGitHub d84bd14acc Bump tesla-fleet-api to 0.4.6 in Teslemetry (#111127) 2024-02-25 14:06:12 -10:00
Matthias AlphartandGitHub e984bdaf98 Fix KNX cover schema for voluptuous 0.14.2 (#111427) 2024-02-26 00:26:32 +01:00
Joost LekkerkerkerandGitHub c3d3fc7000 Add icon translations to Dynalite (#111412) 2024-02-25 23:01:28 +01:00
Joost LekkerkerkerandGitHub a410aa4a85 Add icon translations to Ecobee (#111416) 2024-02-25 23:01:17 +01:00
Joost LekkerkerkerandGitHub 8dec6336b3 Add icon translations to edl21 (#111420) 2024-02-25 23:00:52 +01:00
Joost LekkerkerkerandGitHub 33cb54b888 Add icon translations to Electric Kiwi (#111422) 2024-02-25 23:00:22 +01:00
Joost LekkerkerkerandGitHub e366763eb2 Add icon translations to Ecoforest (#111417) 2024-02-25 22:47:15 +01:00
Joost LekkerkerkerandGitHub a2af3e5ba1 Add icon translations to EasyEnergy (#111413) 2024-02-25 22:46:33 +01:00
Álvaro Fernández RojasandGitHub b3e10198dd Enable CONF_STATION_UPDATES by default on AEMET (#111214)
* aemet: set CONF_STATION_UPDATES default to True

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: aemet: check CONF_STATION_UPDATES default form value

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Revert "tests: aemet: check CONF_STATION_UPDATES default form value"

This reverts commit f0f95da68f.

* tests: aemet: parametriz test_form_options

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-25 23:23:18 +02:00
Marc MuellerandGitHub 8c50e24056 Update bcrypt to 4.1.2 (#111283) 2024-02-25 22:22:50 +01:00
J. Nick KostonandGitHub 014e21ce80 Bump bluetooth-adapters to 0.18.0 (#111316)
changelog: https://github.com/Bluetooth-Devices/bluetooth-adapters/compare/v0.17.0...v0.18.0
2024-02-25 23:07:12 +02:00
hahn-thandGitHub 80662cd989 Bump homematicip to 1.1.0 (#111385)
#108775 Bump homematicip upstream lib to 1.1.0
2024-02-25 23:03:14 +02:00
Marc MuellerandGitHub 5206514538 Update ciso8601 to 2.3.1 (#111389) 2024-02-25 22:59:00 +02:00
Luis AndradeandGitHub d3c53a1cef Fix another name missing in wyoming getLogger (#111390)
bugfix wyoming getLogger
2024-02-25 21:41:07 +01:00
wittypluckandGitHub 716d8f8a00 Fix Glances translation keys on CPU load, Memory use, Swap use (#111401)
Fix translation keys on CPU load, Memory use, Swap use
2024-02-25 21:25:28 +01:00
Jan-Philipp BeneckeandGitHub 1c5be598f5 Run pylint sorted platform check also when platform has type annotations (#111407) 2024-02-25 21:18:07 +01:00
e116d2a721 Add Nuki ID as serial number (#111381)
* Nuki add Nuki ID as serial number

* add hardwareId to bridge

* __init__.py aktualisieren

Co-authored-by: Pascal Reeb <pascal@reeb.io>

* __init__.py aktualisieren

Co-authored-by: Pascal Reeb <pascal@reeb.io>

---------

Co-authored-by: Pascal Reeb <pascal@reeb.io>
2024-02-25 21:16:21 +01:00
Marc MuellerandGitHub fa103ec924 Update pytest to 8.0.2 (#111399) 2024-02-25 21:15:48 +01:00
J. Nick KostonandGitHub ab68a26000 Fix flakey utility meter test (#111400)
The test tooling would cancel setup at teardown because
it was still setting up

https://github.com/home-assistant/core/actions/runs/8039593463/job/21956908225?pr=111336
2024-02-25 20:21:09 +01:00
Marc MuellerandGitHub 21ff8c8e03 Update pylint to 3.1.0 (#111392) 2024-02-25 08:01:20 -10:00