Add configuration_url to Uptime Robot (#57709)

pull/57736/head
Joakim Sørensen 2021-10-15 00:31:46 +02:00 committed by GitHub
parent abf6720cd3
commit cc6030cff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class UptimeRobotEntity(CoordinatorEntity):
"manufacturer": "Uptime Robot Team",
"entry_type": "service",
"model": self.monitor.type.name,
"configuration_url": f"https://uptimerobot.com/dashboard#{self.monitor.id}",
}
self._attr_extra_state_attributes = {
ATTR_TARGET: self.monitor.url,