I upgraded to 0.37.1 today. I have restarted HA several times, I have rebooted at least once.
When I run hass --version it returns 0.37.1 like I would expect. But the same command run from a sensor command line returns 0.36.1
- platform: command_line
name: "Current HASS Version"
command: "/srv/hass/bin/hass --version"
- platform: command_line
command: python3 -c "import requests; print(requests.get('https://pypi.python.org/pypi/homeassistant/json').json()['info']['version'])"
name: "New HA release"
the following shows which hass I am running, and the --version command done with a full path and just using the $PATH to find it.
(hass) hass@hass:~/.homeassistant$ which hass
/srv/hass/bin/hass
(hass) hass@hass:~/.homeassistant$ hass --version
0.37.1
(hass) hass@hass:~/.homeassistant$ /srv/hass/bin/hass --version
0.37.1
(hass) hass@hass:~/.homeassistant$