Commit graph

82662 commits

Author SHA1 Message Date
epenet
9557386b6e
Move huawei_lte base entity to separate module (#126098) 2024-09-17 15:41:03 +02:00
epenet
1afcbd02a9
Move insteon base entity to separate module (#126099) 2024-09-17 15:40:33 +02:00
epenet
6dfa6b0001
Move iaqualink base entity to separate module (#126100) 2024-09-17 15:40:25 +02:00
epenet
ecea251efa
Move and rename ihc base entity to separate module (#126101) 2024-09-17 15:39:49 +02:00
epenet
3a55cbc818
Move and rename lutron caseta base entity to separate module (#126103) 2024-09-17 15:39:11 +02:00
epenet
93f2b7c8a3
Move modbus base entity to separate module (#126104) 2024-09-17 15:38:10 +02:00
epenet
4d140d81f9
Move mysensors base entity to separate module (#126105) 2024-09-17 15:37:56 +02:00
epenet
7fee61db84
Move nissan_leaf base entity to separate module (#126106) 2024-09-17 15:37:39 +02:00
Lektri.co
84c20745a8
Add number platform to the Lektrico integration (#126119)
* Add platform number.

* Remove number user_limit.

* Change LED to led in number snapshot.

* Update homeassistant/components/lektrico/number.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-17 15:30:24 +02:00
TimL
92099866e2
Bump pysmlight to 0.1.0 (#126111)
Bump pysmlight 0.1.0 for Smlight integration
2024-09-17 15:24:20 +02:00
jesperraemaekers
3601c531f4
Adding reauth support to Weheat (#126108)
* Added reauth in config flow and raise approriate errors

* Added reauth tests

* Some cleanup after looking at other PRs
2024-09-17 10:23:27 +02:00
epenet
a3155b2ad7
Move knx base entity to separate module (#126102)
* Move knx base entity to separate module

* one more
2024-09-17 10:15:26 +02:00
Michael Hansen
6eab5e3e14
Add ESPHome Assist satellite configuration (#126085)
* Basic implementation

* Add websocket commands

* Clean up

* Add callback to other signatures

* Remove unused constant

* Re-add callback

* Add callback to test

* Implement get/set configuration

* Add tests

* Re-add constant

* Bump aioesphomeapi

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-16 22:08:39 -05:00
Michael Hansen
dde989685c
Add Assist satellite configuration (#126063)
* Basic implementation

* Add websocket commands

* Clean up

* Add callback to other signatures

* Remove unused constant

* Re-add callback

* Add callback to test
2024-09-16 22:34:07 -04:00
Noah Husby
738818aa7a
Add media player stop support to Cambridge Audio (#126066) 2024-09-16 22:42:27 +02:00
Noah Husby
529e120313
Remove callback decorators in Cambridge Audio (#126082)
Remove callback decorator from async methods in Cambridge Audio
2024-09-16 22:28:06 +02:00
epenet
351de1ca72
Move and rename alert base entity to separate module (#126030)
Move alert base entity to separate module
2024-09-16 20:21:04 +02:00
Bouwe Westerdijk
b73be2df6e
Implement model_id's in Plugwise (#126069) 2024-09-16 20:01:12 +02:00
xLarry
7ada2f864c
Add sensor platform to laundrify integration (#121378)
* feat: initial implementation of sensor platform

* refactor(tests): await setup of config_entry in parent function

* feat(tests): add tests for laundrify sensor platform

* refactor: set name property for laundrify binary_sensor

* refactor(tests): add missing type hints

* refactor(tests): remove global change of the logging level

* refactor: address minor changes from code review

* refactor(tests): transform setup_config_entry into fixture

* refactor: leverage entity descriptions to define common entity properties

* refactor: change native unit to Wh

* fix(tests): use fixture to create the config entry

* fix: remove redundant raise of LaundrifyDeviceException

* fix(tests): raise a LaundrifyDeviceException to test the update failure behavior

* refactor(tests): merge several library fixtures into a single one

* refactor(tests): create a separate UpdateCoordinator instead of using the internal

* refactor(tests): avoid using LaundrifyPowerSensor

* refactor: simplify value retrieval by directly accessing the coordinator

* refactor: remove non-raising code from try-block

* refactor(sensor): revert usage of entity descriptions

* refactor(sensor): consolidate common attributes and init func to LaundrifyBaseSensor

* refactor(sensor): instantiate DeviceInfo obj instead of using dict

* refactor(tests): use freezer to trigger coordinator update

* refactor(tests): assert on entity state instead of coordinator

* refactor(tests): make use of freezer

* chore(tests): typo in comment
2024-09-16 16:21:16 +02:00
Marc Hörsken
587ebd5d47
Add new integration for WMS WebControl pro using local API (#124176)
* Add new integration for WMS WebControl pro using local API

Warema recently released a new local API for their WMS hub
called "WebControl pro". This integration makes use of the
new local API via a new dedicated Python library pywmspro.

For now this integration only supports awnings as covers.
But pywmspro is device-agnostic to ease future extensions.

* Incorporated review feedback from joostlek

Thanks a lot!

* Incorporated more review feedback from joostlek

Thanks a lot!

* Incorporated more review feedback from joostlek

Thanks a lot!

* Fix

* Follow-up fix

* Improve handling of DHCP discovery

* Further test improvements suggested by joostlek, thanks!

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2024-09-16 16:07:43 +02:00
epenet
4fbc5a9558
Move hdmi_cec base entity to separate module (#126057) 2024-09-16 15:47:26 +02:00
puddly
95db4df13a
Add missing Zigbee/Thread firmware config flow translations (#125782) 2024-09-16 15:37:46 +02:00
epenet
34cf044a7c
Move freebox base entity to separate module (#126056) 2024-09-16 15:29:44 +02:00
epenet
45f2198972
Move and rename fibaro base entity to separate module (#126055) 2024-09-16 15:29:29 +02:00
epenet
4c5535d1cc
Move econet base entity to separate module (#126049) 2024-09-16 15:25:30 +02:00
epenet
9dd16d3df5
Move efergy base entity to separate module (#126051) 2024-09-16 15:21:30 +02:00
epenet
21b92455af
Move and rename envisalink base entity to separate module (#126054) 2024-09-16 15:20:53 +02:00
epenet
5a769fb51b
Move enocean base entity to separate module (#126053) 2024-09-16 15:19:25 +02:00
epenet
e3e93df187
Move elkm1 base entity to separate module (#126052) 2024-09-16 15:19:09 +02:00
Joost Lekkerkerker
a17dc3cb52
Introduce Reolink base entity description (#126050) 2024-09-16 15:11:02 +02:00
Iskra kranj
02f6d4bd11
Bump pyiskra to 0.1.11 (#126048)
bumped pyiskra to 0.1.11
2024-09-16 14:51:53 +02:00
Michael Hansen
c63cab336c
Change wake word interception to a subscription (#125629)
* Allow stopping intercepting wake words

* Make wake word interception a subscription

* Keep future

* Add test for unsub
2024-09-16 14:50:43 +02:00
RJPoelstra
3ba39d5158
Add translation to communication exceptions in MotionMount (#126043)
Add translation to communication exceptions
2024-09-16 14:43:37 +02:00
epenet
e85ab067bd
Move and rename crownstone base entity to separate module (#126034) 2024-09-16 14:26:20 +02:00
epenet
8370a55263
Move devolo home control base entity to separate module (#126042) 2024-09-16 14:24:48 +02:00
Ludovic BOUÉ
e08a94fe1c
Add Matter tests for BatVoltage attribute from PowerSource cluster (#125645)
* Add BatVoltage Attribute from PowerSource Cluster

* Update sensor.py

Remove comment

* Update homeassistant/components/matter/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fixture for a Eve Door & Window node

Fixture for a Eve Door & Window node to check BatVoltage attribute from PowerSource cluster

* Test battery voltage sensor

* Update test_sensor.py

* ruff-format

* Update test_sensor.py

* Update test_sensor.py

battery_voltage attribute test

* Update test_sensor.py

* Update test_sensor.py

* Update tests/components/matter/test_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update test_sensor.py

* Adjust values

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-16 14:16:03 +02:00
TimL
e9364f4c3a
Add update platform for Smlight integration (#125943)
* Create update coordinator for update entities

* fix type errors

* update info fixture with zigbee version

* Add fixtures for Firmware objects

* mock get_firmware_version function

* Add update platform for Smlight integration

* Add strings for update platform

* Add tests for update platform

* add snapshot for update tests

* Split out base coordinator

* Update homeassistant/components/smlight/strings.json

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

* overwrite coordinator types

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-16 14:14:15 +02:00
TimL
5660d1e48e
Add internet binary sensor to Smlight integration (#125982)
* Add internet sensor updated by events

* Strings for internet sensor

* Update binary_sensor snapshot with internet sensor

* Add test for internet sensor

* Address review comments

---------

Co-authored-by: Tim Lunn <tim@feathertop.org>
2024-09-16 13:56:44 +02:00
TimL
ac17020cd0
Abort zeroconf flow on connect error during discovery (#125980)
Abort zereconf flow on connect error during discovery
2024-09-16 13:45:39 +02:00
Brett Adams
fdc58f952e
Add number platform to Tesla Fleet (#125985)
* Add number platform

* Actually add the umber platform files
2024-09-16 13:38:45 +02:00
Robert Resch
765448fdf4
Exclude uv from wheels building (#126035) 2024-09-16 12:56:08 +02:00
TimL
1e4864d8c5
Set Smlight integration to local_push class (#125983) 2024-09-16 12:41:29 +02:00
Jan-Philipp Benecke
dadd397bf0
Use debug/warning instead of info log level in components [i] (#126036) 2024-09-16 12:39:20 +02:00
Jan-Philipp Benecke
6a2d31a481
Use debug instead of info log level in components [j] (#126037)
Use debug/warning instead of info log level in components [j]
2024-09-16 12:39:02 +02:00
Jan-Philipp Benecke
136242e38c
Use debug/warning instead of info log level in components [k] (#126038) 2024-09-16 12:38:50 +02:00
Jan-Philipp Benecke
8bfcdb9266
Use debug instead of info log level in components [L] (#126039)
Use debug instead of info log level in components [l]
2024-09-16 12:38:28 +02:00
Brett Adams
e3c2f81506
Add select platform to Tesla Fleet (#125931)
* Add Select Platform

* Add Select strings and icons

* Add tests

* Clean up fixture
2024-09-16 12:26:11 +02:00
Austin Mroczek
af03003305
Improve TotalConnect translations (#125978)
* improve translations

* remove periods from tests

* simplify message strings

* use a comma
2024-09-16 12:17:17 +02:00
Markus Jacobsen
a8648b7cdc
Add Bang & Olufsen media_player grouping (#123020)
* Add Beolink custom services
Add support for media player grouping via beolink
Give media player entity name

* Fix progress not being set to None as Beolink listener
Revert naming changes

* Update API
simplify Beolink attributes

* Improve beolink custom services

* Fix Beolink expandable source check
Add unexpand return value
Set entity name on initialization

* Handle entity naming as intended

* Fix "null" Beolink self friendly name

* Add regex service input validation
Add all_discovered to beolink_expand service
Improve beolink_expand response

* Add service icons

* Fix merge
Remove unnecessary assignment

* Remove invalid typing
Update response typing for updated API

* Revert to old typed response dict method
Remove mypy ignore line
Fix jid possibly used before assignment

* Re add debugging logging

* Fix coroutine
Fix formatting

* Remove unnecessary update control

* Make tests pass
Fix remote leader media position bug
Improve remote leader BangOlufsenSource comparison

* Fix naming and add callback decorators

* Move regex service check to variable
Suppress KeyError
Update tests

* Re-add hass running check

* Improve comments, naming and type hinting

* Remove old temporary fix

* Convert logged warning to raised exception for invalid media_player
Simplify code using walrus operator

* Fix test for invalid media_player grouping

* Improve method naming

* Improve _beolink_sources explanation

* Improve _beolink_sources explanation

* Add initial media_player grouping

* Convert custom service methods to media_player methods
Fix testing

* Remove beolink JID extra state attribute

* Modify custom services to only work as expected for media_player grouping
Fix tests

* Remove unused dispatch

* Remove wrong comment

* Remove commented out code

* Add config entry mock typing

* Fix beolink listener playback progress
Fix formatting
Add and use get_serial_number_from_jid function

* Fix testing

* Clarify beolink WebSocket notifications

* Further clarify beolink WebSocket notifications

* Convert notification value to enum value

* Improve comments for touch to join

* Fix None being cast to str if leader is not in HA

* Add error messages to devices in Beolink session and not Home Assistant
Rework _get_beolink_jid

* Replace redundant function call

* Show friendly name for unavailable remote leader instead of JID

* Update homeassistant/components/bang_olufsen/media_player.py

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

* Remove unneeded typing

* Rework _get_beolink_jid entity check
Clarify invalid entity error message

* Remove redundant "entity" from string

* Fix invalid typing
fix state assertions

* Fix raised error type

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-16 12:16:15 +02:00
starkillerOG
e8bacd84ce
Add Reolink chime package ringtone (#125786)
* add chime package ringtone

* fix mypy

* fix mypy

* fix mypy

* fixes
2024-09-16 12:12:49 +02:00