Add various Air condicionating in configuration.yalm with climate command

Hi,
I am new in Home Assistant,
I added a Midea air conditionating following the steps in the next link https://github.com/mac-zhou/midea-ac-py. It works well with one but I have a question.

How do I must write the code in comfiguration.yalm archive if I want add more than one dispositive?

I tried copying the same with ip, token and k1 for each dispositive but when I run Home Assistant it only works with last one that I configured in the archive.

Example:

climate:
  - platform: midea_ac
    host: ip1
    id: id1
    token: token1
    k1: key1

climate:
  - platform: midea_ac
    host: ip2
    id: id2
    token: token2
    k1: key2
...

Anyone can help me? sorry for my english.

climate:
  - platform: midea_ac
    host: ip1
    id: id1
    token: token1
    k1: key1
  - platform: midea_ac
    host: ip2
    id: id2
    token: token2
    k1: key2

thank you :ok_hand: