Customize - Sensor hidden dynamically, how?

I have two sensors. One sensor can get on of two values, “true” or “false”.

How to dynamically hide/display the other sensor in the GUI, set hidden: to true or false?

sensor.moon:
hidden: {{ states.sensor.moonphases_gui_hide.state }} -> Gives Config Error
hidden: “{{ states.sensor.moonphases_gui_hide.state }}” -> Does not work
hidden: ‘{{ states.sensor.moonphases_gui_hide.state }}’ -> Does not work

I am a bit baffled that Hassio only have code statement for hiding groups. What about other GUI items?

try this

1 Like

Customizer and/or customUI is the answer for dynamic front UI.

See the quick summary I did here

1 Like