In either config, in the substitutions section:
# Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney")
timezone: ""
This comment is misleading. Even if the plug is in the same timezone as the HA server, the plug stays at the empty (= UTC) timezone. This leads to problems a.o. when calculating daily totals. For example, my server is in timezone Europe/Amsterdam and the daily totals in the plug are reset at 02:00 local time.
In either config, in the substitutions section:
This comment is misleading. Even if the plug is in the same timezone as the HA server, the plug stays at the empty (= UTC) timezone. This leads to problems a.o. when calculating daily totals. For example, my server is in timezone Europe/Amsterdam and the daily totals in the plug are reset at 02:00 local time.