Voici un code un peu plus complet pour la compréhension de tous @Beral24 Merci pour cette astuce
-- 1 = Dimanche, 2 = Lundi, 3 = Mardi, 4 = Mercredi, 5 = Jeudi, 6 = Vendredi, 7 = Samedi
local currentDate = os.date("*t");
if (string.find("1457",currentDate.wday) ~= nil) then
fibaro:debug("Oui")
else
fibaro:debug("Non")
end