Small typo in custom sensor docs

This commit is contained in:
Otto Winter 2018-09-28 19:37:25 +02:00
parent 458962cd3c
commit 66d484d4ba
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -166,7 +166,7 @@ In your global ``setup()`` method, after you've setup all other components, do t
// =========== AUTO GENERATED CODE END ============
// ========= YOU CAN EDIT AFTER THIS LINE =========
auto *custom_sensor = new CustomSensor(5000); // update every 5000ms or every 5 seconds.
auto *custom_sensor = new CustomSensor("My Custom Sensor", 5000); // update every 5000ms or every 5 seconds.
App.register_component(custom_sensor);
App.register_sensor(custom_sensor);