Edit the-saloon.yaml
This commit is contained in:
parent
dfb655a517
commit
ef83ebcd46
@ -205,7 +205,7 @@ interval:
|
||||
bool reachable = st["reachable"] | false;
|
||||
bool lit = on && reachable;
|
||||
if (lit) count++;
|
||||
s += lit ? "\u25CF" : "\u25CB";
|
||||
s += lit ? "\u25CF " : "\u25CB ";
|
||||
}
|
||||
id(lights_on_count).publish_state(count);
|
||||
id(lights_str).publish_state(s);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user