I try to run a simple bash command with a command line sensor. The code worked until I decided to reinstall the machine and have HASS now running according to the steps for VirtualEnv.
The sensor does not show the value and at the same time I have the following error in the log:
Using the VirtualEnv I ran into more issues. Discovery and Wemo would not work (due to the fact that dependencies could not be installed). I spend some time installing the dependencies by hand (in the VirtualEnv) and even gave the HASS user access to all groups.
However, in the end the problem stayed and I uninstalled HASS from the virtual environment and put it directly on the machine.