I edit my config files with VSCode on my PC using the Home Assistant Config Helper.
All of a sudden I am now getting the Error reported as “String does not match the pattern of “DEPRECATED^”.” I am not sure why it think there is a problem all of sudden since HA check config doesnt flag it as an issue.
The error is in refrence to - /config just under whitelist .
homeassistant:
# Name of the location where Home Assistant is running
name: Home
latitude: !secret latitude_loc_home
longitude: !secret longitude_loc_home
elevation: 475
unit_system: imperial
time_zone: America/Los_Angeles
customize: !include include/customize.yaml
whitelist_external_dirs:
- /config
auth_providers:
Would like to know possible what is causing it or what is deprecated before opening a github issue.
I got the same error with quite a few of my scripts. Maybe I missed a breaking change as well?
- service_template: >
{%- if is_state('binary_sensor.kookscene', 'off') -%}
script.cooking_off_donker
{%- else -%}
script.cooking_on
{%- endif %}
String does not match the pattern of “DEPRECATED^”.
Can you also whisper a solution for my “problem”? The script is still working but it hangs a second or ten on above templating and then continues like it should. Thanks!
- id: voordeur_notificatie_lang_open
initial_state: true
alias: Voordeur te lang open
trigger:
platform: state
entity_id: binary_sensor.voordeur_contact
to: 'on'
for:
minutes: 5
action:
service_template: notify.telegram #This line gives the error: String does not match the pattern of "DEPRECATED^"
data_template:
message: The door is still open!
The notifications still work though. Probably solved it just now by changing service_template: to service: