Automation via MQTT broker does not trigger

Edit: More details. I have added the Solar Assistant to Home Assistant via MQTT.
via that system, I have managed to add my Deye Solar inverter. All values from the inverter come steaming in perfectly.
Now I am trying to set up an automation, to at X time, WHEN StateOfCharge <95, activate the ‘Charge from Grid’ by setting the value to charge TO, and then activate this charge.

UPDATE: I removed the conditions. However, at selected time nothing happened. It did not execute the action (turn_on). When I exable the function in Solar Assistant, Home Assistant did show it got turned on.
Can Home Assiatant actually execute commands via MQTT?

alias: Test Inverter Grid Charge
description: ""
triggers:
  - trigger: time
    at: "19:00:00"
conditions:
  - condition: numeric_state
    entity_id: sensor.deye_sunsynk_sol_ark_battery_state_of_charge
    above: 10
    below: 95
actions:
  - device_id: 0c0b1ce2aba65ac5b78c94b96e8fea56
    domain: number
    entity_id: e25f6ff0b0138a5fbb90db2a4082364c
    type: set_value
    value: 98
  - type: turn_on
    device_id: 0c0b1ce2aba65ac5b78c94b96e8fea56
    entity_id: 100e5e4e27a15d9f63d48bade1b63b0e
    domain: switch
mode: single