Skip to content

Commit 35e22a8

Browse files
committed
Update __init__.py
1 parent 69f2df7 commit 35e22a8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

components/ratgdo/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
CONF_DRY_CONTACT_SENSOR_GROUP = "dry_contact_sensor_group"
4646

4747
def validate_protocol(config):
48-
print("Validation")
4948
if config.get(CONF_PROTOCOL, None) == PROTOCOL_DRYCONTACT and (CONF_DRY_CONTACT_CLOSE_SENSOR not in config or CONF_DRY_CONTACT_OPEN_SENSOR not in config):
5049
raise cv.Invalid("dry_contact_close_sensor and dry_contact_open_sensor are required when using protocol drycontact")
5150
if config.get(CONF_PROTOCOL, None) != PROTOCOL_DRYCONTACT and (CONF_DRY_CONTACT_CLOSE_SENSOR in config or CONF_DRY_CONTACT_OPEN_SENSOR in config):

0 commit comments

Comments
 (0)