Clarify description of fan actions, fix typo (#132023)

This commit is contained in:
Norbert Rittel 2024-12-01 20:55:27 +01:00 committed by GitHub
parent ff1702eefa
commit bd3f432376
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,17 +56,17 @@
"services": { "services": {
"set_preset_mode": { "set_preset_mode": {
"name": "Set preset mode", "name": "Set preset mode",
"description": "Sets preset mode.", "description": "Sets preset fan mode.",
"fields": { "fields": {
"preset_mode": { "preset_mode": {
"name": "Preset mode", "name": "Preset mode",
"description": "Preset mode." "description": "Preset fan mode."
} }
} }
}, },
"set_percentage": { "set_percentage": {
"name": "Set speed", "name": "Set speed",
"description": "Sets the fan speed.", "description": "Sets the speed of a fan.",
"fields": { "fields": {
"percentage": { "percentage": {
"name": "Percentage", "name": "Percentage",
@ -94,45 +94,45 @@
}, },
"oscillate": { "oscillate": {
"name": "Oscillate", "name": "Oscillate",
"description": "Controls oscillatation of the fan.", "description": "Controls the oscillation of a fan.",
"fields": { "fields": {
"oscillating": { "oscillating": {
"name": "Oscillating", "name": "Oscillating",
"description": "Turn on/off oscillation." "description": "Turns oscillation on/off."
} }
} }
}, },
"toggle": { "toggle": {
"name": "[%key:common::action::toggle%]", "name": "[%key:common::action::toggle%]",
"description": "Toggles the fan on/off." "description": "Toggles a fan on/off."
}, },
"set_direction": { "set_direction": {
"name": "Set direction", "name": "Set direction",
"description": "Sets the fan rotation direction.", "description": "Sets a fan's rotation direction.",
"fields": { "fields": {
"direction": { "direction": {
"name": "Direction", "name": "Direction",
"description": "Direction to rotate." "description": "Direction of the fan rotation."
} }
} }
}, },
"increase_speed": { "increase_speed": {
"name": "Increase speed", "name": "Increase speed",
"description": "Increases the speed of the fan.", "description": "Increases the speed of a fan.",
"fields": { "fields": {
"percentage_step": { "percentage_step": {
"name": "Increment", "name": "Increment",
"description": "Increases the speed by a percentage step." "description": "Percentage step by which the speed should be increased."
} }
} }
}, },
"decrease_speed": { "decrease_speed": {
"name": "Decrease speed", "name": "Decrease speed",
"description": "Decreases the speed of the fan.", "description": "Decreases the speed of a fan.",
"fields": { "fields": {
"percentage_step": { "percentage_step": {
"name": "Decrement", "name": "Decrement",
"description": "Decreases the speed by a percentage step." "description": "Percentage step by which the speed should be decreased."
} }
} }
} }