Add edge-lighting and indicator-light support for TP1X_DA-AC-CAC-01001 (issue #288)
Six System A/C cassette units on the same board test_airconditioner_cac.py already documented as having an incomplete coverage gap gave real dump evidence for two of its remaining unbound hrefs: - /edgelighting/vs/0: an accent-light strip with on/off, a Smart/High/Low mode, and a Kelvin color-temperature select (3000K/4000K/6500K), all read from the device's own live supported-value lists. - /light/stateful/vs/0: a second, distinct light resource with its own on/off and Smart/Low/High mode -- not to be confused with EDGE_LIGHTING or DISPLAY_LIGHT's ambient mood light. convenientMode/operatingOption on /edgelighting/vs/0 stay unexposed: present on every dump but no evidence of what either actually controls. Only three hrefs remain in test_airconditioner_cac.py's documented gap now (absence-clean, sound-optimization, smart-sensing-cooling).
This commit is contained in:
11 files changed
+191
-12
No files matched your search
@@ -17,11 +17,16 @@
|
||||
"climate",
|
||||
"current_temperature_c",
|
||||
"dust",
|
||||
"edge_lighting",
|
||||
"edge_lighting_color",
|
||||
"edge_lighting_mode",
|
||||
"energy_kwh",
|
||||
"energy_saved_kwh",
|
||||
"fine_dust",
|
||||
"firmware_update",
|
||||
"humidity",
|
||||
"indicator_light",
|
||||
"indicator_light_mode",
|
||||
"motion_detect_wind_active",
|
||||
"motion_detect_wind_mode",
|
||||
"mute_once",
|
||||
|
||||
@@ -6,12 +6,11 @@ token -- this board was the one exception (its oneUiVersion self-reports
|
||||
"7.0 Air conditioner", but 'CAC' had never been added to the board-token
|
||||
table), so it silently fell back to common caps and lost its climate entity.
|
||||
|
||||
This dump is NOT fully covered yet -- five hrefs remain unbound (edge
|
||||
lighting, a second stateful light resource, absence-clean,
|
||||
`/settings/sound/optimization/vs/0`, smart-sensing-cooling), all genuinely
|
||||
new to this board generation. That's a real device-support gap, left
|
||||
documented here rather than guessed at, per the 'don't guess' rule --
|
||||
fixing the routing regression was the scope of #191.
|
||||
This dump is NOT fully covered yet -- three hrefs remain unbound
|
||||
(absence-clean, `/settings/sound/optimization/vs/0`, smart-sensing-cooling),
|
||||
all genuinely new to this board generation. That's a real device-support
|
||||
gap, left documented here rather than guessed at, per the 'don't guess'
|
||||
rule -- fixing the routing regression was the scope of #191.
|
||||
|
||||
/settings/sound/mode/vs/0, /settings/sound/output/vs/0 and
|
||||
/settings/sound/volume/vs/0 used to be on this list too, until issue #319
|
||||
@@ -19,6 +18,11 @@ fixing the routing regression was the scope of #191.
|
||||
airconditioner.SOUND_MODE and the reused air_purifier.SOUND_OUTPUT/
|
||||
SOUND_VOLUME now cover all three here as well.
|
||||
|
||||
/edgelighting/vs/0 and /light/stateful/vs/0 used to be on this list too,
|
||||
until issue #288 (six System A/C cassette units on this same board) gave
|
||||
real dump evidence for both -- airconditioner.EDGE_LIGHTING and
|
||||
LIGHT_STATEFUL now cover them.
|
||||
|
||||
/uvled/vs/0 and /filter/airdustPM1filter/vs/0 used to be on this list too,
|
||||
until issue #270 (TP1X_FAC_TIME_23K) added real capabilities for both --
|
||||
this board's own live filterUsage/filterStatus data on the PM1 filter binds
|
||||
@@ -33,8 +37,6 @@ from tests.conftest import _load_device
|
||||
|
||||
_STILL_UNBOUND = frozenset(
|
||||
{
|
||||
"/edgelighting/vs/0",
|
||||
"/light/stateful/vs/0",
|
||||
"/mds/absenceclean/vs/0",
|
||||
"/settings/sound/optimization/vs/0",
|
||||
"/smartsensingcooling/vs/0",
|
||||
|
||||
@@ -1173,10 +1173,10 @@ def test_registry_reproduces_golden_state_keys_for_airconditioner_cac():
|
||||
0.16.0 when oneUiVersion detection was dropped, since 'CAC' had never
|
||||
been added to the modelNum board-token table. Resolved via the new 'CAC'
|
||||
token onto the existing airconditioner registry. Not fully covered yet --
|
||||
five hrefs remain unbound (edge lighting, stateful light, absence-clean,
|
||||
sound-optimization, smart-sensing-cooling), all genuinely new to this
|
||||
board generation and out of scope for the routing fix; see
|
||||
test_airconditioner_cac.py for the documented gap."""
|
||||
three hrefs remain unbound (absence-clean, sound-optimization,
|
||||
smart-sensing-cooling), all genuinely new to this board generation and
|
||||
out of scope for the routing fix; see test_airconditioner_cac.py for
|
||||
the documented gap."""
|
||||
from tests.conftest import _load_device
|
||||
|
||||
resources = _load_device("airconditioner_cac")
|
||||
|
||||
Reference in new issue
Block a user