Skip to content

Commit 2910758

Browse files
committed
Fix warning
1 parent 87bb8c1 commit 2910758

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

custom_components/ir_light/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
"""Main component for IR Light"""
2+
import homeassistant.helpers.config_validation as cv
23

34
DOMAIN = "ir_light"
45
PLATFORMS = ["light"]
56

7+
CONFIG_SCHEMA = cv.config_entry_only_config_schema("ir_light")
8+
69
async def async_setup(hass, config):
710
"""Component configuration"""
811
return True

0 commit comments

Comments
 (0)