Add number entities to ESPHome (#52241)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
a639cb7ba7
commit
e1797ea670
6 changed files with 91 additions and 3 deletions
|
@ -16,6 +16,7 @@ from aioesphomeapi import (
|
|||
EntityState,
|
||||
FanInfo,
|
||||
LightInfo,
|
||||
NumberInfo,
|
||||
SensorInfo,
|
||||
SwitchInfo,
|
||||
TextSensorInfo,
|
||||
|
@ -41,6 +42,7 @@ INFO_TYPE_TO_PLATFORM = {
|
|||
CoverInfo: "cover",
|
||||
FanInfo: "fan",
|
||||
LightInfo: "light",
|
||||
NumberInfo: "number",
|
||||
SensorInfo: "sensor",
|
||||
SwitchInfo: "switch",
|
||||
TextSensorInfo: "sensor",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue