Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(capability-colors): Add capability colors #528

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_battery.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm stanu baterii wyłączony",
"ko": "배터리 알람 꺼짐"
},
"color": "#6DD400",
"getable": true,
"setable": false,
"uiComponent": "battery",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_bin_full.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sv": "Behållaren var inte full",
"no": "Støvbeholderen var ikke full"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_bin_missing.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sv": "Behållaren placerades",
"no": "Støvbeholderen ble satt på plass"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sv": "Rengöringsdynan placerades",
"no": "Vaskekluten ble satt på plass"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_co.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm o CO wyłączony",
"ko": "일산화탄소(CO) 알람 꺼짐"
},
"color": "#E02020",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_co2.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"pl": "Alarm o CO2 wyłączony",
"ko": "이산화탄소(CO2) 알람 꺼짐"
},
"color": "#E02020",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_cold.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"ru": "Сигнал холода выключен",
"sv": "Köldlarm inaktiverat"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_connectivity.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sv": "Ansluten",
"es": "Conectado"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_contact.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm otwarcia wyłączony",
"ko": "닫힘"
},
"color": "#32C5FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_door_fault.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sv": "Larm för dörrfel inaktiverat",
"es": "Alarma de fallo en puerta desactivada"
},
"color": "#0082FA",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_fire.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm przeciwpożarowy wyłączony",
"ko": "정상"
},
"color": "#FA6400",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"sv": "Gaslarm inaktiverat",
"es": "Alarma de gas desactivada"
},
"color": "#F9236C",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm ogólny wyłączony",
"ko": "알람 꺼짐"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_heat.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm termiczny wyłączony",
"ko": "정상"
},
"color": "#FA6400",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_light.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
},
"getable": true,
"setable": false,
"color": "#F7B500",
"uiComponent": "sensor",
"$flow": {
"triggers": [
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_lost.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Ya no estaba perdido",
"fr": "N'était plus perdu"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_moisture.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de humedad desactivada",
"fr": "Alarme d'humidité désactivée"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_motion.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
},
"getable": true,
"setable": false,
"color": "#32C5FF",
"uiComponent": "sensor",
"options": {
"zoneActivity": true
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_night.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm nocny wyłączony",
"ko": "야간 알람 꺼짐"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_noise.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de ruido desactivada",
"fr": "Alarme sonore désactivée"
},
"color": "#F7B500",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_occupancy.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de ocupación desactivada",
"fr": "Alarme d'occupation désactivée"
},
"color": "#32C5FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_pm01.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm PM0.1 wyłączony",
"ko": "나노미세먼지(PM0.1) 알람 꺼짐"
},
"color": "#E02020",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_pm1.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm PM1 wyłączony",
"ko": "극초미세먼지(PM1.0) 알람 꺼짐"
},
"color": "#E02020",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_pm10.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm PM10 wyłączony",
"ko": "미세먼지(PM10) 알람 꺼짐"
},
"color": "#E02020",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_pm25.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm PM2.5 wyłączony",
"ko": "초미세먼지(PM2.5) 알람 꺼짐"
},
"color": "#E02020",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_power.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de suministro eléctrico desactivada",
"fr": "Alarme d'alimentation électrique désactivée"
},
"color": "#6DD400",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_presence.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de presencia desactivada",
"fr": "Alarme de présence désactivée"
},
"color": "#32C5FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_problem.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Problema resuelto",
"fr": "Problème résolu"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_pump_device.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de fallo en el dispositivo de bombeo desactivada",
"fr": "Alarme de défaut de l'appareil de pompage désactivée"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_pump_supply.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"fr": "Le problème d'alimentation de la pompe a été résolu",
"no": "Problemet i pumpeforsyningen ble løst"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_running.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"fr": "Alarme de fonctionnement désactivée",
"no": "Kjøringsalarm deaktivert"
},
"color": "#32C5FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_safety.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de seguridad desactivada",
"fr": "Alarme de sécurité désactivée"
},
"color": "#32C5FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_smoke.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm przeciwdymny wyłączony",
"ko": "정상"
},
"color": "#FA6400",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_stuck.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Ya no estaba atascado",
"fr": "N'était plus bloqué"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_tamper.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm antyingerencyjny wyłączony",
"ko": "정상"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_tank_empty.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "El depósito no estaba vacío",
"fr": "Le réservoir n'était pas vide"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_tank_missing.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "El depósito estaba colocado",
"fr": "Le réservoir n'était pas manquant"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_tank_open.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "El depósito estaba cerrado",
"fr": "Le réservoir était fermé"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_vibration.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"es": "Alarma de vibración desactivada",
"fr": "Alarme de vibration désactivée"
},
"color": "#32C5FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/alarm_water.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"pl": "Alarm zalania wodą wyłączony",
"ko": "누수 감지되지 않음"
},
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/audio_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
}
}
],
"color": "#9033FC",
"getable": true,
"setable": true,
"uiComponent": "picker",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/battery_charging_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
}
}
],
"color": "#6DD400",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/button.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ko": "버튼"
},
"type": "boolean",
"color": "#9033FC",
"getable": false,
"setable": true,
"uiComponent": "button",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/channel_down.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ko": "채널 아래로"
},
"type": "boolean",
"color": "#9033FC",
"getable": false,
"setable": true,
"$flow": {
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/channel_up.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ko": "채널 위로"
},
"type": "boolean",
"color": "#9033FC",
"getable": false,
"setable": true,
"$flow": {
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/dim.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"no": "%",
"ru": "%"
},
"color": "#F7B500",
"getable": true,
"setable": true,
"uiComponent": "slider",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/dishwasher_program.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
}
}
],
"color": "#0091FF",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/docked.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"fr": "Pas à la base",
"no": "Ikke i stasjonen"
},
"color": "#9033FC",
"getable": true,
"setable": false,
"uiComponent": "sensor",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/fan_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
}
}
],
"color": "#0091FF",
"getable": true,
"setable": true,
"uiComponent": "picker",
Expand Down
1 change: 1 addition & 0 deletions assets/capability/capabilities/fan_speed.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"min": 0,
"max": 1,
"decimals": 2,
"color": "#0091FF",
"getable": true,
"setable": true,
"uiComponent": "slider",
Expand Down
Loading