Jan Rieger and GitHub
4ededefe24
Add translations to AVM FRITZ!Box Call Monitor state attributes ( #108412 )
2024-02-16 09:41:59 +01:00
ce8cf314f9
Add Aprilaire integration ( #95093 )
...
* Add Aprilaire integration
* Fix test errors
* Update constants
* Code review cleanup
* Reuse coordinator from config flow
* Code review fixes
* Remove unneeded tests
* Improve translation
* Code review fixes
* Remove unneeded fixture
* Code review fixes
* Code review updates
* Use base data coordinator
* Deduplicate based on MAC
* Fix tests
* Check mac address on init
* Fix mypy error
* Use config entry ID for entity unique ID
* Fix tests
* Code review updates
* Fix mypy errors
* Code review updates
* Add data_description
* Update homeassistant/components/aprilaire/coordinator.py
Co-authored-by: Jon Oberheide <506986+jonoberheide@users.noreply.github.com >
* Update .coveragerc
* Update homeassistant/components/aprilaire/coordinator.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
Co-authored-by: Jon Oberheide <506986+jonoberheide@users.noreply.github.com >
2024-02-16 08:30:51 +01:00
J. Nick Koston and GitHub
f7b9b0da0e
Migrate dependencies loader to use async_get_integrations ( #110690 )
2024-02-16 08:07:39 +01:00
J. Nick Koston and GitHub
9cf45882a7
Use bytes join fast path for large states payload ( #110694 )
...
b"".join has a fast path for when there are more than two bytes-strings
to combine
https://github.com/python/cpython/blob/f383ca1a6fa1a2a83c8c1a0e56cf997c77fa2893/Objects/stringlib/join.h#L123
2024-02-16 07:58:11 +01:00
J. Nick Koston and GitHub
37897ee384
Move late import of config flows in loader to load time ( #110688 )
...
* Move late import of config flows in loader to load time
There does not seem to be any reason to import the
generated flows late. Import them at load time
with the rest of the generated files
* tests
2024-02-16 07:55:12 +01:00
J. Nick Koston and GitHub
1608e05be6
Speed up registry config websocket api calls with list comps ( #110693 )
...
* Speed up registry config websocket api calls with list comps
list comps are faster than generator expressions, even more so in
python 3.12 since https://peps.python.org/pep-0709/
https://stackoverflow.com/questions/47789/generator-expressions-vs-list-comprehensions/62709748#62709748
* more readable
2024-02-16 07:41:55 +01:00
Robert Hillis and GitHub
59d7bceaee
Bump deluge-client to 1.10.0 ( #110663 )
2024-02-16 01:12:34 +01:00
J. Nick Koston and GitHub
dd1cf2c593
Remove unneeded list copy in icon helper ( #110680 )
2024-02-15 16:33:24 -06:00
5f00e15d35
Don't add fritz entities with update_before_add ( #110667 )
...
Co-authored-by: mib1185 <mail@mib85.de >
2024-02-15 21:49:26 +01:00
Erik Montnemery and GitHub
ae39945a85
Correct config entry setup in fritz tests ( #110669 )
2024-02-15 20:52:40 +01:00
Robert Hillis and GitHub
dbca65dffb
Bump nextcord to 2.6.0 ( #110485 )
2024-02-15 20:33:07 +01:00
Erik Montnemery and GitHub
06a21d4ed9
Bump pychromecast to 14.0.0 ( #108374 )
...
* Pass unregister callback to cast HomeAssisstantController
* Update tests
* Bump pychromecast to 14.0.0
* Fix lint warning, adjust tests
* Improve test coverage
2024-02-15 20:14:01 +01:00
Robert Svensson and GitHub
dc09633cc2
Bump aiounifi to v71 ( #110658 )
2024-02-15 19:17:06 +01:00
jan iversen and GitHub
286c98d70f
Modbus, allow received int to be a float. ( #110648 )
2024-02-15 18:22:23 +01:00
Christopher Fenner and GitHub
1372cf5a18
Categorize burner and compressor sensors as diagnostic entities in ViCare integration ( #110653 )
...
Categorize Burner and Compressor start and runtime counters as diagnostic entities in ViCare integration
2024-02-15 17:29:17 +01:00
Erik Montnemery and GitHub
3526fd66df
Add option to block remote enabling of HA Cloud remote ( #109700 )
...
* Allow blocking remote enabling of HA Cloud remote
* Fix test
2024-02-15 17:26:06 +01:00
G Johansson and GitHub
619e7fbbce
Coerce to float in Sensibo climate react custom service ( #110508 )
2024-02-15 11:11:16 -05:00
Livio Avalle and GitHub
c4247205ed
Add state_class to ring battery sensor for LTS ( #109872 )
...
* Add state_class to ring battery sensor for LTS
* Add test, in test_sensor.py, for state_class for battery entity; in response to comment in PR
2024-02-15 09:52:11 -06:00
J. Nick Koston and GitHub
d49bccf123
Ensure lamarzocco tests add config entry before updating it ( #110423 )
2024-02-15 09:09:47 -06:00
3529eb6044
Powerview Gen 3 functionality ( #110158 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-02-15 08:27:11 -06:00
spycle and GitHub
d6efdc47a5
Bump pyMicrobot to 0.0.15 ( #110502 )
2024-02-15 15:21:36 +01:00
636c7ce350
Enable strict type checking on apple_tv integration ( #101688 )
...
* Enable strict type checking on apple_tv integration
* move some instance variables to class variables
* fix type of attr_value
* fix tests for description_placeholders assertion
* nits
* Apply suggestions from code review
* Update remote.py
* Apply suggestions from code review
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* Improve test coverage
* Update test_config_flow.py
* Update __init__.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2024-02-15 15:17:00 +01:00
d555f91702
Update wallbox to 0.6.0 ( #110636 )
...
* Update wallbox plugin version
Closes #110566
* Fix unit tests failing
* Fix import order
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-02-15 15:04:32 +01:00
47cbe8f00c
Add support for multiple devices linked to a Viessmann account ( #96044 )
...
* care about all devices
* use first device for diagnostics
* update constants
* handle multiple devices
* handle multiple devices
* handle multiple devices
* handle multiple devices
* handle multiple devices
* code style
* code style
* code style
* code style
* code style
* remove unused import
* remove unused import
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* remove unused constant
* Update const.py
* Update binary_sensor.py
* change format
* change format
* fix line duplication
* fix line duplication
* change format
* fix typo
* use serial in device name if multiple devices are found
* add common base class
* use base class
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update sensor.py
* Update binary_sensor.py
* correct import
* use base class
* fix cdestyle findings
* fix pylint findings
* fix mypy findings
* fix codestyle finidings
* move has_entity_name to base class
* Revert "fix mypy findings"
This reverts commit 2d78801a69 .
* fix type issue
* move multiple device handling
* fix import
* remove special handling for device name
* extract api getter
* Update __init__.py
* Update __init__.py
* Update entity.py
* Update button.py
* Update binary_sensor.py
* Update climate.py
* Update sensor.py
* Update water_heater.py
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update __init__.py
* fix mypy & black
* move get_device to utils
* rename const
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev >
* store device in config entry
* extract types
* fix diagnostics
* handle new platform
* handle api rate limit
* add types
* add types
* rename
* add types
* ignore gateways for now
* Update .coveragerc
* adjust types
* fix merge issues
* rename
* Update types.py
* fix type
* add test method
* simplify
* ignore unused devices
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev >
* fix findings
* handle unsupported devices
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev >
* Update types.py
* fix format
* adjust variable naming
* Update conftest.py
* Update conftest.py
* remove kw_only
* Apply suggestions from code review
* Update __init__.py
* Update binary_sensor.py
* Update button.py
* Update climate.py
* Update const.py
* Update diagnostics.py
* Update number.py
* Update sensor.py
* Update types.py
* Update water_heater.py
* fix comment
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com >
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
Co-authored-by: Robert Resch <robert@resch.dev >
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2024-02-15 13:58:00 +01:00
fd0f093299
Add some myuplink tests ( #110521 )
...
* Add some myuplink tests
* Update fixtures for api endpoints
* Adjust according to review
* Update snapshot file
* Remove unneded fixtures and improve typing
* More cleanup
* One last session scope removed
* Fix typing
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-02-15 13:44:45 +01:00
57d3f3f9f7
Split pre/post backup actions into dedicated methods ( #110632 )
...
* Split pre/post backup actions into dedicated methods
* Update homeassistant/components/backup/manager.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-02-15 12:38:36 +01:00
Aurélien Grenotton and GitHub
b9a8b992d7
Fix freebox pairing in bridge mode ( #106131 )
2024-02-15 12:34:29 +01:00
d4be6632cc
Add monthly forecast sensor to RymPro ( #101012 )
...
* Add monthly forecast
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Remove state class and add precision
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev >
* Fix ruff and mypy
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
Co-authored-by: Robert Resch <robert@resch.dev >
2024-02-15 12:34:03 +01:00
Kristof Mariën and GitHub
d7787cdfd8
Bump libpyfoscam to 1.2.2 ( #110625 )
...
Bump foscam dependency
2024-02-15 11:52:01 +01:00
J. Nick Koston and GitHub
8da07f1bf2
Fix formatting of mac addresses from dhcp discovery mocking in axis ( #110560 )
...
dhcp returns addresses in lowercase without :
2024-02-14 20:37:31 -05:00
J. Nick Koston and GitHub
d48a45fee7
Fix formatting of mac addresses from dhcp discovery mocking in config_entries test ( #110617 )
2024-02-14 16:32:02 -06:00
J. Nick Koston and GitHub
499c42364e
Fix formatting of mac addresses from dhcp discovery mocking in broadlink ( #110558 )
...
* Fix formatting of mac addresses from dhcp discovery mocking in broadlink
dhcp returns addresses in lowercase without :
* fix missed ones
* broadlink has same format
2024-02-14 17:26:14 -05:00
J. Nick Koston and GitHub
78bc561700
Fix formatting of mac addresses from dhcp discovery mocking in nest ( #110584 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:25:52 -05:00
J. Nick Koston and GitHub
7b4c5a112c
Fix formatting of mac addresses from dhcp discovery mocking in radiotherm ( #110593 )
...
dhcp returns addresses in lowercase without :
2024-02-14 23:25:33 +01:00
J. Nick Koston and GitHub
1f67e4fed1
Fix formatting of mac addresses from dhcp discovery mocking in ruuvi_gateway ( #110597 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:25:22 -05:00
J. Nick Koston and GitHub
28afe9ff9e
Correct misaligned formatting of mac addresses in samsungtv ( #110599 )
...
* Correct misaligned formatting of mac addresses in samsungtv
dhcp returns addresses in lowercase without : and there were places
were it was not passed through format_mac which resulted in the wrong
format being saved in the config entry
* safer
2024-02-14 17:25:08 -05:00
J. Nick Koston and GitHub
0ea524659c
Fix formatting of mac addresses from dhcp discovery mocking in roomba ( #110596 )
...
dhcp returns addresses in lowercase without :
2024-02-14 23:24:34 +01:00
J. Nick Koston and GitHub
20d1cd1246
Fix formatting of mac addresses from dhcp discovery mocking in qnap_qsw ( #110592 )
...
dhcp returns addresses in lowercase without :
2024-02-14 23:23:43 +01:00
J. Nick Koston and GitHub
c7e2f24303
Fix formatting of mac addresses from dhcp discovery mocking in lametric ( #110580 )
2024-02-14 23:23:22 +01:00
J. Nick Koston and GitHub
b87e34ec67
Fix formatting of mac addresses from dhcp discovery mocking in screenlogic ( #110602 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:23:13 -05:00
J. Nick Koston and GitHub
9105dd16e3
Fix formatting of mac addresses from dhcp discovery mocking in somfy_mylink ( #110603 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:23:02 -05:00
J. Nick Koston and GitHub
35bcf2e9e4
Fix formatting of mac addresses from dhcp discovery mocking in squeezebox ( #110604 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:22:51 -05:00
J. Nick Koston and GitHub
d4562f4674
Fix formatting of mac addresses from dhcp discovery mocking in steamist ( #110605 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:22:38 -05:00
J. Nick Koston and GitHub
48cd973c62
Fix formatting of mac addresses from dhcp discovery mocking in tailwind ( #110606 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:22:24 -05:00
J. Nick Koston and GitHub
334c177e67
Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector ( #110607 )
...
* Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector
dhcp returns addresses in lowercase without :
* Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector
dhcp returns addresses in lowercase without :
2024-02-14 17:22:09 -05:00
J. Nick Koston and GitHub
cefaf0e065
Fix formatting of mac addresses from dhcp discovery mocking in tolo ( #110608 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:56 -05:00
J. Nick Koston and GitHub
77a44c54dd
Fix formatting of mac addresses from dhcp discovery mocking in twinkly ( #110609 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:33 -05:00
J. Nick Koston and GitHub
2fe246441f
Fix formatting of mac addresses from dhcp discovery mocking in unifiprotect ( #110610 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:19 -05:00
J. Nick Koston and GitHub
2a04eabe18
Fix formatting of mac addresses from dhcp discovery mocking in verisure ( #110611 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:04 -05:00
J. Nick Koston and GitHub
e6ac4c5f1f
Fix formatting of mac addresses from dhcp discovery mocking in vicare ( #110613 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:20:47 -05:00