I’ve got the same problem as well, three places in my configuration.yaml.
Here are the first two:
*String does not match the pattern of “DEPRECATED^” appears at the end of each of the two lines in the code snippet below which are “- service: input_text.set_value”.
(I have an api call updating “input_text.weewx_last_array_data” from a different device on the same network as HA - which makes the rest of the changes take place in said sensor below.)
template:
- trigger:
- platform: state
entity_id: input_text.weewx_last_array_data
action:
- service: input_text.set_value
data:
value: "{{ states('input_text.latest_weewx_receipt') }}"
target:
entity_id: input_text.previous_weewx_receipt
- service: input_text.set_value
data:
value: >
{% set ts = trigger.to_state.state %}
{% set ts = ts[:15:] + " " + "{}".format(now().year) %}
{% set time = strptime(ts, "%b %d %H:%M:%S %Y") %}
{% set str = time.strftime('%a %-m/%-d %-I:%M:%S%p') %}
{% set indx = str.find("M") %}
{% set oldstr = str[indx-1:indx+1] %}
{{ str.replace(oldstr,oldstr.lower()) }}
target:
entity_id: input_text.latest_weewx_receipt
sensor:
- name: "Weewx last array data formatted"
state: "{{ states('input_text.latest_weewx_receipt') }}"
unique_id: weewx_last_array_data_formatted
and here is the third, same *String does not match the pattern of “DEPRECATED^” appears after the base_url line:
http:
# This is needed for IFTTT
base_url: https://(external url for my HA instance is here, but removed for this post)
that’s most likely the wrong error, it’s saying service is no longer the standard, you can use service or action but apparently VSCode only likes action now.