diff --git a/src/common/entity/get_states.ts b/src/common/entity/get_states.ts index 7c59eb2faa..92c1365b14 100644 --- a/src/common/entity/get_states.ts +++ b/src/common/entity/get_states.ts @@ -261,6 +261,11 @@ export const getStates = ( result.push(...state.attributes.activity_list); } break; + case "sensor": + if (!attribute && state.attributes.device_class === "enum") { + result.push(...state.attributes.options); + } + break; case "vacuum": if (attribute === "fan_speed") { result.push(...state.attributes.fan_speed_list);