HASS Hell with monitor pwr state

I have a Samsung smart monitor, HA communicates with it fine, able to turn On and Off.

Problem - it does not turn on or off with the laptop monitor, the way that a normal monitor would.

I am trying to let HA switch the smart monitor on and off with the laptop monitor.

So far I have configured HASS on the windows laptop and all communication on HASS succeeds. It reads the Monitor Power State Sensor correctly

Where I'm stuck...
I've tried "on" and "PowerOn" as an Attribute, but it does not trigger the event. I don't think my Attribute value is correct?

  1. I don't grok your problem. At all.
  2. Show your automation YAML file.

What do you mean by HASS? Do you mean HASS Agent?

If you do mean HASS Agent, test creating Commands using MonitorSleep, MonitorSleepPowerPlan and/or MonitorWake.

Yes it’s almost certainly not correct. You probably want to leave that field blank.

Getting back to the basics:
Every entity has a state and then usually also has a number of attributes. The attributes are typically used for static data that describes the entity (like device_class and unit_of_measurement) but they can be anything, and can be updated any time just like the state can be.

Go to settings -> developer tools -> states. Search for your monitor power state entity. You will be able to see what state it currently has, and also all the attributes it currently has.

In your automation, what you likely want to trigger on is when the state changes to on and therefore you’d leave the attribute field empty and type on into the “To” field. You don’t want to trigger when a specific attribute changes.