Hello,
I can’t create an “Indoor Temperature” sensor like this
- platform: template
sensors:
home_temp:
friendly_name: "Température intérieure"
value_template: "{{ state_attr('climate.netatmo_salon' ,'current_temperature') }}"
unit_of_measurement: '°C'
hassio doesn’t validate the configuration when I check it
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 215, in _run
return self._exec(self._compiled, value, path)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 338, in _exec
v = func(path, v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 777, in validator
if key in config:
TypeError: argument of type 'NoneType' is not iterable
where is my mistake ??
in the template editor it works though …
Merci !