diff --git a/README.md b/README.md index c99b6d5..6844155 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Capture an infrared command. | Service data attribute | Optional | Description | |---------------------------|----------|----------------------------------------------------------------------| | `entity_id` | yes | Only act on a specific air purifier. Else targets all. | -| `slot` | yes | Storage slot. Defaults to slot ID 1. | +| `slot` | yes | Storage slot. Defaults to slot ID 30. | | `timeout` | yes | Capturing timeout. Defaults to 10 seconds. | #### Service `climate.xiaomi_miio_send_command` diff --git a/custom_components/climate/xiaomi_miio.py b/custom_components/climate/xiaomi_miio.py index ef92a07..198f454 100644 --- a/custom_components/climate/xiaomi_miio.py +++ b/custom_components/climate/xiaomi_miio.py @@ -78,7 +78,7 @@ vol.Optional(CONF_TIMEOUT, default=DEFAULT_TIMEOUT): vol.All(int, vol.Range(min=0)), vol.Optional(CONF_SLOT, default=DEFAULT_SLOT): - vol.All(int, vol.Range(min=1, max=1000000)), + vol.All(int, vol.Range(min=2, max=1000000)), }) SERVICE_SCHEMA_SEND_COMMAND = SERVICE_SCHEMA.extend({