Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus: fix compilation with EntityBase #4895

Merged
merged 1 commit into from Jun 1, 2023
Merged

Commits on May 29, 2023

  1. prometheus: fix compilation with EntityBase

    prometheus code seems to lack the header for EntityBase, so fix that.
    
    fixes:
    
    	In file included from src/esphome/components/prometheus/prometheus_handler.cpp:3:
    	src/esphome/components/prometheus/prometheus_handler.h:31:21: error: 'EntityBase' has not been declared
    	   31 |   void add_label_id(EntityBase *obj, const std::string &value) { relabel_map_id_.insert({obj, value}); }
    	      |                     ^~~~~~~~~~
    mischief committed May 29, 2023
    Configuration menu
    Copy the full SHA
    719a59a View commit details
    Browse the repository at this point in the history