Norbert Rittel
137666982d
Reword action descriptions to match Home Assistant style ( #135733 )
...
* Reword action descriptions to match Home Assistant style
This commit changes the two action descriptions of the Husqvarna Automower integration to use the descriptive language that is standard in Home Assistant.
This helps in fixing or preventing wrong (machine) translations.
This is done using the wording from the online documentation by using "Lets the mower … ", moving the actual result more into focus.
* Re-add "either" to first description
2025-01-16 09:18:23 +01:00
Thomas55555
4b37b367de
Dynamic devices for Husqvarna Automower ( #133227 )
...
* Dynamic devices for Husqvarna Automower
* callbacks
* add stayout-zones together
* add alltogether on init
* fix stale lock names
* also for workareas
* separate "normal" vs callback entity adding
* mark quality scale
* Apply suggestions from code review
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Apply suggestions from code review
Co-authored-by: Josef Zweck <josef@zweck.dev>
---------
Co-authored-by: Josef Zweck <josef@zweck.dev>
2025-01-15 08:31:24 +01:00
Thomas55555
7daf442271
Bump aioautomower to 2025.1.0 ( #135039 )
2025-01-08 10:26:48 +02:00
Thomas55555
f8da2c3e5c
Bump aioautomower to 2024.12.0 ( #132962 )
2024-12-15 11:04:11 +01:00
Marc Mueller
2e133df549
Improve husqvarna_automower decorator typing ( #133047 )
2024-12-12 14:26:17 +01:00
Thomas55555
ad34082435
Set quality scale to silver for Husqvarna Automower ( #132293 )
2024-12-09 12:18:45 +01:00
Thomas55555
d32e69dcb6
Fix config flow in Husqvarna Automower ( #132615 )
2024-12-08 15:59:27 +01:00
epenet
12be82fdbc
Add parallel-updates rule to quality_scale validation ( #132041 )
2024-12-06 22:40:29 +01:00
epenet
39abeb4600
Use typed config entry in husqvarna_automower ( #132346 )
2024-12-05 20:24:21 +01:00
Thomas55555
de0ffea52d
Clean up common modules in Husqvarna Automower ( #132290 )
2024-12-04 20:28:43 +01:00
Thomas55555
e55d8b2d2b
Check token scope earlier in Husqvarna Automower ( #132289 )
2024-12-04 19:50:15 +01:00
Thomas55555
bd40e1e7df
Add quality scale for Husqvarna Automower ( #131560 )
2024-12-04 19:12:26 +01:00
Thomas55555
055c38a3c8
Don't enable number of collisions by default for Husqvarna Automower ( #131665 )
2024-11-26 21:38:46 +01:00
Thomas55555
7a107cac41
Add PARALLEL_UPDATES to Husqvarna Automower ( #131662 )
2024-11-26 21:09:45 +01:00
Thomas55555
5da7b1dd05
Test connection in config flow for Husqvarna Automower ( #131557 )
2024-11-26 11:06:48 +01:00
Norbert Rittel
48703db78a
Update strings.json to replace wrong "todo" with "lawn mower" ( #130962 )
2024-11-19 16:51:48 +01:00
Norbert Rittel
b1260dc4ec
Update strings.json to fix typo in "Husqavarna" ( #130954 )
2024-11-19 15:01:22 +00:00
Thomas55555
35bf584a9c
Deprecate returning to dock in Husqvarna Automower ( #130649 )
2024-11-15 10:06:30 +01:00
Thomas55555
827875473b
Fix RecursionError in Husqvarna Automower coordinator ( #123085 )
...
* reach maximum recursion depth exceeded in tests
* second background task
* Update homeassistant/components/husqvarna_automower/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/husqvarna_automower/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* test
* modify test
* tests
* use correct exception
* reset mock
* use recursion_limit
* remove unneeded ticks
* test TimeoutException
* set lower recursionlimit
* remove not that important comment and move the other
* test that we connect and listen successfully
* Simulate hass shutting down
* skip testing against the recursion limit
* Update homeassistant/components/husqvarna_automower/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* mock
* Remove comment
* Revert "mock"
This reverts commit e8ddaea3d7
.
* Move patch to decorator
* Make execution of patched methods predictable
* Parametrize test, make mocked start_listening block
* Apply suggestions from code review
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2024-11-13 09:54:37 +01:00
Thomas55555
983cd9c3fc
Add and remove entities during runtime in Husqvarna Automower ( #127878 )
2024-10-29 12:46:04 +01:00
Thomas55555
1c5193aa4d
Bump aioautomower to 2024.10.3 ( #128788 )
2024-10-24 09:56:38 -10:00
epenet
1d5821abca
Use reauth helpers in husqvarna_automower ( #128631 )
2024-10-18 08:45:51 +02:00
Thomas55555
11e8e56e05
Improve internal naming ( #128390 )
...
* Improve internal naming
* revert select
2024-10-14 23:15:02 +02:00
Thomas55555
6e53c93271
Fix model in Husqvarna Automower ( #128168 )
2024-10-11 17:05:13 +02:00
Thomas55555
6b3f18cb5d
Bump aioautomower to 2024.10.0 ( #128137 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-10-11 10:43:01 +02:00
Thomas55555
3cda93d001
Add work area sensors to Husqvarna Automower ( #126931 )
...
* Add work area sensors to Husqvarna Automower
* add exists function
* fix tests
* add icons
* docstring
* Update homeassistant/components/husqvarna_automower/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-06 16:10:26 +02:00
Thomas55555
204bea8947
Return an error if no error key is provided in Husqvarna Automower ( #127584 )
...
return error
2024-10-05 19:13:21 +02:00
Thomas55555
a9495aceb4
Fix Husqvarna Automower reauth title ( #127583 )
2024-10-05 12:11:40 +02:00
Thomas55555
f53411b95a
Bump aioautomower to 2024.9.3 ( #126769 )
...
* Bump aioautomower to 2024.9.3
* tests
2024-09-25 20:28:22 +02:00
epenet
a3c2a7e1e0
Remove redundant source_type property from TrackerEntities ( #126717 )
2024-09-25 08:56:42 +02:00
Thomas55555
dc77b2d583
Add work area switch for Husqvarna Automower ( #126376 )
...
* Add work area switch for Husqvarna Automower
* move work area deletion test to separate file
* stale doctsrings
* don't use custom test file
* use _attr_name
* ruff
* add available property
* hassfest
* fix tests
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* constants
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-24 18:57:47 +02:00
Thomas55555
c9351fdeeb
Simplify cleanup in Husqvarna Automower ( #126666 )
...
Simplify cleanup in Hsuqvarna Automower
2024-09-24 18:54:06 +02:00
Thomas55555
d81e836b37
Bump aioautomower to 2024.9.2 ( #126659 )
2024-09-24 18:18:02 +02:00
Thomas55555
02b3da8f80
Automatic device cleanup for Husqvarna Automower ( #126384 )
...
* Automatic device cleanup for Husqvarna Automower
* fix copy&paste mistake
* typing
* overwrite type in coordinator
2024-09-22 16:06:01 +02:00
epenet
7c5dc29981
Prevent leading and trailing spaces in translation values ( #126427 )
...
* Prevent leading and trailing spaces in translation values
* Adjust components
* Tests
2024-09-22 16:01:08 +02:00
Thomas55555
f93bcbaa84
Bump aioautomower to 2024.9.1 ( #126315 )
2024-09-20 12:40:16 +02:00
Thomas55555
ca59805907
Add sync clock button for Husqvarna Automower ( #125689 )
...
* Sync Clock
* optimize add entitites
* fix?
* test
* simplify command
* 1 generic entity
* docstrings
* tweaks
* tests
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* suggestions from review
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-17 16:12:09 +02:00
Thomas55555
fccbaa0fbc
Add calendar to Husqvarna Automower ( #120775 )
...
* Add Calendar
* update
* change timezone for tests
* fix requirements
* bump aioautomower to 2024.6.3b0
* bump aioautomower to 2024.6.4b0
* fix req
* align dates
* adjust
* nnbw
* better
* improvements
* req
* update requirements
* tests
* tweaks
* shift functions to library
* tests
* bump to aioautomower==2024.9.0b1
* tests
* remove ZoneInfo wrapper
* use timetzone from start_date object
* Update requirements_all.txt
* Fix names in ProgramEvent
2024-09-15 22:07:40 -07:00
Thomas55555
ed907da190
Bump aioautomower to 2024.9.0 ( #125647 )
...
bump aioautomower to 2024.9.0
2024-09-10 15:38:18 +02:00
Michael Arthur
54188b4128
Add returning activity to Husqvarna lawn mower ( #124511 )
...
* add returning activity to husqvarna lawn mower
* Update test, fix bug with comparison operator
2024-08-30 12:59:13 +02:00
Erik Montnemery
cffa8b4feb
Update icons.json to new service schema part 2 ( #124769 )
2024-08-28 13:47:41 +02:00
Thomas55555
9911aa4ede
Enable confirm error button in Husqvarna Automower by default ( #123927 )
2024-08-15 08:29:06 +02:00
Thomas55555
3b1b600606
Bump aioautomower to 2024.8.0 ( #123826 )
2024-08-14 13:47:49 +02:00
Thomas55555
cc1a6d60c0
Add override for work areas in Husqvarna Automower ( #120427 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-07-31 19:28:46 +02:00
Thomas55555
0d678120e4
Bump aioautomower to 2024.7.3 ( #121983 )
...
* Bump aioautomower to 2024.7.0
* tests
* Bump to 2024.7.1
* bump to 2024.7.2
* use timezone Europe/Berlin
* bump to 2024.7.3
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-07-31 08:28:39 +02:00
Thomas55555
ad02afe7be
Extend wrapper for sending commands to all platforms in Husqvarna Automower ( #120255 )
2024-07-05 10:02:38 +02:00
Thomas55555
1b42b32ac1
Fix work area sensor in Husqvarna Automower ( #121228 )
2024-07-05 09:41:21 +02:00
Thomas55555
6af9527310
Bump aioautomower to 2024.6.4 ( #120875 )
2024-07-01 01:12:33 +02:00
Thomas55555
aaef31958b
Bump aioautomower to 2024.6.3 ( #120697 )
2024-06-27 21:29:17 +02:00
Thomas55555
fe3027f7de
Adjust base entities in Husqvarna Automower ( #120258 )
...
* adjust base entities
* Adjust docstrings
2024-06-24 08:16:26 +02:00