sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
227 stars 121 forks source link

missing capability on AC Unit #379

Closed Danny-Mar closed 1 month ago

Danny-Mar commented 1 month ago

can you please add this line

include "Capabilities/TemperatureSensor.h"

to the header file

src/SinricProWindowAC.h

sivar2311 commented 1 month ago

The predefined WindowAC devices does not support a temperature sensor. Changing this in the library has no effect on the predefined devices.

However, you can create a custom device with the properties you want.

kakopappa commented 1 month ago

Hi @Danny-Mar what are you trying to achieve here?

Danny-Mar commented 1 month ago

I was using the AC unit but I couldn't use this

bool sendTemperatureEvent(float temperature, float humidity = -1, String cause = FSTR_SINRICPRO_PERIODIC_POLL);

I used the thermostat instead as it has this option and I don't need to control the fan speed.