As the title has it, I recently added a sensor to my config.yaml file manually. However, I found that when I did this, my Pico remotes stopped working (they are sensors). It appears there can only be 1 sensor section in a config and since I did not define my Picos, they stopped working.
What I would like to do is manually add sensors without having to re-define any of the existing sensors. I’m not sure how to do that.
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor:
- platform: template
sensors:
bedroom_light_brightness:
friendly_name: "Master Bedroom Brightness"
value_template: "{{ states.light.bedroom.attributes.brightness }}"