mirror of
https://github.com/home-assistant/core.git
synced 2026-08-29 18:25:07 -05:00
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"title": "Input Weekday",
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::input_weekday::title%]",
|
|
"state_attributes": {
|
|
"weekdays": {
|
|
"name": "Weekdays"
|
|
},
|
|
"editable": {
|
|
"name": "[%key:common::generic::ui_managed%]",
|
|
"state": {
|
|
"true": "[%key:common::state::yes%]",
|
|
"false": "[%key:common::state::no%]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"set_weekdays": {
|
|
"name": "Set weekdays",
|
|
"description": "Sets the selected weekdays.",
|
|
"fields": {
|
|
"weekdays": {
|
|
"name": "Weekdays",
|
|
"description": "List of weekdays to select."
|
|
}
|
|
}
|
|
},
|
|
"add_weekday": {
|
|
"name": "Add weekday",
|
|
"description": "Adds a weekday to the selection.",
|
|
"fields": {
|
|
"weekday": {
|
|
"name": "Weekday",
|
|
"description": "Weekday to add."
|
|
}
|
|
}
|
|
},
|
|
"remove_weekday": {
|
|
"name": "Remove weekday",
|
|
"description": "Removes a weekday from the selection.",
|
|
"fields": {
|
|
"weekday": {
|
|
"name": "Weekday",
|
|
"description": "Weekday to remove."
|
|
}
|
|
}
|
|
},
|
|
"toggle_weekday": {
|
|
"name": "Toggle weekday",
|
|
"description": "Toggles a weekday in the selection.",
|
|
"fields": {
|
|
"weekday": {
|
|
"name": "Weekday",
|
|
"description": "Weekday to toggle."
|
|
}
|
|
}
|
|
},
|
|
"clear": {
|
|
"name": "Clear",
|
|
"description": "Clears all selected weekdays."
|
|
},
|
|
"reload": {
|
|
"name": "[%key:common::action::reload%]",
|
|
"description": "Reloads helpers from the YAML-configuration."
|
|
}
|
|
}
|
|
}
|