Create unavailable sensor

Hi,

Weird question. I like to create sensor which permanently shows unavailable. Because I like the way an unavailable sensor looks in an entities card and for debugging reason.

I tried by just creating a template sensor with state unavailable, but unfortunately this did not work :slight_smile:

Any suggestions?

Cheers

just set availability to false

How do you do that?

template:
  - sensor:
      - name: always_unavailable
        state: 123
        availability: false
1 Like