Automation with state_attrib sensor.xxx =>

Hi to all,
i’ve set this automation:

- alias: Accensione deumidificatore camera matrimoniale
  trigger:
    - platform: numeric_state
      entity_id: sensor.indicatore_muffa_matrimoniale
      above: 75
  condition:
    - condition: time
      after: '07:30:00'
      before: '22:30:00'
  action:
    - service: script.turn_on
      entity_id: script.deumidificatore_matrimoniale

My AC works only if the humidity value is triggered between 7.30am and 10.30pm.
If the humidity value goes over 75% during the night and it remains on this values also between 7.30 and 10.30pm my AC doesn’t work.

I would set an automation that switch on my AC between 07.30am and 10.30pm even if humidity sensor triggered over 75% in the night.

Thanks in advance,

Alessandro