alias: Nulleinspeisung EZ1 V2 description: "" trigger: - platform: state entity_id: - sensor.shellyplusplugs_80646fd629f4_switch_0_power condition: [] action: - service: number.set_value target: entity_id: number.apsystems_apsystems_ez1_max_output_power data: value: >- {{ [30, [states('sensor.shellyplusplugs_80646fd629f4_switch_0_power') | float, 800] | min] | max }} mode: single