{ "config": { "step": { "user": { "data": { "max_sub_interval": "Max sub-interval", "name": "[%key:common::config_flow::data::name%]", "round": "Precision", "source": "Input sensor", "time_window": "Time window", "unit_prefix": "Metric prefix", "unit_time": "Time unit" }, "data_description": { "max_sub_interval": "If defined, derivative automatically recalculates if the source has not updated for this duration.", "round": "Controls the number of decimal digits in the output.", "time_window": "If set, the sensor's value is a time-weighted moving average of derivatives within this window.", "unit_prefix": "The output will be scaled according to the selected metric prefix and time unit of the derivative." }, "description": "Create a sensor that estimates the derivative of a sensor.", "title": "Create Derivative sensor" } } }, "options": { "step": { "init": { "data": { "max_sub_interval": "[%key:component::derivative::config::step::user::data::max_sub_interval%]", "name": "[%key:common::config_flow::data::name%]", "round": "[%key:component::derivative::config::step::user::data::round%]", "source": "[%key:component::derivative::config::step::user::data::source%]", "time_window": "[%key:component::derivative::config::step::user::data::time_window%]", "unit_prefix": "[%key:component::derivative::config::step::user::data::unit_prefix%]", "unit_time": "[%key:component::derivative::config::step::user::data::unit_time%]" }, "data_description": { "max_sub_interval": "[%key:component::derivative::config::step::user::data_description::max_sub_interval%]", "round": "[%key:component::derivative::config::step::user::data_description::round%]", "time_window": "[%key:component::derivative::config::step::user::data_description::time_window%]", "unit_prefix": "[%key:component::derivative::config::step::user::data_description::unit_prefix%]" } } } }, "selector": { "round": { "unit_of_measurement": { "decimals": "decimals" } }, "time_unit": { "options": { "d": "Days", "h": "Hours", "min": "Minutes", "s": "Seconds" } } }, "services": { "reload": { "description": "Reloads derivative sensors from the YAML-configuration.", "name": "[%key:common::action::reload%]" } }, "title": "Derivative sensor" }