Commit graph

13 commits

Author SHA1 Message Date
Marc Mueller
add741d789
Update coordinator typing (6) [t-v] (#68466) 2022-03-21 14:20:35 +01: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
Ville Skyttä
053c456199
Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-22 18:14:15 +01:00
epenet
f6ffae9e10
Use DeviceInfo on components with configuration_url (#58223)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 17:40:13 +02:00
Joakim Sørensen
c243dca58e
Change name from Uptime Robot to UptimeRobot (#57714) 2021-10-15 00:50:09 +02:00
Joakim Sørensen
cc6030cff2
Add configuration_url to Uptime Robot (#57709) 2021-10-14 15:31:46 -07:00
Franck Nijhof
1a68784852
Migrate attribution attribute for UptimeRobot (#57508) 2021-10-11 20:40:21 -07:00
Joakim Sørensen
2f5c3c08ef
Use monitor name for uptimerobot device registry (#54456) 2021-08-11 11:27:41 +02:00
Joakim Sørensen
d1ea38e8f0
Add 100% test coverage for Uptime Robot (#54314)
* Add 100% test coverage for Uptime Robot

* Update tests/components/uptimerobot/test_binary_sensor.py

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

* Add more typehints

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-10 16:29:51 +02:00
Joakim Sørensen
3da61b77a9
Remove monitor checks in Uptime Robot entities (#54259) 2021-08-08 12:26:14 +02:00
Joakim Sørensen
a485b14293
Set entities as unavailable if last update was not successful (#54229) 2021-08-07 20:22:19 +02: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