Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/sma/sensor.py", line 182, in async_sma

values = await sma.read(used_sensors)


 "/usr/local/lib/python3.7/site-packages/pysma/__init__.py", line 246, in read

payload = {"destDev": [], "keys": list(set([s.key for s in sensors]))}


 "/usr/local/lib/python3.7/site-packages/pysma/__init__.py", line 246, in <listcomp>

payload = {"destDev": [], "keys": list(set([s.key for s in sensors]))}
AttributeError: 'str' object has no attribute 'key'

Traceback (most recent call last):


 "/root/spack/bin/spack", line 64, in <module>

sys.exit(spack.main.main())


 "/root/spack/lib/spack/spack/main.py", line 763, in main

return _invoke_command(command, parser, args, unknown)


 "/root/spack/lib/spack/spack/main.py", line 488, in _invoke_command

return_val = command(parser, args)


 "/root/spack/lib/spack/spack/cmd/install.py", line 273, in install

concretized_specs = env.concretize()


 "/root/spack/lib/spack/spack/environment.py", line 948, in concretize

return self._concretize_separately()


 "/root/spack/lib/spack/spack/environment.py", line 1016, in _concretize_separately

concrete = _concretize_from_constraints(uspec_constraints)


 "/root/spack/lib/spack/spack/environment.py", line 1554, in _concretize_from_constraints

return s.concretized()


 "/root/spack/lib/spack/spack/spec.py", line 2298, in concretized

clone.concretize()


 "/root/spack/lib/spack/spack/spec.py", line 2148, in concretize

user_spec_deps=user_spec_deps),


 "/root/spack/lib/spack/spack/spec.py", line 2626, in normalize

visited, all_spec_deps, provider_index, tests)


 "/root/spack/lib/spack/spack/spec.py", line 2552, in _normalize_helper

dep = self._evaluate_dependency_conditions(dep_name)


 "/root/spack/lib/spack/spack/spec.py", line 2375, in _evaluate_dependency_conditions

if self.satisfies(when_spec, strict=True):


 "/root/spack/lib/spack/spack/spec.py", line 2879, in satisfies

if not self.architecture.satisfies(other.architecture, strict):


 "/root/spack/lib/spack/spack/spec.py", line 360, in satisfies

return self._satisfies_target(other.target, strict=strict)


 "/root/spack/lib/spack/spack/spec.py", line 383, in _satisfies_target

min_ok = self_target.microarchitecture >= t_min if t_min else True
AttributeError: 'NoneType' object has no attribute 'microarchitecture'
