I want to map the physical power button to a script. is that possible?

I have a new Astrion HA100B. One of the physical buttons is a power button. The behavior I want is that when I press that button, the script called script.tv_on gets called – regardless of that is displayed on the touchscreen area of the remote. Can this remote do that or am I wasting my time trying to find a way to configure this? So far, I can only get the physical button to response that way is to put a ROS TV card on the screen that has the soft power button mapped to the script. THEN then physical button does it too – but if there is anything other than the ROS TV card on the screen, the physical power button does nothing. What am I missing here?

Hello, and welcome to our community!

You can add our Astrion Home integration to get started.

Integration GitHub Link: GitHub - yyqclhy/Astrion-integration · GitHub

Here’s how to install it:

  1. Go to HACS (Home Assistant Community Store).

  2. Select “Custom repositories”.

  3. Paste the GitHub link above, and select “Integration” as the repository type.

  4. Click “Download”.

  5. Go to Settings → Devices & Services (or “Devices & Integrations”).

  6. Search for “Astrion Home” and add it.

How it connects to your remote:
The Astrion Home integration needs to communicate with our remote. Typically, it will match successfully if the IP address that your remote is logged into belongs to this Home Assistant instance, and if the Token used by the remote has admin privileges.

How to use it:
Once connected, you can access the Power Button event reported by our integration. You can then use this Power Button event to create your own scripts or scenes based on your personal preferences.

That’s it! Enjoy your setup!