Commit Graph
23881 Commits
Author SHA1 Message Date
G Johansson be3b18cebf Mod version 2024-09-30 20:28:38 +00:00
G Johansson 1dff94e29c Fix fritzbox tests 2024-09-30 20:28:38 +00:00
G Johansson d62da432d0 Deprecate STATE_ON in light 2024-09-30 20:28:37 +00:00
G Johansson 0999f61079 Add more 2024-09-30 20:28:37 +00:00
G Johansson c1c6e6d50e Add more tests 2024-09-30 20:28:37 +00:00
G Johansson 7f88813ba1 Add some tests 2024-09-30 20:28:37 +00:00
G JohanssonandGitHub de6ca56504 Add config flow validation that calibration factor is not zero (#127136)
* Add config flow validation that calibration factor is not zero

* Add test
2024-09-30 21:30:28 +02:00
Joost LekkerkerkerandGitHub 10805805fe Add devices to Withings (#126853) 2024-09-30 21:06:51 +02:00
0f4c50e83c Mark Reolink camera entities as unavailable when camera is offline (#127127)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-09-30 19:00:37 +02:00
Martin HjelmareandGitHub 0a99c1c633 Bump zwave-js-server-python to 0.58.1 (#127114)
* Bump zwave-js-server-python to 0.58.1

* Update tests
2024-09-30 18:35:14 +02:00
epenetandGitHub 86a95013b6 Use start_reauth_flow helper in ezviz and netatmo tests (#127100)
* Use start_reauth_flow helper in netatmo tests

* Use start_reauth_flow helper in ezviz tests
2024-09-30 16:38:34 +02:00
74931071de Use scheduled current preset (if set), when setting HVAC mode in AVM Fritz!Smarthome (#126044)
* Use temperature of current preset when set fritz HVAC mode to HEAT

If the HVAC mode of the Fritzbox thermostats changes from `HVACMode.OFF`
to `HVAMode.HEAT`, the current preset (COMFORT / ECO) should be
observed. Depending on the status of the current preset, the set
temperature of comfort / eco is set as the new temperature.

* fixup do not use value_scheduled_preset

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Add current_preset value to test_set_hvac_mode

The current_preset parameter allows the mock to be set to an active
preset. When setting HVACMode.HEAT, the respective temperature of the
ECO/COMFORT preset should be set.

* fixup Use the updated value_scheduled_preset function

To distinguish which temperature should be used when setting the
`HVAMode.HEAT`, `value_schedules_preset` is now used again, which has
been updated since the first commit. If no schedule is active, the
comfort_temperature is used. Otherwise, the respective temperature of
the current preset.

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-09-30 16:29:39 +02:00
IceBotYTandGitHub 927813ab3b Raise HomeAssistantError in entity action calls in Nice G.O. (#126439) 2024-09-30 15:36:10 +02:00
epenetandGitHub d96fd518e7 Use HassKey in azure_data_explorer (#127087)
* Use HassKey in azure_data_explorer

* Adjust tests

* Adjust

* Remove test
2024-09-30 14:45:37 +02:00
epenetandGitHub 07fa1fa771 Move monzo test (#127101)
* Move monzo test

* Update tests/components/monzo/test_init.py
2024-09-30 14:43:23 +02:00
404b3fcd03 Add support for room sensors in ViCare integration (#125243)
* Add room sensors

* set humidity device class

* add labels

* Create RoomSensor2.json

* Create RoomSensor1.json

* Update conftest.py

* Create test_sensor.py

* enable E3_RoomSensor

* use setup_integration

* fix ruff findings

* add test case

* fix entity id

* Apply suggestions from code review

* update

* fix findings

* reuse labels

* Apply suggestions from code review

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

* Apply suggestions from code review

* fix test snapshot

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-30 14:32:04 +02:00
epenetandGitHub e1db5f3cac Use start_reauth_flow helper in switcher_kis tests (#127098) 2024-09-30 15:28:33 +03:00
epenetandGitHub 4bb768f39c Add test for start_reauth_flow test helper (#127093)
* Improve docstring in start_reauth_flow

* Add test

* Make private

* Make fully private until actually needed
2024-09-30 14:28:13 +02:00
Joost LekkerkerkerandGitHub 352987db7e Make Laundrify unique id a string (#127092) 2024-09-30 13:21:20 +02:00
G JohanssonandGitHub 92a6f231a9 Workday raise issues only to next year (#126997)
* Workday - raise issues only for current and next year

* variable
2024-09-30 13:08:58 +02:00
G JohanssonandGitHub a44bf164e5 Add select volume to yale_smart_alarm (#127005) 2024-09-30 12:55:09 +02:00
Jan BouwhuisandGitHub f99b7d8b78 Start mqtt integration discovery config flow only once if config has not changed (#126966)
* Start mqtt integration config flow only once

* Remember last config message

* Filter out instead of unsubscribing the intehration discovery topic

* Follow up comments from code review
2024-09-30 12:44:40 +02:00
0672e1a1ea Add power sensor detection in fibaro integration (#126964)
* Add power sensor detection in fibaro integration

* Better solution plus test

* Update homeassistant/components/fibaro/sensor.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-30 12:01:27 +02:00
Shai UngarandGitHub dce51b02c8 Fix timestamp isoformat in seventeentrack (#127052)
fix timestamp isoformat
2024-09-30 11:45:54 +02:00
epenetandGitHub 301543d3d0 Use config entry runtime_data in atag (#127084) 2024-09-30 11:06:07 +02:00
epenetandGitHub 3caf6c0e31 Move atag coordinator to separate class (#127071) 2024-09-30 10:21:04 +02:00
epenetandGitHub dec03d4d25 Use config entry runtime_data in awair (#127073) 2024-09-30 10:11:21 +02:00
epenetandGitHub 4c8027aefa Use config entry runtime_data in android ip webcam (#127080) 2024-09-30 10:08:04 +02:00
J. Nick KostonandGitHub e87542e091 Fix removing nulls when encoding events for PostgreSQL (#127053) 2024-09-30 09:01:41 +02:00
Jan BouwhuisandGitHub b573e5a2b3 Allow null / None value for non numeric mqtt sensor without warnings (#127032)
Allow `null` / `None` value for mqtt sensor without warnings
2024-09-30 07:05:12 +02:00
be11d1cabf Add Light support for Switcher Runner S11 (#126402)
* switcher add s11 light support

* switcher fix linting

* switcher fix linting

* switcher fix linting

* switcher fix linting

* Update homeassistant/components/switcher_kis/light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/switcher_kis/light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Switcher fix based on requested changes

* switcher fix light tests

* Add translations

* Remove obsolete default

* Remove obsolete default

* Update tests/components/switcher_kis/test_light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* switcher fix based on requested changes

---------

Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-09-29 13:20:21 +03:00
5399e2b648 Add Local Calendar ics events import on calendar creation (#117955)
* add optional config_flow step of uploading .ics file to import local calendar events

* feat: add unit test for import_ics step

* fix: remove unneeded test patch

* feat: add helper for moving ics to storage location

* move helper to config_flow

* ruff

* fix tests; add test for invalid ics content

* Update homeassistant/components/local_calendar/config_flow.py

* Update import flow with radio button and improved text

Signed-off-by: Allen Porter <allen.porter@gmail.com>

* Remove commented out code

* Update with lint fixes

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

---------

Signed-off-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-09-28 22:15:24 -07:00
G JohanssonandGitHub ddfe790995 Bump smhi-pkg to 1.0.18 (#126999) 2024-09-28 17:17:57 +02:00
Tsvi MostoviczandGitHub 52c358e120 Add reconfigure flow for Jewish Calendar (#126773)
* Add reconfigure flow for Jewish Calendar

* Use async_update_reload_and_abort
2024-09-28 13:59:11 +02:00
Josef ZweckandGitHub d9eb419ecc Add translation for tedee exceptions (#126963) 2024-09-27 22:21:01 +02:00
G JohanssonandGitHub 2ff88e7baf Add preview to statistics (#122590) 2024-09-27 21:09:42 +02:00
Josef ZweckandGitHub 2e1732fadf Add proper exception handling to lamarzocco (#125913) 2024-09-27 21:04:01 +02:00
G JohanssonandGitHub 57e041171b Add preview to mold_indicator (#125530) 2024-09-27 20:56:02 +02:00
Joakim PlateandGitHub c81a4f8633 Translate exception from fjäråskupan (#126673) 2024-09-27 19:23:24 +02:00
Erik MontnemeryandGitHub 4599d1650b Use ConfigFlow.has_matching_flow to deduplicate flux_led flows (#126888) 2024-09-27 19:22:00 +02:00
Erik MontnemeryandGitHub c5b4892596 Adjust BaseEditConfigView.__init__ (#126729) 2024-09-27 19:08:12 +02:00
Erik MontnemeryandGitHub 46812777e2 Use ConfigFlow.has_matching_flow to deduplicate yalexs_ble flows (#126899) 2024-09-27 19:07:23 +02:00
Steven B.andGitHub 33d0343089 Extend dhcp discovery flow for ring integration (#126661) 2024-09-27 19:03:43 +02:00
Jan RiegerandGitHub cda62a4ff3 Add missing icons to unifi (#126934) 2024-09-27 18:50:00 +02:00
Erik MontnemeryandGitHub 495faf5033 Improve statistics issue title (#126851) 2024-09-27 18:32:20 +02:00
Jan RiegerandGitHub 2d68f9a986 Use icon translations in unifi (#126903)
* Use icon translations in unifi

* Update snapshots

* Add state icons

* Address feedback

* Update snapshot
2024-09-27 17:43:25 +02:00
Jan BouwhuisandGitHub 7fde2e2fe0 Do not unsubscribe mqtt integration discovery if entry is already configured (#126907)
* Do not unsubscribe mqtt integration discovery if entry is already configured

* Test cases without unsubscribe
2024-09-27 17:28:51 +02:00
bd4f3b0553 Change Assist satellite state names (#126926)
* Change state names

* Update homeassistant/components/assist_satellite/strings.json

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-27 11:11:23 -04:00
Brett AdamsandGitHub cad87f51a3 Code quality improvements for Teslemetry (#123444) 2024-09-27 15:06:09 +02:00
Erik MontnemeryandGitHub 66ab90b518 Add EntityIDPostMigration data migrator class (#125307) 2024-09-27 14:58:34 +02:00