Smart IR just not loading

I have tried to install SmartIR and I am clearly doing something wrong. Everything looks right in the directory structure

My configuration.yaml file looks like this:

smartir:

climate:
  - platform: smartir
    name: Bedroom AC
    unique_id: bedroom_ac
    device code: 1000
    contorller_data: 90:39:5e:ff:fe:26:ab:aa
    temperature_sensor: sensor.bedroom_temperature_temperature
    humidity_sensor: sensor.bedroom_temperture_humidity

And my log file:

Source: config.py:1327
First occurred: 20:42:07 (1 occurrences)
Last logged: 20:42:07

Invalid config for 'climate' from integration 'smartir' at configuration.yaml, line 23: required key 'controller_data' not provided, please check the docs at https://github.com/smartHomeHub/SmartIR Invalid config for 'climate' from integration 'smartir' at configuration.yaml, line 23: required key 'device_code' not provided, please check the docs at https://github.com/smartHomeHub/SmartIR Invalid config for 'climate' from integration 'smartir' at configuration.yaml, line 26: 'device code' is an invalid option for 'smartir.climate', check: device code, please check the docs at https://github.com/smartHomeHub/SmartIR Invalid config for 'climate' from integration 'smartir' at configuration.yaml, line 27: 'contorller_data' is an invalid option for 'smartir.climate', check: contorller_data, please check the docs at https://github.com/smartHomeHub/SmartIR

Any ideas

You have a typo for controller_data in your configuration. Also, it needs to be device_code. If you correct those typos I think that will fix your issue.

OMG… the number of times I looked at it. Thanks

1 Like