Commit graph

82761 commits

Author SHA1 Message Date
Claudia Pellegrino
baa79303a7
Make combined rmvtransport filters work (#126255)
rmvtransport: make filters always effective

In the `rmvtransport` integration, the three config attributes
`destination`, `lines`, and `time_offset` all act as filters. The
expectation is that if multiple filters are given, all of them take
effect.

However, as a consequence of using `elif` in the loop body, if a
`destination` filter has been configured, then both the `lines` and the
`time_offset` filters are ignored and have no effect.

Replace the `elif` with an `if` clause to allow all filter settings to
work as intended.

CC: @cgtobi
2024-09-19 16:11:13 +02:00
Mike Degatano
b2d669ac3c
Add aiohasupervisor to core requirements (#126225) 2024-09-19 15:13:21 +02:00
Alberto Montes
28ece89272
Update string formatting to use f-string on core codebase (#125988)
* Update string formatting to use f-string on core codebase

* Small change given review feedback
2024-09-19 14:31:13 +02:00
Erik Montnemery
7ba9d1fe65
Use mock_config_flow helper in config_entries tests (#126251) 2024-09-19 13:57:27 +02:00
Robert Resch
31adb048f1
Bump uv to 0.4.12 (#126257) 2024-09-19 13:42:53 +02:00
epenet
5864591150
Mark tag as entity component in pylint plugin (#126183)
* Move tag base entity to separate module

* Add tag to _ENTITY_COMPONENTS

* Move Entity back in

* Add tag to base platforms

* Adjust core_files

* Revert "Adjust core_files"

This reverts commit 180c5034de.

* Revert "Add tag to base platforms"

This reverts commit 381bcf12f0.
2024-09-19 13:28:09 +02:00
epenet
c81d104822
Sort values in Platform enum (#126259) 2024-09-19 13:12:37 +02:00
Alberto Montes
b2401bf2e3
Update string formatting to use f-string on components (#125987)
* Update string formatting to use f-string on components

* Update code given review feedback

* Use f-string

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-19 11:38:25 +02:00
Paul Bottein
b471a6e519
Add has_entity_name to entity display dict and fix name (#125832)
* Add has_entity_name to entity display dict and fix name

* Fix tests
2024-09-19 11:35:44 +02:00
Brett Adams
d90cdf24f5
Fix wall connector state in Teslemetry (#124149)
* Fix wall connector state

* review feedback

* Rename None to Disconnected

* Translate disconnected
2024-09-19 11:04:27 +02:00
Christopher Fenner
bc3a42c658
Fix serial handling in ViCare integration (#125495)
* hand down device serial into common entity

* fix platforms

* Revert "fix platforms"

This reverts commit 067af2b567.

* handle event loop issue

* hand in serial

* Revert "Revert "fix platforms""

This reverts commit 9bbb55ee6d.

* fix get serial call

* handle other exceptions

* also check device model for migration

* merge entity and device migration

* add test fixture without serial

* adjust test cases

* add dummy fixture

* remove commented code

* modify migration

* use continue

* break comment
2024-09-19 11:03:54 +02:00
Michael
e40a853fdb
Fix set temperature action in AVM FRITZ!SmartHome (#126072)
* fix set_temperature logic

* improvements
2024-09-19 11:03:20 +02:00
Simone Chemelli
c94bb6c1db
Add new method version_is_newer to Update platform (#124797)
* Allow string comparing in update platform

* new approach after architecture discussion

* cleanup

* Update homeassistant/components/update/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/update/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* add tests

* Update tests/components/update/test_init.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update tests/components/update/test_init.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update tests/components/update/test_init.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* update docstrings

* one more docstring

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-09-19 11:00:22 +02:00
Mr. Bubbles
b787c2617b
Revert "Fix missing id in Habitica completed todos API response" (#126142)
Revert "Fix missing id in Habitica completed todos API response (#124565)"

This reverts commit c9e7c76ee5.
2024-09-19 10:59:54 +02:00
Iskra kranj
3c99fad6b9
Add counters to iskra integration (#126046)
* Added counters to iskra integration

* reverted pyiskra bump as reviewed

* Fixed iskra integration according to review

* fixed iskra integration according to review
2024-09-19 10:48:42 +02:00
Jan-Philipp Benecke
3981c87860
Prevent blocking event loop in ps4 (#126151)
* Prevent blocking event loop in ps4

* Process code review comment
2024-09-19 10:45:26 +02:00
Arun Philip
8ca3310401
Fix qbittorrent error when torrent count is 0 (#126146)
Fix handling of `NoneType` for torrents in `count_torrents_in_states` function

Added a check to handle cases where the 'torrents' data is None, avoiding a `TypeError` when attempting to get the length of a `NoneType` object. The function now returns 0 if 'torrents' is None, ensuring robust behavior when no torrent data is available.
2024-09-19 10:34:27 +02:00
Alberto Montes
5d2f8319b1
Update string formatting to use f-string on tests (#125986)
* Update string formatting to use f-string on tests

* Update test_package.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update statement given feedback

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-09-19 10:32:38 +02:00
TimL
31f9687ba1
Update repairs for Smlight integration to allow firmware updates where possible (#126113)
* Dont launch SSE client for core firmware 0.9.9

* Dont offer updates on core firmware 0.9.9

* Add correct firmware done event for legacy v2 firmware

* test update legacy v2 firmware

* Dont raise issue for firmware v2
2024-09-19 10:29:02 +02:00
Marcel van der Veldt
1dd1de2636
Pass default value in Z-Wave websocket handler for configuration values (#125343)
* Pass default value in zwave websocket handler for configuration values

* Update test

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-19 10:07:28 +02:00
G Johansson
4d63bf473d
Add validation to set_humidity action in humidifier (#125863) 2024-09-19 09:50:47 +02:00
Sebastian Nohn
dd10a833db
Fix tibber fails if power production is enabled but no power is produced (#126209)
* fix #125312 - tibber integration fails if power production is enabled but no power is produced

* fix requirements_all.txt
2024-09-19 09:11:57 +02:00
Michael Hansen
d1a4838802
Allow one reusable proxy URL per ESPHome device (#125845)
* Allow one reusable URL per device

* Move process to convert info

* Stop previous process

* Change to 404

* Better error handling
2024-09-19 00:05:09 -04:00
cnico
f8274cd5c2
Addition of select platform for flipr hub (#126237)
* Addition of select platform for flipr hub

* Review corrections
2024-09-18 23:04:22 +02:00
Ian
931c8f9e66
Bump nextbus to 2.0.5 (#126230) 2024-09-18 22:26:30 +02:00
Joost Lekkerkerker
6e6dae45d1
Set model id on Govee lights (#126211) 2024-09-18 21:59:19 +02:00
Jan-Philipp Benecke
9b60a6c095
Use debug/warning/error instead of info log level in components [z] (#126234) 2024-09-18 21:34:55 +02:00
Jan-Philipp Benecke
31b9c2fb60
Use debug instead of info log level in components [y] (#126233) 2024-09-18 21:34:31 +02:00
Jan-Philipp Benecke
8338075d03
Use debug/warning/error instead of info log level in components [x] (#126232) 2024-09-18 21:34:11 +02:00
Jan-Philipp Benecke
1d425f3913
Use debug/warning instead of info log level in components [s] (#126141)
* Use debug/warning instead of info log level in components [s]

* Fix merge error
2024-09-18 21:33:52 +02:00
Marcel van der Veldt
d90caf3e86
Remove default transition in Matter light platform (#126220)
* Remove default transition in Matter light platform

* adjust test
2024-09-18 21:23:05 +02:00
Jan-Philipp Benecke
3f531c02a2
Use debug/warning instead of info log level in components [v] (#126228) 2024-09-18 21:15:50 +02:00
Jan-Philipp Benecke
5075b8736e
Use debug/warning instead of info log level in components [w] (#126231) 2024-09-18 21:14:55 +02:00
epenet
6bc2d11c5e
Add base Entity class to enforce-class-module pylint plugin (#126026)
* Add base Entity class to enforcé-class-module pylint plugin

* Ignore bluetooth

* Ignore hue

* Ignore dominos

* Ignore ffmpeg

* Ignore mqtt

* Ignore microsoft_face

* Ignore plant

* Ignore point

* Ignore rfxtrx

* Ignore template

* Ignore tag

* Ignore deconz
2024-09-18 20:38:45 +02:00
Fredrik Erlandsson
5fcdcbf9b9
Bump pydaikin to 2.13.7 (#126219) 2024-09-18 20:37:01 +02:00
Erik Montnemery
252ce2c95b
Improve FlowManager.async_finish_flow docstring (#126178)
* Improve FlowManager.async_finish_flow docstring

* Fix typos
2024-09-18 18:19:13 +02:00
Milan Meulemans
12dbabb849
Update Aseko to support new API (#126133)
* Update Aseko to support new API

* Apply suggestions from code review

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

* Use self.unit instead of self._unit

* Refactor sensor setup entry

* Keep same unique id and identifier

* Revert rename free_chlorine translation key

* Remove new heating entity to keep PR small

* Fix keep same unique id

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-18 16:26:09 +02:00
Antoine Reversat
e2f1c60981
Fix Fujitsu fglair authentication error and other issues (#125439)
* Use correct app credentials when europe is checked

* Rework to add china as well

* Use our own package since the maintainer of the original package is not responding

* Revert to using rewardone's package

* Import app credentials where needed instead of __init__

* Rework region selector

* Bump config entry minor and add migration

* Address comments
2024-09-18 16:23:35 +02:00
Joost Lekkerkerker
ac93570476
Remove LG Thinq (#125900) 2024-09-18 16:11:29 +02:00
Brett Adams
139765995e
Bump tesla-fleet-api to 0.7.8 (#126164)
bump
2024-09-18 15:19:44 +02:00
Marcel van der Veldt
6bff6b562a
Add ThirdReality Matter NightLight to transition exception list (#126216) 2024-09-18 14:51:05 +02:00
Erik Montnemery
a10d68e63e
Fix device cleanup in plugwise (#126212) 2024-09-18 13:50:36 +02:00
tdfountain
ec2db38516
Move input current from diagnostic to regular sensor in NUT (#124183)
Move input current from Diagnostic

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2024-09-18 13:16:35 +02:00
Jan-Philipp Benecke
39e720caed
Use debug/warning instead of info log level in components [t] (#126147) 2024-09-18 12:39:50 +02:00
Andrew Jackson
adf25b427b
Broaden scope of ConfigEntryNotReady in Mealie (#126208)
Broaden scope of ConfigEntryNotReady
2024-09-18 12:29:50 +02:00
epenet
b74a6a64bc
Rename roomba base entity module (#126134)
* Move roomba base entity to separate module

* Simplify
2024-09-18 12:14:20 +02:00
epenet
116733e1a5
Rename onewire base entity module (#126129)
Move onewire base entity to separate module
2024-09-18 11:42:16 +02:00
epenet
1ff69825e4
Move rflink base entity to separate module (#126206) 2024-09-18 11:41:49 +02:00
TimL
4f53ffcd9c
Add VPN sensor and switch for Smlight integration (#126201)
* Add vpn_status sensor

* update test fixures with new attributes

* Add vpn enabled switch

vpn strings

* Add vpn switch to test

* update snapshots

* Add vpn status to disabled by default test
2024-09-18 11:40:27 +02:00
epenet
0281e95f2e
Prefer __all__ over F401 ignore (#126189) 2024-09-18 11:29:23 +02:00