Skip to content

[FR] Add an alternate "active" animation #372

@ildar170975

Description

@ildar170975

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Consider this config:

  - type: custom:fluid-level-background-card
    card:
      type: glance
      entities:
        - entity: person.ildar
    entity: input_number.test_level_1
    fill_entity: input_boolean.test_boolean
    level_color:
      - 244
      - 0
      - 204

image

Currently a "bubbles" animation is shown if fill_entity = ON.
A "waves" animation is shown always.

I suggest an alternate variant:
-- if fill_entity = ON -> show "bubbles" & "waves";
-- if fill_entity = OFF -> show a "still water".

A type of animation may be defined by some new option like waves_always:
-- true: the current behaviour (default);
-- false: show "bubbles" & "waves" if fill_entity = ON; if fill_entity = OFF -> do not show "bubbles" & "waves".

A reason behind this is that in some circumstances (people's age/eyes, a screen type, etc) these "bubbles" may be less visible.
Then a "wave" animation could be rather informative that "something is going on".

Describe the solution you'd like
A clear and concise description of what you want to happen.

see above.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

See above.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions