Single power button instead of switch, double off (projector)
Hi all,

I apologise in advance if i'm posting this as an issue incorrectly, but was wondering if it is possible to not have a toggle and just have a single power button as opposed to a switch with off functionality only, sending the command twice (as my projector require pressing off twice).

Currently my projector is successfully switched on using CEC, but doesn't switch off, so in order to get around this i got a Broadlink RM4pro. I've got the code below working, but am more interested in an off only power option as CEC will turn the projector on.

{
    "platform": "BroadlinkRM",
    "name": "BroadlinkRM",
    "hideScanFrequencyButton": true,
    "hideLearnButton": true,
    "hideWelcomeMessage": false,
    "accessories": [
        {
            "name": "Projector On/Off",
            "type": "switch-repeat",
            "host": "192.168.1.108",
            "sendCount": 1,
            "offSendCount": 2,
            "interval": 1,
            "disableAutomaticOff": true,
            "data": {
                "on": "260090000001269313121313131213121312131213121411141113131312141113371436141114121337133713371337131313121436131213121411131213131238133713121337130005e3000127941312131213121313121313121312131213121312131213131238133713121312133713381337133713121312133814111312131213121312133713381312133713000d05000000000000",
                "off": "260090000001279314111411141114111411141114121411141114111411141114361437141114111411143614361436151114111436141114361411141214111436143614111436140005e3000127931411141114111411151114111411141114111411141114121436143614111411141114361536143614111411143614111536141114111411143614361511143614000d05000000000000"
            }
        }
    ]
}

Any help in the right direction will be much appreciated.

Regards,

Kristopher