epenet
aa50096a31
Add type hints to integration tests (part 24) ( #88307 )
2023-02-17 16:34:53 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
Joakim Plate
5c43f0861f
Avoid running final writes in executor in test ( #84679 )
2022-12-28 23:40:11 +01:00
Franck Nijhof
40d337479e
Use enum sensor device class in UptimeRobot ( #83111 )
2022-12-05 10:36:16 +01:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
epenet
4eb46d45ca
Cleanup deprecated async_get_registry in tests ( #72059 )
2022-05-18 13:12:38 +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
Simone Chemelli
3f12ce06af
Add detailed status for UptimeRobot ( #64879 )
...
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-26 16:48:15 +01:00
Joakim Sørensen
1093a2b808
Add diagnostics to UptimeRobot ( #64905 )
2022-01-25 14:49:27 +01:00
Joakim Sørensen
bbd179200c
Use device class enum in UptimeRobot ( #60688 )
2021-12-01 10:36:15 +01:00
Joakim Sørensen
0e0430ba36
Remove YAML import from UptimeRobot ( #57761 )
2021-10-15 12:33:10 +02:00
Joakim Sørensen
c243dca58e
Change name from Uptime Robot to UptimeRobot ( #57714 )
2021-10-15 00:50:09 +02:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02: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
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
786a83f844
Add unique_id to Uptime Robot config_flow ( #54055 )
2021-08-05 14:58:29 +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