From 569e8b034e5c44288d108148459fbc1b0031a732 Mon Sep 17 00:00:00 2001 From: Wouter Kamp Date: Mon, 12 Aug 2024 17:28:41 +0200 Subject: [PATCH 01/10] Added PM capabilities --- .../capability/capabilities/measure_pm01.json | 71 +++++++++++++++++++ .../capability/capabilities/measure_pm1.json | 71 +++++++++++++++++++ .../capability/capabilities/measure_pm10.json | 71 +++++++++++++++++++ 3 files changed, 213 insertions(+) create mode 100644 assets/capability/capabilities/measure_pm01.json create mode 100644 assets/capability/capabilities/measure_pm1.json create mode 100644 assets/capability/capabilities/measure_pm10.json diff --git a/assets/capability/capabilities/measure_pm01.json b/assets/capability/capabilities/measure_pm01.json new file mode 100644 index 00000000..9f6085c8 --- /dev/null +++ b/assets/capability/capabilities/measure_pm01.json @@ -0,0 +1,71 @@ +{ + "type": "number", + "title": { + "en": "PM0.1", + "nl": "PM0.1", + "de": "PM0.1", + "fr": "PM0.1", + "it": "PM0.1", + "sv": "PM0.1", + "no": "PM0.1", + "es": "PM0,1", + "ru": "ТЧ 0.1", + "pl": "PM0.1", + "ko": "PM0.1" + }, + "units": { + "en": "μg/m³", + "ru": "мкг/м³", + "ko": "μg/m³", + "no": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Atmospheric particulate matter (μg/m³)", + "nl": "Deeltjesvormige luchtverontreiniging (μg/m³)", + "de": "Atmosphärischer Feinstaub (μg/m³)", + "fr": "Particules en suspension (μg/m³)", + "it": "Particolato atmosferico (μg/m³)", + "sv": "Atmosfäriskt partikelämne (μg/m³)", + "no": "Atmosfæriske partikler (μg/m³)", + "es": "Partículas atmosféricas (μg/m³)", + "da": "Atmosfæriske partikler (μg/m³)", + "ru": "Атмосферные твердые частицы (мкг/м³)", + "pl": "Pył zawieszony (μg/m³)", + "ko": "대기 중 미세입자 수(μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_pm01_changed", + "title": { + "en": "The PM0.1 value has changed", + "nl": "De PM0.1 waarde is veranderd", + "de": "Der PM0.1-Wert hat sich geändert", + "fr": "La valeur PM0.1 a changé", + "it": "Il valore di PM0.1 è cambiato", + "sv": "PM0.1-värdet har ändrats", + "no": "PM0.1-verdien er endret", + "es": "El valor de PM0,1 ha cambiado", + "da": "PM0.1-værdien har ændret sig", + "ru": "Значение ТЧ 0.1 изменилось", + "pl": "Zmiana poziomu stężenia PM0.1", + "ko": "PM0.1 값 변경됨" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_pm1.json b/assets/capability/capabilities/measure_pm1.json new file mode 100644 index 00000000..d88103e9 --- /dev/null +++ b/assets/capability/capabilities/measure_pm1.json @@ -0,0 +1,71 @@ +{ + "type": "number", + "title": { + "en": "PM1", + "nl": "PM1", + "de": "PM1", + "fr": "PM1", + "it": "PM1", + "sv": "PM1", + "no": "PM1", + "es": "PM1", + "ru": "ТЧ 1", + "pl": "PM1", + "ko": "PM1" + }, + "units": { + "en": "μg/m³", + "ru": "мкг/м³", + "ko": "μg/m³", + "no": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Atmospheric particulate matter (μg/m³)", + "nl": "Deeltjesvormige luchtverontreiniging (μg/m³)", + "de": "Atmosphärischer Feinstaub (μg/m³)", + "fr": "Particules en suspension (μg/m³)", + "it": "Particolato atmosferico (μg/m³)", + "sv": "Atmosfäriskt partikelämne (μg/m³)", + "no": "Atmosfæriske partikler (μg/m³)", + "es": "Partículas atmosféricas (μg/m³)", + "da": "Atmosfæriske partikler (μg/m³)", + "ru": "Атмосферные твердые частицы (мкг/м³)", + "pl": "Pył zawieszony (μg/m³)", + "ko": "대기 중 미세입자 수(μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_pm1_changed", + "title": { + "en": "The PM1 value has changed", + "nl": "De PM1 waarde is veranderd", + "de": "Der PM1-Wert hat sich geändert", + "fr": "La valeur PM1 a changé", + "it": "Il valore di PM1 è cambiato", + "sv": "PM1-värdet har ändrats", + "no": "PM1-verdien er endret", + "es": "El valor de PM1 ha cambiado", + "da": "PM1-værdien har ændret sig", + "ru": "Значение ТЧ 1 изменилось", + "pl": "Zmiana poziomu stężenia PM1", + "ko": "PM1 값 변경됨" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_pm10.json b/assets/capability/capabilities/measure_pm10.json new file mode 100644 index 00000000..2e211282 --- /dev/null +++ b/assets/capability/capabilities/measure_pm10.json @@ -0,0 +1,71 @@ +{ + "type": "number", + "title": { + "en": "PM10", + "nl": "PM10", + "de": "PM10", + "fr": "PM10", + "it": "PM10", + "sv": "PM10", + "no": "PM10", + "es": "PM10", + "ru": "ТЧ 10", + "pl": "PM10", + "ko": "PM10" + }, + "units": { + "en": "μg/m³", + "ru": "мкг/м³", + "ko": "μg/m³", + "no": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Atmospheric particulate matter (μg/m³)", + "nl": "Deeltjesvormige luchtverontreiniging (μg/m³)", + "de": "Atmosphärischer Feinstaub (μg/m³)", + "fr": "Particules en suspension (μg/m³)", + "it": "Particolato atmosferico (μg/m³)", + "sv": "Atmosfäriskt partikelämne (μg/m³)", + "no": "Atmosfæriske partikler (μg/m³)", + "es": "Partículas atmosféricas (μg/m³)", + "da": "Atmosfæriske partikler (μg/m³)", + "ru": "Атмосферные твердые частицы (мкг/м³)", + "pl": "Pył zawieszony (μg/m³)", + "ko": "대기 중 미세입자 수(μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_pm10_changed", + "title": { + "en": "The PM10 value has changed", + "nl": "De PM10 waarde is veranderd", + "de": "Der PM10-Wert hat sich geändert", + "fr": "La valeur PM10 a changé", + "it": "Il valore di PM10 è cambiato", + "sv": "PM10-värdet har ändrats", + "no": "PM10-verdien er endret", + "es": "El valor de PM10 ha cambiado", + "da": "PM10-værdien har ændret sig", + "ru": "Значение ТЧ 10 изменилось", + "pl": "Zmiana poziomu stężenia PM10", + "ko": "PM10 값 변경됨" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file From 9620db2bf603635c9b08d5dd01fd504b140e0539 Mon Sep 17 00:00:00 2001 From: Wouter Kamp Date: Fri, 23 Aug 2024 14:41:00 +0200 Subject: [PATCH 02/10] WIP: Added new capabilities --- assets/capability/capabilities.json | 208 +++++++++++++----- .../capabilities/alarm_battery.json | 2 +- .../capabilities/alarm_battery_charging.json | 45 ++++ assets/capability/capabilities/alarm_co.json | 2 +- assets/capability/capabilities/alarm_co2.json | 4 +- .../capability/capabilities/alarm_cold.json | 45 ++++ .../capabilities/alarm_connectivity.json | 45 ++++ .../capabilities/alarm_contact.json | 2 +- .../capabilities/alarm_dishwasher_door.json | 38 ++++ assets/capability/capabilities/alarm_gas.json | 45 ++++ .../capability/capabilities/alarm_heat.json | 2 +- .../capability/capabilities/alarm_light.json | 45 ++++ .../capabilities/alarm_moisture.json | 45 ++++ .../capability/capabilities/alarm_noise.json | 45 ++++ .../capabilities/alarm_occupancy.json | 51 +++++ .../capability/capabilities/alarm_plug.json | 45 ++++ .../capability/capabilities/alarm_pm01.json | 121 ++++++++++ assets/capability/capabilities/alarm_pm1.json | 121 ++++++++++ .../capability/capabilities/alarm_pm10.json | 121 ++++++++++ .../capability/capabilities/alarm_pm25.json | 2 +- .../capability/capabilities/alarm_power.json | 45 ++++ .../capabilities/alarm_presence.json | 45 ++++ .../capabilities/alarm_problem.json | 45 ++++ .../capabilities/alarm_pump_device.json | 45 ++++ .../capabilities/alarm_pump_supply.json | 45 ++++ .../capabilities/alarm_running.json | 45 ++++ .../capability/capabilities/alarm_safety.json | 45 ++++ .../alarm_vacuumcleaner_bin_full.json | 38 ++++ .../alarm_vacuumcleaner_bin_missing.json | 38 ++++ .../alarm_vacuumcleaner_lost.json | 38 ++++ .../alarm_vacuumcleaner_pad_missing.json | 38 ++++ .../alarm_vacuumcleaner_stuck.json | 38 ++++ .../alarm_vacuumcleaner_tank_empty.json | 38 ++++ .../alarm_vacuumcleaner_tank_missing.json | 38 ++++ .../alarm_vacuumcleaner_tank_open.json | 38 ++++ .../capabilities/alarm_vibration.json | 45 ++++ .../capability/capabilities/audio_output.json | 99 +++++++++ .../capabilities/carbon_filter.json | 34 +++ .../capabilities/dishwasher_mode.json | 51 +++++ assets/capability/capabilities/docked.json | 45 ++++ assets/capability/capabilities/fan_mode.json | 77 +++++++ assets/capability/capabilities/fan_speed.json | 37 ++++ .../capabilities/heater_operation_mode.json | 101 +++++++++ .../capability/capabilities/hepa_filter.json | 34 +++ .../capabilities/hot_water_mode.json | 71 ++++++ .../capabilities/keypad_navigation.json | 86 ++++++++ .../capabilities/laundry_washer_cycles.json | 87 ++++++++ .../capabilities/laundry_washer_mode.json | 78 +++++++ .../capabilities/laundry_washer_speed.json | 81 +++++++ .../capabilities/lawnmower_state.json | 91 ++++++++ assets/capability/capabilities/level_aqi.json | 72 ++++++ .../capabilities/level_carbon_filter.json | 66 ++++++ .../capability/capabilities/level_ch2o.json | 72 ++++++ assets/capability/capabilities/level_co.json | 72 ++++++ assets/capability/capabilities/level_co2.json | 72 ++++++ .../capabilities/level_hepa_filter.json | 66 ++++++ assets/capability/capabilities/level_nox.json | 72 ++++++ assets/capability/capabilities/level_o3.json | 72 ++++++ .../capability/capabilities/level_pm01.json | 72 ++++++ assets/capability/capabilities/level_pm1.json | 72 ++++++ .../capability/capabilities/level_pm10.json | 72 ++++++ .../capability/capabilities/level_pm25.json | 72 ++++++ .../capability/capabilities/level_radon.json | 72 ++++++ .../capability/capabilities/level_tvoc.json | 72 ++++++ assets/capability/capabilities/light_hue.json | 2 +- assets/capability/capabilities/lock_mode.json | 2 +- .../capability/capabilities/measure_aqi.json | 35 +++ .../capability/capabilities/measure_ch2o.json | 37 ++++ .../capabilities/measure_content_volume.json | 37 ++++ .../capabilities/measure_data_rate.json | 37 ++++ .../capabilities/measure_data_size.json | 37 ++++ .../capabilities/measure_distance.json | 37 ++++ .../capabilities/measure_energy_storage.json | 37 ++++ .../capabilities/measure_frequency.json | 37 ++++ .../capabilities/measure_gust_angle.json | 2 +- .../capabilities/measure_gust_strength.json | 2 +- .../capabilities/measure_moisture.json | 37 ++++ .../capabilities/measure_monetary.json | 37 ++++ .../capability/capabilities/measure_nox.json | 37 ++++ .../capability/capabilities/measure_o3.json | 37 ++++ .../capability/capabilities/measure_odor.json | 37 ++++ .../capability/capabilities/measure_ph.json | 34 +++ .../capability/capabilities/measure_pm01.json | 2 +- .../capability/capabilities/measure_pm1.json | 0 .../capability/capabilities/measure_pm10.json | 0 .../capability/capabilities/measure_pm25.json | 2 +- .../capabilities/measure_radon.json | 37 ++++ .../capabilities/measure_rain_intensity.json | 37 ++++ .../capabilities/measure_rotation.json | 37 ++++ .../capabilities/measure_signal_strength.json | 37 ++++ .../capability/capabilities/measure_so2.json | 37 ++++ .../capabilities/measure_speed.json | 37 ++++ .../capabilities/measure_temperature.json | 4 +- .../capability/capabilities/measure_tvoc.json | 37 ++++ .../capabilities/measure_tvoc_index.json | 33 +++ .../measure_volume_flow_rate.json | 37 ++++ .../capabilities/measure_weight.json | 37 ++++ .../capability/capabilities/media_input.json | 99 +++++++++ .../capabilities/operational_state.json | 72 ++++++ .../capability/capabilities/oscillating.json | 65 ++++++ assets/capability/capabilities/pump_mode.json | 93 ++++++++ .../capabilities/pump_setpoint.json | 53 +++++ .../capabilities/refrigerator_mode.json | 81 +++++++ .../capabilities/setpoint_humidity_max.json | 54 +++++ .../capabilities/setpoint_humidity_min.json | 54 +++++ .../setpoint_temperature_max.json | 55 +++++ .../setpoint_temperature_min.json | 55 +++++ .../capabilities/speaker_repeat.json | 1 + .../capabilities/speaker_shuffle.json | 1 + .../capability/capabilities/speaker_stop.json | 21 ++ .../capability/capabilities/swing_mode.json | 77 +++++++ .../capabilities/target_humidity.json | 50 +++++ .../target_temperature_level.json | 81 +++++++ .../capabilities/thermostat_mode.json | 2 +- .../capabilities/vacuumcleaner_job_mode.json | 95 ++++++++ .../capabilities/valve_position.json | 53 +++++ .../capability/capabilities/volume_set.json | 1 + .../capabilities/windowcoverings_state.json | 2 +- .../windowcoverings_tilt_down.json | 1 + .../windowcoverings_tilt_set.json | 1 + .../capabilities/windowcoverings_tilt_up.json | 1 + 121 files changed, 5558 insertions(+), 71 deletions(-) create mode 100644 assets/capability/capabilities/alarm_battery_charging.json create mode 100644 assets/capability/capabilities/alarm_cold.json create mode 100644 assets/capability/capabilities/alarm_connectivity.json create mode 100644 assets/capability/capabilities/alarm_dishwasher_door.json create mode 100644 assets/capability/capabilities/alarm_gas.json create mode 100644 assets/capability/capabilities/alarm_light.json create mode 100644 assets/capability/capabilities/alarm_moisture.json create mode 100644 assets/capability/capabilities/alarm_noise.json create mode 100644 assets/capability/capabilities/alarm_occupancy.json create mode 100644 assets/capability/capabilities/alarm_plug.json create mode 100755 assets/capability/capabilities/alarm_pm01.json create mode 100755 assets/capability/capabilities/alarm_pm1.json create mode 100755 assets/capability/capabilities/alarm_pm10.json create mode 100644 assets/capability/capabilities/alarm_power.json create mode 100644 assets/capability/capabilities/alarm_presence.json create mode 100644 assets/capability/capabilities/alarm_problem.json create mode 100644 assets/capability/capabilities/alarm_pump_device.json create mode 100644 assets/capability/capabilities/alarm_pump_supply.json create mode 100644 assets/capability/capabilities/alarm_running.json create mode 100644 assets/capability/capabilities/alarm_safety.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_lost.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_stuck.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json create mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json create mode 100644 assets/capability/capabilities/alarm_vibration.json create mode 100644 assets/capability/capabilities/audio_output.json create mode 100644 assets/capability/capabilities/carbon_filter.json create mode 100644 assets/capability/capabilities/dishwasher_mode.json create mode 100644 assets/capability/capabilities/docked.json create mode 100644 assets/capability/capabilities/fan_mode.json create mode 100644 assets/capability/capabilities/fan_speed.json create mode 100644 assets/capability/capabilities/heater_operation_mode.json create mode 100644 assets/capability/capabilities/hepa_filter.json create mode 100644 assets/capability/capabilities/hot_water_mode.json create mode 100644 assets/capability/capabilities/keypad_navigation.json create mode 100644 assets/capability/capabilities/laundry_washer_cycles.json create mode 100644 assets/capability/capabilities/laundry_washer_mode.json create mode 100644 assets/capability/capabilities/laundry_washer_speed.json create mode 100644 assets/capability/capabilities/lawnmower_state.json create mode 100644 assets/capability/capabilities/level_aqi.json create mode 100644 assets/capability/capabilities/level_carbon_filter.json create mode 100644 assets/capability/capabilities/level_ch2o.json create mode 100644 assets/capability/capabilities/level_co.json create mode 100644 assets/capability/capabilities/level_co2.json create mode 100644 assets/capability/capabilities/level_hepa_filter.json create mode 100644 assets/capability/capabilities/level_nox.json create mode 100644 assets/capability/capabilities/level_o3.json create mode 100644 assets/capability/capabilities/level_pm01.json create mode 100644 assets/capability/capabilities/level_pm1.json create mode 100644 assets/capability/capabilities/level_pm10.json create mode 100644 assets/capability/capabilities/level_pm25.json create mode 100644 assets/capability/capabilities/level_radon.json create mode 100644 assets/capability/capabilities/level_tvoc.json create mode 100644 assets/capability/capabilities/measure_aqi.json create mode 100644 assets/capability/capabilities/measure_ch2o.json create mode 100644 assets/capability/capabilities/measure_content_volume.json create mode 100644 assets/capability/capabilities/measure_data_rate.json create mode 100644 assets/capability/capabilities/measure_data_size.json create mode 100644 assets/capability/capabilities/measure_distance.json create mode 100644 assets/capability/capabilities/measure_energy_storage.json create mode 100644 assets/capability/capabilities/measure_frequency.json create mode 100644 assets/capability/capabilities/measure_moisture.json create mode 100644 assets/capability/capabilities/measure_monetary.json create mode 100644 assets/capability/capabilities/measure_nox.json create mode 100644 assets/capability/capabilities/measure_o3.json create mode 100644 assets/capability/capabilities/measure_odor.json create mode 100644 assets/capability/capabilities/measure_ph.json mode change 100644 => 100755 assets/capability/capabilities/measure_pm01.json mode change 100644 => 100755 assets/capability/capabilities/measure_pm1.json mode change 100644 => 100755 assets/capability/capabilities/measure_pm10.json create mode 100644 assets/capability/capabilities/measure_radon.json create mode 100644 assets/capability/capabilities/measure_rain_intensity.json create mode 100644 assets/capability/capabilities/measure_rotation.json create mode 100644 assets/capability/capabilities/measure_signal_strength.json create mode 100644 assets/capability/capabilities/measure_so2.json create mode 100644 assets/capability/capabilities/measure_speed.json create mode 100644 assets/capability/capabilities/measure_tvoc.json create mode 100644 assets/capability/capabilities/measure_tvoc_index.json create mode 100644 assets/capability/capabilities/measure_volume_flow_rate.json create mode 100644 assets/capability/capabilities/measure_weight.json create mode 100644 assets/capability/capabilities/media_input.json create mode 100644 assets/capability/capabilities/operational_state.json create mode 100644 assets/capability/capabilities/oscillating.json create mode 100644 assets/capability/capabilities/pump_mode.json create mode 100644 assets/capability/capabilities/pump_setpoint.json create mode 100644 assets/capability/capabilities/refrigerator_mode.json create mode 100644 assets/capability/capabilities/setpoint_humidity_max.json create mode 100644 assets/capability/capabilities/setpoint_humidity_min.json create mode 100644 assets/capability/capabilities/setpoint_temperature_max.json create mode 100644 assets/capability/capabilities/setpoint_temperature_min.json create mode 100644 assets/capability/capabilities/speaker_stop.json create mode 100644 assets/capability/capabilities/swing_mode.json create mode 100644 assets/capability/capabilities/target_humidity.json create mode 100644 assets/capability/capabilities/target_temperature_level.json create mode 100644 assets/capability/capabilities/vacuumcleaner_job_mode.json create mode 100644 assets/capability/capabilities/valve_position.json diff --git a/assets/capability/capabilities.json b/assets/capability/capabilities.json index b76ec375..d570c837 100755 --- a/assets/capability/capabilities.json +++ b/assets/capability/capabilities.json @@ -1,74 +1,174 @@ [ - "onoff", + "alarm_battery", + "alarm_battery_charging", + "alarm_co", + "alarm_co2", + "alarm_cold", + "alarm_connectivity", + "alarm_contact", + "alarm_dishwasher_door", + "alarm_fire", + "alarm_gas", + "alarm_generic", + "alarm_heat", + "alarm_light", + "alarm_moisture", + "alarm_motion", + "alarm_night", + "alarm_noise", + "alarm_occupancy", + "alarm_plug", + "alarm_pm1", + "alarm_pm01", + "alarm_pm10", + "alarm_pm25", + "alarm_power", + "alarm_presence", + "alarm_problem", + "alarm_pump_device", + "alarm_pump_supply", + "alarm_running", + "alarm_safety", + "alarm_smoke", + "alarm_tamper", + "alarm_vacuumcleaner_bin_full", + "alarm_vacuumcleaner_bin_missing", + "alarm_vacuumcleaner_lost", + "alarm_vacuumcleaner_pad_missing", + "alarm_vacuumcleaner_stuck", + "alarm_vacuumcleaner_tank_empty", + "alarm_vacuumcleaner_tank_missing", + "alarm_vacuumcleaner_tank_open", + "alarm_vibration", + "alarm_water", + "audio_output", + "button", + "carbon_filter", + "channel_down", + "channel_up", "dim", + "dishwasher_mode", + "docked", + "fan_mode", + "fan_speed", + "garagedoor_closed", + "heater_operation_mode", + "hepa_filter", + "homealarm_state", + "hot_water_mode", + "keypad_navigation", + "laundry_washer_cycles", + "laundry_washer_mode", + "laundry_washer_speed", + "lawnmower_state", + "level_aqi", + "level_carbon_filter", + "level_ch2o", + "level_co", + "level_co2", + "level_hepa_filter", + "level_nox", + "level_o3", + "level_pm1", + "level_pm01", + "level_pm10", + "level_pm25", + "level_radon", + "level_tvoc", "light_hue", + "light_mode", "light_saturation", "light_temperature", - "light_mode", - "vacuumcleaner_state", - "thermostat_mode", - "target_temperature", - "measure_temperature", + "lock_mode", + "locked", + "measure_aqi", + "measure_battery", + "measure_ch2o", "measure_co", "measure_co2", - "measure_pm25", + "measure_content_volume", + "measure_current", + "measure_data_rate", + "measure_data_size", + "measure_distance", + "measure_energy_storage", + "measure_frequency", + "measure_gust_angle", + "measure_gust_strength", "measure_humidity", - "measure_pressure", + "measure_luminance", + "measure_moisture", + "measure_monetary", "measure_noise", - "measure_rain", - "measure_wind_strength", - "measure_wind_angle", - "measure_gust_strength", - "measure_gust_angle", - "measure_battery", + "measure_nox", + "measure_o3", + "measure_odor", + "measure_ph", + "measure_pm1", + "measure_pm01", + "measure_pm10", + "measure_pm25", "measure_power", - "measure_voltage", - "measure_current", - "measure_luminance", + "measure_pressure", + "measure_radon", + "measure_rain_intensity", + "measure_rain", + "measure_rotation", + "measure_signal_strength", + "measure_so2", + "measure_speed", + "measure_temperature", + "measure_tvoc", + "measure_tvoc_index", "measure_ultraviolet", + "measure_voltage", + "measure_volume_flow_rate", "measure_water", - "alarm_generic", - "alarm_motion", - "alarm_contact", - "alarm_co", - "alarm_co2", - "alarm_pm25", - "alarm_tamper", - "alarm_smoke", - "alarm_fire", - "alarm_heat", - "alarm_water", - "alarm_battery", - "alarm_night", - "meter_power", - "meter_water", + "measure_weight", + "measure_wind_angle", + "measure_wind_strength", + "media_input", "meter_gas", + "meter_power", "meter_rain", - "homealarm_state", - "volume_set", - "volume_up", + "meter_water", + "onoff", + "operational_state", + "oscillating", + "pump_mode", + "pump_setpoint", + "refrigerator_mode", + "setpoint_humidity_max", + "setpoint_humidity_min", + "setpoint_temperature_max", + "setpoint_temperature_min", + "speaker_album", + "speaker_artist", + "speaker_duration", + "speaker_next", + "speaker_playing", + "speaker_position", + "speaker_prev", + "speaker_repeat", + "speaker_shuffle", + "speaker_stop", + "speaker_track", + "swing_mode", + "target_humidity", + "target_temperature_level", + "target_temperature", + "thermostat_mode", + "vacuumcleaner_job_mode", + "vacuumcleaner_state", + "valve_position", "volume_down", "volume_mute", - "channel_up", - "channel_down", - "locked", - "lock_mode", - "garagedoor_closed", + "volume_set", + "volume_up", + "windowcoverings_closed", + "windowcoverings_set", "windowcoverings_state", - "windowcoverings_tilt_up", "windowcoverings_tilt_down", "windowcoverings_tilt_set", - "windowcoverings_closed", - "windowcoverings_set", - "button", - "speaker_playing", - "speaker_next", - "speaker_prev", - "speaker_shuffle", - "speaker_repeat", - "speaker_artist", - "speaker_album", - "speaker_track", - "speaker_duration", - "speaker_position" + "windowcoverings_tilt_up" ] \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_battery.json b/assets/capability/capabilities/alarm_battery.json index 8b0ffb67..71421b8b 100755 --- a/assets/capability/capabilities/alarm_battery.json +++ b/assets/capability/capabilities/alarm_battery.json @@ -2,7 +2,7 @@ "type": "boolean", "title": { "en": "Battery alarm", - "nl": "Batterij alarm", + "nl": "Batterij-alarm", "de": "Batterie-Alarm", "fr": "Alarme batterie", "it": "Allarme batteria", diff --git a/assets/capability/capabilities/alarm_battery_charging.json b/assets/capability/capabilities/alarm_battery_charging.json new file mode 100644 index 00000000..6dad54fd --- /dev/null +++ b/assets/capability/capabilities/alarm_battery_charging.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Battery Charging", + "nl": "Batterij aan het opladen" + }, + "desc": { + "en": "Indicates whether the battery is currently charging." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Battery Charging" + }, + "insightsTitleFalse": { + "en": "Battery Not Charging" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_battery_charging_true", + "highlight": true, + "title": { + "en": "Started charging" + } + }, + { + "id": "alarm_battery_charging_false", + "title": { + "en": "Stopped charging" + } + } + ], + "conditions": [ + { + "id": "alarm_battery_charging", + "title": { + "en": "!{{is|is not}} charging" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_co.json b/assets/capability/capabilities/alarm_co.json index 9fa2e5da..586d376f 100755 --- a/assets/capability/capabilities/alarm_co.json +++ b/assets/capability/capabilities/alarm_co.json @@ -2,7 +2,7 @@ "type": "boolean", "title": { "en": "CO alarm", - "nl": "CO alarm", + "nl": "CO-alarm", "de": "CO-Alarm", "fr": "Alarme CO", "it": "Allarme CO", diff --git a/assets/capability/capabilities/alarm_co2.json b/assets/capability/capabilities/alarm_co2.json index 843a35bc..0a66256b 100755 --- a/assets/capability/capabilities/alarm_co2.json +++ b/assets/capability/capabilities/alarm_co2.json @@ -2,7 +2,7 @@ "type": "boolean", "title": { "en": "CO2 alarm", - "nl": "CO2 alarm", + "nl": "CO2-alarm", "de": "CO2-Alarm", "fr": "Alarme CO2", "it": "Allarme CO2", @@ -15,7 +15,7 @@ }, "desc": { "en": "True when dangerous CO2 values have been detected", - "nl": "Gaat af bij gevaarlijke concentraties CO2 alarm", + "nl": "Gaat af bij gevaarlijke concentraties CO2", "de": "True, wenn gefährliche CO2-Werte erkannt wurden", "fr": "Vrai si des valeurs dangereuses de CO2 ont été détectées", "it": "Vero quando sono stati rilevati valori pericolosi di CO2", diff --git a/assets/capability/capabilities/alarm_cold.json b/assets/capability/capabilities/alarm_cold.json new file mode 100644 index 00000000..ea86c3c1 --- /dev/null +++ b/assets/capability/capabilities/alarm_cold.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Cold Alarm", + "nl": "Kou-alarm" + }, + "desc": { + "en": "True when the temperature is too cold." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Cold Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Cold Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_cold_true", + "highlight": true, + "title": { + "en": "The cold alarm turned on" + } + }, + { + "id": "alarm_cold_false", + "title": { + "en": "The cold alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_cold", + "title": { + "en": "The cold alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_connectivity.json b/assets/capability/capabilities/alarm_connectivity.json new file mode 100644 index 00000000..9c1112a9 --- /dev/null +++ b/assets/capability/capabilities/alarm_connectivity.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Connectivity Alarm", + "nl": "Verbindingsalarm" + }, + "desc": { + "en": "True when disconnected from the network." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Connectivity Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Connectivity Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_connectivity_true", + "highlight": true, + "title": { + "en": "Has lost connection" + } + }, + { + "id": "alarm_connectivity_false", + "title": { + "en": "Has established connection" + } + } + ], + "conditions": [ + { + "id": "alarm_connectivity", + "title": { + "en": "The connection is !{{lost|established}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_contact.json b/assets/capability/capabilities/alarm_contact.json index 622a91d4..1856297d 100755 --- a/assets/capability/capabilities/alarm_contact.json +++ b/assets/capability/capabilities/alarm_contact.json @@ -2,7 +2,7 @@ "type": "boolean", "title": { "en": "Contact alarm", - "nl": "Contact alarm", + "nl": "Contactalarm", "de": "Kontakt-Alarm", "fr": "Alarme contact", "it": "Allarme contatto", diff --git a/assets/capability/capabilities/alarm_dishwasher_door.json b/assets/capability/capabilities/alarm_dishwasher_door.json new file mode 100644 index 00000000..27769098 --- /dev/null +++ b/assets/capability/capabilities/alarm_dishwasher_door.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Dishwasher door alarm", + "nl": "Vaatwasserdeuralarm" + }, + "desc": { + "en": "True when there is an issue with the dishwasher door or door lock." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_dishwasher_door_true", + "highlight": true, + "title": { + "en": "The dishwasher door alarm turned on" + } + }, + { + "id": "alarm_dishwasher_door_false", + "title": { + "en": "The dishwasher door alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_dishwasher_door", + "title": { + "en": "The dishwasher door alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_gas.json b/assets/capability/capabilities/alarm_gas.json new file mode 100644 index 00000000..702dbeab --- /dev/null +++ b/assets/capability/capabilities/alarm_gas.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Gas alarm", + "nl": "Gasalarm" + }, + "description": { + "en": "True when gas is detected" + }, + "insights": true, + "insightsTitleTrue": { + "en": "Gas alarm turned on" + }, + "insightsTitleFalse": { + "en": "Gas alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_gas_true", + "highlight": true, + "title": { + "en": "The gas alarm turned on" + } + }, + { + "id": "alarm_gas_false", + "title": { + "en": "The gas alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_gas", + "title": { + "en": "The gas alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_heat.json b/assets/capability/capabilities/alarm_heat.json index 6607a59a..e870efa0 100755 --- a/assets/capability/capabilities/alarm_heat.json +++ b/assets/capability/capabilities/alarm_heat.json @@ -2,7 +2,7 @@ "type": "boolean", "title": { "en": "Heat alarm", - "nl": "Hittealarm", + "nl": "Hitte-alarm", "de": "Hitze-Alarm", "fr": "Alarme chaleur", "it": "Allarme di calore", diff --git a/assets/capability/capabilities/alarm_light.json b/assets/capability/capabilities/alarm_light.json new file mode 100644 index 00000000..16476c5b --- /dev/null +++ b/assets/capability/capabilities/alarm_light.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Light Alarm", + "nl": "Lichtalarm" + }, + "desc": { + "en": "True when light is detected." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Light Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Light Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_light_true", + "highlight": true, + "title": { + "en": "The light alarm turned on" + } + }, + { + "id": "alarm_light_false", + "title": { + "en": "The light alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_light", + "title": { + "en": "The light alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_moisture.json b/assets/capability/capabilities/alarm_moisture.json new file mode 100644 index 00000000..2aeb1b57 --- /dev/null +++ b/assets/capability/capabilities/alarm_moisture.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Moisture Alarm", + "nl": "Vochtalarm" + }, + "desc": { + "en": "True when moisture is detected." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Moisture Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Moisture Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_moisture_true", + "highlight": true, + "title": { + "en": "The moisture alarm turned on" + } + }, + { + "id": "alarm_moisture_false", + "title": { + "en": "The moisture alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_moisture", + "title": { + "en": "The moisture alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_noise.json b/assets/capability/capabilities/alarm_noise.json new file mode 100644 index 00000000..29fdffc4 --- /dev/null +++ b/assets/capability/capabilities/alarm_noise.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Noise Alarm", + "nl": "Geluidsalarm" + }, + "desc": { + "en": "True when sound is detected." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Noise Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Noise Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_noise_true", + "highlight": true, + "title": { + "en": "The noise alarm turned on" + } + }, + { + "id": "alarm_noise_false", + "title": { + "en": "The noise alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_noise", + "title": { + "en": "The noise alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_occupancy.json b/assets/capability/capabilities/alarm_occupancy.json new file mode 100644 index 00000000..515d4cb5 --- /dev/null +++ b/assets/capability/capabilities/alarm_occupancy.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Occupancy Alarm", + "nl": "Bezettingsalarm" + }, + "desc": { + "en": "True when occupancy is detected.", + "nl": "Waar wanneer bezetting wordt gedetecteerd." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Occupancy Alarm turned on", + "nl": "Bezettingsalarm ingeschakeld" + }, + "insightsTitleFalse": { + "en": "Occupancy Alarm turned off", + "nl": "Bezettingsalarm uitgeschakeld" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_occupancy_true", + "highlight": true, + "title": { + "en": "The occupancy alarm turned on", + "nl": "Het bezettingsalarm gaat aan" + } + }, + { + "id": "alarm_occupancy_false", + "title": { + "en": "The occupancy alarm turned off", + "nl": "Het bezettingsalarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_occupancy", + "title": { + "en": "The occupancy alarm is !{{on|off}}", + "nl": "Het bezettingsalarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_plug.json b/assets/capability/capabilities/alarm_plug.json new file mode 100644 index 00000000..d4d72345 --- /dev/null +++ b/assets/capability/capabilities/alarm_plug.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Plugged in Alarm", + "nl": "Aangesloten-alarm" + }, + "desc": { + "en": "True when plugged in." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Plugged in Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Plugged in Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_plug_true", + "highlight": true, + "title": { + "en": "The plugged in alarm turned on" + } + }, + { + "id": "alarm_plug_false", + "title": { + "en": "The plugged in alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_plug", + "title": { + "en": "The plugged in alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pm01.json b/assets/capability/capabilities/alarm_pm01.json new file mode 100755 index 00000000..a3c6de9f --- /dev/null +++ b/assets/capability/capabilities/alarm_pm01.json @@ -0,0 +1,121 @@ +{ + "type": "boolean", + "title": { + "en": "PM0.1 alarm", + "nl": "PM0.1 alarm", + "de": "PM0.1-Alarm", + "fr": "Alarme PM0.1", + "it": "Allarme PM0.1", + "sv": "PM0.1-larm", + "no": "PM0.1-alarm", + "es": "Alarma de PM0,1", + "da": "PM0,1-alarm", + "ru": "Сигнал ТЧ 0.1", + "pl": "Alarm o stężeniu PM0.1", + "ko": "PM0.1 알람" + }, + "desc": { + "en": "True when PM0.1 values exceeds threshold", + "nl": "Gaat af wanneer de PM0.1 waarde overschreden wordt", + "de": "True, wenn PM0.1-Werte die Schwelle überschreiten", + "fr": "Vrai si les valeurs PM0.1 excèdent un seuil", + "it": "Vero quando i valori PM0.1 superano la soglia", + "sv": "Sant när PM0.1-värdena överstiger gränsvärdet", + "no": "Sant når PM0.1-verdiene overskrider grenseverdien", + "es": "Verdadero cuando los valores de PM0,1 superan el límite", + "da": "Sandt, når PM0,1-værdier overskrider grænseværdien", + "ru": "Верно при превышении контрольного значения ТЧ 0.1", + "pl": "Adekwatny, kiedy wykryty zostanie niebezpieczny poziom stężenia PM0.1", + "ko": "PM0.1 값이 임계값을 초과하면 참" + }, + "insights": true, + "insightsTitleTrue": { + "en": "PM0.1 alarm turned on", + "nl": "PM0.1 alarm ging af", + "de": "PM0.1-Alarm ist angegangen", + "fr": "Alarme PM0.1 s'est activée", + "it": "Allarme PM0.1 attivato", + "sv": "PM0.1-larm aktiverat", + "no": "PM0.1-alarm aktivert", + "es": "Alarma de PM0,1 activada", + "da": "PM0,1-alarm blev aktiveret", + "ru": "Сигнал ТЧ 0.1 включен", + "pl": "Alarm o stężeniu PM0.1 włączony", + "ko": "PM0.1 알람 켜짐" + }, + "insightsTitleFalse": { + "en": "PM0.1 alarm turned off", + "nl": "PM0.1 alarm ging uit", + "de": "PM0.1-Alarm ist ausgegangen", + "fr": "Alarme PM0.1 s'est désactivée", + "it": "Allarme PM0.1 disattivato", + "sv": "PM0.1-larm inaktiverat", + "no": "PM0.1-alarm deaktivert", + "es": "Alarma de PM0,1 desactivada", + "da": "PM0,1-alarm blev deaktiveret", + "ru": "Сигнал ТЧ 0.1 выключен", + "pl": "Alarm o stężeniu PM0.1 wyłączony", + "ko": "PM0.1 알람 꺼짐" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_pm01_true", + "highlight": true, + "title": { + "en": "The PM0.1 alarm turned on", + "nl": "Het PM0.1 gaat aan", + "de": "Der PM0.1-Alarm ist angegangen", + "fr": "L'alarme PM0.1 s'est activée", + "it": "L'allarme PM0.1 è stato attivato", + "sv": "PM0.1-larmet aktiverat", + "no": "PM0.1-alarmen aktivert", + "es": "La alarma de PM0,1 se ha activado", + "da": "PM0,1-alarmen blev aktiveret", + "ru": "Сигнал ТЧ 0.1 включен", + "pl": "Alarm o stężeniu PM0.1 włączony", + "ko": "PM0.1 알람 켜짐" + } + }, + { + "id": "alarm_pm01_false", + "title": { + "en": "The PM0.1 alarm turned off", + "nl": "Het PM0.1 gaat uit", + "de": "Der PM0.1-Alarm ist ausgegangen", + "fr": "L'alarme PM0.1 s'est désactivée", + "it": "L'allarme PM0.1 è stato disattivato", + "sv": "PM0.1-larmet inaktiverat", + "no": "PM0.1-alarmen deaktivert", + "es": "La alarma de PM0,1 se ha desactivado", + "da": "PM0,1-alarmen blev deaktiveret", + "ru": "Сигнал ТЧ 0.1 выключен", + "pl": "Alarm o stężeniu PM0.1 wyłączony", + "ko": "PM0.1 알람 꺼짐" + } + } + ], + "conditions": [ + { + "id": "alarm_pm01", + "title": { + "en": "The PM0.1 alarm is !{{on|off}}", + "nl": "Het PM0.1 alarm is !{{aan|uit}}", + "de": "Der PM0.1-Alarm ist !{{an|aus}}", + "fr": "L'alarme PM0.1 est !{{en marche|arrêtée}}", + "it": "L'allarme PM0.1 è !{{acceso|spento}}", + "sv": "PM0.1-larmet är !{{på|av}}", + "no": "PM0.1-alarmen er !{{på|av}}", + "es": "La alarma de PM0,1 está !{{activada|desactivada}}", + "da": "PM0,1-alarmen er !{{tændt|slukket}}", + "ru": "Сигнал ТЧ 0.1 !{{вкл.|выкл.}}", + "pl": "Alarm o stężeniu PM0.1 !{{włączony|wyłączony}}", + "ko": "PM0.1 알람 !{{켬|끔}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pm1.json b/assets/capability/capabilities/alarm_pm1.json new file mode 100755 index 00000000..aff7cdf8 --- /dev/null +++ b/assets/capability/capabilities/alarm_pm1.json @@ -0,0 +1,121 @@ +{ + "type": "boolean", + "title": { + "en": "PM1 alarm", + "nl": "PM1 alarm", + "de": "PM1-Alarm", + "fr": "Alarme PM1", + "it": "Allarme PM1", + "sv": "PM1-larm", + "no": "PM1-alarm", + "es": "Alarma de PM1", + "da": "PM1-alarm", + "ru": "Сигнал ТЧ 1", + "pl": "Alarm o stężeniu PM1", + "ko": "PM1 알람" + }, + "desc": { + "en": "True when PM1 values exceeds threshold", + "nl": "Gaat af wanneer de PM1 waarde overschreden wordt", + "de": "True, wenn PM1-Werte die Schwelle überschreiten", + "fr": "Vrai si les valeurs PM1 excèdent un seuil", + "it": "Vero quando i valori PM1 superano la soglia", + "sv": "Sant när PM1-värdena överstiger gränsvärdet", + "no": "Sant når PM1-verdiene overskrider grenseverdien", + "es": "Verdadero cuando los valores de PM1 superan el límite", + "da": "Sandt, når PM1-værdier overskrider grænseværdien", + "ru": "Верно при превышении контрольного значения ТЧ 1", + "pl": "Adekwatny, kiedy wykryty zostanie niebezpieczny poziom stężenia PM1", + "ko": "PM1 값이 임계값을 초과하면 참" + }, + "insights": true, + "insightsTitleTrue": { + "en": "PM1 alarm turned on", + "nl": "PM1 alarm ging af", + "de": "PM1-Alarm ist angegangen", + "fr": "Alarme PM1 s'est activée", + "it": "Allarme PM1 attivato", + "sv": "PM1-larm aktiverat", + "no": "PM1-alarm aktivert", + "es": "Alarma de PM1 activada", + "da": "PM1-alarm blev aktiveret", + "ru": "Сигнал ТЧ 1 включен", + "pl": "Alarm o stężeniu PM1 włączony", + "ko": "PM1 알람 켜짐" + }, + "insightsTitleFalse": { + "en": "PM1 alarm turned off", + "nl": "PM1 alarm ging uit", + "de": "PM1-Alarm ist ausgegangen", + "fr": "Alarme PM1 s'est désactivée", + "it": "Allarme PM1 disattivato", + "sv": "PM1-larm inaktiverat", + "no": "PM1-alarm deaktivert", + "es": "Alarma de PM1 desactivada", + "da": "PM1-alarm blev deaktiveret", + "ru": "Сигнал ТЧ 1 выключен", + "pl": "Alarm o stężeniu PM1 wyłączony", + "ko": "PM1 알람 꺼짐" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_pm1_true", + "highlight": true, + "title": { + "en": "The PM1 alarm turned on", + "nl": "Het PM1 gaat aan", + "de": "Der PM1-Alarm ist angegangen", + "fr": "L'alarme PM1 s'est activée", + "it": "L'allarme PM1 è stato attivato", + "sv": "PM1-larmet aktiverat", + "no": "PM1-alarmen aktivert", + "es": "La alarma de PM1 se ha activado", + "da": "PM1-alarmen blev aktiveret", + "ru": "Сигнал ТЧ 1 включен", + "pl": "Alarm o stężeniu PM1 włączony", + "ko": "PM1 알람 켜짐" + } + }, + { + "id": "alarm_pm1_false", + "title": { + "en": "The PM1 alarm turned off", + "nl": "Het PM1 gaat uit", + "de": "Der PM1-Alarm ist ausgegangen", + "fr": "L'alarme PM1 s'est désactivée", + "it": "L'allarme PM1 è stato disattivato", + "sv": "PM1-larmet inaktiverat", + "no": "PM1-alarmen deaktivert", + "es": "La alarma de PM1 se ha desactivado", + "da": "PM1-alarmen blev deaktiveret", + "ru": "Сигнал ТЧ 1 выключен", + "pl": "Alarm o stężeniu PM1 wyłączony", + "ko": "PM1 알람 꺼짐" + } + } + ], + "conditions": [ + { + "id": "alarm_pm1", + "title": { + "en": "The PM1 alarm is !{{on|off}}", + "nl": "Het PM1 alarm is !{{aan|uit}}", + "de": "Der PM1-Alarm ist !{{an|aus}}", + "fr": "L'alarme PM1 est !{{en marche|arrêtée}}", + "it": "L'allarme PM1 è !{{acceso|spento}}", + "sv": "PM1-larmet är !{{på|av}}", + "no": "PM1-alarmen er !{{på|av}}", + "es": "La alarma de PM1 está !{{activada|desactivada}}", + "da": "PM1-alarmen er !{{tændt|slukket}}", + "ru": "Сигнал ТЧ 1 !{{вкл.|выкл.}}", + "pl": "Alarm o stężeniu PM1 !{{włączony|wyłączony}}", + "ko": "PM1 알람 !{{켬|끔}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pm10.json b/assets/capability/capabilities/alarm_pm10.json new file mode 100755 index 00000000..1c7b231d --- /dev/null +++ b/assets/capability/capabilities/alarm_pm10.json @@ -0,0 +1,121 @@ +{ + "type": "boolean", + "title": { + "en": "PM10 alarm", + "nl": "PM10 alarm", + "de": "PM10-Alarm", + "fr": "Alarme PM10", + "it": "Allarme PM10", + "sv": "PM10-larm", + "no": "PM10-alarm", + "es": "Alarma de PM10", + "da": "PM10-alarm", + "ru": "Сигнал ТЧ 10", + "pl": "Alarm o stężeniu PM10", + "ko": "PM10 알람" + }, + "desc": { + "en": "True when PM10 values exceeds threshold", + "nl": "Gaat af wanneer de PM10 waarde overschreden wordt", + "de": "True, wenn PM10-Werte die Schwelle überschreiten", + "fr": "Vrai si les valeurs PM10 excèdent un seuil", + "it": "Vero quando i valori PM10 superano la soglia", + "sv": "Sant när PM10-värdena överstiger gränsvärdet", + "no": "Sant når PM10-verdiene overskrider grenseverdien", + "es": "Verdadero cuando los valores de PM10 superan el límite", + "da": "Sandt, når PM10-værdier overskrider grænseværdien", + "ru": "Верно при превышении контрольного значения ТЧ 10", + "pl": "Adekwatny, kiedy wykryty zostanie niebezpieczny poziom stężenia PM10", + "ko": "PM10 값이 임계값을 초과하면 참" + }, + "insights": true, + "insightsTitleTrue": { + "en": "PM10 alarm turned on", + "nl": "PM10 alarm ging af", + "de": "PM10-Alarm ist angegangen", + "fr": "Alarme PM10 s'est activée", + "it": "Allarme PM10 attivato", + "sv": "PM10-larm aktiverat", + "no": "PM10-alarm aktivert", + "es": "Alarma de PM10 activada", + "da": "PM10-alarm blev aktiveret", + "ru": "Сигнал ТЧ 10 включен", + "pl": "Alarm o stężeniu PM10 włączony", + "ko": "PM10 알람 켜짐" + }, + "insightsTitleFalse": { + "en": "PM10 alarm turned off", + "nl": "PM10 alarm ging uit", + "de": "PM10-Alarm ist ausgegangen", + "fr": "Alarme PM10 s'est désactivée", + "it": "Allarme PM10 disattivato", + "sv": "PM10-larm inaktiverat", + "no": "PM10-alarm deaktivert", + "es": "Alarma de PM10 desactivada", + "da": "PM10-alarm blev deaktiveret", + "ru": "Сигнал ТЧ 10 выключен", + "pl": "Alarm o stężeniu PM10 wyłączony", + "ko": "PM10 알람 꺼짐" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_pm10_true", + "highlight": true, + "title": { + "en": "The PM10 alarm turned on", + "nl": "Het PM10 gaat aan", + "de": "Der PM10-Alarm ist angegangen", + "fr": "L'alarme PM10 s'est activée", + "it": "L'allarme PM10 è stato attivato", + "sv": "PM10-larmet aktiverat", + "no": "PM10-alarmen aktivert", + "es": "La alarma de PM10 se ha activado", + "da": "PM10-alarmen blev aktiveret", + "ru": "Сигнал ТЧ 10 включен", + "pl": "Alarm o stężeniu PM10 włączony", + "ko": "PM10 알람 켜짐" + } + }, + { + "id": "alarm_pm10_false", + "title": { + "en": "The PM10 alarm turned off", + "nl": "Het PM10 gaat uit", + "de": "Der PM10-Alarm ist ausgegangen", + "fr": "L'alarme PM10 s'est désactivée", + "it": "L'allarme PM10 è stato disattivato", + "sv": "PM10-larmet inaktiverat", + "no": "PM10-alarmen deaktivert", + "es": "La alarma de PM10 se ha desactivado", + "da": "PM10-alarmen blev deaktiveret", + "ru": "Сигнал ТЧ 10 выключен", + "pl": "Alarm o stężeniu PM10 wyłączony", + "ko": "PM10 알람 꺼짐" + } + } + ], + "conditions": [ + { + "id": "alarm_pm10", + "title": { + "en": "The PM10 alarm is !{{on|off}}", + "nl": "Het PM10 alarm is !{{aan|uit}}", + "de": "Der PM10-Alarm ist !{{an|aus}}", + "fr": "L'alarme PM10 est !{{en marche|arrêtée}}", + "it": "L'allarme PM10 è !{{acceso|spento}}", + "sv": "PM10-larmet är !{{på|av}}", + "no": "PM10-alarmen er !{{på|av}}", + "es": "La alarma de PM10 está !{{activada|desactivada}}", + "da": "PM10-alarmen er !{{tændt|slukket}}", + "ru": "Сигнал ТЧ 10 !{{вкл.|выкл.}}", + "pl": "Alarm o stężeniu PM10 !{{włączony|wyłączony}}", + "ko": "PM10 알람 !{{켬|끔}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pm25.json b/assets/capability/capabilities/alarm_pm25.json index 2c7dfb6d..20b1f7a6 100755 --- a/assets/capability/capabilities/alarm_pm25.json +++ b/assets/capability/capabilities/alarm_pm25.json @@ -2,7 +2,7 @@ "type": "boolean", "title": { "en": "PM2.5 alarm", - "nl": "PM2.5 alarm", + "nl": "PM2,5-alarm", "de": "PM2.5-Alarm", "fr": "Alarme PM2.5", "it": "Allarme PM2.5", diff --git a/assets/capability/capabilities/alarm_power.json b/assets/capability/capabilities/alarm_power.json new file mode 100644 index 00000000..1ae19327 --- /dev/null +++ b/assets/capability/capabilities/alarm_power.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Power Alarm", + "nl": "Stroomalarm" + }, + "desc": { + "en": "True when power is detected." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Power Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Power Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_power_true", + "highlight": true, + "title": { + "en": "The power alarm turned on" + } + }, + { + "id": "alarm_power_false", + "title": { + "en": "The power alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_power", + "title": { + "en": "The power alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_presence.json b/assets/capability/capabilities/alarm_presence.json new file mode 100644 index 00000000..e02411f0 --- /dev/null +++ b/assets/capability/capabilities/alarm_presence.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Presence Alarm", + "nl": "Aanwezigheidsalarm" + }, + "desc": { + "en": "True means presence has been detected." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Presence Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Presence Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_presence_true", + "highlight": true, + "title": { + "en": "The presence alarm turned on" + } + }, + { + "id": "alarm_presence_false", + "title": { + "en": "The presence alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_presence", + "title": { + "en": "The presence alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_problem.json b/assets/capability/capabilities/alarm_problem.json new file mode 100644 index 00000000..238254da --- /dev/null +++ b/assets/capability/capabilities/alarm_problem.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Problem Alarm", + "nl": "Probleemalarm" + }, + "desc": { + "en": "True when a problem is detected." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Problem Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Problem Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_problem_true", + "highlight": true, + "title": { + "en": "The problem alarm turned on" + } + }, + { + "id": "alarm_problem_false", + "title": { + "en": "The problem alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_problem", + "title": { + "en": "The problem alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pump_device.json b/assets/capability/capabilities/alarm_pump_device.json new file mode 100644 index 00000000..faf05f28 --- /dev/null +++ b/assets/capability/capabilities/alarm_pump_device.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Pump device fault alarm", + "nl": "Pompapparaatfoutalarm" + }, + "desc": { + "en": "True when a fault is detected in the pump device." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Pump device fault alarm turned on" + }, + "insightsTitleFalse": { + "en": "Pump device fault alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_pump_device_true", + "highlight": true, + "title": { + "en": "The pump device fault alarm turned on" + } + }, + { + "id": "alarm_pump_device_false", + "title": { + "en": "The pump device fault alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_pump_device", + "title": { + "en": "The pump device fault alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pump_supply.json b/assets/capability/capabilities/alarm_pump_supply.json new file mode 100644 index 00000000..f47e402e --- /dev/null +++ b/assets/capability/capabilities/alarm_pump_supply.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Pump supply fault alarm", + "nl": "Pompaanvoerfoutalarm" + }, + "desc": { + "en": "True when a fault is detected in the pump supply." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Pump supply fault alarm turned on" + }, + "insightsTitleFalse": { + "en": "Pump supply fault alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_pump_supply_true", + "highlight": true, + "title": { + "en": "The pump supply fault alarm turned on" + } + }, + { + "id": "alarm_pump_supply_false", + "title": { + "en": "The pump supply fault alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_pump_supply", + "title": { + "en": "The pump supply fault alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_running.json b/assets/capability/capabilities/alarm_running.json new file mode 100644 index 00000000..ad8fea1c --- /dev/null +++ b/assets/capability/capabilities/alarm_running.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Running Alarm", + "nl": "Werkzaamheidsalarm" + }, + "desc": { + "en": "True when running." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Running" + }, + "insightsTitleFalse": { + "en": "Not running" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_running_true", + "highlight": true, + "title": { + "en": "Running" + } + }, + { + "id": "alarm_running_false", + "title": { + "en": "Not running" + } + } + ], + "conditions": [ + { + "id": "alarm_running", + "title": { + "en": "!{{Running|Not running}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_safety.json b/assets/capability/capabilities/alarm_safety.json new file mode 100644 index 00000000..db6197f4 --- /dev/null +++ b/assets/capability/capabilities/alarm_safety.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Safety Alarm", + "nl": "Veiligheidsalarm" + }, + "desc": { + "en": "True when safe." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Safety Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Safety Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_safety_true", + "highlight": true, + "title": { + "en": "The safety alarm turned on" + } + }, + { + "id": "alarm_safety_false", + "title": { + "en": "The safety alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_safety", + "title": { + "en": "The safety alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json b/assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json new file mode 100644 index 00000000..c3ef017c --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner dust bin full", + "nl": "Stofzuigerbak vol" + }, + "desc": { + "en": "True when the vacuum cleaner's dust bin is full." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_bin_full_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner dust bin full" + } + }, + { + "id": "alarm_vacuumcleaner_bin_full_false", + "title": { + "en": "Vacuum cleaner dust bin not full" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_bin_full", + "title": { + "en": "The vacuum cleaner's dust bin is !{{full|not full}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json b/assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json new file mode 100644 index 00000000..f0af5eb1 --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner dust bin missing", + "nl": "Stofzuigerbak ontbreekt" + }, + "desc": { + "en": "True when the vacuum cleaner's dust bin is missing." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_bin_missing_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner dust bin missing" + } + }, + { + "id": "alarm_vacuumcleaner_bin_missing_false", + "title": { + "en": "Vacuum cleaner dust bin found" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_bin_missing", + "title": { + "en": "The vacuum cleaner's dust bin is !{{missing|found}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_lost.json b/assets/capability/capabilities/alarm_vacuumcleaner_lost.json new file mode 100644 index 00000000..c502ad86 --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_lost.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner lost", + "nl": "Stofzuiger verloren" + }, + "desc": { + "en": "True when vacuum cleaner cannot find its dock." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_lost_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner lost" + } + }, + { + "id": "alarm_vacuumcleaner_lost_false", + "title": { + "en": "Vacuum cleaner found" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_lost", + "title": { + "en": "The vacuum cleaner is !{{lost|found}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json b/assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json new file mode 100644 index 00000000..e803d131 --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner cleaning pad missing", + "nl": "Stofzuigerreinigingspad ontbreekt" + }, + "desc": { + "en": "True when the vacuum cleaner's cleaning pad is missing." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_pad_missing_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner cleaning pad missing" + } + }, + { + "id": "alarm_vacuumcleaner_pad_missing_false", + "title": { + "en": "Vacuum cleaner cleaning pad found" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_pad_missing", + "title": { + "en": "The vacuum cleaner's cleaning pad is !{{missing|found}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_stuck.json b/assets/capability/capabilities/alarm_vacuumcleaner_stuck.json new file mode 100644 index 00000000..77a6e33e --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_stuck.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner stuck", + "nl": "Stofzuiger vastgelopen" + }, + "desc": { + "en": "True when vacuum cleaner is stuck." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_stuck_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner stuck" + } + }, + { + "id": "alarm_vacuumcleaner_stuck_false", + "title": { + "en": "Vacuum cleaner not stuck" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_stuck", + "title": { + "en": "The vacuum cleaner is !{{stuck|not stuck}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json b/assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json new file mode 100644 index 00000000..697f46bc --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner water tank empty", + "nl": "Stofzuigerwaterreservoir leeg" + }, + "desc": { + "en": "True when the vacuum cleaner's water tank is empty." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_tank_empty_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner water tank empty" + } + }, + { + "id": "alarm_vacuumcleaner_tank_empty_false", + "title": { + "en": "Vacuum cleaner water tank not empty" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_tank_empty", + "title": { + "en": "The vacuum cleaner's water tank is !{{empty|not empty}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json b/assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json new file mode 100644 index 00000000..2081aa5b --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner water tank missing", + "nl": "Stofzuigerwaterreservoir ontbreekt" + }, + "desc": { + "en": "True when the vacuum cleaner's water tank is missing." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_tank_missing_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner water tank missing" + } + }, + { + "id": "alarm_vacuumcleaner_tank_missing_false", + "title": { + "en": "Vacuum cleaner water tank found" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_tank_missing", + "title": { + "en": "The vacuum cleaner's water tank is !{{missing|found}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json b/assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json new file mode 100644 index 00000000..29df4f56 --- /dev/null +++ b/assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json @@ -0,0 +1,38 @@ +{ + "type": "boolean", + "title": { + "en": "Vacuum cleaner water tank open", + "nl": "Stofzuigerwaterreservoir open" + }, + "desc": { + "en": "True when the vacuum cleaner's water tank is open." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vacuumcleaner_tank_open_true", + "highlight": true, + "title": { + "en": "Vacuum cleaner water tank open" + } + }, + { + "id": "alarm_vacuumcleaner_tank_open_false", + "title": { + "en": "Vacuum cleaner water tank closed" + } + } + ], + "conditions": [ + { + "id": "alarm_vacuumcleaner_tank_open", + "title": { + "en": "The vacuum cleaner's water tank is !{{open|closed}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vibration.json b/assets/capability/capabilities/alarm_vibration.json new file mode 100644 index 00000000..c954cfdd --- /dev/null +++ b/assets/capability/capabilities/alarm_vibration.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Vibration Alarm", + "nl": "Trilalarm" + }, + "desc": { + "en": "True when vibration is detected." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Vibration Alarm turned on" + }, + "insightsTitleFalse": { + "en": "Vibration Alarm turned off" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_vibration_true", + "highlight": true, + "title": { + "en": "The vibration alarm turned on" + } + }, + { + "id": "alarm_vibration_false", + "title": { + "en": "The vibration alarm turned off" + } + } + ], + "conditions": [ + { + "id": "alarm_vibration", + "title": { + "en": "The vibration alarm is !{{on|off}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/audio_output.json b/assets/capability/capabilities/audio_output.json new file mode 100644 index 00000000..8090f618 --- /dev/null +++ b/assets/capability/capabilities/audio_output.json @@ -0,0 +1,99 @@ +{ + "type": "enum", + "title": { + "en": "Audio Output", + "nl": "Audio-uitgang" + }, + "desc": { + "en": "The audio output channel for a media player." + }, + "values": [ + { + "id": "hdmi_1", + "title": { + "en": "HDMI 1" + } + }, + { + "id": "hdmi_2", + "title": { + "en": "HDMI 2" + } + }, + { + "id": "hdmi_3", + "title": { + "en": "HDMI 3" + } + }, + { + "id": "line_out", + "title": { + "en": "Line Out" + } + }, + { + "id": "optical", + "title": { + "en": "Optical" + } + }, + { + "id": "usb", + "title": { + "en": "USB" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "audio_output_changed", + "highlight": true, + "title": { + "en": "The audio output changed to" + }, + "args": [ + { + "name": "output", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "audio_output_is", + "title": { + "en": "The audio output !{{is|is not}}" + }, + "args": [ + { + "name": "output", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "audio_output_set", + "title": { + "en": "Set audio output to" + }, + "args": [ + { + "name": "output", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/carbon_filter.json b/assets/capability/capabilities/carbon_filter.json new file mode 100644 index 00000000..188268f9 --- /dev/null +++ b/assets/capability/capabilities/carbon_filter.json @@ -0,0 +1,34 @@ +{ + "type": "number", + "title": { + "en": "Carbon Filter", + "nl": "Koolstoffilter" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The carbon filter level in percent." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "carbon_filter_changed", + "highlight": true, + "title": { + "en": "The carbon filter level changed to" + }, + "args": [ + { + "name": "level", + "type": "number", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/dishwasher_mode.json b/assets/capability/capabilities/dishwasher_mode.json new file mode 100644 index 00000000..a3214fcd --- /dev/null +++ b/assets/capability/capabilities/dishwasher_mode.json @@ -0,0 +1,51 @@ +{ + "type": "enum", + "title": { + "en": "Dishwasher program", + "nl": "Vaatwasprogramma" + }, + "desc": { + "en": "The current program of the dishwasher." + }, + "values": [ + { + "id": "normal", + "title": { + "en": "Normal" + } + }, + { + "id": "heavy", + "title": { + "en": "Heavy" + } + }, + { + "id": "light", + "title": { + "en": "Light" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "dishwasher_program_changed", + "highlight": true, + "title": { + "en": "The dishwasher program changed to" + }, + "args": [ + { + "name": "program", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/docked.json b/assets/capability/capabilities/docked.json new file mode 100644 index 00000000..6f01c16c --- /dev/null +++ b/assets/capability/capabilities/docked.json @@ -0,0 +1,45 @@ +{ + "type": "boolean", + "title": { + "en": "Docked", + "nl": "Gedockt" + }, + "desc": { + "en": "True when docked." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Docked" + }, + "insightsTitleFalse": { + "en": "Not docked" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "docked_true", + "highlight": true, + "title": { + "en": "Docked" + } + }, + { + "id": "docked_false", + "title": { + "en": "Not docked" + } + } + ], + "conditions": [ + { + "id": "docked", + "title": { + "en": "!{{Docked|Not docked}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/fan_mode.json b/assets/capability/capabilities/fan_mode.json new file mode 100644 index 00000000..e89e0426 --- /dev/null +++ b/assets/capability/capabilities/fan_mode.json @@ -0,0 +1,77 @@ +{ + "type": "enum", + "title": { + "en": "Fan Mode", + "nl": "Ventilatorstand" + }, + "values": [ + { + "key": "auto", + "title": { + "en": "Auto" + } + }, + { + "key": "on", + "title": { + "en": "On" + } + }, + { + "key": "off", + "title": { + "en": "Off" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "fan_mode_changed", + "title": { + "en": "Fan mode has changed" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "fan_mode_is", + "title": { + "en": "Fan mode !{{is|is not}}" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "fan_mode_set", + "title": { + "en": "Set fan mode to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/fan_speed.json b/assets/capability/capabilities/fan_speed.json new file mode 100644 index 00000000..9e01f40b --- /dev/null +++ b/assets/capability/capabilities/fan_speed.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Fan Speed", + "nl": "Ventilatorsnelheid" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The fan speed in percentage." + }, + "insights": true, + "chartType": "spline", + "decimals": 0, + "getable": true, + "setable": true, + "uiComponent": "slider", + "$flow": { + "triggers": [ + { + "id": "fan_speed_changed", + "title": { + "en": "The fan speed changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/heater_operation_mode.json b/assets/capability/capabilities/heater_operation_mode.json new file mode 100644 index 00000000..e45a8278 --- /dev/null +++ b/assets/capability/capabilities/heater_operation_mode.json @@ -0,0 +1,101 @@ +{ + "type": "enum", + "title": { + "en": "Heater Operation Mode", + "nl": "Verwarmingsmodus" + }, + "values": [ + { + "id": "eco", + "title": { + "en": "Eco" + } + }, + { + "id": "electric", + "title": { + "en": "Electric" + } + }, + { + "id": "performance", + "title": { + "en": "Performance" + } + }, + { + "id": "high_demand", + "title": { + "en": "High Demand" + } + }, + { + "id": "heat_pump", + "title": { + "en": "Heat Pump" + } + }, + { + "id": "gas", + "title": { + "en": "Gas" + } + }, + { + "id": "off", + "title": { + "en": "Off" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "heater_operation_mode_changed", + "title": { + "en": "Heater operation mode has changed" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "heater_operation_mode_is", + "title": { + "en": "Heater operation mode !{{is|is not}}" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "heater_operation_mode_set", + "title": { + "en": "Set heater operation mode to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/hepa_filter.json b/assets/capability/capabilities/hepa_filter.json new file mode 100644 index 00000000..cfec82db --- /dev/null +++ b/assets/capability/capabilities/hepa_filter.json @@ -0,0 +1,34 @@ +{ + "type": "number", + "title": { + "en": "HEPA Filter", + "nl": "HEPA-filter" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The HEPA filter level in percent." + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "hepa_filter_changed", + "highlight": true, + "title": { + "en": "The HEPA filter level changed to" + }, + "args": [ + { + "name": "level", + "type": "number", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/hot_water_mode.json b/assets/capability/capabilities/hot_water_mode.json new file mode 100644 index 00000000..1904ebe6 --- /dev/null +++ b/assets/capability/capabilities/hot_water_mode.json @@ -0,0 +1,71 @@ +{ + "type": "enum", + "title": { + "en": "Hot water mode", + "nl": "Warmwatermodus" + }, + "values": [ + { + "key": "on", + "title": { + "en": "On" + } + }, + { + "key": "off", + "title": { + "en": "Off" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "hot_water_mode_changed", + "title": { + "en": "Hot water mode has changed" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "hot_water_mode_is", + "title": { + "en": "Hot water mode !{{is|is not}}" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "hot_water_mode_set", + "title": { + "en": "Set hot water mode to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/keypad_navigation.json b/assets/capability/capabilities/keypad_navigation.json new file mode 100644 index 00000000..1bcd8853 --- /dev/null +++ b/assets/capability/capabilities/keypad_navigation.json @@ -0,0 +1,86 @@ +{ + "type": "boolean", + "title": { + "en": "Keypad navigation", + "nl": "Toetsenbordnavigatie" + }, + "desc": { + "en": "Used to send a button press for navigation keys", + "nl": "Gebruikt om een knopdruk te verzenden voor navigatietoetsen" + }, + "getable": false, + "setable": true, + "$flow": { + "actions": [ + { + "id": "keypad_navigation", + "title": { + "en": "Press navigation button", + "nl": "Druk op navigatieknop" + }, + "args": { + "name": "button", + "type": "dropdown", + "values": [ + { + "id": "up", + "title": { + "en": "Up", + "nl": "Omhoog" + } + }, + { + "id": "down", + "title": { + "en": "Down", + "nl": "Omlaag" + } + }, + { + "id": "left", + "title": { + "en": "Left", + "nl": "Links" + } + }, + { + "id": "right", + "title": { + "en": "Right", + "nl": "Rechts" + } + }, + { + "id": "select", + "title": { + "en": "Select", + "nl": "Selecteer" + } + }, + { + "id": "back", + "title": { + "en": "Back", + "nl": "Terug" + } + }, + { + "id": "exit", + "title": { + "en": "Exit", + "nl": "Afsluiten" + } + }, + { + "id": "menu", + "title": { + "en": "Menu", + "nl": "Menu" + } + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/laundry_washer_cycles.json b/assets/capability/capabilities/laundry_washer_cycles.json new file mode 100644 index 00000000..79e48d6c --- /dev/null +++ b/assets/capability/capabilities/laundry_washer_cycles.json @@ -0,0 +1,87 @@ +{ + "type": "enum", + "title": { + "en": "Laundry washer cycles", + "nl": "Wasmachinecycli" + }, + "desc": { + "en": "The amount of cycles the laundry washer should perform." + }, + "values": [ + { + "id": "none", + "title": { + "en": "None" + } + }, + { + "id": "normal", + "title": { + "en": "Normal" + } + }, + { + "id": "extra", + "title": { + "en": "Extra" + } + }, + { + "id": "max", + "title": { + "en": "Max" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "laundry_washer_cycles_changed", + "highlight": true, + "title": { + "en": "The laundry washer cycles changed to" + }, + "args": [ + { + "name": "cycles", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "laundry_washer_cycles_is", + "title": { + "en": "The laundry washer cycles !{{is|is not}}" + }, + "args": [ + { + "name": "cycles", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "laundry_washer_cycles_set", + "title": { + "en": "Set the laundry washer cycles to" + }, + "args": [ + { + "name": "cycles", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/laundry_washer_mode.json b/assets/capability/capabilities/laundry_washer_mode.json new file mode 100644 index 00000000..18b68935 --- /dev/null +++ b/assets/capability/capabilities/laundry_washer_mode.json @@ -0,0 +1,78 @@ +{ + "type": "enum", + "title": { + "en": "Laundry washer program", + "nl": "Wasprogramma" + }, + "desc": { + "en": "The current program of the laundry washer." + }, + "values": [ + { + "id": "normal", + "title": { + "en": "Normal" + } + }, + { + "id": "auto", + "title": { + "en": "Auto" + } + }, + { + "id": "quick", + "title": { + "en": "Quick" + } + }, + { + "id": "heavy", + "title": { + "en": "Heavy" + } + }, + { + "id": "whites", + "title": { + "en": "Whites" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "laundry_washer_program_changed", + "highlight": true, + "title": { + "en": "The laundry washer program changed to" + }, + "args": [ + { + "name": "program", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "laundry_washer_program_is", + "title": { + "en": "The laundry washer program !{{is|is not}}" + }, + "args": [ + { + "name": "program", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/laundry_washer_speed.json b/assets/capability/capabilities/laundry_washer_speed.json new file mode 100644 index 00000000..71c9b9c3 --- /dev/null +++ b/assets/capability/capabilities/laundry_washer_speed.json @@ -0,0 +1,81 @@ +{ + "type": "enum", + "title": { + "en": "Laundry washer speed", + "nl": "Wasmachinesnelheid" + }, + "desc": { + "en": "The spin speed of the laundry washer." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "laundry_washer_speed_changed", + "highlight": true, + "title": { + "en": "The laundry washer speed changed to" + }, + "args": [ + { + "name": "speed", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "laundry_washer_speed_is", + "title": { + "en": "The laundry washer speed !{{is|is not}}" + }, + "args": [ + { + "name": "speed", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "laundry_washer_speed_set", + "title": { + "en": "Set the laundry washer speed to" + }, + "args": [ + { + "name": "speed", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/lawnmower_state.json b/assets/capability/capabilities/lawnmower_state.json new file mode 100644 index 00000000..c0585703 --- /dev/null +++ b/assets/capability/capabilities/lawnmower_state.json @@ -0,0 +1,91 @@ +{ + "type": "enum", + "title": { + "en": "Lawnmower state", + "nl": "Grasmaaierstatus" + }, + "desc": { + "en": "The current state of the lawnmower." + }, + "values": [ + { + "id": "mowing", + "title": { + "en": "Mowing" + } + }, + { + "id": "docked", + "title": { + "en": "Docked" + } + }, + { + "id": "paused", + "title": { + "en": "Paused" + } + }, + { + "id": "error", + "title": { + "en": "Error" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "lawnmower_state_changed", + "title": { + "en": "The lawnmower state changed" + }, + "tokens": [ + { + "name": "state", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "lawnmower_state_is", + "title": { + "en": "The lawnmower !{{is|is not}}" + }, + "tokens": [ + { + "name": "state", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "lawnmower_state_mow", + "title": { + "en": "Start mowing" + } + }, + { + "id": "lawnmower_state_pause", + "title": { + "en": "Pause mowing" + } + }, + { + "id": "lawnmower_state_dock", + "title": { + "en": "Return to dock" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_aqi.json b/assets/capability/capabilities/level_aqi.json new file mode 100644 index 00000000..02c6e26e --- /dev/null +++ b/assets/capability/capabilities/level_aqi.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "Air quality level", + "nl": "Luchtkwaliteitsniveau" + }, + "desc": { + "en": "The air quality index represented as a level." + }, + "values": [ + { + "id": "good", + "title": { + "en": "Good" + } + }, + { + "id": "poor", + "title": { + "en": "Poor" + } + }, + { + "id": "very_poor", + "title": { + "en": "Very Poor" + } + }, + { + "id": "extremely_poor", + "title": { + "en": "Extremely Poor" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_aqi_changed", + "highlight": true, + "title": { + "en": "The air quality level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_aqi_is", + "title": { + "en": "The air quality !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_carbon_filter.json b/assets/capability/capabilities/level_carbon_filter.json new file mode 100644 index 00000000..88ac3dd6 --- /dev/null +++ b/assets/capability/capabilities/level_carbon_filter.json @@ -0,0 +1,66 @@ +{ + "type": "enum", + "title": { + "en": "Carbon filter level", + "nl": "Koolstoffilterniveau" + }, + "desc": { + "en": "The level of degredation on the active carbon filter." + }, + "values": [ + { + "id": "ok", + "title": { + "en": "OK" + } + }, + { + "id": "warning", + "title": { + "en": "Warning" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_carbon_filter_changed", + "highlight": true, + "title": { + "en": "The carbon filter level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_carbon_filter_is", + "title": { + "en": "The carbon filter level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_ch2o.json b/assets/capability/capabilities/level_ch2o.json new file mode 100644 index 00000000..4ca4a335 --- /dev/null +++ b/assets/capability/capabilities/level_ch2o.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "Formaldehyde Level", + "nl": "Formaldehydeniveau" + }, + "desc": { + "en": "The level of formaldehyde in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_ch2o_changed", + "highlight": true, + "title": { + "en": "The formaldehyde level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_ch2o_is", + "title": { + "en": "The formaldehyde level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_co.json b/assets/capability/capabilities/level_co.json new file mode 100644 index 00000000..279f3826 --- /dev/null +++ b/assets/capability/capabilities/level_co.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "CO level", + "nl": "CO-niveau" + }, + "desc": { + "en": "The level of CO in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_co_changed", + "highlight": true, + "title": { + "en": "The CO level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_co_is", + "title": { + "en": "The CO level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_co2.json b/assets/capability/capabilities/level_co2.json new file mode 100644 index 00000000..14ff956b --- /dev/null +++ b/assets/capability/capabilities/level_co2.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "CO2 Level", + "nl": "CO2-niveau" + }, + "desc": { + "en": "The level of CO2 in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_co2_changed", + "highlight": true, + "title": { + "en": "The CO2 level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_co2_is", + "title": { + "en": "The CO2 level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_hepa_filter.json b/assets/capability/capabilities/level_hepa_filter.json new file mode 100644 index 00000000..f7294617 --- /dev/null +++ b/assets/capability/capabilities/level_hepa_filter.json @@ -0,0 +1,66 @@ +{ + "type": "enum", + "title": { + "en": "HEPA filter level", + "nl": "HEPA-filterniveau" + }, + "desc": { + "en": "The level of degredation on the HEPA filter." + }, + "values": [ + { + "id": "ok", + "title": { + "en": "OK" + } + }, + { + "id": "warning", + "title": { + "en": "Warning" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_hepa_filter_changed", + "highlight": true, + "title": { + "en": "The HEPA filter level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_hepa_filter_is", + "title": { + "en": "The HEPA filter level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_nox.json b/assets/capability/capabilities/level_nox.json new file mode 100644 index 00000000..60191eb5 --- /dev/null +++ b/assets/capability/capabilities/level_nox.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "NOx level", + "nl": "NOx-niveau" + }, + "desc": { + "en": "The level of nitrogen oxides in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_nox_changed", + "highlight": true, + "title": { + "en": "The NOx level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_nox_is", + "title": { + "en": "The NOx level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_o3.json b/assets/capability/capabilities/level_o3.json new file mode 100644 index 00000000..9e919da6 --- /dev/null +++ b/assets/capability/capabilities/level_o3.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "Ozone Level", + "nl": "Ozonniveau" + }, + "desc": { + "en": "The level of ozone in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_o3_changed", + "highlight": true, + "title": { + "en": "The ozone level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_o3_is", + "title": { + "en": "The ozone level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm01.json b/assets/capability/capabilities/level_pm01.json new file mode 100644 index 00000000..614515ce --- /dev/null +++ b/assets/capability/capabilities/level_pm01.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "PM0.1 level", + "nl": "PM0,1 niveau" + }, + "desc": { + "en": "The level of PM0.1 particles in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_pm01_changed", + "highlight": true, + "title": { + "en": "The PM0.1 level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_pm01_is", + "title": { + "en": "The PM0.1 level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm1.json b/assets/capability/capabilities/level_pm1.json new file mode 100644 index 00000000..a64217dc --- /dev/null +++ b/assets/capability/capabilities/level_pm1.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "PM1 level", + "nl": "PM1-niveau" + }, + "desc": { + "en": "The amount of PM1 particles in the air represented by a level." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_pm1_changed", + "highlight": true, + "title": { + "en": "The PM1 level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_pm1_is", + "title": { + "en": "The PM1 level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm10.json b/assets/capability/capabilities/level_pm10.json new file mode 100644 index 00000000..fbdf336e --- /dev/null +++ b/assets/capability/capabilities/level_pm10.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "PM10 level", + "nl": "PM10-niveau" + }, + "desc": { + "en": "The level of PM10 particles in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_pm10_changed", + "highlight": true, + "title": { + "en": "The PM10 level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_pm10_is", + "title": { + "en": "The PM10 level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm25.json b/assets/capability/capabilities/level_pm25.json new file mode 100644 index 00000000..6e80f7a5 --- /dev/null +++ b/assets/capability/capabilities/level_pm25.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "PM2.5 Level", + "nl": "PM2,5-niveau" + }, + "desc": { + "en": "The level of PM2.5 particles in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_pm25_changed", + "highlight": true, + "title": { + "en": "The PM2.5 level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_pm25_is", + "title": { + "en": "The PM2.5 level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_radon.json b/assets/capability/capabilities/level_radon.json new file mode 100644 index 00000000..28fe3255 --- /dev/null +++ b/assets/capability/capabilities/level_radon.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "Radon Level", + "nl": "Radonniveau" + }, + "desc": { + "en": "The level of radioactive radon gas in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_radon_changed", + "highlight": true, + "title": { + "en": "The radon level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_radon_is", + "title": { + "en": "The radon level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_tvoc.json b/assets/capability/capabilities/level_tvoc.json new file mode 100644 index 00000000..299894d1 --- /dev/null +++ b/assets/capability/capabilities/level_tvoc.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "TVOC Level", + "nl": "TVOC-niveau" + }, + "desc": { + "en": "The level of total volatile organic compounds in the air." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + }, + { + "id": "critical", + "title": { + "en": "Critical" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_tvoc_changed", + "highlight": true, + "title": { + "en": "The TVOC level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_tvoc_is", + "title": { + "en": "The TVOC level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/light_hue.json b/assets/capability/capabilities/light_hue.json index 2b8c7977..b673bdb9 100755 --- a/assets/capability/capabilities/light_hue.json +++ b/assets/capability/capabilities/light_hue.json @@ -2,7 +2,7 @@ "type": "number", "title": { "en": "Hue", - "nl": "Hue", + "nl": "Tint", "de": "Farbton", "fr": "Teinte", "it": "Tonalità", diff --git a/assets/capability/capabilities/lock_mode.json b/assets/capability/capabilities/lock_mode.json index 00919988..d859f918 100755 --- a/assets/capability/capabilities/lock_mode.json +++ b/assets/capability/capabilities/lock_mode.json @@ -2,7 +2,7 @@ "type": "enum", "title": { "en": "Lock mode", - "nl": "Slot modus", + "nl": "Vergrendelmodus", "de": "Schloss-Modus", "fr": "Mode verrou", "it": "Modalità serratura", diff --git a/assets/capability/capabilities/measure_aqi.json b/assets/capability/capabilities/measure_aqi.json new file mode 100644 index 00000000..4edd534e --- /dev/null +++ b/assets/capability/capabilities/measure_aqi.json @@ -0,0 +1,35 @@ +{ + "type": "number", + "title": { + "en": "Air Quality Index", + "nl": "Luchtkwaliteitsindex" + }, + "insights": true, + "desc": { + "en": "Air Quality Index" + }, + "chartType": "spline", + "getable": true, + "setable": false, + "uiComponent": "sensor", + "min": 0, + "max": 500, + "$flow": { + "triggers": [ + { + "id": "measure_aqi_changed", + "title": { + "en": "The Air Quality Index changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_ch2o.json b/assets/capability/capabilities/measure_ch2o.json new file mode 100644 index 00000000..ed02779c --- /dev/null +++ b/assets/capability/capabilities/measure_ch2o.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Formaldehyde", + "nl": "Formaldehyde" + }, + "units": { + "en": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Formaldehyde in micrograms per cubic meter (μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_ch2o_changed", + "title": { + "en": "The Formaldehyde level changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_content_volume.json b/assets/capability/capabilities/measure_content_volume.json new file mode 100644 index 00000000..67ef3577 --- /dev/null +++ b/assets/capability/capabilities/measure_content_volume.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Volume", + "nl": "Volume" + }, + "units": { + "en": "L" + }, + "desc": { + "en": "The volume of the content in liters." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_content_volume_changed", + "title": { + "en": "The content volume changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_data_rate.json b/assets/capability/capabilities/measure_data_rate.json new file mode 100644 index 00000000..cec81c48 --- /dev/null +++ b/assets/capability/capabilities/measure_data_rate.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Data Rate", + "nl": "Gegevenssnelheid" + }, + "units": { + "en": "b/s" + }, + "desc": { + "en": "The data rate in bits per second." + }, + "insights": true, + "chartType": "spline", + "decimals": 0, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_data_rate_changed", + "title": { + "en": "The data rate changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 200 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_data_size.json b/assets/capability/capabilities/measure_data_size.json new file mode 100644 index 00000000..82a91c85 --- /dev/null +++ b/assets/capability/capabilities/measure_data_size.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Data Size", + "nl": "Gegevensgrootte" + }, + "units": { + "en": "bytes" + }, + "desc": { + "en": "The data size in bytes." + }, + "insights": true, + "chartType": "spline", + "decimals": 0, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_data_size_changed", + "title": { + "en": "The data size changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 200 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_distance.json b/assets/capability/capabilities/measure_distance.json new file mode 100644 index 00000000..6217d3b6 --- /dev/null +++ b/assets/capability/capabilities/measure_distance.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Distance", + "nl": "Afstand" + }, + "units": { + "en": "m" + }, + "desc": { + "en": "The distance in meters." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_distance_changed", + "title": { + "en": "The distance changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_energy_storage.json b/assets/capability/capabilities/measure_energy_storage.json new file mode 100644 index 00000000..2d1b9c53 --- /dev/null +++ b/assets/capability/capabilities/measure_energy_storage.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Energy Storage", + "nl": "Energieopslag" + }, + "units": { + "en": "Wh" + }, + "desc": { + "en": "The energy storage in watt-hours." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_energy_storage_changed", + "title": { + "en": "The energy storage changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_frequency.json b/assets/capability/capabilities/measure_frequency.json new file mode 100644 index 00000000..41ccc579 --- /dev/null +++ b/assets/capability/capabilities/measure_frequency.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Frequency", + "nl": "Frequentie" + }, + "units": { + "en": "Hz" + }, + "desc": { + "en": "The frequency in hertz." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_frequency_changed", + "title": { + "en": "The frequency changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_gust_angle.json b/assets/capability/capabilities/measure_gust_angle.json index 26b8cdad..62d97bfe 100755 --- a/assets/capability/capabilities/measure_gust_angle.json +++ b/assets/capability/capabilities/measure_gust_angle.json @@ -2,7 +2,7 @@ "type": "number", "title": { "en": "Gust angle", - "nl": "Windstoot richting", + "nl": "Windstootrichting", "de": "Böenrichtung", "fr": "Direction d'un coup de vent", "it": "Angolo delle raffiche", diff --git a/assets/capability/capabilities/measure_gust_strength.json b/assets/capability/capabilities/measure_gust_strength.json index b2e3cced..92eb1912 100755 --- a/assets/capability/capabilities/measure_gust_strength.json +++ b/assets/capability/capabilities/measure_gust_strength.json @@ -2,7 +2,7 @@ "type": "number", "title": { "en": "Gust strength", - "nl": "Windstoot kracht", + "nl": "Windstootkracht", "de": "Böenstärke", "fr": "Force d'un coup de vent", "it": "Intensità delle raffiche", diff --git a/assets/capability/capabilities/measure_moisture.json b/assets/capability/capabilities/measure_moisture.json new file mode 100644 index 00000000..0d4cd1b8 --- /dev/null +++ b/assets/capability/capabilities/measure_moisture.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Moisture", + "nl": "Vochtigheid" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The moisture level in percentage." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_moisture_changed", + "title": { + "en": "The moisture level changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_monetary.json b/assets/capability/capabilities/measure_monetary.json new file mode 100644 index 00000000..45245038 --- /dev/null +++ b/assets/capability/capabilities/measure_monetary.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Monetary value", + "nl": "Monetaire waarde" + }, + "units": { + "en": "€" + }, + "desc": { + "en": "The monetary value with a currency (default: €)." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_monetary_changed", + "title": { + "en": "The monetary value changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_nox.json b/assets/capability/capabilities/measure_nox.json new file mode 100644 index 00000000..58e6a89a --- /dev/null +++ b/assets/capability/capabilities/measure_nox.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "NOx", + "nl": "NOx" + }, + "units": { + "en": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Nitrogen Oxides in micrograms per cubic meter (μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_nox_changed", + "title": { + "en": "The NOx value changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_o3.json b/assets/capability/capabilities/measure_o3.json new file mode 100644 index 00000000..ca0f561d --- /dev/null +++ b/assets/capability/capabilities/measure_o3.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Ozone", + "nl": "Ozon" + }, + "units": { + "en": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Ozone in micrograms per cubic meter (μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_o3_changed", + "title": { + "en": "The Ozone value changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_odor.json b/assets/capability/capabilities/measure_odor.json new file mode 100644 index 00000000..57912534 --- /dev/null +++ b/assets/capability/capabilities/measure_odor.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Odor", + "nl": "Geur" + }, + "units": { + "en": "OU" + }, + "desc": { + "en": "Odor concentration in odor units." + }, + "insights": true, + "chartType": "spline", + "decimals": 0, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_odor_changed", + "title": { + "en": "The odor concentration changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 200 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_ph.json b/assets/capability/capabilities/measure_ph.json new file mode 100644 index 00000000..0034dca9 --- /dev/null +++ b/assets/capability/capabilities/measure_ph.json @@ -0,0 +1,34 @@ +{ + "type": "number", + "title": { + "en": "pH level", + "nl": "pH-waarde" + }, + "desc": { + "en": "The pH level of a aqueous solution." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_ph_changed", + "title": { + "en": "The pH level changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_pm01.json b/assets/capability/capabilities/measure_pm01.json old mode 100644 new mode 100755 index 9f6085c8..f80dd720 --- a/assets/capability/capabilities/measure_pm01.json +++ b/assets/capability/capabilities/measure_pm01.json @@ -2,7 +2,7 @@ "type": "number", "title": { "en": "PM0.1", - "nl": "PM0.1", + "nl": "PM0,1", "de": "PM0.1", "fr": "PM0.1", "it": "PM0.1", diff --git a/assets/capability/capabilities/measure_pm1.json b/assets/capability/capabilities/measure_pm1.json old mode 100644 new mode 100755 diff --git a/assets/capability/capabilities/measure_pm10.json b/assets/capability/capabilities/measure_pm10.json old mode 100644 new mode 100755 diff --git a/assets/capability/capabilities/measure_pm25.json b/assets/capability/capabilities/measure_pm25.json index 9cfec7de..08a560f8 100755 --- a/assets/capability/capabilities/measure_pm25.json +++ b/assets/capability/capabilities/measure_pm25.json @@ -2,7 +2,7 @@ "type": "number", "title": { "en": "PM2.5", - "nl": "PM2.5", + "nl": "PM2,5", "de": "PM2.5", "fr": "PM2.5", "it": "PM2.5", diff --git a/assets/capability/capabilities/measure_radon.json b/assets/capability/capabilities/measure_radon.json new file mode 100644 index 00000000..ac01a949 --- /dev/null +++ b/assets/capability/capabilities/measure_radon.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Radon", + "nl": "Radon" + }, + "units": { + "en": "Bq/m³" + }, + "insights": true, + "desc": { + "en": "Radon in Becquerel per cubic meter (Bq/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_radon_changed", + "title": { + "en": "The Radon value has changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_rain_intensity.json b/assets/capability/capabilities/measure_rain_intensity.json new file mode 100644 index 00000000..bd095af6 --- /dev/null +++ b/assets/capability/capabilities/measure_rain_intensity.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Rain Intensity", + "nl": "Regenintensiteit" + }, + "units": { + "en": "mm/h" + }, + "desc": { + "en": "The rain intensity in millimeters per hour." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_rain_intensity_changed", + "title": { + "en": "The rain intensity changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_rotation.json b/assets/capability/capabilities/measure_rotation.json new file mode 100644 index 00000000..fef6970e --- /dev/null +++ b/assets/capability/capabilities/measure_rotation.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Rotation", + "nl": "Rotatie" + }, + "units": { + "en": "°" + }, + "desc": { + "en": "The rotation in degrees." + }, + "insights": true, + "chartType": "spline", + "decimals": 0, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_rotation_changed", + "title": { + "en": "The rotation changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 200 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_signal_strength.json b/assets/capability/capabilities/measure_signal_strength.json new file mode 100644 index 00000000..2e8adaab --- /dev/null +++ b/assets/capability/capabilities/measure_signal_strength.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Signal Strength", + "nl": "Signaalsterkte" + }, + "units": { + "en": "dB" + }, + "desc": { + "en": "The signal strength in decibels." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_signal_strength_changed", + "title": { + "en": "The signal strength changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_so2.json b/assets/capability/capabilities/measure_so2.json new file mode 100644 index 00000000..c3b66457 --- /dev/null +++ b/assets/capability/capabilities/measure_so2.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "SO2", + "nl": "SO2" + }, + "units": { + "en": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Sulfur dioxide in micrograms per cubic meter (μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_so2_changed", + "title": { + "en": "The SO2 value has changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_speed.json b/assets/capability/capabilities/measure_speed.json new file mode 100644 index 00000000..72defb68 --- /dev/null +++ b/assets/capability/capabilities/measure_speed.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Speed", + "nl": "Snelheid" + }, + "units": { + "en": "m/s" + }, + "desc": { + "en": "The speed in meters per second." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_speed_changed", + "title": { + "en": "The speed changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_temperature.json b/assets/capability/capabilities/measure_temperature.json index 9427a43b..fcc1bb26 100644 --- a/assets/capability/capabilities/measure_temperature.json +++ b/assets/capability/capabilities/measure_temperature.json @@ -45,8 +45,8 @@ "id": "measure_temperature_changed", "highlight": true, "title": { - "en": "The temperature changed", - "nl": "De temperatuur is veranderd", + "en": "The temperature changes", + "nl": "De temperatuur verandert", "de": "Die Temperatur hat sich geändert", "fr": "La température a changé", "it": "La temperatura è cambiata", diff --git a/assets/capability/capabilities/measure_tvoc.json b/assets/capability/capabilities/measure_tvoc.json new file mode 100644 index 00000000..29bdaed4 --- /dev/null +++ b/assets/capability/capabilities/measure_tvoc.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "TVOC", + "nl": "TVOC" + }, + "units": { + "en": "μg/m³" + }, + "insights": true, + "desc": { + "en": "Total volatile organic compounds in micrograms per cubic meter (μg/m³)" + }, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_tvoc_changed", + "title": { + "en": "The TVOC value has changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_tvoc_index.json b/assets/capability/capabilities/measure_tvoc_index.json new file mode 100644 index 00000000..e57c7809 --- /dev/null +++ b/assets/capability/capabilities/measure_tvoc_index.json @@ -0,0 +1,33 @@ +{ + "type": "number", + "title": { + "en": "TVOC index", + "nl": "TVOC-index" + }, + "insights": true, + "desc": { + "en": "Total volatile organic compounds index" + }, + "chartType": "spline", + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_tvoc_index_changed", + "title": { + "en": "The TVOC index value has changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_volume_flow_rate.json b/assets/capability/capabilities/measure_volume_flow_rate.json new file mode 100644 index 00000000..b2c5b15e --- /dev/null +++ b/assets/capability/capabilities/measure_volume_flow_rate.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Flow rate", + "nl": "Doorstroomsnelheid" + }, + "units": { + "en": "m³/h" + }, + "desc": { + "en": "The volume flow rate in cubic meters per hour." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_volume_flow_rate_changed", + "title": { + "en": "The volume flow rate changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_weight.json b/assets/capability/capabilities/measure_weight.json new file mode 100644 index 00000000..12bb9301 --- /dev/null +++ b/assets/capability/capabilities/measure_weight.json @@ -0,0 +1,37 @@ +{ + "type": "number", + "title": { + "en": "Weight", + "nl": "Gewicht" + }, + "units": { + "en": "g" + }, + "desc": { + "en": "Generic mass in grams; weight is used instead of mass to fit with everyday language." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "measure_weight_changed", + "title": { + "en": "The weight changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 2 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/media_input.json b/assets/capability/capabilities/media_input.json new file mode 100644 index 00000000..e190cdaa --- /dev/null +++ b/assets/capability/capabilities/media_input.json @@ -0,0 +1,99 @@ +{ + "type": "enum", + "title": { + "en": "Media Input", + "nl": "Media-input" + }, + "desc": { + "en": "The input channel for a media player" + }, + "values": [ + { + "id": "hdmi_1", + "title": { + "en": "HDMI 1" + } + }, + { + "id": "hdmi_2", + "title": { + "en": "HDMI 2" + } + }, + { + "id": "hdmi_3", + "title": { + "en": "HDMI 3" + } + }, + { + "id": "usb_1", + "title": { + "en": "USB 1" + } + }, + { + "id": "usb_2", + "title": { + "en": "USB 2" + } + }, + { + "id": "component", + "title": { + "en": "Component" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "media_input_changed", + "highlight": true, + "title": { + "en": "The media input changed to" + }, + "args": [ + { + "name": "input", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "media_input_is", + "title": { + "en": "The media input !{{is|is not}}" + }, + "args": [ + { + "name": "input", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "media_input_set", + "title": { + "en": "Set the media input" + }, + "args": [ + { + "name": "input", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/operational_state.json b/assets/capability/capabilities/operational_state.json new file mode 100644 index 00000000..7cc937ec --- /dev/null +++ b/assets/capability/capabilities/operational_state.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "Operational state", + "nl": "Operationele staat" + }, + "desc": { + "en": "The operational state of the appliance." + }, + "values": [ + { + "id": "stopped", + "title": { + "en": "Stopped" + } + }, + { + "id": "running", + "title": { + "en": "Running" + } + }, + { + "id": "paused", + "title": { + "en": "Paused" + } + }, + { + "id": "error", + "title": { + "en": "Error" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "operational_state_changed", + "highlight": true, + "title": { + "en": "The operational state changed to" + }, + "args": [ + { + "name": "state", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "operational_state_is", + "title": { + "en": "The operational state !{{is|is not}}" + }, + "args": [ + { + "name": "state", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/oscillating.json b/assets/capability/capabilities/oscillating.json new file mode 100644 index 00000000..740a8cbe --- /dev/null +++ b/assets/capability/capabilities/oscillating.json @@ -0,0 +1,65 @@ +{ + "type": "boolean", + "title": { + "en": "Oscillating", + "nl": "Oscilleren" + }, + "desc": { + "en": "Enable or disable oscillation." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Oscillation enabled" + }, + "insightsTitleFalse": { + "en": "Oscillation disabled" + }, + "getable": true, + "setable": true, + "uiComponent": "toggle", + "$flow": { + "triggers": [ + { + "id": "oscillating_true", + "highlight": true, + "title": { + "en": "Oscillation enabled" + } + }, + { + "id": "oscillating_false", + "title": { + "en": "Oscillation disabled" + } + } + ], + "conditions": [ + { + "id": "oscillating", + "title": { + "en": "Oscillation is !{{enabled|disabled}}" + } + } + ], + "actions": [ + { + "id": "enable_oscillating", + "title": { + "en": "Enable Oscillation" + } + }, + { + "id": "disable_oscillating", + "title": { + "en": "Disable Oscillation" + } + }, + { + "id": "toggle_oscillating", + "title": { + "en": "Toggle Oscillation" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/pump_mode.json b/assets/capability/capabilities/pump_mode.json new file mode 100644 index 00000000..7278779a --- /dev/null +++ b/assets/capability/capabilities/pump_mode.json @@ -0,0 +1,93 @@ +{ + "type": "enum", + "title": { + "en": "Pump mode", + "nl": "Pompmodus" + }, + "desc": { + "en": "Used to set which setpoint regulates the pump." + }, + "values": [ + { + "id": "constant_pressure", + "title": { + "en": "Constant Pressure" + } + }, + { + "id": "compensated_pressure", + "title": { + "en": "Compensated Pressure" + } + }, + { + "id": "constant_flow", + "title": { + "en": "Constant Flow" + } + }, + { + "id": "constant_speed", + "title": { + "en": "Constant Speed" + } + }, + { + "id": "constant_temperature", + "title": { + "en": "Constant Temperature" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "pump_mode_changed", + "highlight": true, + "title": { + "en": "The pump mode changed to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "pump_mode", + "title": { + "en": "The pump mode !{{is|is not}}" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "set_pump_mode", + "title": { + "en": "Set the pump mode" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/pump_setpoint.json b/assets/capability/capabilities/pump_setpoint.json new file mode 100644 index 00000000..6d64d83d --- /dev/null +++ b/assets/capability/capabilities/pump_setpoint.json @@ -0,0 +1,53 @@ +{ + "type": "number", + "title": { + "en": "Pump setpoint", + "nl": "Pompinstelpunt" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The pump setpoint in percentage." + }, + "insights": true, + "chartType": "spline", + "decimals": 0, + "getable": true, + "setable": true, + "uiComponent": "slider", + "$flow": { + "triggers": [ + { + "id": "pump_setpoint_changed", + "title": { + "en": "The pump setpoint changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ], + "actions": [ + { + "id": "set_pump_setpoint", + "title": { + "en": "Set the pump setpoint" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/refrigerator_mode.json b/assets/capability/capabilities/refrigerator_mode.json new file mode 100644 index 00000000..c25db800 --- /dev/null +++ b/assets/capability/capabilities/refrigerator_mode.json @@ -0,0 +1,81 @@ +{ + "type": "enum", + "title": { + "en": "Refrigerator Mode", + "nl": "Koelkastmodus" + }, + "desc": { + "en": "The mode of the refrigerator." + }, + "values": [ + { + "id": "normal", + "title": { + "en": "Normal" + } + }, + { + "id": "rapid_cooling", + "title": { + "en": "Rapid Cooling" + } + }, + { + "id": "rapid_freezing", + "title": { + "en": "Rapid Freezing" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "refrigerator_mode_changed", + "highlight": true, + "title": { + "en": "The refrigerator mode changed to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "refrigerator_mode", + "title": { + "en": "The refrigerator mode !{{is|is not}}" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "set_refrigerator_mode", + "title": { + "en": "Set the refrigerator mode to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/setpoint_humidity_max.json b/assets/capability/capabilities/setpoint_humidity_max.json new file mode 100644 index 00000000..f56547f5 --- /dev/null +++ b/assets/capability/capabilities/setpoint_humidity_max.json @@ -0,0 +1,54 @@ +{ + "type": "number", + "title": { + "en": "Humidity setpoint max" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The high end of the target humidity level in percent." + }, + "insights": true, + "chartType": "stepLine", + "decimals": 0, + "min": 0, + "max": 100, + "getable": true, + "setable": true, + "uiComponent": "slider", + "$flow": { + "triggers": [ + { + "id": "setpoint_humidity_max_changed", + "title": { + "en": "The setpoint humidity max changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ], + "actions": [ + { + "id": "setpoint_humidity_max_set", + "title": { + "en": "Set the humidity max" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/setpoint_humidity_min.json b/assets/capability/capabilities/setpoint_humidity_min.json new file mode 100644 index 00000000..ef49b45f --- /dev/null +++ b/assets/capability/capabilities/setpoint_humidity_min.json @@ -0,0 +1,54 @@ +{ + "type": "number", + "title": { + "en": "Humidity setpoint min" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The low end of the target humidity level in percent." + }, + "insights": true, + "chartType": "stepLine", + "decimals": 0, + "min": 0, + "max": 100, + "getable": true, + "setable": true, + "uiComponent": "slider", + "$flow": { + "triggers": [ + { + "id": "setpoint_humidity_min_changed", + "title": { + "en": "The setpoint humidity min changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ], + "actions": [ + { + "id": "setpoint_humidity_min_set", + "title": { + "en": "Set the humidity min" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/setpoint_temperature_max.json b/assets/capability/capabilities/setpoint_temperature_max.json new file mode 100644 index 00000000..dbca4079 --- /dev/null +++ b/assets/capability/capabilities/setpoint_temperature_max.json @@ -0,0 +1,55 @@ +{ + "type": "number", + "title": { + "en": "Temperature setpoint max.", + "nl": "Temperatuurinstelpunt max." + }, + "units": { + "en": "°C" + }, + "desc": { + "en": "The high end of the temperature setpoint in degrees Celsius." + }, + "insights": true, + "chartType": "stepLine", + "decimals": 2, + "min": 4, + "max": 35, + "getable": true, + "setable": true, + "uiComponent": "thermostat", + "$flow": { + "triggers": [ + { + "id": "temperature_setpoint_max_changed", + "title": { + "en": "The temperature setpoint max changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 20 + } + ] + } + ], + "actions": [ + { + "id": "temperature_setpoint_max_set", + "title": { + "en": "Set the temperature setpoint max" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 20 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/setpoint_temperature_min.json b/assets/capability/capabilities/setpoint_temperature_min.json new file mode 100644 index 00000000..6991a7ee --- /dev/null +++ b/assets/capability/capabilities/setpoint_temperature_min.json @@ -0,0 +1,55 @@ +{ + "type": "number", + "title": { + "en": "Temperature setpiont min.", + "nl": "Temperatuurinstelpunt min." + }, + "units": { + "en": "°C" + }, + "desc": { + "en": "The low end of the temperature setpoint in degrees Celsius." + }, + "insights": true, + "chartType": "stepLine", + "decimals": 2, + "min": 4, + "max": 35, + "getable": true, + "setable": true, + "uiComponent": "thermostat", + "$flow": { + "triggers": [ + { + "id": "setpoint_temperature_min_changed", + "title": { + "en": "The temperature setpoint min changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 20 + } + ] + } + ], + "actions": [ + { + "id": "setpoint_temperature_min_set", + "title": { + "en": "Set the temperature setpoint min" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 20 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/speaker_repeat.json b/assets/capability/capabilities/speaker_repeat.json index 632268b7..f31d86ba 100755 --- a/assets/capability/capabilities/speaker_repeat.json +++ b/assets/capability/capabilities/speaker_repeat.json @@ -1,6 +1,7 @@ { "title": { "en": "Repeat", + "nl": "Herhalen", "de": "Wiederholen", "fr": "Répéter", "it": "Ripeti", diff --git a/assets/capability/capabilities/speaker_shuffle.json b/assets/capability/capabilities/speaker_shuffle.json index cc2eceaa..fac4ba72 100755 --- a/assets/capability/capabilities/speaker_shuffle.json +++ b/assets/capability/capabilities/speaker_shuffle.json @@ -1,6 +1,7 @@ { "title": { "en": "Shuffle", + "nl": "Shuffle", "de": "Zufallswiedergabe", "fr": "Aléatoire", "it": "Ordine casuale", diff --git a/assets/capability/capabilities/speaker_stop.json b/assets/capability/capabilities/speaker_stop.json new file mode 100644 index 00000000..4390da37 --- /dev/null +++ b/assets/capability/capabilities/speaker_stop.json @@ -0,0 +1,21 @@ +{ + "title": { + "en": "Stop", + "nl": "Stop" + }, + "type" :"boolean", + "getable": false, + "setable": true, + "uiComponent": "media", + "$flow": { + "actions": [ + { + "id": "stop", + "title": { + "en": "Stop", + "nl": "Stop" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/swing_mode.json b/assets/capability/capabilities/swing_mode.json new file mode 100644 index 00000000..ebc65cbf --- /dev/null +++ b/assets/capability/capabilities/swing_mode.json @@ -0,0 +1,77 @@ +{ + "type": "enum", + "title": { + "en": "Swing mode", + "nl": "Zwenkmodus" + }, + "values": [ + { + "key": "vertical", + "title": { + "en": "Vertical" + } + }, + { + "key": "horizontal", + "title": { + "en": "Horizontal" + } + }, + { + "key": "both", + "title": { + "en": "Both" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "swing_mode_changed", + "title": { + "en": "Swing mode has changed" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "swing_mode_is", + "title": { + "en": "Swing mode !{{is|is not}}" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "set_swing_mode", + "title": { + "en": "Set swing mode to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/target_humidity.json b/assets/capability/capabilities/target_humidity.json new file mode 100644 index 00000000..074096d3 --- /dev/null +++ b/assets/capability/capabilities/target_humidity.json @@ -0,0 +1,50 @@ +{ + "type": "number", + "title": { + "en": "Target Humidity", + "nl": "Doelvochtigheid" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The target humidity level in percent." + }, + "getable": true, + "setable": true, + "uiComponent": "slider", + "$flow": { + "triggers": [ + { + "id": "target_humidity_changed", + "title": { + "en": "The target humidity changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ], + "actions": [ + { + "id": "target_humidity_set", + "title": { + "en": "Set the humidity" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/target_temperature_level.json b/assets/capability/capabilities/target_temperature_level.json new file mode 100644 index 00000000..f7ad9a87 --- /dev/null +++ b/assets/capability/capabilities/target_temperature_level.json @@ -0,0 +1,81 @@ +{ + "type": "enum", + "title": { + "en": "Target temperature level", + "nl": "Doeltemperatuurniveau" + }, + "desc": { + "en": "The target temperature level of the appliance." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low" + } + }, + { + "id": "medium", + "title": { + "en": "Medium" + } + }, + { + "id": "high", + "title": { + "en": "High" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "target_temperature_level_changed", + "highlight": true, + "title": { + "en": "The target temperature level changed to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "target_temperature_level_is", + "title": { + "en": "The target temperature level !{{is|is not}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "target_temperature_level_set", + "title": { + "en": "Set the target temperature level to" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/thermostat_mode.json b/assets/capability/capabilities/thermostat_mode.json index 3465749d..aa52f814 100755 --- a/assets/capability/capabilities/thermostat_mode.json +++ b/assets/capability/capabilities/thermostat_mode.json @@ -2,7 +2,7 @@ "type": "enum", "title": { "en": "Thermostat mode", - "nl": "Thermostaat modus", + "nl": "Thermostaatmodus", "de": "Thermostat-Modus", "fr": "Mode thermostat", "it": "Modalità termostato", diff --git a/assets/capability/capabilities/vacuumcleaner_job_mode.json b/assets/capability/capabilities/vacuumcleaner_job_mode.json new file mode 100644 index 00000000..06807cf5 --- /dev/null +++ b/assets/capability/capabilities/vacuumcleaner_job_mode.json @@ -0,0 +1,95 @@ +{ + "type": "enum", + "title": { + "en": "Vacuum cleaner job mode", + "nl": "Stofzuigermodus" + }, + "values": [ + { + "id": "off", + "title": { + "en": "Off" + } + }, + { + "id": "normal", + "title": { + "en": "Normal" + } + }, + { + "id": "hight", + "title": { + "en": "High" + } + }, + { + "id": "turbo", + "title": { + "en": "Turbo" + } + }, + { + "id": "mop", + "title": { + "en": "Mop" + } + }, + { + "id": "auto", + "title": { + "en": "Auto" + } + } + ], + "getable": true, + "setable": true, + "uiComponent": "picker", + "$flow": { + "triggers": [ + { + "id": "vacuumcleaner_job_mode_changed", + "title": { + "en": "Vacuum cleaner job mode has changed" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "vacuumcleaner_job_mode_is", + "title": { + "en": "Vacuum cleaner job mode !{{is|is not}}" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "actions": [ + { + "id": "vacuumcleaner_job_mode_set", + "title": { + "en": "Set vacuum cleaner job mode to" + }, + "args": [ + { + "name": "mode", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/valve_position.json b/assets/capability/capabilities/valve_position.json new file mode 100644 index 00000000..893fdeda --- /dev/null +++ b/assets/capability/capabilities/valve_position.json @@ -0,0 +1,53 @@ +{ + "type": "number", + "title": { + "en": "Valve position", + "nl": "Klepstand" + }, + "units": { + "en": "%" + }, + "desc": { + "en": "The current position of the valve in percent." + }, + "insights": true, + "chartType": "spline", + "decimals": 2, + "getable": true, + "setable": true, + "uiComponent": "slider", + "$flow": { + "triggers": [ + { + "id": "valve_position_changed", + "title": { + "en": "The valve position changed" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ], + "actions": [ + { + "id": "valve_position_set", + "title": { + "en": "Set the valve position" + }, + "tokens": [ + { + "name": "$id", + "title": "$title", + "type": "$type", + "example": 50 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/volume_set.json b/assets/capability/capabilities/volume_set.json index 49ca2d5f..1943221e 100755 --- a/assets/capability/capabilities/volume_set.json +++ b/assets/capability/capabilities/volume_set.json @@ -1,6 +1,7 @@ { "title": { "en": "Set volume", + "nl": "Volume instellen", "de": "Lautstärke setzen", "fr": "Définir le volume", "it": "Imposta il volume", diff --git a/assets/capability/capabilities/windowcoverings_state.json b/assets/capability/capabilities/windowcoverings_state.json index 16db46df..aa08dc6e 100755 --- a/assets/capability/capabilities/windowcoverings_state.json +++ b/assets/capability/capabilities/windowcoverings_state.json @@ -1,7 +1,7 @@ { "title": { "en": "Window coverings state", - "nl": "Raambekleding status", + "nl": "Raambekledingstatus", "de": "Jalousien-Status", "fr": "Etat des stores", "it": "Stato delle tapparelle", diff --git a/assets/capability/capabilities/windowcoverings_tilt_down.json b/assets/capability/capabilities/windowcoverings_tilt_down.json index 93188699..9edf49cf 100755 --- a/assets/capability/capabilities/windowcoverings_tilt_down.json +++ b/assets/capability/capabilities/windowcoverings_tilt_down.json @@ -1,6 +1,7 @@ { "title": { "en": "Window coverings tilt down", + "nl": "Raambekleding kantelt naar beneden", "de": "Jalousien nach unten gekippt", "fr": "Stores baissés", "it": "Tapparelle abbassate", diff --git a/assets/capability/capabilities/windowcoverings_tilt_set.json b/assets/capability/capabilities/windowcoverings_tilt_set.json index eaecd7c2..006b317d 100755 --- a/assets/capability/capabilities/windowcoverings_tilt_set.json +++ b/assets/capability/capabilities/windowcoverings_tilt_set.json @@ -1,6 +1,7 @@ { "title": { "en": "Window coverings tilt set", + "nl": "Raambekledingkanteling instellen", "de": "Jalousien-Kippstellung setzen", "fr": "Définir l'inclinaison des stores", "it": "Imposta l'inclinazione delle tapparelle", diff --git a/assets/capability/capabilities/windowcoverings_tilt_up.json b/assets/capability/capabilities/windowcoverings_tilt_up.json index e7e8dd6e..1fdc0a33 100755 --- a/assets/capability/capabilities/windowcoverings_tilt_up.json +++ b/assets/capability/capabilities/windowcoverings_tilt_up.json @@ -1,6 +1,7 @@ { "title": { "en": "Window coverings tilt up", + "nl": "Raambekleding kantelt naar boven", "de": "Jalousien nach oben gekippt", "fr": "Stores levés", "it": "Tapparelle alzate", From 3a97ed3ccdffbe14016096ca101cafa2ec607859 Mon Sep 17 00:00:00 2001 From: Wouter Kamp Date: Fri, 23 Aug 2024 14:44:44 +0200 Subject: [PATCH 03/10] removed broken capability keypad_navigation, will be added at a later time --- assets/capability/capabilities.json | 1 - .../capabilities/keypad_navigation.json | 86 ------------------- 2 files changed, 87 deletions(-) delete mode 100644 assets/capability/capabilities/keypad_navigation.json diff --git a/assets/capability/capabilities.json b/assets/capability/capabilities.json index d570c837..e7d1831d 100755 --- a/assets/capability/capabilities.json +++ b/assets/capability/capabilities.json @@ -56,7 +56,6 @@ "hepa_filter", "homealarm_state", "hot_water_mode", - "keypad_navigation", "laundry_washer_cycles", "laundry_washer_mode", "laundry_washer_speed", diff --git a/assets/capability/capabilities/keypad_navigation.json b/assets/capability/capabilities/keypad_navigation.json deleted file mode 100644 index 1bcd8853..00000000 --- a/assets/capability/capabilities/keypad_navigation.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Keypad navigation", - "nl": "Toetsenbordnavigatie" - }, - "desc": { - "en": "Used to send a button press for navigation keys", - "nl": "Gebruikt om een knopdruk te verzenden voor navigatietoetsen" - }, - "getable": false, - "setable": true, - "$flow": { - "actions": [ - { - "id": "keypad_navigation", - "title": { - "en": "Press navigation button", - "nl": "Druk op navigatieknop" - }, - "args": { - "name": "button", - "type": "dropdown", - "values": [ - { - "id": "up", - "title": { - "en": "Up", - "nl": "Omhoog" - } - }, - { - "id": "down", - "title": { - "en": "Down", - "nl": "Omlaag" - } - }, - { - "id": "left", - "title": { - "en": "Left", - "nl": "Links" - } - }, - { - "id": "right", - "title": { - "en": "Right", - "nl": "Rechts" - } - }, - { - "id": "select", - "title": { - "en": "Select", - "nl": "Selecteer" - } - }, - { - "id": "back", - "title": { - "en": "Back", - "nl": "Terug" - } - }, - { - "id": "exit", - "title": { - "en": "Exit", - "nl": "Afsluiten" - } - }, - { - "id": "menu", - "title": { - "en": "Menu", - "nl": "Menu" - } - } - ] - } - } - ] - } -} \ No newline at end of file From 21577c7b79a6463849e540d1e12a4892ef5fc3d5 Mon Sep 17 00:00:00 2001 From: Wouter Kamp Date: Thu, 5 Sep 2024 15:54:42 +0200 Subject: [PATCH 04/10] Updated dutch capability translations, fixed bugs in capability definitions --- assets/capability/capabilities.json | 46 ++++++----- .../capabilities/alarm_battery_charging.json | 45 ----------- .../capabilities/alarm_bin_full.json | 51 ++++++++++++ .../capabilities/alarm_bin_missing.json | 51 ++++++++++++ .../alarm_cleaning_pad_missing.json | 51 ++++++++++++ assets/capability/capabilities/alarm_co.json | 10 +-- assets/capability/capabilities/alarm_co2.json | 10 +-- .../capability/capabilities/alarm_cold.json | 20 +++-- .../capabilities/alarm_connectivity.json | 20 +++-- .../capabilities/alarm_dishwasher_door.json | 38 --------- .../capabilities/alarm_door_fault.json | 51 ++++++++++++ assets/capability/capabilities/alarm_gas.json | 18 +++-- .../capabilities/alarm_generic.json | 2 +- .../capability/capabilities/alarm_heat.json | 6 +- .../capability/capabilities/alarm_light.json | 20 +++-- .../capability/capabilities/alarm_lost.json | 51 ++++++++++++ .../capabilities/alarm_moisture.json | 20 +++-- .../capability/capabilities/alarm_noise.json | 20 +++-- .../capabilities/alarm_occupancy.json | 6 +- .../capability/capabilities/alarm_plug.json | 45 ----------- .../capability/capabilities/alarm_power.json | 20 +++-- .../capabilities/alarm_presence.json | 20 +++-- .../capabilities/alarm_problem.json | 20 +++-- .../capabilities/alarm_pump_device.json | 18 +++-- .../capabilities/alarm_pump_supply.json | 18 +++-- .../capabilities/alarm_running.json | 20 +++-- .../capability/capabilities/alarm_safety.json | 20 +++-- .../capability/capabilities/alarm_stuck.json | 51 ++++++++++++ .../capabilities/alarm_tank_empty.json | 51 ++++++++++++ .../capabilities/alarm_tank_missing.json | 51 ++++++++++++ .../capabilities/alarm_tank_open.json | 51 ++++++++++++ .../alarm_vacuumcleaner_bin_full.json | 38 --------- .../alarm_vacuumcleaner_bin_missing.json | 38 --------- .../alarm_vacuumcleaner_lost.json | 38 --------- .../alarm_vacuumcleaner_pad_missing.json | 38 --------- .../alarm_vacuumcleaner_stuck.json | 38 --------- .../alarm_vacuumcleaner_tank_empty.json | 38 --------- .../alarm_vacuumcleaner_tank_missing.json | 38 --------- .../alarm_vacuumcleaner_tank_open.json | 38 --------- .../capabilities/alarm_vibration.json | 20 +++-- .../capability/capabilities/audio_output.json | 32 +++++--- .../capabilities/battery_charging_state.json | 71 +++++++++++++++++ assets/capability/capabilities/dim.json | 6 +- .../capabilities/dishwasher_mode.json | 51 ------------ .../capabilities/dishwasher_program.json | 72 +++++++++++++++++ assets/capability/capabilities/docked.json | 18 +++-- assets/capability/capabilities/fan_mode.json | 20 +++-- assets/capability/capabilities/fan_speed.json | 22 +++++- .../capabilities/heater_operation_mode.json | 32 +++++--- .../capabilities/hot_water_mode.json | 24 ++++-- .../capabilities/laundry_washer_cycles.json | 26 +++--- ..._mode.json => laundry_washer_program.json} | 24 ++++-- .../capabilities/laundry_washer_speed.json | 21 +++-- assets/capability/capabilities/level_aqi.json | 21 +++-- .../capabilities/level_carbon_filter.json | 18 +++-- .../capability/capabilities/level_ch2o.json | 21 +++-- assets/capability/capabilities/level_co.json | 21 +++-- assets/capability/capabilities/level_co2.json | 21 +++-- .../capabilities/level_hepa_filter.json | 18 +++-- assets/capability/capabilities/level_nox.json | 21 +++-- assets/capability/capabilities/level_o3.json | 21 +++-- .../capability/capabilities/level_pm01.json | 21 +++-- assets/capability/capabilities/level_pm1.json | 21 +++-- .../capability/capabilities/level_pm10.json | 21 +++-- .../capability/capabilities/level_pm25.json | 21 +++-- .../capability/capabilities/level_radon.json | 21 +++-- assets/capability/capabilities/level_so2.json | 79 +++++++++++++++++++ .../capability/capabilities/level_tvoc.json | 21 +++-- assets/capability/capabilities/lock_mode.json | 8 +- .../capability/capabilities/measure_aqi.json | 6 +- ...filter.json => measure_carbon_filter.json} | 12 ++- .../capability/capabilities/measure_ch2o.json | 9 ++- .../capability/capabilities/measure_co.json | 2 +- .../capability/capabilities/measure_co2.json | 2 +- .../capabilities/measure_content_volume.json | 9 ++- .../capabilities/measure_data_rate.json | 9 ++- .../capabilities/measure_data_size.json | 9 ++- .../capabilities/measure_distance.json | 9 ++- .../capabilities/measure_energy_storage.json | 37 --------- .../capabilities/measure_frequency.json | 9 ++- .../capabilities/measure_gust_angle.json | 2 +- .../capabilities/measure_gust_strength.json | 2 +- ...a_filter.json => measure_hepa_filter.json} | 9 ++- .../capabilities/measure_moisture.json | 9 ++- .../capabilities/measure_monetary.json | 9 ++- .../capability/capabilities/measure_nox.json | 9 ++- .../capability/capabilities/measure_o3.json | 9 ++- .../capability/capabilities/measure_odor.json | 9 ++- .../capability/capabilities/measure_ph.json | 6 +- .../capability/capabilities/measure_pm25.json | 4 +- .../capabilities/measure_radon.json | 9 ++- .../capabilities/measure_rain_intensity.json | 9 ++- .../capabilities/measure_rotation.json | 11 ++- .../capabilities/measure_signal_strength.json | 9 ++- .../capability/capabilities/measure_so2.json | 9 ++- .../capabilities/measure_speed.json | 9 ++- .../capability/capabilities/measure_tvoc.json | 11 ++- .../capabilities/measure_tvoc_index.json | 8 +- .../capabilities/measure_ultraviolet.json | 2 +- .../measure_volume_flow_rate.json | 37 --------- .../capabilities/measure_water.json | 4 +- .../capabilities/measure_weight.json | 9 ++- .../capabilities/measure_wind_strength.json | 2 +- .../capability/capabilities/media_input.json | 30 ++++--- ...{lawnmower_state.json => mower_state.json} | 4 +- assets/capability/capabilities/onoff.json | 4 +- .../capabilities/operational_state.json | 21 +++-- .../capability/capabilities/oscillating.json | 27 ++++--- assets/capability/capabilities/pump_mode.json | 29 ++++--- .../capabilities/pump_setpoint.json | 19 +++-- .../capabilities/refrigerator_mode.json | 23 ++++-- .../capability/capabilities/swing_mode.json | 18 +++-- .../capabilities/target_humidity.json | 24 +++--- ...dity_max.json => target_humidity_max.json} | 27 ++++--- ...dity_min.json => target_humidity_min.json} | 27 ++++--- .../target_temperature_level.json | 23 ++++-- ...e_max.json => target_temperature_max.json} | 28 ++++--- ...e_min.json => target_temperature_min.json} | 28 ++++--- .../capabilities/thermostat_mode.json | 6 +- .../capabilities/vacuumcleaner_job_mode.json | 29 ++++--- .../capabilities/vacuumcleaner_state.json | 2 +- .../capabilities/valve_position.json | 24 +++--- .../capability/capabilities/volume_set.json | 8 +- .../capabilities/windowcoverings_set.json | 4 +- 124 files changed, 1658 insertions(+), 1096 deletions(-) delete mode 100644 assets/capability/capabilities/alarm_battery_charging.json create mode 100644 assets/capability/capabilities/alarm_bin_full.json create mode 100644 assets/capability/capabilities/alarm_bin_missing.json create mode 100644 assets/capability/capabilities/alarm_cleaning_pad_missing.json delete mode 100644 assets/capability/capabilities/alarm_dishwasher_door.json create mode 100644 assets/capability/capabilities/alarm_door_fault.json create mode 100644 assets/capability/capabilities/alarm_lost.json delete mode 100644 assets/capability/capabilities/alarm_plug.json create mode 100644 assets/capability/capabilities/alarm_stuck.json create mode 100644 assets/capability/capabilities/alarm_tank_empty.json create mode 100644 assets/capability/capabilities/alarm_tank_missing.json create mode 100644 assets/capability/capabilities/alarm_tank_open.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_lost.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_stuck.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json delete mode 100644 assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json create mode 100644 assets/capability/capabilities/battery_charging_state.json delete mode 100644 assets/capability/capabilities/dishwasher_mode.json create mode 100644 assets/capability/capabilities/dishwasher_program.json rename assets/capability/capabilities/{laundry_washer_mode.json => laundry_washer_program.json} (65%) create mode 100644 assets/capability/capabilities/level_so2.json rename assets/capability/capabilities/{carbon_filter.json => measure_carbon_filter.json} (59%) delete mode 100644 assets/capability/capabilities/measure_energy_storage.json rename assets/capability/capabilities/{hepa_filter.json => measure_hepa_filter.json} (67%) delete mode 100644 assets/capability/capabilities/measure_volume_flow_rate.json rename assets/capability/capabilities/{lawnmower_state.json => mower_state.json} (96%) rename assets/capability/capabilities/{setpoint_humidity_max.json => target_humidity_max.json} (55%) rename assets/capability/capabilities/{setpoint_humidity_min.json => target_humidity_min.json} (55%) rename assets/capability/capabilities/{setpoint_temperature_max.json => target_temperature_max.json} (53%) rename assets/capability/capabilities/{setpoint_temperature_min.json => target_temperature_min.json} (54%) diff --git a/assets/capability/capabilities.json b/assets/capability/capabilities.json index e7d1831d..82653d1e 100755 --- a/assets/capability/capabilities.json +++ b/assets/capability/capabilities.json @@ -1,25 +1,27 @@ [ "alarm_battery", - "alarm_battery_charging", + "alarm_bin_full", + "alarm_bin_missing", + "alarm_cleaning_pad_missing", "alarm_co", "alarm_co2", "alarm_cold", "alarm_connectivity", "alarm_contact", - "alarm_dishwasher_door", + "alarm_door_fault", "alarm_fire", "alarm_gas", "alarm_generic", "alarm_heat", "alarm_light", + "alarm_lost", "alarm_moisture", "alarm_motion", "alarm_night", "alarm_noise", "alarm_occupancy", - "alarm_plug", - "alarm_pm1", "alarm_pm01", + "alarm_pm1", "alarm_pm10", "alarm_pm25", "alarm_power", @@ -30,42 +32,36 @@ "alarm_running", "alarm_safety", "alarm_smoke", + "alarm_stuck", "alarm_tamper", - "alarm_vacuumcleaner_bin_full", - "alarm_vacuumcleaner_bin_missing", - "alarm_vacuumcleaner_lost", - "alarm_vacuumcleaner_pad_missing", - "alarm_vacuumcleaner_stuck", - "alarm_vacuumcleaner_tank_empty", - "alarm_vacuumcleaner_tank_missing", - "alarm_vacuumcleaner_tank_open", + "alarm_tank_empty", + "alarm_tank_missing", + "alarm_tank_open", "alarm_vibration", "alarm_water", "audio_output", + "battery_charging_state", "button", - "carbon_filter", "channel_down", "channel_up", "dim", - "dishwasher_mode", + "dishwasher_program", "docked", "fan_mode", "fan_speed", "garagedoor_closed", "heater_operation_mode", - "hepa_filter", + "measure_hepa_filter", "homealarm_state", "hot_water_mode", "laundry_washer_cycles", - "laundry_washer_mode", + "laundry_washer_program", "laundry_washer_speed", - "lawnmower_state", "level_aqi", "level_carbon_filter", "level_ch2o", "level_co", "level_co2", - "level_hepa_filter", "level_nox", "level_o3", "level_pm1", @@ -73,6 +69,7 @@ "level_pm10", "level_pm25", "level_radon", + "level_so2", "level_tvoc", "light_hue", "light_mode", @@ -82,6 +79,7 @@ "locked", "measure_aqi", "measure_battery", + "measure_carbon_filter", "measure_ch2o", "measure_co", "measure_co2", @@ -90,10 +88,10 @@ "measure_data_rate", "measure_data_size", "measure_distance", - "measure_energy_storage", "measure_frequency", "measure_gust_angle", "measure_gust_strength", + "level_hepa_filter", "measure_humidity", "measure_luminance", "measure_moisture", @@ -121,7 +119,6 @@ "measure_tvoc_index", "measure_ultraviolet", "measure_voltage", - "measure_volume_flow_rate", "measure_water", "measure_weight", "measure_wind_angle", @@ -131,16 +128,13 @@ "meter_power", "meter_rain", "meter_water", + "mower_state", "onoff", "operational_state", "oscillating", "pump_mode", "pump_setpoint", "refrigerator_mode", - "setpoint_humidity_max", - "setpoint_humidity_min", - "setpoint_temperature_max", - "setpoint_temperature_min", "speaker_album", "speaker_artist", "speaker_duration", @@ -153,8 +147,12 @@ "speaker_stop", "speaker_track", "swing_mode", + "target_humidity_max", + "target_humidity_min", "target_humidity", "target_temperature_level", + "target_temperature_max", + "target_temperature_min", "target_temperature", "thermostat_mode", "vacuumcleaner_job_mode", diff --git a/assets/capability/capabilities/alarm_battery_charging.json b/assets/capability/capabilities/alarm_battery_charging.json deleted file mode 100644 index 6dad54fd..00000000 --- a/assets/capability/capabilities/alarm_battery_charging.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Battery Charging", - "nl": "Batterij aan het opladen" - }, - "desc": { - "en": "Indicates whether the battery is currently charging." - }, - "insights": true, - "insightsTitleTrue": { - "en": "Battery Charging" - }, - "insightsTitleFalse": { - "en": "Battery Not Charging" - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_battery_charging_true", - "highlight": true, - "title": { - "en": "Started charging" - } - }, - { - "id": "alarm_battery_charging_false", - "title": { - "en": "Stopped charging" - } - } - ], - "conditions": [ - { - "id": "alarm_battery_charging", - "title": { - "en": "!{{is|is not}} charging" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_bin_full.json b/assets/capability/capabilities/alarm_bin_full.json new file mode 100644 index 00000000..89ce7873 --- /dev/null +++ b/assets/capability/capabilities/alarm_bin_full.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Bin full alarm", + "nl": "Afvalbak-vol-alarm" + }, + "desc": { + "en": "True when the bin is full", + "nl": "Gaat af als de afvalbak vol is" + }, + "insights": true, + "insightsTitleTrue": { + "en": "Bin full alarm turned on", + "nl": "Afvalbak-vol-alarm ging af" + }, + "insightsTitleFalse": { + "en": "Bin full alarm turned off", + "nl": "Afvalbak-vol-alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_bin_full_true", + "highlight": true, + "title": { + "en": "The bin full alarm turned on", + "nl": "Het afvalbak-vol-alarm gaat aan" + } + }, + { + "id": "alarm_bin_full_false", + "title": { + "en": "The bin full alarm turned off", + "nl": "Het afvalbak-vol-alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_bin_full", + "title": { + "en": "The bin full alarm is !{{on|off}}", + "nl": "Het afvalbak-vol-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_bin_missing.json b/assets/capability/capabilities/alarm_bin_missing.json new file mode 100644 index 00000000..e59a4c5b --- /dev/null +++ b/assets/capability/capabilities/alarm_bin_missing.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Bin missing alarm", + "nl": "Afvalbak-ontbreekt-alarm" + }, + "desc": { + "en": "True when the bin is missing.", + "nl": "Gaat af als de afvalbak ontbreekt." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Bin missing alarm turned on", + "nl": "Afvalbak-ontbreekt-alarm ging af" + }, + "insightsTitleFalse": { + "en": "Bin missing alarm turned off", + "nl": "Afvalbak-ontbreekt-alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_bin_missing_true", + "highlight": true, + "title": { + "en": "The bin missing alarm turned on", + "nl": "Het afvalbak-ontbreekt-alarm gaat aan" + } + }, + { + "id": "alarm_bin_missing_false", + "title": { + "en": "The bin missing alarm turned off", + "nl": "Het afvalbak-ontbreekt-alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_bin_missing", + "title": { + "en": "The bin missing alarm is !{{on|off}}", + "nl": "Het afvalbak-ontbreekt-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_cleaning_pad_missing.json b/assets/capability/capabilities/alarm_cleaning_pad_missing.json new file mode 100644 index 00000000..23f748e2 --- /dev/null +++ b/assets/capability/capabilities/alarm_cleaning_pad_missing.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Cleaning pad missing alarm", + "nl": "Reinigingspad-ontbreekt-alarm" + }, + "desc": { + "en": "True when the cleaning pad is missing.", + "nl": "Gaat af als het reinigingspad ontbreekt." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Cleaning pad missing alarm turned on", + "nl": "Reinigingspad-ontbreekt-alarm ging af" + }, + "insightsTitleFalse": { + "en": "Cleaning pad missing alarm turned off", + "nl": "Reinigingspad-ontbreekt-alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_pad_missing_true", + "highlight": true, + "title": { + "en": "The cleaning pad missing alarm turned on", + "nl": "Het reinigingspad-ontbreekt-alarm gaat aan" + } + }, + { + "id": "alarm_pad_missing_false", + "title": { + "en": "The cleaning pad missing alarm turned off", + "nl": "Het reigningingspad-ontbreekt-alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_pad_missing", + "title": { + "en": "The cleaning pad missing alarm is !{{on|off}}", + "nl": "Het reigningingspad-ontbreekt-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_co.json b/assets/capability/capabilities/alarm_co.json index 586d376f..51580d1a 100755 --- a/assets/capability/capabilities/alarm_co.json +++ b/assets/capability/capabilities/alarm_co.json @@ -31,7 +31,7 @@ "insights": true, "insightsTitleTrue": { "en": "CO alarm turned on", - "nl": "CO alarm ging af", + "nl": "CO-alarm ging af", "de": "CO-Alarm ist angegangen", "fr": "L'alarme CO est activée", "it": "Allarme CO attivato", @@ -45,7 +45,7 @@ }, "insightsTitleFalse": { "en": "CO alarm turned off", - "nl": "CO alarm ging uit", + "nl": "CO-alarm ging uit", "de": "CO-Alarm ist ausgegangen", "fr": "L'alarme CO est désactivée", "it": "Allarme CO disattivato", @@ -67,7 +67,7 @@ "highlight": true, "title": { "en": "The CO alarm turned on", - "nl": "Het CO alarm gaat aan", + "nl": "Het CO-alarm gaat aan", "de": "Der CO-Alarm ist angegangen", "fr": "L'alarme CO s'est activée", "it": "L'allarme CO è stato attivato", @@ -84,7 +84,7 @@ "id": "alarm_co_false", "title": { "en": "The CO alarm turned off", - "nl": "Het CO alarm gaat uit", + "nl": "Het CO-alarm gaat uit", "de": "Der CO-Alarm ist ausgegangen", "fr": "L'alarme CO s'est désactivée", "it": "L'allarme CO è stato disattivato", @@ -103,7 +103,7 @@ "id": "alarm_co", "title": { "en": "The CO alarm is !{{on|off}}", - "nl": "Het CO alarm is !{{aan|uit}}", + "nl": "Het CO-alarm is !{{aan|uit}}", "de": "Der CO-Alarm ist !{{an|aus}}", "fr": "L'alarme CO est !{{en marche|arrêtée}}", "it": "L'allarme CO è !{{acceso|spento}}", diff --git a/assets/capability/capabilities/alarm_co2.json b/assets/capability/capabilities/alarm_co2.json index 0a66256b..6b5a89c0 100755 --- a/assets/capability/capabilities/alarm_co2.json +++ b/assets/capability/capabilities/alarm_co2.json @@ -29,7 +29,7 @@ "insights": true, "insightsTitleTrue": { "en": "CO2 alarm turned on", - "nl": "CO2 alarm ging af", + "nl": "CO2-alarm ging af", "de": "CO2-Alarm ist angegangen", "fr": "L'alarme CO2 s'est activée", "it": "Allarme CO2 attivato", @@ -43,7 +43,7 @@ }, "insightsTitleFalse": { "en": "CO2 alarm turned off", - "nl": "CO2 alarm ging uit", + "nl": "CO2-alarm ging uit", "de": "CO2-Alarm ist ausgegangen", "fr": "L'alarme CO2 s'est désactivée", "it": "Allarme CO2 disattivato", @@ -65,7 +65,7 @@ "highlight": true, "title": { "en": "The CO2 alarm turned on", - "nl": "Het CO2 alarm gaat aan", + "nl": "Het CO2-alarm gaat aan", "de": "Der CO2-Alarm ist angegangen", "fr": "L'alarme CO2 s'est activée", "it": "L'allarme CO2 è stato attivato", @@ -82,7 +82,7 @@ "id": "alarm_co2_false", "title": { "en": "The CO2 alarm turned off", - "nl": "Het CO2 alarm gaat uit", + "nl": "Het CO2-alarm gaat uit", "de": "Der CO2-Alarm ist ausgegangen", "fr": "L'alarme CO2 s'est désactivée", "it": "L'allarme CO2 è stato disattivato", @@ -101,7 +101,7 @@ "id": "alarm_co2", "title": { "en": "The CO2 alarm is !{{on|off}}", - "nl": "Het CO2 alarm is !{{aan|uit}}", + "nl": "Het CO2-alarm is !{{aan|uit}}", "de": "Der CO2-Alarm ist !{{an|aus}}", "fr": "L'alarme CO2 est !{{en marche|arrêtée}}", "it": "L'allarme CO2 è !{{acceso|spento}}", diff --git a/assets/capability/capabilities/alarm_cold.json b/assets/capability/capabilities/alarm_cold.json index ea86c3c1..50d622e1 100644 --- a/assets/capability/capabilities/alarm_cold.json +++ b/assets/capability/capabilities/alarm_cold.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Cold Alarm", + "en": "Cold alarm", "nl": "Kou-alarm" }, "desc": { - "en": "True when the temperature is too cold." + "en": "True when the temperature is too low.", + "nl": "Gaat af als de temperatuur te laag is." }, "insights": true, "insightsTitleTrue": { - "en": "Cold Alarm turned on" + "en": "Cold alarm turned on", + "nl": "Kou-alarm ging af" }, "insightsTitleFalse": { - "en": "Cold Alarm turned off" + "en": "Cold alarm turned off", + "nl": "Kou-alarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_cold_true", "highlight": true, "title": { - "en": "The cold alarm turned on" + "en": "The cold alarm turned on", + "nl": "Het kou-alarm gaat aan" } }, { "id": "alarm_cold_false", "title": { - "en": "The cold alarm turned off" + "en": "The cold alarm turned off", + "nl": "Het kou-alarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_cold", "title": { - "en": "The cold alarm is !{{on|off}}" + "en": "The cold alarm is !{{on|off}}", + "nl": "Het kou-alarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_connectivity.json b/assets/capability/capabilities/alarm_connectivity.json index 9c1112a9..be183e37 100644 --- a/assets/capability/capabilities/alarm_connectivity.json +++ b/assets/capability/capabilities/alarm_connectivity.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Connectivity Alarm", + "en": "Connectivity alarm", "nl": "Verbindingsalarm" }, "desc": { - "en": "True when disconnected from the network." + "en": "True when disconnected from the network.", + "nl": "Gaat af wanneer het apparaat niet meer verbonden is met het netwerk." }, "insights": true, "insightsTitleTrue": { - "en": "Connectivity Alarm turned on" + "en": "Connectivity alarm turned on", + "nl": "Verbindingsalarm ging af" }, "insightsTitleFalse": { - "en": "Connectivity Alarm turned off" + "en": "Connectivity alarm turned off", + "nl": "Verbindingsalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_connectivity_true", "highlight": true, "title": { - "en": "Has lost connection" + "en": "The connectivity alarm turned on", + "nl": "Het verbindingsalarm gaat aan" } }, { "id": "alarm_connectivity_false", "title": { - "en": "Has established connection" + "en": "The connectivity alarm turned off", + "nl": "Het verbindingsalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_connectivity", "title": { - "en": "The connection is !{{lost|established}}" + "en": "The connectivity alarm is !{{on|off}}", + "nl": "Het verbindingsalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_dishwasher_door.json b/assets/capability/capabilities/alarm_dishwasher_door.json deleted file mode 100644 index 27769098..00000000 --- a/assets/capability/capabilities/alarm_dishwasher_door.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Dishwasher door alarm", - "nl": "Vaatwasserdeuralarm" - }, - "desc": { - "en": "True when there is an issue with the dishwasher door or door lock." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_dishwasher_door_true", - "highlight": true, - "title": { - "en": "The dishwasher door alarm turned on" - } - }, - { - "id": "alarm_dishwasher_door_false", - "title": { - "en": "The dishwasher door alarm turned off" - } - } - ], - "conditions": [ - { - "id": "alarm_dishwasher_door", - "title": { - "en": "The dishwasher door alarm is !{{on|off}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_door_fault.json b/assets/capability/capabilities/alarm_door_fault.json new file mode 100644 index 00000000..69e172ee --- /dev/null +++ b/assets/capability/capabilities/alarm_door_fault.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Door fault alarm", + "nl": "Deur-probleemalarm" + }, + "desc": { + "en": "True when there is an issue with the door or lock.", + "nl": "Gaat af wanneer er een probleem is met de deur of het slot." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Door fault alarm turned on", + "nl": "Deur-probleemalarm ging af" + }, + "insightsTitleFalse": { + "en": "Door fault alarm turned off", + "nl": "Deur-probleemalarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_door_true", + "highlight": true, + "title": { + "en": "The door alarm turned on", + "nl": "Het deur-alarm ging aan" + } + }, + { + "id": "alarm_door_false", + "title": { + "en": "The door alarm turned off", + "nl": "Het deur-alarm ging uit" + } + } + ], + "conditions": [ + { + "id": "alarm_door", + "title": { + "en": "The door alarm is !{{on|off}}", + "nl": "Het deur-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_gas.json b/assets/capability/capabilities/alarm_gas.json index 702dbeab..adcee625 100644 --- a/assets/capability/capabilities/alarm_gas.json +++ b/assets/capability/capabilities/alarm_gas.json @@ -5,14 +5,17 @@ "nl": "Gasalarm" }, "description": { - "en": "True when gas is detected" + "en": "True when gas is detected", + "nl": "Gaat af wanneer gas wordt gedetecteerd" }, "insights": true, "insightsTitleTrue": { - "en": "Gas alarm turned on" + "en": "Gas alarm turned on", + "nl": "Gasalarm ging af" }, "insightsTitleFalse": { - "en": "Gas alarm turned off" + "en": "Gas alarm turned off", + "nl": "Gasalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_gas_true", "highlight": true, "title": { - "en": "The gas alarm turned on" + "en": "The gas alarm turned on", + "nl": "Het gasalarm gaat aan" } }, { "id": "alarm_gas_false", "title": { - "en": "The gas alarm turned off" + "en": "The gas alarm turned off", + "nl": "Het gasalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_gas", "title": { - "en": "The gas alarm is !{{on|off}}" + "en": "The gas alarm is !{{on|off}}", + "nl": "Het gasalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_generic.json b/assets/capability/capabilities/alarm_generic.json index 87c7f834..e3a39947 100755 --- a/assets/capability/capabilities/alarm_generic.json +++ b/assets/capability/capabilities/alarm_generic.json @@ -83,7 +83,7 @@ "id": "alarm_generic_false", "title": { "en": "The generic alarm turned off", - "nl": "Het algemene alarm ging uit", + "nl": "Het algemene alarm gaat uit", "de": "Der allgemeine Alarm ist ausgegangen", "fr": "L'alarme générique s'est désactivée", "it": "L'allarme generico è stato disattivato", diff --git a/assets/capability/capabilities/alarm_heat.json b/assets/capability/capabilities/alarm_heat.json index e870efa0..f05c0d37 100755 --- a/assets/capability/capabilities/alarm_heat.json +++ b/assets/capability/capabilities/alarm_heat.json @@ -67,7 +67,7 @@ "highlight": true, "title": { "en": "The heat alarm turned on", - "nl": "Het hitte alarm gaat aan", + "nl": "Het hitte-alarm gaat aan", "de": "Der Hitze-Alarm ist angegangen", "fr": "L'alarme chaleur s'est activée", "it": "L'allarme di calore è stato attivato", @@ -84,7 +84,7 @@ "id": "alarm_heat_false", "title": { "en": "The heat alarm turned off", - "nl": "Het hitte alarm gaat uit", + "nl": "Het hitte-alarm gaat uit", "de": "Der Hitze-Alarm ist ausgegangen", "fr": "L'alarme chaleur s'est désactivée", "it": "L'allarme di calore è stato disattivato", @@ -103,7 +103,7 @@ "id": "alarm_heat", "title": { "en": "The heat alarm is !{{on|off}}", - "nl": "Het hitte alarm is !{{aan|uit}}", + "nl": "Het hitte-alarm is !{{aan|uit}}", "de": "Der Hitze-Alarm ist !{{an|aus}}", "fr": "L'alarme chaleur est !{{en marche|arrêtée}}", "it": "L'allarme di calore è !{{acceso|spento}}", diff --git a/assets/capability/capabilities/alarm_light.json b/assets/capability/capabilities/alarm_light.json index 16476c5b..2f28e3dd 100644 --- a/assets/capability/capabilities/alarm_light.json +++ b/assets/capability/capabilities/alarm_light.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Light Alarm", + "en": "Light alarm", "nl": "Lichtalarm" }, "desc": { - "en": "True when light is detected." + "en": "True when light is detected.", + "nl": "Gaat af wanneer licht wordt gedetecteerd." }, "insights": true, "insightsTitleTrue": { - "en": "Light Alarm turned on" + "en": "Light alarm turned on", + "nl": "Lichtalarm ging af" }, "insightsTitleFalse": { - "en": "Light Alarm turned off" + "en": "Light alarm turned off", + "nl": "Lichtalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_light_true", "highlight": true, "title": { - "en": "The light alarm turned on" + "en": "The light alarm turned on", + "nl": "Het lichtalarm gaat aan" } }, { "id": "alarm_light_false", "title": { - "en": "The light alarm turned off" + "en": "The light alarm turned off", + "nl": "Het lichtalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_light", "title": { - "en": "The light alarm is !{{on|off}}" + "en": "The light alarm is !{{on|off}}", + "nl": "Het lichtalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_lost.json b/assets/capability/capabilities/alarm_lost.json new file mode 100644 index 00000000..63fefbee --- /dev/null +++ b/assets/capability/capabilities/alarm_lost.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Lost alarm", + "nl": "Verdwaald-alarm" + }, + "desc": { + "en": "True when the device is lost.", + "nl": "Gaat af wanneer het apparaat verdwaald is." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Lost alarm turned on", + "nl": "Verdwaald-alarm ging af" + }, + "insightsTitleFalse": { + "en": "Lost alarm turned off", + "nl": "Verdwaald-alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_lost_true", + "highlight": true, + "title": { + "en": "The lost alarm turned on", + "nl": "Het verdwaald-alarm gaat aan" + } + }, + { + "id": "alarm_lost_false", + "title": { + "en": "The lost alarm turned off", + "nl": "Het verdwaald-alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_lost", + "title": { + "en": "The lost alarm is !{{on|off}}", + "nl": "Het verdwaald-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_moisture.json b/assets/capability/capabilities/alarm_moisture.json index 2aeb1b57..7af9cce8 100644 --- a/assets/capability/capabilities/alarm_moisture.json +++ b/assets/capability/capabilities/alarm_moisture.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Moisture Alarm", + "en": "Moisture alarm", "nl": "Vochtalarm" }, "desc": { - "en": "True when moisture is detected." + "en": "True when moisture is detected.", + "nl": "Gaat af wanneer vocht wordt gedetecteerd." }, "insights": true, "insightsTitleTrue": { - "en": "Moisture Alarm turned on" + "en": "Moisture Alarm turned on", + "nl": "Vochtalarm ging af" }, "insightsTitleFalse": { - "en": "Moisture Alarm turned off" + "en": "Moisture Alarm turned off", + "nl": "Vochtalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_moisture_true", "highlight": true, "title": { - "en": "The moisture alarm turned on" + "en": "The moisture alarm turned on", + "nl": "Het vochtalarm gaat aan" } }, { "id": "alarm_moisture_false", "title": { - "en": "The moisture alarm turned off" + "en": "The moisture alarm turned off", + "nl": "Het vochtalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_moisture", "title": { - "en": "The moisture alarm is !{{on|off}}" + "en": "The moisture alarm is !{{on|off}}", + "nl": "Het vochtalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_noise.json b/assets/capability/capabilities/alarm_noise.json index 29fdffc4..620b547d 100644 --- a/assets/capability/capabilities/alarm_noise.json +++ b/assets/capability/capabilities/alarm_noise.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Noise Alarm", + "en": "Noise alarm", "nl": "Geluidsalarm" }, "desc": { - "en": "True when sound is detected." + "en": "True when sound is detected.", + "nl": "Gaat af wanneer geluid wordt gedetecteerd." }, "insights": true, "insightsTitleTrue": { - "en": "Noise Alarm turned on" + "en": "Noise Alarm turned on", + "nl": "Geluidsalarm ging af" }, "insightsTitleFalse": { - "en": "Noise Alarm turned off" + "en": "Noise Alarm turned off", + "nl": "Geluidsalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_noise_true", "highlight": true, "title": { - "en": "The noise alarm turned on" + "en": "The noise alarm turned on", + "nl": "Het geluidsalarm gaat aan" } }, { "id": "alarm_noise_false", "title": { - "en": "The noise alarm turned off" + "en": "The noise alarm turned off", + "nl": "Het geluidsalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_noise", "title": { - "en": "The noise alarm is !{{on|off}}" + "en": "The noise alarm is !{{on|off}}", + "nl": "Het geluidsalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_occupancy.json b/assets/capability/capabilities/alarm_occupancy.json index 515d4cb5..d5457258 100644 --- a/assets/capability/capabilities/alarm_occupancy.json +++ b/assets/capability/capabilities/alarm_occupancy.json @@ -1,7 +1,7 @@ { "type": "boolean", "title": { - "en": "Occupancy Alarm", + "en": "Occupancy alarm", "nl": "Bezettingsalarm" }, "desc": { @@ -10,11 +10,11 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Occupancy Alarm turned on", + "en": "Occupancy alarm turned on", "nl": "Bezettingsalarm ingeschakeld" }, "insightsTitleFalse": { - "en": "Occupancy Alarm turned off", + "en": "Occupancy alarm turned off", "nl": "Bezettingsalarm uitgeschakeld" }, "getable": true, diff --git a/assets/capability/capabilities/alarm_plug.json b/assets/capability/capabilities/alarm_plug.json deleted file mode 100644 index d4d72345..00000000 --- a/assets/capability/capabilities/alarm_plug.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Plugged in Alarm", - "nl": "Aangesloten-alarm" - }, - "desc": { - "en": "True when plugged in." - }, - "insights": true, - "insightsTitleTrue": { - "en": "Plugged in Alarm turned on" - }, - "insightsTitleFalse": { - "en": "Plugged in Alarm turned off" - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_plug_true", - "highlight": true, - "title": { - "en": "The plugged in alarm turned on" - } - }, - { - "id": "alarm_plug_false", - "title": { - "en": "The plugged in alarm turned off" - } - } - ], - "conditions": [ - { - "id": "alarm_plug", - "title": { - "en": "The plugged in alarm is !{{on|off}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_power.json b/assets/capability/capabilities/alarm_power.json index 1ae19327..102c2a6f 100644 --- a/assets/capability/capabilities/alarm_power.json +++ b/assets/capability/capabilities/alarm_power.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Power Alarm", + "en": "Power alarm", "nl": "Stroomalarm" }, "desc": { - "en": "True when power is detected." + "en": "True when power is detected.", + "nl": "Gaat af wanneer stroom wordt gedetecteerd." }, "insights": true, "insightsTitleTrue": { - "en": "Power Alarm turned on" + "en": "Power alarm turned on", + "nl": "Stroomalarm ging af" }, "insightsTitleFalse": { - "en": "Power Alarm turned off" + "en": "Power alarm turned off", + "nl": "Stroomalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_power_true", "highlight": true, "title": { - "en": "The power alarm turned on" + "en": "The power alarm turned on", + "nl": "Het stroomalarm gaat aan" } }, { "id": "alarm_power_false", "title": { - "en": "The power alarm turned off" + "en": "The power alarm turned off", + "nl": "Het stroomalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_power", "title": { - "en": "The power alarm is !{{on|off}}" + "en": "The power alarm is !{{on|off}}", + "nl": "Het stroomalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_presence.json b/assets/capability/capabilities/alarm_presence.json index e02411f0..cbd72c52 100644 --- a/assets/capability/capabilities/alarm_presence.json +++ b/assets/capability/capabilities/alarm_presence.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Presence Alarm", + "en": "Presence alarm", "nl": "Aanwezigheidsalarm" }, "desc": { - "en": "True means presence has been detected." + "en": "True when presence has been detected.", + "nl": "Gaat af wanneer aanwezigheid wordt gedetecteerd." }, "insights": true, "insightsTitleTrue": { - "en": "Presence Alarm turned on" + "en": "Presence Alarm turned on", + "nl": "Aanwezigheidsalarm ging af" }, "insightsTitleFalse": { - "en": "Presence Alarm turned off" + "en": "Presence Alarm turned off", + "nl": "Aanwezigheidsalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_presence_true", "highlight": true, "title": { - "en": "The presence alarm turned on" + "en": "The presence alarm turned on", + "nl": "Het aanwezigheidsalarm gaat aan" } }, { "id": "alarm_presence_false", "title": { - "en": "The presence alarm turned off" + "en": "The presence alarm turned off", + "nl": "Het aanwezigheidsalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_presence", "title": { - "en": "The presence alarm is !{{on|off}}" + "en": "The presence alarm is !{{on|off}}", + "nl": "Het aanwezigheidsalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_problem.json b/assets/capability/capabilities/alarm_problem.json index 238254da..e2adaf9a 100644 --- a/assets/capability/capabilities/alarm_problem.json +++ b/assets/capability/capabilities/alarm_problem.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Problem Alarm", + "en": "Problem alarm", "nl": "Probleemalarm" }, "desc": { - "en": "True when a problem is detected." + "en": "True when a problem is detected.", + "nl": "Gaat af wanneer een probleem wordt gedetecteerd." }, "insights": true, "insightsTitleTrue": { - "en": "Problem Alarm turned on" + "en": "Problem alarm turned on", + "nl": "Probleemalarm ging af" }, "insightsTitleFalse": { - "en": "Problem Alarm turned off" + "en": "Problem alarm turned off", + "nl": "Probleemalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_problem_true", "highlight": true, "title": { - "en": "The problem alarm turned on" + "en": "The problem alarm turned on", + "nl": "Het probleemalarm gaat aan" } }, { "id": "alarm_problem_false", "title": { - "en": "The problem alarm turned off" + "en": "The problem alarm turned off", + "nl": "Het probleemalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_problem", "title": { - "en": "The problem alarm is !{{on|off}}" + "en": "The problem alarm is !{{on|off}}", + "nl": "Het probleemalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_pump_device.json b/assets/capability/capabilities/alarm_pump_device.json index faf05f28..76378d85 100644 --- a/assets/capability/capabilities/alarm_pump_device.json +++ b/assets/capability/capabilities/alarm_pump_device.json @@ -5,14 +5,17 @@ "nl": "Pompapparaatfoutalarm" }, "desc": { - "en": "True when a fault is detected in the pump device." + "en": "True when a fault is detected in the pump device.", + "nl": "Waar wanneer een fout wordt gedetecteerd in het pompapparaat." }, "insights": true, "insightsTitleTrue": { - "en": "Pump device fault alarm turned on" + "en": "Pump device fault alarm turned on", + "nl": "Pompapparaatfoutalarm ging af" }, "insightsTitleFalse": { - "en": "Pump device fault alarm turned off" + "en": "Pump device fault alarm turned off", + "nl": "Pompapparaatfoutalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_pump_device_true", "highlight": true, "title": { - "en": "The pump device fault alarm turned on" + "en": "The pump device fault alarm turned on", + "nl": "Het pompapparaatfoutalarm gaat aan" } }, { "id": "alarm_pump_device_false", "title": { - "en": "The pump device fault alarm turned off" + "en": "The pump device fault alarm turned off", + "nl": "Het pompapparaatfoutalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_pump_device", "title": { - "en": "The pump device fault alarm is !{{on|off}}" + "en": "The pump device fault alarm is !{{on|off}}", + "nl": "Het pompapparaatfoutalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_pump_supply.json b/assets/capability/capabilities/alarm_pump_supply.json index f47e402e..91a4b9e3 100644 --- a/assets/capability/capabilities/alarm_pump_supply.json +++ b/assets/capability/capabilities/alarm_pump_supply.json @@ -5,14 +5,17 @@ "nl": "Pompaanvoerfoutalarm" }, "desc": { - "en": "True when a fault is detected in the pump supply." + "en": "True when a fault is detected in the pump supply.", + "nl": "Waar wanneer een fout wordt gedetecteerd in de pompaanvoer." }, "insights": true, "insightsTitleTrue": { - "en": "Pump supply fault alarm turned on" + "en": "Pump supply fault alarm turned on", + "nl": "Pompaanvoerfoutalarm ging af" }, "insightsTitleFalse": { - "en": "Pump supply fault alarm turned off" + "en": "Pump supply fault alarm turned off", + "nl": "Pompaanvoerfoutalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_pump_supply_true", "highlight": true, "title": { - "en": "The pump supply fault alarm turned on" + "en": "The pump supply fault alarm turned on", + "nl": "Het pompaanvoerfoutalarm gaat aan" } }, { "id": "alarm_pump_supply_false", "title": { - "en": "The pump supply fault alarm turned off" + "en": "The pump supply fault alarm turned off", + "nl": "Het pompaanvoerfoutalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_pump_supply", "title": { - "en": "The pump supply fault alarm is !{{on|off}}" + "en": "The pump supply fault alarm is !{{on|off}}", + "nl": "Het pompaanvoerfoutalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_running.json b/assets/capability/capabilities/alarm_running.json index ad8fea1c..f5d5d6f1 100644 --- a/assets/capability/capabilities/alarm_running.json +++ b/assets/capability/capabilities/alarm_running.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Running Alarm", + "en": "Running alarm", "nl": "Werkzaamheidsalarm" }, "desc": { - "en": "True when running." + "en": "True when the device is busy (e.g., printer is printing).", + "nl": "Waar wanneer het apparaat bezig is (bijv. printer is aan het printen)." }, "insights": true, "insightsTitleTrue": { - "en": "Running" + "en": "Running alarm turned on", + "nl": "Werkzaamheidsalarm ging aan" }, "insightsTitleFalse": { - "en": "Not running" + "en": "Running alarm turned off", + "nl": "Werkzaamheidsalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_running_true", "highlight": true, "title": { - "en": "Running" + "en": "The running alarm turned on", + "nl": "Het werkzaamheidsalarm gaat aan" } }, { "id": "alarm_running_false", "title": { - "en": "Not running" + "en": "The running alarm turned off", + "nl": "Het werkzaamheidsalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_running", "title": { - "en": "!{{Running|Not running}}" + "en": "The running alarm is !{{on|off}}", + "nl": "Het werkzaamheidsalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_safety.json b/assets/capability/capabilities/alarm_safety.json index db6197f4..dadbfd81 100644 --- a/assets/capability/capabilities/alarm_safety.json +++ b/assets/capability/capabilities/alarm_safety.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Safety Alarm", + "en": "Safety alarm", "nl": "Veiligheidsalarm" }, "desc": { - "en": "True when safe." + "en": "True when unsafe.", + "nl": "Gaat af als het onveilig is." }, "insights": true, "insightsTitleTrue": { - "en": "Safety Alarm turned on" + "en": "Safety alarm turned on", + "nl": "Veiligheidsalarm ging af" }, "insightsTitleFalse": { - "en": "Safety Alarm turned off" + "en": "Safety alarm turned off", + "nl": "Veiligheidsalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_safety_true", "highlight": true, "title": { - "en": "The safety alarm turned on" + "en": "The safety alarm turned on", + "nl": "Het veiligheidsalarm gaat aan" } }, { "id": "alarm_safety_false", "title": { - "en": "The safety alarm turned off" + "en": "The safety alarm turned off", + "nl": "Het veiligheidsalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_safety", "title": { - "en": "The safety alarm is !{{on|off}}" + "en": "The safety alarm is !{{on|off}}", + "nl": "Het veiligheidsalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/alarm_stuck.json b/assets/capability/capabilities/alarm_stuck.json new file mode 100644 index 00000000..47ee87ec --- /dev/null +++ b/assets/capability/capabilities/alarm_stuck.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Stuck alarm", + "nl": "Vastgelopen-alarm" + }, + "desc": { + "en": "True when the device is stuck.", + "nl": "Gaat af als het apparaat is vastgelopen." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Stuck alarm turned on", + "nl": "Vastgelopen-alarm ging af" + }, + "insightsTitleFalse": { + "en": "Stuck alarm turned off", + "nl": "Vastgelopen-alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_stuck_true", + "highlight": true, + "title": { + "en": "The stuck alarm turned on", + "nl": "Het vastgelopen-alarm gaat aan" + } + }, + { + "id": "alarm_stuck_false", + "title": { + "en": "The stuck alarm turned off", + "nl": "Het vastgelopen-alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_stuck", + "title": { + "en": "The stuck alarm is !{{on|off}}", + "nl": "Het vastgelopen-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_tank_empty.json b/assets/capability/capabilities/alarm_tank_empty.json new file mode 100644 index 00000000..24b8ae88 --- /dev/null +++ b/assets/capability/capabilities/alarm_tank_empty.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Tank empty alarm", + "nl": "Tank-leeg-alarm" + }, + "desc": { + "en": "True when the tank is empty.", + "nl": "Gaat af als de tank leeg is." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Tank empty alarm turned on", + "nl": "Tank leeg alarm ging af" + }, + "insightsTitleFalse": { + "en": "Tank empty alarm turned off", + "nl": "Tank leeg alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_tank_empty_true", + "highlight": true, + "title": { + "en": "The tank empty alarm turned on", + "nl": "Het tank leeg alarm gaat aan" + } + }, + { + "id": "alarm_tank_empty_false", + "title": { + "en": "The tank empty alarm turned off", + "nl": "Het tank leeg alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_tank_empty", + "title": { + "en": "The tank empty alarm is !{{on|off}}", + "nl": "Het tank leeg alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_tank_missing.json b/assets/capability/capabilities/alarm_tank_missing.json new file mode 100644 index 00000000..dc82d1e3 --- /dev/null +++ b/assets/capability/capabilities/alarm_tank_missing.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Tank missing alarm", + "nl": "Tank-ontbreekt-alarm" + }, + "desc": { + "en": "True when the tank is missing.", + "nl": "Gaat af als de tank ontbreekt." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Tank missing alarm turned on", + "nl": "Tank-ontbreekt-alarm ging af" + }, + "insightsTitleFalse": { + "en": "Tank missing alarm turned off", + "nl": "Tank-ontbreekt-alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_tank_missing_true", + "highlight": true, + "title": { + "en": "The tank missing alarm turned on", + "nl": "Het tank-ontbreekt-alarm gaat aan" + } + }, + { + "id": "alarm_tank_missing_false", + "title": { + "en": "The tank missing alarm turned off", + "nl": "Het tank-ontbreekt-alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_tank_missing", + "title": { + "en": "The tank missing alarm is !{{on|off}}", + "nl": "Het tank-ontbreekt-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_tank_open.json b/assets/capability/capabilities/alarm_tank_open.json new file mode 100644 index 00000000..7f078e54 --- /dev/null +++ b/assets/capability/capabilities/alarm_tank_open.json @@ -0,0 +1,51 @@ +{ + "type": "boolean", + "title": { + "en": "Tank open alarm", + "nl": "Tank-open-alarm" + }, + "desc": { + "en": "True when the tank is open.", + "nl": "Gaat af als de tank open is." + }, + "insights": true, + "insightsTitleTrue": { + "en": "Tank open alarm turned on", + "nl": "Tank-open-alarm ging af" + }, + "insightsTitleFalse": { + "en": "Tank open alarm turned off", + "nl": "Tank-open-alarm ging uit" + }, + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "alarm_tank_open_true", + "highlight": true, + "title": { + "en": "The tank open alarm turned on", + "nl": "Het tank-open-alarm gaat aan" + } + }, + { + "id": "alarm_tank_open_false", + "title": { + "en": "The tank open alarm turned off", + "nl": "Het tank-open-alarm gaat uit" + } + } + ], + "conditions": [ + { + "id": "alarm_tank_open", + "title": { + "en": "The tank open alarm is !{{on|off}}", + "nl": "Het tank-open-alarm is !{{aan|uit}}" + } + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json b/assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json deleted file mode 100644 index c3ef017c..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_bin_full.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner dust bin full", - "nl": "Stofzuigerbak vol" - }, - "desc": { - "en": "True when the vacuum cleaner's dust bin is full." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_bin_full_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner dust bin full" - } - }, - { - "id": "alarm_vacuumcleaner_bin_full_false", - "title": { - "en": "Vacuum cleaner dust bin not full" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_bin_full", - "title": { - "en": "The vacuum cleaner's dust bin is !{{full|not full}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json b/assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json deleted file mode 100644 index f0af5eb1..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_bin_missing.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner dust bin missing", - "nl": "Stofzuigerbak ontbreekt" - }, - "desc": { - "en": "True when the vacuum cleaner's dust bin is missing." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_bin_missing_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner dust bin missing" - } - }, - { - "id": "alarm_vacuumcleaner_bin_missing_false", - "title": { - "en": "Vacuum cleaner dust bin found" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_bin_missing", - "title": { - "en": "The vacuum cleaner's dust bin is !{{missing|found}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_lost.json b/assets/capability/capabilities/alarm_vacuumcleaner_lost.json deleted file mode 100644 index c502ad86..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_lost.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner lost", - "nl": "Stofzuiger verloren" - }, - "desc": { - "en": "True when vacuum cleaner cannot find its dock." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_lost_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner lost" - } - }, - { - "id": "alarm_vacuumcleaner_lost_false", - "title": { - "en": "Vacuum cleaner found" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_lost", - "title": { - "en": "The vacuum cleaner is !{{lost|found}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json b/assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json deleted file mode 100644 index e803d131..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_pad_missing.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner cleaning pad missing", - "nl": "Stofzuigerreinigingspad ontbreekt" - }, - "desc": { - "en": "True when the vacuum cleaner's cleaning pad is missing." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_pad_missing_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner cleaning pad missing" - } - }, - { - "id": "alarm_vacuumcleaner_pad_missing_false", - "title": { - "en": "Vacuum cleaner cleaning pad found" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_pad_missing", - "title": { - "en": "The vacuum cleaner's cleaning pad is !{{missing|found}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_stuck.json b/assets/capability/capabilities/alarm_vacuumcleaner_stuck.json deleted file mode 100644 index 77a6e33e..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_stuck.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner stuck", - "nl": "Stofzuiger vastgelopen" - }, - "desc": { - "en": "True when vacuum cleaner is stuck." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_stuck_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner stuck" - } - }, - { - "id": "alarm_vacuumcleaner_stuck_false", - "title": { - "en": "Vacuum cleaner not stuck" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_stuck", - "title": { - "en": "The vacuum cleaner is !{{stuck|not stuck}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json b/assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json deleted file mode 100644 index 697f46bc..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_tank_empty.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner water tank empty", - "nl": "Stofzuigerwaterreservoir leeg" - }, - "desc": { - "en": "True when the vacuum cleaner's water tank is empty." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_tank_empty_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner water tank empty" - } - }, - { - "id": "alarm_vacuumcleaner_tank_empty_false", - "title": { - "en": "Vacuum cleaner water tank not empty" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_tank_empty", - "title": { - "en": "The vacuum cleaner's water tank is !{{empty|not empty}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json b/assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json deleted file mode 100644 index 2081aa5b..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_tank_missing.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner water tank missing", - "nl": "Stofzuigerwaterreservoir ontbreekt" - }, - "desc": { - "en": "True when the vacuum cleaner's water tank is missing." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_tank_missing_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner water tank missing" - } - }, - { - "id": "alarm_vacuumcleaner_tank_missing_false", - "title": { - "en": "Vacuum cleaner water tank found" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_tank_missing", - "title": { - "en": "The vacuum cleaner's water tank is !{{missing|found}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json b/assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json deleted file mode 100644 index 29df4f56..00000000 --- a/assets/capability/capabilities/alarm_vacuumcleaner_tank_open.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "type": "boolean", - "title": { - "en": "Vacuum cleaner water tank open", - "nl": "Stofzuigerwaterreservoir open" - }, - "desc": { - "en": "True when the vacuum cleaner's water tank is open." - }, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "alarm_vacuumcleaner_tank_open_true", - "highlight": true, - "title": { - "en": "Vacuum cleaner water tank open" - } - }, - { - "id": "alarm_vacuumcleaner_tank_open_false", - "title": { - "en": "Vacuum cleaner water tank closed" - } - } - ], - "conditions": [ - { - "id": "alarm_vacuumcleaner_tank_open", - "title": { - "en": "The vacuum cleaner's water tank is !{{open|closed}}" - } - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vibration.json b/assets/capability/capabilities/alarm_vibration.json index c954cfdd..49241222 100644 --- a/assets/capability/capabilities/alarm_vibration.json +++ b/assets/capability/capabilities/alarm_vibration.json @@ -1,18 +1,21 @@ { "type": "boolean", "title": { - "en": "Vibration Alarm", + "en": "Vibration alarm", "nl": "Trilalarm" }, "desc": { - "en": "True when vibration is detected." + "en": "True when vibration is detected.", + "nl": "Gaat af wanneer trilling wordt gedetecteerd." }, "insights": true, "insightsTitleTrue": { - "en": "Vibration Alarm turned on" + "en": "Vibration alarm turned on", + "nl": "Trilalarm ging af" }, "insightsTitleFalse": { - "en": "Vibration Alarm turned off" + "en": "Vibration alarm turned off", + "nl": "Trilalarm ging uit" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "alarm_vibration_true", "highlight": true, "title": { - "en": "The vibration alarm turned on" + "en": "The vibration alarm turned on", + "nl": "Het trilalarm gaat aan" } }, { "id": "alarm_vibration_false", "title": { - "en": "The vibration alarm turned off" + "en": "The vibration alarm turned off", + "nl": "Het trilalarm gaat uit" } } ], @@ -37,7 +42,8 @@ { "id": "alarm_vibration", "title": { - "en": "The vibration alarm is !{{on|off}}" + "en": "The vibration alarm is !{{on|off}}", + "nl": "Het trilalarm is !{{aan|uit}}" } } ] diff --git a/assets/capability/capabilities/audio_output.json b/assets/capability/capabilities/audio_output.json index 8090f618..3de55a68 100644 --- a/assets/capability/capabilities/audio_output.json +++ b/assets/capability/capabilities/audio_output.json @@ -5,43 +5,50 @@ "nl": "Audio-uitgang" }, "desc": { - "en": "The audio output channel for a media player." + "en": "The audio output channel for a media player.", + "nl": "Het audio-uitgangskanaal voor een mediaspeler." }, "values": [ { "id": "hdmi_1", "title": { - "en": "HDMI 1" + "en": "HDMI 1", + "nl": "HDMI 1" } }, { "id": "hdmi_2", "title": { - "en": "HDMI 2" + "en": "HDMI 2", + "nl": "HDMI 2" } }, { "id": "hdmi_3", "title": { - "en": "HDMI 3" + "en": "HDMI 3", + "nl": "HDMI 3" } }, { "id": "line_out", "title": { - "en": "Line Out" + "en": "Line Out", + "nl": "Lijnuitgang" } }, { "id": "optical", "title": { - "en": "Optical" + "en": "Optical", + "nl": "Optisch" } }, { "id": "usb", "title": { - "en": "USB" + "en": "USB", + "nl": "USB" } } ], @@ -54,7 +61,8 @@ "id": "audio_output_changed", "highlight": true, "title": { - "en": "The audio output changed to" + "en": "The audio output changed to", + "nl": "De audio-uitgang is veranderd naar" }, "args": [ { @@ -69,7 +77,8 @@ { "id": "audio_output_is", "title": { - "en": "The audio output !{{is|is not}}" + "en": "The audio output !{{is|is not}}", + "nl": "De audio-uitgang !{{is|is niet}}" }, "args": [ { @@ -82,9 +91,10 @@ ], "actions": [ { - "id": "audio_output_set", + "id": "set_audio_output", "title": { - "en": "Set audio output to" + "en": "Set audio output to", + "nl": "Stel audio-uitgang in op" }, "args": [ { diff --git a/assets/capability/capabilities/battery_charging_state.json b/assets/capability/capabilities/battery_charging_state.json new file mode 100644 index 00000000..3b4a1d5e --- /dev/null +++ b/assets/capability/capabilities/battery_charging_state.json @@ -0,0 +1,71 @@ +{ + "type": "enum", + "title": { + "en": "Battery charging state", + "nl": "Batterij oplaadstatus" + }, + "desc": { + "en": "The current charging state of the battery.", + "nl": "De huidige oplaadstatus van de batterij." + }, + "values": [ + { + "id": "charging", + "title": { + "en": "Charging", + "nl": "Opladen" + } + }, + { + "id": "discharging", + "title": { + "en": "Discharging", + "nl": "Ontladen" + } + }, + { + "id": "idle", + "title": { + "en": "Idle", + "nl": "Inactief" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "battery_charging_state_changed", + "title": { + "en": "The battery charging state changed", + "nl": "De batterij oplaadstatus is veranderd" + }, + "args": [ + { + "name": "state", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "battery_charging_state_is", + "title": { + "en": "The battery charging state is", + "nl": "De batterij oplaadstatus is" + }, + "args": [ + { + "name": "state", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/dim.json b/assets/capability/capabilities/dim.json index ea754489..8f1f845a 100755 --- a/assets/capability/capabilities/dim.json +++ b/assets/capability/capabilities/dim.json @@ -31,8 +31,8 @@ { "id": "dim_changed", "title": { - "en": "Dim-level changed", - "nl": "Dim-niveau veranderd", + "en": "The dim level changed", + "nl": "Het dim-niveau is veranderd", "de": "Dimm-Niveau geändert", "fr": "Intensité lumineuse a été modifiée", "it": "Intensità luminosa modificata", @@ -103,7 +103,7 @@ "id": "dim_relative", "title": { "en": "Set relative dim-level", - "nl": "Zet relatief dim-niveau", + "nl": "Zet relatief dim-niveau op", "de": "Relatives Dimm-Niveau setzen", "fr": "Définir l'intensité lumineuse sur relative", "it": "Imposta intensità luminosa su relativa", diff --git a/assets/capability/capabilities/dishwasher_mode.json b/assets/capability/capabilities/dishwasher_mode.json deleted file mode 100644 index a3214fcd..00000000 --- a/assets/capability/capabilities/dishwasher_mode.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "type": "enum", - "title": { - "en": "Dishwasher program", - "nl": "Vaatwasprogramma" - }, - "desc": { - "en": "The current program of the dishwasher." - }, - "values": [ - { - "id": "normal", - "title": { - "en": "Normal" - } - }, - { - "id": "heavy", - "title": { - "en": "Heavy" - } - }, - { - "id": "light", - "title": { - "en": "Light" - } - } - ], - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "dishwasher_program_changed", - "highlight": true, - "title": { - "en": "The dishwasher program changed to" - }, - "args": [ - { - "name": "program", - "type": "dropdown", - "values": "$values" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/dishwasher_program.json b/assets/capability/capabilities/dishwasher_program.json new file mode 100644 index 00000000..06848fa2 --- /dev/null +++ b/assets/capability/capabilities/dishwasher_program.json @@ -0,0 +1,72 @@ +{ + "type": "enum", + "title": { + "en": "Dishwasher program", + "nl": "Vaatwasprogramma" + }, + "desc": { + "en": "The current program of the dishwasher.", + "nl": "Het huidige programma van de vaatwasser." + }, + "values": [ + { + "id": "normal", + "title": { + "en": "Normal", + "nl": "Normaal" + } + }, + { + "id": "heavy", + "title": { + "en": "Heavy", + "nl": "Zwaar" + } + }, + { + "id": "light", + "title": { + "en": "Light", + "nl": "Licht" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "dishwasher_program_changed", + "highlight": true, + "title": { + "en": "The dishwasher program changed to", + "nl": "Het vaatwasprogramma is veranderd naar" + }, + "args": [ + { + "name": "program", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "dishwasher_program_is", + "title": { + "en": "The dishwasher program is", + "nl": "Het vaatwasprogramma is" + }, + "args": [ + { + "name": "program", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/docked.json b/assets/capability/capabilities/docked.json index 6f01c16c..8e1307cd 100644 --- a/assets/capability/capabilities/docked.json +++ b/assets/capability/capabilities/docked.json @@ -5,14 +5,17 @@ "nl": "Gedockt" }, "desc": { - "en": "True when docked." + "en": "True when docked.", + "nl": "Gaat af wanneer gedockt." }, "insights": true, "insightsTitleTrue": { - "en": "Docked" + "en": "Docked", + "nl": "Gedockt" }, "insightsTitleFalse": { - "en": "Not docked" + "en": "Not docked", + "nl": "Niet gedockt" }, "getable": true, "setable": false, @@ -23,13 +26,15 @@ "id": "docked_true", "highlight": true, "title": { - "en": "Docked" + "en": "Docked", + "nl": "Gedockt" } }, { "id": "docked_false", "title": { - "en": "Not docked" + "en": "Not docked", + "nl": "Niet gedockt" } } ], @@ -37,7 +42,8 @@ { "id": "docked", "title": { - "en": "!{{Docked|Not docked}}" + "en": "Is !{{Docked|Not docked}}", + "nl": "Is !{{Gedockt|Niet gedockt}}" } } ] diff --git a/assets/capability/capabilities/fan_mode.json b/assets/capability/capabilities/fan_mode.json index e89e0426..6942df51 100644 --- a/assets/capability/capabilities/fan_mode.json +++ b/assets/capability/capabilities/fan_mode.json @@ -8,19 +8,22 @@ { "key": "auto", "title": { - "en": "Auto" + "en": "Auto", + "nl": "Automatisch" } }, { "key": "on", "title": { - "en": "On" + "en": "On", + "nl": "Aan" } }, { "key": "off", "title": { - "en": "Off" + "en": "Off", + "nl": "Uit" } } ], @@ -32,7 +35,8 @@ { "id": "fan_mode_changed", "title": { - "en": "Fan mode has changed" + "en": "The fan mode has changed to", + "nl": "De ventilatorstand is veranderd naar" }, "args": [ { @@ -47,7 +51,8 @@ { "id": "fan_mode_is", "title": { - "en": "Fan mode !{{is|is not}}" + "en": "The fan mode !{{is|is not}}", + "nl": "De ventilatorstand !{{is|is niet}}" }, "args": [ { @@ -60,9 +65,10 @@ ], "actions": [ { - "id": "fan_mode_set", + "id": "set_fan_mode", "title": { - "en": "Set fan mode to" + "en": "Set fan mode to", + "nl": "Stel ventilatorstand in op" }, "args": [ { diff --git a/assets/capability/capabilities/fan_speed.json b/assets/capability/capabilities/fan_speed.json index 9e01f40b..c6db26c2 100644 --- a/assets/capability/capabilities/fan_speed.json +++ b/assets/capability/capabilities/fan_speed.json @@ -8,7 +8,8 @@ "en": "%" }, "desc": { - "en": "The fan speed in percentage." + "en": "The fan speed in percentage.", + "nl": "De ventilatorsnelheid in procent." }, "insights": true, "chartType": "spline", @@ -21,7 +22,8 @@ { "id": "fan_speed_changed", "title": { - "en": "The fan speed changed" + "en": "The fan speed changed", + "nl": "De ventilatorsnelheid is veranderd" }, "tokens": [ { @@ -32,6 +34,22 @@ } ] } + ], + "actions": [ + { + "id": "set_fan_speed", + "title": { + "en": "Set the fan speed to", + "nl": "Stel de ventilatorsnelheid in op" + }, + "args": [ + { + "name": "speed", + "type": "number", + "example": 50 + } + ] + } ] } } \ No newline at end of file diff --git a/assets/capability/capabilities/heater_operation_mode.json b/assets/capability/capabilities/heater_operation_mode.json index e45a8278..ac7fd3a7 100644 --- a/assets/capability/capabilities/heater_operation_mode.json +++ b/assets/capability/capabilities/heater_operation_mode.json @@ -8,43 +8,50 @@ { "id": "eco", "title": { - "en": "Eco" + "en": "Eco", + "nl": "Eco" } }, { "id": "electric", "title": { - "en": "Electric" + "en": "Electric", + "nl": "Elektrisch" } }, { "id": "performance", "title": { - "en": "Performance" + "en": "Performance", + "nl": "Prestatie" } }, { "id": "high_demand", "title": { - "en": "High Demand" + "en": "High Demand", + "nl": "Hoog verbruik" } }, { "id": "heat_pump", "title": { - "en": "Heat Pump" + "en": "Heat Pump", + "nl": "Warmtepomp" } }, { "id": "gas", "title": { - "en": "Gas" + "en": "Gas", + "nl": "Gas" } }, { "id": "off", "title": { - "en": "Off" + "en": "Off", + "nl": "Uit" } } ], @@ -56,7 +63,8 @@ { "id": "heater_operation_mode_changed", "title": { - "en": "Heater operation mode has changed" + "en": "The heater operation mode has changed to", + "nl": "De verwarmingsmodus is veranderd naar" }, "args": [ { @@ -71,7 +79,8 @@ { "id": "heater_operation_mode_is", "title": { - "en": "Heater operation mode !{{is|is not}}" + "en": "The heater operation mode !{{is|is not}}", + "nl": "De verwarmingsmodus !{{is|is niet}}" }, "args": [ { @@ -84,9 +93,10 @@ ], "actions": [ { - "id": "heater_operation_mode_set", + "id": "set_heater_operation_mode", "title": { - "en": "Set heater operation mode to" + "en": "Set the heater operation mode to", + "nl": "Stel de verwarmingsmodus in op" }, "args": [ { diff --git a/assets/capability/capabilities/hot_water_mode.json b/assets/capability/capabilities/hot_water_mode.json index 1904ebe6..13cd809d 100644 --- a/assets/capability/capabilities/hot_water_mode.json +++ b/assets/capability/capabilities/hot_water_mode.json @@ -8,13 +8,22 @@ { "key": "on", "title": { - "en": "On" + "en": "On", + "nl": "Aan" } }, { "key": "off", "title": { - "en": "Off" + "en": "Off", + "nl": "Uit" + } + }, + { + "key": "eco", + "title": { + "en": "Eco", + "nl": "Eco" } } ], @@ -26,7 +35,8 @@ { "id": "hot_water_mode_changed", "title": { - "en": "Hot water mode has changed" + "en": "The hot water mode has changed to", + "nl": "De warmwatermodus is veranderd naar" }, "args": [ { @@ -41,7 +51,8 @@ { "id": "hot_water_mode_is", "title": { - "en": "Hot water mode !{{is|is not}}" + "en": "The hot water mode !{{is|is not}}", + "nl": "De warmwatermodus !{{is|is niet}}" }, "args": [ { @@ -54,9 +65,10 @@ ], "actions": [ { - "id": "hot_water_mode_set", + "id": "set_hot_water_mode", "title": { - "en": "Set hot water mode to" + "en": "Set the hot water mode to", + "nl": "Stel de warmwatermodus in op" }, "args": [ { diff --git a/assets/capability/capabilities/laundry_washer_cycles.json b/assets/capability/capabilities/laundry_washer_cycles.json index 79e48d6c..d6c719d7 100644 --- a/assets/capability/capabilities/laundry_washer_cycles.json +++ b/assets/capability/capabilities/laundry_washer_cycles.json @@ -5,31 +5,36 @@ "nl": "Wasmachinecycli" }, "desc": { - "en": "The amount of cycles the laundry washer should perform." + "en": "The amount of cycles the laundry washer should perform.", + "nl": "Het aantal cycli dat de wasmachine moet uitvoeren." }, "values": [ { "id": "none", "title": { - "en": "None" + "en": "None", + "nl": "Geen" } }, { "id": "normal", "title": { - "en": "Normal" + "en": "Normal", + "nl": "Normaal" } }, { "id": "extra", "title": { - "en": "Extra" + "en": "Extra", + "nl": "Extra" } }, { "id": "max", "title": { - "en": "Max" + "en": "Max", + "nl": "Max" } } ], @@ -42,7 +47,8 @@ "id": "laundry_washer_cycles_changed", "highlight": true, "title": { - "en": "The laundry washer cycles changed to" + "en": "The laundry washer cycles changed to", + "nl": "De wasmachinecycli zijn veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "laundry_washer_cycles_is", "title": { - "en": "The laundry washer cycles !{{is|is not}}" + "en": "The laundry washer cycles !{{is|is not}}", + "nl": "De wasmachinecycli !{{is|is niet}}" }, "args": [ { @@ -70,9 +77,10 @@ ], "actions": [ { - "id": "laundry_washer_cycles_set", + "id": "set_laundry_washer_cycles", "title": { - "en": "Set the laundry washer cycles to" + "en": "Set the laundry washer cycles to", + "nl": "Stel de wasmachinecycli in op" }, "args": [ { diff --git a/assets/capability/capabilities/laundry_washer_mode.json b/assets/capability/capabilities/laundry_washer_program.json similarity index 65% rename from assets/capability/capabilities/laundry_washer_mode.json rename to assets/capability/capabilities/laundry_washer_program.json index 18b68935..787b6c5c 100644 --- a/assets/capability/capabilities/laundry_washer_mode.json +++ b/assets/capability/capabilities/laundry_washer_program.json @@ -5,37 +5,43 @@ "nl": "Wasprogramma" }, "desc": { - "en": "The current program of the laundry washer." + "en": "The current program of the laundry washer.", + "nl": "Het huidige programma van de wasmachine." }, "values": [ { "id": "normal", "title": { - "en": "Normal" + "en": "Normal", + "nl": "Normaal" } }, { "id": "auto", "title": { - "en": "Auto" + "en": "Auto", + "nl": "Auto" } }, { "id": "quick", "title": { - "en": "Quick" + "en": "Quick", + "nl": "Snel" } }, { "id": "heavy", "title": { - "en": "Heavy" + "en": "Heavy", + "nl": "Zwaar" } }, { "id": "whites", "title": { - "en": "Whites" + "en": "Whites", + "nl": "Wit" } } ], @@ -48,7 +54,8 @@ "id": "laundry_washer_program_changed", "highlight": true, "title": { - "en": "The laundry washer program changed to" + "en": "The laundry washer program changed to", + "nl": "Het wasprogramma is veranderd naar" }, "args": [ { @@ -63,7 +70,8 @@ { "id": "laundry_washer_program_is", "title": { - "en": "The laundry washer program !{{is|is not}}" + "en": "The laundry washer program !{{is|is not}}", + "nl": "Het wasprogramma !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/laundry_washer_speed.json b/assets/capability/capabilities/laundry_washer_speed.json index 71c9b9c3..4df712db 100644 --- a/assets/capability/capabilities/laundry_washer_speed.json +++ b/assets/capability/capabilities/laundry_washer_speed.json @@ -5,25 +5,29 @@ "nl": "Wasmachinesnelheid" }, "desc": { - "en": "The spin speed of the laundry washer." + "en": "The spin speed of the laundry washer.", + "nl": "De centrifugesnelheid van de wasmachine." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } } ], @@ -36,7 +40,8 @@ "id": "laundry_washer_speed_changed", "highlight": true, "title": { - "en": "The laundry washer speed changed to" + "en": "The laundry washer speed changed to", + "nl": "De wasmachinesnelheid is veranderd naar" }, "args": [ { @@ -51,7 +56,8 @@ { "id": "laundry_washer_speed_is", "title": { - "en": "The laundry washer speed !{{is|is not}}" + "en": "The laundry washer speed !{{is|is not}}", + "nl": "De wasmachinesnelheid !{{is|is niet}}" }, "args": [ { @@ -66,7 +72,8 @@ { "id": "laundry_washer_speed_set", "title": { - "en": "Set the laundry washer speed to" + "en": "Set the laundry washer speed to", + "nl": "Stel de wasmachinesnelheid in op" }, "args": [ { diff --git a/assets/capability/capabilities/level_aqi.json b/assets/capability/capabilities/level_aqi.json index 02c6e26e..857dc1fa 100644 --- a/assets/capability/capabilities/level_aqi.json +++ b/assets/capability/capabilities/level_aqi.json @@ -5,31 +5,36 @@ "nl": "Luchtkwaliteitsniveau" }, "desc": { - "en": "The air quality index represented as a level." + "en": "The air quality index represented as a level.", + "nl": "De luchtkwaliteitsindex weergegeven als niveau." }, "values": [ { "id": "good", "title": { - "en": "Good" + "en": "Good", + "nl": "Goed" } }, { "id": "poor", "title": { - "en": "Poor" + "en": "Poor", + "nl": "Slecht" } }, { "id": "very_poor", "title": { - "en": "Very Poor" + "en": "Very Poor", + "nl": "Zeer Slecht" } }, { "id": "extremely_poor", "title": { - "en": "Extremely Poor" + "en": "Extremely Poor", + "nl": "Extreem Slecht" } } ], @@ -42,7 +47,8 @@ "id": "level_aqi_changed", "highlight": true, "title": { - "en": "The air quality level changed to" + "en": "The air quality level changed to", + "nl": "Het luchtkwaliteitsniveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_aqi_is", "title": { - "en": "The air quality !{{is|is not}}" + "en": "The air quality !{{is|is not}}", + "nl": "De luchtkwaliteit !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_carbon_filter.json b/assets/capability/capabilities/level_carbon_filter.json index 88ac3dd6..f2e77ce4 100644 --- a/assets/capability/capabilities/level_carbon_filter.json +++ b/assets/capability/capabilities/level_carbon_filter.json @@ -5,25 +5,29 @@ "nl": "Koolstoffilterniveau" }, "desc": { - "en": "The level of degredation on the active carbon filter." + "en": "The level of degredation on the active carbon filter.", + "nl": "Het niveau van degradatie op het actieve koolstoffilter." }, "values": [ { "id": "ok", "title": { - "en": "OK" + "en": "OK", + "nl": "OK" } }, { "id": "warning", "title": { - "en": "Warning" + "en": "Warning", + "nl": "Waarschuwing" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -36,7 +40,8 @@ "id": "level_carbon_filter_changed", "highlight": true, "title": { - "en": "The carbon filter level changed to" + "en": "The carbon filter level changed to", + "nl": "Het koolstoffilterniveau is veranderd naar" }, "args": [ { @@ -51,7 +56,8 @@ { "id": "level_carbon_filter_is", "title": { - "en": "The carbon filter level !{{is|is not}}" + "en": "The carbon filter level !{{is|is not}}", + "nl": "Het koolstoffilterniveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_ch2o.json b/assets/capability/capabilities/level_ch2o.json index 4ca4a335..dc846744 100644 --- a/assets/capability/capabilities/level_ch2o.json +++ b/assets/capability/capabilities/level_ch2o.json @@ -5,31 +5,36 @@ "nl": "Formaldehydeniveau" }, "desc": { - "en": "The level of formaldehyde in the air." + "en": "The level of formaldehyde in the air.", + "nl": "Het niveau van formaldehyde in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_ch2o_changed", "highlight": true, "title": { - "en": "The formaldehyde level changed to" + "en": "The formaldehyde level changed to", + "nl": "Het formaldehydeniveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_ch2o_is", "title": { - "en": "The formaldehyde level !{{is|is not}}" + "en": "The formaldehyde level !{{is|is not}}", + "nl": "Het formaldehydeniveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_co.json b/assets/capability/capabilities/level_co.json index 279f3826..368db54c 100644 --- a/assets/capability/capabilities/level_co.json +++ b/assets/capability/capabilities/level_co.json @@ -5,31 +5,36 @@ "nl": "CO-niveau" }, "desc": { - "en": "The level of CO in the air." + "en": "The level of CO in the air.", + "nl": "Het niveau van CO in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_co_changed", "highlight": true, "title": { - "en": "The CO level changed to" + "en": "The CO level changed to", + "nl": "Het CO-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_co_is", "title": { - "en": "The CO level !{{is|is not}}" + "en": "The CO level !{{is|is not}}", + "nl": "Het CO-niveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_co2.json b/assets/capability/capabilities/level_co2.json index 14ff956b..158e9a80 100644 --- a/assets/capability/capabilities/level_co2.json +++ b/assets/capability/capabilities/level_co2.json @@ -5,31 +5,36 @@ "nl": "CO2-niveau" }, "desc": { - "en": "The level of CO2 in the air." + "en": "The level of CO2 in the air.", + "nl": "Het niveau van CO2 in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_co2_changed", "highlight": true, "title": { - "en": "The CO2 level changed to" + "en": "The CO2 level changed to", + "nl": "Het CO2-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_co2_is", "title": { - "en": "The CO2 level !{{is|is not}}" + "en": "The CO2 level !{{is|is not}}", + "nl": "Het CO2-niveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_hepa_filter.json b/assets/capability/capabilities/level_hepa_filter.json index f7294617..aec4d2cb 100644 --- a/assets/capability/capabilities/level_hepa_filter.json +++ b/assets/capability/capabilities/level_hepa_filter.json @@ -5,25 +5,29 @@ "nl": "HEPA-filterniveau" }, "desc": { - "en": "The level of degredation on the HEPA filter." + "en": "The level of degredation on the HEPA filter.", + "nl": "Het niveau van degradatie op het HEPA-filter." }, "values": [ { "id": "ok", "title": { - "en": "OK" + "en": "OK", + "nl": "OK" } }, { "id": "warning", "title": { - "en": "Warning" + "en": "Warning", + "nl": "Waarschuwing" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -36,7 +40,8 @@ "id": "level_hepa_filter_changed", "highlight": true, "title": { - "en": "The HEPA filter level changed to" + "en": "The HEPA filter level changed to", + "nl": "Het HEPA-filterniveau is veranderd naar" }, "args": [ { @@ -51,7 +56,8 @@ { "id": "level_hepa_filter_is", "title": { - "en": "The HEPA filter level !{{is|is not}}" + "en": "The HEPA filter level !{{is|is not}}", + "nl": "Het HEPA-filterniveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_nox.json b/assets/capability/capabilities/level_nox.json index 60191eb5..ab092813 100644 --- a/assets/capability/capabilities/level_nox.json +++ b/assets/capability/capabilities/level_nox.json @@ -5,31 +5,36 @@ "nl": "NOx-niveau" }, "desc": { - "en": "The level of nitrogen oxides in the air." + "en": "The level of nitrogen oxides in the air.", + "nl": "Het niveau van stikstofoxiden in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_nox_changed", "highlight": true, "title": { - "en": "The NOx level changed to" + "en": "The NOx level changed to", + "nl": "Het NOx-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_nox_is", "title": { - "en": "The NOx level !{{is|is not}}" + "en": "The NOx level !{{is|is not}}", + "nl": "Het NOx-niveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_o3.json b/assets/capability/capabilities/level_o3.json index 9e919da6..d3c098bf 100644 --- a/assets/capability/capabilities/level_o3.json +++ b/assets/capability/capabilities/level_o3.json @@ -5,31 +5,36 @@ "nl": "Ozonniveau" }, "desc": { - "en": "The level of ozone in the air." + "en": "The level of ozone in the air.", + "nl": "Het niveau van ozon in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_o3_changed", "highlight": true, "title": { - "en": "The ozone level changed to" + "en": "The ozone level changed to", + "nl": "Het ozonniveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_o3_is", "title": { - "en": "The ozone level !{{is|is not}}" + "en": "The ozone level !{{is|is not}}", + "nl": "Het ozonniveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_pm01.json b/assets/capability/capabilities/level_pm01.json index 614515ce..9db8c346 100644 --- a/assets/capability/capabilities/level_pm01.json +++ b/assets/capability/capabilities/level_pm01.json @@ -5,31 +5,36 @@ "nl": "PM0,1 niveau" }, "desc": { - "en": "The level of PM0.1 particles in the air." + "en": "The level of PM0.1 particles in the air.", + "nl": "Het niveau van PM0,1-deeltjes in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Low" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Medium" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "High" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Critical" } } ], @@ -42,7 +47,8 @@ "id": "level_pm01_changed", "highlight": true, "title": { - "en": "The PM0.1 level changed to" + "en": "The PM0.1 level changed to", + "nl": "Het PM0,1-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_pm01_is", "title": { - "en": "The PM0.1 level !{{is|is not}}" + "en": "The PM0.1 level !{{is|is not}}", + "nl": "Het PM0,1-niveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_pm1.json b/assets/capability/capabilities/level_pm1.json index a64217dc..5a96737b 100644 --- a/assets/capability/capabilities/level_pm1.json +++ b/assets/capability/capabilities/level_pm1.json @@ -5,31 +5,36 @@ "nl": "PM1-niveau" }, "desc": { - "en": "The amount of PM1 particles in the air represented by a level." + "en": "The amount of PM1 particles in the air represented by a level.", + "nl": "De hoeveelheid PM1-deeltjes in de lucht weergegeven als niveau." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_pm1_changed", "highlight": true, "title": { - "en": "The PM1 level changed to" + "en": "The PM1 level changed to", + "nl": "Het PM1-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_pm1_is", "title": { - "en": "The PM1 level !{{is|is not}}" + "en": "The PM1 level !{{is|is not}}", + "nl": "Het PM1-niveau is !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_pm10.json b/assets/capability/capabilities/level_pm10.json index fbdf336e..7b7d85b3 100644 --- a/assets/capability/capabilities/level_pm10.json +++ b/assets/capability/capabilities/level_pm10.json @@ -5,31 +5,36 @@ "nl": "PM10-niveau" }, "desc": { - "en": "The level of PM10 particles in the air." + "en": "The level of PM10 particles in the air.", + "nl": "Het niveau van PM10-deeltjes in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_pm10_changed", "highlight": true, "title": { - "en": "The PM10 level changed to" + "en": "The PM10 level changed to", + "nl": "Het PM10-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_pm10_is", "title": { - "en": "The PM10 level !{{is|is not}}" + "en": "The PM10 level !{{is|is not}}", + "nl": "Het PM10-niveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_pm25.json b/assets/capability/capabilities/level_pm25.json index 6e80f7a5..76e187b6 100644 --- a/assets/capability/capabilities/level_pm25.json +++ b/assets/capability/capabilities/level_pm25.json @@ -5,31 +5,36 @@ "nl": "PM2,5-niveau" }, "desc": { - "en": "The level of PM2.5 particles in the air." + "en": "The level of PM2.5 particles in the air.", + "nl": "Het niveau van PM2,5-deeltjes in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_pm25_changed", "highlight": true, "title": { - "en": "The PM2.5 level changed to" + "en": "The PM2.5 level changed to", + "nl": "Het PM2,5-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_pm25_is", "title": { - "en": "The PM2.5 level !{{is|is not}}" + "en": "The PM2.5 level !{{is|is not}}", + "nl": "Het PM2,5-niveau !{{is|is not}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_radon.json b/assets/capability/capabilities/level_radon.json index 28fe3255..38c177d5 100644 --- a/assets/capability/capabilities/level_radon.json +++ b/assets/capability/capabilities/level_radon.json @@ -5,31 +5,36 @@ "nl": "Radonniveau" }, "desc": { - "en": "The level of radioactive radon gas in the air." + "en": "The level of radioactive radon gas in the air.", + "nl": "Het niveau van radioactief radongas in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_radon_changed", "highlight": true, "title": { - "en": "The radon level changed to" + "en": "The radon level changed to", + "nl": "Het radonniveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_radon_is", "title": { - "en": "The radon level !{{is|is not}}" + "en": "The radon level !{{is|is not}}", + "nl": "Het radonniveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/level_so2.json b/assets/capability/capabilities/level_so2.json new file mode 100644 index 00000000..a95de4fe --- /dev/null +++ b/assets/capability/capabilities/level_so2.json @@ -0,0 +1,79 @@ +{ + "type": "enum", + "title": { + "en": "SO2 Level", + "nl": "SO2-Niveau" + }, + "desc": { + "en": "The level of sulfur dioxide in the air.", + "nl": "Het niveau van zwaveldioxide in de lucht." + }, + "values": [ + { + "id": "low", + "title": { + "en": "Low", + "nl": "Laag" + } + }, + { + "id": "medium", + "title": { + "en": "Medium", + "nl": "Middel" + } + }, + { + "id": "high", + "title": { + "en": "High", + "nl": "Hoog" + } + }, + { + "id": "critical", + "title": { + "en": "Critical", + "nl": "Kritiek" + } + } + ], + "getable": true, + "setable": false, + "uiComponent": "sensor", + "$flow": { + "triggers": [ + { + "id": "level_so2_changed", + "highlight": true, + "title": { + "en": "The SO2 level changed to", + "nl": "Het SO2-niveau is veranderd naar" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ], + "conditions": [ + { + "id": "level_so2_is", + "title": { + "en": "The SO2 level !{{is|is not}}", + "nl": "Het SO2-niveau !{{is|is niet}}" + }, + "args": [ + { + "name": "level", + "type": "dropdown", + "values": "$values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/assets/capability/capabilities/level_tvoc.json b/assets/capability/capabilities/level_tvoc.json index 299894d1..31f08b2e 100644 --- a/assets/capability/capabilities/level_tvoc.json +++ b/assets/capability/capabilities/level_tvoc.json @@ -5,31 +5,36 @@ "nl": "TVOC-niveau" }, "desc": { - "en": "The level of total volatile organic compounds in the air." + "en": "The level of total volatile organic compounds in the air.", + "nl": "Het niveau van totaal vluchtige organische stoffen in de lucht." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Middel" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "critical", "title": { - "en": "Critical" + "en": "Critical", + "nl": "Kritiek" } } ], @@ -42,7 +47,8 @@ "id": "level_tvoc_changed", "highlight": true, "title": { - "en": "The TVOC level changed to" + "en": "The TVOC level changed to", + "nl": "Het TVOC-niveau is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "level_tvoc_is", "title": { - "en": "The TVOC level !{{is|is not}}" + "en": "The TVOC level !{{is|is not}}", + "nl": "Het TVOC-niveau !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/lock_mode.json b/assets/capability/capabilities/lock_mode.json index d859f918..06c6d6e1 100755 --- a/assets/capability/capabilities/lock_mode.json +++ b/assets/capability/capabilities/lock_mode.json @@ -75,8 +75,8 @@ { "id": "lock_mode_changed", "title": { - "en": "Lock mode has changed", - "nl": "Slot modus is veranderd", + "en": "Lock mode changed", + "nl": "Slotmodus is veranderd", "de": "Schloss-Modus hat sich geändert", "fr": "Mode verrou a été modifié", "it": "La modalità di blocco è cambiata", @@ -102,7 +102,7 @@ "id": "lock_mode_is", "title": { "en": "Lock mode !{{is|is not}}", - "nl": "Slot modus !{{is|is niet}}", + "nl": "Slotmodus !{{is|is niet}}", "de": "Schloss-Modus !{{ist|ist nicht}}", "fr": "Mode verrou !{{est|n'est pas}}", "it": "La modalità di blocco !{{è|non è}}", @@ -128,7 +128,7 @@ "id": "mode", "title": { "en": "Set mode", - "nl": "Stel stand in", + "nl": "Stel modus in", "de": "Modus setzen", "fr": "Définir le mode", "it": "Imposta la modalità", diff --git a/assets/capability/capabilities/measure_aqi.json b/assets/capability/capabilities/measure_aqi.json index 4edd534e..74d9fb2a 100644 --- a/assets/capability/capabilities/measure_aqi.json +++ b/assets/capability/capabilities/measure_aqi.json @@ -6,7 +6,8 @@ }, "insights": true, "desc": { - "en": "Air Quality Index" + "en": "Air Quality Index", + "nl": "Luchtkwaliteitsindex" }, "chartType": "spline", "getable": true, @@ -19,7 +20,8 @@ { "id": "measure_aqi_changed", "title": { - "en": "The Air Quality Index changed" + "en": "The Air Quality Index changed", + "nl": "De luchtkwaliteitsindex is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/carbon_filter.json b/assets/capability/capabilities/measure_carbon_filter.json similarity index 59% rename from assets/capability/capabilities/carbon_filter.json rename to assets/capability/capabilities/measure_carbon_filter.json index 188268f9..a1acb45d 100644 --- a/assets/capability/capabilities/carbon_filter.json +++ b/assets/capability/capabilities/measure_carbon_filter.json @@ -5,21 +5,25 @@ "nl": "Koolstoffilter" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The carbon filter level in percent." + "en": "The carbon filter level in percent.", + "nl": "Het koolstoffilterniveau in procent." }, + "insights": true, "getable": true, "setable": false, "uiComponent": "sensor", "$flow": { "triggers": [ { - "id": "carbon_filter_changed", + "id": "measure_carbon_filter_changed", "highlight": true, "title": { - "en": "The carbon filter level changed to" + "en": "The carbon filter level changed to", + "nl": "Het koolstoffilterniveau is veranderd naar" }, "args": [ { diff --git a/assets/capability/capabilities/measure_ch2o.json b/assets/capability/capabilities/measure_ch2o.json index ed02779c..5e4b4b96 100644 --- a/assets/capability/capabilities/measure_ch2o.json +++ b/assets/capability/capabilities/measure_ch2o.json @@ -5,11 +5,13 @@ "nl": "Formaldehyde" }, "units": { - "en": "μg/m³" + "en": "μg/m³", + "nl": "μg/m³" }, "insights": true, "desc": { - "en": "Formaldehyde in micrograms per cubic meter (μg/m³)" + "en": "Formaldehyde in micrograms per cubic meter (μg/m³)", + "nl": "Formaldehyde in microgram per kubieke meter (μg/m³)" }, "chartType": "spline", "decimals": 2, @@ -21,7 +23,8 @@ { "id": "measure_ch2o_changed", "title": { - "en": "The Formaldehyde level changed" + "en": "The Formaldehyde level changed", + "nl": "Het formaldehydeniveau is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_co.json b/assets/capability/capabilities/measure_co.json index f3f1f674..5e23ebe5 100755 --- a/assets/capability/capabilities/measure_co.json +++ b/assets/capability/capabilities/measure_co.json @@ -45,7 +45,7 @@ "id": "measure_co_changed", "title": { "en": "The CO-level changed", - "nl": "Het CO niveau is veranderd", + "nl": "Het CO-niveau is veranderd", "de": "Der CO-Gehalt hat sich geändert", "fr": "Le niveau de CO a changé", "it": "Il livello di CO è cambiato", diff --git a/assets/capability/capabilities/measure_co2.json b/assets/capability/capabilities/measure_co2.json index fccb1372..b3d4b518 100755 --- a/assets/capability/capabilities/measure_co2.json +++ b/assets/capability/capabilities/measure_co2.json @@ -45,7 +45,7 @@ "id": "measure_co2_changed", "title": { "en": "The CO2-level changed", - "nl": "Het CO2 niveau is veranderd", + "nl": "Het CO2-niveau is veranderd", "de": "Der CO2-Gehalt hat sich geändert", "fr": "Le niveau de CO2 a changé", "it": "Il livello di CO2 è cambiato", diff --git a/assets/capability/capabilities/measure_content_volume.json b/assets/capability/capabilities/measure_content_volume.json index 67ef3577..06e68147 100644 --- a/assets/capability/capabilities/measure_content_volume.json +++ b/assets/capability/capabilities/measure_content_volume.json @@ -5,10 +5,12 @@ "nl": "Volume" }, "units": { - "en": "L" + "en": "L", + "nl": "L" }, "desc": { - "en": "The volume of the content in liters." + "en": "The volume of the content in liters.", + "nl": "Het volume van de inhoud in liters." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_content_volume_changed", "title": { - "en": "The content volume changed" + "en": "The volume changed", + "nl": "Het volume is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_data_rate.json b/assets/capability/capabilities/measure_data_rate.json index cec81c48..a30ee2e9 100644 --- a/assets/capability/capabilities/measure_data_rate.json +++ b/assets/capability/capabilities/measure_data_rate.json @@ -5,10 +5,12 @@ "nl": "Gegevenssnelheid" }, "units": { - "en": "b/s" + "en": "b/s", + "nl": "b/s" }, "desc": { - "en": "The data rate in bits per second." + "en": "The data rate in bits per second.", + "nl": "De gegevenssnelheid in bits per seconde." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_data_rate_changed", "title": { - "en": "The data rate changed" + "en": "The data rate changed", + "nl": "De gegevenssnelheid is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_data_size.json b/assets/capability/capabilities/measure_data_size.json index 82a91c85..1267c312 100644 --- a/assets/capability/capabilities/measure_data_size.json +++ b/assets/capability/capabilities/measure_data_size.json @@ -5,10 +5,12 @@ "nl": "Gegevensgrootte" }, "units": { - "en": "bytes" + "en": "bytes", + "nl": "bytes" }, "desc": { - "en": "The data size in bytes." + "en": "The data size in bytes.", + "nl": "De gegevensgrootte in bytes." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_data_size_changed", "title": { - "en": "The data size changed" + "en": "The data size changed", + "nl": "De gegevensgrootte is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_distance.json b/assets/capability/capabilities/measure_distance.json index 6217d3b6..b7c9e25a 100644 --- a/assets/capability/capabilities/measure_distance.json +++ b/assets/capability/capabilities/measure_distance.json @@ -5,10 +5,12 @@ "nl": "Afstand" }, "units": { - "en": "m" + "en": "m", + "nl": "m" }, "desc": { - "en": "The distance in meters." + "en": "The distance in meters.", + "nl": "De afstand in meters." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_distance_changed", "title": { - "en": "The distance changed" + "en": "The distance changed", + "nl": "De afstand is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_energy_storage.json b/assets/capability/capabilities/measure_energy_storage.json deleted file mode 100644 index 2d1b9c53..00000000 --- a/assets/capability/capabilities/measure_energy_storage.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "type": "number", - "title": { - "en": "Energy Storage", - "nl": "Energieopslag" - }, - "units": { - "en": "Wh" - }, - "desc": { - "en": "The energy storage in watt-hours." - }, - "insights": true, - "chartType": "spline", - "decimals": 2, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "measure_energy_storage_changed", - "title": { - "en": "The energy storage changed" - }, - "tokens": [ - { - "name": "$id", - "title": "$title", - "type": "$type", - "example": 2 - } - ] - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_frequency.json b/assets/capability/capabilities/measure_frequency.json index 41ccc579..c1ca148c 100644 --- a/assets/capability/capabilities/measure_frequency.json +++ b/assets/capability/capabilities/measure_frequency.json @@ -5,10 +5,12 @@ "nl": "Frequentie" }, "units": { - "en": "Hz" + "en": "Hz", + "nl": "Hz" }, "desc": { - "en": "The frequency in hertz." + "en": "The frequency in hertz.", + "nl": "De frequentie in hertz." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_frequency_changed", "title": { - "en": "The frequency changed" + "en": "The frequency changed", + "nl": "De frequentie is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_gust_angle.json b/assets/capability/capabilities/measure_gust_angle.json index 62d97bfe..8df4d55e 100755 --- a/assets/capability/capabilities/measure_gust_angle.json +++ b/assets/capability/capabilities/measure_gust_angle.json @@ -45,7 +45,7 @@ "id": "measure_gust_angle_changed", "title": { "en": "The gust angle changed", - "nl": "Windstoot richting is veranderd", + "nl": "Windstootrichting is veranderd", "de": "Die Böenrichtung hat sich geändert", "fr": "Direction du coup de vent a changé", "it": "L'angolo delle raffiche è cambiato", diff --git a/assets/capability/capabilities/measure_gust_strength.json b/assets/capability/capabilities/measure_gust_strength.json index 92eb1912..3a914916 100755 --- a/assets/capability/capabilities/measure_gust_strength.json +++ b/assets/capability/capabilities/measure_gust_strength.json @@ -46,7 +46,7 @@ "id": "measure_gust_strength_changed", "title": { "en": "The gust strength changed", - "nl": "De windstoot snelheid is veranderd", + "nl": "De windstootkracht is veranderd", "de": "Die Böenstärke hat sich geändert", "fr": "La force du coup de vent a changé", "it": "L'intensità delle raffiche è cambiata", diff --git a/assets/capability/capabilities/hepa_filter.json b/assets/capability/capabilities/measure_hepa_filter.json similarity index 67% rename from assets/capability/capabilities/hepa_filter.json rename to assets/capability/capabilities/measure_hepa_filter.json index cfec82db..b69bf0ae 100644 --- a/assets/capability/capabilities/hepa_filter.json +++ b/assets/capability/capabilities/measure_hepa_filter.json @@ -5,10 +5,12 @@ "nl": "HEPA-filter" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The HEPA filter level in percent." + "en": "The HEPA filter level in percent.", + "nl": "Het HEPA-filterniveau in procent." }, "getable": true, "setable": false, @@ -19,7 +21,8 @@ "id": "hepa_filter_changed", "highlight": true, "title": { - "en": "The HEPA filter level changed to" + "en": "The HEPA filter level changed to", + "nl": "Het HEPA-filterniveau is veranderd naar" }, "args": [ { diff --git a/assets/capability/capabilities/measure_moisture.json b/assets/capability/capabilities/measure_moisture.json index 0d4cd1b8..cb160b52 100644 --- a/assets/capability/capabilities/measure_moisture.json +++ b/assets/capability/capabilities/measure_moisture.json @@ -5,10 +5,12 @@ "nl": "Vochtigheid" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The moisture level in percentage." + "en": "The moisture level in percentage.", + "nl": "Het vochtigheidsniveau in procent." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_moisture_changed", "title": { - "en": "The moisture level changed" + "en": "The moisture level changed", + "nl": "Het vochtigheidsniveau is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_monetary.json b/assets/capability/capabilities/measure_monetary.json index 45245038..da77f162 100644 --- a/assets/capability/capabilities/measure_monetary.json +++ b/assets/capability/capabilities/measure_monetary.json @@ -5,10 +5,12 @@ "nl": "Monetaire waarde" }, "units": { - "en": "€" + "en": "€", + "nl": "€" }, "desc": { - "en": "The monetary value with a currency (default: €)." + "en": "The monetary value with a currency (default: €).", + "nl": "De monetaire waarde met een valuta (standaard: €)." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_monetary_changed", "title": { - "en": "The monetary value changed" + "en": "The monetary value changed", + "nl": "De monetaire waarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_nox.json b/assets/capability/capabilities/measure_nox.json index 58e6a89a..decd2297 100644 --- a/assets/capability/capabilities/measure_nox.json +++ b/assets/capability/capabilities/measure_nox.json @@ -5,11 +5,13 @@ "nl": "NOx" }, "units": { - "en": "μg/m³" + "en": "μg/m³", + "nl": "μg/m³" }, "insights": true, "desc": { - "en": "Nitrogen Oxides in micrograms per cubic meter (μg/m³)" + "en": "Nitrogen Oxides in micrograms per cubic meter (μg/m³)", + "nl": "Stikstofoxiden in microgram per kubieke meter (μg/m³)" }, "chartType": "spline", "decimals": 2, @@ -21,7 +23,8 @@ { "id": "measure_nox_changed", "title": { - "en": "The NOx value changed" + "en": "The NOx value changed", + "nl": "De NOx-waarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_o3.json b/assets/capability/capabilities/measure_o3.json index ca0f561d..1c024df4 100644 --- a/assets/capability/capabilities/measure_o3.json +++ b/assets/capability/capabilities/measure_o3.json @@ -5,11 +5,13 @@ "nl": "Ozon" }, "units": { - "en": "μg/m³" + "en": "μg/m³", + "nl": "μg/m³" }, "insights": true, "desc": { - "en": "Ozone in micrograms per cubic meter (μg/m³)" + "en": "Ozone in micrograms per cubic meter (μg/m³)", + "nl": "Ozon in microgram per kubieke meter (μg/m³)" }, "chartType": "spline", "decimals": 2, @@ -21,7 +23,8 @@ { "id": "measure_o3_changed", "title": { - "en": "The Ozone value changed" + "en": "The Ozone value changed", + "nl": "De ozonwaarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_odor.json b/assets/capability/capabilities/measure_odor.json index 57912534..483dd4e6 100644 --- a/assets/capability/capabilities/measure_odor.json +++ b/assets/capability/capabilities/measure_odor.json @@ -5,10 +5,12 @@ "nl": "Geur" }, "units": { - "en": "OU" + "en": "OU", + "nl": "GE" }, "desc": { - "en": "Odor concentration in odor units." + "en": "Odor concentration in odor units.", + "nl": "Geurconcentratie in geureenheden." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_odor_changed", "title": { - "en": "The odor concentration changed" + "en": "The odor concentration changed", + "nl": "De geurconcentratie is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_ph.json b/assets/capability/capabilities/measure_ph.json index 0034dca9..e2f72db5 100644 --- a/assets/capability/capabilities/measure_ph.json +++ b/assets/capability/capabilities/measure_ph.json @@ -5,7 +5,8 @@ "nl": "pH-waarde" }, "desc": { - "en": "The pH level of a aqueous solution." + "en": "The pH level of a aqueous solution.", + "nl": "De pH-waarde van een oplossing." }, "insights": true, "chartType": "spline", @@ -18,7 +19,8 @@ { "id": "measure_ph_changed", "title": { - "en": "The pH level changed" + "en": "The pH level changed", + "nl": "De pH-waarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_pm25.json b/assets/capability/capabilities/measure_pm25.json index 08a560f8..43579388 100755 --- a/assets/capability/capabilities/measure_pm25.json +++ b/assets/capability/capabilities/measure_pm25.json @@ -44,8 +44,8 @@ { "id": "measure_pm25_changed", "title": { - "en": "The PM2.5 value has changed", - "nl": "De PM2.5 waarde is veranderd", + "en": "The PM2.5 value changed", + "nl": "De PM2,5-waarde is veranderd", "de": "Der PM2.5-Wert hat sich geändert", "fr": "La valeur PM2.5 a changé", "it": "Il valore di PM2.5 è cambiato", diff --git a/assets/capability/capabilities/measure_radon.json b/assets/capability/capabilities/measure_radon.json index ac01a949..1a38595a 100644 --- a/assets/capability/capabilities/measure_radon.json +++ b/assets/capability/capabilities/measure_radon.json @@ -5,11 +5,13 @@ "nl": "Radon" }, "units": { - "en": "Bq/m³" + "en": "Bq/m³", + "nl": "Bq/m³" }, "insights": true, "desc": { - "en": "Radon in Becquerel per cubic meter (Bq/m³)" + "en": "Radon in Becquerel per cubic meter (Bq/m³)", + "nl": "Radon in Becquerel per kubieke meter (Bq/m³)" }, "chartType": "spline", "decimals": 2, @@ -21,7 +23,8 @@ { "id": "measure_radon_changed", "title": { - "en": "The Radon value has changed" + "en": "The Radon value has changed", + "nl": "De Radonwaarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_rain_intensity.json b/assets/capability/capabilities/measure_rain_intensity.json index bd095af6..d84086a5 100644 --- a/assets/capability/capabilities/measure_rain_intensity.json +++ b/assets/capability/capabilities/measure_rain_intensity.json @@ -5,10 +5,12 @@ "nl": "Regenintensiteit" }, "units": { - "en": "mm/h" + "en": "mm/h", + "nl": "mm/u" }, "desc": { - "en": "The rain intensity in millimeters per hour." + "en": "The rain intensity in millimeters per hour.", + "nl": "De regenintensiteit in millimeters per uur." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_rain_intensity_changed", "title": { - "en": "The rain intensity changed" + "en": "The rain intensity changed", + "nl": "De regenintensiteit is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_rotation.json b/assets/capability/capabilities/measure_rotation.json index fef6970e..516a5a02 100644 --- a/assets/capability/capabilities/measure_rotation.json +++ b/assets/capability/capabilities/measure_rotation.json @@ -5,14 +5,16 @@ "nl": "Rotatie" }, "units": { - "en": "°" + "en": "°", + "nl": "°" }, "desc": { - "en": "The rotation in degrees." + "en": "The rotation in degrees.", + "nl": "De rotatie in graden." }, "insights": true, "chartType": "spline", - "decimals": 0, + "decimals": 1, "getable": true, "setable": false, "uiComponent": "sensor", @@ -21,7 +23,8 @@ { "id": "measure_rotation_changed", "title": { - "en": "The rotation changed" + "en": "The rotation changed", + "nl": "De rotatie is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_signal_strength.json b/assets/capability/capabilities/measure_signal_strength.json index 2e8adaab..c28450a0 100644 --- a/assets/capability/capabilities/measure_signal_strength.json +++ b/assets/capability/capabilities/measure_signal_strength.json @@ -5,10 +5,12 @@ "nl": "Signaalsterkte" }, "units": { - "en": "dB" + "en": "dB", + "nl": "dB" }, "desc": { - "en": "The signal strength in decibels." + "en": "The signal strength in decibels.", + "nl": "De signaalsterkte in decibels." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_signal_strength_changed", "title": { - "en": "The signal strength changed" + "en": "The signal strength changed", + "nl": "De signaalsterkte is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_so2.json b/assets/capability/capabilities/measure_so2.json index c3b66457..e50da649 100644 --- a/assets/capability/capabilities/measure_so2.json +++ b/assets/capability/capabilities/measure_so2.json @@ -5,11 +5,13 @@ "nl": "SO2" }, "units": { - "en": "μg/m³" + "en": "μg/m³", + "nl": "μg/m³" }, "insights": true, "desc": { - "en": "Sulfur dioxide in micrograms per cubic meter (μg/m³)" + "en": "Sulfur dioxide in micrograms per cubic meter (μg/m³)", + "nl": "Zwavel dioxide in microgram per kubieke meter (μg/m³)" }, "chartType": "spline", "decimals": 2, @@ -21,7 +23,8 @@ { "id": "measure_so2_changed", "title": { - "en": "The SO2 value has changed" + "en": "The SO2 value has changed", + "nl": "De SO2-waarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_speed.json b/assets/capability/capabilities/measure_speed.json index 72defb68..af2c40b7 100644 --- a/assets/capability/capabilities/measure_speed.json +++ b/assets/capability/capabilities/measure_speed.json @@ -5,10 +5,12 @@ "nl": "Snelheid" }, "units": { - "en": "m/s" + "en": "m/s", + "nl": "m/s" }, "desc": { - "en": "The speed in meters per second." + "en": "The speed in meters per second.", + "nl": "De snelheid in meters per seconde." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_speed_changed", "title": { - "en": "The speed changed" + "en": "The speed changed", + "nl": "De snelheid is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_tvoc.json b/assets/capability/capabilities/measure_tvoc.json index 29bdaed4..6d69d225 100644 --- a/assets/capability/capabilities/measure_tvoc.json +++ b/assets/capability/capabilities/measure_tvoc.json @@ -2,14 +2,16 @@ "type": "number", "title": { "en": "TVOC", - "nl": "TVOC" + "nl": "VOS" }, "units": { - "en": "μg/m³" + "en": "μg/m³", + "nl": "μg/m³" }, "insights": true, "desc": { - "en": "Total volatile organic compounds in micrograms per cubic meter (μg/m³)" + "en": "Total volatile organic compounds in micrograms per cubic meter (μg/m³)", + "nl": "Totale vluchtige organische stoffen in microgram per kubieke meter (μg/m³)" }, "chartType": "spline", "decimals": 2, @@ -21,7 +23,8 @@ { "id": "measure_tvoc_changed", "title": { - "en": "The TVOC value has changed" + "en": "The TVOC value has changed", + "nl": "De VOS-waarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_tvoc_index.json b/assets/capability/capabilities/measure_tvoc_index.json index e57c7809..2117eafe 100644 --- a/assets/capability/capabilities/measure_tvoc_index.json +++ b/assets/capability/capabilities/measure_tvoc_index.json @@ -2,11 +2,12 @@ "type": "number", "title": { "en": "TVOC index", - "nl": "TVOC-index" + "nl": "VOS-index" }, "insights": true, "desc": { - "en": "Total volatile organic compounds index" + "en": "Total volatile organic compounds index", + "nl": "Index van totaal vluchtige organische stoffen" }, "chartType": "spline", "getable": true, @@ -17,7 +18,8 @@ { "id": "measure_tvoc_index_changed", "title": { - "en": "The TVOC index value has changed" + "en": "The TVOC index value has changed", + "nl": "De VOS-indexwaarde is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_ultraviolet.json b/assets/capability/capabilities/measure_ultraviolet.json index 6a0c6447..34573b81 100755 --- a/assets/capability/capabilities/measure_ultraviolet.json +++ b/assets/capability/capabilities/measure_ultraviolet.json @@ -45,7 +45,7 @@ "id": "measure_ultraviolet_changed", "title": { "en": "The ultraviolet value changed", - "nl": "De ultraviolet waarde is veranderd", + "nl": "De ultravioletwaarde is veranderd", "de": "Der Ultraviolett-Wert hat sich geändert", "fr": "La valeur d'ultraviolet a changé", "it": "Il valore dell'ultravioletto è cambiato", diff --git a/assets/capability/capabilities/measure_volume_flow_rate.json b/assets/capability/capabilities/measure_volume_flow_rate.json deleted file mode 100644 index b2c5b15e..00000000 --- a/assets/capability/capabilities/measure_volume_flow_rate.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "type": "number", - "title": { - "en": "Flow rate", - "nl": "Doorstroomsnelheid" - }, - "units": { - "en": "m³/h" - }, - "desc": { - "en": "The volume flow rate in cubic meters per hour." - }, - "insights": true, - "chartType": "spline", - "decimals": 2, - "getable": true, - "setable": false, - "uiComponent": "sensor", - "$flow": { - "triggers": [ - { - "id": "measure_volume_flow_rate_changed", - "title": { - "en": "The volume flow rate changed" - }, - "tokens": [ - { - "name": "$id", - "title": "$title", - "type": "$type", - "example": 2 - } - ] - } - ] - } -} \ No newline at end of file diff --git a/assets/capability/capabilities/measure_water.json b/assets/capability/capabilities/measure_water.json index 53f0e078..06acfcb2 100755 --- a/assets/capability/capabilities/measure_water.json +++ b/assets/capability/capabilities/measure_water.json @@ -45,8 +45,8 @@ { "id": "measure_water_changed", "title": { - "en": "The waterflow has changed", - "nl": "De waterstroom veranderd", + "en": "The waterflow changed", + "nl": "De waterstroom is veranderd", "de": "Der Wasserfluss hat sich geändert", "fr": "Le débit d'eau a changé", "it": "Il flusso d'acqua è cambiato", diff --git a/assets/capability/capabilities/measure_weight.json b/assets/capability/capabilities/measure_weight.json index 12bb9301..50d16303 100644 --- a/assets/capability/capabilities/measure_weight.json +++ b/assets/capability/capabilities/measure_weight.json @@ -5,10 +5,12 @@ "nl": "Gewicht" }, "units": { - "en": "g" + "en": "g", + "nl": "g" }, "desc": { - "en": "Generic mass in grams; weight is used instead of mass to fit with everyday language." + "en": "Generic mass in grams; weight is used instead of mass to fit with everyday language.", + "nl": "Generieke massa in gram; gewicht wordt gebruikt in plaats van massa om aan te sluiten bij alledaagse taal." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "measure_weight_changed", "title": { - "en": "The weight changed" + "en": "The weight changed", + "nl": "Het gewicht is veranderd" }, "tokens": [ { diff --git a/assets/capability/capabilities/measure_wind_strength.json b/assets/capability/capabilities/measure_wind_strength.json index 9b4d79ea..49ea4099 100755 --- a/assets/capability/capabilities/measure_wind_strength.json +++ b/assets/capability/capabilities/measure_wind_strength.json @@ -46,7 +46,7 @@ "id": "measure_wind_strength_changed", "title": { "en": "The wind strength changed", - "nl": "De windsnelheid is veranderd", + "nl": "De windkracht is veranderd", "de": "Die Windstärke hat sich geändert", "fr": "La force du vent a changé", "it": "La forza del vento è cambiata", diff --git a/assets/capability/capabilities/media_input.json b/assets/capability/capabilities/media_input.json index e190cdaa..b322fbed 100644 --- a/assets/capability/capabilities/media_input.json +++ b/assets/capability/capabilities/media_input.json @@ -5,43 +5,50 @@ "nl": "Media-input" }, "desc": { - "en": "The input channel for a media player" + "en": "The input channel for a media player", + "nl": "Het invoerkanaal voor een mediaspeler" }, "values": [ { "id": "hdmi_1", "title": { - "en": "HDMI 1" + "en": "HDMI 1", + "nl": "HDMI 1" } }, { "id": "hdmi_2", "title": { - "en": "HDMI 2" + "en": "HDMI 2", + "nl": "HDMI 2" } }, { "id": "hdmi_3", "title": { - "en": "HDMI 3" + "en": "HDMI 3", + "nl": "HDMI 3" } }, { "id": "usb_1", "title": { - "en": "USB 1" + "en": "USB 1", + "nl": "USB 1" } }, { "id": "usb_2", "title": { - "en": "USB 2" + "en": "USB 2", + "nl": "USB 2" } }, { "id": "component", "title": { - "en": "Component" + "en": "Component", + "nl": "Component" } } ], @@ -54,7 +61,8 @@ "id": "media_input_changed", "highlight": true, "title": { - "en": "The media input changed to" + "en": "The media input changed to", + "nl": "De media-input is veranderd naar" }, "args": [ { @@ -69,7 +77,8 @@ { "id": "media_input_is", "title": { - "en": "The media input !{{is|is not}}" + "en": "The media input !{{is|is not}}", + "nl": "De media-input !{{is|is niet}}" }, "args": [ { @@ -84,7 +93,8 @@ { "id": "media_input_set", "title": { - "en": "Set the media input" + "en": "Set the media input", + "nl": "Stel de media-input in" }, "args": [ { diff --git a/assets/capability/capabilities/lawnmower_state.json b/assets/capability/capabilities/mower_state.json similarity index 96% rename from assets/capability/capabilities/lawnmower_state.json rename to assets/capability/capabilities/mower_state.json index c0585703..f343610c 100644 --- a/assets/capability/capabilities/lawnmower_state.json +++ b/assets/capability/capabilities/mower_state.json @@ -1,8 +1,8 @@ { "type": "enum", "title": { - "en": "Lawnmower state", - "nl": "Grasmaaierstatus" + "en": "Mower state", + "nl": "Maaierstatus" }, "desc": { "en": "The current state of the lawnmower." diff --git a/assets/capability/capabilities/onoff.json b/assets/capability/capabilities/onoff.json index e52eb41e..e374cf09 100755 --- a/assets/capability/capabilities/onoff.json +++ b/assets/capability/capabilities/onoff.json @@ -218,7 +218,7 @@ { "id": "open", "title": { - "en": "Open curtain or blind", + "en": "Open the curtain or blind", "nl": "Open de gordijnen", "de": "Vorhang oder Rollladen öffnen", "fr": "Ouvrir rideau ou store", @@ -238,7 +238,7 @@ { "id": "close", "title": { - "en": "Close curtain or blind", + "en": "Close the curtain or blind", "nl": "Sluit de gordijnen", "de": "Vorhang oder Rollladen schließen", "fr": "Fermer rideau ou store", diff --git a/assets/capability/capabilities/operational_state.json b/assets/capability/capabilities/operational_state.json index 7cc937ec..ce917a94 100644 --- a/assets/capability/capabilities/operational_state.json +++ b/assets/capability/capabilities/operational_state.json @@ -5,31 +5,36 @@ "nl": "Operationele staat" }, "desc": { - "en": "The operational state of the appliance." + "en": "The operational state of the appliance.", + "nl": "De operationele staat van het apparaat." }, "values": [ { "id": "stopped", "title": { - "en": "Stopped" + "en": "Stopped", + "nl": "Gestopt" } }, { "id": "running", "title": { - "en": "Running" + "en": "Running", + "nl": "Aan" } }, { "id": "paused", "title": { - "en": "Paused" + "en": "Paused", + "nl": "Gepauzeerd" } }, { "id": "error", "title": { - "en": "Error" + "en": "Error", + "nl": "Fout" } } ], @@ -42,7 +47,8 @@ "id": "operational_state_changed", "highlight": true, "title": { - "en": "The operational state changed to" + "en": "The operational state changed to", + "nl": "De operationele staat is veranderd naar" }, "args": [ { @@ -57,7 +63,8 @@ { "id": "operational_state_is", "title": { - "en": "The operational state !{{is|is not}}" + "en": "The operational state !{{is|is not}}", + "nl": "De operationele staat !{{is|is niet}}" }, "args": [ { diff --git a/assets/capability/capabilities/oscillating.json b/assets/capability/capabilities/oscillating.json index 740a8cbe..9fefaf33 100644 --- a/assets/capability/capabilities/oscillating.json +++ b/assets/capability/capabilities/oscillating.json @@ -5,14 +5,17 @@ "nl": "Oscilleren" }, "desc": { - "en": "Enable or disable oscillation." + "en": "Enable or disable oscillation.", + "nl": "Schakel oscilleren in of uit." }, "insights": true, "insightsTitleTrue": { - "en": "Oscillation enabled" + "en": "Oscillation enabled", + "nl": "Oscilleren ingeschakeld" }, "insightsTitleFalse": { - "en": "Oscillation disabled" + "en": "Oscillation disabled", + "nl": "Oscilleren uitgeschakeld" }, "getable": true, "setable": true, @@ -23,13 +26,15 @@ "id": "oscillating_true", "highlight": true, "title": { - "en": "Oscillation enabled" + "en": "Oscillation enabled", + "nl": "Oscilleren ingeschakeld" } }, { "id": "oscillating_false", "title": { - "en": "Oscillation disabled" + "en": "Oscillation disabled", + "nl": "Oscilleren uitgeschakeld" } } ], @@ -37,7 +42,8 @@ { "id": "oscillating", "title": { - "en": "Oscillation is !{{enabled|disabled}}" + "en": "Oscillation is !{{enabled|disabled}}", + "nl": "Oscilleren is !{{ingeschakeld|uitgeschakeld}}" } } ], @@ -45,19 +51,22 @@ { "id": "enable_oscillating", "title": { - "en": "Enable Oscillation" + "en": "Enable Oscillation", + "nl": "Zet oscilleren aan" } }, { "id": "disable_oscillating", "title": { - "en": "Disable Oscillation" + "en": "Disable Oscillation", + "nl": "Zet oscilleren uit" } }, { "id": "toggle_oscillating", "title": { - "en": "Toggle Oscillation" + "en": "Toggle Oscillation on or off", + "nl": "Schakel oscilleren aan of uit" } } ] diff --git a/assets/capability/capabilities/pump_mode.json b/assets/capability/capabilities/pump_mode.json index 7278779a..79dc34e7 100644 --- a/assets/capability/capabilities/pump_mode.json +++ b/assets/capability/capabilities/pump_mode.json @@ -5,37 +5,43 @@ "nl": "Pompmodus" }, "desc": { - "en": "Used to set which setpoint regulates the pump." + "en": "Used to set which setpoint regulates the pump.", + "nl": "Gebruikt om in te stellen welke setpoint de pomp regelt." }, "values": [ { "id": "constant_pressure", "title": { - "en": "Constant Pressure" + "en": "Constant Pressure", + "nl": "Constante druk" } }, { "id": "compensated_pressure", "title": { - "en": "Compensated Pressure" + "en": "Compensated Pressure", + "nl": "Gecompenseerde druk" } }, { "id": "constant_flow", "title": { - "en": "Constant Flow" + "en": "Constant Flow", + "nl": "Constante stroom" } }, { "id": "constant_speed", "title": { - "en": "Constant Speed" + "en": "Constant Speed", + "nl": "Constante snelheid" } }, { "id": "constant_temperature", "title": { - "en": "Constant Temperature" + "en": "Constant Temperature", + "nl": "Constante temperatuur" } } ], @@ -48,7 +54,8 @@ "id": "pump_mode_changed", "highlight": true, "title": { - "en": "The pump mode changed to" + "en": "The pump mode changed to", + "nl": "De pompmodus is veranderd naar" }, "args": [ { @@ -61,9 +68,10 @@ ], "conditions": [ { - "id": "pump_mode", + "id": "pump_mode_is", "title": { - "en": "The pump mode !{{is|is not}}" + "en": "The pump mode !{{is|is not}}", + "nl": "De pompmodus !{{is|is niet}}" }, "args": [ { @@ -78,7 +86,8 @@ { "id": "set_pump_mode", "title": { - "en": "Set the pump mode" + "en": "Set the pump mode", + "nl": "Stel de pompmodus in" }, "args": [ { diff --git a/assets/capability/capabilities/pump_setpoint.json b/assets/capability/capabilities/pump_setpoint.json index 6d64d83d..69be8a55 100644 --- a/assets/capability/capabilities/pump_setpoint.json +++ b/assets/capability/capabilities/pump_setpoint.json @@ -5,10 +5,12 @@ "nl": "Pompinstelpunt" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The pump setpoint in percentage." + "en": "The pump setpoint in percentage.", + "nl": "Het pompinstelpunt in procent." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "pump_setpoint_changed", "title": { - "en": "The pump setpoint changed" + "en": "The pump setpoint changed", + "nl": "Het pompinstelpunt is veranderd" }, "tokens": [ { @@ -37,13 +40,13 @@ { "id": "set_pump_setpoint", "title": { - "en": "Set the pump setpoint" + "en": "Set the pump setpoint", + "nl": "Stel het pompinstelpunt in" }, - "tokens": [ + "args": [ { - "name": "$id", - "title": "$title", - "type": "$type", + "name": "setpoint", + "type": "number", "example": 50 } ] diff --git a/assets/capability/capabilities/refrigerator_mode.json b/assets/capability/capabilities/refrigerator_mode.json index c25db800..80819b64 100644 --- a/assets/capability/capabilities/refrigerator_mode.json +++ b/assets/capability/capabilities/refrigerator_mode.json @@ -5,25 +5,29 @@ "nl": "Koelkastmodus" }, "desc": { - "en": "The mode of the refrigerator." + "en": "The mode of the refrigerator.", + "nl": "De modus van de koelkast." }, "values": [ { "id": "normal", "title": { - "en": "Normal" + "en": "Normal", + "nl": "Normaal" } }, { "id": "rapid_cooling", "title": { - "en": "Rapid Cooling" + "en": "Rapid Cooling", + "nl": "Snel koelen" } }, { "id": "rapid_freezing", "title": { - "en": "Rapid Freezing" + "en": "Rapid Freezing", + "nl": "Snel vriezen" } } ], @@ -36,7 +40,8 @@ "id": "refrigerator_mode_changed", "highlight": true, "title": { - "en": "The refrigerator mode changed to" + "en": "The refrigerator mode changed to", + "nl": "De koelkastmodus is veranderd naar" }, "args": [ { @@ -49,9 +54,10 @@ ], "conditions": [ { - "id": "refrigerator_mode", + "id": "refrigerator_mode_is", "title": { - "en": "The refrigerator mode !{{is|is not}}" + "en": "The refrigerator mode !{{is|is not}}", + "nl": "De koelkastmodus !{{is|is niet}}" }, "args": [ { @@ -66,7 +72,8 @@ { "id": "set_refrigerator_mode", "title": { - "en": "Set the refrigerator mode to" + "en": "Set the refrigerator mode to", + "nl": "Stel de koelkastmodus in op" }, "args": [ { diff --git a/assets/capability/capabilities/swing_mode.json b/assets/capability/capabilities/swing_mode.json index ebc65cbf..28a224df 100644 --- a/assets/capability/capabilities/swing_mode.json +++ b/assets/capability/capabilities/swing_mode.json @@ -8,19 +8,22 @@ { "key": "vertical", "title": { - "en": "Vertical" + "en": "Vertical", + "nl": "Verticaal" } }, { "key": "horizontal", "title": { - "en": "Horizontal" + "en": "Horizontal", + "nl": "Horizontaal" } }, { "key": "both", "title": { - "en": "Both" + "en": "Both", + "nl": "Beide" } } ], @@ -32,7 +35,8 @@ { "id": "swing_mode_changed", "title": { - "en": "Swing mode has changed" + "en": "Swing mode has changed", + "nl": "Zwenkmodus is veranderd" }, "args": [ { @@ -47,7 +51,8 @@ { "id": "swing_mode_is", "title": { - "en": "Swing mode !{{is|is not}}" + "en": "Swing mode !{{is|is not}}", + "nl": "Zwenkmodus !{{is|is not}}" }, "args": [ { @@ -62,7 +67,8 @@ { "id": "set_swing_mode", "title": { - "en": "Set swing mode to" + "en": "Set swing mode to", + "nl": "Zet zwenkmodus op" }, "args": [ { diff --git a/assets/capability/capabilities/target_humidity.json b/assets/capability/capabilities/target_humidity.json index 074096d3..4fdac096 100644 --- a/assets/capability/capabilities/target_humidity.json +++ b/assets/capability/capabilities/target_humidity.json @@ -5,11 +5,14 @@ "nl": "Doelvochtigheid" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The target humidity level in percent." + "en": "The target humidity level in percent.", + "nl": "Het doelvochtigheidsniveau in procent." }, + "insights": true, "getable": true, "setable": true, "uiComponent": "slider", @@ -18,7 +21,8 @@ { "id": "target_humidity_changed", "title": { - "en": "The target humidity changed" + "en": "The target humidity changed", + "nl": "De doelvochtigheid is gewijzigd" }, "tokens": [ { @@ -32,15 +36,17 @@ ], "actions": [ { - "id": "target_humidity_set", + "id": "set_target_humidity", "title": { - "en": "Set the humidity" + "en": "Set the humidity", + "nl": "Stel de vochtigheid in" }, - "tokens": [ + "args": [ { - "name": "$id", - "title": "$title", - "type": "$type", + "name": "value", + "type": "range", + "min": 0, + "max": 100, "example": 50 } ] diff --git a/assets/capability/capabilities/setpoint_humidity_max.json b/assets/capability/capabilities/target_humidity_max.json similarity index 55% rename from assets/capability/capabilities/setpoint_humidity_max.json rename to assets/capability/capabilities/target_humidity_max.json index f56547f5..6d0162e8 100644 --- a/assets/capability/capabilities/setpoint_humidity_max.json +++ b/assets/capability/capabilities/target_humidity_max.json @@ -1,13 +1,16 @@ { "type": "number", "title": { - "en": "Humidity setpoint max" + "en": "Maximum target humidity", + "nl": "Maximale doelvochtigheid" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The high end of the target humidity level in percent." + "en": "The high end of the target humidity level in percent.", + "nl": "Het bovenste uiteinde van het doelvochtigheidsniveau in procent." }, "insights": true, "chartType": "stepLine", @@ -22,7 +25,8 @@ { "id": "setpoint_humidity_max_changed", "title": { - "en": "The setpoint humidity max changed" + "en": "The maximum target humidity has changed", + "nl": "De maximale doelvochtigheid is gewijzigd" }, "tokens": [ { @@ -36,15 +40,18 @@ ], "actions": [ { - "id": "setpoint_humidity_max_set", + "id": "set_setpoint_humidity_max", "title": { - "en": "Set the humidity max" + "en": "Set the maximum target humidity", + "nl": "Stel de maximale doelvochtigheid in" }, - "tokens": [ + "args": [ { - "name": "$id", - "title": "$title", - "type": "$type", + "name": "value", + "type": "range", + "min": 0, + "max": 100, + "step": 1, "example": 50 } ] diff --git a/assets/capability/capabilities/setpoint_humidity_min.json b/assets/capability/capabilities/target_humidity_min.json similarity index 55% rename from assets/capability/capabilities/setpoint_humidity_min.json rename to assets/capability/capabilities/target_humidity_min.json index ef49b45f..b0471a9e 100644 --- a/assets/capability/capabilities/setpoint_humidity_min.json +++ b/assets/capability/capabilities/target_humidity_min.json @@ -1,13 +1,16 @@ { "type": "number", "title": { - "en": "Humidity setpoint min" + "en": "Minimum target humidity", + "nl": "Minimale doelvochtigheid" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The low end of the target humidity level in percent." + "en": "The low end of the target humidity level in percent.", + "nl": "Het onderste uiteinde van het doelvochtigheidsniveau in procent." }, "insights": true, "chartType": "stepLine", @@ -22,7 +25,8 @@ { "id": "setpoint_humidity_min_changed", "title": { - "en": "The setpoint humidity min changed" + "en": "The minimum target humidity has changed", + "nl": "De minimale doelvochtigheid is gewijzigd" }, "tokens": [ { @@ -36,15 +40,18 @@ ], "actions": [ { - "id": "setpoint_humidity_min_set", + "id": "set_setpoint_humidity_min", "title": { - "en": "Set the humidity min" + "en": "Set the minimum target humidity", + "nl": "Stel de minimale doelvochtigheid in" }, - "tokens": [ + "args": [ { - "name": "$id", - "title": "$title", - "type": "$type", + "name": "value", + "type": "range", + "min": 0, + "max": 100, + "step": 1, "example": 50 } ] diff --git a/assets/capability/capabilities/target_temperature_level.json b/assets/capability/capabilities/target_temperature_level.json index f7ad9a87..83cedf06 100644 --- a/assets/capability/capabilities/target_temperature_level.json +++ b/assets/capability/capabilities/target_temperature_level.json @@ -5,25 +5,29 @@ "nl": "Doeltemperatuurniveau" }, "desc": { - "en": "The target temperature level of the appliance." + "en": "The target temperature level of the appliance.", + "nl": "Het doeltemperatuurniveau van het apparaat." }, "values": [ { "id": "low", "title": { - "en": "Low" + "en": "Low", + "nl": "Laag" } }, { "id": "medium", "title": { - "en": "Medium" + "en": "Medium", + "nl": "Gemiddeld" } }, { "id": "high", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } } ], @@ -36,7 +40,8 @@ "id": "target_temperature_level_changed", "highlight": true, "title": { - "en": "The target temperature level changed to" + "en": "The target temperature level changed to", + "nl": "Het doeltemperatuurniveau is gewijzigd naar" }, "args": [ { @@ -51,7 +56,8 @@ { "id": "target_temperature_level_is", "title": { - "en": "The target temperature level !{{is|is not}}" + "en": "The target temperature level !{{is|is not}}", + "nl": "Het doeltemperatuurniveau !{{is|is not}}" }, "args": [ { @@ -64,9 +70,10 @@ ], "actions": [ { - "id": "target_temperature_level_set", + "id": "set_target_temperature_level", "title": { - "en": "Set the target temperature level to" + "en": "Set the target temperature level to", + "nl": "Stel het doeltemperatuurniveau in op" }, "args": [ { diff --git a/assets/capability/capabilities/setpoint_temperature_max.json b/assets/capability/capabilities/target_temperature_max.json similarity index 53% rename from assets/capability/capabilities/setpoint_temperature_max.json rename to assets/capability/capabilities/target_temperature_max.json index dbca4079..c5415c3b 100644 --- a/assets/capability/capabilities/setpoint_temperature_max.json +++ b/assets/capability/capabilities/target_temperature_max.json @@ -1,14 +1,16 @@ { "type": "number", "title": { - "en": "Temperature setpoint max.", - "nl": "Temperatuurinstelpunt max." + "en": "Maximum target temperature", + "nl": "Maximale doeltemperatuur" }, "units": { - "en": "°C" + "en": "°C", + "nl": "°C" }, "desc": { - "en": "The high end of the temperature setpoint in degrees Celsius." + "en": "The high end of the temperature setpoint in degrees Celsius.", + "nl": "Het bovenste uiteinde van het temperatuurinstelpunt in graden Celsius." }, "insights": true, "chartType": "stepLine", @@ -23,7 +25,8 @@ { "id": "temperature_setpoint_max_changed", "title": { - "en": "The temperature setpoint max changed" + "en": "The maximum target temperature has changed", + "nl": "De maximale doeltemperatuur is gewijzigd" }, "tokens": [ { @@ -37,15 +40,18 @@ ], "actions": [ { - "id": "temperature_setpoint_max_set", + "id": "set_temperature_setpoint_max", "title": { - "en": "Set the temperature setpoint max" + "en": "Set the maximum target temperature", + "nl": "Stel de maximale doeltemperatuur in" }, - "tokens": [ + "args": [ { - "name": "$id", - "title": "$title", - "type": "$type", + "name": "value", + "type": "range", + "min": 4, + "max": 35, + "step": 0.5, "example": 20 } ] diff --git a/assets/capability/capabilities/setpoint_temperature_min.json b/assets/capability/capabilities/target_temperature_min.json similarity index 54% rename from assets/capability/capabilities/setpoint_temperature_min.json rename to assets/capability/capabilities/target_temperature_min.json index 6991a7ee..ade426f7 100644 --- a/assets/capability/capabilities/setpoint_temperature_min.json +++ b/assets/capability/capabilities/target_temperature_min.json @@ -1,14 +1,16 @@ { "type": "number", "title": { - "en": "Temperature setpiont min.", - "nl": "Temperatuurinstelpunt min." + "en": "Minimum target temperature", + "nl": "Minimale doeltemperatuur" }, "units": { - "en": "°C" + "en": "°C", + "nl": "°C" }, "desc": { - "en": "The low end of the temperature setpoint in degrees Celsius." + "en": "The low end of the temperature setpoint in degrees Celsius.", + "nl": "Het onderste uiteinde van het temperatuurinstelpunt in graden Celsius." }, "insights": true, "chartType": "stepLine", @@ -23,7 +25,8 @@ { "id": "setpoint_temperature_min_changed", "title": { - "en": "The temperature setpoint min changed" + "en": "The minimum target temperature has changed", + "nl": "De minimale doeltemperatuur is gewijzigd" }, "tokens": [ { @@ -37,15 +40,18 @@ ], "actions": [ { - "id": "setpoint_temperature_min_set", + "id": "set_setpoint_temperature_min", "title": { - "en": "Set the temperature setpoint min" + "en": "Set the minimum target temperature", + "nl": "Stel de minimale doeltemperatuur in" }, - "tokens": [ + "args": [ { - "name": "$id", - "title": "$title", - "type": "$type", + "name": "value", + "type": "range", + "min": 4, + "max": 35, + "step": 0.5, "example": 20 } ] diff --git a/assets/capability/capabilities/thermostat_mode.json b/assets/capability/capabilities/thermostat_mode.json index aa52f814..1355b0fc 100755 --- a/assets/capability/capabilities/thermostat_mode.json +++ b/assets/capability/capabilities/thermostat_mode.json @@ -106,8 +106,8 @@ { "id": "thermostat_mode_changed", "title": { - "en": "Thermostat mode has changed", - "nl": "Thermostaat modus is veranderd", + "en": "Thermostat mode changed", + "nl": "Thermostaatmodus is veranderd", "de": "Thermostat-Modus hat sich geändert", "fr": "Mode thermostat a été modifié", "it": "La modalità del termostato è cambiata", @@ -133,7 +133,7 @@ "id": "thermostat_mode_is", "title": { "en": "Thermostat mode !{{is|is not}}", - "nl": "Thermostaat modus !{{is|is niet}}", + "nl": "Thermostaatmodus !{{is|is niet}}", "de": "Thermostat-Modus !{{ist|ist nicht}}", "fr": "Mode thermostat !{{est|n'est pas}}", "it": "La modalità del termostato !{{è|non è}}", diff --git a/assets/capability/capabilities/vacuumcleaner_job_mode.json b/assets/capability/capabilities/vacuumcleaner_job_mode.json index 06807cf5..8290eb83 100644 --- a/assets/capability/capabilities/vacuumcleaner_job_mode.json +++ b/assets/capability/capabilities/vacuumcleaner_job_mode.json @@ -8,37 +8,43 @@ { "id": "off", "title": { - "en": "Off" + "en": "Off", + "nl": "Uit" } }, { "id": "normal", "title": { - "en": "Normal" + "en": "Normal", + "nl": "Normaal" } }, { "id": "hight", "title": { - "en": "High" + "en": "High", + "nl": "Hoog" } }, { "id": "turbo", "title": { - "en": "Turbo" + "en": "Turbo", + "nl": "Turbo" } }, { "id": "mop", "title": { - "en": "Mop" + "en": "Mop", + "nl": "Dweilen" } }, { "id": "auto", "title": { - "en": "Auto" + "en": "Auto", + "nl": "Automatisch" } } ], @@ -50,7 +56,8 @@ { "id": "vacuumcleaner_job_mode_changed", "title": { - "en": "Vacuum cleaner job mode has changed" + "en": "The vacuum cleaner job mode has changed", + "nl": "De stofzuigermodus is gewijzigd" }, "args": [ { @@ -65,7 +72,8 @@ { "id": "vacuumcleaner_job_mode_is", "title": { - "en": "Vacuum cleaner job mode !{{is|is not}}" + "en": "The vacuum cleaner job mode !{{is|is not}}", + "nl": "De stofzuigermodus !{{is|is not}}" }, "args": [ { @@ -78,9 +86,10 @@ ], "actions": [ { - "id": "vacuumcleaner_job_mode_set", + "id": "set_vacuumcleaner_job_mode", "title": { - "en": "Set vacuum cleaner job mode to" + "en": "Set the vacuum cleaner job mode to", + "nl": "Stel de stofzuigermodus in op" }, "args": [ { diff --git a/assets/capability/capabilities/vacuumcleaner_state.json b/assets/capability/capabilities/vacuumcleaner_state.json index fbdb5cb9..fc4bcf08 100755 --- a/assets/capability/capabilities/vacuumcleaner_state.json +++ b/assets/capability/capabilities/vacuumcleaner_state.json @@ -179,7 +179,7 @@ "id": "spot_clean", "title": { "en": "Start spot cleaning", - "nl": "Begin met één plek stofzuigen", + "nl": "Begin met pleksgewijs stofzuigen", "de": "Mit Spot-Reinigung anfangen", "fr": "Commencer le détachage", "it": "Avvia la pulizia delle macchie", diff --git a/assets/capability/capabilities/valve_position.json b/assets/capability/capabilities/valve_position.json index 893fdeda..2d583fb7 100644 --- a/assets/capability/capabilities/valve_position.json +++ b/assets/capability/capabilities/valve_position.json @@ -5,10 +5,12 @@ "nl": "Klepstand" }, "units": { - "en": "%" + "en": "%", + "nl": "%" }, "desc": { - "en": "The current position of the valve in percent." + "en": "The current position of the valve in percent.", + "nl": "De huidige positie van de klep in procent." }, "insights": true, "chartType": "spline", @@ -21,7 +23,8 @@ { "id": "valve_position_changed", "title": { - "en": "The valve position changed" + "en": "The valve position changed", + "nl": "De klepstand is gewijzigd" }, "tokens": [ { @@ -35,15 +38,18 @@ ], "actions": [ { - "id": "valve_position_set", + "id": "set_valve_position", "title": { - "en": "Set the valve position" + "en": "Set the valve position", + "nl": "Stel de klepstand in" }, - "tokens": [ + "args": [ { - "name": "$id", - "title": "$title", - "type": "$type", + "name": "position", + "type": "range", + "min": 0, + "max": 100, + "step": 1, "example": 50 } ] diff --git a/assets/capability/capabilities/volume_set.json b/assets/capability/capabilities/volume_set.json index 1943221e..5a5e0350 100755 --- a/assets/capability/capabilities/volume_set.json +++ b/assets/capability/capabilities/volume_set.json @@ -45,8 +45,8 @@ { "id": "volume_set_changed", "title": { - "en": "Volume changed", - "nl": "Volume veranderd", + "en": "The volume changed", + "nl": "Het volume is veranderd", "de": "Lautstärke hat sich geändert", "fr": "Volume a été modifié", "it": "Volume modificato", @@ -86,8 +86,8 @@ "id": "volume_set", "highlight": true, "title": { - "en": "Set volume to", - "nl": "Zet volume naar", + "en": "Set the volume to", + "nl": "Zet het volume naar", "de": "Lautstärke setzen auf", "fr": "Mettre le volume sur", "it": "Imposta il volume al", diff --git a/assets/capability/capabilities/windowcoverings_set.json b/assets/capability/capabilities/windowcoverings_set.json index e88aa9b5..936d781c 100755 --- a/assets/capability/capabilities/windowcoverings_set.json +++ b/assets/capability/capabilities/windowcoverings_set.json @@ -44,8 +44,8 @@ { "id": "windowcoverings_set_changed", "title": { - "en": "Position changed", - "nl": "Positie veranderd", + "en": "The position changed", + "nl": "De positie is veranderd", "de": "Position hat sich geändert", "fr": "Position a été modifiée", "it": "Posizione cambiata", From a223243f2faa6f0d0896de157333784ea9ee53c9 Mon Sep 17 00:00:00 2001 From: Niels de Boer Date: Mon, 9 Sep 2024 10:04:37 +0200 Subject: [PATCH 05/10] Renamed PMx.x to PMx,x in dutch --- assets/capability/capabilities/alarm_pm01.json | 14 +++++++------- assets/capability/capabilities/alarm_pm25.json | 12 ++++++------ assets/capability/capabilities/measure_pm01.json | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/assets/capability/capabilities/alarm_pm01.json b/assets/capability/capabilities/alarm_pm01.json index a3c6de9f..103f90a7 100755 --- a/assets/capability/capabilities/alarm_pm01.json +++ b/assets/capability/capabilities/alarm_pm01.json @@ -2,7 +2,7 @@ "type": "boolean", "title": { "en": "PM0.1 alarm", - "nl": "PM0.1 alarm", + "nl": "PM0,1 alarm", "de": "PM0.1-Alarm", "fr": "Alarme PM0.1", "it": "Allarme PM0.1", @@ -16,7 +16,7 @@ }, "desc": { "en": "True when PM0.1 values exceeds threshold", - "nl": "Gaat af wanneer de PM0.1 waarde overschreden wordt", + "nl": "Gaat af wanneer de PM0,1 waarde overschreden wordt", "de": "True, wenn PM0.1-Werte die Schwelle überschreiten", "fr": "Vrai si les valeurs PM0.1 excèdent un seuil", "it": "Vero quando i valori PM0.1 superano la soglia", @@ -31,7 +31,7 @@ "insights": true, "insightsTitleTrue": { "en": "PM0.1 alarm turned on", - "nl": "PM0.1 alarm ging af", + "nl": "PM0,1 alarm ging af", "de": "PM0.1-Alarm ist angegangen", "fr": "Alarme PM0.1 s'est activée", "it": "Allarme PM0.1 attivato", @@ -45,7 +45,7 @@ }, "insightsTitleFalse": { "en": "PM0.1 alarm turned off", - "nl": "PM0.1 alarm ging uit", + "nl": "PM0,1 alarm ging uit", "de": "PM0.1-Alarm ist ausgegangen", "fr": "Alarme PM0.1 s'est désactivée", "it": "Allarme PM0.1 disattivato", @@ -67,7 +67,7 @@ "highlight": true, "title": { "en": "The PM0.1 alarm turned on", - "nl": "Het PM0.1 gaat aan", + "nl": "Het PM0,1 gaat aan", "de": "Der PM0.1-Alarm ist angegangen", "fr": "L'alarme PM0.1 s'est activée", "it": "L'allarme PM0.1 è stato attivato", @@ -84,7 +84,7 @@ "id": "alarm_pm01_false", "title": { "en": "The PM0.1 alarm turned off", - "nl": "Het PM0.1 gaat uit", + "nl": "Het PM0,1 gaat uit", "de": "Der PM0.1-Alarm ist ausgegangen", "fr": "L'alarme PM0.1 s'est désactivée", "it": "L'allarme PM0.1 è stato disattivato", @@ -103,7 +103,7 @@ "id": "alarm_pm01", "title": { "en": "The PM0.1 alarm is !{{on|off}}", - "nl": "Het PM0.1 alarm is !{{aan|uit}}", + "nl": "Het PM0,1 alarm is !{{aan|uit}}", "de": "Der PM0.1-Alarm ist !{{an|aus}}", "fr": "L'alarme PM0.1 est !{{en marche|arrêtée}}", "it": "L'allarme PM0.1 è !{{acceso|spento}}", diff --git a/assets/capability/capabilities/alarm_pm25.json b/assets/capability/capabilities/alarm_pm25.json index 20b1f7a6..d0fb9403 100755 --- a/assets/capability/capabilities/alarm_pm25.json +++ b/assets/capability/capabilities/alarm_pm25.json @@ -16,7 +16,7 @@ }, "desc": { "en": "True when PM2.5 values exceeds threshold", - "nl": "Gaat af wanneer de PM2.5 waarde overschreden wordt", + "nl": "Gaat af wanneer de PM2,5 waarde overschreden wordt", "de": "True, wenn PM2.5-Werte die Schwelle überschreiten", "fr": "Vrai si les valeurs PM2.5 excèdent un seuil", "it": "Vero quando i valori PM2.5 superano la soglia", @@ -31,7 +31,7 @@ "insights": true, "insightsTitleTrue": { "en": "PM2.5 alarm turned on", - "nl": "PM2.5 alarm ging af", + "nl": "PM2,5 alarm ging af", "de": "PM2.5-Alarm ist angegangen", "fr": "Alarme PM2.5 s'est activée", "it": "Allarme PM2.5 attivato", @@ -45,7 +45,7 @@ }, "insightsTitleFalse": { "en": "PM2.5 alarm turned off", - "nl": "PM2.5 alarm ging uit", + "nl": "PM2,5 alarm ging uit", "de": "PM2.5-Alarm ist ausgegangen", "fr": "Alarme PM2.5 s'est désactivée", "it": "Allarme PM2.5 disattivato", @@ -67,7 +67,7 @@ "highlight": true, "title": { "en": "The PM2.5 alarm turned on", - "nl": "Het PM2.5 gaat aan", + "nl": "Het PM2,5 gaat aan", "de": "Der PM2.5-Alarm ist angegangen", "fr": "L'alarme PM2.5 s'est activée", "it": "L'allarme PM2.5 è stato attivato", @@ -84,7 +84,7 @@ "id": "alarm_pm25_false", "title": { "en": "The PM2.5 alarm turned off", - "nl": "Het PM2.5 gaat uit", + "nl": "Het PM2,5 gaat uit", "de": "Der PM2.5-Alarm ist ausgegangen", "fr": "L'alarme PM2.5 s'est désactivée", "it": "L'allarme PM2.5 è stato disattivato", @@ -103,7 +103,7 @@ "id": "alarm_pm25", "title": { "en": "The PM2.5 alarm is !{{on|off}}", - "nl": "Het PM2.5 alarm is !{{aan|uit}}", + "nl": "Het PM2,5 alarm is !{{aan|uit}}", "de": "Der PM2.5-Alarm ist !{{an|aus}}", "fr": "L'alarme PM2.5 est !{{en marche|arrêtée}}", "it": "L'allarme PM2.5 è !{{acceso|spento}}", diff --git a/assets/capability/capabilities/measure_pm01.json b/assets/capability/capabilities/measure_pm01.json index f80dd720..abd01674 100755 --- a/assets/capability/capabilities/measure_pm01.json +++ b/assets/capability/capabilities/measure_pm01.json @@ -45,7 +45,7 @@ "id": "measure_pm01_changed", "title": { "en": "The PM0.1 value has changed", - "nl": "De PM0.1 waarde is veranderd", + "nl": "De PM0,1 waarde is veranderd", "de": "Der PM0.1-Wert hat sich geändert", "fr": "La valeur PM0.1 a changé", "it": "Il valore di PM0.1 è cambiato", From 6e626f79b1c9990dfd51a73bb647c5dbdd449556 Mon Sep 17 00:00:00 2001 From: Niels de Boer Date: Mon, 9 Sep 2024 14:00:21 +0200 Subject: [PATCH 06/10] feat(new-capabilities): add compatibility --- .../capabilities/alarm_bin_full.json | 3 +- .../capabilities/alarm_bin_missing.json | 3 +- .../alarm_cleaning_pad_missing.json | 3 +- .../capability/capabilities/alarm_cold.json | 3 +- .../capabilities/alarm_connectivity.json | 3 +- .../capabilities/alarm_door_fault.json | 3 +- assets/capability/capabilities/alarm_gas.json | 3 +- .../capability/capabilities/alarm_light.json | 3 +- .../capability/capabilities/alarm_lost.json | 3 +- .../capabilities/alarm_moisture.json | 3 +- .../capability/capabilities/alarm_noise.json | 3 +- .../capabilities/alarm_occupancy.json | 3 +- .../capability/capabilities/alarm_pm01.json | 3 +- assets/capability/capabilities/alarm_pm1.json | 3 +- .../capability/capabilities/alarm_pm10.json | 3 +- .../capability/capabilities/alarm_power.json | 3 +- .../capabilities/alarm_presence.json | 3 +- .../capabilities/alarm_problem.json | 3 +- .../capabilities/alarm_pump_device.json | 3 +- .../capabilities/alarm_pump_supply.json | 3 +- .../capabilities/alarm_running.json | 3 +- .../capability/capabilities/alarm_safety.json | 3 +- .../capability/capabilities/alarm_stuck.json | 3 +- .../capabilities/alarm_tank_empty.json | 3 +- .../capabilities/alarm_tank_missing.json | 3 +- .../capabilities/alarm_tank_open.json | 3 +- .../capabilities/alarm_vibration.json | 3 +- .../capability/capabilities/audio_output.json | 3 +- .../capabilities/battery_charging_state.json | 3 +- .../capabilities/dishwasher_program.json | 3 +- assets/capability/capabilities/docked.json | 3 +- assets/capability/capabilities/fan_mode.json | 3 +- assets/capability/capabilities/fan_speed.json | 3 +- .../capabilities/heater_operation_mode.json | 3 +- .../capabilities/hot_water_mode.json | 3 +- .../capabilities/laundry_washer_cycles.json | 3 +- .../capabilities/laundry_washer_program.json | 3 +- .../capabilities/laundry_washer_speed.json | 3 +- assets/capability/capabilities/level_aqi.json | 3 +- .../capabilities/level_carbon_filter.json | 3 +- .../capability/capabilities/level_ch2o.json | 3 +- assets/capability/capabilities/level_co.json | 3 +- assets/capability/capabilities/level_co2.json | 3 +- .../capabilities/level_hepa_filter.json | 3 +- assets/capability/capabilities/level_nox.json | 3 +- assets/capability/capabilities/level_o3.json | 3 +- .../capability/capabilities/level_pm01.json | 3 +- assets/capability/capabilities/level_pm1.json | 3 +- .../capability/capabilities/level_pm10.json | 3 +- .../capability/capabilities/level_pm25.json | 3 +- .../capability/capabilities/level_radon.json | 3 +- assets/capability/capabilities/level_so2.json | 3 +- .../capability/capabilities/level_tvoc.json | 3 +- .../capability/capabilities/measure_aqi.json | 3 +- .../capabilities/measure_carbon_filter.json | 3 +- .../capability/capabilities/measure_ch2o.json | 3 +- .../capabilities/measure_content_volume.json | 3 +- .../capabilities/measure_data_rate.json | 3 +- .../capabilities/measure_data_size.json | 3 +- .../capabilities/measure_distance.json | 3 +- .../capabilities/measure_frequency.json | 3 +- .../capabilities/measure_hepa_filter.json | 3 +- .../capabilities/measure_moisture.json | 3 +- .../capabilities/measure_monetary.json | 3 +- .../capability/capabilities/measure_nox.json | 3 +- .../capability/capabilities/measure_o3.json | 3 +- .../capability/capabilities/measure_odor.json | 3 +- .../capability/capabilities/measure_ph.json | 3 +- .../capability/capabilities/measure_pm01.json | 3 +- .../capability/capabilities/measure_pm1.json | 3 +- .../capability/capabilities/measure_pm10.json | 3 +- .../capabilities/measure_radon.json | 3 +- .../capabilities/measure_rain_intensity.json | 3 +- .../capabilities/measure_rotation.json | 3 +- .../capabilities/measure_signal_strength.json | 3 +- .../capability/capabilities/measure_so2.json | 3 +- .../capabilities/measure_speed.json | 3 +- .../capability/capabilities/measure_tvoc.json | 3 +- .../capabilities/measure_tvoc_index.json | 3 +- .../capabilities/measure_weight.json | 3 +- .../capability/capabilities/media_input.json | 3 +- .../capability/capabilities/mower_state.json | 3 +- .../capabilities/operational_state.json | 3 +- .../capability/capabilities/oscillating.json | 3 +- assets/capability/capabilities/pump_mode.json | 3 +- .../capabilities/pump_setpoint.json | 3 +- .../capabilities/refrigerator_mode.json | 3 +- .../capability/capabilities/speaker_stop.json | 3 +- .../capability/capabilities/swing_mode.json | 3 +- .../capabilities/target_humidity.json | 3 +- .../capabilities/target_humidity_max.json | 3 +- .../capabilities/target_humidity_min.json | 3 +- .../target_temperature_level.json | 3 +- .../capabilities/target_temperature_max.json | 3 +- .../capabilities/target_temperature_min.json | 3 +- .../capabilities/vacuumcleaner_job_mode.json | 3 +- .../capabilities/valve_position.json | 3 +- lib/App/index.js | 5 +++ test/validate-driver-manifest.js | 33 +++++++++++++++++++ 99 files changed, 232 insertions(+), 97 deletions(-) diff --git a/assets/capability/capabilities/alarm_bin_full.json b/assets/capability/capabilities/alarm_bin_full.json index 89ce7873..585bb706 100644 --- a/assets/capability/capabilities/alarm_bin_full.json +++ b/assets/capability/capabilities/alarm_bin_full.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_bin_missing.json b/assets/capability/capabilities/alarm_bin_missing.json index e59a4c5b..fcfdb6c2 100644 --- a/assets/capability/capabilities/alarm_bin_missing.json +++ b/assets/capability/capabilities/alarm_bin_missing.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_cleaning_pad_missing.json b/assets/capability/capabilities/alarm_cleaning_pad_missing.json index 23f748e2..1aa56200 100644 --- a/assets/capability/capabilities/alarm_cleaning_pad_missing.json +++ b/assets/capability/capabilities/alarm_cleaning_pad_missing.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_cold.json b/assets/capability/capabilities/alarm_cold.json index 50d622e1..0b60c651 100644 --- a/assets/capability/capabilities/alarm_cold.json +++ b/assets/capability/capabilities/alarm_cold.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_connectivity.json b/assets/capability/capabilities/alarm_connectivity.json index be183e37..7035a650 100644 --- a/assets/capability/capabilities/alarm_connectivity.json +++ b/assets/capability/capabilities/alarm_connectivity.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_door_fault.json b/assets/capability/capabilities/alarm_door_fault.json index 69e172ee..87fb9f4e 100644 --- a/assets/capability/capabilities/alarm_door_fault.json +++ b/assets/capability/capabilities/alarm_door_fault.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_gas.json b/assets/capability/capabilities/alarm_gas.json index adcee625..eca9a56f 100644 --- a/assets/capability/capabilities/alarm_gas.json +++ b/assets/capability/capabilities/alarm_gas.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_light.json b/assets/capability/capabilities/alarm_light.json index 2f28e3dd..ef573cae 100644 --- a/assets/capability/capabilities/alarm_light.json +++ b/assets/capability/capabilities/alarm_light.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_lost.json b/assets/capability/capabilities/alarm_lost.json index 63fefbee..9e7dd2d8 100644 --- a/assets/capability/capabilities/alarm_lost.json +++ b/assets/capability/capabilities/alarm_lost.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_moisture.json b/assets/capability/capabilities/alarm_moisture.json index 7af9cce8..ff4ac71d 100644 --- a/assets/capability/capabilities/alarm_moisture.json +++ b/assets/capability/capabilities/alarm_moisture.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_noise.json b/assets/capability/capabilities/alarm_noise.json index 620b547d..3d1fb5d1 100644 --- a/assets/capability/capabilities/alarm_noise.json +++ b/assets/capability/capabilities/alarm_noise.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_occupancy.json b/assets/capability/capabilities/alarm_occupancy.json index d5457258..a63b8e1f 100644 --- a/assets/capability/capabilities/alarm_occupancy.json +++ b/assets/capability/capabilities/alarm_occupancy.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pm01.json b/assets/capability/capabilities/alarm_pm01.json index 103f90a7..8ea89cb4 100755 --- a/assets/capability/capabilities/alarm_pm01.json +++ b/assets/capability/capabilities/alarm_pm01.json @@ -117,5 +117,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pm1.json b/assets/capability/capabilities/alarm_pm1.json index aff7cdf8..bd4ab7fb 100755 --- a/assets/capability/capabilities/alarm_pm1.json +++ b/assets/capability/capabilities/alarm_pm1.json @@ -117,5 +117,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pm10.json b/assets/capability/capabilities/alarm_pm10.json index 1c7b231d..3fb8c7af 100755 --- a/assets/capability/capabilities/alarm_pm10.json +++ b/assets/capability/capabilities/alarm_pm10.json @@ -117,5 +117,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_power.json b/assets/capability/capabilities/alarm_power.json index 102c2a6f..aaa4a08f 100644 --- a/assets/capability/capabilities/alarm_power.json +++ b/assets/capability/capabilities/alarm_power.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_presence.json b/assets/capability/capabilities/alarm_presence.json index cbd72c52..e16c082a 100644 --- a/assets/capability/capabilities/alarm_presence.json +++ b/assets/capability/capabilities/alarm_presence.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_problem.json b/assets/capability/capabilities/alarm_problem.json index e2adaf9a..9b9c6267 100644 --- a/assets/capability/capabilities/alarm_problem.json +++ b/assets/capability/capabilities/alarm_problem.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pump_device.json b/assets/capability/capabilities/alarm_pump_device.json index 76378d85..f6c6a8fd 100644 --- a/assets/capability/capabilities/alarm_pump_device.json +++ b/assets/capability/capabilities/alarm_pump_device.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_pump_supply.json b/assets/capability/capabilities/alarm_pump_supply.json index 91a4b9e3..e0123a5e 100644 --- a/assets/capability/capabilities/alarm_pump_supply.json +++ b/assets/capability/capabilities/alarm_pump_supply.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_running.json b/assets/capability/capabilities/alarm_running.json index f5d5d6f1..9b083d1c 100644 --- a/assets/capability/capabilities/alarm_running.json +++ b/assets/capability/capabilities/alarm_running.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_safety.json b/assets/capability/capabilities/alarm_safety.json index dadbfd81..5bd487b6 100644 --- a/assets/capability/capabilities/alarm_safety.json +++ b/assets/capability/capabilities/alarm_safety.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_stuck.json b/assets/capability/capabilities/alarm_stuck.json index 47ee87ec..0ae061da 100644 --- a/assets/capability/capabilities/alarm_stuck.json +++ b/assets/capability/capabilities/alarm_stuck.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_tank_empty.json b/assets/capability/capabilities/alarm_tank_empty.json index 24b8ae88..a29e6896 100644 --- a/assets/capability/capabilities/alarm_tank_empty.json +++ b/assets/capability/capabilities/alarm_tank_empty.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_tank_missing.json b/assets/capability/capabilities/alarm_tank_missing.json index dc82d1e3..5c1b1bac 100644 --- a/assets/capability/capabilities/alarm_tank_missing.json +++ b/assets/capability/capabilities/alarm_tank_missing.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_tank_open.json b/assets/capability/capabilities/alarm_tank_open.json index 7f078e54..dc6067d7 100644 --- a/assets/capability/capabilities/alarm_tank_open.json +++ b/assets/capability/capabilities/alarm_tank_open.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/alarm_vibration.json b/assets/capability/capabilities/alarm_vibration.json index 49241222..32b4415d 100644 --- a/assets/capability/capabilities/alarm_vibration.json +++ b/assets/capability/capabilities/alarm_vibration.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/audio_output.json b/assets/capability/capabilities/audio_output.json index 3de55a68..01b080c0 100644 --- a/assets/capability/capabilities/audio_output.json +++ b/assets/capability/capabilities/audio_output.json @@ -105,5 +105,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/battery_charging_state.json b/assets/capability/capabilities/battery_charging_state.json index 3b4a1d5e..94ff2d7a 100644 --- a/assets/capability/capabilities/battery_charging_state.json +++ b/assets/capability/capabilities/battery_charging_state.json @@ -67,5 +67,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/dishwasher_program.json b/assets/capability/capabilities/dishwasher_program.json index 06848fa2..1f1e77c6 100644 --- a/assets/capability/capabilities/dishwasher_program.json +++ b/assets/capability/capabilities/dishwasher_program.json @@ -68,5 +68,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/docked.json b/assets/capability/capabilities/docked.json index 8e1307cd..486be700 100644 --- a/assets/capability/capabilities/docked.json +++ b/assets/capability/capabilities/docked.json @@ -47,5 +47,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/fan_mode.json b/assets/capability/capabilities/fan_mode.json index 6942df51..615d9df9 100644 --- a/assets/capability/capabilities/fan_mode.json +++ b/assets/capability/capabilities/fan_mode.json @@ -79,5 +79,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/fan_speed.json b/assets/capability/capabilities/fan_speed.json index c6db26c2..00027e06 100644 --- a/assets/capability/capabilities/fan_speed.json +++ b/assets/capability/capabilities/fan_speed.json @@ -51,5 +51,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/heater_operation_mode.json b/assets/capability/capabilities/heater_operation_mode.json index ac7fd3a7..ac901558 100644 --- a/assets/capability/capabilities/heater_operation_mode.json +++ b/assets/capability/capabilities/heater_operation_mode.json @@ -107,5 +107,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/hot_water_mode.json b/assets/capability/capabilities/hot_water_mode.json index 13cd809d..07fe6986 100644 --- a/assets/capability/capabilities/hot_water_mode.json +++ b/assets/capability/capabilities/hot_water_mode.json @@ -79,5 +79,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/laundry_washer_cycles.json b/assets/capability/capabilities/laundry_washer_cycles.json index d6c719d7..3465b597 100644 --- a/assets/capability/capabilities/laundry_washer_cycles.json +++ b/assets/capability/capabilities/laundry_washer_cycles.json @@ -91,5 +91,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/laundry_washer_program.json b/assets/capability/capabilities/laundry_washer_program.json index 787b6c5c..d5c9dfbb 100644 --- a/assets/capability/capabilities/laundry_washer_program.json +++ b/assets/capability/capabilities/laundry_washer_program.json @@ -82,5 +82,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/laundry_washer_speed.json b/assets/capability/capabilities/laundry_washer_speed.json index 4df712db..3ab77218 100644 --- a/assets/capability/capabilities/laundry_washer_speed.json +++ b/assets/capability/capabilities/laundry_washer_speed.json @@ -84,5 +84,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_aqi.json b/assets/capability/capabilities/level_aqi.json index 857dc1fa..55df7ff5 100644 --- a/assets/capability/capabilities/level_aqi.json +++ b/assets/capability/capabilities/level_aqi.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_carbon_filter.json b/assets/capability/capabilities/level_carbon_filter.json index f2e77ce4..51813951 100644 --- a/assets/capability/capabilities/level_carbon_filter.json +++ b/assets/capability/capabilities/level_carbon_filter.json @@ -68,5 +68,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_ch2o.json b/assets/capability/capabilities/level_ch2o.json index dc846744..ba3f9845 100644 --- a/assets/capability/capabilities/level_ch2o.json +++ b/assets/capability/capabilities/level_ch2o.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_co.json b/assets/capability/capabilities/level_co.json index 368db54c..f0bf2c9d 100644 --- a/assets/capability/capabilities/level_co.json +++ b/assets/capability/capabilities/level_co.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_co2.json b/assets/capability/capabilities/level_co2.json index 158e9a80..03fb4ccd 100644 --- a/assets/capability/capabilities/level_co2.json +++ b/assets/capability/capabilities/level_co2.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_hepa_filter.json b/assets/capability/capabilities/level_hepa_filter.json index aec4d2cb..c1f1ec97 100644 --- a/assets/capability/capabilities/level_hepa_filter.json +++ b/assets/capability/capabilities/level_hepa_filter.json @@ -68,5 +68,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_nox.json b/assets/capability/capabilities/level_nox.json index ab092813..74d974c8 100644 --- a/assets/capability/capabilities/level_nox.json +++ b/assets/capability/capabilities/level_nox.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_o3.json b/assets/capability/capabilities/level_o3.json index d3c098bf..37e040b4 100644 --- a/assets/capability/capabilities/level_o3.json +++ b/assets/capability/capabilities/level_o3.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm01.json b/assets/capability/capabilities/level_pm01.json index 9db8c346..c704517d 100644 --- a/assets/capability/capabilities/level_pm01.json +++ b/assets/capability/capabilities/level_pm01.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm1.json b/assets/capability/capabilities/level_pm1.json index 5a96737b..114e5199 100644 --- a/assets/capability/capabilities/level_pm1.json +++ b/assets/capability/capabilities/level_pm1.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm10.json b/assets/capability/capabilities/level_pm10.json index 7b7d85b3..1dd65a69 100644 --- a/assets/capability/capabilities/level_pm10.json +++ b/assets/capability/capabilities/level_pm10.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_pm25.json b/assets/capability/capabilities/level_pm25.json index 76e187b6..deb3c707 100644 --- a/assets/capability/capabilities/level_pm25.json +++ b/assets/capability/capabilities/level_pm25.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_radon.json b/assets/capability/capabilities/level_radon.json index 38c177d5..f8c01782 100644 --- a/assets/capability/capabilities/level_radon.json +++ b/assets/capability/capabilities/level_radon.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_so2.json b/assets/capability/capabilities/level_so2.json index a95de4fe..85ecd3ec 100644 --- a/assets/capability/capabilities/level_so2.json +++ b/assets/capability/capabilities/level_so2.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/level_tvoc.json b/assets/capability/capabilities/level_tvoc.json index 31f08b2e..50eca0a2 100644 --- a/assets/capability/capabilities/level_tvoc.json +++ b/assets/capability/capabilities/level_tvoc.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_aqi.json b/assets/capability/capabilities/measure_aqi.json index 74d9fb2a..2942f6c3 100644 --- a/assets/capability/capabilities/measure_aqi.json +++ b/assets/capability/capabilities/measure_aqi.json @@ -33,5 +33,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_carbon_filter.json b/assets/capability/capabilities/measure_carbon_filter.json index a1acb45d..37cec98c 100644 --- a/assets/capability/capabilities/measure_carbon_filter.json +++ b/assets/capability/capabilities/measure_carbon_filter.json @@ -34,5 +34,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_ch2o.json b/assets/capability/capabilities/measure_ch2o.json index 5e4b4b96..d924a8dc 100644 --- a/assets/capability/capabilities/measure_ch2o.json +++ b/assets/capability/capabilities/measure_ch2o.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_content_volume.json b/assets/capability/capabilities/measure_content_volume.json index 06e68147..e00acfca 100644 --- a/assets/capability/capabilities/measure_content_volume.json +++ b/assets/capability/capabilities/measure_content_volume.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_data_rate.json b/assets/capability/capabilities/measure_data_rate.json index a30ee2e9..2dcade17 100644 --- a/assets/capability/capabilities/measure_data_rate.json +++ b/assets/capability/capabilities/measure_data_rate.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_data_size.json b/assets/capability/capabilities/measure_data_size.json index 1267c312..80fbffe2 100644 --- a/assets/capability/capabilities/measure_data_size.json +++ b/assets/capability/capabilities/measure_data_size.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_distance.json b/assets/capability/capabilities/measure_distance.json index b7c9e25a..1144046e 100644 --- a/assets/capability/capabilities/measure_distance.json +++ b/assets/capability/capabilities/measure_distance.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_frequency.json b/assets/capability/capabilities/measure_frequency.json index c1ca148c..e02eff0f 100644 --- a/assets/capability/capabilities/measure_frequency.json +++ b/assets/capability/capabilities/measure_frequency.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_hepa_filter.json b/assets/capability/capabilities/measure_hepa_filter.json index b69bf0ae..6a2ef6c1 100644 --- a/assets/capability/capabilities/measure_hepa_filter.json +++ b/assets/capability/capabilities/measure_hepa_filter.json @@ -33,5 +33,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_moisture.json b/assets/capability/capabilities/measure_moisture.json index cb160b52..7f20b645 100644 --- a/assets/capability/capabilities/measure_moisture.json +++ b/assets/capability/capabilities/measure_moisture.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_monetary.json b/assets/capability/capabilities/measure_monetary.json index da77f162..c1dcd8c9 100644 --- a/assets/capability/capabilities/measure_monetary.json +++ b/assets/capability/capabilities/measure_monetary.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_nox.json b/assets/capability/capabilities/measure_nox.json index decd2297..2d4a55ca 100644 --- a/assets/capability/capabilities/measure_nox.json +++ b/assets/capability/capabilities/measure_nox.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_o3.json b/assets/capability/capabilities/measure_o3.json index 1c024df4..2b02eda6 100644 --- a/assets/capability/capabilities/measure_o3.json +++ b/assets/capability/capabilities/measure_o3.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_odor.json b/assets/capability/capabilities/measure_odor.json index 483dd4e6..1fe63804 100644 --- a/assets/capability/capabilities/measure_odor.json +++ b/assets/capability/capabilities/measure_odor.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_ph.json b/assets/capability/capabilities/measure_ph.json index e2f72db5..aec619e0 100644 --- a/assets/capability/capabilities/measure_ph.json +++ b/assets/capability/capabilities/measure_ph.json @@ -32,5 +32,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_pm01.json b/assets/capability/capabilities/measure_pm01.json index abd01674..e23dfd6e 100755 --- a/assets/capability/capabilities/measure_pm01.json +++ b/assets/capability/capabilities/measure_pm01.json @@ -67,5 +67,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_pm1.json b/assets/capability/capabilities/measure_pm1.json index d88103e9..5ea8ae53 100755 --- a/assets/capability/capabilities/measure_pm1.json +++ b/assets/capability/capabilities/measure_pm1.json @@ -67,5 +67,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_pm10.json b/assets/capability/capabilities/measure_pm10.json index 2e211282..487912ed 100755 --- a/assets/capability/capabilities/measure_pm10.json +++ b/assets/capability/capabilities/measure_pm10.json @@ -67,5 +67,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_radon.json b/assets/capability/capabilities/measure_radon.json index 1a38595a..fa64ea36 100644 --- a/assets/capability/capabilities/measure_radon.json +++ b/assets/capability/capabilities/measure_radon.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_rain_intensity.json b/assets/capability/capabilities/measure_rain_intensity.json index d84086a5..3b131dbe 100644 --- a/assets/capability/capabilities/measure_rain_intensity.json +++ b/assets/capability/capabilities/measure_rain_intensity.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_rotation.json b/assets/capability/capabilities/measure_rotation.json index 516a5a02..0dd7a47e 100644 --- a/assets/capability/capabilities/measure_rotation.json +++ b/assets/capability/capabilities/measure_rotation.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_signal_strength.json b/assets/capability/capabilities/measure_signal_strength.json index c28450a0..6c047652 100644 --- a/assets/capability/capabilities/measure_signal_strength.json +++ b/assets/capability/capabilities/measure_signal_strength.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_so2.json b/assets/capability/capabilities/measure_so2.json index e50da649..e5b2ce76 100644 --- a/assets/capability/capabilities/measure_so2.json +++ b/assets/capability/capabilities/measure_so2.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_speed.json b/assets/capability/capabilities/measure_speed.json index af2c40b7..f93ade02 100644 --- a/assets/capability/capabilities/measure_speed.json +++ b/assets/capability/capabilities/measure_speed.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_tvoc.json b/assets/capability/capabilities/measure_tvoc.json index 6d69d225..07710606 100644 --- a/assets/capability/capabilities/measure_tvoc.json +++ b/assets/capability/capabilities/measure_tvoc.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_tvoc_index.json b/assets/capability/capabilities/measure_tvoc_index.json index 2117eafe..7042c9b1 100644 --- a/assets/capability/capabilities/measure_tvoc_index.json +++ b/assets/capability/capabilities/measure_tvoc_index.json @@ -31,5 +31,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/measure_weight.json b/assets/capability/capabilities/measure_weight.json index 50d16303..919ed4ec 100644 --- a/assets/capability/capabilities/measure_weight.json +++ b/assets/capability/capabilities/measure_weight.json @@ -36,5 +36,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/media_input.json b/assets/capability/capabilities/media_input.json index b322fbed..6a8af6f3 100644 --- a/assets/capability/capabilities/media_input.json +++ b/assets/capability/capabilities/media_input.json @@ -105,5 +105,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/mower_state.json b/assets/capability/capabilities/mower_state.json index f343610c..2dc71e47 100644 --- a/assets/capability/capabilities/mower_state.json +++ b/assets/capability/capabilities/mower_state.json @@ -87,5 +87,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/operational_state.json b/assets/capability/capabilities/operational_state.json index ce917a94..d996e502 100644 --- a/assets/capability/capabilities/operational_state.json +++ b/assets/capability/capabilities/operational_state.json @@ -75,5 +75,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/oscillating.json b/assets/capability/capabilities/oscillating.json index 9fefaf33..eaefb443 100644 --- a/assets/capability/capabilities/oscillating.json +++ b/assets/capability/capabilities/oscillating.json @@ -70,5 +70,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/pump_mode.json b/assets/capability/capabilities/pump_mode.json index 79dc34e7..e8b5e57b 100644 --- a/assets/capability/capabilities/pump_mode.json +++ b/assets/capability/capabilities/pump_mode.json @@ -98,5 +98,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/pump_setpoint.json b/assets/capability/capabilities/pump_setpoint.json index 69be8a55..3b52fbc0 100644 --- a/assets/capability/capabilities/pump_setpoint.json +++ b/assets/capability/capabilities/pump_setpoint.json @@ -52,5 +52,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/refrigerator_mode.json b/assets/capability/capabilities/refrigerator_mode.json index 80819b64..45a2c114 100644 --- a/assets/capability/capabilities/refrigerator_mode.json +++ b/assets/capability/capabilities/refrigerator_mode.json @@ -84,5 +84,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/speaker_stop.json b/assets/capability/capabilities/speaker_stop.json index 4390da37..71196c3b 100644 --- a/assets/capability/capabilities/speaker_stop.json +++ b/assets/capability/capabilities/speaker_stop.json @@ -17,5 +17,6 @@ } } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/swing_mode.json b/assets/capability/capabilities/swing_mode.json index 28a224df..cdedc637 100644 --- a/assets/capability/capabilities/swing_mode.json +++ b/assets/capability/capabilities/swing_mode.json @@ -79,5 +79,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/target_humidity.json b/assets/capability/capabilities/target_humidity.json index 4fdac096..5c83265a 100644 --- a/assets/capability/capabilities/target_humidity.json +++ b/assets/capability/capabilities/target_humidity.json @@ -52,5 +52,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/target_humidity_max.json b/assets/capability/capabilities/target_humidity_max.json index 6d0162e8..cbfcee2e 100644 --- a/assets/capability/capabilities/target_humidity_max.json +++ b/assets/capability/capabilities/target_humidity_max.json @@ -57,5 +57,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/target_humidity_min.json b/assets/capability/capabilities/target_humidity_min.json index b0471a9e..e86bcf0c 100644 --- a/assets/capability/capabilities/target_humidity_min.json +++ b/assets/capability/capabilities/target_humidity_min.json @@ -57,5 +57,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/target_temperature_level.json b/assets/capability/capabilities/target_temperature_level.json index 83cedf06..ff30dc6e 100644 --- a/assets/capability/capabilities/target_temperature_level.json +++ b/assets/capability/capabilities/target_temperature_level.json @@ -84,5 +84,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/target_temperature_max.json b/assets/capability/capabilities/target_temperature_max.json index c5415c3b..f896b5e1 100644 --- a/assets/capability/capabilities/target_temperature_max.json +++ b/assets/capability/capabilities/target_temperature_max.json @@ -57,5 +57,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/target_temperature_min.json b/assets/capability/capabilities/target_temperature_min.json index ade426f7..75611579 100644 --- a/assets/capability/capabilities/target_temperature_min.json +++ b/assets/capability/capabilities/target_temperature_min.json @@ -57,5 +57,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/vacuumcleaner_job_mode.json b/assets/capability/capabilities/vacuumcleaner_job_mode.json index 8290eb83..2fbfb10b 100644 --- a/assets/capability/capabilities/vacuumcleaner_job_mode.json +++ b/assets/capability/capabilities/vacuumcleaner_job_mode.json @@ -100,5 +100,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/assets/capability/capabilities/valve_position.json b/assets/capability/capabilities/valve_position.json index 2d583fb7..048e7e9d 100644 --- a/assets/capability/capabilities/valve_position.json +++ b/assets/capability/capabilities/valve_position.json @@ -55,5 +55,6 @@ ] } ] - } + }, + "minCompatibility": "12.1.0" } \ No newline at end of file diff --git a/lib/App/index.js b/lib/App/index.js index 7c3a5a3b..98873d24 100644 --- a/lib/App/index.js +++ b/lib/App/index.js @@ -231,6 +231,11 @@ class App { throw new Error(`drivers.${driver.id} invalid capability: ${capability}`); } + if (isSystemCapability && !isAppCapability && allowedCapabilities[capabilityId].minCompatibility && semver.lt(semver.minVersion(appJson.compatibility), allowedCapabilities[capabilityId].minCompatibility)) { + // Compatibility must be greater than or equal to the minimum required compatibility + throw new Error(`drivers.${driver.id} capability: ${capabilityId} is not available for compatibility ${appJson.compatibility}, requires minimum: ${allowedCapabilities[capabilityId].minCompatibility}`); + } + // validate battery if (BATTERY_CAPABILITIES.includes(capabilityId)) { if (!driver.energy || !Array.isArray(driver.energy.batteries)) { diff --git a/test/validate-driver-manifest.js b/test/validate-driver-manifest.js index 87d63d05..398b68b0 100644 --- a/test/validate-driver-manifest.js +++ b/test/validate-driver-manifest.js @@ -281,6 +281,39 @@ describe('HomeyLib.App#validate() driver manifest', function() { }); }); + it('`capabilities` needs to be checked for compatibility', async function() { + const app = mockApp({ + ...baseAppManifest, + compatibility: '>=5.0.0 <=12.0.0', + drivers: [{ + ...baseDriverManifest, + capabilities: ['alarm_pm01'], // Capability that requires compatibility >= 12.1 + }], + }); + + await assertValidates(app, { + debug: /capability: alarm_pm01 is not available for compatibility/i, + publish: /capability: alarm_pm01 is not available for compatibility/i, + verified: /capability: alarm_pm01 is not available for compatibility/i, + }); + }); + + it('`capabilities` without compatibility should validate', async function() { + const app = mockApp({ + ...baseAppManifest, + drivers: [{ + ...baseDriverManifest, + capabilities: ['onoff'], // Capability that has no min compatibility + }], + }); + + await assertValidates(app, { + debug: true, + publish: true, + verified: true, + }); + }); + /* * Zigbee Driver */ From fa8812b1aa87dfc74050e6ea11be6638581fca22 Mon Sep 17 00:00:00 2001 From: Niels de Boer Date: Mon, 9 Sep 2024 15:17:17 +0200 Subject: [PATCH 07/10] chore: revert alarm_generic --- assets/capability/capabilities/alarm_generic.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/capability/capabilities/alarm_generic.json b/assets/capability/capabilities/alarm_generic.json index e3a39947..87c7f834 100755 --- a/assets/capability/capabilities/alarm_generic.json +++ b/assets/capability/capabilities/alarm_generic.json @@ -83,7 +83,7 @@ "id": "alarm_generic_false", "title": { "en": "The generic alarm turned off", - "nl": "Het algemene alarm gaat uit", + "nl": "Het algemene alarm ging uit", "de": "Der allgemeine Alarm ist ausgegangen", "fr": "L'alarme générique s'est désactivée", "it": "L'allarme generico è stato disattivato", From 3c21dd15b662455d0818430ab4079164a5695e26 Mon Sep 17 00:00:00 2001 From: Niels de Boer Date: Mon, 9 Sep 2024 17:23:55 +0200 Subject: [PATCH 08/10] feat(new-capabilities): update some flowcard titles --- .../capabilities/alarm_bin_full.json | 20 +++++++++---------- .../capabilities/alarm_bin_missing.json | 20 +++++++++---------- .../alarm_cleaning_pad_missing.json | 20 +++++++++---------- .../capabilities/alarm_connectivity.json | 20 +++++++++---------- .../capability/capabilities/alarm_lost.json | 20 +++++++++---------- .../capabilities/alarm_problem.json | 20 +++++++++---------- 6 files changed, 60 insertions(+), 60 deletions(-) diff --git a/assets/capability/capabilities/alarm_bin_full.json b/assets/capability/capabilities/alarm_bin_full.json index 89ce7873..e91b6d8f 100644 --- a/assets/capability/capabilities/alarm_bin_full.json +++ b/assets/capability/capabilities/alarm_bin_full.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Bin full alarm turned on", - "nl": "Afvalbak-vol-alarm ging af" + "en": "The bin was full", + "nl": "De afvalbak was vol" }, "insightsTitleFalse": { - "en": "Bin full alarm turned off", - "nl": "Afvalbak-vol-alarm ging uit" + "en": "The bin was not full", + "nl": "De afvalbak was niet vol" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_bin_full_true", "highlight": true, "title": { - "en": "The bin full alarm turned on", - "nl": "Het afvalbak-vol-alarm gaat aan" + "en": "The bin is full", + "nl": "De afvalbak is vol" } }, { "id": "alarm_bin_full_false", "title": { - "en": "The bin full alarm turned off", - "nl": "Het afvalbak-vol-alarm gaat uit" + "en": "The bin is no longer full", + "nl": "De afvalbak is niet langer vol" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_bin_full", "title": { - "en": "The bin full alarm is !{{on|off}}", - "nl": "Het afvalbak-vol-alarm is !{{aan|uit}}" + "en": "The bin is !{{full|not full}}", + "nl": "The afvalbak is !{{vol|niet vol}}" } } ] diff --git a/assets/capability/capabilities/alarm_bin_missing.json b/assets/capability/capabilities/alarm_bin_missing.json index e59a4c5b..a87de96c 100644 --- a/assets/capability/capabilities/alarm_bin_missing.json +++ b/assets/capability/capabilities/alarm_bin_missing.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Bin missing alarm turned on", - "nl": "Afvalbak-ontbreekt-alarm ging af" + "en": "The bin was removed", + "nl": "De afvalbak was verwijderd" }, "insightsTitleFalse": { - "en": "Bin missing alarm turned off", - "nl": "Afvalbak-ontbreekt-alarm ging uit" + "en": "The bin was placed", + "nl": "De afvalbak was geplaatst" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_bin_missing_true", "highlight": true, "title": { - "en": "The bin missing alarm turned on", - "nl": "Het afvalbak-ontbreekt-alarm gaat aan" + "en": "The bin was removed", + "nl": "De afvalbak is verwijderd" } }, { "id": "alarm_bin_missing_false", "title": { - "en": "The bin missing alarm turned off", - "nl": "Het afvalbak-ontbreekt-alarm gaat uit" + "en": "The bin was placed", + "nl": "De afvalbak is geplaatst" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_bin_missing", "title": { - "en": "The bin missing alarm is !{{on|off}}", - "nl": "Het afvalbak-ontbreekt-alarm is !{{aan|uit}}" + "en": "The bin is !{{missing|present}}", + "nl": "De afvalbak is !{{aanwezig|afwezig}}" } } ] diff --git a/assets/capability/capabilities/alarm_cleaning_pad_missing.json b/assets/capability/capabilities/alarm_cleaning_pad_missing.json index 23f748e2..ab67edc0 100644 --- a/assets/capability/capabilities/alarm_cleaning_pad_missing.json +++ b/assets/capability/capabilities/alarm_cleaning_pad_missing.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Cleaning pad missing alarm turned on", - "nl": "Reinigingspad-ontbreekt-alarm ging af" + "en": "The cleaning pad was removed", + "nl": "Het reinigingspad was verwijderd" }, "insightsTitleFalse": { - "en": "Cleaning pad missing alarm turned off", - "nl": "Reinigingspad-ontbreekt-alarm ging uit" + "en": "The cleaning pad was placed", + "nl": "Het reinigingspad was geplaatst" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_pad_missing_true", "highlight": true, "title": { - "en": "The cleaning pad missing alarm turned on", - "nl": "Het reinigingspad-ontbreekt-alarm gaat aan" + "en": "The cleaning pad was removed", + "nl": "Het reinigingspad is verwijderd" } }, { "id": "alarm_pad_missing_false", "title": { - "en": "The cleaning pad missing alarm turned off", - "nl": "Het reigningingspad-ontbreekt-alarm gaat uit" + "en": "The cleaning pad was placed", + "nl": "Het reinigingspad is geplaatst" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_pad_missing", "title": { - "en": "The cleaning pad missing alarm is !{{on|off}}", - "nl": "Het reigningingspad-ontbreekt-alarm is !{{aan|uit}}" + "en": "The cleaning pad is !{{missing|present}}", + "nl": "Het reigningingspad is !{{aanwezig|afwezig}}" } } ] diff --git a/assets/capability/capabilities/alarm_connectivity.json b/assets/capability/capabilities/alarm_connectivity.json index be183e37..3ddb5174 100644 --- a/assets/capability/capabilities/alarm_connectivity.json +++ b/assets/capability/capabilities/alarm_connectivity.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Connectivity alarm turned on", - "nl": "Verbindingsalarm ging af" + "en": "Disconnected", + "nl": "Verbinding verbroken" }, "insightsTitleFalse": { - "en": "Connectivity alarm turned off", - "nl": "Verbindingsalarm ging uit" + "en": "Connected", + "nl": "Verbinding hersteld" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_connectivity_true", "highlight": true, "title": { - "en": "The connectivity alarm turned on", - "nl": "Het verbindingsalarm gaat aan" + "en": "Disconnected", + "nl": "Verbinding verbroken" } }, { "id": "alarm_connectivity_false", "title": { - "en": "The connectivity alarm turned off", - "nl": "Het verbindingsalarm gaat uit" + "en": "Connected", + "nl": "Verbonden" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_connectivity", "title": { - "en": "The connectivity alarm is !{{on|off}}", - "nl": "Het verbindingsalarm is !{{aan|uit}}" + "en": "Is !{{connected|disconnected}}", + "nl": "Is !{{verbonden|niet verbonden}}" } } ] diff --git a/assets/capability/capabilities/alarm_lost.json b/assets/capability/capabilities/alarm_lost.json index 63fefbee..bd5b6810 100644 --- a/assets/capability/capabilities/alarm_lost.json +++ b/assets/capability/capabilities/alarm_lost.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Lost alarm turned on", - "nl": "Verdwaald-alarm ging af" + "en": "Was lost", + "nl": "Was verdwaald" }, "insightsTitleFalse": { - "en": "Lost alarm turned off", - "nl": "Verdwaald-alarm ging uit" + "en": "Was no longer lost", + "nl": "Was niet meer verdwaald" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_lost_true", "highlight": true, "title": { - "en": "The lost alarm turned on", - "nl": "Het verdwaald-alarm gaat aan" + "en": "Is lost", + "nl": "Is verdwaald" } }, { "id": "alarm_lost_false", "title": { - "en": "The lost alarm turned off", - "nl": "Het verdwaald-alarm gaat uit" + "en": "Is no longer lost", + "nl": "Is niet meer verdwaald" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_lost", "title": { - "en": "The lost alarm is !{{on|off}}", - "nl": "Het verdwaald-alarm is !{{aan|uit}}" + "en": "Is !{{lost|not lost}}", + "nl": "Is !{{verdwaald|niet verdwaald}}" } } ] diff --git a/assets/capability/capabilities/alarm_problem.json b/assets/capability/capabilities/alarm_problem.json index e2adaf9a..01a68918 100644 --- a/assets/capability/capabilities/alarm_problem.json +++ b/assets/capability/capabilities/alarm_problem.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Problem alarm turned on", - "nl": "Probleemalarm ging af" + "en": "Problem was detected", + "nl": "Probleem gedetecteerd" }, "insightsTitleFalse": { - "en": "Problem alarm turned off", - "nl": "Probleemalarm ging uit" + "en": "Problem solved", + "nl": "Probleem opgelost" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_problem_true", "highlight": true, "title": { - "en": "The problem alarm turned on", - "nl": "Het probleemalarm gaat aan" + "en": "A problem is detected", + "nl": "Een probleem is gedetecteerd" } }, { "id": "alarm_problem_false", "title": { - "en": "The problem alarm turned off", - "nl": "Het probleemalarm gaat uit" + "en": "The problem is solved", + "nl": "Het probleem is opgelost" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_problem", "title": { - "en": "The problem alarm is !{{on|off}}", - "nl": "Het probleemalarm is !{{aan|uit}}" + "en": "There !{{is|isn't}} a problem", + "nl": "Er !{{is|is geen}} probleem" } } ] From 4fc53a381982daf933fe13d5838b669c0a02a027 Mon Sep 17 00:00:00 2001 From: Niels de Boer Date: Tue, 10 Sep 2024 10:57:58 +0200 Subject: [PATCH 09/10] chore: sort capabilities by compatibility --- assets/capability/capabilities.json | 144 ++++++++++++++-------------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/assets/capability/capabilities.json b/assets/capability/capabilities.json index 82653d1e..87344c34 100755 --- a/assets/capability/capabilities.json +++ b/assets/capability/capabilities.json @@ -1,29 +1,91 @@ [ + "onoff", + "dim", + "light_hue", + "light_saturation", + "light_temperature", + "light_mode", + "vacuumcleaner_state", + "thermostat_mode", + "target_temperature", + "measure_temperature", + "measure_co", + "measure_co2", + "measure_pm25", + "measure_humidity", + "measure_pressure", + "measure_noise", + "measure_rain", + "measure_wind_strength", + "measure_wind_angle", + "measure_gust_strength", + "measure_gust_angle", + "measure_battery", + "measure_power", + "measure_voltage", + "measure_current", + "measure_luminance", + "measure_ultraviolet", + "measure_water", + "alarm_generic", + "alarm_motion", + "alarm_contact", + "alarm_co", + "alarm_co2", + "alarm_pm25", + "alarm_tamper", + "alarm_smoke", + "alarm_fire", + "alarm_heat", + "alarm_water", "alarm_battery", + "alarm_night", + "meter_power", + "meter_water", + "meter_gas", + "meter_rain", + "homealarm_state", + "volume_set", + "volume_up", + "volume_down", + "volume_mute", + "channel_up", + "channel_down", + "locked", + "lock_mode", + "garagedoor_closed", + "windowcoverings_state", + "windowcoverings_tilt_up", + "windowcoverings_tilt_down", + "windowcoverings_tilt_set", + "windowcoverings_closed", + "windowcoverings_set", + "button", + "speaker_playing", + "speaker_next", + "speaker_prev", + "speaker_shuffle", + "speaker_repeat", + "speaker_artist", + "speaker_album", + "speaker_track", + "speaker_duration", + "speaker_position", "alarm_bin_full", "alarm_bin_missing", "alarm_cleaning_pad_missing", - "alarm_co", - "alarm_co2", "alarm_cold", "alarm_connectivity", - "alarm_contact", "alarm_door_fault", - "alarm_fire", "alarm_gas", - "alarm_generic", - "alarm_heat", "alarm_light", "alarm_lost", "alarm_moisture", - "alarm_motion", - "alarm_night", "alarm_noise", "alarm_occupancy", "alarm_pm01", "alarm_pm1", "alarm_pm10", - "alarm_pm25", "alarm_power", "alarm_presence", "alarm_problem", @@ -31,28 +93,19 @@ "alarm_pump_supply", "alarm_running", "alarm_safety", - "alarm_smoke", "alarm_stuck", - "alarm_tamper", "alarm_tank_empty", "alarm_tank_missing", "alarm_tank_open", "alarm_vibration", - "alarm_water", "audio_output", "battery_charging_state", - "button", - "channel_down", - "channel_up", - "dim", "dishwasher_program", "docked", "fan_mode", "fan_speed", - "garagedoor_closed", "heater_operation_mode", "measure_hepa_filter", - "homealarm_state", "hot_water_mode", "laundry_washer_cycles", "laundry_washer_program", @@ -71,32 +124,17 @@ "level_radon", "level_so2", "level_tvoc", - "light_hue", - "light_mode", - "light_saturation", - "light_temperature", - "lock_mode", - "locked", "measure_aqi", - "measure_battery", "measure_carbon_filter", "measure_ch2o", - "measure_co", - "measure_co2", "measure_content_volume", - "measure_current", "measure_data_rate", "measure_data_size", "measure_distance", "measure_frequency", - "measure_gust_angle", - "measure_gust_strength", "level_hepa_filter", - "measure_humidity", - "measure_luminance", "measure_moisture", "measure_monetary", - "measure_noise", "measure_nox", "measure_o3", "measure_odor", @@ -104,48 +142,23 @@ "measure_pm1", "measure_pm01", "measure_pm10", - "measure_pm25", - "measure_power", - "measure_pressure", "measure_radon", "measure_rain_intensity", - "measure_rain", "measure_rotation", "measure_signal_strength", "measure_so2", "measure_speed", - "measure_temperature", "measure_tvoc", "measure_tvoc_index", - "measure_ultraviolet", - "measure_voltage", - "measure_water", "measure_weight", - "measure_wind_angle", - "measure_wind_strength", "media_input", - "meter_gas", - "meter_power", - "meter_rain", - "meter_water", "mower_state", - "onoff", "operational_state", "oscillating", "pump_mode", "pump_setpoint", "refrigerator_mode", - "speaker_album", - "speaker_artist", - "speaker_duration", - "speaker_next", - "speaker_playing", - "speaker_position", - "speaker_prev", - "speaker_repeat", - "speaker_shuffle", "speaker_stop", - "speaker_track", "swing_mode", "target_humidity_max", "target_humidity_min", @@ -153,19 +166,6 @@ "target_temperature_level", "target_temperature_max", "target_temperature_min", - "target_temperature", - "thermostat_mode", "vacuumcleaner_job_mode", - "vacuumcleaner_state", - "valve_position", - "volume_down", - "volume_mute", - "volume_set", - "volume_up", - "windowcoverings_closed", - "windowcoverings_set", - "windowcoverings_state", - "windowcoverings_tilt_down", - "windowcoverings_tilt_set", - "windowcoverings_tilt_up" + "valve_position" ] \ No newline at end of file From 06686528c3260f0a430bc94a07b0dc43b469d0e2 Mon Sep 17 00:00:00 2001 From: Niels de Boer Date: Tue, 10 Sep 2024 11:40:25 +0200 Subject: [PATCH 10/10] feat(new-capabilities): update alarm capabilities' flow cards --- .../capability/capabilities/alarm_light.json | 20 +++++++++---------- .../capabilities/alarm_occupancy.json | 4 ++-- .../capabilities/alarm_pump_supply.json | 20 +++++++++---------- .../capabilities/alarm_running.json | 4 ++-- .../capability/capabilities/alarm_stuck.json | 20 +++++++++---------- .../capabilities/alarm_tank_empty.json | 20 +++++++++---------- .../capabilities/alarm_tank_missing.json | 20 +++++++++---------- .../capabilities/alarm_tank_open.json | 20 +++++++++---------- 8 files changed, 64 insertions(+), 64 deletions(-) diff --git a/assets/capability/capabilities/alarm_light.json b/assets/capability/capabilities/alarm_light.json index ef573cae..af9b1dd3 100644 --- a/assets/capability/capabilities/alarm_light.json +++ b/assets/capability/capabilities/alarm_light.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Light alarm turned on", - "nl": "Lichtalarm ging af" + "en": "Light was detected", + "nl": "Licht werd gedetecteerd" }, "insightsTitleFalse": { - "en": "Light alarm turned off", - "nl": "Lichtalarm ging uit" + "en": "Light was no longer detected", + "nl": "Licht werd niet langer gedetecteerd" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_light_true", "highlight": true, "title": { - "en": "The light alarm turned on", - "nl": "Het lichtalarm gaat aan" + "en": "Light is detected", + "nl": "Licht wordt gedetecteerd" } }, { "id": "alarm_light_false", "title": { - "en": "The light alarm turned off", - "nl": "Het lichtalarm gaat uit" + "en": "Light is no longer detected", + "nl": "Licht wordt niet langer gedetecteerd" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_light", "title": { - "en": "The light alarm is !{{on|off}}", - "nl": "Het lichtalarm is !{{aan|uit}}" + "en": "Light !{{is|is not}} detected", + "nl": "Licht !{{wordt|wordt niet}} gedetecteerd" } } ] diff --git a/assets/capability/capabilities/alarm_occupancy.json b/assets/capability/capabilities/alarm_occupancy.json index a63b8e1f..3dd0bd91 100644 --- a/assets/capability/capabilities/alarm_occupancy.json +++ b/assets/capability/capabilities/alarm_occupancy.json @@ -42,8 +42,8 @@ { "id": "alarm_occupancy", "title": { - "en": "The occupancy alarm is !{{on|off}}", - "nl": "Het bezettingsalarm is !{{aan|uit}}" + "en": "Is !{{occupied|not occupied}}", + "nl": "Is !{{bezet|niet bezet}}" } } ] diff --git a/assets/capability/capabilities/alarm_pump_supply.json b/assets/capability/capabilities/alarm_pump_supply.json index e0123a5e..7266ec24 100644 --- a/assets/capability/capabilities/alarm_pump_supply.json +++ b/assets/capability/capabilities/alarm_pump_supply.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Pump supply fault alarm turned on", - "nl": "Pompaanvoerfoutalarm ging af" + "en": "Problem was detected in the pump supply", + "nl": "Er was een probleem gedetecteerd in de pompaanvoer" }, "insightsTitleFalse": { - "en": "Pump supply fault alarm turned off", - "nl": "Pompaanvoerfoutalarm ging uit" + "en": "Problem in the pump supply was solved", + "nl": "Het probleem in de pompaanvoer werd opgelost" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_pump_supply_true", "highlight": true, "title": { - "en": "The pump supply fault alarm turned on", - "nl": "Het pompaanvoerfoutalarm gaat aan" + "en": "A problem is detected in the pump supply", + "nl": "Er is een probleem gedetecteerd in de pompaanvoer" } }, { "id": "alarm_pump_supply_false", "title": { - "en": "The pump supply fault alarm turned off", - "nl": "Het pompaanvoerfoutalarm gaat uit" + "en": "The problem in the pump supply is solved", + "nl": "Het probleem in de pompaanvoer is opgelost" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_pump_supply", "title": { - "en": "The pump supply fault alarm is !{{on|off}}", - "nl": "Het pompaanvoerfoutalarm is !{{aan|uit}}" + "en": "There !{{is|isn't}} a problem in the pump supply", + "nl": "Er !{{is|is geen}} een probleem in de pompaanvoer" } } ] diff --git a/assets/capability/capabilities/alarm_running.json b/assets/capability/capabilities/alarm_running.json index 9b083d1c..2ae20e1a 100644 --- a/assets/capability/capabilities/alarm_running.json +++ b/assets/capability/capabilities/alarm_running.json @@ -42,8 +42,8 @@ { "id": "alarm_running", "title": { - "en": "The running alarm is !{{on|off}}", - "nl": "Het werkzaamheidsalarm is !{{aan|uit}}" + "en": "Is !{{busy|not busy}}", + "nl": "Is !{{bezig|niet bezig}}" } } ] diff --git a/assets/capability/capabilities/alarm_stuck.json b/assets/capability/capabilities/alarm_stuck.json index 0ae061da..65c95afa 100644 --- a/assets/capability/capabilities/alarm_stuck.json +++ b/assets/capability/capabilities/alarm_stuck.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Stuck alarm turned on", - "nl": "Vastgelopen-alarm ging af" + "en": "Was stuck", + "nl": "Zat vast" }, "insightsTitleFalse": { - "en": "Stuck alarm turned off", - "nl": "Vastgelopen-alarm ging uit" + "en": "Was no longer stuck", + "nl": "Zat niet langer vast" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_stuck_true", "highlight": true, "title": { - "en": "The stuck alarm turned on", - "nl": "Het vastgelopen-alarm gaat aan" + "en": "Is stuck", + "nl": "Zit vast" } }, { "id": "alarm_stuck_false", "title": { - "en": "The stuck alarm turned off", - "nl": "Het vastgelopen-alarm gaat uit" + "en": "Is no longer stuck", + "nl": "Zit niet langer vast" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_stuck", "title": { - "en": "The stuck alarm is !{{on|off}}", - "nl": "Het vastgelopen-alarm is !{{aan|uit}}" + "en": "Is !{{stuck|not stuck}}", + "nl": "Zit !{{vast|niet vast}}" } } ] diff --git a/assets/capability/capabilities/alarm_tank_empty.json b/assets/capability/capabilities/alarm_tank_empty.json index a29e6896..3318b1bf 100644 --- a/assets/capability/capabilities/alarm_tank_empty.json +++ b/assets/capability/capabilities/alarm_tank_empty.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Tank empty alarm turned on", - "nl": "Tank leeg alarm ging af" + "en": "Tank was empty", + "nl": "Tank was leeg" }, "insightsTitleFalse": { - "en": "Tank empty alarm turned off", - "nl": "Tank leeg alarm ging uit" + "en": "Tank was not empty", + "nl": "Tank was niet leeg" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_tank_empty_true", "highlight": true, "title": { - "en": "The tank empty alarm turned on", - "nl": "Het tank leeg alarm gaat aan" + "en": "The tank is empty", + "nl": "De tank is leeg" } }, { "id": "alarm_tank_empty_false", "title": { - "en": "The tank empty alarm turned off", - "nl": "Het tank leeg alarm gaat uit" + "en": "The tank is no longer empty", + "nl": "De tank is niet langer leeg" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_tank_empty", "title": { - "en": "The tank empty alarm is !{{on|off}}", - "nl": "Het tank leeg alarm is !{{aan|uit}}" + "en": "The tank is !{{empty|not empty}}", + "nl": "De tank is !{{leeg|niet leeg}}" } } ] diff --git a/assets/capability/capabilities/alarm_tank_missing.json b/assets/capability/capabilities/alarm_tank_missing.json index 5c1b1bac..a5a349c2 100644 --- a/assets/capability/capabilities/alarm_tank_missing.json +++ b/assets/capability/capabilities/alarm_tank_missing.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Tank missing alarm turned on", - "nl": "Tank-ontbreekt-alarm ging af" + "en": "Tank was missing", + "nl": "Tank ontbrak" }, "insightsTitleFalse": { - "en": "Tank missing alarm turned off", - "nl": "Tank-ontbreekt-alarm ging uit" + "en": "Tank was not missing", + "nl": "Tank was geplaatst" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_tank_missing_true", "highlight": true, "title": { - "en": "The tank missing alarm turned on", - "nl": "Het tank-ontbreekt-alarm gaat aan" + "en": "The tank is missing", + "nl": "De tank ontbreekt" } }, { "id": "alarm_tank_missing_false", "title": { - "en": "The tank missing alarm turned off", - "nl": "Het tank-ontbreekt-alarm gaat uit" + "en": "The tank is placed", + "nl": "De tank is geplaatst" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_tank_missing", "title": { - "en": "The tank missing alarm is !{{on|off}}", - "nl": "Het tank-ontbreekt-alarm is !{{aan|uit}}" + "en": "The tank is !{{missing|placed}}", + "nl": "De tank !{{ontbreekt|is geplaatst}}" } } ] diff --git a/assets/capability/capabilities/alarm_tank_open.json b/assets/capability/capabilities/alarm_tank_open.json index dc6067d7..7fb0b3f6 100644 --- a/assets/capability/capabilities/alarm_tank_open.json +++ b/assets/capability/capabilities/alarm_tank_open.json @@ -10,12 +10,12 @@ }, "insights": true, "insightsTitleTrue": { - "en": "Tank open alarm turned on", - "nl": "Tank-open-alarm ging af" + "en": "Tank was open", + "nl": "Tank was open" }, "insightsTitleFalse": { - "en": "Tank open alarm turned off", - "nl": "Tank-open-alarm ging uit" + "en": "Tank was closed", + "nl": "Tank was gesloten" }, "getable": true, "setable": false, @@ -26,15 +26,15 @@ "id": "alarm_tank_open_true", "highlight": true, "title": { - "en": "The tank open alarm turned on", - "nl": "Het tank-open-alarm gaat aan" + "en": "The tank opens", + "nl": "De tank gaat open" } }, { "id": "alarm_tank_open_false", "title": { - "en": "The tank open alarm turned off", - "nl": "Het tank-open-alarm gaat uit" + "en": "The tank closes", + "nl": "De tank sluit" } } ], @@ -42,8 +42,8 @@ { "id": "alarm_tank_open", "title": { - "en": "The tank open alarm is !{{on|off}}", - "nl": "Het tank-open-alarm is !{{aan|uit}}" + "en": "The tank is !{{open|closed}}", + "nl": "De tank is !{{open|closed}}" } } ]