Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT Current Version #568

Closed
fperezm opened this issue Jul 27, 2020 · 2 comments
Closed

MQTT Current Version #568

fperezm opened this issue Jul 27, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@fperezm
Copy link
Contributor

fperezm commented Jul 27, 2020

Hi,
I would like to create an automation in Homeassistant so that it alerts me when the version I have installed does not match the last one published.
In the integration with MQTT this data does not seem, is there a possibility to include it?

Thank you very much in advance

@Hypfer Hypfer added the enhancement New feature or request label Jul 27, 2020
@Hypfer
Copy link
Owner

Hypfer commented Jul 27, 2020

Interesting idea.

Might be something for #542

@Hypfer
Copy link
Owner

Hypfer commented Jul 30, 2020

Fixed in 0.6.1 which will be released in a few minutes.

It would be great if you could share your automation by adding it to the docs here: https://github.com/Hypfer/Valetudo/blob/master/docs/_pages/integrations/home-assistant-integration.md

sensor:
  - platform: rest
    resource: https://api.github.com/repos/Hypfer/Valetudo/releases
    name: "Current Valetudo Version"
    value_template: '{{ value_json[0].tag_name }}'

This is one part of it, but I have no idea how to access the sw_version property :(

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants