Template sensor not showing as entity

hey everyone so i hope you can help me out :).

I´m trying to add an offset to one of my temperature sensors. The sensor is a tasmota flashed Wemos D1 and the sensor is a ds18b20.

So i used a template sensor but it´s not showing up nowhere. I tried with the tempalte sensor given in the docs (maybe i got a typo or something) but that is not showing up either.

I searched and tried for like 4 hours so you guys are my last resort :).

here is my configuration.yaml:

# 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

device_tracker:
  - platform: nmap_tracker
    hosts:
        - *** # Avis Pixel 2 XL
        - *** # Seda Iphone
        - *** # Papa Huawei P20 lite
        - *** # Mama Huawei Mate 20 lite
        - *** # Quynh Iphone
        - *** # Avis Note 9
        - *** # Hasan Iphone
    # Only scan AT HOME phones every 2 min
    home_interval: 2
    # Wait 180 seconds before marking an undetected phone/device as AWAY
    consider_home: 180
      
homeassistant:
  customize: !include customize.yaml

# 3D Printer Anet A8
octoprint:
  host: ***
  api_key: ***
  bed: true
  number_of_tools: 1
  sensors:
    monitored_conditions:
        - 'Current State'
        - 'Temperatures'
        - 'Job Percantage'
        - 'Time Elapsed'
        - 'Time Remaining'
  
# MQTT Broker
mqtt:
  broker: ***
  
# Sonoff
sonoff:
  username: ***
  password: ***
  reload: always  # update device list every time HA starts
  
# Wake On Lan Avis PC
wake_on_lan:
    switch:
        -   platform: wake_on_lan
            mac: "***"
            name: "Avis PC"
            host: ***

# Themes
frontend:
  themes: !include themes.yaml

and here is my sensors.yaml:

  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /home
      - type: memory_free

  - platform: template
    sensors:
      fernwaerme_ruecklauf_korrigiert:
          value_template: "{{ states('sensor.heizungs_ueberwachung_ds18b20_3_temperature') | float + 20 }}"
          friendly_name: "Fernwärme Rücklauf Korrigiert"

The systemmonitor is working but the template sensor is not showing up anywhere. If you need more information i will provide it. I´m very new to Home Assistant and i´m learning by doing :).

PS.: My wake on lan switch isn´t working too buts that´s another question :D.

Indentation. Use 2 spaces per level consequently.

Take a look at the example.

I did changes to my YAML files but still no template entities. Looked up in developer tools too.

sensors.yaml:

- platform: systemmonitor
  resources:
  - type: disk_use_percent
    arg: /home
  - type: memory_free

- platform: template
  sensors:
    fernwaerme_vorlauf_korrigiert:
      value_template: "{{ states('sensor.heizungs_ueberwachung_ds18b20_5_temperature') | float + 20 }}"
      friendly_name: "Fernwärme Vorlauf Korrigiert"

Changed the sensor too but no changes.

No errors in the logs. The wake on lan issue we keep for later :slight_smile:

Just got solved with the guys over in the Discord channel.

Problem was that my restart button in the gui did not really restart my home assistant (running on a raspberry pi).

So i had to manually restart it with the console command ha core restart

I have a theory why that might be happening but I would need you to perform a simple test.

Execute Configuration > Server Controls > Check Configuration.

Let me know if reports “Configuration valid!” or an error message.