1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 08:26:41 +01:00

Improve fan action naming consistency (#166379)

This commit is contained in:
Franck Nijhof
2026-03-24 19:55:09 +01:00
committed by GitHub
parent 96c3f3f054
commit 65e90b9b9f

View File

@@ -118,7 +118,7 @@
"name": "Decrement"
}
},
"name": "Decrease speed"
"name": "Decrease fan speed"
},
"increase_speed": {
"description": "Increases the speed of a fan.",
@@ -128,7 +128,7 @@
"name": "Increment"
}
},
"name": "Increase speed"
"name": "Increase fan speed"
},
"oscillate": {
"description": "Controls the oscillation of a fan.",
@@ -138,7 +138,7 @@
"name": "Oscillating"
}
},
"name": "Oscillate"
"name": "Oscillate fan"
},
"set_direction": {
"description": "Sets a fan's rotation direction.",
@@ -148,7 +148,7 @@
"name": "Direction"
}
},
"name": "Set direction"
"name": "Set fan direction"
},
"set_percentage": {
"description": "Sets the speed of a fan.",
@@ -158,28 +158,28 @@
"name": "Percentage"
}
},
"name": "Set speed"
"name": "Set fan speed"
},
"set_preset_mode": {
"description": "Sets preset fan mode.",
"description": "Sets the preset mode of a fan.",
"fields": {
"preset_mode": {
"description": "Preset fan mode.",
"name": "Preset mode"
}
},
"name": "Set preset mode"
"name": "Set fan preset mode"
},
"toggle": {
"description": "Toggles a fan on/off.",
"name": "[%key:common::action::toggle%]"
"name": "Toggle fan"
},
"turn_off": {
"description": "Turns fan off.",
"name": "[%key:common::action::turn_off%]"
"description": "Turns off a fan.",
"name": "Turn off fan"
},
"turn_on": {
"description": "Turns fan on.",
"description": "Turns on a fan.",
"fields": {
"percentage": {
"description": "[%key:component::fan::services::set_percentage::fields::percentage::description%]",
@@ -190,7 +190,7 @@
"name": "[%key:component::fan::services::set_preset_mode::fields::preset_mode::name%]"
}
},
"name": "[%key:common::action::turn_on%]"
"name": "Turn on fan"
}
},
"title": "Fan",