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: add allowed virtual to new device classes #415

Merged
merged 1 commit into from
Jun 28, 2024
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
8 changes: 6 additions & 2 deletions assets/device/classes/airtreatment.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
},
"description": {
"en": "Use this device class for any type of air treatment appliance, when the `dehumidifier`, `humidifier`, `diffuser` or `airpurifier` device class doesn't apply. Could be for combi units."
}
}
},
"virtualTitle": {
"en": "What's the type?"
},
"allowedVirtual": ["airpurifier", "dehumidifier", "diffuser", "humidifier"]
}
8 changes: 6 additions & 2 deletions assets/device/classes/heater.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@
"da": "Brug denne enhedsklasse til varmeapparater, som opvarmer dit hjem.",
"ru": "Используйте этот класс устройств для обогревателей, которые обогревают ваш дом.",
"pl": "Użyj tej klasy urządzeń dla grzejników, które ogrzewają dom."
}
}
},
"virtualTitle": {
"en": "What's the type?"
},
"allowedVirtual": ["radiator"]
}
8 changes: 6 additions & 2 deletions assets/device/classes/mediaplayer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
},
"description": {
"en": "Use this device class for media players, when the `Set-top box` device class doesn't apply."
}
}
},
"virtualTitle": {
"en": "What's the type?"
},
"allowedVirtual": ["settopbox"]
}
8 changes: 6 additions & 2 deletions assets/device/classes/vehicle.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
},
"description": {
"en": "Use this device class for any type of vehicle, when the `car`, `bicycle` or `scooter` device class doesn't apply."
}
}
},
"virtualTitle": {
"en": "What's the type?"
},
"allowedVirtual": ["bicycle", "car", "scooter"]
}
3 changes: 2 additions & 1 deletion assets/device/classes/windowcoverings.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"allowedVirtual": [
"sunshade",
"blinds",
"curtain"
"curtain",
"shutterblinds"
]
}
Loading