Custom HA integration (domain meshcore_agent) that lets MeshCore nodes manage a todo list over mesh messages: - todo / todo list, todo add, todo done, todo uncheck, todo remove - remind <n> <when> / remind off <n> (relative, clock, weekday, absolute) - replies via meshcore.send_message / send_channel_message - reminders scheduled with async_track_point_in_time and delivered to the sender who set them - todo list also exposed as a HA todo entity - config flow with sender allowlist, allow-all toggle, reply length cap - pure-Python core (core/) covered by pytest; adapter flow tested with stubbed hass
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"title": "MeshCore Agent",
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "MeshCore Agent",
|
|
"description": "Allow MeshCore nodes to talk to the agent. The allowlist accepts public key prefixes or contact names, separated by commas.",
|
|
"data": {
|
|
"allowlist": "Allowed senders (pubkey prefixes or names, comma separated)",
|
|
"allow_all": "Allow all senders (not recommended)",
|
|
"max_reply": "Maximum reply length (characters)"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_max_reply": "Maximum reply length must be a number between 20 and 500."
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "MeshCore Agent options",
|
|
"description": "Allow MeshCore nodes to talk to the agent. The allowlist accepts public key prefixes or contact names, separated by commas.",
|
|
"data": {
|
|
"allowlist": "Allowed senders (pubkey prefixes or names, comma separated)",
|
|
"allow_all": "Allow all senders (not recommended)",
|
|
"max_reply": "Maximum reply length (characters)"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_max_reply": "Maximum reply length must be a number between 20 and 500."
|
|
}
|
|
},
|
|
"entity": {
|
|
"todo": {
|
|
"todos": {
|
|
"name": "MeshCore todos"
|
|
}
|
|
}
|
|
}
|
|
}
|