[Solved]Simple Automation Help

Hello, quite new to this. I have Sonoff 4CH Pro connected to Hassio via emulated Hue.
I see the entity light.hblower in states and have made the following automation.

- action:
  - alias: Fan On
    data: {}
    service: HBlower.turn_on
  alias: Fan On
  condition: []
  id: '1505662341844'
  trigger:
  - entity_id: binary_sensor.entryway_thermostat_nest_fan
    from: '0'
    platform: state
    to: '1'

I can manually switch the fan on/off from the states screen, but cannot get an automation to do the same. Why doesn’t the automation control the hblower as expected? Hassio reports that it has been turned on, yet it hasn’t. I think the fact that emulated hue is bringing the sonoff in as lights has something to do with it. It did bring them in as switches once, but I don’t know how to get it to do that again.

It turns out that I had to make the automations using the tool in Hassio and then edit them in the automation.yaml. The logic now works, a fireplace flame and low fan now come on when the Nest is heating and turn off when the Nest is off. The automation.yaml looks like this:

  • action:
    • service: light.turn_on
      entity_id: light.Flame
      alias: Flame Auto On
      condition: []
      id: ‘1506045896491’
      trigger:
    • entity_id: sensor.entryway_thermostat_nest_hvac_state
      platform: state
      to: heating
  • action:
    • service: light.turn_off
      entity_id: light.Flame
      alias: Flame Auto Off
      condition: []
      id: ‘1506046114146’
      trigger:
    • entity_id: sensor.entryway_thermostat_nest_hvac_state
      platform: state
      to: ‘off’
  • action:
    • service: light.turn_off
      entity_id: light.Low
      alias: Fan Auto Off
      condition: []
      id: ‘1506048851362’
      trigger:
    • entity_id: sensor.entryway_thermostat_nest_hvac_state
      platform: state
      to: ‘off’
  • action:
    • service: light.turn_on
      entity_id: light.Low
      alias: Fan Auto On
      condition: []
      id: ‘1506048904683’
      trigger:
    • entity_id: sensor.entryway_thermostat_nest_hvac_state
      platform: state
      to: heating

Notice the quote around the ‘off’ and the lack of quote around the heating. Thanks to all that helped, which was no one!