A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-IOBROKER
-
Hi guys,
how can i show the status of a light - On/Off
In the broker i used the Power Infos with true and false.Here my script.
{ name: 'Schwarzes_Haus', deviceStates: [ { id: 'sonoff.0.Schwarze_Haus.POWER', icon: 'fa-solid fa-toggle-on', suffix: 'Ligth is on' }, { id: 'sonoff.0.Schwarze_Haus.POWER', icon: 'fa-solid fa-toogle-off', suffix: 'Light is off' } ] },
How can I distinguish the status - On and OFF.
Thank you.
-
@MichaelS the doc says
Go to the ioBroker admin, find the state ID.
I think what you have is the entity id…
-
i Think ist is.
-
i Think i have des correct State ID