add type
update api (add device_name)
update test code
bug fixed