Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py", line 289, in async_step_pair

pairing = await self.finish_pairing(code)
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update

await self.async_update()


 "/usr/src/homeassistant/homeassistant/components/template/sensor.py", line 224, in async_update

self._state = self._template.async_render()


 "/usr/src/homeassistant/homeassistant/helpers/template.py", line 221, in async_render

return compiled.render(kwargs).strip()


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render

self.environment.handle_exception()


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception

reraise(*rewrite_traceback_stack(source=source))


 "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise

raise value.with_traceback(tb)


 "<template>", line 1, in top-level template code
TypeError: unsupported operand type(s) for /: 'float' and 'str'
