visualapproach / WiFi-remote-for-Bestway-Lay-Z-SPA

Hack - ESP8266 as WiFi remote control for Bestway Lay-Z spa Helsinki
GNU General Public License v3.0
297 stars 75 forks source link

[BUG] Deprecated option used in mqtt publish action call #784

Open acolod opened 1 month ago

acolod commented 1 month ago

Describe the bug Updated HA and integrations, now receiving this warning:

Deprecated option used in mqtt publish action call This stops working in version 2025.2.0. Please address before upgrading. Deprecated payload_template option used in MQTT publish action call to topic layzspa/command from payload template {"CMD":15,"VALUE":27, "XTIME":0, "INTERVAL":0}. Use the payload option instead. In automations templates are supported natively. Update the automation or script to use the payload option instead and restart Home Assistant to fix this issue.

Warning - 8/3/2024

Expected behavior A clear and concise description of what you expected to happen.

Screenshots 2024-08-05 11_30_23-Settings – Home Assistant

Hardware (please complete the following information):

Software (please complete the following information):

visualapproach commented 1 month ago

I don't see anything about this in the docs. Thanks for reporting.

n3xus1 commented 1 month ago

I also received this warning today after updating to the latest core version of home assistant 2024.8.0

Skeletorjus commented 1 month ago

Just replace payload_template: with payload: in your automations/script to remove the warning.

PaleFlyer commented 3 weeks ago

Just replace payload_template: with payload: in your automations/script to remove the warning.

I tried that for when I push my local Tempest temperature into the ESP, and it had worse alarms.