ScratMan / HASmartThermostat

Smart Thermostat with PID controller for HomeAssistant
338 stars 49 forks source link

Add ```set_temperature``` service #77

Closed rhyddereh closed 2 years ago

rhyddereh commented 2 years ago

This service is to allow setting the target temperature via service much like the default climate domain service. Since it seems we have a single target it cannot follow the default interface parameters, instead taking a single parameter to the service 'Temperature'

Not really a Python or HASS developer but figured I'd share back the changes I made for my own purposes.

Open to constructive criticism of course :)

ScratMan commented 2 years ago

Hello, the climate.set_temperature service is already working with the Smart Thermostat. Just select the smart thermostat as target entity, and it works.

rhyddereh commented 2 years ago

Interesting, wasn’t working for me until I added this. Let me revert my local copy and try again.

rhyddereh commented 2 years ago

Yup, I must’ve been doing something wrong. :) Thanks.