RESTful thermostat help?

I’m new to the Home Assistant thing, and I’ve been banging my head against the wall to get my thermostat integrated. Can someone point me in the right direction, or ELI5 what I should be doing here?

My apt has a Pelican Wireless thermostat, which according to their site, has a pretty straightforward REST api. Doing the whole REST and whatever else is new to me as well, it’s just not what I do all day.

When I use Postman and point it to:

https://mycomplex.officeclimatecontrol.net/[email protected]&password=mypassword&request=get&object=Thermostat&selection=41111&value=system;heatSetting;coolSetting;fan;runStatus;temperature

I get back:

<?xml version="1.0" encoding="UTF-8"?>
<result>
	<Thermostat>
		<system>Cool</system>
		<heatSetting>63</heatSetting>
		<coolSetting>71</coolSetting>
		<fan>Auto</fan>
		<runStatus>Off</runStatus>
		<temperature>70.8</temperature>
	</Thermostat>
	<success>1</success>
	<message>Retrieved attributes for 1 thermostats.</message>
</result>

That looks pretty easy, but I’m struggling to piece together the various bits of documentation as to how to convert that into something for configuration.yaml so I get entities and such. Whatever it is just isn’t clicking. So again, ELI5?

have a read of this

i used node red to get the data and get node red to mqtt back to HA

That topic is very old. Home assistant can now automatically parse XML to JSON.

If the endpoint returns XML with the “text/xml” or “application/xml” content type, it will automatically be converted to JSON according to this specification

e.g. value_template: "{{ value_json.result.Thermostat.temperature }}"