'pin' vs 'zone' in the configuration.yaml file

I've got it working great, EXCEPT I wasn't able to use 'pin' in the configuration file.

 

konnected:
  auth_token: auth_token
  devices:
    - id: xxxxxx
      sensors:
        - pin: 1
          type: door
          name: 'Front Door'

 This didn't work, it caused the following error:

ERROR:homeassistant.config:Invalid config for [konnected]: not a valid value for dictionary value @ data['konnected']['devices'][0]['sensors'][1]['pin']. Got 3. (See /Users/ob1/.homeassistant/configuration.yaml, line 73). Please check the docs at https://home-assistant.io/components/konnected/
ERROR:homeassistant.setup:Setup failed for konnected: Invalid config.

 So I changed 'pin' to 'zone' and it worked. FYI.