dylandoamaral / uptime-card

Minimalistic uptime card for Home Assistant Lovelace UI
266 stars 11 forks source link

Option to define values that are considered as OK #123

Closed Jeetah closed 2 years ago

Jeetah commented 2 years ago

I have an uptime card based on a sensor that has values: on, off, unknown I can map: OK: on KO: off But "unknown" is considered as KO. So it makes sense to offer another option to define values, that should be additionally considered as OK/KO. Or if easier: An option to consider all other values as OK or KO.

dylandoamaral commented 2 years ago

I advice you to lookt at https://github.com/dylandoamaral/uptime-card#ok-and-ko-options. It should works either you specify the ko or the ok parameter.