openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
224 stars 242 forks source link

OH4.0.1: "Equipment" is missing in Semantic Class #2003

Closed EngiNearEngiFar closed 1 year ago

EngiNearEngiFar commented 1 year ago

The problem

In OH4.0.1 the "Equipment" as default Semantic Class is completely missing. When adding a new Equipment in the Model view the default Semantic Class is "Apartment" which is a "location", which is wrong.

Expected behavior

Equipment Semantic Class should exist, like it is in OH 3.4.4. See printscreen on the right, compared to OH4.0.1 on the left. image

Steps to reproduce

  1. Open Semantic Model and "Add Equipment". There is no "Equipment" as Semantic Class shown.

Your environment

runtimeInfo:
  version: 4.0.1
  buildString: Release Build
locale: de-DE
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 17.0.8
  javaVendor: Private Build
  osName: Linux
  osVersion: 6.1.11-meson64
  osArchitecture: aarch64
  availableProcessors: 4
  freeMemory: 239029432
  totalMemory: 717225984
  startLevel: 70

Additional information

https://community.openhab.org/t/oh4-semantic-model-create-equipment-from-thing-adds-equipment-tag/148299/2?u=tuny

lolodomo commented 1 year ago

When adding a new Equipment in the Model view the default Semantic Class is "Apartment" which is a "location", which is wrong.

Correct and same thing when creating a Point. For an equiment, when you open the pop-up, you can scroll and find the list of equipment tags. Apparently, all locations, equipments and points are inside the pop-up while we could expect only a subset (locations for a locations, equipments for an equipment, ...). I agree that having Apartment (in fact the first tag) as default even for an equipment or a point does not make really sense.

Regarding the fact to have or not the "root" tags (Location, Equipment and Point) as options, I am not really sure. Was it really available in the pop-up in 3.4 ? What is the purpose of choosing the root tag ?

EngiNearEngiFar commented 1 year ago

Was it really available in the pop-up in 3.4 ? What is the purpose of choosing the root tag ?

Yes it was. And I think it makes sense, having the possibility to just give just the semantic tag without being more precise. Coming from OH 3.4 you have not been able to add specific semantic tags. So in my system I have more than one device that only has the "Equipment" tag.

lolodomo commented 1 year ago

Ok, I understand.

Let's wait for @openhab/webui-maintainers analysis.

ghys commented 1 year ago

Yes, the generic tag Location, Equipment, and Point were valid tags (in fact they were the default when creating new model items, you could specialize by using another tag if you found one suitable in the ontology). They shouldn't have been removed. This is likely a consequence of allowing it to be modified and using the API to retrieve the list of semantic tags.

lolodomo commented 1 year ago

This is likely a consequence of allowing it to be modified and using the API to retrieve the list of semantic tags.

Yes, certainly due to the use of the REST API to retrieve the list of semantic tags.

lolodomo commented 1 year ago

Would be cool to have e fix for 4.0.2.

florian-h05 commented 1 year ago

I would propose to add those tags to openHAB core and not manipulate the API response inside Main UI. Do you agree? @ghys @lolodomo

lolodomo commented 1 year ago

Normally, it is already part of the API response. I will check that when back at home.

lolodomo commented 1 year ago

Using the REST API, I can confirm that Equipment is returned, it is even the first element: Location and Point are also there.

[
  {
    "uid": "Equipment",
    "name": "Equipment",
    "label": "",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Equipment_AlarmSystem",
    "name": "AlarmSystem",
    "label": "Système d'Alarme",
    "description": "",
    "synonyms": [
      "Systèmes d'Alarmes"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Battery",
    "name": "Battery",
    "label": "Batterie",
    "description": "",
    "synonyms": [
      "Batteries"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Blinds",
    "name": "Blinds",
    "label": "Stores",
    "description": "",
    "synonyms": [
      "Volet roulant",
      "Volets roulants",
      "Volet roulant",
      "Volets roulant",
      "Volet",
      "Volets"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Boiler",
    "name": "Boiler",
    "label": "Chaudière",
    "description": "",
    "synonyms": [
      "Chaudières"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Camera",
    "name": "Camera",
    "label": "Caméra",
    "description": "",
    "synonyms": [
      "Caméras"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Car",
    "name": "Car",
    "label": "Voiture",
    "description": "",
    "synonyms": [
      "Voitures"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_CleaningRobot",
    "name": "CleaningRobot",
    "label": "Robot de nettoyage",
    "description": "",
    "synonyms": [
      "Robos de nettoyage",
      "Robot aspirateur",
      "Robots aspirateur"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door",
    "name": "Door",
    "label": "Porte",
    "description": "",
    "synonyms": [
      "Portes"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door_BackDoor",
    "name": "BackDoor",
    "label": "Porte arrière",
    "description": "",
    "synonyms": [
      "Portes arrières"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door_CellarDoor",
    "name": "CellarDoor",
    "label": "Porte de la cave",
    "description": "",
    "synonyms": [
      "Portes de la cave"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door_FrontDoor",
    "name": "FrontDoor",
    "label": "Porte d'entrée",
    "description": "",
    "synonyms": [
      "Portes d'entrée",
      "Porte d'entrée",
      "Portes d'entrée"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door_GarageDoor",
    "name": "GarageDoor",
    "label": "Porte de Garage",
    "description": "",
    "synonyms": [
      "Portes de Garage"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door_Gate",
    "name": "Gate",
    "label": "Portail",
    "description": "",
    "synonyms": [
      "Portails"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door_InnerDoor",
    "name": "InnerDoor",
    "label": "Porte Intérieure",
    "description": "",
    "synonyms": [
      "Portes Intérieures"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Door_SideDoor",
    "name": "SideDoor",
    "label": "Portes latérales",
    "description": "",
    "synonyms": [
      "Portes latérales"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Doorbell",
    "name": "Doorbell",
    "label": "Sonnette",
    "description": "",
    "synonyms": [
      "Sonnettes"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Fan",
    "name": "Fan",
    "label": "Ventilateur",
    "description": "",
    "synonyms": [
      "Ventilateurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Fan_CeilingFan",
    "name": "CeilingFan",
    "label": "Ventilateur de Plafond",
    "description": "",
    "synonyms": [
      "Ventilateurs de Plafonds"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Fan_KitchenHood",
    "name": "KitchenHood",
    "label": "Hotte Aspirante",
    "description": "",
    "synonyms": [
      "Hottes Aspirantes"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_HVAC",
    "name": "HVAC",
    "label": "HVAC",
    "description": "",
    "synonyms": [
      "Chauffage",
      "Ventilation",
      "Climatisation",
      "A/C",
      "A/Cs",
      "AC"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Inverter",
    "name": "Inverter",
    "label": "Onduleur",
    "description": "",
    "synonyms": [
      "Onduleurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_LawnMower",
    "name": "LawnMower",
    "label": "Tondeuse à gazon",
    "description": "",
    "synonyms": [
      "Tondeuses à gazon"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Lightbulb",
    "name": "Lightbulb",
    "label": "Ampoule",
    "description": "",
    "synonyms": [
      "Ampoules",
      "Ampoule",
      "Ampoules",
      "Lampe",
      "Lampes",
      "Lumière",
      "Éclairage"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Lightbulb_LightStripe",
    "name": "LightStripe",
    "label": "Bande Lumineuse",
    "description": "",
    "synonyms": [
      "Bandes Lumineuses"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Lock",
    "name": "Lock",
    "label": "Verrou",
    "description": "",
    "synonyms": [
      "Verrous"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_NetworkAppliance",
    "name": "NetworkAppliance",
    "label": "Appareil réseau",
    "description": "",
    "synonyms": [
      "Appareils réseau"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_PowerOutlet",
    "name": "PowerOutlet",
    "label": "Prise",
    "description": "",
    "synonyms": [
      "Prises",
      "Prise de courant",
      "Prises de courant"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Projector",
    "name": "Projector",
    "label": "Projecteur",
    "description": "",
    "synonyms": [
      "Projecteurs",
      "Projecteur",
      "Projecteurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Pump",
    "name": "Pump",
    "label": "Pompe",
    "description": "",
    "synonyms": [
      "Pompes"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_RadiatorControl",
    "name": "RadiatorControl",
    "label": "Contrôle du Radiateur",
    "description": "",
    "synonyms": [
      "Contrôles du Radiateur",
      "Radiateurs",
      "Radiateurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Receiver",
    "name": "Receiver",
    "label": "Récepteur",
    "description": "",
    "synonyms": [
      "Récepteurs",
      "Récepteur audio",
      "Récepteurs",
      "Récepteur AV",
      "Récepteurs AV"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_RemoteControl",
    "name": "RemoteControl",
    "label": "Télécommande",
    "description": "",
    "synonyms": [
      "Télécommandes"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Screen",
    "name": "Screen",
    "label": "Écran",
    "description": "",
    "synonyms": [
      "Écrans"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Screen_Television",
    "name": "Television",
    "label": "Télévision",
    "description": "",
    "synonyms": [
      "Télévisions",
      "TV",
      "TVs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Sensor",
    "name": "Sensor",
    "label": "Capteur",
    "description": "",
    "synonyms": [
      "Capteurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Sensor_MotionDetector",
    "name": "MotionDetector",
    "label": "Détecteur de Mouvements",
    "description": "",
    "synonyms": [
      "Détecteurs de Mouvements",
      "Capteur de Mouvements",
      "Capteurs de Mouvements"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Sensor_SmokeDetector",
    "name": "SmokeDetector",
    "label": "Détecteur de Fumée",
    "description": "",
    "synonyms": [
      "Détecteurs de Fumées"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Siren",
    "name": "Siren",
    "label": "Sirène",
    "description": "",
    "synonyms": [
      "Sirènes"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Smartphone",
    "name": "Smartphone",
    "label": "Smartphone",
    "description": "",
    "synonyms": [
      "Smartphones",
      "Téléphone",
      "Téléphones"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Speaker",
    "name": "Speaker",
    "label": "Haut-parleur",
    "description": "",
    "synonyms": [
      "Haut-parleurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Valve",
    "name": "Valve",
    "label": "Tête Thermostatique",
    "description": "",
    "synonyms": [
      "Têtes Thermostatiques"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_VoiceAssistant",
    "name": "VoiceAssistant",
    "label": "Assistant vocal",
    "description": "",
    "synonyms": [
      "Assistants vocaux"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WallSwitch",
    "name": "WallSwitch",
    "label": "Interrupteur mural",
    "description": "",
    "synonyms": [
      "Interrupteurs muraux"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WebService",
    "name": "WebService",
    "label": "Service Web",
    "description": "",
    "synonyms": [
      "Services Web"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WebService_WeatherService",
    "name": "WeatherService",
    "label": "Service Météo",
    "description": "",
    "synonyms": [
      "Services Météo"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WhiteGood",
    "name": "WhiteGood",
    "label": "Électroménager",
    "description": "",
    "synonyms": [
      "Électroménagers"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WhiteGood_Dishwasher",
    "name": "Dishwasher",
    "label": "Lave-Vaisselle",
    "description": "",
    "synonyms": [
      "Laves-Vaisselle"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WhiteGood_Dryer",
    "name": "Dryer",
    "label": "Sèche-linge",
    "description": "",
    "synonyms": [
      "Sèche-linges"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WhiteGood_Freezer",
    "name": "Freezer",
    "label": "Congélateur",
    "description": "",
    "synonyms": [
      "Congélateurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WhiteGood_Oven",
    "name": "Oven",
    "label": "Four",
    "description": "",
    "synonyms": [
      "Fours"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WhiteGood_Refrigerator",
    "name": "Refrigerator",
    "label": "Réfrigérateur",
    "description": "",
    "synonyms": [
      "Réfrigérateurs"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_WhiteGood_WashingMachine",
    "name": "WashingMachine",
    "label": "Machine à Laver",
    "description": "",
    "synonyms": [
      "Machines à Laver"
    ],
    "editable": false
  },
  {
    "uid": "Equipment_Window",
    "name": "Window",
    "label": "Fenêtre",
    "description": "",
    "synonyms": [
      "Fenêtres"
    ],
    "editable": false
  },
  {
    "uid": "Location",
    "name": "Location",
    "label": "",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Location_Indoor",
    "name": "Indoor",
    "label": "Intérieur",
    "description": "Anything that is inside a closed building",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Apartment",
    "name": "Apartment",
    "label": "Appartement",
    "description": "",
    "synonyms": [
      "Appartements"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Building",
    "name": "Building",
    "label": "Bâtiment",
    "description": "",
    "synonyms": [
      "Bâtiments"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Building_Garage",
    "name": "Garage",
    "label": "Garage",
    "description": "",
    "synonyms": [
      "Garages"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Building_House",
    "name": "House",
    "label": "Maison",
    "description": "",
    "synonyms": [
      "Maisons"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Building_Shed",
    "name": "Shed",
    "label": "Remise",
    "description": "",
    "synonyms": [
      "Remises"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Building_SummerHouse",
    "name": "SummerHouse",
    "label": "Maison d'été",
    "description": "",
    "synonyms": [
      "Maisons d'été",
      "Résidence Secondaire",
      "Résidences Secondaires"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Corridor",
    "name": "Corridor",
    "label": "Couloir",
    "description": "",
    "synonyms": [
      "Couloirs",
      "Couloir",
      "Couloirs"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Floor",
    "name": "Floor",
    "label": "Sol",
    "description": "",
    "synonyms": [
      "Sols"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Floor_Attic",
    "name": "Attic",
    "label": "Grenier",
    "description": "",
    "synonyms": [
      "Greniers"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Floor_Basement",
    "name": "Basement",
    "label": "Sous-sol",
    "description": "",
    "synonyms": [
      "Sous-sols"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Floor_FirstFloor",
    "name": "FirstFloor",
    "label": "Premier étage",
    "description": "",
    "synonyms": [
      "1er étage",
      "à l'étage supérieur"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Floor_GroundFloor",
    "name": "GroundFloor",
    "label": "Rez-de-chaussée",
    "description": "",
    "synonyms": [
      "Rez-de-chaussée",
      "A l'étage inférieur"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Floor_SecondFloor",
    "name": "SecondFloor",
    "label": "Deuxième Étage",
    "description": "",
    "synonyms": [
      "Deuxièmes Étages"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Floor_ThirdFloor",
    "name": "ThirdFloor",
    "label": "Troisième Étage",
    "description": "",
    "synonyms": [
      "Troisièmes Étages"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room",
    "name": "Room",
    "label": "Pièce",
    "description": "",
    "synonyms": [
      "Pièces"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_Bathroom",
    "name": "Bathroom",
    "label": "Salle de Bains",
    "description": "",
    "synonyms": [
      "Salles de Bains",
      "Bain",
      "Bains",
      "Salle d'Eau",
      "Salles d'Eau"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_Bedroom",
    "name": "Bedroom",
    "label": "Chambre",
    "description": "",
    "synonyms": [
      "Chambres"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_BoilerRoom",
    "name": "BoilerRoom",
    "label": "Chaufferie",
    "description": "",
    "synonyms": [
      "Chaufferies"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_Cellar",
    "name": "Cellar",
    "label": "Cellier",
    "description": "",
    "synonyms": [
      "Celliers"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_DiningRoom",
    "name": "DiningRoom",
    "label": "Salle à Manger",
    "description": "",
    "synonyms": [
      "Salles à Manger"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_Entry",
    "name": "Entry",
    "label": "Entrée",
    "description": "",
    "synonyms": [
      "Entrées",
      "Foyer",
      "Foyers"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_FamilyRoom",
    "name": "FamilyRoom",
    "label": "Salon",
    "description": "",
    "synonyms": [
      "Salons"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_GuestRoom",
    "name": "GuestRoom",
    "label": "Chambre d'Invité",
    "description": "",
    "synonyms": [
      "Chambres d'Invités"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_Kitchen",
    "name": "Kitchen",
    "label": "cuisine",
    "description": "",
    "synonyms": [
      "cuisines"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_LaundryRoom",
    "name": "LaundryRoom",
    "label": "Buanderie",
    "description": "",
    "synonyms": [
      "Buanderies"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_LivingRoom",
    "name": "LivingRoom",
    "label": "Séjour",
    "description": "",
    "synonyms": [
      "Séjours"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_Office",
    "name": "Office",
    "label": "Bureau",
    "description": "",
    "synonyms": [
      "Bureaux"
    ],
    "editable": false
  },
  {
    "uid": "Location_Indoor_Room_Veranda",
    "name": "Veranda",
    "label": "Véranda",
    "description": "",
    "synonyms": [
      "Vérandas"
    ],
    "editable": false
  },
  {
    "uid": "Location_Outdoor",
    "name": "Outdoor",
    "label": "Extérieur",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Location_Outdoor_Carport",
    "name": "Carport",
    "label": "Abri",
    "description": "",
    "synonyms": [
      "Abris",
      "Abri de voiture",
      "Abris de voitures"
    ],
    "editable": false
  },
  {
    "uid": "Location_Outdoor_Driveway",
    "name": "Driveway",
    "label": "Allée",
    "description": "",
    "synonyms": [
      "Allées"
    ],
    "editable": false
  },
  {
    "uid": "Location_Outdoor_Garden",
    "name": "Garden",
    "label": "Jardin",
    "description": "",
    "synonyms": [
      "Jardins"
    ],
    "editable": false
  },
  {
    "uid": "Location_Outdoor_Patio",
    "name": "Patio",
    "label": "Patio",
    "description": "",
    "synonyms": [
      "Patios"
    ],
    "editable": false
  },
  {
    "uid": "Location_Outdoor_Porch",
    "name": "Porch",
    "label": "Porche",
    "description": "",
    "synonyms": [
      "Porches"
    ],
    "editable": false
  },
  {
    "uid": "Location_Outdoor_Terrace",
    "name": "Terrace",
    "label": "Terrasse",
    "description": "",
    "synonyms": [
      "Terrasses",
      "Terrasse",
      "Terrasses"
    ],
    "editable": false
  },
  {
    "uid": "Point",
    "name": "Point",
    "label": "",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Alarm",
    "name": "Alarm",
    "label": "Alarme",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Control",
    "name": "Control",
    "label": "Contrôle",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Control_Switch",
    "name": "Switch",
    "label": "Interrupteur (switch)",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Measurement",
    "name": "Measurement",
    "label": "Mesure",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Setpoint",
    "name": "Setpoint",
    "label": "Consigne",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Status",
    "name": "Status",
    "label": "État ",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Status_LowBattery",
    "name": "LowBattery",
    "label": "Batterie Faible",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Status_OpenLevel",
    "name": "OpenLevel",
    "label": "Niveau d'ouverture",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Status_OpenState",
    "name": "OpenState",
    "label": "État d'ouverture",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Status_Tampered",
    "name": "Tampered",
    "label": "Altéré",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Point_Status_Tilt",
    "name": "Tilt",
    "label": "Inclinaison",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property",
    "name": "Property",
    "label": "",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_CO",
    "name": "CO",
    "label": "CO",
    "description": "",
    "synonyms": [
      "Monoxyde de carbone"
    ],
    "editable": false
  },
  {
    "uid": "Property_CO2",
    "name": "CO2",
    "label": "CO2",
    "description": "",
    "synonyms": [
      "Dioxyde de carbone"
    ],
    "editable": false
  },
  {
    "uid": "Property_ColorTemperature",
    "name": "ColorTemperature",
    "label": "Température de couleur",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Current",
    "name": "Current",
    "label": "Intensité",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Duration",
    "name": "Duration",
    "label": "Durée",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Energy",
    "name": "Energy",
    "label": "Énergie",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Frequency",
    "name": "Frequency",
    "label": "Fréquence",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Gas",
    "name": "Gas",
    "label": "Carburant",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Humidity",
    "name": "Humidity",
    "label": "Humidité",
    "description": "",
    "synonyms": [
      "Humidité"
    ],
    "editable": false
  },
  {
    "uid": "Property_Level",
    "name": "Level",
    "label": "Niveau",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Light",
    "name": "Light",
    "label": "Lumière",
    "description": "",
    "synonyms": [
      "Lumière",
      "Éclairage"
    ],
    "editable": false
  },
  {
    "uid": "Property_Noise",
    "name": "Noise",
    "label": "Bruit",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Oil",
    "name": "Oil",
    "label": "Pétrole",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Opening",
    "name": "Opening",
    "label": "Ouverture",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Power",
    "name": "Power",
    "label": "Puissance",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Presence",
    "name": "Presence",
    "label": "Présence",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Pressure",
    "name": "Pressure",
    "label": "Pression",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Rain",
    "name": "Rain",
    "label": "Pluie",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Smoke",
    "name": "Smoke",
    "label": "Fumée",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_SoundVolume",
    "name": "SoundVolume",
    "label": "Volume sonore",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Temperature",
    "name": "Temperature",
    "label": "Température",
    "description": "",
    "synonyms": [
      "Températures"
    ],
    "editable": false
  },
  {
    "uid": "Property_Timestamp",
    "name": "Timestamp",
    "label": "Horodatage",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Ultraviolet",
    "name": "Ultraviolet",
    "label": "Ultraviolet",
    "description": "",
    "synonyms": [
      "UV"
    ],
    "editable": false
  },
  {
    "uid": "Property_Vibration",
    "name": "Vibration",
    "label": "Vibration",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Voltage",
    "name": "Voltage",
    "label": "Tension",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Water",
    "name": "Water",
    "label": "Eau",
    "description": "",
    "synonyms": [],
    "editable": false
  },
  {
    "uid": "Property_Wind",
    "name": "Wind",
    "label": "Vent",
    "description": "",
    "synonyms": [],
    "editable": false
  }
]
lolodomo commented 1 year ago

Equipment, Location, Point and Property are the only ones without a label. Could it be the problem in Main UI ?

Name should be used as label when there is no label. In case this is a problem, I can add a label in core but then it will require a translation in all languages.

florian-h05 commented 1 year ago

Equipment, Location, Point and Property are the only ones without a label. Could it be the problem in Main UI ?

Yes, it indeed is a Main UI problem: The underscore in the filter expressions avoids that Equipment, Property etc are available.

https://github.com/openhab/openhab-webui/blob/391f0fd009bb7ceb3ec4e54babf9f74a7c88599f/bundles/org.openhab.ui/web/src/js/store/modules/semantics.js#L23-L26

Name should be used as label when there is no label.

Main UI falls back to name in case there is no label.

lolodomo commented 1 year ago

Main UI falls back to name in case there is no label.

Ok, fine. During this time (before reading your last message), I updated the core code to add a label also for these tags and it made no difference. But you just explained why, the label is not the problem.