core: ip_bans.yaml contains duplicate key

The problem

as title, auto created file causing an issue

seems mobile_app is logged more than before, even though mobile app hasn’t been updated in a while

What version of Home Assistant Core has the issue?

2022.8.0.dev20220711, also seeing this on 2022.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

http mobile_app

Link to integration documentation on our website

https://www.home-assistant.io/integrations/mobile_app/ https://www.home-assistant.io/integrations/http/

Diagnostics information

No response

Example YAML snippet

192.168.1.204:
  banned_at: '2022-07-10T12:05:45.381696+00:00'

192.168.1.204:
  banned_at: '2022-07-10T12:05:45.382555+00:00'

Anything in the logs that might be useful for us?

Logger: homeassistant.util.yaml.loader
Source: util/yaml/loader.py:342 
First occurred: 09:15:49 (1 occurrences) 
Last logged: 09:15:49

YAML file /config/ip_bans.yaml contains duplicate key "192.168.1.204". Check lines 1 and 4

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 20 (7 by maintainers)

Most upvoted comments

@bcutter Sure! But this is an open source project. Feel free to help out fixing it 👍