help to add dooya.curtain.m2 
Hi marcin,

thanks again for the help in adding my devices to the plugin.

This is the data of the curtain


hoobs@hoobs:~ $ miio protocol call  192.168.100.81 get_properties '[{"did":"244127254","siid": 2,"piid":4}]'
 INFO  Attempting to call get_properties on 192.168.100.81

 INFO  Device found, making call

 INFO  Got result:
[
  {
    "did": "244127254",
    "siid": 2,
    "piid": 4,
    "code": 0,
    "value": 1
  }
]

oobs@hoobs:~ $ miio protocol call  192.168.100.81 get_properties '[{"did":"244127254","siid": 1,"piid":1}]'
 INFO  Attempting to call get_properties on 192.168.100.81

 INFO  Device found, making call

 INFO  Got result:
[
  {
    "did": "244127254",
    "siid": 1,
    "piid": 1,
    "code": -4004
  }
]

hoobs@hoobs:~ $ miio protocol call  192.168.100.81 get_properties '[{"did":"244127254","siid": 2,"piid":8}]'
 INFO  Attempting to call get_properties on 192.168.100.81

 INFO  Device found, making call

 INFO  Got result:
[
  {
    "did": "244127254",
    "siid": 2,
    "piid": 8,
    "code": 0,
    "value": false
  }
]

hoobs@hoobs:~ $ miio protocol call  192.168.100.81 get_properties '[{"did":"244127254","siid": 2,"piid":6}]'
 INFO  Attempting to call get_properties on 192.168.100.81

 INFO  Device found, making call

 INFO  Got result:
[
  {
    "did": "244127254",
    "siid": 2,
    "piid": 6,
    "code": 0,
    "value": 0
  }
]

hoobs@hoobs:~ $ miio inspect 192.168.100.81
 INFO  Attempting to inspect 192.168.100.81

Device ID: 244127254
Model info: dooya.curtain.m2
Address: 192.168.100.81
Token: dc28025c65b38b95d5c0492a79fc86b9 via stored token
Support: At least generic

Type info: miio
Capabilities:

Firmware version: 2.1.3
Hardware version: esp8266
MCU firmware version: 0009

WiFi: merv_S1 (E0:63:DA:EA:A1:09) RSSI: -64
WiFi firmware version: 8903c22

Remote access (Mi Home App): Maybe