Missing POWER_ON or POWER_OFF ir codes if you want to operate a device from the overview page

If you have a switch, for example, there are at least two ways to operate it. If I click on the name, a page with a ‘large switch’ opens, which I then have to tap again. It’s quicker if you tap on the switch icon on the overview page.

It’s similar with remote controls.

I have an overview page with several remote controls on it. If you click on the name, the page of the respective remote control opens. When I click on the icon, the device should actually be switched on or off. However, I get an error message saying that there are no POWER_ON or POWER_OFF IR codes, but this is not the case.

Have I overlooked something here?