Turn ceiling fan on when heat turns on

I think I have everything down for organizing and adding devices into home assistant. I would like to create an automation that turns on my ceiling fan running via a zwave ge smart fan control (light.ge_unknown_type4944_id3034_level_5_0) when the heat via nest thermostat (climate.downstairs) turns on. This is what I have so far

automation:
  alias: Turn on fan with heat
  initial_state: True
  hide_entity: False
  trigger:
    platform: light
  condition: 
       condition: state
       entity_id: climate.downstairs
       state: ??????  
  action:
    service: light.turn_on
    entity_id: light.ge_unknown_type4944_id3034_level_5_0
    data:
      brightness: 20
  alias: Turn off fan when heat turns off
  initial_state: True
  hide_entity: False
  trigger:
    platform: light
  condition:
    condition: state
    entity_id: climate.downstairs
    state: ??????
  action:
    service: light.turn_off
    entity_id: light.ge_unknown_type4944_id3034_level_5_0

Any help is appreciated. Thanks!

I don’t have a Nest to figure that out for you, but you can find the state value by opening your states development tool (< > icon in sidebar of UI) and find climate.downstairs and see what it’s state becomes when the heat turns on. If it’s like my thermostat, it’ll be “heat”.

Also - you’re triggers don’t look right here. You want something like:

trigger:
  - platform: state
    entity_id: climate.downstairs
    state: 'heat'

This should trigger when the heat turns on. I’m assuming that the Nest’s state will change when heat turns on/off, but I’m not sure.

You may want to add the nest binary sensors. There is one that has “heat state” that would be easy to trigger off of.