Could not render template star invalid entity id

Hi guys I’m getting the following error on something that was previously working

2019-05-18 19:48:20 ERROR (MainThread) [homeassistant.components.template.sensor] Could not render template Current Dew Point: str: Invalid entity ID 'sensor.myCurrentTemperatureF'

The temp sensor exists and is in the same Yaml file but before the dew calc temp is called

  - platform: template
    sensors:
      my_dew_point:
        friendly_name: "Current Dew Point"
        value_template: "{{ ((states.sensor.myCurrentTemperatureF.state | float - ((100 - states.sensor.mycurrenthumidity.state | float) /5)))|round(2)}}"
        unit_of_measurement: '°C'

Have you tried making “myCurrentTemperatureF” lowercase?

That worked!

Used to work before update.

Thanks
Rob