* fix(nuki): fixed naming of nuki integration * parse_id function * migration path * fixes from ci runs * don't update title if it was changed * move to dedicated helper * use dict of params * Update homeassistant/components/nuki/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
6 lines
137 B
Python
6 lines
137 B
Python
"""nuki integration helpers."""
|
|
|
|
|
|
def parse_id(hardware_id):
|
|
"""Parse Nuki ID."""
|
|
return hex(hardware_id).split("x")[-1].upper()
|