Commit Graph

82634 Commits (e3e93df187346c009404b7748480a12b99b541a9)

Author SHA1 Message Date
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
Noah Husby bcbf810cbe
Bump aiostreammagic to 2.3.1 (#126017) 2024-09-16 11:57:59 +02:00
Jeef f0df8264fa
Bump weatherflow cloud to 1.0.6 (#125966)
bumping backing lib
2024-09-16 11:57:40 +02:00
RJPoelstra e6b86b662a
Add reconnect logic and proper reporting to MotionMount integration (#125670)
* Add reconnect logic and proper reporting

* Use snake_case

* Log on warning, not on info

* Reduce line length

* Refactor non-raising code out of try blocks

* Remove `_ensure_connected()` from action functions
2024-09-16 11:56:13 +02:00
epenet 18e2c2f6dd
Disable pylint ignore_missing_annotations in config flow (#125322)
* Disable pylint ignore_missing_annotations in config flow

* Add tests

* Ignore point
2024-09-16 11:53:29 +02:00
starkillerOG 15bf6222f5
Use Home Assistant aiohttp session for Reolink (#125948) 2024-09-16 11:53:13 +02:00
Jan-Philipp Benecke b32f40c0fe
Use debug/warning instead of info log level in components [h] (#126033) 2024-09-16 11:44:14 +02:00
Jan-Philipp Benecke 53c23dfb6f
Use debug/warning instead of info log level in components [g] (#126032) 2024-09-16 11:41:26 +02:00
epenet c6d04d874f
Move and rename acmeda base entity to separate module (#126028)
Move acmeda base entity to separate module
2024-09-16 11:34:24 +02:00
epenet 02cb6a6af7
Force root import of references from other components (#125816)
* Force root import of references from other components

* Improve

* Adjust

* Tweak exceptions

* Another

* Another

* Another

* Another

* Another

* Another

* Another

* Another

* Another

* Another

* Another

* Another

* Adjust

* More

* Ignore violations in test

* Improve
2024-09-16 11:28:42 +02:00
epenet 9f1cc638c9
Move blebox base entity to separate module (#126027) 2024-09-16 11:26:12 +02:00
epenet f395688c2d
Move apple_tv base entity to separate module (#126029) 2024-09-16 11:17:06 +02:00
epenet 2e76b1f834
Use shorthand attributes in numato (#126023) 2024-09-16 11:08:42 +02:00
Bouwe Westerdijk 29fb83e98b
Implement battery state binary sensor in Plugwise (#126020) 2024-09-16 11:06:25 +02:00
Antony Kurniawan 156a88a3a3
Ignore negative derivative when the input is total_increasing (#119141)
* if the derivative is negative, ignore it

* add option to ignore the negatives or not

* add tests for a new ignore negative derivative

* add missing description when editing

* rename to ignore_negative_derivative
to increase clarity of which negative I mean
in case in the future we want a ignore_negative_value...

* use state_class=total_increasing to ignore the negative derivative

* remove ignore negative from the config

* add test for total_increasing_reset case

* add comments

* update test_total_increasing_reset with history tests
Also remove the last comment because the test is already clear
My existing comment there isn't unique to this unit test but applies to the entire component. The existing web documentation pointing to Wikipedia should suffice.

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-16 10:49:15 +02:00
AlCalzone c77a3674b0
Cleanup zwave_js fixture definitions (#125896)
* refactor: cleanup zwave_js fixture definitions

* fix: that one fixture that's not an object

* fix: some more forgotten ones
2024-09-16 10:22:04 +02:00
G Johansson db1349b95c
Remove yaml import from downloader (#125921) 2024-09-16 10:20:32 +02:00
epenet e0d18c621b
Add missing type hint in monarch_money (#126019) 2024-09-16 10:20:08 +02:00
epenet 56d00fd0c8
Improve type hints in numato (#126022) 2024-09-16 10:19:40 +02:00
epenet 457f63cce0
Add platform Entity classes to pylint plugin (#125737)
* Add platform Entity classes to pylint plugin

* Fix violations

* Fix violations

* More

* Allow component package with same name as a platform

* One more
2024-09-16 10:10:53 +02:00
Michael Hansen 3dd6418160
Use sample bytes in ESPHome media format (#126016) 2024-09-16 10:10:07 +02:00
G Johansson 1caed79895
Validate set_humidity in ClimateEntity (#125242)
* Implementation validation for set_humidity in ClimateEntity

* Fixes
2024-09-16 10:09:44 +02:00
epenet 7df224f382
Use root import in assist_satellite imports (#126025) 2024-09-16 10:05:34 +02:00
dependabot[bot] e89c007a38
Bump github/codeql-action from 3.26.6 to 3.26.7 (#126021)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 09:22:37 +02:00
starkillerOG 2174ee18dc
Implement Reolink reconfiguration flow (#126004)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-09-16 09:21:23 +02:00
Seferino Fernandez 8dbca0fa0b
Added virtual integration for Arizona Public Service supported by opower (#126014)
Co-authored-by: tronikos <tronikos@users.noreply.github.com>
2024-09-16 08:59:47 +02:00
Thomas55555 fccbaa0fbc
Add calendar to Husqvarna Automower (#120775)
* Add Calendar

* update

* change timezone for tests

* fix requirements

* bump aioautomower to 2024.6.3b0

* bump aioautomower to 2024.6.4b0

* fix req

* align dates

* adjust

* nnbw

* better

* improvements

* req

* update requirements

* tests

* tweaks

* shift functions to library

* tests

* bump to aioautomower==2024.9.0b1

* tests

* remove ZoneInfo wrapper

* use timetzone from start_date object

* Update requirements_all.txt

* Fix names in ProgramEvent
2024-09-15 22:07:40 -07:00
Bouwe Westerdijk 089c942233
Bump plugwise to v1.4.0 (#125998)
* Refresh plugwise test-fixtures

* Update test-diagnostics file

* Bump plugwise to v1.4.0
2024-09-15 21:26:33 +02:00
starkillerOG e768bea298
Switch Reolink from hass.data to runtime_data (#126002)
Switch from hass.data to runtime_data
2024-09-15 21:05:59 +02:00