15 lines
379 B
Python
15 lines
379 B
Python
|
|
HA_CONFIG_TEMPLATE = {
|
|
"name": "{device_friendly_name}",
|
|
"state_topic": "homeassistant/sensor/{device_name}/{device_state}/state",
|
|
"unique_id": "{device_name}_status",
|
|
"icon": "{device_icon}",
|
|
"device": {
|
|
"identifiers": ["{device_name}"],
|
|
"name": "{device_friendly_name}",
|
|
"manufacturer": "Edelweiss_Automation",
|
|
"model": "Edelweiss_Automation"
|
|
}
|
|
}
|
|
|