merci pour ton aide mais j'ai déjà ça dans la main loop et je sais pas changer en heure
if
( fibaro:getGlobalValue("JourChomeJ1") == ("OUI") )
then
fibaro:call(283 ,"setProperty","currentIcon",171)
--fibaro:call(283, "pressButton", "5");
else
fibaro:call(283 ,"setProperty","currentIcon",170)
--fibaro:call(283, "pressButton", "4");
end