X10, heyu, and path

In order to get the X10 code (components/light/x10) to work, I always (after any update) have to hack the code to explicitly put the full path to the “heyu” executable, /usr/local/bin/heyu. I’d like to not have to do that. Anyone know what I’m doing wrong?

Here’s the logged error on initialization:
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/x10.py", line 46, in setup_platform x10_command('info') File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/x10.py", line 33, in x10_command return check_output(['heyu'] + command.split(' '), stderr=STDOUT) File "/usr/local/opt/python-3.5.5/lib/python3.5/subprocess.py", line 316, in check_output **kwargs).stdout File "/usr/local/opt/python-3.5.5/lib/python3.5/subprocess.py", line 383, in run with Popen(*popenargs, **kwargs) as process: File "/usr/local/opt/python-3.5.5/lib/python3.5/subprocess.py", line 676, in __init__ restore_signals, start_new_session) File "/usr/local/opt/python-3.5.5/lib/python3.5/subprocess.py", line 1289, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'heyu'

I’ve got heyu on the path for the ‘homeassistant’ user:

pi@pi2 /home/homeassistant/.homeassistant $ which heyu
/usr/local/bin/heyu

What am I doing wrong? Thanks for any suggestions,
/rob