fibaro:getSectionID(deviceID)
-- Get the section number which contains the device with id = 10
local
section =
fibaro:getSectionID
(10)
if
(section == 0)
then
fibaro:debug
(
'The device is not assigned to any section.'
)
else
fibaro:debug
(
'The device is in section number '
.. section ..
'.'
)
end
fibaro:getRoomID
fibaro:getType