Upgrade to 0.61.0 / deprecated item help

Just when I think things are starting to fall into place with the vast amount of knowledge it takes to get a HA system up and running. I upgraded today and now get a bunch of these warnings:

The ‘entity_id’ option (with value ‘lock.basement_door_locked’) is deprecated, please remove it from your configuration.
11:47 AM helpers/config_validation.py (WARNING)
The ‘entity_id’ option (with value ‘zwave.basement_door’) is deprecated, please remove it from your configuration.
11:47 AM helpers/config_validation.py (WARNING)

I am guessing it has to do with these lines in my configuation.yaml:

not at all sure what I am suppose to change as are names given to my locks by HA. I copied this code off the web so if it is the code, can someone suggest a newer way to accomplish the same thing.

Thanks,
Dan

I had the same warning with the template cover.
You can remove entity_id from your config.
Before it was there to only update the template on changes of the entity, I think now it’s deprecated because the entity is in the template anyway.

Caught me by suprise too as was not listed in breaking changes. See here for explanation https://github.com/home-assistant/home-assistant/pull/11123

I’m a newbie but try

lock_basement_door_status:
  friendly_name: 'Basement Door Lock Status'
  value_template: >-
    {%- if is_state_attr('lock.basement_door_locked', 'lock_status', 'on') -%}
      Locked
    {%- else -%}
      Unlocked
    {%- endif -%}

This will stop your sensor ‘lock.basement_door_status’ being unknown. It’ll either be ‘Locked’ or ‘Unlocked’

You can try this to avoid these boot errors:

  value_template: >-
    {%- if states.sensor.your_sensor is defined -%}
      {{ states.sensor.your_sensor.state }}
    {%- else -%}
      unknown
    {%- endif -%}

Try it with the attribute you want to use.

value_template: >-
    {%- if states.sensor.your_sensor.attributes.your_attribute is defined -%}
      {{ states.sensor.your_sensor.attributes.your_attribute }}
    {%- else -%}
      unknown
    {%- endif -%}

This works for me and i missed the attribute in my first responce.
Sorry