home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.8k stars 2.6k forks source link

Scenes not visible on macOS Safari #20944

Open alexsaas opened 1 month ago

alexsaas commented 1 month ago

Checklist

Describe the issue you are experiencing

On macOS with Safari the (zigbee2mqtt) scenes are not visible in the szenes tab. In the companion app on iOS they are visible!

Logger: frontend.js.latest.202405011 Quelle: components/system_log/init.py:333 Erstmals aufgetreten: 31. Mai 2024 um 09:35:30 (29 Vorkommnisse) Zuletzt protokolliert: 31. Mai 2024 um 10:03:23

Uncaught error from Safari 17.5 on Mac OS 10.15.7 RangeError: number argument must be finite format ([native code]::) isUnavailableState (src/panels/config/scene/ha-scene-dashboard.ts:278:31) row (src/components/data-table/ha-data-table.ts:485:50) map ([native code]::) map (src/components/data-table/ha-data-table.ts:457:39) s (src/directives/repeat.ts:57:32) t (src/directives/repeat.ts:94:6) t (src/lit-html.ts:1085:33) this (src/lit-html.ts:1362:29) t (src/async-directive.ts:366:29

Describe the behavior you expected

Scenes should be visible

Steps to reproduce the issue

  1. Open the Scenes-Window on macOS with Safari
  2. ...

What version of Home Assistant Core has the issue?

2024.4-2024.5.5

What was the last working version of Home Assistant Core?

2024.3

In which browser are you experiencing the issue with?

Safari on macOS

Which operating system are you using to run this browser?

macOS Sonoma 14.5

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

alexsaas commented 1 week ago

With the new HA Core 2024.6.4 an HAOS 12.4, the error still exists.

If I try to sort the not displayed scenes by name, the following is in the logs:

`Logger: frontend.js.latest.202406101
Quelle: components/system_log/__init__.py:333
Erstmals aufgetreten: 17:29:21 (3 Vorkommnisse)
Zuletzt protokolliert: 17:29:23

Uncaught error from Safari 17.5 on Mac OS 10.15.7 RangeError: number argument must be finite format ([native code]::) isUnavailableState (src/panels/config/scene/ha-scene-dashboard.ts:296:31) row (src/components/data-table/ha-data-table.ts:485:50) map ([native code]::) map (src/components/data-table/ha-data-table.ts:457:39) s (src/directives/repeat.ts:57:32) t (src/directives/repeat.ts:94:6) t (src/lit-html.ts:1085:33) this (src/lit-html.ts:1362:29) t (src/async-directive.ts:366:29)`