Closed abhwang closed 3 years ago
Hi, are you running version 0.7.1? Can you also paste your full log?
I was able to replicate this. I'm looking into it asap.
Looks like an issue with the configuration validator. Despite this error message, the sensor loads properly. I will look at it more closely this evening.
My mistake, I had the configuration validator check for an integer instead of a timedelta. Will be fixed in 0.7.2.
I am running Home Assistant on a Raspberry PI and want to define the scan interval to be greater than 1 second per the documentation.
My config.yaml has scan_interval: 30 and I get the following error message when checking the config for errors: Invalid config for [sensor.nhl_api]: expected int for dictionary value @ data['scan_interval']. Got datetime.timedelta(seconds=30). (See ?, line ?).