Help: Error during setup of component zwave

I’m using the Raspberry Pi 3 with RaZberry z-wave GPIO daughter chip and I’m having trouble getting home assitant to load that as a component. While I see many z-wave issues in other threads I think my problem is occurring before it even begins to setup the component. Here is the error message.

ERROR:homeassistant.bootstrap:Error during setup of component zwave
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/bootstrap.py”, line 150, in _setup_component
if not component.setup(hass, config):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/zwave.py”, line 249, in setup
use_debug = str(config[DOMAIN].get(CONF_DEBUG)) == ‘1’
AttributeError: ‘str’ object has no attribute ‘get’

Here is what I have in my configuration.yaml file. I installed the openzwave package as described on this page … Z-Wave getting started

zwave:
usb_path:/dev/ttyS0
config_path:/usr/local/lib/python3.4/dist-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/

Any ideas of what I need to change?

The Z-Wave>Me server seems to be running fine and I can launch it independently at port 8083. I just can’t get Home Assistant to launch the zwave component.

Hi!

YAML is very picky with formatting. I would check the indentation and spaces between keys and values of the zwave config. When posting config extract in the forum it’s recommended to use code block markdown. That’s three back-tics, newline and the code then newline and three back-tics. That way we can doublecheck the formatting together.

You guessed it correctly. There was missing space in one of the zwave options causing it to fail. Fixing the whitespace issue solved the problem.

Now my problem is how do I add z-wave devices to my network. I have a schlage lock and a couple door and window sensors. Currently the output after running hass looks like this

WARNING:homeassistant.components.zwave:zwave not ready after 30 seconds, continuing anyway
INFO:homeassistant.components.zwave:final network state: 0 Network is stopped
INFO:homeassistant.components.zwave:zwave polling interval set to 30000 ms

You should stop z-way server if you have it running. Only one program can access the serial interface of the razberry at a time.

Is that all log lines regarding z-wave? Do you get any errors at all?