Weird errors in Log

I have these errors in the log:


but my configuration is very simple:

I’ve deleted all test scene and scripts

but when I open the YAML file I find:
image

There are multiple and only the last one appears to be correct. the others appear to be old.

Why they are still there?
I only created and deleted from the UI

Even If I go under entities and filter:

So questions are:

  1. why I get the errors in the log and how to fix them
  2. why the YAML are not aligned with the UI?

You have nothing, that is perfect, i wish to have no errors at all :slight_smile: you probably missed to paste the error

1 Like

That’s you router log?

I even couldn’t see a log yet, that is unifi dashboard, showing all active clients.

@anon63427907 @avd706 sorry me dummy :slight_smile: I’ve posted the wrong image :open_mouth: not the log of HA but the list of devices… now I’ve updated with the correct image

Can you also post your configuration.yaml, i assume there is something wrong around automations:

1 Like

here we go:


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#sensor: !include sensors.yaml
# Example configuration.yaml entry
sensor:
  - platform: qnap
    host: !secret qnap_1_host
    port: !secret qnap_1_port
    username: !secret qnap_1_username
    password: !secret qnap_1_password
    ssl: !secret qnap_1_ssl
    verify_ssl: !secret qnap_1_verify_ssl
    monitored_conditions:
      - status
      - system_temp
      - cpu_temp
      - cpu_usage
      - memory_free
      - memory_used
      - volume_size_free
      - volume_size_used
switch:
  - platform: template
    switches:
      ewelink_virtual_switch:
        turn_on:
          service: switch.turn_on
        turn_off:
          service: switch.turn_off

cover:
  - platform: template
    covers:
      ewelink_virtual_cover:
        open_cover:
          service: cover.open_cover
        close_cover:
          service: cover.close_cover
        stop_cover:
          service: cover.stop_cover
        set_cover_position:
          service: cover.set_cover_position

fan:
  - platform: template
    fans:
      ewelink_virtual_fan:
        value_template: "{{ states('input_boolean.state') }}"
        turn_on:
          service: fan.turn_on
        turn_off:
          service: fan.turn_off
        set_preset_mode:
          service: fan.set_preset_mode

automations.yaml

[core-ssh config]$ more automations.yaml
- id: '1642012201265'
  alias: Fancoil Sync
  description: Power Off Fancoil if Tado is not heating
  trigger:
  - type: value
    platform: device
    device_id: ecd4748dc635832b71643e0acb87e259
    entity_id: sensor.calorifero_studio_heating
    domain: sensor
  condition: []
  action:
  - choose:
    - conditions:
      - type: is_value
        condition: device
        device_id: ecd4748dc635832b71643e0acb87e259
        entity_id: sensor.calorifero_studio_heating
        domain: sensor
        above: 1
      sequence:
      - scene: scene.t_06_2_on
    default:
    - scene: scene.t_08_1_on
  mode: single
- id: '1642015488549'
  alias: Fancoil Sync
  description: Power Off Fancoil if Tado is not heating
  trigger:
  - type: value
    platform: device
    device_id: ecd4748dc635832b71643e0acb87e259
    entity_id: sensor.calorifero_studio_heating
    domain: sensor
  condition: []
  action:
  - choose:
    - conditions:
      - type: is_value
        condition: device
        device_id: ecd4748dc635832b71643e0acb87e259
        entity_id: sensor.calorifero_studio_heating
        domain: sensor
        above: 1
      sequence:
      - scene: scene.t_06_2_on
    default:
    - scene: scene.t_08_1_on
  mode: single
- id: '1642015836377'
  alias: FanCoil Sync
  description: ''
  trigger:
  - platform: state
    entity_id: sensor.piano_interrato_heating
  condition: []
  action:
  - choose:
    - conditions:
      - condition: numeric_state
        entity_id: sensor.piano_interrato_heating
        above: '1'
      sequence:
      - service: switch.turn_on
        target:
          entity_id: switch.1000f7f6ae_2
    default:
    - service: switch.turn_off
      target:
        entity_id: switch.1000f7f6ae_2
  mode: single

Looks legit to me, sorry

@anon63427907 but in the UI I do see only 1 automation while in the yaml I have 3 and also why I get the error?

Try writing them without using device automations. Use state/numeric_state triggers and conditions instead.