Advertisement
LA_

tuya - smart screen

LA_
Nov 4th, 2022
1,173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 11.84 KB | None | 0 0
  1. {
  2.   "home_assistant": {
  3.     "installation_type": "Home Assistant OS",
  4.     "version": "2022.11.1",
  5.     "dev": false,
  6.     "hassio": true,
  7.     "virtualenv": false,
  8.     "python_version": "3.10.7",
  9.     "docker": true,
  10.     "arch": "aarch64",
  11.     "timezone": "Europe/Moscow",
  12.     "os_name": "Linux",
  13.     "os_version": "5.15.61-v8",
  14.     "supervisor": "2022.10.2",
  15.     "host_os": "Home Assistant OS 9.3",
  16.     "docker_version": "20.10.18",
  17.     "chassis": "embedded",
  18.     "run_as_root": true
  19.   },
  20.   "custom_components": {
  21.     "xiaomi_gateway3": {
  22.       "version": "2.1.2",
  23.       "requirements": [
  24.         "zigpy>=0.33.0"
  25.       ]
  26.     },
  27.     "hacs": {
  28.       "version": "1.28.3",
  29.       "requirements": [
  30.         "aiogithubapi>=22.2.4"
  31.       ]
  32.     },
  33.     "localtuya": {
  34.       "version": "4.1.1",
  35.       "requirements": []
  36.     }
  37.   },
  38.   "integration_manifest": {
  39.     "domain": "tuya",
  40.     "name": "Tuya",
  41.     "documentation": "https://www.home-assistant.io/integrations/tuya",
  42.     "requirements": [
  43.       "tuya-iot-py-sdk==0.6.6"
  44.     ],
  45.     "dependencies": [
  46.       "ffmpeg"
  47.     ],
  48.     "codeowners": [
  49.       "@Tuya",
  50.       "@zlinoliver",
  51.       "@frenck"
  52.     ],
  53.     "config_flow": true,
  54.     "iot_class": "cloud_push",
  55.     "dhcp": [
  56.       {
  57.         "macaddress": "105A17*"
  58.       },
  59.       {
  60.         "macaddress": "10D561*"
  61.       },
  62.       {
  63.         "macaddress": "1869D8*"
  64.       },
  65.       {
  66.         "macaddress": "381F8D*"
  67.       },
  68.       {
  69.         "macaddress": "508A06*"
  70.       },
  71.       {
  72.         "macaddress": "68572D*"
  73.       },
  74.       {
  75.         "macaddress": "708976*"
  76.       },
  77.       {
  78.         "macaddress": "7CF666*"
  79.       },
  80.       {
  81.         "macaddress": "84E342*"
  82.       },
  83.       {
  84.         "macaddress": "D4A651*"
  85.       },
  86.       {
  87.         "macaddress": "D81F12*"
  88.       }
  89.     ],
  90.     "integration_type": "hub",
  91.     "loggers": [
  92.       "tuya_iot"
  93.     ],
  94.     "is_built_in": true
  95.   },
  96.   "data": {
  97.     "endpoint": "https://openapi.tuyaeu.com",
  98.     "auth_type": 0,
  99.     "country_code": "7",
  100.     "app_type": "smartlife",
  101.     "mqtt_connected": true,
  102.     "disabled_by": null,
  103.     "disabled_polling": false,
  104.     "name": "Screen sync smart light 2.0",
  105.     "model": "",
  106.     "category": "dd",
  107.     "product_id": "eoiix1chj4q8wyxq",
  108.     "product_name": "Screen sync smart light 2.0",
  109.     "online": true,
  110.     "sub": false,
  111.     "time_zone": "+03:00",
  112.     "active_time": "2022-10-30T12:59:20+00:00",
  113.     "create_time": "2022-05-07T14:22:42+00:00",
  114.     "update_time": "2022-10-30T12:59:20+00:00",
  115.     "function": {
  116.       "switch_led": {
  117.         "type": "Boolean",
  118.         "value": {}
  119.       },
  120.       "work_mode": {
  121.         "type": "Enum",
  122.         "value": {
  123.           "range": [
  124.             "white",
  125.             "colour",
  126.             "scene",
  127.             "music"
  128.           ]
  129.         }
  130.       },
  131.       "bright_value": {
  132.         "type": "Integer",
  133.         "value": {
  134.           "min": 10,
  135.           "max": 1000,
  136.           "scale": 0,
  137.           "step": 1
  138.         }
  139.       },
  140.       "colour_data": {
  141.         "type": "Json",
  142.         "value": {
  143.           "h": {
  144.             "min": 0,
  145.             "scale": 0,
  146.             "unit": "",
  147.             "max": 360,
  148.             "step": 1
  149.           },
  150.           "s": {
  151.             "min": 0,
  152.             "scale": 0,
  153.             "unit": "",
  154.             "max": 1000,
  155.             "step": 1
  156.           },
  157.           "v": {
  158.             "min": 0,
  159.             "scale": 0,
  160.             "unit": "",
  161.             "max": 1000,
  162.             "step": 1
  163.           }
  164.         }
  165.       },
  166.       "scene_data": {
  167.         "type": "Json",
  168.         "value": {
  169.           "scene_num": {
  170.             "min": 1,
  171.             "scale": 0,
  172.             "max": 8,
  173.             "step": 1
  174.           },
  175.           "scene_units": {
  176.             "unit_change_mode": {
  177.               "range": [
  178.                 "static",
  179.                 "jump",
  180.                 "gradient"
  181.               ]
  182.             },
  183.             "unit_switch_duration": {
  184.               "min": 0,
  185.               "scale": 0,
  186.               "max": 100,
  187.               "step": 1
  188.             },
  189.             "unit_gradient_duration": {
  190.               "min": 0,
  191.               "scale": 0,
  192.               "max": 100,
  193.               "step": 1
  194.             },
  195.             "bright": {
  196.               "min": 0,
  197.               "scale": 0,
  198.               "max": 1000,
  199.               "step": 1
  200.             },
  201.             "temperature": {
  202.               "min": 0,
  203.               "scale": 0,
  204.               "max": 1000,
  205.               "step": 1
  206.             },
  207.             "h": {
  208.               "min": 0,
  209.               "scale": 0,
  210.               "unit": "",
  211.               "max": 360,
  212.               "step": 1
  213.             },
  214.             "s": {
  215.               "min": 0,
  216.               "scale": 0,
  217.               "unit": "",
  218.               "max": 1000,
  219.               "step": 1
  220.             },
  221.             "v": {
  222.               "min": 0,
  223.               "scale": 0,
  224.               "unit": "",
  225.               "max": 1000,
  226.               "step": 1
  227.             }
  228.           }
  229.         }
  230.       },
  231.       "countdown": {
  232.         "type": "Integer",
  233.         "value": {
  234.           "min": 0,
  235.           "max": 86400,
  236.           "scale": 0,
  237.           "step": 1
  238.         }
  239.       },
  240.       "music_data": {
  241.         "type": "Json",
  242.         "value": {
  243.           "change_mode": {
  244.             "range": [
  245.               "direct",
  246.               "gradient"
  247.             ]
  248.           },
  249.           "bright": {
  250.             "min": 0,
  251.             "scale": 0,
  252.             "unit": "",
  253.             "max": 1000,
  254.             "step": 1
  255.           },
  256.           "temperature": {
  257.             "min": 0,
  258.             "scale": 0,
  259.             "unit": "",
  260.             "max": 1000,
  261.             "step": 1
  262.           },
  263.           "h": {
  264.             "min": 0,
  265.             "scale": 0,
  266.             "unit": "",
  267.             "max": 360,
  268.             "step": 1
  269.           },
  270.           "s": {
  271.             "min": 0,
  272.             "scale": 0,
  273.             "unit": "",
  274.             "max": 255,
  275.             "step": 1
  276.           },
  277.           "v": {
  278.             "min": 0,
  279.             "scale": 0,
  280.             "unit": "",
  281.             "max": 255,
  282.             "step": 1
  283.           }
  284.         }
  285.       },
  286.       "control_data": {
  287.         "type": "Json",
  288.         "value": {
  289.           "change_mode": {
  290.             "range": [
  291.               "direct",
  292.               "gradient"
  293.             ]
  294.           },
  295.           "bright": {
  296.             "min": 0,
  297.             "scale": 0,
  298.             "unit": "",
  299.             "max": 1000,
  300.             "step": 1
  301.           },
  302.           "temperature": {
  303.             "min": 0,
  304.             "scale": 0,
  305.             "unit": "",
  306.             "max": 1000,
  307.             "step": 1
  308.           },
  309.           "h": {
  310.             "min": 0,
  311.             "scale": 0,
  312.             "unit": "",
  313.             "max": 360,
  314.             "step": 1
  315.           },
  316.           "s": {
  317.             "min": 0,
  318.             "scale": 0,
  319.             "unit": "",
  320.             "max": 255,
  321.             "step": 1
  322.           },
  323.           "v": {
  324.             "min": 0,
  325.             "scale": 0,
  326.             "unit": "",
  327.             "max": 255,
  328.             "step": 1
  329.           }
  330.         }
  331.       }
  332.     },
  333.     "status_range": {
  334.       "switch_led": {
  335.         "type": "Boolean",
  336.         "value": {}
  337.       },
  338.       "work_mode": {
  339.         "type": "Enum",
  340.         "value": {
  341.           "range": [
  342.             "white",
  343.             "colour",
  344.             "scene",
  345.             "music"
  346.           ]
  347.         }
  348.       },
  349.       "bright_value": {
  350.         "type": "Integer",
  351.         "value": {
  352.           "min": 10,
  353.           "max": 1000,
  354.           "scale": 0,
  355.           "step": 1
  356.         }
  357.       },
  358.       "colour_data": {
  359.         "type": "Json",
  360.         "value": {
  361.           "h": {
  362.             "min": 0,
  363.             "scale": 0,
  364.             "unit": "",
  365.             "max": 360,
  366.             "step": 1
  367.           },
  368.           "s": {
  369.             "min": 0,
  370.             "scale": 0,
  371.             "unit": "",
  372.             "max": 1000,
  373.             "step": 1
  374.           },
  375.           "v": {
  376.             "min": 0,
  377.             "scale": 0,
  378.             "unit": "",
  379.             "max": 1000,
  380.             "step": 1
  381.           }
  382.         }
  383.       },
  384.       "scene_data": {
  385.         "type": "Json",
  386.         "value": {
  387.           "scene_num": {
  388.             "min": 1,
  389.             "scale": 0,
  390.             "max": 8,
  391.             "step": 1
  392.           },
  393.           "scene_units": {
  394.             "unit_change_mode": {
  395.               "range": [
  396.                 "static",
  397.                 "jump",
  398.                 "gradient"
  399.               ]
  400.             },
  401.             "unit_switch_duration": {
  402.               "min": 0,
  403.               "scale": 0,
  404.               "max": 100,
  405.               "step": 1
  406.             },
  407.             "unit_gradient_duration": {
  408.               "min": 0,
  409.               "scale": 0,
  410.               "max": 100,
  411.               "step": 1
  412.             },
  413.             "bright": {
  414.               "min": 0,
  415.               "scale": 0,
  416.               "max": 1000,
  417.               "step": 1
  418.             },
  419.             "temperature": {
  420.               "min": 0,
  421.               "scale": 0,
  422.               "max": 1000,
  423.               "step": 1
  424.             },
  425.             "h": {
  426.               "min": 0,
  427.               "scale": 0,
  428.               "unit": "",
  429.               "max": 360,
  430.               "step": 1
  431.             },
  432.             "s": {
  433.               "min": 0,
  434.               "scale": 0,
  435.               "unit": "",
  436.               "max": 1000,
  437.               "step": 1
  438.             },
  439.             "v": {
  440.               "min": 0,
  441.               "scale": 0,
  442.               "unit": "",
  443.               "max": 1000,
  444.               "step": 1
  445.             }
  446.           }
  447.         }
  448.       },
  449.       "countdown": {
  450.         "type": "Integer",
  451.         "value": {
  452.           "min": 0,
  453.           "max": 86400,
  454.           "scale": 0,
  455.           "step": 1
  456.         }
  457.       }
  458.     },
  459.     "status": {
  460.       "switch_led": true,
  461.       "work_mode": "white",
  462.       "bright_value": 110,
  463.       "colour_data": {
  464.         "h": 30,
  465.         "s": 1000,
  466.         "v": 193
  467.       },
  468.       "scene_data": {
  469.         "scene_num": 5,
  470.         "scene_units": [
  471.           {
  472.             "bright": 0,
  473.             "h": 120,
  474.             "s": 1000,
  475.             "temperature": 0,
  476.             "unit_change_mode": "gradient",
  477.             "unit_gradient_duration": 70,
  478.             "unit_switch_duration": 70,
  479.             "v": 1000
  480.           },
  481.           {
  482.             "bright": 0,
  483.             "h": 120,
  484.             "s": 1000,
  485.             "temperature": 0,
  486.             "unit_change_mode": "gradient",
  487.             "unit_gradient_duration": 70,
  488.             "unit_switch_duration": 70,
  489.             "v": 10
  490.           }
  491.         ]
  492.       },
  493.       "countdown": 0
  494.     },
  495.     "home_assistant": {
  496.       "name": "Screen sync smart light 2.0",
  497.       "name_by_user": null,
  498.       "disabled": false,
  499.       "disabled_by": null,
  500.       "entities": [
  501.         {
  502.           "disabled": false,
  503.           "disabled_by": null,
  504.           "entity_category": null,
  505.           "device_class": null,
  506.           "original_device_class": null,
  507.           "icon": null,
  508.           "original_icon": null,
  509.           "unit_of_measurement": null,
  510.           "state": {
  511.             "entity_id": "light.screen_sync_smart_light_2_0",
  512.             "state": "on",
  513.             "attributes": {
  514.               "supported_color_modes": [
  515.                 "brightness",
  516.                 "hs"
  517.               ],
  518.               "color_mode": "brightness",
  519.               "brightness": 26,
  520.               "friendly_name": "Screen sync smart light 2.0",
  521.               "supported_features": 0
  522.             },
  523.             "last_changed": "2022-11-04T17:41:16.038970+00:00",
  524.             "last_updated": "2022-11-04T17:49:09.284316+00:00"
  525.           }
  526.         }
  527.       ]
  528.     }
  529.   }
  530. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement