Skip to content

Add official support for Tomorrow.io #60

@raetha

Description

@raetha

The Home Assistant Tomorrow.io integration provides air quality sensors along with weather sensors. In particular it includes these three which map nicely to the ones this card needs:
US EPA Health Concern = Air Pollution Level
US EPA Air Quality Index = Air Quality Index
US EPA Primary Pollutant = Main Pollutant

This nearly works perfectly by just substituting in the entities, however the Main Pollutant is not working correctly, at least in my current values. It currently has a value of "pm25" but the card is displaying "main pollutant | pollutant unit" as the value. I'm not the best with programming, though believe that the card may be looking for attributes in the sensor which Tomorrow.io does not provide. That particular sensor has no attributes and only lists the main pollutant itself.

It would be ideal if this card could show even a truncated version of information that just included the pollutant type but without a unit value.

Thanks for consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions