Please help me how can show only switch status(on or off ) without on/off switch.
A switch is a Switch
Have try Looking at it as a sensor
this would be your choice:
I using a heater with a on/off switch. I am not sure about device class in temptate.
binary_sensor:
- platform: template
sensors:
heating:
device_class: heat
value_template: "{{ is_state('light.dr_heater', 'on') }}"
heat:
device_class: temprature
value_template: "{{ is_state('light.dr_heater', 'on') }}"