mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
[code-quality] NOLINT readability-identifier-naming (#7220)
This commit is contained in:
parent
3f1d2c0caf
commit
a3d5b69a9c
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class EntityBase {
|
|||
EntityCategory entity_category_{ENTITY_CATEGORY_NONE};
|
||||
};
|
||||
|
||||
class EntityBase_DeviceClass {
|
||||
class EntityBase_DeviceClass { // NOLINT(readability-identifier-naming)
|
||||
public:
|
||||
/// Get the device class, using the manual override if set.
|
||||
std::string get_device_class();
|
||||
|
@ -74,7 +74,7 @@ class EntityBase_DeviceClass {
|
|||
const char *device_class_{nullptr}; ///< Device class override
|
||||
};
|
||||
|
||||
class EntityBase_UnitOfMeasurement {
|
||||
class EntityBase_UnitOfMeasurement { // NOLINT(readability-identifier-naming)
|
||||
public:
|
||||
/// Get the unit of measurement, using the manual override if set.
|
||||
std::string get_unit_of_measurement();
|
||||
|
|
Loading…
Reference in a new issue