DBuit / switch-popup-card

10 stars 7 forks source link

Fan issue #15

Open jherby2k opened 2 years ago

jherby2k commented 2 years ago

Hi, and thanks for your great controls!

I'm struggling a bit with a fan... seems the speed (or percentage) attributes don't reflect when the fan is off for me - i have to check the state for that. As in, a fan could be off with a speed of 'medium'. But this card seems to only check a single attribute for determining state, so its not working quite right. Would it be possible to point at a template entity instead of the fan itself to determine the current state? Kind of a javascript idiot over here!