Skip to content

Use of attributes is depreciated #56

@AndrewPDeer

Description

@AndrewPDeer

The developers of HA are moving away from the use of attributes, instead recommending sensors.
New developments of attribute related features is discouraged. It would therefore be worthwhile (and useful) for this add-on to generate sensors for each of the current attributes.

For example:

New sensors:

binary_sensor.check_weather
binary_sensor.check_weather_strong_wind
binary_sensor.check_weather_precipitation
binary_sensor.check_weather_cold_temperature

etc. etc.

Sensors (rather than attributes) will allow standard UI functionality to be used, avoiding the need for users to manually create Helpers or use Templates to generate new sensors themselves.

Usage example (note line 8):

type: custom:mushroom-template-badge
entity: binary_sensor.check_weather
content: Rain today
label: Weather Warning!
icon: mdi:weather-pouring
visibility:
  - condition: state
    entity: binary_sensor.check_weather_precipitation
    state: true

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