core/homeassistant/components/husqvarna_automower
Thomas55555 b2996844be
Add reauth for missing token scope in Husqvarna Automower (#117098)
* Add repair for wrong token scope to Husqvarna Automower

* avoid new installations with missing scope

* tweaks

* just reauth

* texts

* Add link to correct account

* Update homeassistant/components/husqvarna_automower/strings.json

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

* Update homeassistant/components/husqvarna_automower/strings.json

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

* Update homeassistant/components/husqvarna_automower/strings.json

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

* Add comment

* directly assert mock_missing_scope_config_entry.state is loaded

* assert that a flow is started

* pass complete url to strings and simplify texts

* shorten long line

* address review

* simplify tests

* grammar

* remove obsolete fixture

* fix test

* Update tests/components/husqvarna_automower/test_init.py

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

* test if reauth flow has started

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-13 23:00:51 +02:00
..
__init__.py Add reauth for missing token scope in Husqvarna Automower (#117098) 2024-05-13 23:00:51 +02:00
api.py Add strict typing to husqvarna automower (#115374) 2024-04-25 15:39:42 -05:00
application_credentials.py
binary_sensor.py
config_flow.py Add reauth for missing token scope in Husqvarna Automower (#117098) 2024-05-13 23:00:51 +02:00
const.py
coordinator.py Catch auth exception in husqvarna automower (#115365) 2024-05-09 16:56:26 +02:00
device_tracker.py
diagnostics.py
entity.py
icons.json
lawn_mower.py Bump aioautomower to 2024.5.0 (#116942) 2024-05-06 17:59:34 -05:00
manifest.json Bump aioautomower to 2024.5.0 (#116942) 2024-05-06 17:59:34 -05:00
number.py Bump aioautomower to 2024.5.0 (#116942) 2024-05-06 17:59:34 -05:00
select.py Bump aioautomower to 2024.5.0 (#116942) 2024-05-06 17:59:34 -05:00
sensor.py
strings.json Add reauth for missing token scope in Husqvarna Automower (#117098) 2024-05-13 23:00:51 +02:00
switch.py Bump aioautomower to 2024.5.0 (#116942) 2024-05-06 17:59:34 -05:00