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
450 stars 65 forks source link

object_id Can I fill in more than one at the same time? #103

Closed Chen2022 closed 2 years ago

Chen2022 commented 2 years ago

Can I fill in more than one at the same time How should I fill in multiple thank you

1
adizanni commented 2 years ago

Hello @Chen2022, you need to use the Object Groups. You can follow this tutorial: https://youtu.be/eAbaDfNw93M Basically you create an Object Group (with a name: ex. "chair") and you list the member objects one by one. Then you can reference the object group in the entity Object field using the angle bracket (ex: \<chair>). Of course if the object is composed by too many object this is not practical, but there is a workaround using the plugin ExportToHASS (putting an # at the end of the name of the object); please check the documentation.

Chen2022 commented 2 years ago

ok thank you