feat: value source card crosslinks + gradient_map test shows input value
Lint & Test / test (push) Successful in 1m23s

Add navigateToCard crosslinks for ha_entity (→ HA source), gradient_map
(→ input value source + gradient entity), and css_extract (→ color strip).
Gradient map test now charts the input interpolation factor instead of
output luminance, making the 0–1 chart meaningful.
This commit is contained in:
2026-03-30 03:23:05 +03:00
parent f6c25cd15f
commit 4b7a8d75f4
4 changed files with 34 additions and 8 deletions
@@ -397,6 +397,8 @@ async def test_value_source_ws(
msg["color"] = [int(r), int(g), int(b)]
except NotImplementedError:
pass
if hasattr(stream, "get_input_value"):
msg["input_value"] = round(stream.get_input_value(), 4)
if hasattr(stream, "get_raw_value"):
raw = stream.get_raw_value()
if raw is not None: