Specifying Custom Service Call Parameters

Any custom service defined in EC configuration will be passed to the turn_on and turn_off calls of the control entities. Simply add a service_data or service_data_off field to the root or night_mode to pass custom service parameters along. An example is shown in below.

  sensor: binary_sensor.kitchen_motion
  entity: light.chandelier
  delay: 600
    brightness_pct: 50
    transition: 2
    transition: 120

Note that all control entities must support the defined service data parameters. Some entities may reject unknown parameters and throw an error! In that case you may add those entities as activation/deactivation triggers instead.