Template entity to guess the outside colour temperature

:+1: Yep, realized just after posting, ended up with the following, which seems to be working well so far.

alias: Large Tank Light by Elevation
description: Increase / Decrease Brightness by Elevation
trigger:
  - platform: state
    entity_id: sun.sun
    attribute: elevation
condition:
  - condition: time
    after: '07:00:00'
    before: '19:00:00'
  - condition: numeric_state
    entity_id: sun.sun
    above: '0'
    attribute: elevation
action:
  - service: light.turn_on
    data_template:
      brightness_pct: '{{ (state_attr(''sun.sun'', ''elevation'')| multiply(2)) | round(0) }}'
    target:
      entity_id: light.white_led
mode: single