Compare commits
2 Commits
97a5392909
...
c6e63750d0
Author | SHA1 | Date | |
---|---|---|---|
c6e63750d0 | |||
5bf6e6bc3c |
|
@ -3,6 +3,6 @@ FROM gcr.io/distroless/cc-debian12:nonroot
|
||||||
ENV AUTOMATION_CONFIG=/app/config.lua
|
ENV AUTOMATION_CONFIG=/app/config.lua
|
||||||
COPY ./config.lua /app/config.lua
|
COPY ./config.lua /app/config.lua
|
||||||
|
|
||||||
COPY ./build/automation /app/automation
|
COPY ./automation /app/automation
|
||||||
|
|
||||||
CMD ["/app/automation"]
|
CMD ["/app/automation"]
|
||||||
|
|
|
@ -109,7 +109,7 @@ automation.device_manager:add(IkeaOutlet.new({
|
||||||
outlet_type = "Light",
|
outlet_type = "Light",
|
||||||
name = "Light",
|
name = "Light",
|
||||||
room = "Bathroom",
|
room = "Bathroom",
|
||||||
topic = mqtt_z2m("batchroom/light"),
|
topic = mqtt_z2m("bathroom/light"),
|
||||||
client = mqtt_client,
|
client = mqtt_client,
|
||||||
timeout = debug and 60 or 45 * 60,
|
timeout = debug and 60 or 45 * 60,
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user