Can you format your YAML correctly, as explained in the big blue box at the top (select the YAML, press </>)
Your motion sensor also supports Binary reports, which will give you a binary_sensor.fibaro_system_fgms001zw5_motion_sensor node (probably), making this much easier. I believe that’s enabled by default.
That will allow you to do something much simpler, like:
- alias: "Fan on"
trigger:
- platform: state
entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor
to: 'on'
That said:
If you’re using numeric_state, then the state options are above: and below:, notstate: - state was removed some time ago. For platform: state then the options are from: and to:. See the documentation.
You can’t put quotes around the numbers for numeric_state