In my log, I can see there is a lot of this error…
homeassistant.helpers.condition: Error duriong template condition: UndefinedError: ‘function object’ has no attribute ‘now’
How do I fix this?
In my log, I can see there is a lot of this error…
homeassistant.helpers.condition: Error duriong template condition: UndefinedError: ‘function object’ has no attribute ‘now’
How do I fix this?
I am not using now in a template so I don’t have an issue but did you try changing now to now()
At the bottom of the release notes that @PtP linked is a breaking changes section; this lists any changes to code that will break the configuration. (That’s less for you and more for others who may read this!)
Here’s the related point:
Breaking Changes
- The template methods now and utcnow have been changed from variables to methods. To get the current time replace now with now().
thanks. it is OK now.