J. Nick Koston
0f60b404df
Fix husqvarna_automower typing ( #116060 )
2024-04-23 22:50:31 +02:00
Thomas55555
f1fa33483e
Bump aioautomower to 2024.4.3 ( #114500 )
2024-04-23 22:23:44 +02:00
Thomas55555
b8918d7d17
Add number platform to Husqvarna Automower ( #115125 )
...
* Add number platform to Husqvarna Automower
* use fixture to enable by default
* replace state test with snapshot test
* make property in entity description
* send value as integer
* give the exists functions something to do
2024-04-23 14:18:49 +02:00
Thomas55555
017b2fe685
Change scan interval for Husqvarna Automower ( #115225 )
...
* Change scan interval for Husqvarna Automower
* Also use const
2024-04-08 20:22:09 +02:00
Thomas55555
5eb4cf6a05
Add error sensor for Husqvarna Automower ( #113165 )
...
* Add error sensor for Husqvarna Automower
* Apply suggestions from code review
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
* address review
* Add restricted reason sensor
* ruff
* pin options
---------
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2024-03-31 20:06:30 +02:00
Thomas55555
b71cbeff51
Bump aioautomower to 2024.3.4 ( #114127 )
...
* Bump aioautomower to 2024.3.4
* Update homeassistant/components/husqvarna_automower/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* adjust imports
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-25 16:11:12 +01:00
Marc Mueller
efc54971d3
Update empty line formatting after module docstring ( #114040 )
2024-03-23 00:27:57 +01:00
Thomas55555
63221356f6
Add select platform to Husqvarna Automower ( #113816 )
...
* Add select platform to Husqvarna Automower
* docstring
* address review
* pin headlight_modes list
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Apply review
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-21 17:07:09 +01:00
Thomas55555
80c8b94021
Add diagnostics to Husqvarna Automower ( #111857 )
2024-03-21 10:06:40 +01:00
Thomas55555
ea443af557
Add device_tracker platform for husqvarna_automower ( #111403 )
...
* Add device_tracker platform for husqvarna_automower
* ruff
* Add snapshot test
* State test
* Fix description
* ruff
* Optimize some docstrings
* Update homeassistant/components/husqvarna_automower/device_tracker.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Adress review
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-19 15:46:35 +01:00
Thomas55555
3a8494cb88
Add binary sensor platform for Husqvarna Automower ( #113248 )
...
* Add binary sensor platform for Husqvarna Automower
* revert changes in sensor.py
* use == instead of is
* remove the parantheses
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Docstring
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-19 15:30:30 +01:00
Thomas55555
309f554336
Address late review on adding an error sensor to Husqvarna Automower ( #113242 )
2024-03-15 12:04:33 +01:00
Thomas55555
f1374503c3
Bump aioautomower to 2024.3.3 ( #113430 )
2024-03-14 17:51:24 +01:00
Thomas55555
33c75bfd36
Add loggers to Husqvarna Automower ( #113381 )
2024-03-14 09:29:11 +01:00
Thomas55555
21a021944f
Bump aioautomower to 2024.3.2 ( #113162 )
2024-03-12 18:50:57 +01:00
Thomas55555
4f4391bd09
Add missing device info to Husqvarna Automower ( #113090 )
...
* Add missing DeviceInfo to Husqvarna Automower
* add a test
* Adress review
* Update homeassistant/components/husqvarna_automower/entity.py
* fix url
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-12 08:25:35 +01:00
Thomas55555
9a647d9b17
Bump aioautomower to 2024.3.0 ( #112627 )
...
Fix error in Husqvarna automower in Zones dataclass
2024-03-10 23:10:27 +02:00
Joost Lekkerkerker
d9f6e4be24
Add icon translations to Husqvarna automower ( #111727 )
...
* Add icon translations to Husqvarna automower
* fix
2024-03-10 21:55:31 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05:00
Thomas55555
9ba5159ae2
Add reauthentication for husqvarna_automower ( #109930 )
...
* Add reauthentication for husqvarna_automower
* Remove unneded lines
* Don't extract token on reauth
* Update homeassistant/components/husqvarna_automower/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/husqvarna_automower/conftest.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Use helper
* Test if authentication is done with the right account
* switch to ConfigFlowResult
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-08 11:30:39 +01:00
Thomas55555
0a11cb5382
Avoid errors when there is no internet connection in Husqvarna Automower ( #111101 )
...
* Avoid errors when no internet connection
* Add error
* Create task in HA
* change from matter to automower
* tests
* Update homeassistant/components/husqvarna_automower/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* address review
* Make websocket optional
* fix aioautomower version
* Fix tests
* Use stored websocket
* reset reconnect time after sucessful connection
* Typo
* Remove comment
* Add test
* Address review
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-06 11:25:56 +01:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler ( #111862 )
2024-02-29 20:07:36 +01:00
Thomas55555
85be94e0a9
Add switch platform for husqvarna_automower ( #110139 )
...
* Add switch platform for husqvarna_automower
* Use RestrictedReasons const
* Typing
* Add snapshot testing
* Invert switch
* Test sucessfull servie calls
* Assert client mock calls
* Use getattr
* Update snapshot
* Add available property
* Add a new base class for control entities
* Make switch unavailabe if mower in error state
* Sort platforms
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-22 12:34:24 +01:00
Thomas55555
6e91776d65
Add sensor platform for husqvarna_automower ( #110410 )
...
* Add sensor platform for husqvarna_automower
* Adress review comments
* Try to fix test
* Improve sensors
* Address review
* Adapt some values
* Add test
* Add test for cutting blade usage time
* Import TEST_MOWER_ID
* Use a parenthesis around the lambda and indent it so it's easier to distinguish the entity description parameters from the lambda
2024-02-22 09:26:38 +01:00
Thomas55555
e6cfa7fa09
Bump aioautomower to 2024.2.7 ( #110991 )
...
bump aioautomower to 2024.2.7
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-02-20 12:04:42 +01:00
Thomas55555
72297a9044
Bump aioautomower to 2024.2.6 ( #110598 )
2024-02-14 23:14:41 +01:00
Thomas55555
816f231e27
Bump aioautomower to 2024.2.4 ( #110209 )
...
* Bump aioautomower to 2024.2.3
* Bump aioautomower to 2023.2.4
2024-02-11 10:13:52 +02:00
Thomas55555
ec3af2462b
Address late review on husqvarna_automower ( #109896 )
...
* Address late review on husqvarna_automower
* Add missing credentials string
2024-02-09 09:53:22 +01:00
Thomas55555
6d4ab6c758
Add Husqvarna Automower integration ( #109073 )
...
* Add Husqvarna Automower
* Update homeassistant/components/husqvarna_automower/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/husqvarna_automower/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/husqvarna_automower/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/husqvarna_automower/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/husqvarna_automower/lawn_mower.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/husqvarna_automower/lawn_mower.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* address review
* add test_config_non_unique_profile
* add missing const
* WIP tests
* tests
* tests
* Update homeassistant/components/husqvarna_automower/api.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/husqvarna_automower/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/husqvarna_automower/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/husqvarna_automower/conftest.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* .
* loop through test
* Update homeassistant/components/husqvarna_automower/entity.py
* Update homeassistant/components/husqvarna_automower/coordinator.py
* Update homeassistant/components/husqvarna_automower/coordinator.py
* Apply suggestions from code review
* ruff
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-02-07 09:27:04 +01:00