Room Lighting App not issuing lighting command (used to work, now doesn't)

I am a big fan of the Room Lighting App to keep various rooms and indicators at the correct lighting based on the mode, but with some overrides when something specific happens.
One instance is my living room where I have the lights react to modes but can be set to turn on in one of two states on command: when my telly (TV) is on or off.
In the morning mode, the living room remains dark and the sofa lighting is coloured to indicate morning mode. When a motion sensor detects me moving, and the illumination is below a threshold and the telly is off, then the living room lights turn on to the 'Telly off' state. This involves some light strips, a dimmer and a command to my Logitech Harmony for certain bulbs it has associated (my first foray into home automation was with the Zigbee/Z-Wave extender to Harmony Hub).
Then I turn my telly on and the rule I have set up confirms the change and forces the other telly-based lighting to change the brightness on certain lights and issue the command to turn off the Harmony Hub lights (to avoid reflections on the telly screen).
Here's where it goes wrong.
Up until recently, this worked as expected.
Just recently (and I am struggling to work out what caused it - but I haven't changed the rules or Room Lighting states in a very long time) the lights will change except the Harmony Hub lights won't turn off.
So, the system is changing my living room lights based on mode correctly; the system is turning the lights on correctly when the telly is off (including telling the Harmony Hub to turn on its lights); the system is mostly setting the correct lighting when the telly turns on but is failing to command the Harmony Hub to turn off its lights.
You can see a log below...
In yellow is the system seeing me enter the room in the morning with the room dim. It correctly sets the Room Lighting for the 'Telly Off' state and you can see the blue debug Harmony Automation to command lights on.
In orange, I turn on the telly and the system detects it, turning on the Harmony command to turn off the lights (that's the way Harmony works- you have to send commands to turn on alternate states, not turn off) but the actual command as a blue debug line does not appear.
In green, I open my laptop and log in to HE and run the rule for when the telly turns on. This not only sends the request but the matching blue debug line appears above it to show the command is issued. Indeed, the lighting now responds as I want.
I have circled in red two extra Harmony automation commands that I do not expect to see (they are not commanded anywhere).
So, to sum up my issue...
My HE correctly commands my Harmony Hub through the Devices, the Rules, and the Room Lighting app but fails to issue one command in one instance, requiring me to either flip a switch to force the state I want or log in to HE and manually run the rule to set the state.
It all used to work fine and there have been no updates to the Harmony drivers I installed (that I am aware of).
Is there something else going on?
Screenshots...

The Rule:

The Room Lighting conditions (including the overridden Morning mode):

The Room Lighting Settings for the Telly modes:

The Event Log marked up as described:

Continuing to experiment, I turned off the "Command devices on-off irrespective of reported state (Force)" and cannot see any difference the logs, which are the same as before. I even tried this across other Room Lighting automations and it seems to do nothing in my case.
However, "Activate even if already partially Activated" does have an effect whereby I need to manually run the room lighting automation when it fails to update several devices when required.
I will leave that off for my "Living Room Lights (modes & telly state)" automation to see if it has an effect with the Harmony (even if it does 'break' other devices).

Turning off "Activate even if already partially Activated" was not the thing to do.
None of the devices in the room responded, so that option has to remain selected.
However, I did remove the Harmony switches from the Room Lighting room and toggle them as part of the Rule Machine rule that activates the Room Lighting. In that case, I got the same behaviour as first described.
This indicates the problem is more to do with the Harmony Driver or with the Harmony Hub.

It's quite odd. The Harmony lights are supposed to turn off when I turn on my telly (to stop screen reflections) and when I turn off the living room lights. They respond to the latter instance but not the former, despite them both using precisely the same commands.

To that extent, I'll have to close this thread due to the incorrect title and enable some other logging to see if I can find out where to raise this topic for better traction.

1 Like

So anyone can follow along, I set up a new topic in - what I hope will be - a more relevant location...
Logitech Harmony Hub (and Extender) failing to control device in very specific circumstance - :gear: Custom Apps and Drivers - Hubitat