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.

56 lines
1.9 KiB

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