mirror of
https://github.com/esphome/esphome.git
synced 2025-02-22 12:58:15 +00:00
[code-quality] NOLINT readability-identifier-naming (#7220)
This commit is contained in:
parent
3f1d2c0caf
commit
a3d5b69a9c
@ -63,7 +63,7 @@ class EntityBase {
|
|||||||
EntityCategory entity_category_{ENTITY_CATEGORY_NONE};
|
EntityCategory entity_category_{ENTITY_CATEGORY_NONE};
|
||||||
};
|
};
|
||||||
|
|
||||||
class EntityBase_DeviceClass {
|
class EntityBase_DeviceClass { // NOLINT(readability-identifier-naming)
|
||||||
public:
|
public:
|
||||||
/// Get the device class, using the manual override if set.
|
/// Get the device class, using the manual override if set.
|
||||||
std::string get_device_class();
|
std::string get_device_class();
|
||||||
@ -74,7 +74,7 @@ class EntityBase_DeviceClass {
|
|||||||
const char *device_class_{nullptr}; ///< Device class override
|
const char *device_class_{nullptr}; ///< Device class override
|
||||||
};
|
};
|
||||||
|
|
||||||
class EntityBase_UnitOfMeasurement {
|
class EntityBase_UnitOfMeasurement { // NOLINT(readability-identifier-naming)
|
||||||
public:
|
public:
|
||||||
/// Get the unit of measurement, using the manual override if set.
|
/// Get the unit of measurement, using the manual override if set.
|
||||||
std::string get_unit_of_measurement();
|
std::string get_unit_of_measurement();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user