Sian-Lee-SA / honeycomb-menu

Honeycomb menu is a Home Assistant module (not a card) that can be applied to any lovelace card. When activated by the defined action on said card, the module will display a 'rounded' list of honeycomb buttons with an optional XY pad to make interfacing with lovelace more fluent
Other
203 stars 11 forks source link

Issue after honeycomb menu upgrade #55

Closed leekh406 closed 1 year ago

leekh406 commented 1 year ago

It got weird after the upgrade, so I looked up the data and came all the way here. Buton card downgrade to 3.5 It's implemented well on laptops, but it's still weird on mobile.

Let's wait for an improved upgrade version.

Sian-Lee-SA commented 1 year ago

You will need to be a bit more detailed on the issue, I can't really go on with "weird" I also don't know if you're referring to the button-card or honeycomb menu... It's possible the mobile is still caching old versions somewhere as they're a bit more involved when it comes to clearing

leekh406 commented 1 year ago

문제에 대해 좀 더 자세히 설명해야 합니다. "이상하다"는 말을 계속할 수 없습니다. 버튼 카드 또는 벌집 메뉴를 언급하는 것인지도 모르겠습니다... 모바일에서 가능합니다. 삭제와 관련하여 조금 더 관련되어 있기 때문에 여전히 이전 버전을 어딘가에 캐싱하고 있습니다.

Each entity state is not reflected after the honeycomb menu upgrade.

On/Off state conversion

Sian-Lee-SA commented 1 year ago

Could you please provide your yaml. If it works on laptop but not mobile then it seems to be a seperate issue or more directed to Button-Card. I am also testing on mobile as I write this and the states are reflected

leekh406 commented 1 year ago

yaml을 제공해 주시겠습니까? 랩톱에서는 작동하지만 모바일에서는 작동하지 않는 경우 별도의 문제이거나 Button-Card에 더 많은 문제가 있는 것 같습니다. 이 글을 쓰면서 모바일에서도 테스트를 하고 있는데 상태가 반영됩니다.

================================================ This is yaml I'm using.

It's still not reflected on mobile.


Sian-Lee-SA commented 1 year ago

Please format your code

Sian-Lee-SA commented 1 year ago

Also if this is happening with the latest button-card but you reverted the button card to 3.5 but kept honeycomb on latest then this is an issue with custom button card or your mobile webview

leekh406 commented 1 year ago

The honeycomb menu is very pretty.. Every time the HA elements are updated, there is a problem sometimes. I'm afraid there's been another problem.. First of all, it's working well, but..

  1. I asked because the icon status did not change when I turned on the light. (The elements of the picture change well when the lights are on.)
  2. It doesn't change when the outlets are turned on and off,

Of course, it works well on the PC and it is not implemented only on the mobile. Other than this, there is no big problem.

Let's look at the code again. It happened after the update, so I hope the improved version comes out later.

Sian-Lee-SA commented 1 year ago

Ok well, I just tested on both PC and Mobile (Android), I even kept the Honeycomb menu open on the Android device and turned on the light through PC and it reflected immediately on the Mobile device. I'll close for now until I can replicate this issue or another user identifies this problem which could provide more insight. Currently this could simply be a device, user or browser issue on the mobile you're using. The fact it works on PC means the code is running correctly and I can assure that the recent update I made to work with the latest Button Card updated was very minimal and would not affect device or browser compatiblity (you can check the recent commits to ensure this is the case).

leekh406 commented 1 year ago

honeycomb menu has been restored. The weird thing is.. The mobile has been restored, but it doesn't work on the PC..

First, I usually use mobile, so the condition is well implemented Thank God.

They made a pretty menu for me

알겠습니다. 방금 PC와 모바일(Android)에서 모두 테스트했습니다. 심지어 Android 기기에서 Honeycomb 메뉴를 열어 놓고 PC를 통해 조명을 켰더니 모바일 기기에 즉시 반영되었습니다. 이 문제를 재현할 수 있거나 다른 사용자가 더 많은 통찰력을 제공할 수 있는 이 문제를 식별할 때까지 지금은 닫겠습니다. 현재 이 문제는 사용 중인 모바일의 장치, 사용자 또는 브라우저 문제일 수 있습니다. PC에서 작동한다는 사실은 코드가 올바르게 실행되고 있음을 의미하며 최신 업데이트된 Button Card와 함께 작동하도록 만든 최근 업데이트는 매우 미미했으며 장치 또는 브라우저 호환성에 영향을 미치지 않을 것이라고 확신할 수 있습니다(최근 커밋을 확인하여 이것이 그 경우 다).

leekh406 commented 1 year ago

I deleted the cache for the PC version, and it's working again.

Sian-Lee-SA commented 1 year ago

I deleted the cache for the PC version, and it's working again.

Home Assistant has aggressive caching "issues" along with how browsers handle caching on top... The best way forward when updating frontend cards etc. is appending ?1 to the resource url, then when you update increment the number. This will tell/trick all browsers that the request for the resource is a different file

leekh406 commented 1 year ago

I deleted the cache for the PC version, and it's working again.

Home Assistant has aggressive caching "issues" along with how browsers handle caching on top... The best way forward when updating frontend cards etc. is appending ?1 to the resource url, then when you update increment the number. This will tell/trick all browsers that the request for the resource is a different file


I got to know honeycomb menu not long after I started home assistant It's well implemented on PC and mobile.

Thank you for your help~!