Understanding Binary switch integration into Automations

I’m trying to automate some fans in my Attic. I have a binary sensor

binary_sensor:
  - platform: template
    sensors:
        attic:
            friendly_name: "Attic_Temp"
            value_template: >
                {% set Attic = states('sensor.samjin_multi_4e4e0a01_temperature')|float %}
                {% set Outside = states('sensor.outdoor_temperature')| float %}
                {{ (Attic - Outside)|round(1)  > 10 }}

that triggers if it’s 10° hotter inside
and an automation that switches two fans on if that sensor is True

alias: Cool Off Attic
description: ''
trigger:
  - platform: state
    entity_id: binary_sensor.attic
    to: 'True'
condition:
  - condition: numeric_state
    entity_id: sensor.samjin_multi_4e4e0a01_temperature
    above: '75'
action:
  - type: turn_on
    device_id: 7360673e27ead23febbd138046bb174b
    entity_id: switch.attic_fan
    domain: switch
  - type: turn_on
    device_id: f001f0284a1a7e26fe8c94cb9266a63c
    entity_id: light.jasco_products_45853_08ba1000_on_off
    domain: light
mode: single

But the automation never triggers.

in the Dev Tools I can cause it to be True or False

- platform: template
    sensors:
        attic:
            friendly_name: "Attic_Temp"
            value_template: >
                
                
                False

But that does not trigger the automation.

I know I’m overlooking something simple.

Thanks

trigger:
  - platform: state
    entity_id: binary_sensor.attic
    to: 'on'

Look in the Developer Tools > States menu to see the state of entities.

That was it. Thanks