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>
This commit is contained in:
parent
f03b160c46
commit
d1ea38e8f0
7 changed files with 381 additions and 191 deletions
|
@ -53,7 +53,7 @@ async def async_setup_entry(
|
|||
name=monitor.friendly_name,
|
||||
device_class=DEVICE_CLASS_CONNECTIVITY,
|
||||
),
|
||||
target=monitor.url,
|
||||
monitor=monitor,
|
||||
)
|
||||
for monitor in coordinator.data
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue