Logger: homeassistant.components.automation.vacuum_maintenance_check
Source: helpers/service.py:168
Integration: Automation (documentation, issues)
First occurred: 5:00:00 PM (2 occurrences)
Last logged: 5:00:00 PM
Vacuum Maintenance Check: Error executing script. Unexpected error for call_service at pos 1: Error rendering service name template: TypeError: '<' not supported between instances of 'NoneType' and 'float'
While executing automation automation.vacuum_maintenance_check
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 353, in async_render
render_result = compiled.render(kwargs)
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/usr/local/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "<template>", line 1, in top-level template code
File "/usr/local/lib/python3.8/site-packages/jinja2/runtime.py", line 545, in __next__
rv = next(self._iterator)
File "<template>", line 1, in template
TypeError: '<' not supported between instances of 'NoneType' and 'float'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 165, in async_prepare_call_from_config
domain_service = domain_service.async_render(variables)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 355, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: '<' not supported between instances of 'NoneType' and 'float'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 250, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 429, in _async_call_service_step
domain, service_name, service_data = service.async_prepare_call_from_config(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 168, in async_prepare_call_from_config
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error rendering service name template: TypeError: '<' not supported between instances of 'NoneType' and 'float'
I donāt have a clue how to fix this. Can anyone help me out?
Iām quite a newbee, and I donāt know what you want to see now. The automation vacuum_maintenance_check hasnāt an Unique ID and canāt be explored thru the UI. So where is this automation located?
Ok this is a package you have loaded from somewhere?
Can you please look in the Developer Tools / States menu, find sensor.vacuum_maint and check what value the timeout_timestamp attribute of this sensor has (right hand column)?