Double entry in History for Garage Door

For some reason, I have double entry for my Garage Door when I check History:

I have only one garage door. This is the entry in the configuration.yaml file:

    cover:
    # Garage Door
      - platform: mqtt
        state_topic: "home-assistant/cover"
        command_topic: "home-assistant/cover/set"
        name: "Garage Door"
        qos: 0

It is not a problem, but strange and if possible I want to fix it.
Any ideas what to do?
Thank you.

Hi @onlize, maybe you have some other entity named “Garage Door”. This could be a sensor, switch, …
Search for “garage_door” in the states tab.

No, I do not have anything like that. At the same time, if you take a look at the picture, the Open and Close status are always synced between those two entries. Usually, if I open/close my garage door, I do not do anything else at the same time.

Is it a 2 car garage?

:rofl:

Seriously though… if you watch The state change does it bounce or is it just appearing that way in the log?

It is 2 car garage, but there is one door only. As far as I can see when I check logs on the PRi Zero that manages my garage door, there is only one entry when I open/close the door.

Found this topic about the same problem.
The difference is that the states in your entrys are the same.

Here is my configuration file. I am just starting and do not have that many entries yet:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 55.55555
  longitude: -55.555555
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 301
  # metric for Metric, imperial for Imperial
  unit_system: imperial
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Chicago
  customize:
    cover.garage_door:
#      friendly_name: Garage
      icon: mdi:garage
    switch.coffee_maker:
      icon: mdi:coffee
    switch.ge_12727_inwall_smart_switch_toggle_switch:
      friendly_name: 'Entry Light'
      icon: mdi:lightbulb

# Show links to resources in log and frontend
#introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Uncomment this to add a password (recommended!)
  # api_password: PASSWORD
  # Uncomment this if you are using SSL or running in Docker etc
  # base_url: example.duckdns.org:8123
  api_password: !secret api_password

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
###discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time.
history:

# View all events in a logbook
logbook:

# Track the sun
sun:

# Text to speech
tts:
  platform: google

###################Customized##################################

cover:
# Garage Door
  - platform: mqtt
    state_topic: "home-assistant/cover"
    command_topic: "home-assistant/cover/set"
    name: "Garage Door"
    qos: 0

ifttt:
  key: !secret ifttt_key

mqtt:
  broker: 192.168.1.112 #HA IP Address
  port: 1883
  username: !secret mqtt_username
  password: !secret mqtt_password


sensor:
# Weather Prediction
  - platform: yr
# CPU Speed
  - platform: cpuspeed
# System Monitor
  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /home
      - type: memory_free      


switch:
# Coffee Maker
  - platform: tplink
    host: 192.168.1.114

zwave:
  usb_path: /dev/ttyACM0

group: !include groups.yaml
automation: !include automations.yaml
camera: !include devices/cameras.yaml

Forgot to say. This garage door was the very first device that I added to my Home Assistant. There was nothing else and I had the double entry in my History even at that time.