1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00
Files
core/homeassistant/components/fan/strings.json
Erik Montnemery 393be71009 Improve trigger descriptions (#157643)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-12-02 11:08:39 +01:00

190 lines
5.4 KiB
JSON

{
"common": {
"trigger_behavior_description": "The behavior of the targeted fans to trigger on.",
"trigger_behavior_name": "Behavior"
},
"device_automation": {
"action_type": {
"toggle": "[%key:common::device_automation::action_type::toggle%]",
"turn_off": "[%key:common::device_automation::action_type::turn_off%]",
"turn_on": "[%key:common::device_automation::action_type::turn_on%]"
},
"condition_type": {
"is_off": "[%key:common::device_automation::condition_type::is_off%]",
"is_on": "[%key:common::device_automation::condition_type::is_on%]"
},
"extra_fields": {
"for": "[%key:common::device_automation::extra_fields::for%]"
},
"trigger_type": {
"changed_states": "[%key:common::device_automation::trigger_type::changed_states%]",
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]",
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]"
}
},
"entity_component": {
"_": {
"name": "[%key:component::fan::title%]",
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
},
"state_attributes": {
"direction": {
"name": "Direction",
"state": {
"forward": "Forward",
"reverse": "Reverse"
}
},
"oscillating": {
"name": "Oscillating",
"state": {
"false": "[%key:common::state::no%]",
"true": "[%key:common::state::yes%]"
}
},
"percentage": {
"name": "Speed"
},
"percentage_step": {
"name": "Speed step"
},
"preset_mode": {
"name": "Preset mode"
},
"preset_modes": {
"name": "Available preset modes"
}
}
}
},
"exceptions": {
"not_valid_preset_mode": {
"message": "Preset mode {preset_mode} is not valid, valid preset modes are: {preset_modes}."
}
},
"selector": {
"direction": {
"options": {
"forward": "Forward",
"reverse": "Reverse"
}
},
"trigger_behavior": {
"options": {
"any": "Any",
"first": "First",
"last": "Last"
}
}
},
"services": {
"decrease_speed": {
"description": "Decreases the speed of a fan.",
"fields": {
"percentage_step": {
"description": "Percentage step by which the speed should be decreased.",
"name": "Decrement"
}
},
"name": "Decrease speed"
},
"increase_speed": {
"description": "Increases the speed of a fan.",
"fields": {
"percentage_step": {
"description": "Percentage step by which the speed should be increased.",
"name": "Increment"
}
},
"name": "Increase speed"
},
"oscillate": {
"description": "Controls the oscillation of a fan.",
"fields": {
"oscillating": {
"description": "Turns oscillation on/off.",
"name": "Oscillating"
}
},
"name": "Oscillate"
},
"set_direction": {
"description": "Sets a fan's rotation direction.",
"fields": {
"direction": {
"description": "Direction of the fan rotation.",
"name": "Direction"
}
},
"name": "Set direction"
},
"set_percentage": {
"description": "Sets the speed of a fan.",
"fields": {
"percentage": {
"description": "Speed of the fan.",
"name": "Percentage"
}
},
"name": "Set speed"
},
"set_preset_mode": {
"description": "Sets preset fan mode.",
"fields": {
"preset_mode": {
"description": "Preset fan mode.",
"name": "Preset mode"
}
},
"name": "Set preset mode"
},
"toggle": {
"description": "Toggles a fan on/off.",
"name": "[%key:common::action::toggle%]"
},
"turn_off": {
"description": "Turns fan off.",
"name": "[%key:common::action::turn_off%]"
},
"turn_on": {
"description": "Turns fan on.",
"fields": {
"percentage": {
"description": "[%key:component::fan::services::set_percentage::fields::percentage::description%]",
"name": "[%key:component::fan::services::set_percentage::fields::percentage::name%]"
},
"preset_mode": {
"description": "[%key:component::fan::services::set_preset_mode::fields::preset_mode::description%]",
"name": "[%key:component::fan::services::set_preset_mode::fields::preset_mode::name%]"
}
},
"name": "[%key:common::action::turn_on%]"
}
},
"title": "Fan",
"triggers": {
"turned_off": {
"description": "Triggers after one or more fans turn off.",
"fields": {
"behavior": {
"description": "[%key:component::fan::common::trigger_behavior_description%]",
"name": "[%key:component::fan::common::trigger_behavior_name%]"
}
},
"name": "Fan turned off"
},
"turned_on": {
"description": "Triggers after one or more fans turn on.",
"fields": {
"behavior": {
"description": "[%key:component::fan::common::trigger_behavior_description%]",
"name": "[%key:component::fan::common::trigger_behavior_name%]"
}
},
"name": "Fan turned on"
}
}
}