mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
Allow id() syntax for custom code (#621)
* Allow id() syntax for custom code * Lint
This commit is contained in:
@@ -246,6 +246,11 @@ binary_sensor:
|
||||
- id: custom_binary_sensor
|
||||
name: Custom Binary Sensor
|
||||
|
||||
globals:
|
||||
- id: my_global_string
|
||||
type: std::string
|
||||
initial_value: '""'
|
||||
|
||||
remote_receiver:
|
||||
pin: GPIO12
|
||||
dump: []
|
||||
|
||||
Reference in New Issue
Block a user