mirror of https://github.com/home-assistant/core
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"title": "Input number",
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::input_number::title%]",
|
|
"state_attributes": {
|
|
"editable": {
|
|
"name": "[%key:common::generic::ui_managed%]",
|
|
"state": {
|
|
"true": "[%key:common::state::yes%]",
|
|
"false": "[%key:common::state::no%]"
|
|
}
|
|
},
|
|
"initial": {
|
|
"name": "Initial value"
|
|
},
|
|
"max": {
|
|
"name": "[%key:component::number::entity_component::_::state_attributes::max::name%]"
|
|
},
|
|
"min": {
|
|
"name": "[%key:component::number::entity_component::_::state_attributes::min::name%]"
|
|
},
|
|
"mode": {
|
|
"name": "[%key:component::number::entity_component::_::state_attributes::mode::name%]",
|
|
"state": {
|
|
"auto": "[%key:component::number::entity_component::_::state_attributes::mode::state::auto%]",
|
|
"box": "[%key:component::number::entity_component::_::state_attributes::mode::state::box%]",
|
|
"slider": "[%key:component::number::entity_component::_::state_attributes::mode::state::slider%]"
|
|
}
|
|
},
|
|
"step": {
|
|
"name": "[%key:component::number::entity_component::_::state_attributes::step::name%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"decrement": {
|
|
"name": "Decrement",
|
|
"description": "Decrements the current value by 1 step."
|
|
},
|
|
"increment": {
|
|
"name": "Increment",
|
|
"description": "Increments the current value by 1 step."
|
|
},
|
|
"set_value": {
|
|
"name": "Set",
|
|
"description": "Sets the value.",
|
|
"fields": {
|
|
"value": {
|
|
"name": "Value",
|
|
"description": "The target value."
|
|
}
|
|
}
|
|
},
|
|
"reload": {
|
|
"name": "[%key:common::action::reload%]",
|
|
"description": "Reloads helpers from the YAML-configuration."
|
|
}
|
|
}
|
|
}
|