Skip to content

Align offical Nina Colors with card colors #298

@Sycend

Description

@Sycend

Describe the bug

Currently the Colors of Nina Alerts are shifted one down, so red Nina Warnings are orange, Exrteme are red and so on.
Would be nice if the offical color code of Nina would be applied:

Correct would be:
Extreme - Dark Purple #7c1d4d
Severe - Red
Moderate - Orange
Minor - Yellow
Unknown - Grey

Integration state attributes

No response

Screenshots

The latest Nina Warning is Severe and its offical alert stage is red, because there is a danger for live:
Image
Here you can see that the alert has the stage Severe:
Image
Here you see that the card generate Orange alert stage out of it, but it should be red one:
Image

Card version

2.7.2

Installation type

Home Assistant Community Store (HACS)

Card Configuration

type: custom:meteoalarm-card
entities:

  • entity: binary_sensor.warning_mycity_bayern_1
  • entity: binary_sensor.warning_mycity_bayern_2
  • entity: binary_sensor.warning_mycity_bayern_3
  • entity: binary_sensor.warning_mycity_bayern_4
  • entity: binary_sensor.warning_mycity_bayern_5
    integration: nina
    scaling_mode: headline_and_scale
    override_headline: false
    hide_when_no_warning: true
    visibility:
  • condition: state
    entity: binary_sensor.katastrophenwarnung
    state: "on"
    grid_options:
    columns: full
    rows: 2

Integration type

NINA

Integration configuration

GUI

Integration Configuration

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions