You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a9e1f17
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ui): v2.10.1 — Stop Charging toggle turns red when ON, not green
On this dashboard green reads as "charging", so the new Stop Charging toggle
(#55) lighting up green while meaning the opposite undercut the point of the
control. The toggle's active accent is now the CSS variable
`--evsc-toggle-on` (declared on .control-toggle, default system green) and is
consumed by .control-toggle.is-on (border / background tint / halo) and
.switch-shell.is-on (the iOS pill). One rule,
`.control-toggle.tone-red { --evsc-toggle-on: var(--evsc-sys-red); }`, flips
the whole ON treatment to system red for that single toggle. The pill keeps a
green fallback so shells rendered outside a .control-toggle are untouched.
Verified in the preview harness in light and dark: ON card / border / halo
tinted red with the pill at #ff3b30, while Force Charging, Boost and every
other toggle keep #34c759 byte-for-byte.
Frontend-only. No schema / entity / config-flow change, counts unchanged (72/58).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
7
7
This is a **Home Assistant custom integration** for intelligent EV charging control. It manages EV charger automation based on solar production, time of day, battery levels, grid import protection, and intelligent priority balancing between EV and home battery charging.
8
8
9
9
**Domain:**`ev_smart_charger`
10
-
**Current Version:** 2.10.0
10
+
**Current Version:** 2.10.1
11
11
**Installation:** HACS custom repository or manual installation to `custom_components/ev_smart_charger`
0 commit comments