Hi @wonkydog
Sorry for the delay in replying.
Creating the new binarysensor.yaml and any other .yaml files you want is easy. So long as you have a comment in your configuration.yaml to include them so, for example -
at the bottom of my configuration.yaml I have the following
camera: !include includes/cameras.yaml
group: !include includes/groups.yaml
automation: !include includes/automations.yaml
script: !include includes/scripts.yaml
light: !include includes/lights.yaml
switch: !include includes/switches.yaml
media_player: !include includes/media_players.yaml
zone: !include includes/zones.yaml
shell_command: !include includes/shell_commands.yaml
sensor: !include includes/sensors.yaml
binary_sensor: !include includes/binarysensor.yaml
I have created a new folder called includes and placed the above files in each. This leaves your config file a lot emptier and easy to manage. Does that make sense, I can explain further if you want.
What else would you like to know?