From 6d3f0204d37233ba4716326d99ba99bc393d75ce Mon Sep 17 00:00:00 2001 From: Scott Giminiani Date: Mon, 19 Jun 2023 11:16:29 -0700 Subject: [PATCH] Fix minor typo in example code (#1806) --- docs/core/entity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/entity.md b/docs/core/entity.md index 880c4d88..4b06542b 100644 --- a/docs/core/entity.md +++ b/docs/core/entity.md @@ -219,7 +219,7 @@ The below code snippet gives an example of best practices for when to implement ```py class SomeEntity(): - _attr_device_clas = SensorDeviceClass.TEMPERATURE # This will be common to all instances of SomeEntity + _attr_device_class = SensorDeviceClass.TEMPERATURE # This will be common to all instances of SomeEntity def __init__(self, device): self._device = device self._attr_available = False # This overrides the default