Hi I am getting the following message:
Log Details (ERROR)
Sat Feb 16 2019 20:01:21 GMT+0100 (Ora standard dellâEuropa centrale)
Error handling message: {âtypeâ: âcall_serviceâ, âdomainâ: âlightâ, âserviceâ: âturn_onâ, âservice_dataâ: {âentity_idâ: âlight.armadio_1â}, âidâ: 17}
Traceback (most recent call last):
File â/usr/local/lib/python3.6/site-packages/homeassistant/helpers/template.pyâ, line 140, in async_render
return self._compiled.render(kwargs).strip()
File â/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.pyâ, line 76, in render
return original_render(self, *args, **kwargs)
File â/usr/local/lib/python3.6/site-packages/jinja2/environment.pyâ, line 1008, in render
return self.environment.handle_exception(exc_info, True)
File â/usr/local/lib/python3.6/site-packages/jinja2/environment.pyâ, line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File â/usr/local/lib/python3.6/site-packages/jinja2/_compat.pyâ, line 37, in reraise
raise value.with_traceback(tb)
File ââ, line 1, in top-level template code
File â/usr/local/lib/python3.6/site-packages/jinja2/filters.pyâ, line 668, in do_float
return float(value)
jinja2.exceptions.UndefinedError: âbrightnessâ is undefined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.pyâ, line 17, in _handle_async_response
await func(hass, connection, msg)
File â/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/commands.pyâ, line 148, in handle_call_service
connection.context(msg))
File â/usr/local/lib/python3.6/site-packages/homeassistant/core.pyâ, line 1130, in async_call
self._execute_service(handler, service_call))
File â/usr/local/lib/python3.6/site-packages/homeassistant/core.pyâ, line 1152, in _execute_service
await handler.func(service_call)
File â/usr/local/lib/python3.6/site-packages/homeassistant/components/light/init.pyâ, line 287, in async_handle_light_on_service
await light.async_turn_on(**pars)
File â/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/light/schema_template.pyâ, line 398, in async_turn_on
self._templates[CONF_COMMAND_ON_TEMPLATE].async_render(**values),
File â/usr/local/lib/python3.6/site-packages/homeassistant/helpers/template.pyâ, line 142, in async_render
raise TemplateError(err)
homeassistant.exceptions.TemplateError: UndefinedError: âbrightnessâ is undefined
what should I do?
Thanks