bafplus2

Local Tuya example

Nov 30th, 2021 (edited)
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.00 KB | None | 0 0
  1. localtuya:
  2. #1e lamp
  3.   - host: 192.168.1.x
  4.     device_id: 50007884f4cfa2288275
  5.     local_key: xxxxx
  6.     friendly_name: LT_tafellamp
  7.     protocol_version: "3.3"
  8.     entities:
  9.       - platform: light
  10.         friendly_name: Lamp bij tafel
  11.         id: 20
  12.         color_mode: 21
  13.         brightness: 22
  14.         color_temp: 23
  15.         brightness_lower: 29
  16.         brightness_upper: 1000
  17.         color_temp_min_kelvin: 2700
  18.         color_temp_max_kelvin: 6500
  19.         music_mode: False
  20. #2e lamp
  21.   - host: 192.168.1.x
  22.     device_id: xxxx
  23.     local_key: xxxxx
  24.     friendly_name: LT_plafondlamp
  25.     protocol_version: "3.3"
  26.     entities:
  27.       - platform: light
  28.         friendly_name: Lamp plafond
  29.         id: 20
  30.         color_mode: 21
  31.         brightness: 22
  32.         color_temp: 23
  33.         color: 24
  34.         brightness_lower: 29
  35.         brightness_upper: 1000
  36.         color_temp_min_kelvin: 2700
  37.         color_temp_max_kelvin: 6500
  38.         scene: 25
  39.         music_mode: False
  40.  
Add Comment
Please, Sign In to add comment