Possible to specify entity id for binary sensor workday?

I have two workday sensors.

- platform: workday
  country: SE
- platform: workday
  country: SE
  days_offset: 1 # tomorrow

These get the generated ids binary_sensor.workday_sensor & binary_sensor.workday_sensor2.

Is there any way to specify the ids myself? I´d prefer something that isn’t dependent on the order, and that’s more meaningful, for example: binary_sensor.workday_today & binary_sensor.workday_tomorrow

Yes, the platform has a “name” attribute.

  - platform: workday
    name: workday_today
    country: DE
    province: NW
  - platform: workday
    name: workday_tomorrow
    country: DE
    province: NW
    days_offset: 1

Thanks!

Somewhat confusing that it is called id (for automations) and name for platform, and the docs uses name for friendly name in several places.

It is, but I think here name is just a proposal to compute an ID of. So it‘s not guaranteed.