Commit Graph

76 Commits (8ab4113b4bf43a2559d3b0af4f1d1ecf6be0b5a1)

Author SHA1 Message Date
Robert Resch 22b83657f9
Bump deebot-client to 7.2.0 (#117189) 2024-05-10 13:33:18 +02:00
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Robert Resch 1641df18ce
Store runtime data in entry in Ecovacs (#116445) 2024-04-30 22:44:56 +02:00
Andy 5aa61cb6d5
Extend options for ecovacs lifespans (#116094)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-04-24 13:19:50 +02:00
Robert Resch ec377ce665
Bump deebot-client to 7.1.0 (#116082) 2024-04-24 09:49:10 +02:00
Robert Resch fced9eb4b5
Use location name on self hosted Ecovacs config entries (#115294) 2024-04-23 14:33:05 +02:00
Robert Resch fd14695d26
Bump deebot-client to 7.0.0 (#116025) 2024-04-23 13:16:55 +02:00
Øyvind Matheson Wergeland fdef3ece13
Fix placeholder quotes (#114974)
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.

* Ensure that strings does not contain placeholders in single quotes.

* Avoid redefining value

* Moved string_with_no_placeholders_in_single_quotes

* Define regex once

* Fix tests
2024-04-06 13:01:56 +02:00
Sid f7b7f74d10
Enable Ruff TRY201 (#114269)
* Enable Ruff TRY201

* remove redundant rules
2024-03-28 10:18:07 +01:00
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Robert Resch 135c40cad8
Add Ecovacs last job event entity (#113826)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-25 18:31:04 +01:00
Jan Bouwhuis 3dc8df2403
Get ServiceValidationError message from translation cache only (#113704)
* Get ServiceValidationError message from translation cache only

* Remove message for NotValidPresetModeError
2024-03-18 14:42:21 +01:00
Joost Lekkerkerker 05172d8e4d
Improve loops and lists (#113269)
* Enable PERF

* Enable PERF rule

* Enable PERF rule

* Don't enable flag yet
2024-03-14 10:22:20 +01:00
Joost Lekkerkerker 643e6096da
Improve lists in integrations [E-F] (#113075) 2024-03-12 18:42:43 +01:00
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller 0e3945ca6c
Add empty line after module docstring [d-f] (#112698) 2024-03-08 14:15:26 +01:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
Robert Resch bfdc640e04
Remove unused translation key from Ecovacs mower (#111754)
* Remove unused translation key

* Update snapshots
2024-02-29 10:54:02 -05:00
Andy cd5377367a
Add Ecovacs goat switch entities (#111751) 2024-02-28 20:43:53 +01:00
Andy 69bb827a20
Add ecovacs lawn mover (#111673) 2024-02-28 16:35:29 +01:00
Robert Resch 3703698f77
Bump deebot-client to 6.0.2 (#111507) 2024-02-27 09:39:49 +01:00
Robert Resch 345228429e
Bump deebot-client to 5.2.2 (#111112) 2024-02-22 01:01:32 +02:00
Michael f295382c92
Reset error state when Ecovacs bot is operational again (#110962) 2024-02-20 17:15:55 +01:00
Robert Resch bcce32e2de
Bump deebot-client to 5.2.1 (#110683)
* Bump deebot-client to 5.2.0

* Bumb again

* Fix tests
2024-02-16 11:47:36 +01:00
Michael 9a672a1f31
Bump py-sucks to 0.9.9 (#110397)
bump py-sucks to 0.9.9
2024-02-12 21:13:47 +01:00
Robert Resch 69af00b360
Bump deebot-client to 5.1.1 (#109994) 2024-02-08 15:41:37 +01:00
Robert Resch 343086a6c8
Improve Ecovacs naming (#109372) 2024-02-02 14:12:26 +01:00
Robert Resch 61e6882b91
Bump deebot_client to 5.1.0 (#109360) 2024-02-02 11:02:00 +01:00
Robert Resch cb5be4901b
Verify Ecovacs mqtt config (#109306) 2024-02-01 17:07:55 +01:00
Robert Resch 6fc5804818
Add Ecovacs switch entities (#109216) 2024-01-31 16:05:41 +01:00
Robert Resch 4f4d79137e
Add Ecovacs number entities (#109209) 2024-01-31 14:43:35 +01:00
Robert Resch 4bad88b42c
Update Ecovacs config_flow to support self-hosted instances (#108944)
* Update Ecovacs config_flow to support  self-hosted instances

* Selfhosted should add their instance urls

* Improve config flow

* Improve and adapt to version bump

* Add test for self-hosted

* Make ruff happy

* Update homeassistant/components/ecovacs/strings.json

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

* Implement suggestions

* Apply suggestions from code review

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

* Implement suggestions

* Remove ,

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-31 13:17:00 +01:00
Robert Resch 01df5f9cab
Add Ecovacs button entities (#109189) 2024-01-31 09:00:43 +01:00
Robert Resch 09a89cd3e9
Fix Ecovacs duration sensors (#108868) 2024-01-31 00:43:39 +01:00
Robert Resch c363edad4a
Update Ecovacs binary sensor keys (#109145) 2024-01-30 18:55:37 +01:00
Robert Resch 872a59f405
Bump deebot-client to 5.0.0 (#109066) 2024-01-29 21:45:10 +01:00
Robert Resch b1b53ac893
Add Ecovacs image entities (#108924)
* Add Ecovacs image entities

* Fix
2024-01-26 20:33:21 +01:00
Robert Resch 0d22822ed0
Add Ecovacs diagnostics (#108791)
* Add Ecovacs diagnostics

* Fix test
2024-01-24 23:30:14 +01:00
Robert Resch 5467fe8ff1
Add Ecovacs select entities (#108766)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-24 17:17:43 +01:00
Robert Resch 37f5c75752
Add sensors to Ecovacs (#108686)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-23 21:17:18 +01:00
Robert Resch 881872fdb4
Add binary_sensor to Ecovacs (#108544) 2024-01-22 13:36:26 +01:00
Robert Resch ed449a5abd
Add support for MQTT based ecovacs vacuums (#108167)
* Add support for MQTT based ecovacs vacuums

* renames

* Add init import test

* bump deebot-client

* Translate continent options

* Apply suggestions from code review

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

* Remove continent

* use ServiceValidationError

* Small refactoring

* Simplify

* Fix tests

* Enable strict typing for ecovacs

* Apply suggestions from code review

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

* Implement suggestions

* improve test_async_setup_import

* Implement suggestions

* Update homeassistant/components/ecovacs/config_flow.py

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-19 16:52:30 +01:00
Robert Resch 7fe6fc987b
Add config flow for Ecovacs (#108111)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-16 13:31:42 +01:00
Michael cce9d938f6
Make setup of Ecovacs async (#96200)
* make setup async

* apply suggestions
2023-07-25 00:07:43 +02:00
Michael af1cb7be58
Migrate from deprecated VacuumEntity to StateVacuumEntity in Ecovacs (#95920)
* migrate to StateVacuumEntity

* harmoize supported features start and stop

* apply suggestions
2023-07-06 08:49:59 +02:00
Erik Montnemery 78c9b70c8d
Sort manifests 3 (#87024) 2023-02-08 20:19:19 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Michael 03b3959b95
Replace archived sucks by py-sucks and bump to 0.9.8 for Ecovacs integration (#77768) 2022-09-04 12:57:50 -04:00
epenet fea0ec4d4d
Improve type hints in vacuum entities (#76561) 2022-08-20 08:33:27 +02:00
epenet 3a3f41f3df
Improve entity type hints [e] (#77041) 2022-08-20 07:52:55 +02:00