meichthys / uptime_kuma

Uptime Kuma HACS integration
110 stars 23 forks source link

Sensors are getting down even in pending state #6

Closed dibyadip-das closed 2 years ago

dibyadip-das commented 2 years ago

Sensors should not be down during the pending state i.e. when retries are in progress. Only after the retires are completed, once the sensor in Uptime Kuma is declared as down should the HA sensor be down too.

meichthys commented 2 years ago

@jayakornk Could you also take a look at this if/when you get a chance?

jayakornk commented 2 years ago

Sensors should not be down during the pending state i.e. when retries are in progress. Only after the retires are completed, once the sensor in Uptime Kuma is declared as down should the HA sensor be down too.

Which monitor type is this?

jayakornk commented 2 years ago

I have to reproduce this, but it might be a limitation because we use endpoint /metrics to get status of each monitor and it seems to report status as 0 or 1. As shown here.

image
jayakornk commented 2 years ago

Wait for https://github.com/meichthys/uptime_kuma/pull/9 to merge and create new release (Integration v1.2.1)

meichthys commented 2 years ago

Merged and released in v1.2.0 👍