Commit Graph
21676 Commits
Author SHA1 Message Date
42b984ee4f Migrate lamarzocco to lmcloud 1.1 (#113935)
* migrate to 1.1

* bump to 1.1.1

* fix newlines docstring

* cleanup entity_description fns

* strict generics

* restructure import

* tweaks to generics

* tweaks to generics

* removed exceptions

* move initialization, websocket clean shutdown

* get rid of duplicate entry addign

* bump lmcloud

* re-add calendar, auto on/off switches

* use asdict for diagnostics

* change number generator

* use name as entry title

* also migrate title

* don't migrate title

* remove generics for now

* satisfy mypy

* add s

* adapt

* migrate entry.runtime_data

* remove auto/onoff

* add issue on wrong gw firmware

* silence mypy

* remove breaks in ha version

* parametrize issue test

* Update update.py

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

* Update test_config_flow.py

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

* regen snapshots

* mapping steam level

* remove commented code

* fix typo

* coderabbitai availability tweak

* remove microsecond moving

* additonal schedule for coverage

* be more specific on date offset

* keep mappings the same

* config_entry imports sharpened

* remove unneccessary testcase, clenup date moving

* remove superfluous calendar testcase from diag

* guard against future version downgrade

* use new entry for downgrade test

* switch to lmcloud 1.1.11

* revert runtimedata

* revert runtimedata

* version to helper

* conistent Generator

* generator from typing_extensions

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-10 19:59:39 +02:00
Jan BouwhuisandGitHub d6bcb1c5fd Add HVACAction to incomfort climate devices (#119315)
* Add HVACAction to incomfort climate devices

* Use IDLE state when not heating
2024-06-10 19:23:12 +02:00
30fab7b807 Add support for animal detection in unifiprotect (#116290)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-10 10:16:36 -05:00
52379ad7cb Add code_format_template to template locks (#106947)
* Add code_format to template locks

* Replace code_format with code_format_template

* Add test case for template eval to None

* Apply suggestion to not call super()

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

* Add more negative tests

* Handle template render errors

* Better error message

* Add custom test lock config for code format

* Add type hints from upstream

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-10 16:54:17 +02:00
epenetandGitHub c896458fcf Fix namespace-import pylint warning in components (#119299) 2024-06-10 15:55:08 +02:00
epenetandGitHub fbaba3753b Fix root-import pylint warning in components (#119294)
* Fix root-import pylint warning in components

* Adjust

* Adjust
2024-06-10 15:14:49 +02:00
epenetandGitHub 94b9ae14c9 Use Registry fixture in zwave_js tests (#119277) 2024-06-10 15:00:05 +02:00
6733f86c61 Use service_calls fixture in helper tests (#119275)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-10 14:57:34 +02:00
80b2b05bd8 Change qBittorrent lib to qbittorrentapi (#113394)
* Change qBittorrent lib to qbittorrentapi

* Fix tests

* Convert qbittorrent service to new lib

* Add missing translation key

* Catch APIConnectionError in service call

* Replace type ignore by Any typing

* Remove last type: ignore

* Use lib type for torrent_filter

* Change import format

* Fix remaining Any type

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-06-10 14:27:20 +02:00
epenetandGitHub 2e3c3789d3 Use relative imports in tests [s-z] (#119283) 2024-06-10 13:33:15 +02:00
epenetandGitHub ac588ddc75 Use relative imports in tests [j-r] (#119282) 2024-06-10 13:32:31 +02:00
epenetandGitHub 94720fd015 Fix root-import pylint warning in dlna_dmr tests (#119286) 2024-06-10 13:31:29 +02:00
epenetandGitHub 8cbfc5a58b Use service_calls fixture in arcam_fmj tests (#119274) 2024-06-10 13:09:51 +02:00
epenetandGitHub b8e57f6174 Use relative imports in tests [a-i] (#119280) 2024-06-10 12:52:34 +02:00
epenetandGitHub 42f3dd636f Use service_calls fixture in bthome tests (#119268) 2024-06-10 10:05:47 +02:00
epenetandGitHub a5cde4b32b Use device_registry fixture in webostv tests (#119269) 2024-06-10 09:40:54 +02:00
epenetandGitHub 1ebc1685f7 Improve type hints in camera tests (#119264) 2024-06-10 09:30:00 +02:00
epenetandGitHub d9362a2f2f Improve type hints in axis tests (#119260)
* Improve type hints in axis tests

* A couple more

* One more

* Improve light

* Improve hub

* Improve config-flow
2024-06-10 08:49:43 +02:00
epenetandGitHub 2d2f5de191 Improve type hints in blueprint tests (#119263) 2024-06-10 08:49:18 +02:00
0873322af7 Moves V2C from hass.data to config_entry.runtime_data (#119165)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-06-10 08:47:08 +02:00
epenetandGitHub 733e563500 Improve type hints in blackbird tests (#119262) 2024-06-10 08:39:24 +02:00
Kevin StillhammerandGitHub 42e2c2b3e9 google_travel_time: Merge user_input validation (#119221) 2024-06-10 08:26:24 +02:00
Brett AdamsandGitHub 159503b8d3 Add model to Teslemetry Wall Connectors (#119251) 2024-06-10 07:48:09 +02:00
Joakim PlateandGitHub 8a0cc55278 Always provide a currentArmLevel in Google assistant (#119238) 2024-06-10 07:47:16 +02:00
Jan BouwhuisandGitHub 4376e0931a Add boiler entity state translations for incomfort water_heater entities (#119211) 2024-06-10 07:46:07 +02:00
Abílio CostaandGitHub be22214a33 Fix wrong arg name in Idasen Desk config flow (#119247) 2024-06-10 03:02:38 +02:00
J. Nick KostonandGitHub d657feafa6 Switch unifiprotect lib to use uiprotect (#119243) 2024-06-09 18:25:39 -05:00
Robert SvenssonandGitHub 325352e197 Fixture cleanup in UniFi tests (#119227)
* Make sure all mock_device_registry are used with usefixtuers

* Make sure to use name with fixtures and rename functions to start with fixture_

* Streamline config_entry_setup

* Type all *_payload

* Mark @pytest.mark.usefixtures("mock_default_requests")

* Clean up unnecessary newlines after docstring
2024-06-09 16:07:36 -04:00
epenetandGitHub 7dfaa05793 Improve type hints in amberelectric tests (#119229) 2024-06-09 22:04:40 +02:00
epenetandGitHub 06c1c435d1 Improve type hints in ambient_station tests (#119230) 2024-06-09 21:50:13 +02:00
Jan BouwhuisandGitHub 4ca38f227a Fix - Remove unneeded assert in teslemetry test (#119219)
Remove unneded assert in teslemetry test
2024-06-09 19:21:37 +02:00
Brett AdamsandGitHub 38ab121db5 Add cabin overheat protection entity to Teslemetry (#118449)
* test_cabin_overheat_protection

* Fix snapshot

* Translate error

* Review Feedback
2024-06-09 18:30:36 +02:00
Joakim PlateandGitHub 30e11ed068 Update links between config entry and device on sensor change in integral (#119213) 2024-06-09 18:26:33 +02:00
Kevin StillhammerandGitHub 93fa9e778b Add reconfigure step for google_travel_time (#115178)
* Add reconfigure step for google_travel_time

* Do not allow to change name

* Duplicate tests for reconfigure

* Use link for description in strings.json

* Try except else

* Extend existing config flow tests
2024-06-09 18:13:32 +02:00
b4c9b3f109 Create DWD device with unique_id instead of entry_id (#116498)
Co-authored-by: Matthias Alphart <farmio@alphart.net>
2024-06-09 16:36:36 +02:00
04a5a1d18b Improve demo config flow and add tests (#118481)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-06-09 16:02:58 +02:00
Joost LekkerkerkerandGitHub b26f613d06 Add config flow to MPD (#117907) 2024-06-09 16:01:19 +02:00
Robert SvenssonandGitHub c9911e4dd4 Rework UniFi tests to not use runtime data (#119202) 2024-06-09 15:56:26 +02:00
Joost LekkerkerkerandGitHub 279f183ce3 Remove Harmony switches (#119206) 2024-06-09 15:51:01 +02:00
J. Nick KostonandGitHub d9f1d40805 Migrate august to use yalexs 5.2.0 (#119178) 2024-06-09 12:30:41 +02:00
Robert SvenssonandGitHub ff493a8a9d Rewrite the UniFi button entity tests (#118771) 2024-06-09 12:25:06 +02:00
Shay LevyandGitHub 04222c32b5 Handle Shelly BLE errors during connect and disconnect (#119174) 2024-06-09 11:59:40 +02:00
Robert HillisandGitHub a38d88730d Remove Netgear LTE yaml import (#119180)
Remove Netgear LTE yaml config
2024-06-09 09:44:56 +02:00
J. Nick KostonandGitHub ad7097399e Ensure multiple executions of a restart automation in the same event loop iteration are allowed (#119100)
* Add test for restarting automation

related issue #119097

* fix

* add a delay since restart is an infinite loop

* tests
2024-06-08 17:07:39 -04:00
tronikosandGitHub 0ca4314d48 Make supported_features of manual alarm_control_panel configurable (#119122) 2024-06-08 16:54:32 -04:00
Guy SheferandGitHub 7e1806229b Fix Tami4 component breaking API changes (#119158)
* fix tami4 api breaking changes

* fix tests
2024-06-08 16:52:15 -04:00
Robert SvenssonandGitHub d6097573f5 Remove old UniFi test infrastructure (#119160)
Clean up hub
2024-06-08 16:44:24 -04:00
SidandGitHub 721b2c2ca8 Enable Ruff PT012 (#113957) 2024-06-08 17:59:08 +02:00
Robert SvenssonandGitHub 915658daa1 Fix failing UniFi tests related to utcnow (#119131)
* test

* Fix missed test
2024-06-08 17:58:47 +02:00
Paulus SchoutsenandGitHub c49ca5ed56 Ensure intent tools have safe names (#119144) 2024-06-08 17:53:47 +02:00