Commit graph

10 commits

Author SHA1 Message Date
epenet
5724d87c40
Cleanup deprecated async_get_registry in uptimerobot (#72076) 2022-05-18 11:46:09 +02:00
Simone Chemelli
35261a9089
Add switch platform to UptimeRobot (#65394)
* Add switch platfor mto UptimeRobot

* Add tests

* Apply review comment

* review comments part 2

* review comments part 3

* Fix tests after swapping logic on/off

* Fix reauth test

* Check for read-only key

* Fix reauth for switch platform

* mypy

* cleanup

* cleanup part 2

* Fixes + review comments

* Tests

* Apply more review comments

* Required changes

* fix test

* Remove if

* 100% tests coverage

* Check readonly key in config_flow

* Fix strings & translation

* Add guard for 'monitor' keys

* allign tests

* Wrong API key message reworded
2022-03-18 12:18:19 +01:00
Joakim Sørensen
1093a2b808
Add diagnostics to UptimeRobot (#64905) 2022-01-25 14:49:27 +01:00
Joakim Sørensen
c243dca58e
Change name from Uptime Robot to UptimeRobot (#57714) 2021-10-15 00:50:09 +02:00
Joakim Sørensen
89bb95b0be
Add re-authentication to Uptime Robot (#54226)
* Add reauthentication to Uptime Robot

* Fix en strings

* format

* Fix docstring

* Remove unused patch

* Handle no existing entry

* Handle account mismatch during reauthentication

* Add test to validate reauth is triggered properly

* Test reauth after setup

* Adjust tests

* Add full context for reauth init
2021-08-08 15:41:05 +02:00
Joakim Sørensen
a4fd718e41
Fix device registry lookup in uptimerobot (#54256) 2021-08-08 11:29:32 +02:00
Joakim Sørensen
53c64e5148
Handle added and removed monitors (#54228) 2021-08-07 21:12:55 -07:00
Joakim Sørensen
4a37ff2dda
Bump pyuptimerobot to 21.8.1 (#53995)
* Bump pyuptimerobot to 21.08.0

* pylint

* bump to 21.8.1

* Uppdate strings

* Update homeassistant/components/uptimerobot/strings.json

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-05 12:13:47 +02:00
Joakim Sørensen
caf0bdd5b9
Add config flow to uptimerobot (#53938) 2021-08-04 22:20:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests (#22096)
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00