I have a question.
I have the sensors in a yaml file in the packages folder still written with the old format.
Do I need to move them to a dedicated file like the example one (command_line.yaml)?
or is it enough to rewrite them in the modern format?
eg.
# my old format
sensor:
- platform: command_line
name: Supervisor updates
command: 'curl http://supervisor/supervisor/info -H "Authorization: Bearer $(printenv ............
etc....
# on new format
command_line:
- sensor:
name: Supervisor updates
command: 'curl http://supervisor/supervisor/info -H "Authorization: Bearer $(printenv ............
etc.....