Closed trimaran2 closed 8 months ago
Thanks for your report. I will prepare a fix soon.
Looking forward to a fix - thank you very much.
Testing around in Home Assistant and managed to listen to any topic under go-eCharger/xxxxxx/ in the MQTT Integration form: Publish works when Allow template and inserting into the Payload field: {{'{"pGrid":'}}{{states('sensor.xxx_power')}}{{', "pPv":'}}{{states('sensor.xxx_power')}}{{', "pAkku":0}'}}
Unfortunately the Automation ist not working with this payload: How should the payload look there in the YAML?
Seems the problem was the leading / (Prefix- topic)
2024-02-22 13:24:46.450 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.457 WARNING (MainThread) [homeassistant.const] ENERGY_WATT_HOUR was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.464 WARNING (MainThread) [homeassistant.const] TIME_SECONDS was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.481 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.489 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.495 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.502 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.509 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.516 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.539 WARNING (MainThread) [homeassistant.const] ENERGY_WATT_HOUR was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.545 WARNING (MainThread) [homeassistant.const] FREQUENCY_HERTZ was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.555 WARNING (MainThread) [homeassistant.const] POWER_KILO_WATT was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.KILO_WATT instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.562 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.576 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.589 WARNING (MainThread) [homeassistant.const] TIME_MILLISECONDS was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MILLISECONDS instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues 2024-02-22 13:24:46.598 WARNING (MainThread) [homeassistant.const] TIME_SECONDS was used from goecharger_mqtt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/syssi/homeassistant-goecharger-mqtt/issues