marconfus/ha-nefit-ng

Compatability with Google Assistant

Opened this issue · 3 comments

Would it be possible to make the component states compatible with Google Assistant? Guidelines are in: https://developers.google.com/actions/smarthome/traits/temperaturesetting

The two modes supported by the component are "auto" and "manual". The mode "auto" is also in the Google documentation. I guess "manual" is "heatcool" in Google Assistant terms.
As I don't have Google Assistant, I cannot test this. You could replace the line
OPERATION_MANUAL = "manual"
with
OPERATION_MANUAL = "heatcool"
and see if that works. I could then add a "Google Assistant compatibility switch".

rvsit commented

Not OP, but I also had this problem in the past and used the OPERATION_MANUAL = "heat" successfully (and forgot to submit a issue/PR 🙄 ). I just checked if heatcool is also valid, but it does not seem to let me control the temperature either, same behavior as with manual

royvs33 is right, changing OPERATION_MANUAL = "manual" to OPERATION_MANUAL = "heat" works.

Thank you