Turning of a group or single item

If I create a group of 5 bulbs in Home Assistant and use an automation to turn off the group or control each bulb individually, what happens if one of the bulbs is unavailable or offline?

  • Will the automation stop if it encounters an offline bulb in the group, preventing the other bulbs from turning off?
  • If I turn off each bulb individually in the automation, will it skip the unavailable bulb and proceed with the others, or will it stop entirely when it encounters an error?