433Mhz Sockets work from switch but not from automation

Hi

Anybody think of a reason why my 433Mhz sockets always work when I use the slide switches but dont work from automation.

They also always works from Alexa (via Hue Emu).

I know the automation runs because the slide switches move to the correct On or Off position. Also I know that data is being sent to the TX. But it may not be the correct data.

Running on a PI,

Re Dave

emulated_hue:
  type: alexa
  host_ip: your-ip
  exposed_domains:
   - script
   - switch
   - automation

switch: !include rf_switches.yaml

guess you technically need this bit too…

automation:
  - alias: 'Morning Mirror'
    trigger:
      platform: time
      after: '09:00:00'
    action:
      service: switch.turn_on
      entity_id: switch.mirror

this will turn on the switch named “switch.mirror” at 9am.
all you need is the action lines, and using the correct entity_id of your switch.