diff --git a/setup.cfg b/setup.cfg index 11dbe9fcf2..0404d7df03 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = home-assistant-frontend -version = 20220201.0 +version = 20220202.0 author = The Home Assistant Authors author_email = hello@home-assistant.io license = Apache-2.0 diff --git a/src/common/const.ts b/src/common/const.ts index 7fdd8a1a5e..f11e7d7380 100644 --- a/src/common/const.ts +++ b/src/common/const.ts @@ -184,6 +184,7 @@ export const DOMAINS_WITH_MORE_INFO = [ "person", "remote", "script", + "scene", "sun", "timer", "vacuum", @@ -234,7 +235,7 @@ export const DOMAINS_INPUT_ROW = [ ]; /** Domains that should have the history hidden in the more info dialog. */ -export const DOMAINS_MORE_INFO_NO_HISTORY = ["camera", "configurator", "scene"]; +export const DOMAINS_MORE_INFO_NO_HISTORY = ["camera", "configurator"]; /** States that we consider "off". */ export const STATES_OFF = ["closed", "locked", "off"]; diff --git a/src/common/entity/compute_state_display.ts b/src/common/entity/compute_state_display.ts index 590f798d94..f8bf892d8a 100644 --- a/src/common/entity/compute_state_display.ts +++ b/src/common/entity/compute_state_display.ts @@ -120,6 +120,7 @@ export const computeStateDisplay = ( if ( domain === "button" || domain === "input_button" || + domain === "scene" || (domain === "sensor" && stateObj.attributes.device_class === "timestamp") ) { return formatDateTime(new Date(compareState), locale);