Hi, after the last update I got a warning that reads “The YAML System Monitor configuration is being removed…”
I proceeded to delete everything I had about system monitor from my configuration.yaml and restarted as prescribed.
I still keep seeing the warning as if I hadn’t deleted anything.
If I check the configuration.yaml file there is no longer any system monitor entry, I have restarted several times but the warning is always there.
What should I do, where can I check?
If you have a sensors.yaml file, you’ll probably find references to system monitor there.
either check your “sensors.yaml” [if you are using different yaml files by include] or check your configuration.yaml
you can completely remove the configuration
- platform: systemmonitor
resources:
- type: ...
- type: ...
and so on...
No I don’t have sensors.yaml
Doing a search on all the folders I found in configuration.yaminfl 2 -platform:systemmonitor
I have to delete these too I think.
Hi Quick queston CChris do you just delete systemmonitor or
- platform: systemmonitor and the rest of my resources entries
Not a yaml expert so just want to check
Yes. After updating check that your sensors have been correctly imported into the UI (Settings → Devices & Services → System Monitor), if so, then you can safely delete the system monitor yaml and restart.
You delete only this and the items listed under it:
Do not delete any other - platform:...
config.
Thanks, now done
cheers for the info , i would have never have figured this out ,
so i followed and restarted , error went ,
but in the UI i only had 2 entities showing ,with 492 not showing ,
so i clicked on 1 ,and changed to unhidden , waited 30 secs ,refreshed and it appeared ,
is it now very granular on what services are shown ?
(upload://afen1abJwPGLGEQ3Au7HY2kMjUT.jpeg)
I am having the same repair suggestion in my home assistant 2024.1.6.
I have no systemmonitor entries in my YAML files.
But I do have the following section in my config:
template:
sensor:
and so on …
Does this trigger the repair suggestion?
No it does not. Only this will trigger the repair:
- platform: systemmonitor
Hmm. I did a
grep systemmonitor *
in the config directory …
one hit in a .log file. Any other idea?
Well, something is loading the platform setup from yaml so if it’s not in your yaml files then you have some other fishy stuff going on which is loading it as such.
Hm … fishy ? Yes , I agree.
'loading the platform setup from yaml ’ - you are saying I have somewhere a YAML file that is being loaded with the systemmonitor platform information/setup ? How can I debug/find the culprit?
Before seeing the warning I didn’t even know about the platform.
I am trying to keep my HA setup as simple as possible. There are no ‘private’ YAML files in my setup. I never had time for any hacks.
May I suggest that you remove any confidential info and then paste your YAML config here so we can look at it?
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
# homekit-look HKI
homeassistant:
packages: !include_dir_named packages/
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
recorder:
db_url: XXXXX
commit_interval: 30
include:
domains:
- automation
- sensor
- binary_sensor
template:
sensor:
- name: "AktuellerStromVerbrauch"
unique_id: "123"
state_class: "measurement"
device_class: "power"
unit_of_measurement: "W"
state: "{{ states('sensor.tasmota_mt681_power_cur') | int(0) }}"
- name: "GesamtStromVerbrauch"
unique_id: "234"
state_class: "total_increasing"
device_class: "energy"
unit_of_measurement: "kWh"
state: "{{ states('sensor.tasmota_mt681_total_in') | float(0.0)}}"
sensor:
- platform: integration
source: sensor.aktuellerStromverbrauch
name: StromVerbrauch
unit_prefix: k
round: 3
influxdb:
username: YYYY
password: XXXXX
tags:
source: HA # um einträge zu taggen fürs finden
tags_attributes:
- friendly_name # es soll auch der friendly-name gespeichert werden, nicht nur der entity name
default_measurement: state # nicht alle entitäten sind °C oder kg, die werden dann state als Masseinheit bekommen
exclude:
entities:
- zone.home
domains:
- person
- persistent_notification
- light
- cover
- binary_sensor
include:
domains:
- sensor
- sun
entities:
- weather.home
… and thanks for the time you invest.
Check the files in this directory:
The bit about looking in ‘Settings/Devices & Services/System Monitor’ is key! I had no idea that’s where I could find it. the comment in the Repair warning about it being moved to the UI told me nothing. Can the comment be updated to include where to find it in the UI?
Ditto the Traccar move to the UI.
I believe that has been mentioned to the devs.