i8beef / HomeAutio.Mqtt.GoogleHome

MIT License
215 stars 29 forks source link

TemperatureSetting trait issue #43

Closed shady2k closed 5 years ago

shady2k commented 5 years ago

After load example template, there are some errors:

Trait 'TemperatureSetting' is missing command param 'thermostatTemperatureSetpointHigh' for command 'action.devices.commands.ThermostatTemperatureSetpoint'
Trait 'TemperatureSetting' is missing command param 'thermostatTemperatureSetpointLow' for command 'action.devices.commands.ThermostatTemperatureSetpoint'
Trait 'TemperatureSetting' is missing command param 'thermostatTemperatureSetpoint' for command 'action.devices.commands.ThermostatTemperatureSetRange'
shady2k commented 5 years ago
{
  "action.devices.commands.ThermostatTemperatureSetpoint": {
    "thermostatTemperatureSetpoint": "MQTT_COMMAND_TOPIC"
  },
  "action.devices.commands.ThermostatTemperatureSetRange": {
    "thermostatTemperatureSetpointHigh": "MQTT_COMMAND_TOPIC",
    "thermostatTemperatureSetpointLow": "MQTT_COMMAND_TOPIC"
  },
  "action.devices.commands.ThermostatSetMode": {
    "thermostatMode": "MQTT_COMMAND_TOPIC"
  }
}
i8beef commented 5 years ago

Ah, thank you, I'll correct the validation.