Switches in automation and groups

Hi! This is my first post here and i really like Home-assistant.
I have a question about switch in automation, i use a Broadlink to turn on and off a lamp in automation with time but suddenly the switch_on and switch_off stopped to working, when i changed to homeassistant_on and off it started to working again. Have this Something to do do with some updates ore why dit it suddenly stopped to working? Thank you all how have made this home-assistant! :slightly_smiling_face:

It would be helpful if you could post your complete automation. What exactly do you mean by “I use a broadlink”? What kind of switches do you use? Cheers, Markus

Sorry for my late reply, been little busy. I use Broadlink rm pro to control the lights in automation, here is my configurations.
switch:
- platform: broadlink
host: 192.168.1.87
mac: ‘my mac adress’
timeout: 30
friendly_name: “Pro1”
type: rm
switches:
garage_light:
friendly_name: “Garage light”
command_on: ‘exM0AAsgDB8MHwwfIQoMAAFEIQoMHyELIQogCwwfIAshCgwgDCAgCwsfDB8MHyEKDCALHyEKDB8AAAAA’
command_off: ‘ezs0ACEKIQshCgwfIQsgCwwfDB8gCwwgDB8MHyEKDB8MHyEKDB8MIAwfDCAgCgwfDAABRCELCyAAAAAA’

Automation

  • id: light_on_at_morning
    alias: Light on at morning
    hide_entity: false
    initial_state: ‘true’
    trigger:

    • platform: time
      at: ‘07:15:00’
      condition:
    • condition: time
      weekday:
      • mon
      • tue
      • wed
      • thu
      • fri
        action:
        service: homeassistant.turn_on
        entity_id:
    • group.garage
  • id: light_off_at_morning
    alias: Light off at morning
    hide_entity: false
    initial_state: ‘true’
    trigger:

    • platform: time
      at: ‘08:15:00’
      condition:
    • condition: time
      weekday:
      • mon
      • tue
      • wed
      • thu
      • fri
        action:
        service: homeassistant.turn_off
        entity_id:
    • group.garage
      Groups
      default_view:
      name: Froms
      view: yes
      entities:
    • group.garage
      garage:
      name: Garage
      view: true
      entities:
    • switch.garage_light

But i couldn´t get switch_on switch_off to work suddenly, only homeassistant_on and off but i´m glad that is working with something :grinning: