Prevents a false ON state for the display panel when an automatic OLED compensation cycle completes, and adds dynamic Home Assistant entity naming for LCD sets.
Fixed
- Display panel false ON on compensation completion: When an automatic OLED compensation cycle (Off-RS) finished, webOS power state transitions (such as
Standby,Prepare Suspend, orRequest Power Off) were unmapped inPOWER_STATES, causingmapPowerState's fallback to erroneously reportscreenOn: trueand turn on the display panel entity in Home Assistant. Added transitional power states toPOWER_STATES, corrected the fallback to safely default toscreenOn: falseandsystemOn: false, and added a guard inmqtt-state.jspreventingstate/screenfrom broadcastingONwhen the system is not active. (#150) - Intermediate power state handling: Supported
response.processingpayloads during power-down transitions instate.jsandtelemetry.js, and guardedscreenOnwithmapped.systemOn. (#150)
Improvements
- Dynamic entity naming: The
display_panelswitch entity is now namedDisplay Panelon non-OLED (LCD) hardware while preservingOLED Display Panelon OLED TVs. Unique IDs and entity IDs remain unchanged. (#150) - Tested TVs table ordering: Sorted the Tested TVs table in README.md by webOS version in ascending order (webOS 3.4 through 25).