Folks,
I do get in my log very many:
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion Time Schlafzimmer, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Batterie-Status Schlafzimmer, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion Time Wonzimmer, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Batterie-Status Wohnzimmer, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion Time Gang, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Licht an Buero, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Licht an Gang, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Licht an Kueche, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Licht an Schlafzimmer, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Licht an Wohnzimmer, the state is unknown.
2017-11-24 17:02:01 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Licht im Bad, the state is unknown.
2017-11-24 17:02:05 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion, the state is unknown.
2017-11-24 17:02:07 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion, the state is unknown.
2017-11-24 17:02:09 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion, the state is unknown.
2017-11-24 17:02:10 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion, the state is unknown.
2017-11-24 17:02:11 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Last Motion, the state is unknown.
when I look into my template sensor section for:
template_last_motion:
friendly_name: 'Last Motion'
value_template: >
{%- set sensors = [states.binary_sensor.fibaro_buero_sensor, states.binary_sensor.fibaro_gang_sensor, states.binary_sensor.fibaro_kueche_sensor, states.binary_sensor.fibaro_schlafzimmer_sensor, states.binary_sensor.fibaro_wohnzimmer_sensor_2, states.binary_sensor.vision_multisensor_bad_sensor ] %}
{% for sensor in sensors %}
{% if as_timestamp(sensor.last_changed) == as_timestamp(sensors | map(attribute='last_changed') | max) %}
{{ sensor.name }}
{% endif %}
{% endfor %}
luminanc_bad_below_level:
friendly_name: 'Licht im Bad'
value_template: '{{ (states.sensor.vision_multisensor_bad_luminance.state | float) < (states.sensor.helligkeit_off.state | float) }}'
How can I define starting values for these sensors?