SAIC-iSmart-API / saic-python-mqtt-gateway

A service that queries the data from an MG iSMART account and publishes the data over MQTT and to other sources
MIT License
71 stars 21 forks source link

Correct error message in mqtt_gateway.py #149

Closed pmannk closed 8 months ago

pmannk commented 8 months ago

When raising an MqttGatewayException message on climate change failure, the log message states 'Error setting SoC target'. This appears to be a result of the exception handler message being copied from elsewhere in the code (DRIVETRAIN_SOC_TARGET operation, line 256 exception). This PR corrects the log message when CLIMATE_REMOTE_TEMPERATURE fails.