Commit Graph

24649 Commits (1020d75b94a4b628f63fe1eb3e4f1457989c9ae6)

Author SHA1 Message Date
Marcel van der Veldt 9bbf9be95f
Add optional flag to bypass the media proxy in esphome media players (#131191)
* Add optional flag to play_media to bypass media proxy

* use constants

* add test
2024-11-21 11:47:22 -05:00
Jan Bouwhuis 3474642afe
Set up MQTT websocket_api and dump, publish actions from `async_setup` (#131170)
* Set up MQTT websocket_api and dump, publish actions from `async_setup`

* Follow up comments
2024-11-21 17:29:59 +01:00
karwosts 3d499ab849
Dont count unrecorded time for history_stats (#126271) 2024-11-21 10:24:06 -06:00
Michael Arthur d8549409f7
Area units and conversion between metric and US (#123563)
* area conversions

* start work on tests

* add number device class

* update unit conversions to utilise distance constants

* add area unit

* update test unit system

* update device condition and trigger

* update statistic unit converters

* further tests work WIP

* update test unit system

* add missing string translations

* fix websocket tests

* add deprecated notice

* add more missing strings and missing initialisation of unit system

* adjust icon and remove strings from scrape and random

* Fix acre to meters conversion

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Tidy up valid units

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* fix ordering of area

* update order alphabetically

* fix broken test

* update test_init

* Update homeassistant/const.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* remove deprecated unit and fix alphabetical order

* change deprecation and add tests, change to millimeter conversion for inches

* fix order

* re-order defs alphabetically

* add measurement as well

* update icons

* fix up Deprecation of area square meters

* Update core integrations to UnitOfArea

* update test recorder tests

* unit system tests in alphabetical

* update snapshot

* rebuild

* revert alphabetization of functions

* other revert of alphabetical order

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-11-21 16:10:44 +01:00
epenet 9add3a6c9b
Add ability to pass integration domain to report_usage (#130705)
* Add ability to pass integration domain to report_usage

* Adjust

* Fix

* Add tests

* Update test_frame.py

* Update test_frame.py

* Update test_frame.py

* Update test_frame.py

* Update test_frame.py

* Update test_frame.py

* Finish tests

* Docstring

* Replace logger warning with report_usage

* Improve

* docstring

* Improve tests

* Adjust docstring for exclude_integrations

* Fix behavior and improve tests
2024-11-21 16:01:36 +01:00
epenet c267170616
Use reauth helpers in renault (#131147) 2024-11-21 15:39:35 +01:00
Josef Zweck f1a4baa1b5
Add diagnostics to acaia (#131153) 2024-11-21 10:55:21 +01:00
puddly 51e592f450
Add informative header to ZHA update entity release notes (#130099) 2024-11-21 10:17:44 +01:00
G Johansson e7fedef651
Add created sensor in filesize (#131108) 2024-11-21 08:31:50 +01:00
DeerMaximum 5529cfda09
Nina: Add URL for more information to warning (#131070) 2024-11-21 08:15:27 +01:00
G Johansson 926689ee4f
Add startup exception handling to nordpool (#131104) 2024-11-20 22:54:51 +01:00
J. Diego Rodríguez Royo 80e8b8d61b
Add diagnostics per device to Home Connect (#131010)
* Add diagnostics per device to Home Connect

* Include programs at device diagnostics

* Applied suggestions from epenet

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Applied more suggestions from epenet

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Test naming consistency

Co-authored-by: abmantis <amfcalt@gmail.com>

* Add return type to `_generate_entry_diagnostics`

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: abmantis <amfcalt@gmail.com>
2024-11-20 22:01:57 +01:00
epenet deeb55ac50
Add ability to set HA breaking version in report_usage (#130858)
* Add ability to set breaking version in report_usage

* Adjust tests

* Adjust test

* Adjust tests

* Rename breaks_in_version => breaks_in_ha_version
2024-11-20 21:41:57 +01:00
Klaas Schoute 75e15ec6ea
Use ConfigEntry runtime_data in Pure Energie (#131061) 2024-11-20 20:01:32 +01:00
Jan-Philipp Benecke 06db5a55f8
Add number platform to sabnzbd and deprecate custom action (#131029)
* Add number platform to sabnzbd

* Copy & waste error

* Move to icon translations

* Update snapshot
2024-11-20 19:59:10 +01:00
Jan-Philipp Benecke 309dd5ed1b
Remove old entity unique id migration from sabnzbd (#131064) 2024-11-20 19:55:54 +01:00
Michael Hansen 60774575c6
Set HA time zone with freeze_time in agent test (#131058)
* Patch dt_util instead of using freeze_time

* Use freeze_time but set HA timezone
2024-11-20 19:29:36 +01:00
Abílio Costa 4776865584
Add unit translations for github integration (#130538)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-11-20 18:43:17 +01:00
Klaas Schoute a0ee8eac37
Use ConfigEntry runtime_data in P1 Monitor (#131048) 2024-11-20 18:38:24 +01:00
Jan-Philipp Benecke 771952d292
Remove deprecated yaml import from sabnzbd (#131052) 2024-11-20 18:36:20 +01:00
Sergio Conde Gómez 94bf77606b
Unscape HTML Entities from RSS feeds (#130915)
* Unscape HTML Entities from RSS feeds

* Improve tests
2024-11-20 18:21:16 +01:00
Petar Petrov 061c19fbf8
Add Z-Wave `installer_mode` yaml option (#129888)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-11-20 12:04:29 +01:00
Myles Eftos 621c66a214
Update Amberelectric to use amberelectric version 2.0.12 (#125701)
* Add price descriptor attribute to price sensors

* Adding price descriptor sensor

* Use correct number of sensors in spike sensor tests

* Add tests for normalize_descriptor

* Removing debug message

* Removing price_descriptor attribute from the current sensor

* Refactoring everything to use the new API

* Use SiteStatus object, fix some typnig issues

* fixing test

* Adding predicted price to attributes

* Fix advanced price in forecast

* Testing advanced forecasts

* WIP: Adding advanced forecast sensor. need to add attributes, and tests

* Add advanced price attributes

* Adding forecasts to the advanced price sensor

* Appending forecasts corectly

* Appending forecasts correctly. Again

* Removing sensor for the moment. Will do in another PR

* Fix failing test that had the wrong sign

* Adding test to improve coverage on config_flow test

* Bumping amberelectric dependency to version 2

* Remove advanced code from helpers

* Use f-strings

* Bumping to version 2.0.1

* Bumping amberelectric to version 2.0.2

* Bumping amberelectric to version 2.0.2

* Bumping verion amberelectric.py to 2.0.3. Using correct enums

* Bumping amberelectric.py version to 2.0.4

* Bump version to 2.0.5

* Fix formatting

* fixing mocks to include interval_length

* Bumping to 2.0.6

* Bumping to 2.0.7

* Bumping to 2.0.8

* Bumping to 2.0.9

* Bumping version 2.0.12
2024-11-20 11:27:24 +01:00
Jan-Philipp Benecke 2cfacd8bc5
Add button platform to sabnzbd and deprecate custom actions (#130999) 2024-11-20 09:30:06 +01:00
J. Diego Rodríguez Royo 85610901e0
Add programs to Home Connect diagnostics (#131011) 2024-11-20 09:09:50 +01:00
Jan-Philipp Benecke 2a1cdf6ff2
Strip whitespaces from host in ping config flow (#130970) 2024-11-19 21:57:57 -05:00
Manu 5daf95ec8f
Add calendars for to-do and daily reminders to Habitica integration (#130789)
* Add calendars for to-do and daily reminders

* revert order

* changes
2024-11-19 18:37:23 -08:00
Manu 397a299f15
Add µV as UnitOfElectricPotential (#130838) 2024-11-19 22:38:22 +01:00
Franck Nijhof 07051d0d0e
Clean up old migration in Twente Milieu (#130998) 2024-11-19 22:28:59 +01:00
G Johansson fa28936995
Use snapshot in Sensibo tests (#130994) 2024-11-19 22:21:12 +01:00
Jan-Philipp Benecke 25f922d87b
Add base entity to sabnzbd (#130995) 2024-11-19 22:08:16 +01:00
Petar Petrov c68cadad7a
Improve precision of HSV color conversion (#130880) 2024-11-19 22:06:57 +01:00
Bouwe Westerdijk 6f0139389f
Bump plugwise to v1.5.1 (#130966) 2024-11-19 22:04:00 +01:00
Jan-Philipp Benecke e53d97db6f
Add sensor test to sabnzbd (#130988) 2024-11-19 21:17:38 +01:00
G Johansson c5622df386
Remove deprecated yaml import from dynalite (#130982) 2024-11-19 20:19:30 +01:00
J. Nick Koston 8b4983087b
Bump PyJWT to 2.10.0 (#130907)
* Bump PyJWT to 2.10.0

changelog: https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0

* handle new keys

* add test to verify all default options are checked for merge
2024-11-19 19:55:55 +01:00
Allen Porter 1941850685
Modernize Fitbit entity names (#130828)
* Modernize fitbit entity names

* Use placeholder with tracker device name

* Make names sentence case

* Apply name simplifications from PR feedback

* Remove translations that are duplicate of device class

* Update homeassistant/components/fitbit/sensor.py

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

* Add a test for tracker distance and update snapshots

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-11-19 07:47:15 +01:00
Kevin Stillhammer c7f0745f48
Catch googlemaps exceptions in google_travel_time (#130903)
Catch googlemaps exceptions
2024-11-18 21:54:09 -05:00
Robert Resch 999f3e0d77
Use RTCIceCandidateInit instead of RTCIceCandidate (#130901) 2024-11-18 21:41:50 -05:00
YogevBokobza 2cf3f2b243
Bump aioswitcher to 5.0.0 (#130874)
* Bump aioswitcher to 5.0.0

* fix linting
2024-11-18 21:42:58 +02:00
Robert Resch e48857987b
Use camera_capabilities instead frontend_stream_type (#130604) 2024-11-18 20:26:45 +01:00
starkillerOG a379535127
Reolink fix dev/entity id migration (#130836) 2024-11-18 18:59:17 +01:00
Josef Zweck 003ae881bf
Add binary_sensor platform to acaia (#130676)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-11-18 15:26:53 +01:00
Josef Zweck 4c816f54bf
Add sensor platform to acaia (#130614)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-11-18 14:52:49 +01:00
Johnny Willemsen a6094c4cce
Add diagnostics to HomeConnect (#130500)
Co-authored-by: J. Diego Rodríguez Royo <jdrr1998@hotmail.com>
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-11-18 13:01:07 +01:00
Glenn Waters 75199a901f
UPB integration: Change unique ID from int to string. (#130832) 2024-11-18 10:56:47 +01:00
Manu e9eaeedf2b
Add entity picture for gems to Habitica integration (#130827) 2024-11-18 10:52:23 +01:00
Matthias Alphart 2f1c1d66cb
Support KNX lights with multiple color modes (#130842) 2024-11-18 10:22:10 +01:00
Shay Levy f94e80d4c1
Fix missing Shelly MAC address checks (#130833)
* Fix missing Shelly MAC address checks

* Make new error for mac_address_mismatch

* Use reference in translation
2024-11-18 01:34:33 +02:00
Allen Porter 96299b16e2
Remove code for old fitbit config import (#130783)
* Remove code for old fitbit config import

* Remove translations related to issues
2024-11-16 23:09:59 -05:00