SHT3x Sensor heater_enable Automation

Hi all,
I have a SHT30 sensor running on an esp32 with ESPHome that runs in an often condensating environment. “heater_enabled: true” works as expected. But I had 2 questions I have not been able to find an answer to yet.

  1. How long and often is the heater actually in an on state?
  2. Is there a way to setup an automation in the yaml to have the heater only turn on when the humidity is above a certain % and off below? I have been able to apply filters in this way, but I am unsure if this is something supported, or how to go about it.