2023-03-21 17:41:27 +00:00
{
"title" : "Counter" ,
"entity_component" : {
"_" : {
"name" : "[%key:component::counter::title%]" ,
"state_attributes" : {
"editable" : {
2023-03-27 20:19:25 +00:00
"name" : "[%key:common::generic::ui_managed%]" ,
2023-03-21 17:41:27 +00:00
"state" : {
"true" : "[%key:common::state::yes%]" ,
"false" : "[%key:common::state::no%]"
}
} ,
"initial" : {
"name" : "Initial value"
} ,
"maximum" : {
"name" : "Maximum"
} ,
"minimum" : {
"name" : "Minimum"
} ,
"step" : {
"name" : "Step"
}
}
}
2023-05-22 13:27:33 +00:00
} ,
"issues" : {
"deprecated_configure_service" : {
"title" : "The counter configure service is being removed" ,
"fix_flow" : {
"step" : {
"confirm" : {
2023-07-11 14:38:18 +00:00
"title" : "[%key:component::counter::issues::deprecated_configure_service::title%]" ,
2023-07-16 21:02:37 +00:00
"description" : "The counter service `counter.configure` is being removed and use of it has been detected. If you want to change the current value of a counter, use the new `counter.set_value` service instead.\n\nPlease remove this service from your automations and scripts and select **submit** to close this issue."
2023-05-22 13:27:33 +00:00
}
}
}
}
2023-07-11 21:06:32 +00:00
} ,
"services" : {
"decrement" : {
"name" : "Decrement" ,
"description" : "Decrements a counter."
} ,
"increment" : {
"name" : "Increment" ,
"description" : "Increments a counter."
} ,
"reset" : {
"name" : "Reset" ,
"description" : "Resets a counter."
} ,
"set_value" : {
"name" : "Set" ,
"description" : "Sets the counter value." ,
"fields" : {
"value" : {
"name" : "Value" ,
"description" : "The new counter value the entity should be set to."
}
}
}
2023-03-21 17:41:27 +00:00
}
}