[SOLVED] History cards not working when cast - Unknown command

Hello,

I am casting dashboards to my Nest devices through Google Cast, all worked fine, but after upgrade from 2022.10 to 2023.1.7 history cards stopped working and I can see “Unable to load history : Unknown command” instead.

This is how it looks on PC / Mobile versus Nest:

Error happens for History Graph and Sensor, doesn’t happen for logbook or any other card.

Even the simplest “sun history” added to empty view throws it.

type: history-graph
entities:
  - sun.sun

No errors in logs (aside some warnings about hacs and xiaomi integrations not tested by HA) and nothing in inspector console on PC. Tried to google but this error doesn’t give any results. On screenshots I’m using “waves” theme, but switching to generic one doesn’t change anything.

Does anyone have an idea what should I check or where to look? Maybe I’m not alone with this issue.

Home Assistant version: 2023.1.7, Frontend 20230110.0, run in a docker container.

I’m casting with simple scripts like that

alias: Cast Weather
sequence:
  - service: cast.show_lovelace_view
    data:
      entity_id: media_player.living_room_display
      dashboard_path: lovelace
      view_path: weather
mode: single
icon: mdi:cast

If there is anything else I should provide, please let me know.

Thanks.

EDIT:

Problem has been resolved by upgrading Home Assistant to beta version 2023.2.0b9. Hopefully someone will find this helpful.