Browse Source

Update config packages.

pull/59/head
Maurice Makaay 3 years ago
parent
commit
50a4f76949
2 changed files with 11 additions and 6 deletions
  1. +7
    -2
      packages/core.yaml
  2. +4
    -4
      packages/ota_feedback.yaml

+ 7
- 2
packages/core.yaml View File

@ -1,5 +1,6 @@
# --------------------------------------------------------------------------
# Xiaomi Mija Bedside Lamp 2 core configuration
# Substitutions as used by the configuration packages
# These can be overriden from the main device configuration file.
# --------------------------------------------------------------------------
substitutions:
@ -9,6 +10,10 @@ substitutions:
light_mode_text_sensor_name: ${friendly_name} Light Mode
default_transition_length: 800ms
# --------------------------------------------------------------------------
# Core setup
# --------------------------------------------------------------------------
esphome:
name: ${name}
@ -35,7 +40,7 @@ api:
reboot_timeout: 0s
# ----------------------------------------------------------------------
# Hardware configuration
# Hardware setup
# ----------------------------------------------------------------------
i2c:


+ 4
- 4
packages/ota_feedback.yaml View File

@ -8,7 +8,7 @@ ota:
on_begin:
then:
- light.disco_on:
id: ${id_light}
id: my_light
red: 0%
green: 0%
blue: 100%
@ -23,7 +23,7 @@ ota:
on_end:
then:
- light.disco_on:
id: ${id_light}
id: my_light
red: 0%
green: 100%
blue: 0%
@ -33,11 +33,11 @@ ota:
on_error:
then:
- light.disco_on:
id: ${id_light}
id: my_light
red: 100%
green: 0%
blue: 0%
brightness: 2%
- delay: 1s
- light.disco_off:
id: ${id_light}
id: my_light

Loading…
Cancel
Save