feat: WIP
All checks were successful
Build and deploy / build (push) Successful in 9m45s
Build and deploy / Deploy container (push) Has been skipped

This commit is contained in:
2025-09-13 04:16:38 +02:00
parent 580a5187bd
commit d9d3241c91
12 changed files with 565 additions and 2 deletions

View File

@@ -2,17 +2,21 @@ local devices = require("automation:devices")
local device_manager = require("automation:device_manager")
local utils = require("automation:utils")
local secrets = require("automation:secrets")
local debug = require("automation:variables").debug or false
local debug = require("automation:variables").debug and true or false
print(_VERSION)
local host = utils.get_hostname()
print("Running @" .. host)
--- @param topic string
--- @return string
local function mqtt_z2m(topic)
return "zigbee2mqtt/" .. topic
end
--- @param topic string
--- @return string
local function mqtt_automation(topic)
return "automation/" .. topic
end