From cd3819abec84ad95c95dabd8ca3c5c7277dbe0eb Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 18 Mar 2023 01:32:52 +0100 Subject: [PATCH] Add state attribute translations for Sensor (#89896) --- homeassistant/components/sensor/strings.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/homeassistant/components/sensor/strings.json b/homeassistant/components/sensor/strings.json index a579be67205..5b34c5a28e3 100644 --- a/homeassistant/components/sensor/strings.json +++ b/homeassistant/components/sensor/strings.json @@ -100,6 +100,22 @@ "state": { "off": "[%key:common::state::off%]", "on": "[%key:common::state::on%]" + }, + "state_attributes": { + "last_reset": { + "name": "Last reset" + }, + "options": { + "name": "Possible states" + }, + "state_class": { + "name": "State class", + "state": { + "measurement": "Measurement", + "total": "Total", + "total_increasing": "Total increasing" + } + } } }, "date": {