Closed zzaal closed 1 year ago
It seems that you jumped directly from 1.5.0 to 1.5.2. Enter once in the editor and save your config. It should work better
It seems that you jumped directly from 1.5.0 to 1.5.2. Enter once in the editor and save your config. It should work better
No, I used version 1.5.1 and updated it yesterday to 1.5.2. I am creating a new card with a plan, but it is also impossible to manage devices on it. Double tap anywhere on the plan causes this error in log: Uncaught TypeError: Cannot read properties of null (reading 'editMode')
Example of a new card with a plan
type: custom:floor3d-card
path: /local/Living/
name: Home1
objfile: home.obj
lock_camera: 'no'
header: 'no'
click: 'no'
overlay: 'no'
backgroundColor: Black
hideLevelsMenu: 'no'
globalLightPower: '0.3'
shadow: 'yes'
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: []
entities:
- entity: light.living_ceiling_ambilight
type3d: light
object_id: Living_Ceiling_Ambi_1
light:
lumens: '1000'
zoom_areas: []
mtlfile: home.mtl
objectlist: home.json
selectionMode: 'no'
editModeNotifications: 'yes'
Ok, and now the uncaught error is ?
I dont understand you, sorry...
I was asking you what was the error in the console, but you already wrote it in the comment, you have still the editMode error
here same error , i try come back older version of both ha and floor3dcard , but no image loaded
on version HA_2023.3.6 and 1.5.1 all worked. Then I upgraded to HA_2023.4.1 and 1.5.2 and now the plan is displayed in Loelace, the devices change their status on the plan only if they are turned on from native cards. On the plan itself, you can't control the devices, only can to see them status. The double tap on the plan gives an error in the HA logs.
I think I know the root cause, but I cannot fix it before tomorrow, please be patient, ha changed ui objects in 2023.4 and unfortunately they do not have stable API for all needed functions and they make the life of the custom card developers harder and harder
here np. i just revert oldest version cause im in setting up the card right now , so i can have the time to do my card perfect. Ty for the awesome work
Thank you very much! Of course, as soon as you have time, we will wait. Your card is the best, there are no analogues!
today i enjoy with vr-glasses and my home project ... awesome walking in my real home but in vr
i was thinking : theres a way to pair a lovelace in a 3d object ? example . i want open both cctv cams when i click on a monitor in the 3d model , i already have a button in main view that do it and i think if is possible and how
THX! 1.5.3. works!!!
@zzaal, you are fast, my HACS is not yet showing the new release
here too confirm that work well ty
It is not possible to control devices on the plan. the statuses are displayed correctly, but it is impossible to turn on/off on the plan with the mouse. Now only display and no control.
Logger: frontend.js.latest.202304061 Source: components/system_log/init.py:257 First occurred: 05:10:21 (1 occurrences) Last logged: 05:10:21
http://192.168.0.52:8123/hacsfiles/floor3d-card/floor3d-card.js?hacstag=361776538152:2288:20659 Uncaught TypeError: Cannot read properties of null (reading 'editMode')