Help with Keen Smart Vents w/ new Smartthings Integration

I moved from pi3 to a NUC and decided to go with the new SmartThings integration vs MQTT. I am trying to set up my Keen Smart Vents but am having some issues.

  1. They are added to the light domain. I don’t mind this but if there is an easy solution to switch it to cover. Templates?
  2. On/Off work but none of the level settings (ie dimming) work.

SmartThings Error when adjusting brightness:

groovy.lang.MissingMethodException: No signature of method: script_dth_d5c37af63c334241606af16f6b7541fb0b787fe92ca27700ae094c8083260d6b.setLevel() is applicable for argument types: (java.lang.Integer, java.lang.Integer) values: [28, 0]
Possible solutions: getLevel(), setLevel(java.lang.Object), ventLevelUp()

Home Assistant Error when adjusting brightness:

DEBUG (MainThread) [homeassistant.components.smartthings] Unable to update status for device: Hassio (6622a384-c542-4c6b-b0de-aef8e4cd5675), the device will be ignored
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/smartthings/__init__.py", line 71, in retrieve_device_status
    await device.status.refresh()
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/device.py", line 234, in refresh
    data = await self._api.get_device_status(self.device_id)
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/api.py", line 79, in get_device_status
    return await self.get(API_DEVICE_STATUS.format(device_id=device_id))
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/api.py", line 314, in get
    return await self.request('get', self._api_base + resource, params)
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/api.py", line 310, in request
    resp.raise_for_status()
  File "/usr/local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 942, in raise_for_status
    headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden'
2019-02-17 11:40:00 DEBUG (MainThread) [homeassistant.components.smartthings] Unable to update status for device: Keen (930d7078-a711-4a7a-9a6f-3120c18737cd), the device will be ignored
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/smartthings/__init__.py", line 71, in retrieve_device_status
    await device.status.refresh()
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/device.py", line 234, in refresh
    data = await self._api.get_device_status(self.device_id)
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/api.py", line 79, in get_device_status
    return await self.get(API_DEVICE_STATUS.format(device_id=device_id))
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/api.py", line 314, in get
    return await self.request('get', self._api_base + resource, params)
  File "/usr/local/lib/python3.6/site-packages/pysmartthings/api.py", line 310, in request
    resp.raise_for_status()
  File "/usr/local/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 942, in raise_for_status
    headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden'

Smartthings Log when turning on or off (works perfect):

2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug Parse returned [:]
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug cluster: SmartShield(text: null, manufacturerId: 0x0000, direction: 0x01, data: [0x00, 0x00], number: null, isManufacturerSpecific: false, messageType: 0x00, senderShortId: 0xe2f1, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0b, clusterId: 0x0006, destinationEndpoint: 0x01, options: 0x0540)
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug parseCatchAllMessage
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug description: catchall: 0104 0006 01 01 0540 00 E2F1 00 00 0000 0B 01 0000
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug Parse returned [:]
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug cluster: SmartShield(text: null, manufacturerId: 0x0000, direction: 0x01, data: [0x00, 0x00], number: null, isManufacturerSpecific: false, messageType: 0x00, senderShortId: 0xe2f1, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0b, clusterId: 0x0006, destinationEndpoint: 0x01, options: 0x0540)
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug parseCatchAllMessage
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:56 PM: debug description: catchall: 0104 0006 01 01 0540 00 E2F1 00 00 0000 0B 01 0000
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:55 PM: debug Parse returned [:]
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:55 PM: debug cluster: SmartShield(text: null, manufacturerId: 0x0000, direction: 0x01, data: [0x00, 0x00], number: null, isManufacturerSpecific: false, messageType: 0x00, senderShortId: 0xe2f1, isClusterSpecific: false, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x0b, clusterId: 0x0006, destinationEndpoint: 0x01, options: 0x0540)
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:55 PM: debug parseCatchAllMessage
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:55 PM: debug description: catchall: 0104 0006 01 01 0540 00 E2F1 00 00 0000 0B 01 0000
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:55 PM: debug description: catchall: 0104 0006 01 01 0540 00 E2F1 00 00 0000 0B 01 0000
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:51 PM: debug makeOnOffResult: 0
2b15b2d2-3526-4279-8b6e-9e06abce031a  1:59:51 PM: debug close Vent - Living Room

For reference, here is my old MQTT for the vent covers:

cover:
    - platform: mqtt
      name: "Living Room Vent"
      retain: true
      command_topic: "smartthings/Vent - Living Room/switch/cmd"
      state_topic: "smartthings/Vent - Living Room/switch/state"
      state_open: 'on'
      state_closed: 'off'
      payload_open: 'on'
      payload_close: 'off'
      tilt_command_topic: "smartthings/Vent - Living Room/level/cmd"
      tilt_status_topic: "smartthings/Vent - Living Room/level/state"
      tilt_min: 0
      tilt_max: 100
      tilt_closed_value: 0
      tilt_opened_value: 100

I know it has been quite a while since this was originally posted but for the sake of others, like myself, who have run into the same issue I will post my experience.

The Error:
When attempting to toggle a switch I have in SmartThings, through the SmartThings hub integration, I would receive a 403 Forbidden error.

The Symptom:
This switch had recently dropped out of SmartThings and I had to include it back into SmartThings, giving it the same name.

Steps Attempted:

  1. Restarted Home Assistant
  2. Restarted my SmartThings hub
  3. Watched “Live Logging” on the developer SmartThings page (no messages were received by the hub)
  4. Deleted/Re-added the SmartThings integration

The Resolution:
The step that resolved this issue was deleting and readding the integration for SmartThings. Once I had completed following the steps on the SmartThings hub components page the all my devices were visible and the switch throwing the 403 Forbidden error was working.