Lightwave integration error

HI all,

I’ve installed HA to test out it and play with my existing lightwaveRF kit.
I’ve setup the configuration.yaml as per the guide, but am getting the following errors:

Invalid config for [lightwave]: expected a dictionary for dictionary value @ data[‘lightwave’][‘lights’][‘R1D1’]. Got ‘name:Lamp Post Light’ expected a dictionary for dictionary value @ data[‘lightwave’][‘lights’][‘R2D3’]. Got ‘name:Side lamp’ expected a dictionary for dictionary value @ data[‘lightwave’][‘switches’][‘R1D1’]. Got ‘name:Raspberry Pis’ expected a dictionary for dictionary value @ data[‘lightwave’][‘switches’][‘R2D1’]. Got ‘name:TV’ expected a dictionary for dictionary value @ data[‘lightwave’][‘switches’][‘R2D2’]. Got ‘name:Right socket’. (See /home/homeassistant/.homeassistant/configuration.yaml, line 25). Please check the docs at Lightwave - Home Assistant

My configuration.yaml lightwaverf section:

lightwave:
  host: 192.168.5.15
  lights:
    R1D1:
      name:Lamp Post Light
    R2D3:
      name:Side lamp
  switches:
    R1D1:
      name:Raspberry Pis
    R2D1:
      name:TV
    R2D2:
      name:Right socket
  trv:
    proxy_ip: 127.0.0.1       # Proxy address, do not change unless running on a different server
    proxy_port: 7878          # Do not change, unless a port clash
    trvs:
      R2Dh:                       # The ID of the TRV.
        name: Livingroom TRV
        serial: DE98FE

I’ve already installed lwproxy for the TRV and have it running as a service on the server.

Any assistance you could offer would be useful. The white space in the above is all spaces, with indents of 0,2,4 and 6 spaces.

Thanks in advance
Garreth

This is a bump post

Solved, the solution was missing spaces in the configuration between ‘name:’ and the text. Correct configuration as below

lightwave:
  host: 192.168.5.15
  lights:
    R1D1:
      name: Lamp Post Light
    R2D3:
      name: Side lamp
  switches:
    R1D1:
      name: Raspberry Pis
    R2D1:
      name: TV
    R2D2:
      name: Right socket
  trv:
    proxy_ip: 127.0.0.1       # Proxy address, do not change unless running on a different server
    proxy_port: 7878          # Do not change, unless a port clash
    trvs:
      R2Dh:                       # The ID of the TRV.
        name: Livingroom TRV
        serial: DE98FE

Now i have to figure out what the actual room and device numbers are!

1 Like

Just to note for anyone who’s struggling to get lighwaverf to work with homeassistant, homeassistant must be authorized on the gen 1 hub.

The key is to flip a switch in homeassistant, then goto the hub and while the green light is flashing, hit the button to authorize it. Then flipping the switch again will work.

1 Like