mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![Pascal Reeb](/assets/img/avatar_default.png)
* 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>
7 lines
137 B
Python
7 lines
137 B
Python
"""nuki integration helpers."""
|
|
|
|
|
|
def parse_id(hardware_id):
|
|
"""Parse Nuki ID."""
|
|
return hex(hardware_id).split("x")[-1].upper()
|