Commit Graph

52924 Commits (5b59e043fa0aea8819ccb91c2f41f460c7ca4185)

Author SHA1 Message Date
Alex Thompson 23cd66c54b
Fix Lyric HVAC mode reset on temperature change (#104910)
* Fix Lyric HVAC mode reset on temperature change

* Reduce code duplication

* Revert additional bugfix

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-12-03 22:13:26 +01:00
Joost Lekkerkerker 833805f9be
Add StreamLabsWater to strict typing (#104957) 2023-12-03 21:10:37 +01:00
jjlawren ecc49e61f6
Bump plexapi to 4.15.6 (#104949) 2023-12-03 21:05:30 +01:00
J. Nick Koston 28584ad240
Relocate base Bluetooth scanner code into an external library (#104930) 2023-12-03 10:00:11 -10:00
J. Nick Koston c8bb72935d
Bump bluetooth-data-tools to 1.17.0 (#104935) 2023-12-03 08:53:17 -10:00
Jan Rieger 244edb488b
Add Holiday integration (#103795)
* Add Holiday integration

* Localize holiday names

* Changes based on review feedback

* Add tests

* Add device info

* Bump holidays to 0.36

* Default to Home Assistant country setting

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* black

* Move time

* Stop creating duplicate holiday calendars

* Set default language using python-holiday

* Use common translation

* Set _attr_name to None to fix friendly name

* Fix location

* Update homeassistant/components/holiday/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update tests/components/holiday/test_init.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* cleanup

* Set up the integration and test the state

* Test that configuring more than one instance is rejected

* Set default_language to user's language, fallback to country's default language

* Improve tests

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Cleanup

* Add next year so we don't run out

* Update tests/components/holiday/test_init.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Cleanup

* Set default language in `__init__`

* Add strict typing

* Change default language: HA's language `en` is `en_US` in holidays, apart from Canada

* CONF_PROVINCE can be None

* Fix test

* Fix default_language

* Refactor tests

* Province can be None

* Add test for translated title

* Address feedback

* Address feedback

* Change test to use service call

* Address feedback

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Changes based on review feedback

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Add a test if next event is missing

* Rebase

* Set device to service

* Remove not needed translation key

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-03 16:28:53 +01:00
G Johansson 67784def13
Only raise issue if switch used in Logitech Harmony Hub (#104941) 2023-12-03 11:57:48 +01:00
Jan Bouwhuis 5d6791e412
Remove CONF_PRECISION remainder from dsmr (#104919) 2023-12-03 11:53:09 +01:00
J. Nick Koston edb52bb364
Bump zeroconf to 0.128.0 (#104936) 2023-12-03 11:51:34 +01:00
Jan Rieger a5fe68c354
Bump python-holidays to 0.37 (#104937) 2023-12-03 11:15:07 +01:00
J. Nick Koston dd9c22672a
Refactor bluetooth scanners for better seperation of concerns (#104909) 2023-12-02 13:20:06 -10:00
Erwin Douna 7a9c3819e0
Add MELCloud token refresh upon firmware upgrade (#104391)
* Adding initial setup

* Update homeassistant/components/melcloud/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Adding ConfigEntryNotReady exception

* Update homeassistant/components/melcloud/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/melcloud/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/melcloud/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Placing exception handling in setup_entry

* Expanding test cases

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-02 23:07:06 +01:00
Dave T b48ad268b5
Add alarm sensor to Aurora ABB (#104503)
* Add new sensors

* Add strings

* Fix tests

* Only add alarm sensor, & refactor

* Address review comments

* Address review comments.

* Fix ruff
2023-12-02 23:04:37 +01:00
Christopher Fenner 7480945465
Add number entities for program temperature in ViCare integration (#103960)
* add number platform

* Update .coveragerc

* reset default value

* fix default value

* cast Any value to float

* Apply suggestions from code review

* Update strings.json

* add translation keys

* remove obsolete unique id handling

* add eco program

* reset type

* remove name from entity

* Update strings.json

* Update strings.json

* rename

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* retype getter

* adjust interface

* use device classes

* check setter

* Revert "check setter"

This reverts commit 360e333159.

* remove eco entity

* Update strings.json

* add eco sensor entity

* Revert "add eco sensor entity"

This reverts commit d64b38c548.

* Update strings.json

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-02 22:44:49 +01:00
Jan Bouwhuis c9306049b3
Correct SerialException import in dsmr, firmata, landysgyr_heat_meater and rfxtrx integrations (#104889)
* Fix SerialException import in dsmr integration

* Fix imports firmata, landysgyr_heat_meter, rfxtrx
2023-12-02 19:30:04 +01:00
Jan Bouwhuis 5106dd173c
Fix dsmr zero reconnect interval option could crash HA (#104900)
* Fix dsmr zero interval option could crash HA

* No change change the options
2023-12-02 19:28:56 +01:00
Marc Mueller 559e8dfc69
Improve decorator type annotations [esphome] (#104878) 2023-12-02 06:57:58 -10:00
Marc Mueller e9d4a02bb1
Adjust roku type hint (#104877) 2023-12-02 10:37:44 -05:00
G Johansson 06d663d33f
Fix get_events name in calendar strings (#104902) 2023-12-02 10:35:52 -05:00
starkillerOG 381036e46a
Reolink only fetch data for enabled entities (#104157) 2023-12-02 14:10:44 +01:00
J. Nick Koston a3dd2b8ea9
Migrate to using faster monotonic_time_coarse from bluetooth-data-tools (#104882) 2023-12-01 10:57:09 -10:00
c0ffeeca7 e724414475
SamsungTV to Snapcast: add host field description (#104862) 2023-12-01 16:45:53 +01:00
Marc Mueller 5014e2f0c7
Fix powerwall typing (#104875) 2023-12-01 05:42:50 -10:00
Michael dc708b8a18
Fix handling of unrecognized mimetypes in Synology DSM photos integration (#104848) 2023-12-01 15:58:15 +01:00
J. Nick Koston 970751a635
Bump bluetooth-data-tools to 0.16.0 (#104854) 2023-12-01 04:44:58 -07:00
starkillerOG 742e2dbbe4
Reolink schedule update after firmware update (#104867) 2023-12-01 12:26:18 +01:00
c0ffeeca7 450bc8dd2c
Ping to Qnap: add host field description (#104859) 2023-12-01 12:18:34 +01:00
Niccolò Maggioni 0232c8dcb0
Add temperature to the light color mode parameter fallbacks (#86026)
* Add color temperature to the color mode fallbacks

* Manually add ATTR_COLOR_TEMP since ATTR_COLOR_TEMP_KELVIN is pre-parsed

* Include the legacy ATTR_COLOR_TEMP attribute in the tests

* Apply suggestions from code review

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

* Add citation for McCamy's approximation formula

If still existing, also see page 3 of https://www.st.com/resource/en/application_note/an5638-how-correlated-color-temperature-is-calculated-by-vd6283-stmicroelectronics.pdf

* Update homeassistant/util/color.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-12-01 08:26:07 +01:00
Jan Bouwhuis 7767bb328d
Filter out zero readings for DSMR enery sensors (#104843) 2023-11-30 23:42:51 +01:00
Erik Montnemery 00e57ab9a4
Use deprecated_class decorator in deprecated YAML loader classes (#104835) 2023-11-30 22:43:34 +01:00
mkmer 99f28c7163
Late review updates for Blink (#104755) 2023-11-30 22:40:41 +01:00
Daniel Hjelseth Høyer 3e95c1c705
Bump Mill library (#104836) 2023-11-30 22:39:54 +01:00
Robert Hillis b0f5b78b9a
Fix Harmony switch removal version (#104838) 2023-11-30 22:21:34 +01:00
cdnninja ea732349c9
Vesync constant cleanup (#104842) 2023-11-30 22:19:02 +01:00
Marc Mueller ca9d58c442
Improve decorator type annotations [sensibo] (#104824) 2023-11-30 19:06:36 +01:00
Joost Lekkerkerker fed8e5e873
Always create APCUPS device (#104716) 2023-11-30 18:51:23 +01:00
Marc Mueller 2496c275c8
Improve decorator type annotations [core] (#104826) 2023-11-30 18:50:31 +01:00
Marc Mueller 46ba62a3c0
Improve decorator type annotations [sabnzbd] (#104823) 2023-11-30 18:47:58 +01:00
Marc Mueller 6ffc298986
Improve decorator type annotations [matter] (#104822) 2023-11-30 18:47:18 +01:00
Maciej Bieniek 8e2f4a347c
Address late review for the host field description in Shelly integration (#104815)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-30 18:46:18 +01:00
Mappenhei 9bdb713408
Add Humidity device class to LaCross humidity sensor (#104814) 2023-11-30 18:45:52 +01:00
Marc Mueller d597cfec49
Improve decorator type annotations (#104821) 2023-11-30 18:45:18 +01:00
Franck Nijhof 4bc1e5075a
Revert "Add Komfovent (#95722)" (#104819) 2023-11-30 18:45:04 +01:00
Sergiy Maysak 689c0d14ec
Added typing for return value for async_migrate func. (#104828) 2023-11-30 18:19:10 +01:00
David Bonnes f50cd5ab5e
Bump evohome-async to 0.4.9 (#103660) 2023-11-30 18:17:34 +01:00
Erik Montnemery abc05451a2
Restore renamed yaml loader classes and warn when used (#104818) 2023-11-30 18:14:48 +01:00
cdnninja 9447d954d6
Add codeowner to vesync (#104809) 2023-11-30 18:14:22 +01:00
Bram Kragten 99523c96a2
Update frontend to 20231130.0 (#104816) 2023-11-30 17:49:31 +01:00
Erik Montnemery 12902b8a68
Add NodeStrClass.__voluptuous_compile__ (#104808) 2023-11-30 17:45:27 +01:00
Maciej Bieniek b7bf1e9f3f
Make Shelly Wall Display thermostat implementation compatible with firmware 1.2.5 (#104812) 2023-11-30 17:26:07 +01:00
c0ffeeca7 3133585d52
Enphase to Evil: add host field description (#104779)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-30 17:25:04 +01:00
c0ffeeca7 0c08081386
Deconz to DoorBird: add host field description (#104772)
* Deconz to DoorBird: add host field description

* Update homeassistant/components/deconz/strings.json

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

---------

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-11-30 17:24:21 +01:00
Erwin Douna b3d64c3949
Fix Fastdotcom no entity (#104785)
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-11-30 17:11:28 +01:00
Marcel van der Veldt b31d805de1
Bump python-matter-server to version 5.0.0 (#104805) 2023-11-30 17:09:53 +01:00
Michael 7ec6510221
Add significant Change support for remote (#104627) 2023-11-30 17:09:06 +01:00
c0ffeeca7 419dc8adb1
Freebox to FRITZ!Box add host field description (#104784)
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2023-11-30 17:05:32 +01:00
c0ffeeca7 41fb8d50cc
Goalzero to HEOS: add host field description (#104786) 2023-11-30 17:04:15 +01:00
c0ffeeca7 b9ab28150e
iAlarm to Keenetic: add host field description (#104791)
Co-authored-by: Andrey Kupreychik <foxel@quickfox.ru>
2023-11-30 17:03:27 +01:00
Marcel van der Veldt 52450291cb
Fix device sync to Google Assistant if Matter integration is active (#104796)
* Only get Matter device info if device is an actual Matter device

* Return None if matter device does not exist

* lint

* fix test

* adjust google assistant test
2023-11-30 16:59:26 +01:00
c0ffeeca7 cc2c7c7be1
KMtronic to LG Soundbar: add host field description (#104792) 2023-11-30 16:57:44 +01:00
c0ffeeca7 3bbed8965a
Frontier to Glances: add host field description (#104787)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-30 16:55:53 +01:00
Jonas Fors Lellky 25ebbda3a9
Add Flexit bacnet integration (#104275)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Piotr Buliński <piotr@bulinski.no>
Co-authored-by: Piotr Buliński <piotr@qbee.io>
2023-11-30 16:50:13 +01:00
c0ffeeca7 1c78848c43
HLK to Hyperion: add host field description (#104789)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-30 16:38:40 +01:00
Jan-Philipp Benecke f59588b413
Make the minimum number of samples used by the trend sensor configurable (#101102)
* Make the minimum of samples configurable & raise issue when min_samples > max_samples

* Wording

* Remove issue creation and use a custom schema validator

* Remove issue from strings.json

* Add test for validator and fix error message
2023-11-30 15:41:58 +01:00
Charles Garwood aa4382e091
Use .get for Fully Kiosk SSL settings in coordinator (#104801) 2023-11-30 14:22:17 +01:00
starkillerOG fa7a74c611
Cleanup Reolink formatting (late review) (#104793)
cleanup
2023-11-30 13:54:37 +01:00
Michael 68e883dc63
Fix runtime error in CalDAV (#104800) 2023-11-30 13:50:58 +01:00
Sergiy Maysak 1ab9357840
Fix wirelesstag unique_id to use uuid instead of tag_id (#104394)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-30 12:14:46 +01:00
c0ffeeca7 d1a2192e37
FiveM to Foscam: add host field description (#104782) 2023-11-30 11:59:20 +01:00
starkillerOG 69af4c8603
Add common reolink entity description (#104142)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-30 11:26:33 +01:00
c0ffeeca7 dd00357e9c
Ecoforest to Emonitor: add host field description (#104778) 2023-11-30 09:44:18 +01:00
c0ffeeca7 da93daaa75
Dremel to Duotecno: add host field description (#104776)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-30 09:43:42 +01:00
c0ffeeca7 56350d1c0a
Broadlink, BSB-Lan: add host field description (#104770) 2023-11-30 08:47:37 +01:00
c0ffeeca7 8bc1f9d03d
Comelit, Coolmaster: add host field description (#104771) 2023-11-30 08:47:17 +01:00
Joost Lekkerkerker 6ac9a1d1f2
Migrate GDACS to has entity name (#104733) 2023-11-30 08:22:16 +01:00
c0ffeeca7 2f0846bd87
Axis: add host and user name field description (#104693) 2023-11-30 08:12:39 +01:00
Allen Porter 64a6a6a778
Add due date and description fields to Todoist To-do entity (#104655)
* Add Todoist Due date and description fields

* Update entity features with new names

* Make items into walrus

* Update due_datetime field

* Add additional tests for adding new fields to items

* Fix call args in todoist test
2023-11-30 07:01:57 +01:00
Allen Porter c72e4e8b5c
Fix bug in rainbird device ids that are int serial numbers (#104768) 2023-11-30 06:11:38 +01:00
starkillerOG 9fa163c107
Reolink cleanup when CAM disconnected from NVR (#103888)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-30 01:50:37 +01:00
Christopher Fenner ec647677e9
Update initial translation for ViCare water heater entity (#104696) 2023-11-30 01:38:33 +01:00
Daniel Gangl b957c4e3ee
Bump zamg to 0.3.3 (#104756) 2023-11-30 01:31:39 +01:00
Michael Hansen d793203163
Skip TTS when text is empty (#104741)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-11-30 01:31:27 +01:00
Jan Bouwhuis 04f1b11ef7
Debug level logging for DSMR migration code (#104757) 2023-11-30 00:32:12 +01:00
Charles Garwood e8091a47db
Bump pynws to 1.6.0 (#104679) 2023-11-29 23:13:05 +01:00
Rami Mosleh 2437fb314f
Add strict typing to push bullet (#99538)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-29 23:05:10 +01:00
Allen Porter c8aed06438
Add due date and description to Google Tasks (#104654)
* Add tests for config validation function

* Add Google Tasks due date and description

* Revert test timezone

* Update changes after upstream

* Update homeassistant/components/google_tasks/todo.py

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

* Add google tasks tests for creating

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-29 22:37:43 +01:00
Joost Lekkerkerker 8e64eff626
Add entity translations to faa_delays (#104749) 2023-11-29 22:23:46 +01:00
Joost Lekkerkerker 9126b00dfe
Move Faa delays state attributes to entity description (#104748) 2023-11-29 22:01:03 +01:00
Florian 7638b9bba1
Fix Philips TV none recordings_list (#104665)
Correct for missing recordings list in api client.
---------

Co-authored-by: Joakim Plate <elupus@ecce.se>
2023-11-29 21:54:05 +01:00
Joost Lekkerkerker bdf4c61a05
Add faa_delays to strict typing (#104720) 2023-11-29 21:41:32 +01:00
Franck Nijhof 0a98a648bb
Bump version to 2024.1.0dev0 (#104746) 2023-11-29 21:29:11 +01:00
Allen Porter af2f8699b7
Add due date and description to CalDAV To-do (#104656)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-29 19:35:36 +01:00
J. Nick Koston 1522118453
Remove aiohttp cancel on disconnect workaround (#104175) 2023-11-29 11:20:36 -07:00
J. Nick Koston 50f2c41145
Avoid db hit and executor job for impossible history queries (#104724) 2023-11-29 11:20:22 -07:00
Joost Lekkerkerker 1fefa93648
Use config entry callbacks in Gree (#104740) 2023-11-29 19:03:58 +01:00
Michael Hansen e10d58ef3e
Bump intents to 2023.11.29 (#104738) 2023-11-29 18:52:27 +01:00
J. Nick Koston 1b048ff388
Remove HomeAssistantAccessLogger (#104173) 2023-11-29 10:40:19 -07:00
Duco Sebel 1727c19e0d
Address review comments for Picnic (#104732) 2023-11-29 18:35:55 +01:00
Paul Bottein 38eda9f46e
Add multiple option to text selector (#104635)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-29 18:32:32 +01:00
J. Nick Koston dfed10420c
Remove aiohttp enable_compression helper (#104174) 2023-11-29 10:24:34 -07:00