Commit Graph

82692 Commits (18935457054c6f8a24edf1e20049f8e4ecb0ab52)

Author SHA1 Message Date
epenet 1893545705
Move xiaomi_miio base entity to separate module (#126198) 2024-09-18 10:59:27 +02:00
epenet e9ac6b7482
Move xiaomi_aqara base entity to separate module (#126197) 2024-09-18 10:59:04 +02:00
epenet 799bc50c98
Avoid constant re-export in fujitsu_fglair (#126190)
Avoid re-export in fujitsu_fglair
2024-09-18 10:57:24 +02:00
epenet db8c379b93
Move wiffi base entity to separate module (#126194) 2024-09-18 10:57:03 +02:00
epenet 989a90bb93
Move wilight base entity to separate module (#126193) 2024-09-18 10:56:39 +02:00
epenet 3d9aa60e4e
Move wirelesstag shared constants to separate module (#126192) 2024-09-18 10:55:55 +02:00
epenet 93de46b50e
Move velux base entity to separate module (#126185) 2024-09-18 09:51:05 +02:00
epenet da4f401d17
Move vera base entity to separate module (#126186) 2024-09-18 09:50:07 +02:00
epenet e7bb9a440a
Move vesync base entity to separate module (#126187) 2024-09-18 09:49:10 +02:00
epenet 4aaba171ca
Cleanup unnecessary F401 ignores (#126188)
* Cleanup unnecessary F401 ignores

* Adjust tests
2024-09-18 09:46:13 +02:00
Mike Degatano 97d0d91d2c
Use aiohasupervisor for addon info calls (#125926)
* Use aiohasupervisor for addon info calls

* Fix issue/repair tests in supervisor

* Fixes from feedback
2024-09-17 23:22:35 +02:00
Marc Hörsken 37cdc6d500
Add diagnostics support for WMS WebControl pro (#126077) 2024-09-17 23:17:04 +02:00
Jan-Philipp Benecke adcb541b4b
Use debug/warning instead of info log level in components [r] (#126140) 2024-09-17 19:45:05 +02:00
Jan-Philipp Benecke 4efa147a2b
Use debug/warning instead of info log level in components [p] (#126139) 2024-09-17 19:44:38 +02:00
Jan-Philipp Benecke bc8929d37f
Use debug/warning instead of info log level in components [o] (#126138) 2024-09-17 19:44:12 +02:00
Jan-Philipp Benecke 622e9aa3dc
Use debug/warning/error instead of info log level in components [n] (#126137) 2024-09-17 18:39:11 +02:00
epenet 2588435c5c
Move roborock base entity to separate module (#126135) 2024-09-17 18:20:57 +02:00
Elisha Eshed b262e1518f
Order train station names in Israel rail API (#126121) 2024-09-17 17:18:35 +02:00
epenet c5839604d5
Move qwikswitch base entity to separate module (#126130) 2024-09-17 17:13:23 +02:00
Tobias Sauerwein 01688946b3
Fix set brightness for Netatmo lights (#126075)
* fix set brightness for Netatmo lights

* round returns int by default

* Update homeassistant/components/netatmo/light.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-17 16:34:26 +02:00
Jan-Philipp Benecke 2ec0d8e8ef
Use debug/warning instead of info log level in components [m] (#126074)
* Use debug instead of info log level in components [m]

* Fix modbus test
2024-09-17 16:14:59 +02:00
epenet 219417cfb5
Move homeworks base entity to separate module (#126097)
* Move homeworks base entity to separate module

* Move calculate_unique_id to util.py
2024-09-17 16:13:40 +02:00
Thomas55555 ca59805907
Add sync clock button for Husqvarna Automower (#125689)
* Sync Clock

* optimize add entitites

* fix?

* test

* simplify command

* 1 generic entity

* docstrings

* tweaks

* tests

* Apply suggestions from code review

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

* suggestions from review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-17 16:12:09 +02:00
Erik Montnemery 2190054abf
Improve negative TTS test (#126126) 2024-09-17 16:11:03 +02:00
Robert Contreras 4d04402ad4
Add Home Connect light entity for cooling appliances (#126090)
* Add Home Connect light entities for fridge

* Update homeassistant/components/home_connect/light.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-17 15:56:20 +02:00
cnico 2ae4989031
Addition of Flipr hub with switch platform (#125866)
* Addition of Flipr hub with switch platform

* Remove of loggers in tests

* Review corrections

* Review corrections

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-17 15:56:07 +02:00
epenet f3facac016
Move homematicip_cloud base entity to separate module (#126094)
* Move homematicip_cloud base entity to separate module

* One more
2024-09-17 15:46:04 +02:00
epenet a9c479a78b
Move hive base entity to separate module (#126095) 2024-09-17 15:44:52 +02:00
epenet c20d07c14a
Move and rename hlk_sw16 base entity to separate module (#126096) 2024-09-17 15:44:11 +02:00
Daniel Krebs c8e2408f82
Allow setting volume on Ring devices (#125773)
* Turn Ring Doorbell and Chime volumes into number entities.

* turn RingOther volumes into numbers as well

* fix linter issues

* move other volume strings into `number` section

* add back old volume sensors but deprecate them

* add tests for `ring.number`

* add back strings for sensors that have just become deprecated

* remove deprecated volume sensors from test

* Revert "remove deprecated volume sensors from test"

This reverts commit fc95af66e7.

* create entities for deprecated sensors so that tests still run

* remove print

* add entities immediately

* move `RingNumberEntityDescription` above `RingNumber` and remove unused import

* remove irrelevant comment about history

* fix not using `setter_fn`

* add missing icons for other volume entities

* rename `entity` -> `entity_id` in number tests

* fix typing in number test

* use constants for `hass.services.async_call()`

* use `@refresh_after` decorator instead of delaying updates manually

* move descriptors above entity class

* Use snapshot to test states.

* add missing snapshot file for number platform

* Update homeassistant/components/ring/number.py

Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>

---------

Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
2024-09-17 15:41:51 +02:00
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