Error loading custom_components.example

Hi,

I just installed Home Assistant and wanted to try out the custom compenets example, but it seems it can’t load the module named ‘homeassistant.helpers.event_decorators’ (See log output below). The Hello World custom components works fine.

I couldn’t find any information on how to install additional modules to home assistant.
Does anybody have a fix for this?

Thanks

Matthew

ERROR:homeassistant.loader:Error loading custom_components.example. Make sure all dependencies are installed
Traceback (most recent call last):
File “/Users/smith/anaconda/lib/python3.5/site-packages/homeassistant/loader.py”, line 115, in get_component
module = importlib.import_module(path)
File “/Users/smith/anaconda/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 662, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/Users/smith/.homeassistant/custom_components/example.py”, line 33, in
from homeassistant.helpers.event_decorators import
ImportError: No module named ‘homeassistant.helpers.event_decorators’
ERROR:homeassistant.loader:Unable to find component example