Clue for that is wrong with my MQTT definition

Hi Community
Trying to tidy up in my error messages - and afterwards to clean up on the configurations files.

But the first is this line in Dev-Info:

Log Details (ERROR)

Mon Aug 26 2019 14:48:09 GMT+0200 (Centraleuropæisk sommertid)

Invalid config for [sensor.mqtt]: [friendly_name] is an invalid option for [sensor.mqtt]. Check: sensor.mqtt->friendly_name. (See ?, line ?). Please check the docs at MQTT Sensor - Home Assistant Invalid config for [sensor.mqtt]: [friendly_name] is an invalid option for [sensor.mqtt]. Check: sensor.mqtt->friendly_name. (See ?, line ?). Please check the docs at MQTT Sensor - Home Assistant

Can some one come with a cloue for what I should be looking at ?

From the /config/configuration.yaml:

mqtt:
  broker: 192.168.2.197

sensor:
  #- platform: yr
  - platform: random

  - platform: systemmonitor
    resources:
      - type: disk_free
        arg: /
      - type: memory_free
      - type: processor_use
      - type: last_boot

  - platform: fastdotcom

  - platform: rejseplanen
    stop_id: "000003749"

  - platform: mqtt
    unit_of_measurement: 'Sec'
    state_topic: hw/ping/mqtt01
    
  - platform: mqtt
    state_topic: sensor2/topic

#Shelly H&T
  - platform: mqtt
    name: "Bade1_HT_Temp"
    state_topic: "shellies/shellyht-5A8BAD/sensor/temperature"
  - platform: mqtt
    name: "Bade1_HT_Humidity"
    state_topic: "shellies/shellyht-5A8BAD/sensor/humidity"
  - platform: mqtt
    name: "Bade1_HT_Battery"
    state_topic: "shellies/shellyht-5A8BAD/sensor/battery"

  - platform: mqtt
    name: "William_HT_Temp"
    friendly_name: "William room temperature"
    state_topic: "shellies/shellyht-22C6A3/sensor/temperature"
  - platform: mqtt
    name: "William_HT_Humidity"
    friendly_name: "William room humidity"
    state_topic: "shellies/shellyht-22C6A3/sensor/humidity"
  - platform: mqtt
    name: "William_HT_Battery"
    state_topic: "shellies/shellyht-22C6A3/sensor/battery"

  - platform: mqtt
    name: "Aksel_HT_Temp"
    state_topic: "shellies/shellyht-22C315/sensor/temperature"
  - platform: mqtt
    name: "Aksel_HT_Humidity"
    state_topic: "shellies/shellyht-22C315/sensor/humidity"
  - platform: mqtt
    name: "Aksel_HT_Battery"
    state_topic: "shellies/shellyht-22C315/sensor/battery"

  - platform: mqtt
    name: "Laust_HT_Temp"
    state_topic: "shellies/shellyht-5A8A22/sensor/temperature"
  - platform: mqtt
    name: "Laust_HT_Humidity"
    state_topic: "shellies/shellyht-5A8A22/sensor/humidity"
  - platform: mqtt
    name: "Laust_HT_Battery"
    state_topic: "shellies/shellyht-5A8A22/sensor/battery"

So ?
Thanks
/Jørn

These two sensor definitions have a friendly_name defined:

  - platform: mqtt
    name: "William_HT_Temp"
    friendly_name: "William room temperature"
    state_topic: "shellies/shellyht-22C6A3/sensor/temperature"
  - platform: mqtt
    name: "William_HT_Humidity"
    friendly_name: "William room humidity"
    state_topic: "shellies/shellyht-22C6A3/sensor/humidity"

There is no such option for the mqtt sensor:

Remove the friendly_name key-value pair for both.

:wink:
I Had looked it all through… guess not good enough…
Thanks for being the second pair of eyes…

And after changing this… a lot of other errors have disappeared :wink:

Thanks.

/Jørn