Errors when adding platform: season

According to its just so easy to add seasons!

Except, its not. adding

  • platform: season

causes errors. Duplicate mapping key if i add it below the current sensor:
bad indentation of a mapping entry at line 6 if i remove the sensor: ad put the - platform: season below the current sensor: line. If i add it as simply platform: season below my current sensor line, i get Integration error: platform - Integration ‘platform’ not found.

below is my current config yaml

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


sensor: !include sensors.yaml
template: !include template.yaml

themes: !include_dir_merge_named themes

Text to speech


  • platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

packages: !include_dir_named packages

put it in your sensors.yaml file like this:

  - platform: season

leave off the “sensor:” line and make sure the “-” at the beginning is indented the same as the rest of those in the sensors.yaml file.

**- platform: some_other_platform

**- platform: season

* = space
1 Like