Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Countries and Regions #1657

Closed
martinkeat opened this issue May 17, 2024 · 1 comment
Closed

Incorrect Countries and Regions #1657

martinkeat opened this issue May 17, 2024 · 1 comment

Comments

@martinkeat
Copy link

martinkeat commented May 17, 2024

Could you kindly correct the countries and regions of the UK in the UI please. .

At the moment you have the "United Kingdom of Great Britain" listed as a country, and Scotland, England, Wales and Northern Ireland listed as regions.

The UK is not a country, it is a political and economic union of constituent countries.

You should have 4 countries listed as England, Scotland, Wales and Northern Ireland and the regions listed within them (which we refer to as burghs or regions.

The proper list of the countries and regions are below.

Cheers

Scotland

scotland_regions = [
"Aberdeen City",
"Aberdeenshire",
"Angus",
"Argyll and Bute",
"Clackmannanshire",
"Dumfries and Galloway",
"Dundee City",
"East Ayrshire",
"East Dunbartonshire",
"East Lothian",
"East Renfrewshire",
"Edinburgh (City of)",
"Falkirk",
"Fife",
"Glasgow City",
"Highland",
"Inverclyde",
"Midlothian",
"Moray",
"Na h-Eileanan Siar",
"North Ayrshire",
"North Lanarkshire",
"Orkney Islands",
"Perth and Kinross",
"Renfrewshire",
"Scottish Borders",
"Shetland Islands",
"South Ayrshire",
"South Lanarkshire",
"Stirling",
"West Dunbartonshire",
"West Lothian"
]

England

england_regions = [
"East Midlands",
"East of England",
"London",
"North East",
"North West",
"South East",
"South West",
"West Midlands",
"Yorkshire and the Humber"
]

Wales

wales_regions = [
"Anglesey",
"Blaenau Gwent",
"Bridgend",
"Caerphilly",
"Cardiff",
"Carmarthenshire",
"Ceredigion",
"Conwy",
"Denbighshire",
"Flintshire",
"Gwynedd",
"Merthyr Tydfil",
"Monmouthshire",
"Neath Port Talbot",
"Newport",
"Pembrokeshire",
"Powys",
"Rhondda Cynon Taff",
"Swansea",
"Torfaen",
"Vale of Glamorgan",
"Wrexham"
]

Northern Ireland

northern_ireland_regions = [
"Antrim and Newtownabbey",
"Ards and North Down",
"Armagh City, Banbridge and Craigavon",
"Belfast",
"Causeway Coast and Glens",
"Derry and Strabane",
"Fermanagh and Omagh",
"Lisburn and Castlereagh",
"Mid and East Antrim",
"Mid Ulster",
"Newry, Mourne and Down"
]

@kaikreuzer
Copy link
Member

The UK is not a country

Well, I do not want to start any political discussions, but as long as the Commonwealth and Wikipedia state that UK is a country, I do not see much need to see it differently.

Anyhow, openHAB does not define those things. We are using the standard mechanisms of Java, which uses the definitions of ISO- 3166 underneath afaik - so this is where you would have to address your concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants