I need help understanding what’s wrong with my configuration.
Error message:
Invalid config for [sensor]: offset 300 (default, optional) should be format ‘HH:MM’, ‘HH:MM:SS’ or ‘HH:MM:SS.F’ for dictionary value @ data[‘scan_interval’]. Got None. (See /config/configuration.yaml, line 39).
configuration.yaml:
sensor:
- platform: pollenniva
scan_interval: 300 (default, optional)
state_as_string: false (default, optional, show states as strings as per STATES above)
sensors:- city: Stockholm
days_to_track: 3 (0-3, optional)
allergens:- Gräs
- Hassel
- city: Östersund
allergens:- Hassel
- city: Stockholm
Sensor-file @ /config/custom_components/pollenniva/sensor.py
Do I need to paste sensor.py content for someone to understand what’s wrong?
Any help appreciated!