Traceback (most recent call last):


 "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 47, in dlg_config_keys

CfgKeysDlg().show()


 "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 144, in __init__

m.ks2id
= M.prep_keys_info()


 "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 81, in prep_keys_info

cmdCNKKIs
= collect_keys()


 "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 59, in collect_keys

cmdinfos
= [('Commands'


 "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 70, in <listcomp>

,f('{},{},{}', cmd['p_module'], cmd['p_method'], cmd['p_method_params']).rstrip(',')
KeyError: 'p_module'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity

await entity.async_device_update(warning=False)


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

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/plugwise/climate.py", line 279, in update

self._presets = self._api.get_presets(self._domain_objects)


 "/usr/local/lib/python3.7/site-packages/haanna/haanna.py", line 89, in get_presets

presets = self.get_preset_dictionary(root, rule_id)


 "/usr/local/lib/python3.7/site-packages/haanna/haanna.py", line 498, in get_preset_dictionary

directive.find("then").attrib["setpoint"]
KeyError: 'setpoint'
