首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

midea-ac-lan.zip

网络技术 138.27KB 7 需要积分: 1
立即下载

资源介绍:

美的的HAAS插件,可实现基于HAAS控制美的智能设备 将最新版本中的所有 custom_components/midea_ac_lan 文件复制到您的 /custom_components/midea_ac_lan Home Assistant。,最后重启HA 添加配置过程中,系统可能会要求您输入美的帐户和密码。必须从美的云服务器检索设备信息(Token 和 Key)。配置完所有设备后,您可以删除美的账户配置,而不会影响设备的使用
from homeassistant.const import ( Platform, TIME_DAYS, TIME_HOURS, TIME_MINUTES, TIME_SECONDS, TEMP_CELSIUS, POWER_WATT, PERCENTAGE, VOLUME_LITERS, ENERGY_KILO_WATT_HOUR, CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, CONCENTRATION_PARTS_PER_MILLION ) from homeassistant.components.binary_sensor import BinarySensorDeviceClass from homeassistant.components.sensor import SensorStateClass, SensorDeviceClass from .midea.devices.x26.device import DeviceAttributes as X26Attributes from .midea.devices.x34.device import DeviceAttributes as X34Attributes from .midea.devices.x40.device import DeviceAttributes as X40Attributes from .midea.devices.a1.device import DeviceAttributes as A1Attributes from .midea.devices.ac.device import DeviceAttributes as ACAttributes from .midea.devices.b0.device import DeviceAttributes as B0Attributes from .midea.devices.b1.device import DeviceAttributes as B1Attributes from .midea.devices.b3.device import DeviceAttributes as B3Attributes from .midea.devices.b4.device import DeviceAttributes as B4Attributes from .midea.devices.b6.device import DeviceAttributes as B6Attributes from .midea.devices.bf.device import DeviceAttributes as BFAttributes from .midea.devices.c2.device import DeviceAttributes as C2Attributes from .midea.devices.c3.device import DeviceAttributes as C3Attributes from .midea.devices.ca.device import DeviceAttributes as CAAttributes from .midea.devices.cc.device import DeviceAttributes as CCAttributes from .midea.devices.cd.device import DeviceAttributes as CDAttributes from .midea.devices.ce.device import DeviceAttributes as CEAttributes from .midea.devices.cf.device import DeviceAttributes as CFAttributes from .midea.devices.da.device import DeviceAttributes as DAAttributes from .midea.devices.db.device import DeviceAttributes as DBAttributes from .midea.devices.dc.device import DeviceAttributes as DCAttributes from .midea.devices.e1.device import DeviceAttributes as E1Attributes from .midea.devices.e2.device import DeviceAttributes as E2Attributes from .midea.devices.e3.device import DeviceAttributes as E3Attributes from .midea.devices.e6.device import DeviceAttributes as E6Attributes from .midea.devices.e8.device import DeviceAttributes as E8Attributes from .midea.devices.ea.device import DeviceAttributes as EAAttributes from .midea.devices.ec.device import DeviceAttributes as ECAttributes from .midea.devices.ed.device import DeviceAttributes as EDAttributes from .midea.devices.fa.device import DeviceAttributes as FAAttributes from .midea.devices.fb.device import DeviceAttributes as FBAttributes from .midea.devices.fc.device import DeviceAttributes as FCAttributes from .midea.devices.fd.device import DeviceAttributes as FDAttributes MIDEA_DEVICES = { 0x13: { "name": "Light", "entities": { "light": { "type": Platform.LIGHT, "icon": "mdi:lightbulb", "default": True } } }, 0x26: { "name": "Bathroom Master", "entities": { X26Attributes.current_temperature: { "type": Platform.SENSOR, "name": "Current Temperature", "device_class": SensorDeviceClass.TEMPERATURE, "unit": TEMP_CELSIUS, "state_class": SensorStateClass.MEASUREMENT }, X26Attributes.current_humidity: { "type": Platform.SENSOR, "name": "Current Humidity", "device_class": SensorDeviceClass.HUMIDITY, "unit": PERCENTAGE, "state_class": SensorStateClass.MEASUREMENT }, X26Attributes.current_radar: { "type": Platform.BINARY_SENSOR, "name": "Occupancy Status", "device_class": BinarySensorDeviceClass.MOVING }, X26Attributes.main_light: { "type": Platform.SWITCH, "name": "Main Light", "icon": "mdi:lightbulb" }, X26Attributes.night_light: { "type": Platform.SWITCH, "name": "Night Light", "icon": "mdi:lightbulb" }, X26Attributes.mode: { "type": Platform.SELECT, "name": "Mode", "options": "preset_modes", "icon": "mdi:fan" }, X26Attributes.direction: { "type": Platform.SELECT, "name": "Direction", "options": "directions", "icon": "mdi:arrow-split-vertical" } } }, 0x34: { "name": "Sink Dishwasher", "entities": { X34Attributes.door: { "type": Platform.BINARY_SENSOR, "name": "Door", "icon": "mdi:box-shadow", "device_class": BinarySensorDeviceClass.DOOR }, X34Attributes.rinse_aid: { "type": Platform.BINARY_SENSOR, "name": "Rinse Aid Shortage", "icon": "mdi:bottle-tonic", "device_class": BinarySensorDeviceClass.PROBLEM }, X34Attributes.salt: { "type": Platform.BINARY_SENSOR, "name": "Salt Shortage", "icon": "mdi:drag", "device_class": BinarySensorDeviceClass.PROBLEM }, X34Attributes.humidity: { "type": Platform.SENSOR, "name": "Humidity", "device_class": SensorDeviceClass.HUMIDITY, "unit": PERCENTAGE, "state_class": SensorStateClass.MEASUREMENT }, X34Attributes.progress: { "type": Platform.SENSOR, "name": "Progress", "icon": "mdi:rotate-360" }, X34Attributes.status: { "type": Platform.SENSOR, "name": "Status", "icon": "mdi:information" }, X34Attributes.storage_remaining: { "type": Platform.SENSOR, "name": "Storage Remaining", "icon": "mdi:progress-clock", "unit": TIME_HOURS, "state_class": SensorStateClass.MEASUREMENT }, X34Attributes.temperature: { "type": Platform.SENSOR, "name": "Temperature", "device_class": SensorDeviceClass.TEMPERATURE, "unit": TEMP_CELSIUS, "state_class": SensorStateClass.MEASUREMENT }, X34Attributes.time_remaining: { "type": Platform.SENSOR, "name": "Time Remaining", "icon": "mdi:progress-clock", "unit": TIME_MINUTES, "state_class": SensorStateClass.MEASUREMENT }, X34Attributes.child_lock: { "type": Platform.LOCK, "name": "Child Lock" }, X34Attributes.power: { "type": Platform.SWITCH, "name": "Power", "icon": "mdi:power" }, X34Attributes.storage: { "type": Platform.SWITCH, "name": "Storage", "icon": "mdi:repeat-variant" }, X34Attributes.mode: { "type": Platform.SENSOR, "name": "Working Mode", "icon": "mdi:dishwasher" }, X34Attributes.error_code: { "type": Platform.SENSOR, "name": "Error Code", "icon": "mdi:alert-box" },

资源文件列表:

midea_ac_lan.zip 大约有141个文件
  1. binary_sensor.py 1.1KB
  2. climate.py 16.57KB
  3. config_flow.py 21.21KB
  4. const.py 603B
  5. fan.py 6.96KB
  6. humidifier.py 3.14KB
  7. light.py 3.76KB
  8. lock.py 1.26KB
  9. manifest.json 409B
  10. midea/
  11. midea/backports/
  12. midea/backports/enum.py 1.11KB
  13. midea/core/
  14. midea/core/cloud.py 23.69KB
  15. midea/core/crc8.py 1.91KB
  16. midea/core/device.py 14.62KB
  17. midea/core/discover.py 6.55KB
  18. midea/core/message.py 6.79KB
  19. midea/core/packet_builder.py 2KB
  20. midea/core/security.py 9.47KB
  21. midea/devices/
  22. midea/devices/a1/
  23. midea/devices/a1/device.py 6.51KB
  24. midea/devices/a1/message.py 5.71KB
  25. midea/devices/ac/
  26. midea/devices/ac/device.py 15.82KB
  27. midea/devices/ac/message.py 22.25KB
  28. midea/devices/b0/
  29. midea/devices/b0/device.py 2.74KB
  30. midea/devices/b0/message.py 2.63KB
  31. midea/devices/b1/
  32. midea/devices/b1/device.py 2.74KB
  33. midea/devices/b1/message.py 1.63KB
  34. midea/devices/b3/
  35. midea/devices/b3/device.py 4.96KB
  36. midea/devices/b3/message.py 5.52KB
  37. midea/devices/b4/
  38. midea/devices/b4/device.py 2.74KB
  39. midea/devices/b4/message.py 1.82KB
  40. midea/devices/b6/
  41. midea/devices/b6/device.py 5.95KB
  42. midea/devices/b6/message.py 7.28KB
  43. midea/devices/b7/
  44. midea/devices/bf/
  45. midea/devices/bf/device.py 2.74KB
  46. midea/devices/bf/message.py 2.41KB
  47. midea/devices/c2/
  48. midea/devices/c2/device.py 5.12KB
  49. midea/devices/c2/message.py 4.69KB
  50. midea/devices/c3/
  51. midea/devices/c3/device.py 11.59KB
  52. midea/devices/c3/message.py 6.69KB
  53. midea/devices/ca/
  54. midea/devices/ca/device.py 3.54KB
  55. midea/devices/ca/message.py 4.53KB
  56. midea/devices/cc/
  57. midea/devices/cc/device.py 7.39KB
  58. midea/devices/cc/message.py 4.22KB
  59. midea/devices/cd/
  60. midea/devices/cd/device.py 4.51KB
  61. midea/devices/cd/message.py 3.36KB
  62. midea/devices/ce/
  63. midea/devices/ce/device.py 5.59KB
  64. midea/devices/ce/message.py 4.48KB
  65. midea/devices/cf/
  66. midea/devices/cf/device.py 3.14KB
  67. midea/devices/cf/message.py 2.86KB
  68. midea/devices/da/
  69. midea/devices/da/device.py 5.48KB
  70. midea/devices/da/message.py 3.12KB
  71. midea/devices/db/
  72. midea/devices/db/device.py 2.75KB
  73. midea/devices/db/message.py 2.8KB
  74. midea/devices/dc/
  75. midea/devices/dc/device.py 2.73KB
  76. midea/devices/dc/message.py 2.62KB
  77. midea/devices/e1/
  78. midea/devices/e1/device.py 6.4KB
  79. midea/devices/e1/message.py 3.81KB
  80. midea/devices/e2/
  81. midea/devices/e2/device.py 4.72KB
  82. midea/devices/e2/message.py 4.31KB
  83. midea/devices/e3/
  84. midea/devices/e3/device.py 4.88KB
  85. midea/devices/e3/message.py 4.3KB
  86. midea/devices/e6/
  87. midea/devices/e6/device.py 2.99KB
  88. midea/devices/e6/message.py 2.69KB
  89. midea/devices/e8/
  90. midea/devices/e8/device.py 2.85KB
  91. midea/devices/e8/message.py 1.78KB
  92. midea/devices/ea/
  93. midea/devices/ea/device.py 4.75KB
  94. midea/devices/ea/message.py 4.16KB
  95. midea/devices/ec/
  96. midea/devices/ec/device.py 4.91KB
  97. midea/devices/ec/message.py 2.66KB
  98. midea/devices/ed/
  99. midea/devices/ed/device.py 3.19KB
  100. midea/devices/ed/message.py 6.42KB
  101. midea/devices/fa/
  102. midea/devices/fa/device.py 12.05KB
  103. midea/devices/fa/message.py 4.47KB
  104. midea/devices/fb/
  105. midea/devices/fb/device.py 3.23KB
  106. midea/devices/fb/message.py 3.3KB
  107. midea/devices/fc/
  108. midea/devices/fc/device.py 8.54KB
  109. midea/devices/fc/message.py 5.96KB
  110. midea/devices/fd/
  111. midea/devices/fd/device.py 6.62KB
  112. midea/devices/fd/message.py 4.33KB
  113. midea/devices/x13/
  114. midea/devices/x13/device.py 4.5KB
  115. midea/devices/x13/message.py 2.87KB
  116. midea/devices/x26/
  117. midea/devices/x26/device.py 4.79KB
  118. midea/devices/x26/message.py 6.92KB
  119. midea/devices/x34/
  120. midea/devices/x34/device.py 6.4KB
  121. midea/devices/x34/message.py 3.77KB
  122. midea/devices/x40/
  123. midea/devices/x40/device.py 4.32KB
  124. midea/devices/x40/message.py 6KB
  125. midea/devices/__init__.py 927B
  126. midea_devices.py 84.67KB
  127. midea_entity.py 1.83KB
  128. number.py 2.24KB
  129. select.py 1.34KB
  130. sensor.py 1.4KB
  131. services.yaml 304B
  132. switch.py 1.18KB
  133. translations/
  134. translations/en.json 4.59KB
  135. translations/fr.json 4.73KB
  136. translations/hu.json 4.91KB
  137. translations/ru.json 5.74KB
  138. translations/sk.json 4.75KB
  139. translations/zh-Hans.json 4.39KB
  140. water_heater.py 8.87KB
  141. __init__.py 6.54KB
0评论
提交 加载更多评论
其他资源 PhotoDemon 图片编辑器
PhotoDemon 图片编辑器
全国地图数据资源Echart用
全国地图数据资源Echart用,适用人群,前端可视化开发人员全国地图数据资源Echart用,适用人群,前端可视化开发人员全国地图数据资源Echart用,适用人群,前端可视化开发人员全国地图数据资源Echart用,适用人群,前端可视化开发人员全国地图数据资源Echart用,适用人群,前端可视化开发人员
javaweb项目超市订单管理系统超市进销存管理系统jsp+servlet+mysql-java课程设计毕业设计java源码
本资源为JavaWeb项目超市订单管理系统,涵盖了超市的进销存管理功能,使用JSP+Servlet+MySQL技术开发,适用于Java课程设计和毕业设计的学习参考。系统包括商品管理、订单管理、库存管理、供应商管理等功能模块,支持数据的增删改查和实时更新,全面展示了Java Web开发在实际业务场景中的应用。源码注释清晰,结构合理,非常适合在校大学生深入学习Java Web开发,提升编程实践能力,同时也是Java技术爱好者提升技能、拓展知识的宝贵参考资料。
javaweb项目党员信息管理系统jsp+servlet+mysql-java课程设计毕业设计jsp项目源码
本资源为JavaWeb项目党员信息管理系统,采用了JSP+Servlet+MySQL技术,适用于Java课程设计和毕业设计的学习参考。系统功能涵盖了党员信息录入、查询、修改、删除等操作,实现了对党员信息的高效管理。该源码结构清晰,代码注释详细,是在校大学生学习Java Web开发的优秀参考资料,有助于掌握Web开发的基本技术和数据库操作。同时,资源也为Java技术爱好者提供了宝贵的学习和实践机会。
onLinear Programming and Monte Carlo Simulation
数学建模
pbootcms数据库sqlite转mysql软件
将Pbootcms的默认SQLite数据库转换为MySQL数据库,包括使用SQLiteStudio导出数据库,修复表结构,通过phpMyAdmin导入到MySQL pbootcms3x+sqlite+转+mysql
mysql8.0 java驱动 mysql-connector-java-8.0.22
mysql-connector-java-8.0.22
无痕卸载工具-v1.0.zip
一款轻量化无痕卸载工具,可以轻松卸载电脑上的各种软件,无需安装,即下载即用。