Traceback (most recent call last):


 "C:\Users\dev\Downloads\osquery\tools\analysis\profile.py", line 365, in <module>

timeout=args.timeout, count=args.count, rounds=args.rounds


 "C:\Users\dev\Downloads\osquery\tools\analysis\profile.py", line 201, in profile

result = run_query(shell, query, timeout=timeout, count=count)


 "C:\Users\dev\Downloads\osquery\tools\analysis\profile.py", line 144, in run_query

], timeout=timeout, count=count)


 "C:\Users\dev\Downloads\osquery\tools\analysis/../tests/utils.py", line 166, in profile_cmd

current_stats = get_stats(p, step)


 "C:\Users\dev\Downloads\osquery\tools\analysis/../tests/utils.py", line 142, in get_stats

"fds": p.num_fds(),
AttributeError: 'Process' object has no attribute 'num_fds'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 286, in async_update_ha_state

self._async_write_ha_state()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 327, in _async_write_ha_state

attr.update(self.state_attributes or {})


 "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 418, in state_attributes

data[ATTR_BRIGHTNESS] = self.brightness


 "/usr/src/homeassistant/homeassistant/components/tuya/light.py", line 43, in brightness

if self.tuya.brightness() is None:


 "/usr/local/lib/python3.7/site-packages/tuyaha/devices/light.py", line 16, in brightness

brightness = int(self.data.get('color').get('brightness') * 255 / 100)
AttributeError: 'NoneType' object has no attribute 'get'
