i am trying to monitor my hd temps with home assistant but when i do this with a command line sensor i am getting an error. i can run this command in the command line and it works but not when i use home assistant sensor. any ideas?
So I did this and it still didn’t fix my issue. I am running homeassistant as mgranger so I am not sure ifor this matters but I tried switching this to mgranger and it still didn’t fix the issue so I am still stuck.
BTW you haven’t said what version you are running or what platform? I’m assuming 48.1, AIO installer and RPI3. Also I can’t run it from the command line without sudo, so I’m assuming you are running as root?
I tried homeassistant ALL=ALL:ALL but it had an error and wouldn’t let me save it. I did try using the sudo /usr/sbin/hddtemp -n/ dev/sdb but it still didn’t work