substitutions:
  devicename: n30
  friendly_name: n30

packages:
  device: !include devices/kincony-n30.yaml

# Per-channel overrides. Uncomment and edit; !extend merges into the templated
# sensor by id (${devicename}_<chip>_<channel>_<current|power|energy>). Filters are appended
# after the template's own (multiply 0.001 for current, 0.1 for power).
# sensor:
#   # Offset one channel's power reading.
#   - id: !extend ${devicename}_1_5_power
#     filters:
#       - offset: -2.0
#
#   # Scale one channel's current (CT calibration).
#   - id: !extend ${devicename}_2_3_current
#     filters:
#       - multiply: 1.02
#
#   # Rename a channel.
#   - id: !extend ${devicename}_1_7_power
#     name: Office Power
#
#   # Hide an unused channel from Home Assistant.
#   - id: !extend ${devicename}_3_10_power
#     internal: true
#
#   # Average a noisy channel over 30s before publishing.
#   - id: !extend ${devicename}_1_2_power
#     filters:
#       - throttle_average: 30s
