core/tests/components/uptimerobot
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
..
__init__.py
common.py Add switch platform to UptimeRobot (#65394) 2022-03-18 12:18:19 +01:00
test_binary_sensor.py
test_config_flow.py Add switch platform to UptimeRobot (#65394) 2022-03-18 12:18:19 +01:00
test_diagnostics.py
test_init.py Add switch platform to UptimeRobot (#65394) 2022-03-18 12:18:19 +01:00
test_sensor.py
test_switch.py Add switch platform to UptimeRobot (#65394) 2022-03-18 12:18:19 +01:00