poudenes
(Poudenes)
September 19, 2020, 9:06am
1
Hi All,
Since upgrading to 0.115.x I get this error:
2020-09-19 10:57:43 ERROR (MainThread) [homeassistant.components.sensor] Platform systemmonitor does not generate unique IDs. ID last_boot already exists - ignoring sensor.last_boot
I tried to remove the platform from configuration file, stop HA
remove the ID in core.device_registry restart HA without system monitor.
then add the system monitor again and reboot HA
But get same error back.
How can I solve this? Its not something that brick my system, but would be nice to solve it
Thomsy81
(Michael Thoms)
October 8, 2020, 3:07am
2
I was having this same issue, turned out the attribute was duplicated in my system monitor config, deleted one instance and problem solved.
1 Like
poudenes
(Poudenes)
October 8, 2020, 6:04am
3
ohh my… didn’t see it… had also a duplicate line… damn… thanks!!
Thanks Thomsy81! That resolved my issue also
asemev
(Emre Evinc)
May 7, 2022, 7:53am
5
Hi guys, i dont seem to have a duplicate line. Any idea what could be causing this for me?
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
- platform: systemmonitor
resources:
- type: memory_use_percent
arg: /home
- type: memory_free
- platform: systemmonitor
resources:
- type: load_1m
arg: /home
- type: memory_free
- platform: systemmonitor
resources:
- type: load_15m
arg: /home
- type: memory_free
- platform: systemmonitor
resources:
- type: processor_use
arg: /home
- type: memory_free
- platform: command_line
name: Temp
command: cat /sys/class/thermal/thermal_zone0/temp
unit_of_measurement: "°c"
value_template: '{{ (value | multiply(0.001)) | round(1) }}'
asemev
(Emre Evinc)
May 7, 2022, 8:04am
6
Oh wait, i think i get it. right now they are all duplicates need to combine them all in one entry…
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_use_percent
arg: /home
- type: load_1m
arg: /home
- type: load_15m
arg: /home
- type: processor_use
arg: /home
- type: memory_free
right?
I believe you need lines within each also for
Name:
unique_id:
and from what I understand, they cannot be combined into one section.
I ended up finding this forum question when doing a search for a related problem I have. I am adding a new command_line entry in my configuration.yaml that I had previously but had removed. I have made sure 100% there are no duplicates within the configuration.yaml where I am adding it. When Home Assistant starts up, only that one command_line sensor does not even load, and there is a message in syslog saying that the unique_id supplied to it was a duplicate. Where can I find the other one? Any ideas?