Configure multiple iperf3 sensors with different settings

hi all,
i want to configure multiple targets for iperf3 having different parameters.
here’s my working config with one target

Iperf3 - Home Assistant

iperf3:
monitored_conditions:
- download
scan_interval: ‘00:10:00’
hosts:
- host: 192.168.1.8
duration: 5

now i want to test a second iperf3 server on the internet, using an interval of one hour, like this

Ehttps://www.home-assistant.io/integrations/iperf3

iperf3:
monitored_conditions:
- download
scan_interval: ‘00:10:00’
hosts:
- host: 192.168.178.8
duration: 5
monitored_conditions:
- download
- upload
scan_interval: ‘01:00:00’
hosts:
- host: server.on.the.net
port 51234
duration: 10

i only get
duplicated mapping key (40:3)

37 | hosts:
38 | - host: 192.168.178.8
39 | duration: 5
40 | monitored_conditions:
--------^
41 | - download

how can i solve this?

kind regards

P.S. i did not find anything about such a request in this forum