mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Fix action descriptions in Xiaomi Miio integration (#138476)
* Fix action description in Xiaomi Miio integration Correct several missing descriptions, wrong references to completely different actions, resulting duplicates and copy & paste errors. Make the grammar more consistent across all strings. Make one occurrence of "xiaomi miio" consistent by capitalizing. * Apply suggestions from @CFenner review Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com> * Change "on a light" to "of a light", remove wrong comma * Change "turn off" to "turning off" according to OED --------- Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
This commit is contained in:
parent
fae68c8ad5
commit
48f58c7d49
@ -331,7 +331,7 @@
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
"description": "Name of the xiaomi miio entity."
|
||||
"description": "Name of the Xiaomi Miio entity."
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -365,7 +365,7 @@
|
||||
},
|
||||
"light_set_delayed_turn_off": {
|
||||
"name": "Light set delayed turn off",
|
||||
"description": "Delayed turn off.",
|
||||
"description": "Sets the delayed turning off of a light.",
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
@ -373,7 +373,7 @@
|
||||
},
|
||||
"time_period": {
|
||||
"name": "Time period",
|
||||
"description": "Time period for the delayed turn off."
|
||||
"description": "Time period for the delayed turning off."
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -398,8 +398,8 @@
|
||||
}
|
||||
},
|
||||
"light_night_light_mode_on": {
|
||||
"name": "Night light mode on",
|
||||
"description": "Turns the eyecare mode on (EYECARE SMART LAMP 2 ONLY).",
|
||||
"name": "Light night light mode on",
|
||||
"description": "Turns on the night light mode of a light (EYECARE SMART LAMP 2 ONLY).",
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
@ -408,8 +408,8 @@
|
||||
}
|
||||
},
|
||||
"light_night_light_mode_off": {
|
||||
"name": "Night light mode off",
|
||||
"description": "Turns the eyecare mode fan_set_dry_off (EYECARE SMART LAMP 2 ONLY).",
|
||||
"name": "Light night light mode off",
|
||||
"description": "Turns off the night light mode of a light (EYECARE SMART LAMP 2 ONLY).",
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
@ -419,7 +419,7 @@
|
||||
},
|
||||
"light_eyecare_mode_on": {
|
||||
"name": "Light eyecare mode on",
|
||||
"description": "[%key:component::xiaomi_miio::services::light_reminder_on::description%]",
|
||||
"description": "Turns on the eyecare mode of a light (EYECARE SMART LAMP 2 ONLY).",
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
@ -429,7 +429,7 @@
|
||||
},
|
||||
"light_eyecare_mode_off": {
|
||||
"name": "Light eyecare mode off",
|
||||
"description": "[%key:component::xiaomi_miio::services::light_reminder_off::description%]",
|
||||
"description": "Turns off the eyecare mode of a light (EYECARE SMART LAMP 2 ONLY).",
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
@ -439,7 +439,7 @@
|
||||
},
|
||||
"remote_learn_command": {
|
||||
"name": "Remote learn command",
|
||||
"description": "Learns an IR command, select **Perform action**, point the remote at the IR device, and the learned command will be shown as a notification in Overview.",
|
||||
"description": "Learns an IR command. Select **Perform action**, point the remote at the IR device, and the learned command will be shown as a notification in Overview.",
|
||||
"fields": {
|
||||
"slot": {
|
||||
"name": "Slot",
|
||||
@ -447,21 +447,21 @@
|
||||
},
|
||||
"timeout": {
|
||||
"name": "Timeout",
|
||||
"description": "Define the timeout, before which the command must be learned."
|
||||
"description": "Define the timeout before which the command must be learned."
|
||||
}
|
||||
}
|
||||
},
|
||||
"remote_set_led_on": {
|
||||
"name": "Remote set LED on",
|
||||
"description": "Turns on blue LED."
|
||||
"description": "Turns on the remote’s blue LED."
|
||||
},
|
||||
"remote_set_led_off": {
|
||||
"name": "Remote set LED off",
|
||||
"description": "Turns off blue LED."
|
||||
"description": "Turns off the remote’s blue LED."
|
||||
},
|
||||
"switch_set_wifi_led_on": {
|
||||
"name": "Switch set Wi-Fi LED on",
|
||||
"description": "Turns the Wi-Fi LED on.",
|
||||
"description": "Turns on the Wi-Fi LED of a switch.",
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
@ -471,7 +471,7 @@
|
||||
},
|
||||
"switch_set_wifi_led_off": {
|
||||
"name": "Switch set Wi-Fi LED off",
|
||||
"description": "Turns the Wi-Fi LED off.",
|
||||
"description": "Turns off the Wi-Fi LED of a switch.",
|
||||
"fields": {
|
||||
"entity_id": {
|
||||
"name": "Entity ID",
|
||||
|
Loading…
x
Reference in New Issue
Block a user