bruxy70
(Bruxy70)
1
I get the waring
Your configuration contains extra keys that the platform does not support. Please remove [senders]. (See /config/sensor.yaml, line 0).
The configuration looks following:
sensor:
- platform: imap_email_content
name: Alarm
server: imap.gmail.com
port: 993
username: !secret email_address
password: !secret email_password
value_template: “{{ subject | replace(‘Alarm - ‘,’’) }}”
senders:
(there is -, not sure why this web site is replacing it with a bullet symbol)
It complains about the senders key, but it is mandatory for the sensor.
Romquenin
(Romquenin)
3
I have the coming warning but can not find the extra key I should delete:
Your configuration contains extra keys that the platform does not support. Please find and remove the following:
[icon_template]. (See /config/sensor/syteme.yaml, line 32).
- platform: command_line
name: CPU Temp
scan_interval: 60
unit_of_measurement: °C
icon_template: mdi:thermometer
command: >-
if [ -e /sys/class/thermal/thermal_zone0/temp ]
then cat /sys/class/thermal/thermal_zone0/temp
fi
value_template: >-
{% if value != '' %}
{{ value | multiply(0.001) | round }}
{% else %}
unknown
{% endif %}
Does someone know how to ?
Thanks.
88.1 fixes it, already created an issue on github for that?
bruxy70
(Bruxy70)
5
Looking at the documentation https://www.home-assistant.io/components/sensor.command_line/, the sensor does define the icon_template configuration variable (which is what the error says).