mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 08:26:41 +01:00
117 lines
3.2 KiB
JSON
117 lines
3.2 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_description": "How the state should match on the targeted timers.",
|
|
"condition_behavior_name": "Behavior"
|
|
},
|
|
"conditions": {
|
|
"is_active": {
|
|
"description": "Tests if one or more timers are active.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::timer::common::condition_behavior_description%]",
|
|
"name": "[%key:component::timer::common::condition_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Timer is active"
|
|
},
|
|
"is_idle": {
|
|
"description": "Tests if one or more timers are idle.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::timer::common::condition_behavior_description%]",
|
|
"name": "[%key:component::timer::common::condition_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Timer is idle"
|
|
},
|
|
"is_paused": {
|
|
"description": "Tests if one or more timers are paused.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::timer::common::condition_behavior_description%]",
|
|
"name": "[%key:component::timer::common::condition_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Timer is paused"
|
|
}
|
|
},
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "Timer",
|
|
"state": {
|
|
"active": "[%key:common::state::active%]",
|
|
"idle": "[%key:common::state::idle%]",
|
|
"paused": "[%key:common::state::paused%]"
|
|
},
|
|
"state_attributes": {
|
|
"duration": {
|
|
"name": "Duration"
|
|
},
|
|
"editable": {
|
|
"name": "[%key:common::generic::ui_managed%]",
|
|
"state": {
|
|
"false": "[%key:common::state::no%]",
|
|
"true": "[%key:common::state::yes%]"
|
|
}
|
|
},
|
|
"finishes_at": {
|
|
"name": "Finishes at"
|
|
},
|
|
"remaining": {
|
|
"name": "Remaining"
|
|
},
|
|
"restore": {
|
|
"name": "Restore"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"condition_behavior": {
|
|
"options": {
|
|
"all": "All",
|
|
"any": "Any"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"cancel": {
|
|
"description": "Resets a timer's duration to the last known initial value without firing the timer finished event.",
|
|
"name": "Cancel timer"
|
|
},
|
|
"change": {
|
|
"description": "Changes a timer by adding or subtracting a given duration.",
|
|
"fields": {
|
|
"duration": {
|
|
"description": "Duration to add to or subtract from the running timer.",
|
|
"name": "Duration"
|
|
}
|
|
},
|
|
"name": "Change timer"
|
|
},
|
|
"finish": {
|
|
"description": "Finishes a running timer earlier than scheduled.",
|
|
"name": "Finish timer"
|
|
},
|
|
"pause": {
|
|
"description": "Pauses a running timer, retaining the remaining duration for later continuation.",
|
|
"name": "Pause timer"
|
|
},
|
|
"reload": {
|
|
"description": "Reloads timers from the YAML-configuration.",
|
|
"name": "Reload timers"
|
|
},
|
|
"start": {
|
|
"description": "Starts a timer or restarts it with a provided duration.",
|
|
"fields": {
|
|
"duration": {
|
|
"description": "Custom duration to restart the timer with.",
|
|
"name": "Duration"
|
|
}
|
|
},
|
|
"name": "Start timer"
|
|
}
|
|
},
|
|
"title": "Timer"
|
|
}
|