Add static color for home and not_home states (#6700)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Florian Gareis 2020-09-03 14:39:11 +02:00 committed by GitHub
parent 1997e63b7c
commit d9e8b53ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,8 @@ class StateHistoryChartTimeline extends LocalizeMixin(PolymerElement) {
const staticColors = {
on: 1,
off: 0,
home: 1,
not_home: 0,
unavailable: "#a0a0a0",
unknown: "#606060",
idle: 2,