Skip to content

Commit 97cc398

Browse files
frenckcdnninjaMartinHjelmareemontnemerybdraco
authored
2025.3.0 (#139859)
* Add vesync debug mode in library (#134571) * Debug mode pass through * Correct code, shouldn't have been lambda * listener for change * ruff * Update manifest.json * Reflect correct logger title * Ruff fix from merge * Fix return value for DataUpdateCoordinator._async setup (#139181) Fix return value for coodinator async setup * Fix race in WS command recorder/info (#139177) * Fix race in WS command recorder/info * Add comment * Remove unnecessary local import * Bump aiohttp to 3.11.13 (#139197) changelog: aio-libs/aiohttp@v3.11.12...v3.11.13 * Update Linkplay constants for Arylic S10+ and Arylic Up2Stream Amp 2.1 (#138198) * Add support for Apps and Radios to Squeezebox Media Browser (#135009) * Add azure_storage as backup agent (#134085) Co-authored-by: Martin Hjelmare <[email protected]> * Bump onedrive quality scale to platinum (#137451) * Bump pyloadapi to v1.4.2 (#139140) * Add missing translations to switchbot (#139212) * Fix bug in check_translations fixture (#139206) * Fix bug in check_translations fixture * Fix check for ignored translation errors * Fix websocket_api test * Add missing exception translation to Home Connect (#139218) Add missing exception translation * Configure trusted publishing for PyPI file upload (#137607) * Bump aiostreammagic to 2.11.0 (#139213) * Add missing exception translation to Home Connect (#139223) * Bump ohmepy to 1.3.2 (#139013) * Fix kitchen_sink statistic issues (#139228) * Bump aiowebdav2 to 0.3.0 (#139202) * Bump pylamarzocco to 1.4.7 (#139231) * Add backup helper (#139199) * Add backup helper * Add hassio to stage 1 * Apply same changes to newly merged `webdav` and `azure_storage` to fix inflight conflict * Address comments, add tests --------- Co-authored-by: J. Nick Koston <[email protected]> * Reduce requests made by webdav (#139238) * Reduce requests made by webdav * Update homeassistant/components/webdav/backup.py Co-authored-by: Martin Hjelmare <[email protected]> --------- Co-authored-by: Martin Hjelmare <[email protected]> * Add Homee valve platform (#139188) * Fix units for LCN sensor (#138940) * Add Ohme voltage and slot list sensor (#139203) * Bump ohmepy to 1.3.1 * Bump ohmepy to 1.3.2 * Add voltage and slot list sensor * CI fixes * Change slot list sensor name * Fix snapshot tests * Initiate source list as instance variable in Volumio (#139243) * `logbook.log` action: Make description of `name` field UI-friendly (#139200) * Treat "Twist Assist" & "Block to Block" as feature names and add descriptions in Z-Wave (#139239) Treat "Twist Assist" & "Block to Block" as feature names and add descriptions - name-case both "Twist Assist" and "Block to Block" so those feature names don't get translated - for proper translation of both features add useful descriptions of what they actually do - fix sentence-casing on "Operation type" * Add climate's swing mode to LG ThinQ (#137619) Co-authored-by: yunseon.park <[email protected]> * Bump aiowithings to 3.1.6 (#139242) * Add update reward action to Habitica integration (#139157) * Add Re-Auth Flow to vesync (#137398) Co-authored-by: Joost Lekkerkerker <[email protected]> * Rework the velbus configflow to make it more user-friendly (#135609) * Add missing ATTR_HVAC_MODE of async_set_temperature to LG ThinQ (#137621) Co-authored-by: yunseon.park <[email protected]> * Make Radarr units translatable (#139250) Co-authored-by: Joost Lekkerkerker <[email protected]> * Improve Minecraft Server config flow tests (#139251) * Revert "Bump Stookwijzer to 1.5.7" (#139253) * Add parallel updates to Home Connect (#139255) * Bump fnv-hash-fast to 1.2.6 (#139246) * Make default dim level configurable in Lutron (#137127) * Set PARALLEL_UPDATES in all Minecraft Server platforms (#139259) * Bump aiowebostv to 0.7.1 (#139244) * Consistently capitalize "Velbus" brand name, camel-case "VelServ" (#139257) * Bump cached-ipaddress to 0.9.2 (#139245) * Make Sonarr component's units translatable (#139254) Co-authored-by: Joost Lekkerkerker <[email protected]> * Bump stookwijzer to 1.5.8 (#139258) * Bump Velbus to bronze quality scale (#139256) * Add Homee number platform (#138962) Co-authored-by: Joostlek <[email protected]> * Fix yolink lock v2 state update (#138710) * Set Minecraft Server quality scale to silver (#139265) * Add OpenWeatherMap Minute forecast action (#128799) * Fix Ezviz entity state for cameras that are offline (#136003) * Use proper camel-case for "VeSync", fix sentence-casing in title (#139252) Just a quick follow-up PR to fix these two spelling mistakes. * Add request made by `rest_command` to debug log (#139266) * Create repair for configured unavailable backup agents (#137382) * Create repair for configured not loaded agents * Rework to repair issue * Extract logic to config function * Update test * Handle empty agend ids config update * Address review comment * Update tests * Address comment * Improve description of `openweathermap.get_minute_forecast` action (#139267) * Use right import in ezviz (#139272) * Change touchline dependency to pytouchline_extended (#136362) Co-authored-by: Joost Lekkerkerker <[email protected]> * Rename description field to notes in Habitica action (#139271) * Add support for effects in Govee lights (#137846) * Add Burbank Water and Power (BWP) virtual integration (#139027) * Update adext to 0.4.4 (#139151) * Add sound mode support to Onkyo (#133531) * Use new python library for picnic component (#139111) * Bump securetar to 2025.2.1 (#139273) * Fix race in async_get_integrations with multiple calls when an integration is not found (#139270) * Fix race in async_get_integrations with multiple calls when an integration is not found * Fix race in async_get_integrations with multiple calls when an integration is not found * Fix race in async_get_integrations with multiple calls when an integration is not found * tweaks * tweaks * tweaks * restore lost comment * tweak test * comment cache * improve test * improve comment * Bump python-overseerr to 0.7.1 (#139263) Co-authored-by: Shay Levy <[email protected]> * Add coordinator to SMHI (#139052) * Add coordinator to SMHI * Remove not needed logging * docstrings * Make Radarr unit translation lowercase (#139261) Co-authored-by: Joost Lekkerkerker <[email protected]> * Add common state translation string for charging and discharging (#139074) add common state translation string for charging and discharging * Add test fixture ignore_translations_for_mock_domains (#139235) * Add test fixture ignore_translations_for_mock_domains * Fix fixture * Avoid unnecessary attempt to get integration * Really fix fixture * Add forgotten parameter * Address review comment * Fix grammar in loader comments (#139276) #139270 (comment) * Bump aiohomeconnect to 0.15.0 (#139277) * Add current cavity temperature sensor to Home Connect (#139282) * Bump anthropic to 0.47.2 (#139283) * Adjust recorder validate_statistics handler (#139229) * Fix re-connect logic in Apple TV integration (#139289) * Revert "Bump stookwijzer==1.5.8" (#139287) * Add option to ESPHome to subscribe to logs (#139073) * Remove not used constants in smhi (#139298) * Bump `aioshelly` to version `13.0.0` (#139294) * Bump aioshelly to version 13.0.0 * MODEL_BLU_GATEWAY_GEN3 -> MODEL_BLU_GATEWAY_G3 * Remove timeout from vscode test launch configuration (#139288) * Add missing Home Connect context at event listener registration for appliance options (#139292) * Add missing context at event listener registration for appliance options * Add tests * Sort common translation strings (#139300) sort common strings * Add album artist media browser category to Squeezebox (#139210) * Bump aioesphomeapi to 29.2.0 (#139309) * Bump actions/download-artifact from 4.1.8 to 4.1.9 (#139317) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.8 to 4.1.9. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4.1.8...v4.1.9) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump home-assistant/builder from 2024.08.2 to 2025.02.0 (#139316) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Adjust remote ESPHome log subscription level on logging change (#139308) * Fix homeassistant/expose_entity/list (#138872) Co-authored-by: Paulus Schoutsen <[email protected]> * Bump `accuweather` to version `4.1.0` (#139320) * Bump ZHA to 0.0.50 (#139318) * Bump pytechnove to 2.0.0 (#139314) * Update python-smarttub dependency to 0.0.39 (#139313) * Fix anthropic blocking call (#139299) * Bump pybotvac to 0.0.26 (#139330) * Bump stookwijzer==1.6.0 (#139332) * Improve error message when failing to create backups (#139262) * Improve error message when failing to create backups * Check for expected error message in tests * Add translations and icon for Twinkly select entity (#139336) Co-authored-by: Joost Lekkerkerker <[email protected]> * Bump recommended ESPHome Bluetooth proxy version to 2025.2.1 (#139196) * Add default_db_url flag to WS command recorder/info (#139333) * Improve action descriptions of LIFX integration (#139329) Improve action description of lifx integration - fix sentence-casing on two action names - change "Kelvin" unit name to proper uppercase - reference 'Theme' and 'Palette' fields by their friendly names for matching translations - change paint_theme action description to match HA style * Bump Music Assistant client to 1.1.1 (#139331) * Refactor SmartThings (#137940) * Add keys initiate_flow and entry_type to data entry translations (#138882) * Add support for swing horizontal mode for mqtt climate (#139303) * Add support for swing horizontal mode for mqtt climate * Fix import * Add entity translations to SmartThings (#139342) * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * Refactor SmartThings * fix * fix * Add AC tests * Add thermostat tests * Add cover tests * Add device tests * Add light tests * Add rest of the tests * Add oauth * Add oauth tests * Add oauth tests * Add oauth tests * Add oauth tests * Bump version * Add rest of the tests * Finalize * Finalize * Finalize * Finalize * Finalize * Finalize * Finalize * Finalize * Finalize * Finalize * Iterate over entities instead * use set * use const * uncomment * fix handler * Fix device info * Fix device info * Fix lib * Fix lib * Fix * Fix * Fix * Fix * Fix * Fix * Fix * Fix * Fix * Add fake fan * Fix * Add entity translations to SmartThings * Fix * Improve logging for selected options in Onkyo (#139279) Different error for not selected option * Change no fixtures comment in SmartThings (#139344) * Set options for carbon monoxide detector sensor in SmartThings (#139346) * Improve calculating supported features in template light (#139339) * Update frontend to 20250226.0 (#139340) Co-authored-by: Robert Resch <[email protected]> * Use particulate matter device class in SmartThings (#139351) Use particule matter device class in SmartThings * Set options for dishwasher job state sensor in SmartThings (#139349) * Set options for dishwasher machine state sensor in SmartThings (#139347) * Set options for dishwasher machine state sensor in SmartThings * Fix * Set options for alarm sensor in SmartThings (#139345) * Set options for alarm sensor in SmartThings * Set options for alarm sensor in SmartThings * Fix * Fix variable scopes in scripts (#138883) Co-authored-by: Erik <[email protected]> * Add translatable states to SmartThings media source input (#139353) Add translatable states to media source input * Add translatable states to SmartThings media playback (#139354) Add translatable states to media playback * Add translatable states to oven mode in SmartThings (#139356) * Add translatable states to oven job state in SmartThings (#139361) * Add translatable states to oven machine state (#139358) * Add translatable states to robot cleaner movement in SmartThings (#139363) * Add translatable states to robot cleaner cleaning mode in SmartThings (#139362) * Add translatable states to robot cleaner cleaning mode in SmartThings * Update homeassistant/components/smartthings/strings.json * Update homeassistant/components/smartthings/strings.json --------- Co-authored-by: Josef Zweck <[email protected]> * Add translatable states to washer machine state in SmartThings (#139366) * Add translatable states to smoke detector in SmartThings (#139365) * Add translatable states to robot cleaner turbo mode in SmartThings (#139364) * Add translatable states to washer job state in SmartThings (#139368) * Add translatable states to washer job state in SmartThings * fix * Update homeassistant/components/smartthings/sensor.py * Improve Home Connect oven cavity temperature sensor (#139355) * Improve oven cavity temperature translation * Fetch cavity temperature unit * Handle generic Home Connect error * Improve test clarity * Add translatable states to dryer machine state in Smartthings (#139369) * Add translatable states to dryer job state in SmartThings (#139370) * Add translatable states to washer job state in SmartThings * Add translatable states to dryer job state in Smartthings * fix * fix * Don't create entities for disabled capabilities in SmartThings (#139343) * Don't create entities for disabled capabilities in SmartThings * Fix * fix * fix * Fix typo in SmartThing string (#139373) * Bump version to 2025.3.0b0 * Bump stookwijzer==1.6.1 (#139380) * Bump ZHA to 0.0.51 (#139383) * Bump ZHA to 0.0.51 * Fix unit tests not accounting for primary entities * Bump intents to 2025.2.26 (#139387) * Fix fetch options error for Home connect (#139392) * Handle errors when obtaining options definitions * Don't fetch program options if the program key is unknown * Test to ensure that available program endpoint is not called on unknown program * Bump onedrive to 0.0.12 (#139410) * Bump onedrive to 0.0.12 * Add alternative name * Bump pysmartthings to 2.0.0 (#139418) * Bump pysmartthings to 2.0.0 * Fix * Fix * Fix * Fix * Bump habluetooth to 3.24.1 (#139420) * Fix conversation agent fallback (#139421) * Add diagnostics to SmartThings (#139423) * Bump bleak-esphome to 2.8.0 (#139426) * Bump reolink-aio to 0.12.1 (#139427) * Fix Music Assistant media player entity features (#139428) * Fix Music Assistant supported media player features * Update supported features when player config changes * Add tests * Update frontend to 20250227.0 (#139437) * Bump version to 2025.3.0b1 * Bump weatherflow4py to 1.3.1 (#135529) * version bump of dep * update requirements * Add new mediatypes to Music Assistant integration (#139338) * Bump Music Assistant client to 1.1.0 * Add some casts to help mypy * Add handling of the new media types in Music Assistant * mypy cleanup * lint * update snapshot * Adjust tests --------- Co-authored-by: Franck Nijhof <[email protected]> * Move climate intent to homeassistant integration (#139371) * Move climate intent to homeassistant integration * Move get temperature intent to intent integration * Clean up old test * Bump aiohomeconnect to 0.15.1 (#139445) * Fix SmartThings diagnostics (#139447) * Bump pysmartthings to 2.0.1 (#139454) * Change webdav namespace to absolut URI (#139456) * Change webdav namespace to absolut URI * Add const file * Improve onedrive migration (#139458) * Bump pysmartthings to 2.1.0 (#139460) * Only lowercase SmartThings media input source if we have it (#139468) * Set SmartThings suggested display precision (#139470) * Fix Gemini Schema validation for #139416 (#139478) Fixed Schema validation for issue #139477 * Fail recorder.backup.async_pre_backup if Home Assistant is not running (#139491) Fail recorder.backup.async_pre_backup if hass is not running * Fix shift state in Teslemetry (#139505) * Fix shift state * Different fix * Improve error handling in CoreBackupReaderWriter (#139508) * Add diagnostics to onedrive (#139516) * Add diagnostics to onedrive * redact PII * add raw data * Make the Tuya backend library compatible with the newer paho mqtt client. (#139518) * Make the Tuya backend library compatible with the newer paho mqtt client. * Improve classnames and docstrings * Suppress unsupported event 'EVT_USP_RpsPowerDeniedByPsuOverload' by bumping aiounifi to v83 (#139519) Bump aiounifi to v83 * Don't split wheels builder anymore (#139522) * Bump yt-dlp to 2025.02.19 (#139526) * Update frontend to 20250228.0 (#139531) * Bump version to 2025.3.0b2 * Add missing 'state_class' attribute for Growatt plant sensors (#132145) * Add missing 'state_class' attribute for Growatt plant sensors * Update total.py * Update total.py 'TOTAL_INCREASING' * Update total.py "maximum_output" -> 'TOTAL_INCREASING' * Update homeassistant/components/growatt_server/sensor/total.py --------- Co-authored-by: Franck Nijhof <[email protected]> * Bump env_canada to 0.8.0 (#138237) * Bump env_canada to 0.8.0 * Fix requirements*.txt * Grepped more --------- Co-authored-by: Franck Nijhof <[email protected]> * Fix Nederlandse Spoorwegen to ignore trains in the past (#138331) * Update NS integration to show first next train instead of just the first. * Handle no first or next trip. * Remove debug statement. * Remove seconds and revert back to minutes. * Make use of dt_util.now(). * Fix issue with next train if no first train. * Use multiple indexed group-by queries to get start time states for MySQL (#138786) * tweaks * mysql * mysql * Update homeassistant/components/recorder/history/modern.py * Update homeassistant/components/recorder/history/modern.py * Update homeassistant/components/recorder/const.py * Update homeassistant/components/recorder/statistics.py * Apply suggestions from code review * mysql * mysql * cover * make sure db is fully init on old schema * fixes * fixes * coverage * coverage * coverage * s/slow_dependant_subquery/slow_dependent_subquery/g * reword * comment that callers are responsible for staying under the limit * comment that callers are responsible for staying under the limit * switch to kwargs * reduce branching complexity * split stats query * preen * split tests * split tests * Specify recorder as after dependency in sql integration (#139037) * Specify recorder as after dependency in sql integration * Remove hassfest exception --------- Co-authored-by: J. Nick Koston <[email protected]> * Handle IPv6 URLs in devolo Home Network (#139191) * Handle IPv6 URLs in devolo Home Network * Use yarl * Fix bug in derivative sensor when source sensor's state is constant (#139230) Previously, when the source sensor's state remains constant, the derivative sensor repeats its latest value indefinitely. This patch fixes this bug by consuming the state_reported event and updating the sensor's output even when the source sensor doesn't change its state. * Ensure Hue bridge is added first to the device registry (#139438) * Fix update data for multiple Gree devices (#139469) fix sync date for multiple devices do not use handler for explicit update devices as internal communication lib do not provide which device is updated use ha update loop copy data object to prevent rewrite data from internal lib allow more time to process response before log warning about long wait for response and make log message more clear * Use last event as color mode in SmartThings (#139473) * Use last event as color mode in SmartThings * Use last event as color mode in SmartThings * Fix * Set SmartThings delta energy to Total (#139474) * Fix alert not respecting can_acknowledge setting (#139483) * fix(alert): check can_ack prior to acking * fix(alert): add test for when can_acknowledge=False * fix(alert): warn on can_ack blocking an ack * Raise error when trying to acknowledge alert with can_acknowledge set to False * Rewrite can_ack check as guard Co-authored-by: Franck Nijhof <[email protected]> * Make can_ack service error msg human readable because it will show up in the UI * format with ruff * Make pytest aware of service error when acking an unackable alert --------- Co-authored-by: Franck Nijhof <[email protected]> * Bump pysmartthings to 2.2.0 (#139539) * Remove orphan devices on startup in SmartThings (#139541) * Bump PySwitchBot to 0.56.1 (#139544) changelog: sblibs/pySwitchbot@0.56.0...0.56.1 * Bump pysmartthings to 2.3.0 (#139546) * Improve SmartThings OCF device info (#139547) * Add SmartThings Viper device info (#139548) * Revert polling changes to HomeKit Controller (#139550) This reverts #116200 We changed the polling logic to avoid polling if all chars are marked as watchable to avoid crashing the firmware on a very limited set of devices as it was more in line with what iOS does. In the end, the user ended up replacing the device in #116143 because it turned out to be unreliable in other ways. The vendor has since issued a firmware update that may resolve the problem with all of these devices. In practice it turns out many more devices report that chars are evented and never send events. After a few months of data and reports the trade-off does not seem worth it since users are having to set up manual polling on a wide range of devices. The amount of devices with evented chars that do not actually send state vastly exceeds the number of devices that might crash if they are polled too often so restore the previous behavior fixes #138561 fixes #100331 fixes #124529 fixes #123456 fixes #130763 fixes #124099 fixes #124916 fixes #135434 fixes #125273 fixes #124099 fixes #119617 * Bump pysmartthings to 2.4.0 (#139564) * Bump Tesla Fleet API to v0.9.12 (#139565) * bump * Update manifest.json * Fix versions * remove tesla_bluetooth * Remove mistake * Bump aiowebdav2 to 0.3.1 (#139567) * Validate scopes in SmartThings config flow (#139569) * Only determine SmartThings swing modes if we support it (#139571) Only determine swing modes if we support it * Don't require not needed scopes in SmartThings (#139576) * Don't require not needed scopes * Don't require not needed scopes * Homee: fix watchdog icon (#139577) fix watchdog icon * Bump aiohomekit to 3.2.8 (#139579) changelog: Jc2k/aiohomekit@3.2.7...3.2.8 * Fix duplicate unique id issue in Sensibo (#139582) * Fix duplicate unique id issue in Sensibo * Fixes * Mods * Improve field descriptions of `zha.permit` action (#139584) Make the field descriptions of `source_ieee` and `install_code` UI-friendly by cross-referencing them using their friendly names to allow matching translations. Better explain the alternative of using the `qr_code` field by adding that this contains both the IEEE address and the Install code of the joining device. * Fix - Allow brightness only light MQTT json light to be set up using the `brightness` flag or via `supported_color_modes` (#139585) * Fix - Allow brightness only light MQTT json light to be set up using the `brightness` flag or via `supported_color_modes` * Improve comment * Fix Manufacturer naming for Squeezelite model name for Squeezebox (#139586) Squeezelite Manufacturer Fix * Bump deebot-client to 12.3.1 (#139598) * Fix handling of NaN float values for current humidity in ESPHome (#139600) fixes #131837 * Bump aioshelly to 13.1.0 (#139601) Co-authored-by: Franck Nijhof <[email protected]> * Bump inkbird-ble to 0.7.1 (#139603) changelog: Bluetooth-Devices/inkbird-ble@v0.7.0...v0.7.1 * Fix body text of imap message not available in custom event data template (#139609) * Fix arm vacation mode showing as armed away in elkm1 (#139613) Add native arm vacation mode support to elkm1 Vacation mode is currently implemented as a custom service which will be deprecated in a future PR. Note that the custom service was added long before HA had a native vacation mode which was added in #45980 * Still request scopes in SmartThings (#139626) Still request scopes * Bump pysmartthings to 2.4.1 (#139627) * Bump version to 2025.3.0b3 * Fix unique identifiers where multiple IKEA Tradfri gateways are in use (#136060) * Create unique identifiers where multiple gateways are in use Resolving issue #134497 * Added migration function to __init__.py Added migration function to execute upon initialisation, to: a) remove the erroneously-added config)_entry added to the device (gateway B gets added as a config_entry to a device associated to gateway A), and b) swap out the non-unique identifiers for genuinely unique identifiers. * Added tests to simulate migration from bad data scenario (i.e. explicitly executing migrate_entity_unique_ids() from __init__.py) * Ammendments suggested in first review * Changes after second review * Rewrite of test_migrate_config_entry_and_identifiers after feedback * Converted migrate function into major version, updated tests * Finalised variable naming convention per feedback, added test to validate config entry migrated to v2 * Hopefully final changes for cosmetic / comment stucture * Further code-coverage in test_migrate_config_entry_and_identifiers() * Minor test corrections * Added test for non-tradfri identifiers * Fix vicare exception for specific ventilation device type (#138343) * fix for exception for specific ventilation device type + tests * fix for exception for specific ventilation device type + tests * New Testset just for fan * update test_sensor.ambr * Prevent zero interval in Calendar get_events service (#139378) * Prevent zero interval in Calendar get_events service * Fix holiday calendar tests * Remove redundant entity_id * Use translation for exception * Replace check with voluptuous validator * Revert strings.xml * Fix Homee brightness sensors reporting in percent (#139409) * fix brigtness sensor having percent as unit. * add test for percent-brightness-sensor * remove valve position and update tests * Removed test, because covered by Snapshots * fix review comments * move device calss to init. * fix test * fix review comments * add battery sensor back to test fixture * fix * Fix ability to remove orphan device in Music Assistant integration (#139431) * Fix ability to remove orphan device in Music Assistant integration * Add test * Remove orphaned device entries at startup as well * adjust mocked client * Fix broken link in ESPHome BLE repair (#139639) ESPHome always uses .0 in the URL for the changelog, and we never had a patch version in the stable BLE version field so we need to switch it to .0 for the URL. * Fix scope comparison in SmartThings (#139652) * Avoid duplicate chat log content (#139679) * Add additional roborock debug logging (#139680) * Improve failure handling and logging for invalid map responses (#139681) * Abort SmartThings flow if default_config is not enabled (#139700) * Abort SmartThings flow if default_config is not enabled * Abort SmartThings flow if default_config is not enabled * Abort SmartThings flow if default_config is not enabled * Bump ESPHome stable BLE version to 2025.2.2 (#139704) ensure proxies have esphome/esphome#8328 so they do not reboot themselves if disconnecting takes too long * Bump holidays to 0.68 (#139711) * Bump aiowebostv to 0.7.2 (#139712) * Bump sense-energy to 0.13.6 (#139714) changes: https://github.com/scottbonline/sense/releases/tag/0.13.6 * Add nest translation string for `already_in_progress` (#139727) * Bump google-nest-sdm to 7.1.4 (#139728) * Delete refresh after a non-breaking error at event stream at Home Connect (#139740) * Delete refresh after non-breaking error And improve how many time does it take to retry to open stream * Update tests * Bump version to 2025.3.0b4 * Bump aiohomeconnect to 0.16.2 (#139750) * Add Apollo Automation virtual integration (#139751) Co-authored-by: Robert Resch <[email protected]> * Fix incorrect weather state returned by HKO (#139757) * Fix incorrect weather state * Clean up unused import --------- Co-authored-by: Franck Nijhof <[email protected]> Co-authored-by: Franck Nijhof <[email protected]> * Bump pysmartthings to 2.5.0 (#139758) * Bump pysmartthings to 2.5.0 * Bump pysmartthings to 2.5.0 * Fix home connect available (#139760) * Fix home connect available * Extend and clarify test * Do not change connected state on stream interrupted * Bump nexia to 2.1.1 (#139772) changelog: bdraco/nexia@2.0.9...2.1.1 fixes #133368 * Bump version to 2025.3.0b5 * Bump aiowebostv to 0.7.3 (#139788) * Drop BETA postfix from Matter integration's title (#139816) Drop BETA postfix from Matter title Now that the whole Matter stack of Home Assistant is officially certified, we can drop the beta flag. * Split the energy and data retrieval in WeHeat (#139211) * Split the energy and data logs * Make sure that pump_info name is set to device name, bump weheat * Adding config entry * Fixed circular import * parallelisation of awaits * Update homeassistant/components/weheat/binary_sensor.py Co-authored-by: Joost Lekkerkerker <[email protected]> * Fix undefined weheatdata --------- Co-authored-by: Joost Lekkerkerker <[email protected]> * Bump version to 2025.3.0b6 * Update frontend to 20250305.0 (#139829) * Bump version to 2025.3.0b7 * Get temperature data appropriate for hass.config.unit in LG ThinQ (#137626) * Get temperature data appropriate for hass.config.unit * Modify temperature_unit for init * Modify unit's map * Fix ruff error --------- Co-authored-by: yunseon.park <[email protected]> * Bump nexia to 2.2.1 (#139786) * Bump nexia to 2.2.0 changelog: bdraco/nexia@2.1.1...2.2.0 * Apply suggestions from code review * Revert "Add scene support to roborock (#137203)" (#139840) This reverts commit 379bf10. * Bump aioecowitt to 2025.3.1 (#139841) * Bump aioecowitt to 2025.3.1 * Bump aioecowitt to 2025.3.1 * Bump onedrive-personal-sdk to 0.0.13 (#139846) * Bump intents to 2025.3.5 (#139851) Co-authored-by: Franck Nijhof <[email protected]> * Bump version to 2025.3.0b8 * Bump version to 2025.3.0 * Fix no disabled capabilities in SmartThings (#139860) Fix no disabled capabilities --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: cdnninja <[email protected]> Co-authored-by: Martin Hjelmare <[email protected]> Co-authored-by: Erik Montnemery <[email protected]> Co-authored-by: J. Nick Koston <[email protected]> Co-authored-by: Tristan <[email protected]> Co-authored-by: peteS-UK <[email protected]> Co-authored-by: Josef Zweck <[email protected]> Co-authored-by: Manu <[email protected]> Co-authored-by: J. Diego Rodríguez Royo <[email protected]> Co-authored-by: Marc Mueller <[email protected]> Co-authored-by: Noah Husby <[email protected]> Co-authored-by: Dan Raper <[email protected]> Co-authored-by: Jan-Philipp Benecke <[email protected]> Co-authored-by: Markus Adrario <[email protected]> Co-authored-by: Andre Lengwenus <[email protected]> Co-authored-by: Joost Lekkerkerker <[email protected]> Co-authored-by: Norbert Rittel <[email protected]> Co-authored-by: LG-ThinQ-Integration <[email protected]> Co-authored-by: yunseon.park <[email protected]> Co-authored-by: Maikel Punie <[email protected]> Co-authored-by: Dan Bishop <[email protected]> Co-authored-by: elmurato <[email protected]> Co-authored-by: Robert Resch <[email protected]> Co-authored-by: Cameron Ring <[email protected]> Co-authored-by: Shay Levy <[email protected]> Co-authored-by: fwestenberg <[email protected]> Co-authored-by: Matrix <[email protected]> Co-authored-by: Andrew <[email protected]> Co-authored-by: Renier Moorcroft <[email protected]> Co-authored-by: Peter Brøndum <[email protected]> Co-authored-by: Galorhallen <[email protected]> Co-authored-by: tronikos <[email protected]> Co-authored-by: Paul Traina <[email protected]> Co-authored-by: Artur Pragacz <[email protected]> Co-authored-by: Noah Groß <[email protected]> Co-authored-by: G Johansson <[email protected]> Co-authored-by: Michael <[email protected]> Co-authored-by: Denis Shulyaka <[email protected]> Co-authored-by: Pierre Ståhl <[email protected]> Co-authored-by: Maciej Bieniek <[email protected]> Co-authored-by: Abílio Costa <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paulus Schoutsen <[email protected]> Co-authored-by: TheJulianJES <[email protected]> Co-authored-by: Christophe Gagnier <[email protected]> Co-authored-by: Matt Zimmerman <[email protected]> Co-authored-by: Ben Bridts <[email protected]> Co-authored-by: Paul Bottein <[email protected]> Co-authored-by: Marcel van der Veldt <[email protected]> Co-authored-by: Jan Bouwhuis <[email protected]> Co-authored-by: Bram Kragten <[email protected]> Co-authored-by: puddly <[email protected]> Co-authored-by: Michael Hansen <[email protected]> Co-authored-by: starkillerOG <[email protected]> Co-authored-by: Jeef <[email protected]> Co-authored-by: Ivan Lopez Hernandez <[email protected]> Co-authored-by: Brett Adams <[email protected]> Co-authored-by: Robert Svensson <[email protected]> Co-authored-by: LaithBudairi <[email protected]> Co-authored-by: M-A <[email protected]> Co-authored-by: Martreides <[email protected]> Co-authored-by: Guido Schmitz <[email protected]> Co-authored-by: Juan Grande <[email protected]> Co-authored-by: Filip Agh <[email protected]> Co-authored-by: StaleLoafOfBread <[email protected]> Co-authored-by: cs12ag <[email protected]> Co-authored-by: Niklas Neesen <[email protected]> Co-authored-by: Allen Porter <[email protected]> Co-authored-by: Anthony Hou <[email protected]> Co-authored-by: SteveDiks <[email protected]>
2 parents cc79240 + 98e317d commit 97cc398

File tree

4,892 files changed

+125405
-33726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,892 files changed

+125405
-33726
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
- This PR fixes or closes issue: fixes #
4747
- This PR is related to issue:
4848
- Link to documentation pull request:
49+
- Link to developer documentation pull request:
50+
- Link to frontend pull request:
4951

5052
## Checklist
5153
<!--
34.6 KB
Loading

.github/copilot-instructions.md

+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Instructions for GitHub Copilot
2+
3+
This repository holds the core of Home Assistant, a Python 3 based home
4+
automation application.
5+
6+
- Python code must be compatible with Python 3.13
7+
- Use the newest Python language features if possible:
8+
- Pattern matching
9+
- Type hints
10+
- f-strings for string formatting over `%` or `.format()`
11+
- Dataclasses
12+
- Walrus operator
13+
- Code quality tools:
14+
- Formatting: Ruff
15+
- Linting: PyLint and Ruff
16+
- Type checking: MyPy
17+
- Testing: pytest with plain functions and fixtures
18+
- Inline code documentation:
19+
- File headers should be short and concise:
20+
```python
21+
"""Integration for Peblar EV chargers."""
22+
```
23+
- Every method and function needs a docstring:
24+
```python
25+
async def async_setup_entry(hass: HomeAssistant, entry: PeblarConfigEntry) -> bool:
26+
"""Set up Peblar from a config entry."""
27+
...
28+
```
29+
- All code and comments and other text are written in American English
30+
- Follow existing code style patterns as much as possible
31+
- Core locations:
32+
- Shared constants: `homeassistant/const.py`, use them instead of hardcoding
33+
strings or creating duplicate integration constants.
34+
- Integration files:
35+
- Constants: `homeassistant/components/{domain}/const.py`
36+
- Models: `homeassistant/components/{domain}/models.py`
37+
- Coordinator: `homeassistant/components/{domain}/coordinator.py`
38+
- Config flow: `homeassistant/components/{domain}/config_flow.py`
39+
- Platform code: `homeassistant/components/{domain}/{platform}.py`
40+
- All external I/O operations must be async
41+
- Async patterns:
42+
- Avoid sleeping in loops
43+
- Avoid awaiting in loops, gather instead
44+
- No blocking calls
45+
- Polling:
46+
- Follow update coordinator pattern, when possible
47+
- Polling interval may not be configurable by the user
48+
- For local network polling, the minimum interval is 5 seconds
49+
- For cloud polling, the minimum interval is 60 seconds
50+
- Error handling:
51+
- Use specific exceptions from `homeassistant.exceptions`
52+
- Setup failures:
53+
- Temporary: Raise `ConfigEntryNotReady`
54+
- Permanent: Use `ConfigEntryError`
55+
- Logging:
56+
- Message format:
57+
- No periods at end
58+
- No integration names or domains (added automatically)
59+
- No sensitive data (keys, tokens, passwords), even when those are incorrect.
60+
- Be very restrictive on the use of logging info messages, use debug for
61+
anything which is not targeting the user.
62+
- Use lazy logging (no f-strings):
63+
```python
64+
_LOGGER.debug("This is a log message with %s", variable)
65+
```
66+
- Entities:
67+
- Ensure unique IDs for state persistence:
68+
- Unique IDs should not contain values that are subject to user or network change.
69+
- An ID needs to be unique per platform, not per integration.
70+
- The ID does not have to contain the integration domain or platform.
71+
- Acceptable examples:
72+
- Serial number of a device
73+
- MAC address of a device formatted using `homeassistant.helpers.device_registry.format_mac`
74+
Do not obtain the MAC address through arp cache of local network access,
75+
only use the MAC address provided by discovery or the device itself.
76+
- Unique identifier that is physically printed on the device or burned into an EEPROM
77+
- Not acceptable examples:
78+
- IP Address
79+
- Device name
80+
- Hostname
81+
- URL
82+
- Email address
83+
- Username
84+
- For entities that are setup by a config entry, the config entry ID
85+
can be used as a last resort if no other Unique ID is available.
86+
For example: `f"{entry.entry_id}-battery"`
87+
- If the state value is unknown, use `None`
88+
- Do not use the `unavailable` string as a state value,
89+
implement the `available()` property method instead
90+
- Do not use the `unknown` string as a state value, use `None` instead
91+
- Extra entity state attributes:
92+
- The keys of all state attributes should always be present
93+
- If the value is unknown, use `None`
94+
- Provide descriptive state attributes
95+
- Testing:
96+
- Test location: `tests/components/{domain}/`
97+
- Use pytest fixtures from `tests.common`
98+
- Mock external dependencies
99+
- Use snapshots for complex data
100+
- Follow existing test patterns

.github/workflows/builder.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: find ./homeassistant/components/*/translations -name "*.json" | tar zcvf translations.tar.gz -T -
7070

7171
- name: Upload translations
72-
uses: actions/[email protected].0
72+
uses: actions/[email protected].1
7373
with:
7474
name: translations
7575
path: translations.tar.gz
@@ -175,7 +175,7 @@ jobs:
175175
sed -i "s|pykrakenapi|# pykrakenapi|g" requirements_all.txt
176176
177177
- name: Download translations
178-
uses: actions/[email protected].8
178+
uses: actions/[email protected].9
179179
with:
180180
name: translations
181181

@@ -197,7 +197,7 @@ jobs:
197197
password: ${{ secrets.GITHUB_TOKEN }}
198198

199199
- name: Build base image
200-
uses: home-assistant/builder@2024.08.2
200+
uses: home-assistant/builder@2025.02.0
201201
with:
202202
args: |
203203
$BUILD_ARGS \
@@ -263,7 +263,7 @@ jobs:
263263
password: ${{ secrets.GITHUB_TOKEN }}
264264

265265
- name: Build base image
266-
uses: home-assistant/builder@2024.08.2
266+
uses: home-assistant/builder@2025.02.0
267267
with:
268268
args: |
269269
$BUILD_ARGS \
@@ -324,7 +324,7 @@ jobs:
324324
uses: actions/[email protected]
325325

326326
- name: Install Cosign
327-
uses: sigstore/cosign-installer@v3.7.0
327+
uses: sigstore/cosign-installer@v3.8.1
328328
with:
329329
cosign-release: "v2.2.3"
330330

@@ -448,6 +448,9 @@ jobs:
448448
environment: ${{ needs.init.outputs.channel }}
449449
needs: ["init", "build_base"]
450450
runs-on: ubuntu-latest
451+
permissions:
452+
contents: read
453+
id-token: write
451454
if: github.repository_owner == 'home-assistant' && needs.init.outputs.publish == 'true'
452455
steps:
453456
- name: Checkout the repository
@@ -459,7 +462,7 @@ jobs:
459462
python-version: ${{ env.DEFAULT_PYTHON }}
460463

461464
- name: Download translations
462-
uses: actions/[email protected].8
465+
uses: actions/[email protected].9
463466
with:
464467
name: translations
465468

@@ -473,16 +476,13 @@ jobs:
473476
run: |
474477
# Remove dist, build, and homeassistant.egg-info
475478
# when build locally for testing!
476-
pip install twine build
479+
pip install build
477480
python -m build
478481
479-
- name: Upload package
480-
shell: bash
481-
run: |
482-
export TWINE_USERNAME="__token__"
483-
export TWINE_PASSWORD="${{ secrets.TWINE_TOKEN }}"
484-
485-
twine upload dist/* --skip-existing
482+
- name: Upload package to PyPI
483+
uses: pypa/[email protected]
484+
with:
485+
skip-existing: true
486486

487487
hassfest-image:
488488
name: Build and test hassfest image
@@ -509,7 +509,7 @@ jobs:
509509
password: ${{ secrets.GITHUB_TOKEN }}
510510

511511
- name: Build Docker image
512-
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
512+
uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0
513513
with:
514514
context: . # So action will not pull the repository again
515515
file: ./script/hassfest/docker/Dockerfile
@@ -522,7 +522,7 @@ jobs:
522522
- name: Push Docker image
523523
if: needs.init.outputs.channel != 'dev' && needs.init.outputs.publish == 'true'
524524
id: push
525-
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
525+
uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0
526526
with:
527527
context: . # So action will not pull the repository again
528528
file: ./script/hassfest/docker/Dockerfile

0 commit comments

Comments
 (0)