home-assistant / home-assistant/core
Philips TV permanently reported as off after screenstate fallback fix
- Dominant language
- Python
- Stars
- 90.5k
- Forks
- 38.6k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 597
Description
### The problem
Description
This appears to be a regression related to #177542 and the fix introduced in #178004.
On my Philips 75MLED910/12, Home Assistant previously reported the TV as permanently on. Since updating to Home Assistant 2026.9.x, it is now permanently reported as off, even while the TV is powered on and displaying content.
Device
- TV: Philips 75MLED910/12
- Platform: TPN258E
- JointSPACE API: 6.1
- Home Assistant Core: 2026.9.2
- ha-philipsjs: 3.2.5
Diagnostics
I collected two diagnostic files from the same TV and Home Assistant installation:
- one while the TV was OFF / in standby
- one while the TV was definitely ON and displaying content
The relevant values are identical in both states:
| TV OFF | TV ON
-- | -- | --
powerstate | null | null
screenstate | "Off" | "Off"
on | true | true
Therefore, on this model screenstate does not reflect the actual TV state and cannot reliably be used as a fallback when powerstate is unavailable.
This causes the condition introduced in #178004 (powerstate is None and screenstate == "Off") to classify the TV as off in both states.
The resulting entities are:
media_player: permanentlyoff- screen switch: permanently
off - remote entity: permanently
on - Ambilight entity: works and can be controlled normally
I have attached both diagnostic files for comparison. The only meaningful differences I could find between them are the current activity (context.level1) and the Ambilight configuration; the power-related values above do not change.
Please let me know if additional debug logging or API responses from the TV would be useful.
### What version of Home Assistant Core has the issue?
core-2026.9.2
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Philips TV
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/philips_js/
### Diagnostics information
[Philips_TV-ON.json](https://github.com/user-attachments/files/32139846/Philips_TV-ON.json)
[Philips_tv-OFF.json](https://github.com/user-attachments/files/32139847/Philips_tv-OFF.json)
### Example YAML snippet
```yaml
```
### Anything in the logs that might be useful for us?
```txt
```
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.