Integrating 3rd Party Component

Hey,

I found this project on GitHub and I want to integrate it into HASS:

I’ve had a look at this:

but the python on the github doesn’t have a DOMAIN element. Should I add one or is there something else going on?

Also I used the AIO installer (rpi3). The installer didn’t create a custom_components directory (that I can see). Can I just add one and HASS will pick it up?

I don’t actually have a heatmiser but a very similar device so there’s going to be a lot of trial and error and I just want to make sure I’ve got this bit set up right!

Thanks!

Is a platform for the climate component. I guess that you want to create a platform for your thermostat.

You need to create the folder custom_components in your configuration directory.

Hi, Thanks for the reply.

So I’m trying to add a new platform the the climate component - is that the correct terminology?

So far I’ve added the folder “\home assistant\custom_components” and put the “heatmiserneo.py” file in there. My configuration YAML now has this:

climate:
platform: heatmiserneo
ipaddress: xxx.xxx.x.x
port: xxxx

After a reboot would you expect it to work now? I’m currently getting these errors:
16-11-23 16:10:35 homeassistant.loader: Unable to find component climate.heatmiserneo
16-11-23 16:10:35 homeassistant.bootstrap: Unable to find platform climate.heatmiserneo

Have I put something in the wrong place?

Ah hold on, I added the sub folder climate:
“\home assistant\custom_components\climate\heatmiserneo.py”

and changed the YAML to:
climate:
platform: heatmiserneo
host: xxx.xxx.x.x
port: xxxx

And it works! No tinkering needed. I was pretty sure I had the same software just with different branding!

Thanks!