denysdovhan/purifier-card

Fan integration

Closed this issue · 3 comments

In fact, it works with the fan in its current state, but a few additions need to be made. for example swing setting or angle values.

For this, you can clone the same card and use it only for the fan or. it can be organized for both fan and purifier on the same card.

It would be great if you can help with this.

Ekran görüntüsü 2024-03-16 174358

Everything works flawlessly except for the following 4 issues.

We actually need 4 things.

1 - The value of 60 is the Angle value. When I click on this, options like 30-60-90-120-150 should appear.

2 - The value you see as Salınım "Off" is the Oscillation value, that is, it is used to turn on and off the fan turning left and right. again, this should work like a toggle, when I press it, it will turn on when I press it again, it will turn off.

3 - We need to use fan gif instead of Airpurifier Gif. We can use the gif that turns left and right when the oscillation is turned on. Gifs are ready.

4 - We need to add arrows on the left and right side of the gif. When the right arrow is clicked, it will turn right and when the left arrow is clicked, it will turn left. So it will be used to determine the direction manually.

\\\ margin-left : calc(28px + var(--pc-spacing)) value needs to be 0px. otherwise State looks shifted.

There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue.
Thank you for your contributions!

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.