mirror of
https://github.com/esphome/esphome.git
synced 2025-09-11 07:42:26 +01:00
cleanup
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
esphome:
|
||||||
|
name: test-different-platforms
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
board: esp32dev
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: template
|
||||||
|
name: "Status"
|
||||||
|
lambda: return 1.0;
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
name: "Status" # Same name, different platform - should pass
|
||||||
|
lambda: return true;
|
||||||
|
|
||||||
|
text_sensor:
|
||||||
|
- platform: template
|
||||||
|
name: "Status" # Same name, different platform - should pass
|
||||||
|
lambda: return {"OK"};
|
Reference in New Issue
Block a user