Possible bug in regards to holidays?

Hi,

I have a Workday sensor setup in my config as detailed below, it works fine apart from this morning when my automations did not do ‘there Monday things’ it turns out that HA is classing today as a ‘holiday’ so it’s not a workday. In my general settings I have the correct time zone etc.

In England and Wales today is a working day while in Scotland today is a public holiday.

binary_sensor:
  - platform: workday
    name: workday_today
    country: UK
    workdays: [mon, tue, wed, thu, fri]
    excludes: [sat, sun, holiday]

Is HA picking up public holidays for all of the uk so including the Scottish ones? Is there a way that I can tell HA to only pickup English public holidays or is this a bug?

Regards
James

take a look in the docs, it specifically covers this. UK is all of the UK and England does not have a separate code.

Thanks for the reply

Regards

James

fyi this is amended now.

United Kingdom GB Subdivisions: UK (default), England, Northern Ireland, Scotland, Wales. For Isle of Man use country code IM.