# -------------------------------------------------------------------------- # Substitutions # # These are substitutions as used by the configuration packages from below. # You can uncomment and update the ones that you want to modify. # -------------------------------------------------------------------------- substitutions: name: bedside-lamp friendly_name: Bedside Lamp # Below are some default values as provided by the configuration packages. # You can uncomment these and change them if you do not like the defaults. # You can also take a look at the packages/* files directly, to find their # full list of customizable substitutions. #light_name: RGBWW Light #light_mode_text_sensor_name: Light Mode #night_light_tint_name: Night Light Tint #night_light_temperature_name: Night Light Temperature #night_light_level_name: Night Light Level # -------------------------------------------------------------------------- # Load configuration packages # # These provide a convenient way to compose your device configuration from # some functional building blocks. Pick and mix the blocks that you need. # # For customization you can override options in your config or you can # copy the contents of these packages directly in your config file as # an example for your own customizations. # # Available packages are: # - core.yaml : core components & hardware setup # - behavior_default.yaml : default device behavior # - night_light_calibration.yaml : HA controls for night light calibration # - ota_feedback.yaml : enable visual feedback during OTA updates # - activate_preset_svc.yaml : 'activate_preset' service for Home Assistant # -------------------------------------------------------------------------- packages: bslamp2: url: https://github.com/mmakaay/esphome-xiaomi_bslamp2 ref: release/2026.5.0 files: - packages/core.yaml - packages/behavior_default.yaml - packages/night_light_calibration.yaml - packages/ota_feedback.yaml - packages/activate_preset_svc.yaml refresh: 0s # -------------------------------------------------------------------------- # Use your own preferences for these components. # -------------------------------------------------------------------------- wifi: ssid: !secret wifi_ssid password: !secret wifi_password api: encryption: key: !secret api_encryption_key ota: platform: esphome password: !secret ota_password