diff --git a/homeassistant/components/derivative/strings.json b/homeassistant/components/derivative/strings.json index b9ef15d652d..0a58b28a1c6 100644 --- a/homeassistant/components/derivative/strings.json +++ b/homeassistant/components/derivative/strings.json @@ -1,8 +1,9 @@ { + "title": "Derivative sensor", "config": { "step": { "user": { - "title": "New Derivative sensor", + "title": "Add Derivative sensor", "description": "Create a sensor that estimates the derivative of a sensor.", "data": { "name": "Name", @@ -15,14 +16,14 @@ "data_description": { "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 derivative will be scaled according to the selected metric prefix and time unit of the derivative." + "unit_prefix": "The output will be scaled according to the selected metric prefix and time unit of the derivative." } } } }, "options": { "step": { - "options": { + "init": { "data": { "name": "[%key:component::derivative::config::step::user::data::name%]", "round": "[%key:component::derivative::config::step::user::data::round%]", diff --git a/homeassistant/components/derivative/translations/en.json b/homeassistant/components/derivative/translations/en.json index cfa3bf2ab96..b91318b5237 100644 --- a/homeassistant/components/derivative/translations/en.json +++ b/homeassistant/components/derivative/translations/en.json @@ -13,15 +13,16 @@ "data_description": { "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 derivative will be scaled according to the selected metric prefix and time unit of the derivative." + "unit_prefix": "The output will be scaled according to the selected metric prefix and time unit of the derivative." }, - "title": "New Derivative sensor" + "description": "Create a sensor that estimates the derivative of a sensor.", + "title": "Add Derivative sensor" } } }, "options": { "step": { - "options": { + "init": { "data": { "name": "Name", "round": "Precision", @@ -33,9 +34,10 @@ "data_description": { "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 derivative will be scaled according to the selected metric prefix and time unit of the derivative.." + "unit_prefix": "The output will be scaled according to the selected metric prefix and time unit of the derivative.." } } } - } + }, + "title": "Derivative sensor" } \ No newline at end of file