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.

47 lines
2.3 KiB

  1. diff --git a/doc/example.yaml b/doc/example.yaml
  2. index 05959b1..919876b 100644
  3. --- a/doc/example.yaml
  4. +++ b/doc/example.yaml
  5. @@ -9,11 +9,11 @@ substitutions:
  6. 
  7. # Derive component identifiers, based on the name.
  8. id_light: ${name}
  9. - id_front_panel_illumination: ${name}_front_panel_output
  10. + id_light_mode: ${name}_light_mode
  11. id_power_button: ${name}_power_button
  12. id_color_button: ${name}_color_button
  13. id_slider_level: ${name}_slider_level
  14. - id_light_mode: ${name}_light_mode
  15. + id_front_panel_illumination: ${name}_front_panel_illumination
  16. 
  17. # --------------------------------------------------------------------------
  18. # Use your own preferences for these components.
  19. @@ -32,11 +32,11 @@ captive_portal:
  20. 
  21. api:
  22. password: "Password-To-Link-HomeAssistant-To-This-Device"
  23. - # Disable the reboot timeout. By default, the lamp reboots
  24. - # after 15 minutes without any client connections (e.g. when
  25. - # home assistant is off line, or when the WiFi is broken).
  26. - # Reboots are annoying though, because the RGBWW LEDs will turn
  27. - # off during the reboot, causing the light to flicker.
  28. + # Disable the reboot timeout. By default, the lamp reboots after 15
  29. + # minutes without any client connections (e.g. when home assistant is off
  30. + # line, or when the WiFi is broken). Reboots are annoying though, because
  31. + # the RGBWW LEDs will turn off during the reboot, causing the light to
  32. + # flicker.
  33. reboot_timeout: 0s
  34. 
  35. ota:
  36. @@ -131,9 +131,8 @@ text_sensor:
  37. id: ${id_light_mode}
  38. 
  39. # This float output controls the front panel illumination + level indicator.
  40. -# Value 0.0 turns off the illumination.
  41. -# Other values (up to 1.0) turn on the illumination and set the level
  42. -# indicator to the requested level.
  43. +# Value 0.0 turns off the illumination. Other values (up to 1.0) turn on
  44. +# the illumination and set the level indicator to the requested level.
  45. output:
  46. - platform: xiaomi_bslamp2
  47. id: ${id_front_panel_illumination}