You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.8 KiB

  1. # --------------------------------------------------------------------------
  2. # Substitutions
  3. # --------------------------------------------------------------------------
  4. substitutions:
  5. name: bedside-lamp
  6. friendly_name: Bedside Lamp
  7. light_name: ${friendly_name} RGBWW Light
  8. light_mode_text_sensor_name: ${friendly_name} Light Mode
  9. default_transition_length: 800ms
  10. # --------------------------------------------------------------------------
  11. # Load configuration packages
  12. #
  13. # These provide a convenient way to compose your device configuration from
  14. # some functional building blocks. Pick and mix the blocks that you need.
  15. #
  16. # For customization you can override options in your config or you can
  17. # copy the contents of these packages directly in your config file as
  18. # an example for your own customizations.
  19. #
  20. # Available packages are:
  21. # - core.yaml : core components & hardware setup
  22. # - behavior_default.yaml : default device behavior
  23. # - ota_feedback.yaml : enable visual feedback during OTA updates
  24. # - activate_preset_svc.yaml : 'activate_preset' service for Home Assistant
  25. # --------------------------------------------------------------------------
  26. packages:
  27. bslamp2:
  28. url: https://github.com/mmakaay/esphome-xiaomi_bslamp2
  29. ref: dev
  30. files:
  31. - packages/core.yaml
  32. - packages/behavior_default.yaml
  33. - packages/ota_feedback.yaml
  34. - packages/activate_preset_svc.yaml
  35. refresh: 0s
  36. # --------------------------------------------------------------------------
  37. # Use your own preferences for these components.
  38. # --------------------------------------------------------------------------
  39. wifi:
  40. ssid: !secret wifi_ssid
  41. password: !secret wifi_password
  42. api:
  43. password: !secret api_password
  44. ota:
  45. password: !secret ota_password