I am trying to setup a boolean in file editor, for creating a toggle for a tv remote (power on and off).
When I go into the File Editor and select the Configuration.yaml what are the next steps? I have looked online and through the search in here, but I am not finding the step by step to complete an adding a boolean. The code I am trying to input is:
input_boolean:
tv_toggle:
name: TV Power Toggle
initial: off
icon: mdi:power
I have attached a screenshot of where I am needing to go to. I wanted to know if there is a step by step someone can provide for me.
Thank you in advance for all for your assistance