What does it mean if an item is unavailable on lovelace

image

On my dashboard it looks like the item is unavailable

The actual device is available

Sometimes it happens after rebooting and the dashboard will never refresh unless I keep rebooting and then one day it works

That means that the entities you have on your dashboard and the ones you are seeing on the device page are not the same.

Compare the entity names in your dashboard vs the ones in your device page. You will probably see eg. switch.air_purifier on one and switch.air_purifier_2 on the other.

If that’s the case, I suggest you search for issues on the Local Tuya Github and check how to fix the issue with your entity names changing.

They look the same


        entities:
          - entity: switch.humidifier
            toggle: true
          - entity: switch.air_purifier
            name: Air_Purifier
            toggle: true
          - entity: switch.wii_u
            name: Wii U
            toggle: true

And then in the local tuya device
And then in the local tuya device


But are you sure the switches on your dashboard are unavailable? Do they work if you click on them?

Having a second look at your dashboard screenshot, it seems only dishwasher is actually unavailable, and I don’t see that listed in your devices page.

Yeah the dishwasher is not part of the Powerboard

You can’t click on dashboard but you can click in the tuya device

As I said every time you do a significant update this happens with Wi-fi devices and then I have to do a separate reboot and then it’s fine

Only thing I can think of which might cause this behaviour is browser cache, which needs to be cleared most times after an update.

Try clearing your browser cache (Ctrl+R or Ctrl+Shift+R in chrome, or Ctrl+F5 on all browsers)

A Tuya issue?

Can’t be if the same toggle behaves in the device screen. More likely, it’s cache.