Is there a way to hide a view based on the value of a sensor in Lovelace? In short, we have rolling electricity blackouts here called load shedding. When load shedding is instituted, I want the view to be visible that shows me the load shedding times, but when there is no load shedding, the view (i.e. the tab) should be hidden.
Essentially, the sensor returns 0 if there is no load shedding, but returns anything from 1 to 8 if there is, so I only want to see the view if there is load shedding.