Skip to content

Commit

Permalink
Update luaMainDoorLight.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tsurkan-av authored Apr 2, 2024
1 parent 18b9fa3 commit 71bd9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua_doc/luaMainDoorLight.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ arr = nil -- cleanup
-- принимаю статус вызвавшего устройства
local srcStateCurr
if Event.State then
srcStateCurr = Event.State.Value
srcStateCurr = tostring(Event.State.Value)
end
local scriptName = (explode(".", Event.Name))[1] -- имя данного скрипта
-- проверяю кто вызвал (а-ля switch-case)
Expand Down

0 comments on commit 71bd9ad

Please sign in to comment.