Commit Graph

82508 Commits (6ef1dd56f582e1887af11ecf95adf812e5ef1a5b)

Author SHA1 Message Date
Jason Hunter 356bca119d
Duke Energy Integration (#125489)
* Duke Energy Integration

* add recorder mock fixture to all tests

* address PR comments

* update tests

* add basic coordinator tests

* PR comments round 2

* Fix

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2024-09-11 13:28:47 +02:00
Arie Catsman 1a21266325
Improve test code coverage for enphase_envoy (#125582)
* Improve test code coverage for enphase_envoy

* Update tests/components/enphase_envoy/test_init.py

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-11 13:03:17 +02:00
Adam Pasztor d722b7255c
Add ADS valve integration (#125619)
* feat: Add ADS valve integration

* fix: replace imports to adhere with #125665

* fix: address review feedback.

* fix: address review feedback.
2024-09-11 13:02:06 +02:00
Adam Goode 647017d18c
Take a list of values for testing Threshold (#125705)
When parameterizing these tests, I forgot that hysteresis tests are
sensitive to all previous values rather than just the previous one.

This change should restore behavior to the pre-parameterization version
by replaying all value histories.

Subsequent changes will add new test cases.
2024-09-11 13:00:57 +02:00
Simon Lamon b1698bc0d5
Allow to play a LinkPlay preset (#125204)
* Allow to play a linkplay preset

* Make it an entity service

* Fixes

* PR feedback

* Rename more
2024-09-11 12:54:12 +02:00
TimL b8ce687ec2
Add server side events to Smlight integration (#125553)
* Register SSE client

* Add switch events for settings changes

* Mock sse settings events

* Apply suggestions from code review

Co-authored-by: Paarth Shah <mail@shahpaarth.com>

* access callbacks from mock call_args

---------

Co-authored-by: Paarth Shah <mail@shahpaarth.com>
2024-09-11 12:53:08 +02:00
Noah Husby 2f68bbd27a
Bump aiostreammagic to 2.2.3 (#125704)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-11 12:51:56 +02:00
epenet 419e83f6d8
Bump sfrbox-api to 0.0.11 (#125732)
* Bump sfrbox-api to 0.0.11

* Re-enable tests
2024-09-11 12:51:39 +02:00
Matthias Alphart eb5390b94d
Update knx-frontend to 2024.9.10.221729 (#125734) 2024-09-11 12:23:23 +02:00
LG-ThinQ-Integration 8e026bf95d
Add common apis to base entity class of LG ThinQ integration (#125713)
Co-authored-by: jangwon.lee <jangwon.lee@lge.com>
2024-09-11 11:52:19 +02:00
epenet c4b870bfd3
Add EntityDescription classes to pylint plugin (#125596)
* Add EntityDescription classes to pylint plugin

* Ignore existing violations

* Adjust
2024-09-11 11:30:35 +02:00
shapournemati-iotty 618586c577
Upgrade iottycloud to 0.2.1 (#125731)
upgrade iottycloud lib to 0.2.1
2024-09-11 11:21:59 +02:00
Robert Resch acc046def6
Bump uv to 0.4.9 (#125726) 2024-09-11 10:41:36 +02:00
Matrix da1003ac41
Improve yolink code readability (#125724)
Improve code readability
2024-09-11 10:27:48 +02:00
Robert Resch 7555f209b6
Use uv at runtime too (#125110) 2024-09-11 09:43:26 +02:00
chammp b3377fe5fb
Add condition to trigger template entities (#119689)
* Add conditions to trigger template entities

* Add tests

* Fix ruff error

* Ruff

* Apply suggestions from code review

* Deduplicate

* Tweak name used in debug message

* Add and improve type annotations of modified code

* Adjust typing

* Adjust typing

* Add typing and remove unused parameter

* Adjust typing

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

* Adjust return type

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

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-11 09:36:49 +02:00
Jason Hunter 74834b2d88
Pin pyasn1 until fixed (#125712)
* pin pyasn1 until fixed

* add to gen requirements
2024-09-11 09:35:05 +02:00
chammp 56dfb2c734
Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
Michael Hansen 8e0b2b752c
Cancel running pipeline on new pipeline or announcement (#125687)
* Cancel running pipeline

* Incorporate feedback

* Change to async_create_task
2024-09-10 20:56:15 -04:00
Michael Hansen c01bdd860a
Unload assist satellite platform on disconnect (#125697) 2024-09-10 20:50:22 -04:00
mvn23 2611f72f5d
Add LED mode select entities to opentherm_gw (#125702)
Add select entities for LED mode to opentherm_gw
2024-09-11 00:12:09 +02:00
Shai Ungar 1be455e0e0
Add URL description for Sabnzbd integration (#125414)
* Create pull.yml

* Add URL description

* remove file
2024-09-10 22:59:50 +02:00
mvn23 2e54967a6d
Add select platform to opentherm_gw (#125585)
* * Add select platform to opentherm_gw
* Add tests for select entities

* Address capitalization feedback

* Add initial state on startup and status update support

* Wrap lambdas in parentheses
2024-09-10 22:49:45 +02:00
Jan-Philipp Benecke 6c5dfd0bbc
Fix failing elevenlabs tts test (#125698) 2024-09-10 22:35:24 +02:00
Noah Husby 69530a5c94
Add pre-amp support for Cambridge Audio (#125699) 2024-09-10 22:34:51 +02:00
Noah Husby b640efa209
Bump aiostreammagic to 2.1.0 (#125696) 2024-09-10 22:23:34 +02:00
Jan Bouwhuis 5c2d7b8fa5
Fix incomfort invalid setpoint if override is reported as 0.0 (#125694) 2024-09-10 22:04:53 +02:00
Joost Lekkerkerker 688da5389c
Mark UVC as strict typed (#123239) 2024-09-10 22:02:46 +02:00
Robert Resch 377ae75e60
Disbale Tfiac integration due invalid wheel (#125692) 2024-09-10 21:53:04 +02:00
Maciej Bieniek 9bbd59438e
Bump nextdns to version 3.3.0 (#125688) 2024-09-10 21:20:43 +02:00
Erik Montnemery dd4f1a0d0f
Simplify recorder statistics_meta_manager (#125648) 2024-09-10 21:00:06 +02:00
Steven B. 40ee39f258
Update tplink config to include aes keys (#125685) 2024-09-10 13:52:10 -05:00
epenet 44ca43c7ee
Add pylint check for DOMAIN alias (#125559) 2024-09-10 20:41:04 +02:00
epenet 3536ba43f5
End deprecation setting disabled_by as string (#125646) 2024-09-10 20:39:51 +02:00
Erik Montnemery 15e5851383
Extend deprecation period for hass.components by 6 months (#125659) 2024-09-10 20:38:45 +02:00
Andre Lengwenus 2b3a6e5361
Refactor LcnEntity signature (#124411)
* Refactorings due to change of LcnEntity signature

* Fix PR comments

* Move parent class LcnEntity to entity.py
2024-09-10 19:38:40 +02:00
Steven B. aa8f98392d
Bump tplink python-kasa lib to 0.7.3 (#125686) 2024-09-10 19:35:18 +02:00
Erik Montnemery bde92b34dd
Remove recorder history queries for database schemas < 31 (#125652) 2024-09-10 19:26:19 +02:00
Noah Husby 650c92a3cf
Add Cambridge Audio integration (#125642)
* Add Cambridge Audio integration

* Add zeroconf discovery to Cambridge Audio

* Bump aiostreammagic to 2.0.1

* Bump aiostreammagic to 2.0.3

* Add tests to Cambridge Audio

* Fix package names for Cambridge Audio

* Removed unnecessary mock from Cambridge Audio tests

* Clean up Cambridge Audio integration

* Add additional zeroconf tests for Cambridge Audio

* Update tests/components/cambridge_audio/test_config_flow.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-10 18:27:51 +02:00
Roelf Zomerman 457cb7ace0
Add velbus HVAC options (#106570)
* Added HVAC options

* Update manifest.json

required aio to 2023.12.0

* Update manifest.json

* Add files via upload

* Update homeassistant/components/velbus/climate.py

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

* Update climate.py

removed unused variables for cool and heat

* Update climate.py

removed unused functions

* Update homeassistant/components/velbus/climate.py

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

* Update climate.py

accepted changes

* Update climate.py

remove state None for HVAC-MODE

* Update climate.py

changed set_hvac_mode to remove none and only switch when state /= requested mode

* Update climate.py

indent on line 94/95

* Update climate.py

changed set_hvac_mode attribute type to match superclass ClimateEntity (HVACMode)

* Update climate.py

changed def hvac_mode to 2 return options (to avoid any)

* Update climate.py

ruff formatting

* Update climate.py

added serviceValidationError section in hvac_mode setting

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Update strings.json

* Update strings.json

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-10 18:10:52 +02:00
Álvaro Fernández Rojas 3e8fe57fc1
Update aioairzone to v0.9.2 (#125682)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-09-10 18:04:00 +02:00
Jeef 90bbe462ff
Bump weatherflow4py to 0.3.4 (#125681)
removed print statemnet in backing lib
2024-09-10 17:54:19 +02:00
Adam Goode 72d546d6c2
Move constants in Threshold (#125683) 2024-09-10 17:51:23 +02:00
Simon dd08a6505e
Use default voice id as fallback in get_tts_audio (#123624) 2024-09-10 17:42:17 +02:00
Paarth Shah 47bcb214d1
Bump matrix-nio to 0.25.1 (#125555) 2024-09-10 17:31:45 +02:00
Phill (pssc) a16ef5b7ff
Add squeezebox service sensors (#125349)
* Add server sensors

* Fix Platforms order

* Fix spelling

* Fix translations

* Add sensor test

* Case changes

* refactor to use native_value attr override

* Fix typing

* Fix cast to type

* add cast

* use update platform for LMS versions

* Fix translation

* remove update entity

* remove possible update entites

* Fix and clarify

* update to icon trans remove update plaform entitiy supporting items

* add UOM to sensors

* correct criptic prettier fail

* reword other players

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-10 17:17:26 +02:00
Kristof Mattei 300445948e
Fix Lyric climate Auto mode (#123490)
fix: Lyric has an actual "Auto" mode that is exposed if the device has an Auto mode.
2024-09-10 17:06:25 +02:00
Krzysztof Dąbrowski 8324360045
Add Roomba last mission sensor (#123048)
* Roomba: add last mission sensor

* Set sensor as unavailable if last mission timestamp is 0

Previously, if the `mssnStrtTm` was 0, the function would return a 1970-01-01 (Unix epoch start date). With this change, the function will return None if the timestamp is 0 and the sensor will become unavailable.

* Update last_mission property to use dt_util.utc_from_timestamp
2024-09-10 17:04:25 +02:00
Jeef 2d0ccf84f9
Bump weatherflow4py to 0.3.3 (#125676)
version bump
2024-09-10 17:04:10 +02:00
Erik Montnemery ebd2034564
Disable sfr_box diagnostic test (#125678) 2024-09-10 16:51:32 +02:00