I could use some help customizing the floor3dcard
I got it working where if I click on some light objects in the model the lights will turn on and off,both on the model and in the house. However I would like to add some kind of popup instead that would show more info about the entity or in the case of lights it would open the color selection wheel instead of just turning on the light bright white.
Not sure what’s wrong with my YAML file, ChatGPT and some online checker seems to think it looks ok but I think it only checks formatting. Before anyone asks, both floor3dcard and browser-mod addons are installed and configured, like I can open a test popup with browser-mod in Developer tools/services.
I’m at a complete loss here, YAML is very new to me
type: custom:floor3d-card
path: /local/3dcard/
name: Home
objfile: home.glb
lock_camera: "no"
header: "yes"
click: "yes"
overlay: "no"
backgroundColor: "#aaaaaa"
hideLevelsMenu: "no"
globalLightPower: "0.25"
shadow: "no"
extralightmode: "no"
show_axes: "no"
sky: "no"
overlay_bgcolor: transparent
overlay_fgcolor: black
overlay_alignment: top-left
overlay_width: "33"
overlay_height: "20"
north:
x: 0
z: -1
camera_position:
x: 609.3072605703628
"y": 905.5330092468828
z: 376.66437610591277
camera_rotate:
x: -1.0930244719682243
"y": 0.5200808414019678
z: 0.7648717152512469
camera_target:
x: 37.36890424945437
"y": 18.64464320782064
z: -82.55051697031719
object_groups:
- object_group: RoundTable
objects:
- object_id: Round_table_1
- object_id: Round_table_2
- object_id: Round_table_3
- object_group: EntranceDoor
objects:
- object_id: Door_9
- object_id: Door_7
- object_id: Door_5
entities:
- entity: light.sengled_e21_n1ea_lumiere_4
type3d: light
object_id: Lumiere_Server_room
light:
lumens: "800"
tap_action:
action: call-service
service: browser_mod.popup
service_data:
title: Lumière Server Room
card:
type: light
entity: light.sengled_e21_n1ea_lumiere_4
deviceID:
- this
- entity: light.sengled_e21_n1ea_lumiere_5
type3d: light
object_id: Lumiere_Chambre_1
light:
lumens: "800"
- entity: light.sengled_e21_n1ea_lumiere_6
object_id: Lumiere_Chambre_2
type3d: light
light:
lumens: "800"
- entity: light.hubz_zigbee_husbzb_1_salon
type3d: light
object_id: Lumiere_Salon
light:
lumens: "800"
zoom_areas:
- zoom: ""
selectionMode: "no"
editModeNotifications: "yes"
objectlist: home.json