We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69f2df7 commit 35e22a8Copy full SHA for 35e22a8
components/ratgdo/__init__.py
@@ -45,7 +45,6 @@
45
CONF_DRY_CONTACT_SENSOR_GROUP = "dry_contact_sensor_group"
46
47
def validate_protocol(config):
48
- print("Validation")
49
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):
50
raise cv.Invalid("dry_contact_close_sensor and dry_contact_open_sensor are required when using protocol drycontact")
51
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