I have AC and device name is TRIAL AC. When I try to change ac mode to off mode, it's successfully changing and google sends request for thermostatMode:off . When I change device name without AC as TRIAL, I'm trying same command "set TRIAL to off" and google sends request as on:off so on/off state changes but thermostat mode still like previous.
Device name : TRIAL AC: set trial ac to off
Google request
{"commands":[{"devices":[{"customData":{"availableFanModes":{"Auto":3,"High":2,"Low":0,"Medium":1},"availableModes":{"Auto":"3","Cool":"2","Dry":"5","Fan":"4","Off":"0"},"extendedServices":{},"services":{"FanService":"action.devices.commands.SetFanSpeed","OutletService":"action.devices.commands.OnOff","TemperatureService":"action.devices.commands.thermostatTemperatureAmbient","ThermostatModeService":"action.devices.commands.ThermostatSetMode","ThermostatService":"action.devices.commands.ThermostatTemperatureSetpoint"}},"id":"1023-0"}],"execution":[{"command":"action.devices.commands.ThermostatSetMode","params":{"thermostatMode":"off"}}]}]}
Device name : TRIAL : set trial ac to off
Google request 2
{"commands":[{"devices":[{"customData":{"availableFanModes":{"Auto":3,"High":2,"Low":0,"Medium":1},"availableModes":{"Auto":"3","Cool":"2","Dry":"5","Fan":"4","Off":"0"},"extendedServices":{},"services":{"FanService":"action.devices.commands.SetFanSpeed","OutletService":"action.devices.commands.OnOff","TemperatureService":"action.devices.commands.thermostatTemperatureAmbient","ThermostatModeService":"action.devices.commands.ThermostatSetMode","ThermostatService":"action.devices.commands.ThermostatTemperatureSetpoint"}},"id":"1023-0"}],"execution":[{"command":"action.devices.commands.OnOff","params":{"on":false}}]}]}