Home Assistant Unofficial Reference
2024.12.1
util.py
Go to the documentation of this file.
1
"""Support for Lutron Homeworks Series 4 and 8 systems."""
2
3
4
def
calculate_unique_id
(controller_id: str, addr: str, idx: int) -> str:
5
"""Calculate entity unique id."""
6
return
f
"homeworks.{controller_id}.{addr}.{idx}"
homeassistant.components.homeworks.util.calculate_unique_id
str calculate_unique_id(str controller_id, str addr, int idx)
Definition:
util.py:4
core
homeassistant
components
homeworks
util.py
Generated by
1.9.1