Motion Detector Colors Inverted - Is this the answer? #9913
Unanswered
g2InTheDesert
asked this question in
Dashboard
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to HA and I noticed that motion detector colors are inverted (green = motion, red = safe). Others have commented on this for quite a while (see this discussion). I looked at the source and could this be an easy fix:
File frontend-dev/src/components/chart/state-history-chart-timeline.ts
Line 18 has a set variable called BINARY_SENSOR_DEVICE_CLASS_COLOR_INVERTED
It has things like door and window in the set.
Can motion simply be added to this list?
Beta Was this translation helpful? Give feedback.
All reactions