adizanni / floor3d-card

Your Home Digital Twin: aka floor3d-card. Visualize Home Assistant state and perform actions using objects in a 3D home model based on Three.js.
https://github.com/adizanni/floor3d-card
MIT License
452 stars 65 forks source link

Bug with cover entitiy? #82

Closed H4rl3k1n closed 2 years ago

H4rl3k1n commented 2 years ago

Hey,

I tryed the new cover function, it works perfectly with a window cover. I discovered a visual bug/problem with my door covers. As you can see in my sweet home 3d model the cover covers (?) the full door: rolo plan

By using the cover entitiy theres a gap on top, this picture shows cover with 66% (gap is allways there, from 1-100%).

rolo live

adizanni commented 2 years ago

Hello @H4rl3k1n, would you mind to send me your model or the type of furniture you are using in Sweethome3d, and your config

H4rl3k1n commented 2 years ago

sure, no problem:

          - entity: cover.shellyrdgb1
            type3d: cover
            object_id: sweethome3d_opening_on_rail_1_Roller_Shutter_Foot_back_119_6_529
            cover:
              pane: sweethome3d_opening_on_rail_1_Roller_Shutter_Foot_back_119_6_529
              side: up

i guess "sweethome3d_opening_on_rail_1_Roller_Shutter_Foot_back" is the model in sweet home 3d?

H4rl3k1n commented 2 years ago

i think i found it. I used a window-cover with a new size for my doors, if i use a covered door it works perfectly. Need to replace the objects in sweet home 3d. Think you can close it. Thanks anyway.

adizanni commented 2 years ago

It is supposed to work also for a resized window but if you have fixed, we can close this and see if others have similar issues