Cleanup dashboard JS (#491)
* Cleanup dashboard JS * Add vscode * Save start_mark/end_mark * Updates * Updates * Remove need for cv.nameable It's a bit hacky but removes so much bloat from integrations * Add enum helper * Document APIs, and Improvements * Fixes * Fixes * Update PULL_REQUEST_TEMPLATE.md * Updates * Updates * Updates
This commit is contained in:
1 parent
6682c43dfa
commit
8e75980ebd
359 files changed
+4395
-4223
No files matched your search
@@ -6,8 +6,6 @@ namespace template_ {
|
||||
|
||||
static const char *TAG = "template.sensor";
|
||||
|
||||
TemplateSensor::TemplateSensor(const std::string &name, uint32_t update_interval)
|
||||
: PollingSensorComponent(name, update_interval) {}
|
||||
void TemplateSensor::update() {
|
||||
if (!this->f_.has_value())
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user