custom-components / healthchecksio

Update and display the status of your healthchecks.io checks.
MIT License
52 stars 9 forks source link

Consider "grace" state as Connected #40

Closed Mincka closed 1 year ago

Mincka commented 1 year ago

Fixes #37

If the sensor polls the status during a grace period, the binary sensor will be set to off for 5 minutes. Since this component is a binary sensor, we must choose if the "grace" period is associated to "up" or "down". I think it's legitimate to stay "up" / "on" since the grace period is an uncertainty period and can give false positive triggers if the binary sensor is immediately set to "off".