Hi,
(Originally posted in an old thread but trying with a new one).
I am trying to add my Kira modules to HA, but I am having no luck.
If I add the modules (several in different rooms), HA errors when booting.
Logger: homeassistant.setup
Source: components/kira/**init**.py:119
First occurred: 11:34:00 (1 occurrences)
Last logged: 11:34:00
Error during setup of component kira
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 253, in _async_setup_component
result = await task
File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/kira/init.py”, line 134, in setup
load_module(CONF_SENSOR, idx, module_conf)
File “/usr/src/homeassistant/homeassistant/components/kira/init.py”, line 119, in load_module
module = pykira.KiraReceiver(host, port)
File “/usr/local/lib/python3.10/site-packages/pykira/receiver.py”, line 34, in init
self._socket.bind((host, port))
OSError: [Errno 99] Address not available
This is using the following in my configuration.yaml file
I am getting similar … did you ever get this resolved ?
2023-01-21 17:32:37.398 ERROR (MainThread) [homeassistant.setup] Error during setup of component kira
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 253, in _async_setup_component
result = await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/kira/__init__.py", line 105, in setup
codes = load_codes(hass.config.path(CODES_YAML))
File "/usr/src/homeassistant/homeassistant/components//__init__.py", line 84, in load_codes
data = yaml.safe_load(code_file) or []
File "/usr/local/lib/python3.10/site-packages/yaml/__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
File "/usr/local/lib/python3.10/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
File "/usr/local/lib/python3.10/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/usr/local/lib/python3.10/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/local/lib/python3.10/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/local/lib/python3.10/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/local/lib/python3.10/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/local/lib/python3.10/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/usr/local/lib/python3.10/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key
if self.check_token(KeyToken):
File "/usr/local/lib/python3.10/site-packages/yaml/scanner.py", line 116, in check_token
self.fetch_more_tokens()
File "/usr/local/lib/python3.10/site-packages/yaml/scanner.py", line 223, in fetch_more_tokens
return self.fetch_value()
File "/usr/local/lib/python3.10/site-packages/yaml/scanner.py", line 577, in fetch_value
raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
in "/config/kira_codes.yaml", line 2, column 6
No, I am a new user and at the moment I am getting used to the system. As you see no one else has replied so its one of those things on the back burner…