Skip to content

v1.7.0-b.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jan 23:14
· 84 commits to main since this release

GitHub release (by tag)

Features

  • set additional attributes for sensor from MQTT event by @IATkachenko (0c7cbd7), closes #30
    Sensor have additional attributes:

    • timestamp -- value1 from application event. It is usually timestamp of something. Meaning is depended on event. Please check Sleep As Android events documentation for mor details;
    • label -- value2 from application event. It is usually alarm label. You can use this attribute to tell one alarm from another.

    If event have no value<N> field, then attribute will be set to unknown.

  • fire events independent on state change by @IATkachenko (95d371f)
    There was no second event if we got two events of same type one after other.
    But it could be, for example, two alarms events with different labels (value2).
    So we should fire HA event for every event from MQTT.

Bug Fixes

  • sensor: don't set RAW state if we have JSONDecodeError while processing MQTT message payload by @IATkachenko (dd6f744)

Like this integration? Please send us feedback in any suitable way:
emoji at release page, starring project at GitHub GitHub Repo stars, support at patreon or ko-fi, or just buymeacoffee
It will let me know that things that I make is helping other people.