mirror of
https://github.com/esphome/esphome.git
synced 2025-02-16 16:23:11 +01:00
Fix travis
This commit is contained in:
parent
a783637a7a
commit
11e88019c2
2 changed files with 1 additions and 5 deletions
|
@ -5,10 +5,6 @@ install: script/setup
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- "~/.platformio"
|
- "~/.platformio"
|
||||||
- "$TRAVIS_BUILD_DIR/.piolibdeps"
|
|
||||||
- "$TRAVIS_BUILD_DIR/tests/build/test1/.piolibdeps"
|
|
||||||
- "$TRAVIS_BUILD_DIR/tests/build/test2/.piolibdeps"
|
|
||||||
- "$TRAVIS_BUILD_DIR/tests/build/test3/.piolibdeps"
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
|
@ -318,7 +318,7 @@ bool APIConnection::send_light_info(light::LightState *light) {
|
||||||
msg.max_mireds = traits.get_max_mireds();
|
msg.max_mireds = traits.get_max_mireds();
|
||||||
}
|
}
|
||||||
if (light->supports_effects()) {
|
if (light->supports_effects()) {
|
||||||
msg.effects.push_back("None");
|
msg.effects.emplace_back("None");
|
||||||
for (auto *effect : light->get_effects())
|
for (auto *effect : light->get_effects())
|
||||||
msg.effects.push_back(effect->get_name());
|
msg.effects.push_back(effect->get_name());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue