diff --git a/.travis.yml b/.travis.yml index a9f45c25d0..4b59e25817 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ language: python cache: directories: - "~/.platformio" + - "$TRAVIS_BUILD_DIR/tests/build/test1/.piolibdeps" + - "$TRAVIS_BUILD_DIR/tests/build/test2/.piolibdeps" + - "$TRAVIS_BUILD_DIR/tests/build/test3/.piolibdeps" matrix: fast_finish: true diff --git a/tests/test1.yaml b/tests/test1.yaml index c899e48afa..ad05722be2 100644 --- a/tests/test1.yaml +++ b/tests/test1.yaml @@ -491,7 +491,7 @@ sensor: - mqtt.publish_json: topic: the/topic payload: |- - root["key"] = id(the_sensor).value; + root["key"] = id(the_sensor).state; root["greeting"] = "Hello World";