Skip to content

Commit

Permalink
added sensor.home_assistant_installed_version
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Feb 22, 2019
1 parent 176bafd commit 71e8fd2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -825,4 +825,8 @@
- platform: command_line
name: Home Assistant Latest Docker
command: curl -s -L https://registry.hub.docker.com/v2/repositories/homeassistant/home-assistant/tags/ | grep -Eo '"name":\s"[0-9.]*"' | head -1 | sed -e "s/\"name\":\s\"/${replace}/g" | sed -e "s/\"/${replace}/g"
scan_interval: 28800
scan_interval: 28800
- platform: command_line
name: Home Assistant Installed Version
command: python -m homeassistant --version
scan_interval: 2678400

0 comments on commit 71e8fd2

Please sign in to comment.