Konstanter Dauerverbrauch, ewiges Problem...

Links im Baum unter "Einstellungen". Einen File-Editor habe ich nicht.
Nach deinem Vorschlag gibt es nach Verzögerung folgende Fehlmeldung:
Code:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2026-06-12 19:07:25.204 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tapo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-06-12 19:07:25.205 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-06-12 19:07:25.205 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-06-12 19:07:26.882 ERROR (MainThread) [homeassistant.config] Invalid config for 'sensor' at configuration.yaml, line 33: required key 'platform' not provided, please check the docs at https://www.home-assistant.io/integrations/sensor
2026-06-12 20:15:57.635 ERROR (MainThread) [homeassistant.config] Invalid config for 'sensor' at configuration.yaml, line 33: required key 'platform' not provided, please check the docs at https://www.home-assistant.io/integrations/sensor
2026-06-12 20:15:57.675 ERROR (MainThread) [homeassistant.config] Invalid config for 'sensor' at configuration.yaml, line 33: required key 'platform' not provided, please check the docs at https://www.home-assistant.io/integrations/sensor
Code:
 
Aha. Was steht denn in Zeile 33? Wenn Du möchtest dann poste mal Deine Konfigurationsdatei.
Wieso kommt da übrigends "homeassistant.config" und nicht "configuration.yaml"?
Welche Datei hast Du denn verändert?
Und wieso Platform - das ist bestimmt ein Fehler (Syntax) in der Konfigurationsdatei.
Ich habe meine Anleitung noch einmal getestet - bei mir funktioniert das.
 
Aha. Was steht denn in Zeile 33? Wenn Du möchtest dann poste mal Deine Konfigurationsdatei.
Wieso kommt da übrigends "homeassistant.config" und nicht "configuration.yaml"?
Welche Datei hast Du denn verändert?
Und wieso Platform - das ist bestimmt ein Fehler (Syntax) in der Konfigurationsdatei.
Ich habe meine Anleitung noch einmal getestet - bei mir funktioniert das.

Code:
# Loads default set of integrations. Do not remove.
default_config:

# Text to speechzone
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mobile_app:

sensor:
  - platform: history_stats
    name: Brennerlaufzeit heute
    unique_id: brenner_ontime
    entity_id: binary_sensor.brenner
    state: 'on'
    type: time
    start:  "{{ now().replace(hour=0, minute=0, second=0, microsecond=0) }}"
    end: '{{ now() }}'

  - platform: history_stats   
    name: Brennerstarts heute
    unique_id: brenner_starts
    entity_id: binary_sensor.brenner
    state: 'on'
    type: count
    start:  "{{ now().replace(hour=0, minute=0, second=0, microsecond=0) }}"
    end: '{{ now() }}'

  - name: Router Watt
    unique_id: RoWa
    state: >
      {{ 17.3|float(0) }}
    unit_of_measurement: W

Zeile 33 ist - name: Router Watt
 
Der Sensor steht im falschen Block. (Das ist ein Template Sensor. Du hast es unter history_stats eingetragen.)
Zugegeben die Fehlermeldung ist nicht sehr aufschlussreich. Versuch mal:
YAML:
template:
  - sensor:
      - name: Router Watt
        unique_id: RoWa
        state: 17.3
        unit_of_measurement: W
.
Oder wie ich schon unter #16 gheschrieben hatte eine Include Datei für Template Sensoren anlegen und alle Template Sensoren dort hineinschreiben.
 

Letzte Anleitungen

Statistik des Forums

Themen
8.060
Beiträge
79.402
Mitglieder
8.779
Neuestes Mitglied
macke384
Zurück
Oben